Evgeny Gerashchenko
fdd04b08ec
Minor. Renamed property for disambiguation.
...
Original commit: ab09ffa4a4
2014-11-12 16:25:02 +03:00
Evgeny Gerashchenko
d67423164c
Fixed KNPE when inline functions/constants are completely removed.
...
Original commit: 1a374efcd1
2014-11-12 16:25:01 +03:00
Evgeny Gerashchenko
2b5e3a5f9d
Fixed paths unification in tests on some Windows machines.
...
Original commit: 868a8dbc84
2014-11-12 11:09:35 +03:00
Nikolay Krasko
5ff297aed5
Extract isCompatibleAbiVersion from kinds enum and store read kinds even for incompatible version
...
Original commit: c242665cd3
2014-11-11 17:33:13 +03:00
Nikolay Krasko
5afcf74024
Minor: formatting
...
Original commit: d80c98a8ba
2014-11-11 17:33:10 +03:00
Evgeny Gerashchenko
10933cd154
Fixed test on Windows (slashes issue).
...
Original commit: 878aac1acb
2014-11-07 14:52:40 +03:00
Evgeny Gerashchenko
ff77a3e3ab
Updating Java mappings only for incremental mode.
...
Avoiding executing this code on TeamCity, which fails on TeamCity 8.x
Original commit: d72f31de61
2014-11-07 14:52:05 +03:00
Evgeny Gerashchenko
fcf4cf9e6b
Extracted function which creates compiler environment.
...
Original commit: e51296b047
2014-11-07 14:52:04 +03:00
Evgeny Gerashchenko
bb11e76528
Extracted functions which update incremental caches, etc
...
Original commit: a840e4d122
2014-11-07 14:52:04 +03:00
Evgeny Gerashchenko
4b6757145b
Extracted methods compiling to JS and JVM in KotlinBuilder.
...
Original commit: a797f82ce2
2014-11-07 14:52:03 +03:00
Evgeny Gerashchenko
676b09ca6d
Improved output dir checking in KotlinBuilder.
...
Output dir for representative target is necessary only for JS part: moved there.
Original commit: 97b516a600
2014-11-07 14:52:02 +03:00
Evgeny Gerashchenko
6917c317ba
Minor. Added test when compilation error is introduced and fixed in other package.
...
Original commit: 155775f925
2014-11-07 14:52:02 +03:00
Evgeny Gerashchenko
08831faa5c
Committed wrong behavior of Java+Kotlin incremental compilation (Java files recompiled twice).
...
Original commit: 1e2c4659cd
2014-11-07 14:52:01 +03:00
Evgeny Gerashchenko
8da6c24347
Added tests with redeclaration. The behavior is correct (compilation error), while diagnostic message is not ideal.
...
Original commit: 7f49a8c159
2014-11-07 14:52:01 +03:00
Evgeny Gerashchenko
e6dd4fac0c
Tests with SAM conversions.
...
Original commit: 21105fcae4
2014-11-07 14:51:59 +03:00
Evgeny Gerashchenko
6447c4183d
Added tests with adding method to superclass.
...
Original commit: 3237791433
2014-11-07 14:51:58 +03:00
Evgeny Gerashchenko
5d93890a84
Tests: converting Java to Kotlin and back.
...
Original commit: 86dd7ec880
2014-11-07 14:51:57 +03:00
Evgeny Gerashchenko
c6c649957b
Supported incremental compilation tests when compilation fails in the end.
...
Original commit: c0b0a17256
2014-11-07 14:51:56 +03:00
Evgeny Gerashchenko
3ce56b01f3
Tests with renamed method, incremental compilation between Kotlin and Java.
...
Original commit: 335c3f4506
2014-11-07 14:51:56 +03:00
Evgeny Gerashchenko
de840282e8
Replaced absolute paths with macro in compilation errors.
...
Original commit: e1180983aa
2014-11-07 14:51:55 +03:00
Evgeny Gerashchenko
9c8276c9fa
Tests with constants, incremental compilation between Kotlin and Java.
...
Original commit: 9234ef3803
2014-11-07 14:51:54 +03:00
Evgeny Gerashchenko
66cd592fd2
Initial support for kotlin-java interop in incremental compilation.
...
Original commit: 70331e3b82
2014-11-07 14:51:53 +03:00
Evgeny Gerashchenko
9c6ef7782f
Aborting compilation on errors (don't try to compile Java after it).
...
Original commit: 3011bdb7d7
2014-11-07 14:51:52 +03:00
Evgeny Gerashchenko
414caba4ef
Minor. Expanded test.
...
Original commit: 0f8dd59bcf
2014-11-07 14:51:51 +03:00
Evgeny Gerashchenko
03e558a741
Minor. More correct constants processing. If class without constants is added, it doesn't mean directly that others should be recompiled. Anyway, this mistake didn't lead to any bug: proto change would be detected anyway.
...
Original commit: 4cf7b9e20c
2014-11-07 14:51:51 +03:00
Evgeny Gerashchenko
4a22258ff9
Minor. Added test data sanity check.
...
Original commit: 2492fe47f3
2014-11-07 14:51:50 +03:00
Alexander Udalov
fb80635714
Regenerate tests
...
After recent changes to Printer and TestGenerator
Original commit: f8be39b26b
2014-10-21 00:16:08 +04:00
Evgeny Gerashchenko
223b9fa753
Optimized imports. Fixed build.
...
Original commit: b9a4ea80c5
2014-10-20 17:57:44 +04:00
Evgeny Gerashchenko
07d79c88f5
Added incremental cache format versioning.
...
Original commit: 954a011721
2014-10-16 22:01:45 +04:00
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