Vyacheslav Gerasimov
991ca73c0b
Add asm-all to jps-plugin dependencies
...
Original commit: 29caa00f23
2018-01-30 17:06:18 +03:00
Ilya Chernikov
a870208a3b
Convert the rest of the project to intellij repo prepared in buildSrc
...
Original commit: 7e21573cf4
2018-01-30 17:06:13 +03:00
Ilya Chernikov
1a7d10ebd4
Make all dependencies to idea sdk intransitive
...
Original commit: a4f28cd94f
2018-01-30 17:06:11 +03:00
Ilya Chernikov
3b060ca659
Fix jps tests
...
Original commit: e76cd802d8
2018-01-30 17:06:11 +03:00
Ilya Chernikov
efdf6f2e8d
Convert idea plugin modules to intellij plugin
...
Original commit: 0d264793ce
2018-01-30 17:06:07 +03:00
Ilya Chernikov
932a637647
Convert jps module to intellij plugin
...
Original commit: 3912025e14
2018-01-30 17:06:07 +03:00
Alexey Tsvetkov
28a2d4727a
Test JPS with Daemon and IC
...
Original commit: 220fab0d3f
2018-01-16 21:09:57 +03:00
Alexey Tsvetkov
f1efa4c872
Minor: move 'KotlinJpsBuildTestIncremental' to separate file
...
Original commit: ca09be1411
2018-01-16 21:09:57 +03:00
Nikolay Krasko
57a985df3a
Modify incremental test in 173 branch - files are not created anymore
...
Original commit: aee7329b89
2018-01-12 13:54:45 +03:00
Dmitry Jemerov
f99df874b0
Update copyright in generated tests
...
Original commit: e80dae1802
2018-01-10 11:55:28 +01:00
Alexey Tsvetkov
e5147e3000
Track changes in inline function when friend paths are disabled in JS
...
Original commit: d7edbb8dfc
2017-12-22 16:12:20 +03:00
Alexey Tsvetkov
f3e8e3e591
Replace testCancelLongKotlinCompilation with less flaky test
...
Original commit: a4d122478b
2017-12-22 16:12:20 +03:00
Alexey Tsvetkov
2845ea857a
Explicitly request rebuild when untracked java file is removed
...
Previously a rebuild was happenning because FileNotFoundException
was thrown when getting psiFile of removed file.
Original commit: ee94a64718
2017-12-22 16:12:20 +03:00
Alexey Tsvetkov
8683fce476
Turn off class redeclaration test for JS IC temporarily
...
So the tests could be run on TC.
Turn on after KT-19846 is fixed.
Original commit: 50bf74b909
2017-12-22 16:12:20 +03:00
Alexey Tsvetkov
09c1299c84
Recompile only files from last iteration after compile error
...
Original commit: 0fee7883ed
2017-12-22 16:12:20 +03:00
Alexey Tsvetkov
8e790fe091
Add JS specific IC build log in test
...
JS IC compares proto using a source file path as a key,
so moving file causes recompilation of its usages
unlike JVM IC that uses a class file path as a key.
Original commit: ff2e3ecfc4
2017-12-22 16:12:20 +03:00
Alexey Tsvetkov
c58c65caea
Fix IC test build log diverged from JPS
...
JPS marks dirty direct usages of removed classes since 172.* before a build.
Generic IC also marks dirty all subclasses and their usages.
That is necessary because a method from a removed class could be used
through a subclass.
JPS and generic IC logs diverged in 172 branch, but non-JPS tests
were not run on CI.
Original commit: 7712044146
2017-12-22 16:12:20 +03:00
Alexey Tsvetkov
084def4ffc
Recompile all subclasses of removed classes
...
Original commit: a31f503fa5
2017-12-22 16:12:19 +03:00
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