Alexander Udalov
c57441b51b
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
2014-09-26 10:22:20 +04:00
Evgeny Gerashchenko
b435904d7f
Fix: not loading ancestor packages from incremental cache.
2014-09-24 16:31:47 +04:00
Evgeny Gerashchenko
853def0a10
Not clearing incremental cache on compilation error.
2014-09-18 16:50:20 +04:00
Evgeny Gerashchenko
35720ff46d
Supported methods with default arguments in partial package compilation.
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
3226093fa6
Fixed redeclaration from incremental compilation. Added workaround for JPS bug.
2014-08-29 16:31:29 +04:00
Evgeny Gerashchenko
479711e812
Moved current incremental compiler test data into subdirectory.
...
Tweaked test generator to avoid creating test methods for parent directory of tests.
2014-07-10 15:05:20 +04:00
Evgeny Gerashchenko
42cba1cc3c
Ignoring not static final fields.
...
Added tests with class object of trait and val inside object.
2014-07-07 17:41:39 +04:00
Evgeny Gerashchenko
f8ac8f727e
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.
2014-07-07 17:41:38 +04:00
Evgeny Gerashchenko
ca647a9ff4
Expanded test with constants unchanged. Now it has class-level and package-level constants mixed in one file.
2014-07-07 17:41:38 +04:00
Evgeny Gerashchenko
11af8ed616
Added test with constant in class object.
2014-07-07 17:41:37 +04:00
Evgeny Gerashchenko
aa9f7a73c9
Inline function changed – rebuild all chunk.
2014-07-07 17:41:36 +04:00
Evgeny Gerashchenko
7ef5c75f26
Supported inlining functions which access properties via field.
2014-07-07 17:41:36 +04:00
Evgeny Gerashchenko
2259cc605f
Preserving annotations in incremental compilation.
2014-07-07 17:41:35 +04:00
Evgeny Gerashchenko
6c8a9ba378
Basic detection for bytecode of inline functions in incremental compilation.
...
Basic rule is: bytecode of inline function changed -> recompile everything.
2014-07-07 17:41:35 +04:00
Evgeny Gerashchenko
6501066274
Added hacky checks for accessing compiled functions from our module via package part instead of facade.
...
#KT-4590 fixed
2014-07-07 17:41:34 +04:00
Nikolay Krasko
465dd45eae
Merge remote-tracking branch 'origin/master' into idea14
2014-07-02 09:21:40 +04:00
Alexander Udalov
59777e7df6
Generate "$kotlinClass"/"$kotlinPackage" reflection fields to every class
...
Some seemingly irrelevant tests were changed because now there's <clinit> in
almost every class and class initialization begins with executing it
2014-07-02 01:26:18 +04:00
Nikolay Krasko
a0e45e9a12
Merge master into idea14
...
Conflicts:
.idea/runConfigurations/All_Tests.xml
idea/src/org/jetbrains/jet/plugin/conversion/copy/ConvertJavaCopyPastePostProcessor.kt
idea/tests/org/jetbrains/jet/plugin/refactoring/introduce/introduceVariable/AbstractJetExtractionTest.kt
idea/tests/org/jetbrains/jet/shortenRefs/AbstractShortenRefsTest.kt
2014-06-25 16:26:01 +04:00
Evgeny Gerashchenko
ca4ac43add
Added tests with class referenced from proto.
2014-06-24 22:18:19 +04:00
Evgeny Gerashchenko
8479ca76b0
Added clearing proto data in incremental cache.
2014-06-24 22:18:18 +04:00
Evgeny Gerashchenko
3ee92da6f0
Added test with all types of constants.
2014-06-24 22:18:14 +04:00
Evgeny Gerashchenko
111feb2574
Added tests with removing files and changing packages.
2014-06-24 22:18:11 +04:00
Nikolay Krasko
2f776affb3
Test package facade recompile after removing several files
2014-06-20 17:19:46 +04:00
Evgeny Gerashchenko
e1f6fc55c5
Writing/reading constants map fully to avoid hash collisions.
2014-06-19 19:25:42 +04:00
Evgeny Gerashchenko
7f1e99ecfd
Added test with class signature unchanged.
2014-06-19 14:37:08 +04:00
Evgeny Gerashchenko
15d9549477
Minor. Regenerated tests.
2014-06-19 14:22:43 +04:00
Evgeny Gerashchenko
f62842343d
Added tests for removing files from package.
2014-06-18 22:56:40 +04:00
Evgeny Gerashchenko
e89b59a745
Checking for constants values in incremental compiler.
2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko
c4e167d7bc
Checking for changes in class proto.
2014-06-18 22:56:36 +04:00
Evgeny Gerashchenko
018b58b51f
Rebuild only if proto changed.
2014-06-18 22:56:35 +04:00
Evgeny Gerashchenko
ca1ee69e4c
Loading descriptors from incremental cache instead of package classes.
2014-06-18 22:56:33 +04:00
Evgeny Gerashchenko
601a691e18
Corrected and simplified compilation of module chunk.
2014-06-04 15:34:17 +04:00
Evgeny Gerashchenko
ad8affe07c
Renamed and refactored test.
2014-06-04 11:36:42 +04:00
Evgeny Gerashchenko
733de56178
Supported properties in partial compilation of package.
2014-03-25 14:31:44 +04:00
Evgeny Gerashchenko
d62bc07437
Partial compilation of package (only functions supported).
2014-03-25 14:31:38 +04:00
Evgeny Gerashchenko
5acd054c72
Baby steps for incremental compilation.
2014-03-25 14:26:47 +04:00
Evgeny Gerashchenko
9e22c29825
Moved general JPS test data to common directory.
2014-03-25 14:26:47 +04:00
Zalim Bashorov
4fb995c50b
JPS: add tests for: exclude in compiler settings, project with more then one file.
2013-11-12 20:33:05 +04:00
Zalim Bashorov
e5a58e0c70
JPS: switched to use dirty files without incremental compilation (temporary hack for recompiling all).
...
Fixed compiling files from excluded directories.
2013-11-08 18:14:22 +04:00
Andrey Breslav
2a43d2adee
Report correct build targets for outputs + tests on output removal
2013-10-21 19:21:23 +04:00
Andrey Breslav
60425b15e6
Support circular dependencies
...
We generate a module script with information on all modules in the chunk, then build the whole chunk as "one big module"
2013-10-14 14:42:24 +04:00
Andrey Breslav
1e91fb8d27
Using annotations from reexported libraries
2013-08-29 20:30:34 +04:00
Andrey Breslav
5c58cb946c
Support exported dependencies
2013-08-27 15:48:18 +04:00
Alexander Udalov
2af8dd4298
Rename package in JPS plugin tests
...
Package 'kotlin' is not supported until package views are implemented, because
its name clashes with the stdlib
2013-08-26 15:59:43 +04:00
Andrey Breslav
6465abe7eb
Do not fail on circular dependencies + better message
2013-05-29 21:39:36 +04:00
Natalia.Ukhorskaya
1824879dd0
Add JpsTests for inheritance (J-K-J, K-J-K)
2012-12-17 17:48:06 +04:00
Natalia.Ukhorskaya
1378f836f5
Rename test projects for jps plugin. Do not lowercase first letter in project name
2012-11-27 15:34:36 +04:00
Natalia.Ukhorskaya
74ca357502
Add tests for jps plugin
2012-11-27 14:54:18 +04:00