Evgeny Gerashchenko
290b367600
Made constants and inline functions maps class-file based. Otherwise data for different class files was overwritten: e.g. several classes in file, class and top-level callables in one source file.
...
Extracted superclass with common parts.
Original commit: aa9384a207
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
a482bd4341
Minor. Renamed parameter and corresponding variable.
...
Original commit: 2ac351928e
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
9d428dc2ed
Minor. Reused join() instead of makeString()
...
Original commit: 6f8d9f6ed9
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
0d7b31df2b
Added debug flag for class files comparison.
...
Original commit: 55a2e8edf8
2014-07-07 17:41:34 +04:00
Nikolay Krasko
dac7ffbad2
Merge remote-tracking branch 'origin/master' into idea14
...
Original commit: 465dd45eae
2014-07-02 09:21:40 +04:00
Alexander Udalov
ac3cbf547c
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
Original commit: 59777e7df6
2014-07-02 01:26:18 +04:00
Nikolay Krasko
df9a6b73f5
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
Original commit: a0e45e9a12
2014-06-25 16:26:01 +04:00
Evgeny Gerashchenko
df1a3f7a55
Added exceptions for proguard: constants are used in JPS plugin.
...
Original commit: 1ce0e6cd3e
2014-06-24 22:19:12 +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
4462ad48ee
Minor. Fixed mixed up error messages in test.
...
Original commit: 471e3e80f2
2014-06-24 22:18:18 +04:00
Evgeny Gerashchenko
ed03bec629
Writing class names in proto map (to avoid ambiguities)
...
Original commit: 5c49eb0a54
2014-06-24 22:18:17 +04:00
Evgeny Gerashchenko
703972b020
Clearing constants data when removing file.
...
Original commit: fc7dceba5a
2014-06-24 22:18:16 +04:00
Evgeny Gerashchenko
851a500b88
Removed ingoring files facility from incremental tests.
...
It is not necessary since script.xml are not generated in out directory anymore.
Original commit: 9dd627a23d
2014-06-24 22:18:16 +04:00
Evgeny Gerashchenko
42ad41f4d5
Changing lastModified manually in case when it wasn't changed after file overwriting.
...
Original commit: ab442754d6
2014-06-24 22:18:15 +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
29920360c1
Minor. Correct map with expected size creation.
...
Original commit: 7742755de4
2014-06-24 22:18:11 +04:00
Nikolay Krasko
2795640c6b
Test package facade recompile after removing several files
...
Original commit: 2f776affb3
2014-06-20 17:19:46 +04:00
Nikolay Krasko
b9aefafa67
Change jps testing framework
...
Original commit: 5f0bfa8c56
2014-06-20 17:16:48 +04:00
Evgeny Gerashchenko
523e4d0294
Extracted package part map implementation to inner class.
...
Original commit: 27273deeda
2014-06-19 20:12:24 +04:00
Evgeny Gerashchenko
c73cf30ca7
Extracted constants map implementation to inner class.
...
Original commit: 214c0fe4be
2014-06-19 20:12:24 +04:00
Evgeny Gerashchenko
b218e9cc3d
Extracted proto map implementation to inner class and simplified.
...
Original commit: 4e00df1fb4
2014-06-19 20:12:23 +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
e6f2f89255
Generalized method name.
...
Original commit: 9f86441f95
2014-06-19 15:47:22 +04:00
Evgeny Gerashchenko
fe3a02e750
Minor cleanup
...
Original commit: 54f140e9e4
2014-06-19 14:53:13 +04:00
Evgeny Gerashchenko
1308dd234a
Processing all targets with removed files in chunk at once.
...
Original commit: 219475be71
2014-06-19 14:49:16 +04:00
Evgeny Gerashchenko
93af794841
Minor. Replaced first invocation of make() with initialMake() (for clearer stack trace).
...
Original commit: 6809befa3a
2014-06-19 14:37:55 +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
79e85edd3c
Merge remote-tracking branch 'origin/master' into incremental
...
Original commit: aa41ae09ed
2014-06-19 11:43:59 +04:00
Evgeny Gerashchenko
88d9c5e328
Writing incrementalCache attribute to <modules> element of xml module script
...
Original commit: f6129732a2
2014-06-19 01:03:59 +04:00
Evgeny Gerashchenko
4134b94c35
Passing custom class loader for loading incremental cache implementation.
...
Original commit: d3e5790674
2014-06-18 22:56:44 +04:00
Evgeny Gerashchenko
06a2d64247
Simplified interface of IncrementalCache (depending on JDK only).
...
Original commit: 04f7ad450f
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko
18c00c7b5e
Extracted interface and moved implementation of IncrementalCache to jps-plugin, accessing cache via Java service loader.
...
Original commit: 07365dca1d
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko
f6147fcbcd
Supported cases of removing source files from package fragment.
...
Original commit: 820bd911fb
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko
21ac2b80f5
Removing caches and rebuilding again in tests.
...
It helps to find cases when stuck data spoils compilation output.
Original commit: fddc8edc03
2014-06-18 22:56:42 +04:00
Evgeny Gerashchenko
8a67920c25
Made incremental compilation test auto-generated.
...
Original commit: 205f99bf60
2014-06-18 22:56:42 +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
cbffb4062a
Supported multiple make iterations in incremental tests.
...
Original commit: 2a9721daf3
2014-06-18 22:56:40 +04:00
Evgeny Gerashchenko
48c842b931
Don't report package facade classes as output of sources without top-level members.
...
Original commit: b9f01a6397
2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko
a36e100d01
Checking for constants values in incremental compiler.
...
Original commit: e89b59a745
2014-06-18 22:56:37 +04:00