Alexey Tsvetkov
090063b4d8
Compile actual and expected declarations together
...
#KT-20840 fixed
Original commit: fec2d08d22
2017-12-22 16:12:19 +03:00
Alexander Podkhalyuzin
1bd0546589
Extracted Kotlin.JVM IDE into separate module
...
This change is required to have possibility to build plugin against
minor IDEs, which don't have Java. So we want to extract idea-jvm
Original commit: 8203d1c3fe
2017-12-21 18:34:02 +03:00
Alexey Tsvetkov
483b3e8d28
Allow override removing temporary module files after build
...
For debug purposes
Original commit: 18fae9e16d
2017-12-18 21:19:15 +03:00
Alexey Tsvetkov
dfbae1f55d
Allow customizing directory for temporary module files
...
Original commit: 5bffef6de7
2017-12-18 21:19:15 +03:00
Alexey Tsvetkov
fdaf915d2c
Avoid generating too long path for temp module file
...
#KT-21841 fixed
Original commit: 37b00b91fc
2017-12-18 21:19:15 +03:00
Ilya Chernikov
c1da2e287d
Make daemon session retrieval more robust to the daemon failures
...
Original commit: f83dc0a067
2017-12-18 16:49:53 +01:00
Ilya Chernikov
76d6413702
Treat "daemon is dying" state as a case for fallback compilation strategy in jps
...
Original commit: 1101bb7fb4
2017-12-18 16:49:52 +01:00
Alexey Tsvetkov
453d38b0f7
Do not set api version to language version when language version is null
...
#KT-21852 fixed
#KT-21574 fixed
Original commit: 3f082346ae
2017-12-18 16:22:07 +03:00
Alexander Udalov
cf59f84273
Fix lookup tracker tests after 83b32e11a7f
...
Standard library is no longer automatically added to the classpath when
-Xbuild-file is used. Before 83b32e11a7f, these tests worked because no
matter whether -Xbuild-file was used or not, the automatically computed
classpath (which erroneously was used to populate content roots in the
compiler) contained the standard library (see
K2JVMCompiler.configureContentRoots)
Original commit: 9e82ab38f0
2017-12-14 11:37:56 +01:00
Alexander Udalov
043e1845fb
Add dependency on compiler dist from jps-tests
...
Otherwise, because there's no explicit dependency and the JPS plugin
loads the compiler from dist, the compiler jar is not rebuilt between
changes in compiler code and running jps-tests
Original commit: 46fa5cfae0
2017-12-14 11:37:56 +01:00
Alexey Sedunov
9f5d0eeb5b
Configuration: Support selection of "Latest stable" version vs specific one
...
#KT-21229 Fixed
Original commit: 38d3362bcb
2017-12-12 20:48:26 +03:00
Denis Zharkov
c3ea422125
Record special name lookup when trying use interface as a SAM
...
It was already working in JPS, because it see our synthetic classes
as subclasses for SAM's, but with non-JPS build we have to manually
tracking places that should be recompiled after SAM members are changed
Original commit: df533053f9
2017-12-12 16:17:58 +03:00
Denis Zharkov
30eec21d1d
Refine dirty files computation in case of Java source changes
...
#KT-17621 In Progress
Original commit: ae6421476d
2017-12-12 16:17:58 +03:00
Nikolay Krasko
7769227cf6
Restore iml files for jps tests
...
Original commit: f46a8e0b16
2017-11-30 13:24:08 +03:00
Alexey Sedunov
1a0d5351b6
Configuration: Fix deserialization of immutable freeArgs collection
...
#KT-21363 Fixed
Original commit: c54b934383
2017-11-30 12:49:24 +03:00
Alexander Udalov
53e90b6d40
Replace dependencies on kotlin-reflect with kotlin-reflect-api
...
See the previous commit for information on the kotlin-reflect vs
kotlin-reflect-api distinction.
Add kotlin-reflect as an explicit runtime dependency of most of the test
configurations because even though they all depend on tests-common, the
runtime dependency on kotlin-reflect is not exported from tests-common
to other modules because the projectTests dependency is not transitive.
Original commit: aca74cef0e
2017-11-28 12:35:49 +01:00
Alexey Tsvetkov
e06f002f45
Rebuild when language/api version is changed (JPS)
...
#KT-20757 fixed
Original commit: 913a997f24
2017-11-23 14:46:23 +03:00
Leonid Startsev
4266515228
More entry points for compiler plugins
...
* In Kotlin/JS JPS compilation
* In kotlin-common CLI compiler
* In kotlin-common gradle build
Original commit: d6e5551237
2017-11-23 12:12:01 +03:00
Alexey Tsvetkov
272c198ff6
Avoid deserializing .kotlin_module as class proto
...
#KT-20184 fixed
Original commit: 18261838b6
2017-11-16 14:47:59 +03:00
Nikolay Krasko
c09c919763
Report rebuild reason in rebuild function
...
Original commit: 643f771c24
2017-11-15 16:12:38 +03:00
Alexander Udalov
cf3ad8689d
Split core into descriptors, descriptors.jvm, deserialization, descriptors.runtime
...
Original commit: 02981038f3
2017-11-10 18:58:31 +01:00
Alexey Sedunov
70778b1062
Misc: Fix deserialization of CommonCompilerArguments.freeArgs
...
#KT-20938 Fixed
Original commit: cfad305826
2017-11-07 19:25:02 +03:00
Alexander Udalov
cfbb0f1b00
Move compiler/tests-common/{src -> tests}, adjust dependencies
...
Original commit: 33549362cb
2017-10-31 07:36:45 +01:00
Alexander Udalov
45102d8ded
Rename module ':compiler.tests-common' -> ':compiler:tests-common'
...
Original commit: c2276e2ccb
2017-10-31 07:36:45 +01:00
Alexey Sedunov
c8f8e6829e
Gradle: Import test output path for JavaScript modules
...
Original commit: 3319fdba6d
2017-10-26 20:59:40 +03:00
Alexey Sedunov
5ec73d6fbd
Misc: Protect freeArgs with FreezableVar
...
Original commit: 87f3d24f9b
2017-10-24 15:43:51 +03:00
Alexey Andreev
1079d74422
Support generation of relative path in JS source maps in JPS builder
...
See KT-20820
Original commit: 2fbecfdd9c
2017-10-23 17:19:50 +03:00
Anton Bannykh
19aa785e60
JPS JS: fix friend path detection in projects imported from Gradle (KT-18963 fixed)
...
Original commit: b2e53644a5
2017-10-20 19:16:14 +03:00
Nikolay Krasko
edb34f3f5f
Request path from URI before construction file
...
Original commit: bc6f2f6659
2017-10-12 12:00:35 +03:00
Nikolay Krasko
0b9884d4bf
Fix tests failure on Windows agents because of wrong slashes
...
Original commit: 3c0329b458
2017-10-12 12:00:35 +03:00
Alexey Andreev
2cf01f60b3
JS: generate paths in source maps relative to .map file location
...
See KT-19818
Original commit: 9008791a54
2017-10-06 15:24:25 +03:00
Alexey Andreev
d42ddff160
JS: rename -source-map-source-roots to -source-map-base-dirs
...
See KT-19906
Original commit: 21e91c4052
2017-10-03 14:26:37 +03:00
Alexey Sedunov
b1ec19281d
Kotlin Facet: Fix deserialization of "implements" dependency
...
Original commit: ea99a2b537
2017-10-02 18:14:04 +03:00
Denis Zharkov
3b83f3c98f
Update lookupTracker testData
...
Just the order of lookups has been changed
Original commit: b77cc54122
2017-09-28 14:01:30 +03:00
Alexey Tsvetkov
060686e22e
Change test data so IC and non IC warnings count match
...
When IC is on and new Kotlin class is referencing
new Java class, new Kotlin file is compiled twice,
because JPS thinks new Kotlin class is affected by
new Java class (see https://youtrack.jetbrains.com/issue/KT-20318 ).
This does not happen when IC is off, and KotlinBuilder
requests chunk rebuild (see previous commit).
I decided to remove the reference, because the issue
is now known, and the reference is non critical for the test.
Original commit: 1c7b8ec938
2017-09-26 16:35:24 +03:00
Alexey Tsvetkov
6d868d3d67
Request CHUNK_REBUILD when IC is off and there are dirty Kotlin files
...
Otherwise unexpected compile error might happen,
when there are Groovy files, but they are not dirty,
so Groovy builder does not generate source stubs,
and Kotlin builder is filtering out output directory
from classpath (because it may contain outdated Java classes).
Previously the issue was not detected,
because it was not possible to turn off the IC completely (in JPS),
only switch to the legacy IC.
#KT-20138
Original commit: 7a5e0e1107
2017-09-26 16:35:24 +03:00
Ilya Chernikov
345ae1382d
Fix embeddable compiler dependencies, fix dist task, use runtimeJar...
...
dependencies where appropriate, some helpers refactoring
Original commit: d61695be55
2017-09-20 11:52:00 +02:00
Ilya Chernikov
8be31c1c27
Comment out obsolete kannotator tests
...
(cherry picked from commit b318d97)
Original commit: 4073280b50
2017-09-20 11:51:55 +02:00
Ilya Chernikov
3657e07cb7
Add missing artifact, fix some deps and publishing
...
Original commit: 46884bec84
2017-09-20 11:51:38 +02:00
Ilya Chernikov
ec36f5761f
Fix tests in the new build infrastructure
...
Original commit: d039d191f2
2017-09-19 23:58:30 +02:00
Ilya Chernikov
b0fc11f480
Clean most of the shared source roots conflicts
...
Original commit: a61facf3d1
2017-09-19 23:58:29 +02:00
Alexander Podkhalyuzin
e3deaa5778
Clean idea files generated on the gradle import, add them to .gitignore
...
Original commit: 3f8170d369
2017-09-19 23:58:27 +02:00
Ilya Chernikov
478c623bd2
Continue switching projects to improved dsl: sourceSets and test running
...
Original commit: deda50dbbb
2017-09-19 21:37:26 +02:00
Ilya Chernikov
5fc83f7893
Fix project structure after rebase on master
...
Original commit: 336e24b837
2017-09-19 21:37:25 +02:00
Ilya Chernikov
5a8250a36d
Refactor: project renaming, using improved build dsl
...
Original commit: b6c255cea5
2017-09-19 21:37:22 +02:00
Ilya Chernikov
c0563313a4
Refactoring - renaming projects, applying sourceSets DSL
...
Original commit: 96d5e0bb21
2017-09-19 21:37:18 +02:00
Ilya Chernikov
4e5b37e265
Refactor and clean preloader project
...
Original commit: 513ab08edd
2017-09-19 21:37:16 +02:00
Ilya Chernikov
ec0fbbe632
Implement Gradle Kotlin DSL build
...
Original commit: 61dfb75e0e
2017-09-19 21:37:06 +02:00
Alexey Sedunov
17601aacb5
Kotlin Facet: Support "implements" relation between modules
...
#KT-17593 Fixed
Original commit: bdad58cec6
2017-09-08 15:38:14 +03:00
Nikolay Krasko
8a6ed0dac4
Force remove JpsModel in BaseKotlinJpsBuildTestCase tests
...
Original commit: 6fd3ce07b3
2017-09-08 12:56:28 +03:00