Ilya Chernikov
f6c6087fe3
Adding escaping to kotlin.daemon.jvm.options property processing to allow passing e.g. debugging agent params; adding kotlin.daemon.startup.timeout property to control startup timeout; more logging; some minor cleanup and fixes
2015-09-10 22:30:55 +02:00
Alexander Udalov
4dbfce605e
Minor, improve exception message for non-deserialized types
2015-09-10 21:45:10 +03:00
Alexander Udalov
3e5c8d1b79
Fix NPE on empty JVM name
...
#KT-9113 Fixed
2015-09-10 21:44:18 +03:00
Alexander Udalov
fb31980c0b
Fix EA-68149 which happened on editing Scala sources
2015-09-10 21:44:16 +03:00
Ilya Gorbunov
017db3d36c
Correct reference to withDefault method in documentation.
2015-09-10 21:32:41 +03:00
Denis Zharkov
df97496a16
Deprecate 'kotlin.throws' in favor of 'kotlin.jvm.Throws'
2015-09-10 20:39:05 +03:00
Zalim Bashorov
7036b36a94
Minor: replace some usages of (old) package facade with new package parts
2015-09-10 18:49:11 +03:00
Dmitry Petrov
6850e9180e
Effectively this is a return of "${facadeName}__${partName}" scheme.
...
Suggestions from @udalov:
- Make multifile class parts synthetic.
- Multifile class parts should have well-formed Java identifiers as names.
- Multifile class part names should contain facade name.
Add test with clashing part names.
Add test with local generic classes used in method signatures
(it works with parts names not being well-formed Java identifiers, though).
Capitalized annotations.
2015-09-10 18:03:34 +03:00
Mikhail Glukhikh
9b11b5300c
Elvis DFA: now only left part is taken into account #KT-9100 Fixed
...
I had to fix a few incorrect tests using something like x!! in Elvis right part, and also one bug in our code
2015-09-10 17:50:57 +03:00
Michael Nedzelsky
9fd968d59e
extend test for code cleanup with changing visibility from private to internal for declarations, which are used outside of their file.
2015-09-10 16:50:47 +03:00
Alexander Udalov
93dfaf72f7
Avoid dependency on HiddenDeclaration from compiler classpath
2015-09-10 15:43:24 +03:00
Alexander Udalov
a1a2adf523
Fix inheritance from protected members of interfaces
...
#KT-3029 Fixed
2015-09-10 15:42:58 +03:00
Natalia Ukhorskaya
bb17724f96
Gradle: workaround the problem that getVariantDataManager is internal
2015-09-10 15:23:46 +03:00
Natalia Ukhorskaya
b1dbc89a2a
Gradle: add bintray to repository list
2015-09-10 15:23:45 +03:00
Michael Nedzelsky
1dfd877af2
add quick fix for ACCESS_TO_TOP_LEVEL_FROM_ANOTHER_FILE to code cleanup
2015-09-10 15:20:07 +03:00
Michael Bogdanov
908228a3cf
Test for obsolete KT-8133
...
#KT-8133 Obsolete
2015-09-10 12:43:27 +03:00
Michael Bogdanov
a5f7df3ebf
Fix for KT-9064
...
#KT-9064 Fixed
2015-09-10 11:08:02 +03:00
Denis Zharkov
e03e9bb1a3
Fix testBuiltins testData
2015-09-10 10:16:15 +03:00
Denis Zharkov
372e35436a
Implement annotation related migrational quick fixes
2015-09-10 10:04:59 +03:00
Denis Zharkov
7b3303c152
Report special diagnostic on inlineUsage with LOCAL_CONTINUE_AND_BREAK
...
Such usages should be removed by quckfixes
2015-09-10 10:04:59 +03:00
Denis Zharkov
04483eb826
Report custom diagnostic instead of symbol deprecation
...
For annotations that should be replaced with modifiers
2015-09-10 10:04:59 +03:00
Alexander Udalov
c3cb6b62f4
Introduce SmartSet, an optimized Set implementation
...
Using it instead of LinkedHashSet for overridden descriptors optimizes memory
retained between analysis and codegen by ~5%
2015-09-10 01:18:22 +03:00
Stanislav Erokhin
57c006a1c6
Created Update-Dist-Run configuration
2015-09-09 22:02:10 +03:00
Pavel V. Talanov
40773ad04a
KotlinClsStubBuilder: fix reading header for multifile facades
2015-09-09 22:00:26 +03:00
Pavel V. Talanov
6239620f98
Increase stub version
2015-09-09 21:22:41 +03:00
Pavel V. Talanov
eaeabb28b8
Use new index in JetShortNamesCache
2015-09-09 21:22:32 +03:00
Pavel V. Talanov
0257ea6fd8
Index file facades by short names
2015-09-09 21:22:24 +03:00
Pavel V. Talanov
3d0b737916
Minor: rename index
2015-09-09 21:22:16 +03:00
Pavel V. Talanov
f673852d98
Test completion of multifile facades in java
2015-09-09 21:22:07 +03:00
Pavel V. Talanov
01ca092f8b
Cli light classes for file facades
2015-09-09 21:21:59 +03:00
Pavel V. Talanov
e9c1df0cb9
J2K CliLightClassGenerationSupport: prettify
2015-09-09 21:21:51 +03:00
Pavel V. Talanov
0c884f10ee
J2K CliLightClassGenerationSupport: autoconvert
2015-09-09 21:21:42 +03:00
Pavel V. Talanov
8ded5e97ef
J2K CliLightClassGenerationSupport: rename file
2015-09-09 21:21:34 +03:00
Pavel V. Talanov
d077b63fae
Initial version of completing unimported file facades
2015-09-09 21:21:25 +03:00
Pavel V. Talanov
4106a0d736
Test for completing unimported file facade
2015-09-09 21:21:17 +03:00
Pavel V. Talanov
ead4f77f21
Make JetShortNamesCache human readible
2015-09-09 21:21:09 +03:00
Pavel V. Talanov
ee393955c4
Use correct codegen for creating light classes for file facade
2015-09-09 21:21:00 +03:00
Pavel V. Talanov
cda35f609a
Build light classes for file facades
2015-09-09 21:20:52 +03:00
Pavel V. Talanov
a9b4587b82
Index facade files by package fq names
2015-09-09 21:20:44 +03:00
Pavel V. Talanov
daaefcc7fd
Test completion of single file facades in java
2015-09-09 21:20:35 +03:00
Pavel V. Talanov
8cb7ea29fe
Test for exception filter with renamed facade
2015-09-09 21:20:26 +03:00
Pavel V. Talanov
26d0d8dbf1
Move jvm specific indexing of files to 'idea-analysis' module
...
Index facadeFqNames for kotlin source files
2015-09-09 21:20:18 +03:00
Pavel V. Talanov
25f31582c9
Make StubIndexService responsible for serializing and deserializing file stubs
2015-09-09 21:20:09 +03:00
Pavel V. Talanov
52cb404920
Minor: StubIndexServiceImpl -> IdeStubIndexService
2015-09-09 21:20:01 +03:00
Pavel V. Talanov
9720c1d983
Make StubIndexService responsible for creating file stubs
...
Also convert to kotlin and make an abstract class
2015-09-09 21:19:53 +03:00
Pavel V. Talanov
5181a01a40
Minor: rename forPackageStub -> forFile
2015-09-09 21:19:44 +03:00
Dmitry Petrov
0839d78797
Fix CodegenFileClassesProvider problems related to wrong/incomplete code in IDE
2015-09-09 19:08:19 +03:00
Dmitry Petrov
bf1c0260f1
Multifile class part names are "1${PartName}".
...
Multifile class parts are final.
2015-09-09 19:08:19 +03:00
Dmitry Petrov
025be4f541
No more CodegenContext.STATIC
2015-09-09 19:08:19 +03:00
Dmitry Petrov
cd341e957e
Cleanup after review
...
+ stub builder test for multifile class
2015-09-09 19:08:19 +03:00