Commit Graph

30 Commits

Author SHA1 Message Date
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 f971cc5f97 Fix: not loading ancestor packages from incremental cache.
Original commit: b435904d7f
2014-09-24 16:31:47 +04:00
Evgeny Gerashchenko 001bf06136 Not clearing incremental cache on compilation error.
Original commit: 853def0a10
2014-09-18 16:50:20 +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 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 fd8cff1f53 Ignoring not static final fields.
Added tests with class object of trait and val inside object.

Original commit: 42cba1cc3c
2014-07-07 17:41:39 +04:00
Evgeny Gerashchenko 5e0ae6481d Merged tests with inline functions in class and in package.
Now this test also checks situation when several class files with inline functions are emitted from one source file.

Original commit: f8ac8f727e
2014-07-07 17:41:38 +04:00
Evgeny Gerashchenko 0fe80fdb5b Expanded test with constants unchanged. Now it has class-level and package-level constants mixed in one file.
Original commit: ca647a9ff4
2014-07-07 17:41:38 +04:00
Evgeny Gerashchenko 269ad88f78 Added test with constant in class object.
Original commit: 11af8ed616
2014-07-07 17:41:37 +04:00
Evgeny Gerashchenko 2f72958d25 Inline function changed – rebuild all chunk.
Original commit: aa9f7a73c9
2014-07-07 17:41:36 +04:00
Evgeny Gerashchenko 1e3b4ddc32 Supported inlining functions which access properties via field.
Original commit: 7ef5c75f26
2014-07-07 17:41:36 +04:00
Evgeny Gerashchenko 1f91c2b724 Preserving annotations in incremental compilation.
Original commit: 2259cc605f
2014-07-07 17:41:35 +04:00
Evgeny Gerashchenko bf5c65bef6 Basic detection for bytecode of inline functions in incremental compilation.
Basic rule is: bytecode of inline function changed -> recompile everything.

Original commit: 6c8a9ba378
2014-07-07 17:41:35 +04:00
Evgeny Gerashchenko b86d7668b0 Added hacky checks for accessing compiled functions from our module via package part instead of facade.
#KT-4590 fixed

Original commit: 6501066274
2014-07-07 17:41:34 +04:00
Evgeny Gerashchenko bdc735f48f Added tests with class referenced from proto.
Original commit: ca4ac43add
2014-06-24 22:18:19 +04:00
Evgeny Gerashchenko 18113ed61a Added clearing proto data in incremental cache.
Original commit: 8479ca76b0
2014-06-24 22:18:18 +04:00
Evgeny Gerashchenko ab55592b5e Added test with all types of constants.
Original commit: 3ee92da6f0
2014-06-24 22:18:14 +04:00
Evgeny Gerashchenko 4c8ff1616e Added tests with removing files and changing packages.
Original commit: 111feb2574
2014-06-24 22:18:11 +04:00
Evgeny Gerashchenko ca6e2cbf90 Writing/reading constants map fully to avoid hash collisions.
Original commit: e1f6fc55c5
2014-06-19 19:25:42 +04:00
Evgeny Gerashchenko 06a5282da8 Added test with class signature unchanged.
Original commit: 7f1e99ecfd
2014-06-19 14:37:08 +04:00
Evgeny Gerashchenko 7c4fb68bad Minor. Regenerated tests.
Original commit: 15d9549477
2014-06-19 14:22:43 +04:00
Evgeny Gerashchenko 570e2c0a7e Added tests for removing files from package.
Original commit: f62842343d
2014-06-18 22:56:40 +04:00
Evgeny Gerashchenko a36e100d01 Checking for constants values in incremental compiler.
Original commit: e89b59a745
2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko 375354e5ee Checking for changes in class proto.
Original commit: c4e167d7bc
2014-06-18 22:56:36 +04:00
Evgeny Gerashchenko 0188b02946 Rebuild only if proto changed.
Original commit: 018b58b51f
2014-06-18 22:56:35 +04:00
Evgeny Gerashchenko 2eb051dbc2 Loading descriptors from incremental cache instead of package classes.
Original commit: ca1ee69e4c
2014-06-18 22:56:33 +04:00
Evgeny Gerashchenko 06cb6eb030 Supported properties in partial compilation of package.
Original commit: 733de56178
2014-03-25 14:31:44 +04:00
Evgeny Gerashchenko e676bd841d Partial compilation of package (only functions supported).
Original commit: d62bc07437
2014-03-25 14:31:38 +04:00
Evgeny Gerashchenko 259d03198d Baby steps for incremental compilation.
Original commit: 5acd054c72
2014-03-25 14:26:47 +04:00