Evgeny Gerashchenko
2462b95e6b
Rearranged code in abstract incremental compilation test.
...
Original commit: 0eda00e2df
2014-10-16 22:01:44 +04:00
Andrey Breslav
079fbaa7cb
Minor. Compilation fixed
...
Original commit: 34a98f2563
2014-10-13 16:02:39 +04:00
Evgeny Gerashchenko
a8d310b6c8
Saving only class files into incremental cache.
...
Fixed exception for JS modules.
Original commit: 75853e3aad
2014-10-10 16:24:03 +04:00
Alexander Udalov
60a8794f84
Prepend zeros to package part hash code
...
Original commit: 80a7c64369
2014-09-26 10:23:14 +04:00
Alexander Udalov
1a02eb4c6c
Include package part name to top level closure names
...
#KT-4234 Fixed
#KT-4496 Fixed
Original commit: c30aa7db84
2014-09-26 10:22:25 +04:00
Alexander Udalov
9c8ee4eae6
Use '$' instead of '-' in package part class names
...
Otherwise some tools break (e.g. CheckMethodAdapter in ASM, used in generic
signature writer) because they expect class names to be Java identifiers.
Some tests fixed, some will be fixed in future commits
Original commit: c57441b51b
2014-09-26 10:22:20 +04:00
Evgeny Gerashchenko
3a7dcd4c80
Minor. Clarified "compiled file" as "file to compile".
...
Original commit: cb58d19e29
2014-09-24 16:31:48 +04:00
Evgeny Gerashchenko
6389a27d64
Fixed clearing incremental cache for removed source files.
...
For writing system-dependent paths were used, for deleting were system-independent. That's why cache was not cleared on Windows.
Original commit: 060796997e
2014-09-24 16:31:48 +04:00
Evgeny Gerashchenko
f971cc5f97
Fix: not loading ancestor packages from incremental cache.
...
Original commit: b435904d7f
2014-09-24 16:31:47 +04:00
Evgeny Gerashchenko
7c24432824
Added automatic backup for debugging incremental compilation.
...
Original commit: 9af1c3e4dc
2014-09-24 16:31:47 +04:00
Nikolay Krasko
3d67593ef6
Regenerate for testCompilationErrorThenFixed test
...
Original commit: bf7a295ace
2014-09-18 20:30:35 +04:00
Evgeny Gerashchenko
001bf06136
Not clearing incremental cache on compilation error.
...
Original commit: 853def0a10
2014-09-18 16:50:20 +04:00
Alexander Udalov
198462b47a
Move ClassId to module descriptors, closer to other names
...
Original commit: 1905401273
2014-09-16 11:36:39 +04:00
Alexander Udalov
11b8d4f9c3
Use ClassId instead of JvmClassName in KotlinJvmBinaryClass
...
ClassId contains exact information about origin of the class (e.g. if '$' in
the class name denotes nested classes separator or just a character in the
name)
Original commit: 7595e32bb6
2014-09-15 19:30:51 +04:00
Alexander Udalov
3853d6a39a
Read InnerClasses attribute value in FileBasedKotlinClass
...
Resolve names mentioned in class declarations based on this information
Original commit: 1f8b2cef52
2014-09-15 19:30:51 +04:00
Alexander Udalov
4fbe5d0c45
Minor, refactor FileBasedKotlinClass factory method
...
Original commit: 9648c50ac9
2014-09-15 19:30:51 +04:00
Alexander Udalov
9e105dcaed
Extract abstract FileBasedKotlinClass out of VirtualFileKotlinClass
...
Add another implementation of FileBasedKotlinClass which was indirectly used in
jps-plugin (LocalFileKotlinClass)
Original commit: fa39bf03a0
2014-09-15 19:30:51 +04:00
Nikolay Krasko
0bb4d78932
Regenerate tests
...
Original commit: 041d009b9a
2014-09-09 14:28:24 +04:00
Andrey Breslav
0b42fc071a
Tests regenerated
...
Original commit: 32c8d3a96d
2014-09-08 19:57:41 +04:00
Evgeny Gerashchenko
803d52a36d
Supported methods with default arguments in partial package compilation.
...
Original commit: 35720ff46d
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
81fabc90f9
Fixed redeclaration from incremental compilation. Added workaround for JPS bug.
...
Original commit: 3226093fa6
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
4d42783383
Minor. Clearer logic.
...
Original commit: 76864a3eb0
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
dcd41cc1b1
Supported multi-module incremental compilation tests.
...
Original commit: 15cb2ec586
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
537ab3e77e
Fixed compilation.
...
Original commit: eae49e23d4
2014-08-27 16:41:36 +04:00
Evgeny Gerashchenko
05c27079b1
Minor. Removed redundant assertions.
...
Original commit: 95ab99cce3
2014-08-27 16:35:12 +04:00
Evgeny Gerashchenko
691779b3c4
Removed dependency on intellij-core in jps-plugin to avoid linkage errors.
...
Original commit: 97beb92fbc
2014-08-27 16:35:12 +04:00
Evgeny Gerashchenko
0504cef6a9
Introduced bare kotlin compiler plugin for IntelliJ IDEA developers.
...
Original commit: 822f02e23a
2014-08-27 16:35:10 +04:00
Evgeny Gerashchenko
6a15f0ad8f
Converted KotlinBuilder from Java to Kotlin
...
Original commit: 75ffc0f5ff
2014-08-27 16:35:06 +04:00
Alexander Udalov
d577d51651
Regenerate tests after recent generator improvements
...
Original commit: 087eec4521
2014-08-25 19:00:09 +04:00
Alexander Udalov
ce906f6cca
Minor, remove dependency of everything on "descriptor.loader.java"
...
Everything already depends on "frontend.java" which exports
"descriptor.loader.java"
Original commit: d5d4cff701
2014-08-25 17:53:18 +04:00
Alexander Udalov
aa996e703a
Remove dependency on Maps from jps-plugin
...
It seems that there's no Guava in the classpath formed for JPS plugins
#KT-5676 Fixed
Original commit: 994348b0ca
2014-08-25 12:36:26 +04:00
Pavel V. Talanov
713e2cb172
Add dependency on intellij-core explicitly
...
util module doesn't export intellij-core dependency
Original commit: 77416aba5f
2014-08-22 13:09:08 +04:00
Evgeny Gerashchenko
f679db9c31
Minor. Renamed and cleaned CompilerServices -> Services.
...
Original commit: 56fd9cec7a
2014-08-20 14:29:03 +04:00
Evgeny Gerashchenko
2305d26a43
Minor. Renamed and cleaned CompilerServices -> Services.
...
Original commit: 487f381287
2014-08-20 13:46:31 +04:00
Evgeny Gerashchenko
5dd641c030
Passing condition to prefer parent class loader as a parameter to preloader.
...
Original commit: fe27b2264a
2014-08-20 13:46:30 +04:00
Evgeny Gerashchenko
df3604fc6a
Passing services via type-safe container instead of map.
...
Original commit: f3b7ae379f
2014-08-20 13:46:30 +04:00
Evgeny Gerashchenko
b92205b277
Removed passing incremental cache base dir via module script.
...
Original commit: 184ddbc9e1
2014-08-20 13:46:29 +04:00
Evgeny Gerashchenko
79ae770031
Made compiler report source to output mapping when invoked from JPS.
...
Original commit: cbf8af2e88
2014-08-20 13:46:28 +04:00
Evgeny Gerashchenko
e97d8614c5
Removed storing module ids in incremental caches.
...
Original commit: 6dd56a08bd
2014-08-20 13:46:28 +04:00
Evgeny Gerashchenko
b2e343774d
Passing class loader instead of factory to compiler.
...
Original commit: 3233317316
2014-08-20 13:46:27 +04:00
Evgeny Gerashchenko
3acdb6a5cb
Moved incremental cache API to separate package.
...
Original commit: e419c1a604
2014-08-20 13:46:27 +04:00
Evgeny Gerashchenko
ab44343e1c
Made incremental cache per-module.
...
Reused IDEA framework which manages per-module storage.
Original commit: 5fade9a5a6
2014-08-20 13:46:26 +04:00
Alexander Udalov
26ab5cd48a
Don't pass "-verbose" by default to compiler in IDE
...
Let user pass it in the settings. Currently doesn't affect anything since
apparently no verbose messages appear in the IDE compiler output
Original commit: 807cf1dcc0
2014-08-13 11:10:41 +04:00
Evgeny Gerashchenko
4957e9d97f
Fixed collecting source files for multiple modules in incremental compilation.
...
Error led to analyzing same file twice.
Original commit: a4bbe2486c
2014-08-04 13:38:37 +04:00
Evgeny Gerashchenko
a393a09f9d
Always closing IncrementalCache after using. Fixed KannotatorJpsTest.
...
Original commit: 7e6b05554e
2014-07-22 21:18:16 +04:00
Evgeny Gerashchenko
bc474f8582
Minor. Formatting and imports.
...
Original commit: 714ad858ef
2014-07-22 21:18:16 +04:00
Evgeny Gerashchenko
48c9728e70
Moved current incremental compiler test data into subdirectory.
...
Tweaked test generator to avoid creating test methods for parent directory of tests.
Original commit: 479711e812
2014-07-10 15:05:20 +04:00
Evgeny Gerashchenko
4ec7f13421
Not writing compiler script path when in JPS plugin output.
...
XML script is removed after JPS plugin session anyway, so it's usually hard to check its contents. Also, it is redundant since -printArgs will write it anyway, so there is still possibility to debug.
Original commit: 829c25bcf9
2014-07-10 15:05:19 +04:00
Evgeny Gerashchenko
7b984bc389
Made it possible to run incremental compiler from IDEA.
...
Two guava functions used were replaced with custom tiny functions, because JPS plugin won't have guava in classpath.
Original commit: 40703c125c
2014-07-10 15:05:19 +04:00
Evgeny Gerashchenko
30e1b77c9b
Optimized KotlinBuilder for targets without Kotlin. Checking dirty/removed files only.
...
Original commit: 7212597e61
2014-07-10 15:05:19 +04:00