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
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
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