Alexey Tsvetkov
3ad5e78d77
Extract common caches
2017-08-29 02:24:36 +03:00
Mikhail Glukhikh
3623f581b8
Eliminate a set of warnings, mostly nullability ones
2017-08-18 15:10:27 +03:00
Sergey Igushkin
192d569e54
Support Java package prefix in Gradle plugin
...
Issue #KT-17150 Fixed
2017-08-14 16:13:13 +03:00
Alexey Tsvetkov
ed5b6e07aa
Implement JS proto comparison
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
23afaeec2f
Extract TestMessageCollector
2017-08-10 21:19:41 +03:00
Mikhail Glukhikh
1264ed7c86
Minor cleanup
2017-08-07 13:20:35 +03:00
Alexey Tsvetkov
f0becd0040
Fix IC with daemon
...
JPS IC with daemon was not working since
the commit 514635e965
Before that change `IncrementalCompilation.isEnabled`
returned `true` when the corresponding system property was not set.
After the change `isEnabled` returns `true` only if
the system property is set and equals to `"true"`.
The property was never set up for the daemon if `CompilerMode.JPS_COMPILER`
was used (the property was set up in a JPS process or in the daemon in case
it was used with Gradle).
#KT-19414 fixed
2017-08-02 23:02:11 +03:00
Alexey Sedunov
50599c933f
J2K: CommonToolArguments and inheritors
2017-08-01 19:36:49 +03:00
Mikhail Glukhikh
c5a81691fb
Partial code cleanup: can be private and some others applied
2017-08-01 17:08:56 +03:00
Alexey Tsvetkov
534db2d45b
Remove old IC: remove experimental cache version
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
5af9d29cbe
Remove old IC: remove experimental-ic-build.log
...
This commit moves each experimental-ic-build.log
into a corresponding build.log file.
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
2bd7d12312
Remove old IC: remove IncrementalCompilation.isExperimental
2017-07-31 19:34:58 +03:00
Alexander Udalov
55468735df
Rename -module argument to -Xbuild-file
...
To prevent confusion with Java 9 module-related arguments
#KT-18754 Fixed
2017-07-06 17:03:25 +03:00
Mikhail Glukhikh
840847e47c
Code cleanup: several inspections applied
2017-06-29 16:25:57 +03:00
Alexander Udalov
7febd846e8
Export 'intellij-core' in module 'frontend'
...
Remove intellij-core from dependencies of modules which already depend
on frontend or any module that exports frontend (such as frontend.java)
2017-06-06 14:29:26 +03:00
Alexey Tsvetkov
afa1e901a7
Ensure output directory exists when adding it to classpath
...
Otherwise a warning is reported:
"Сlasspath entry points to a non-existent location".
Currently it only affects Maven + IC.
2017-05-26 15:16:41 +03:00
Alexey Tsvetkov
5c041cb182
Kapt3: Remove source stubs together with the class files when .kt file is marked dirty (IC)
2017-05-04 19:59:29 +03:00
Alexander Udalov
d8d3bafbe9
Introduce "-Xreport-output-files" to report source-output mapping for JPS
...
This makes "-verbose" not required for JPS to run correctly and
therefore allows to print more useful debugging stuff in the compiler
and read them in CLI, for example. The output will also be more readable
because there'll be no "output" messages
2017-04-28 20:49:28 +03:00
Alexander Udalov
861d9a1620
Use null instead of CompilerMessageLocation.NO_LOCATION in MessageCollector
2017-04-11 12:08:31 +03:00
Mikhail Glukhikh
b121bf8802
Cleanup: fix some compiler warnings (mostly deprecations, javaClass)
2017-03-15 17:35:31 +03:00
Alexey Tsvetkov
6e0f3b7f1f
Avoid having -d and -module set at the same time
...
#KT-14619 fixed
2017-02-16 21:26:50 +03:00
Alexey Tsvetkov
de24e68adc
Revert "Avoid having -d and -module set at the same time"
...
This reverts commit ac241e267648e9344d718c3a44446c6e13d8d2e4.
2017-02-03 17:16:08 +03:00
Alexey Tsvetkov
c57dac159b
Avoid having -d and -module set at the same time
...
#KT-14619 fixed
2017-01-31 16:53:34 +03:00
Alexey Tsvetkov
d4d1d5ad0f
Refactor daemon interface
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
d19a92bab5
Make ICReporter interface
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
254d051a1f
Minor: replace map().flatten()->flatMap()
2016-12-19 22:55:27 +03:00
Alexey Tsvetkov
c89e62c45a
Minor: rename enableIC->withIC
2016-12-19 22:55:27 +03:00
Alexey Tsvetkov
de2736489b
Unify Gradle and Kotlin daemon cache version checking
2016-12-19 22:55:25 +03:00
Alexey Tsvetkov
8228d5828e
Fix multiproject Gradle IC with daemon
2016-12-19 22:55:22 +03:00
Alexey Tsvetkov
51a8f6ee4f
Implement server side IC
2016-12-19 22:55:21 +03:00
Alexey Tsvetkov
145608ec0f
Minor: remove redundant call
2016-12-19 22:55:20 +03:00
Alexey Tsvetkov
c1812d7d92
Move IC tests to compiler
...
Fixing IC after moving it from Gradle to the compiler in commit f40a3eff20
2016-12-19 22:55:19 +03:00
Alexey Tsvetkov
cbe680d876
Move file utils
...
Fixing IC after moving it from Gradle to the compiler in commit f40a3eff20
2016-12-19 22:55:17 +03:00
Alexey Tsvetkov
8bd8f5eacf
Make IC classes public
...
Fixing IC after moving it from Gradle to the compiler in commit f40a3eff20
2016-12-19 22:55:14 +03:00
Alexey Tsvetkov
a569f7e75a
Remove remaining gradle api references
...
Fixing IC after moving it from Gradle to the compiler in commit f40a3eff20
2016-12-19 22:55:06 +03:00
Alexey Tsvetkov
939020ec60
Replace org.jetbrains.kotlin.com.intellij with com.intellij
...
Fixing IC after moving it from Gradle to the compiler in commit f40a3eff20
2016-12-19 22:54:38 +03:00
Alexey Tsvetkov
f40a3eff20
Move IC from Gradle to compiler
...
Reasons for moving:
1. Integration with Kotlin daemon for Gradle.
Gradle bundles Kotlin compiler (kotlin-compiler-embeddable) since Gradle 3.2.
There is no plugin isolation in Gradle, so strange compilation errors/exceptions may happen.
We decided to fix this problem by compiling out-of-process using Kotlin daemon.
Reasons for moving IC to the compiler:
* Better isolation from Gradle process.
* Incremental compilation logic is not scattered across two process and multiple modules.
* Makes it possible to implement standalone CLI IC
2016-12-19 22:46:12 +03:00