Evgeny Gerashchenko
a0ea638bc8
Checking Java mappings after rebuild (failing now for partially compiled package facades)
...
Original commit: 02faa02a35
2015-02-11 19:19:55 +03:00
Evgeny Gerashchenko
06875cc4b6
Extracted common function getRecompilationDecision.
...
Original commit: 478118c12a
2015-02-06 17:44:42 +03:00
Evgeny Gerashchenko
60d7e39c98
Checking source to output mapping after rebuild.
...
Original commit: 432408e1a8
2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko
8d02c74ddd
Correctly processing disappeared protos, files with constants/inline function.
...
Original commit: c5593a5b80
2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko
618e37a080
Minor. Simplified getObsoletePackageParts() and similar functions.
...
Original commit: 5b89f88447
2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko
3d6d7ba14d
Clearing incremental cache for removed files without scanning output directory.
...
Original commit: 89f3d21ba4
2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko
75e5ee2fbf
Checking incremental cache dump after make. Comparing it with dump after rebuild.
...
Original commit: 602642715c
2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko
143ab5dad2
Simplified process of filtering out obsolete package parts and loading descriptors from incremental caches.
...
Now when file is deleted or dirty (compiled right now), its old package part is used. Current package of file doesn't matter.
Original commit: f071802e19
2015-02-06 17:44:39 +03:00
Evgeny Gerashchenko
cfaaeb8118
Minor. Green code and formatting.
...
Original commit: 512ea72e69
2015-02-06 15:56:33 +03:00
Evgeny Gerashchenko
561af16974
Minor. Green code.
...
Original commit: 84ca0a5b4e
2015-02-06 15:56:33 +03:00
Evgeny Gerashchenko
09715786fe
Minor. Swapped test data. "other" and "same" packages were confused.
...
Original commit: c1b6e3a63d
2015-01-30 14:01:33 +03:00
Evgeny Gerashchenko
7e49986847
Simple changing temp directory in JPS test for easier debugging.
...
Original commit: 1e3558afc6
2015-01-30 14:01:32 +03:00
Alexander Udalov
ecae29aa3c
Reorder and optimize dependencies between modules and libraries
...
- drop 'kotlin-runtime' and other dependencies which are exported by
other modules ('util' and 'util.runtime' in case of 'kotlin-runtime')
- make all Kotlin modules from the compiler depend on 'util' for clarity
- put 'util' and 'util.runtime' to the bottom of the list everywhere: when
kotlin-runtime gets reflection, classes from core/ should have higher
priority than their previous versions from kotlin-runtime.jar
Original commit: 5903b8c4a7
2015-01-28 19:58:35 +03:00
Alexander Udalov
8436a8e119
Simplify code in module script/xml generation
...
Pass classpath and annotation roots explicitly instead of wrapped in a callback
Original commit: 3ea59117ac
2015-01-28 19:58:32 +03:00
Alexander Udalov
e98c929be6
Modules.xml: add Java sources right after Kotlin sources
...
Java sources should appear before classpath dependencies because they should
have higher priority if the same symbol is located in the module source and in
the classpath. This is so because by default module source has the highest
priority in IDEA except the JDK. Ideally this will be handled later by full
support of modules in the compiler
Original commit: fa2116040e
2015-01-28 19:58:31 +03:00
Alexander Udalov
2be92c8bed
Minor, don't add external annotation roots multiple times
...
Original commit: eb3588bd0a
2015-01-28 19:58:31 +03:00
Evgeny Gerashchenko
183a056c10
Added workaround for linkage error in IDEA 14.0-14.0.2
...
Original commit: a6362dda22
2015-01-27 16:43:01 +03:00
Evgeny Gerashchenko
fadeb20c5c
Rebuilding dependants fully only when constants/inline functions changed. This is not 100% precise, but it is faster. It is a compromise until we implement preciser incremental compilation.
...
Original commit: c60797e306
2015-01-19 15:36:57 +03:00
Evgeny Gerashchenko
41522a3b65
Rebuilding dependent modules.
...
Original commit: 72687758a5
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko
72fdd2c6ba
Test with Java and Kotlin changed simultaneously.
...
Original commit: 00f2ba5124
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko
2f3028e45e
Added multi-module tests on incremental compilation.
...
Changing code wasn't required, Java's incremental caches were enough.
Original commit: 967f470b16
2015-01-19 15:36:55 +03:00
Evgeny Gerashchenko
c5bc52a1b0
Updated test data according to changes in IDEA.
...
Original commit: 2b438a286f
2015-01-16 20:19:37 +03:00
Alexander Udalov
641dced1fb
Rename org.jetbrains.kotlin.plugin -> org.jetbrains.kotlin.idea
...
Original commit: 17227bb4fe
2015-01-13 01:14:31 +03:00
nik
a790153333
incremental compiler caches: code cleanup and simplification
...
Original commit: 6e9f94d1ea
2015-01-12 17:15:13 +03:00
Alexander Udalov
8d4457f748
Rename jet -> kotlin in compiler-tests (except resolve)
...
Move test-related code to org.jetbrains.kotlin.test, also move some tests to
packages with better names
Original commit: 3b81d63334
2015-01-12 00:24:12 +03:00
Alexander Udalov
9a43996589
Rename jet -> kotlin in descriptor.loader.java, frontend.java
...
Split package 'lang/resolve/java' into two semantically different packages:
'resolve/jvm' and 'load/java'. Also rename 'lang/resolve/kotlin' to
'load/kotlin'
Original commit: 8affc31303
2015-01-11 05:08:57 +03:00
Alexander Udalov
a23abe8c0d
Rename jet -> kotlin in descriptors, types, names
...
org.jetbrains.jet.lang.descriptors -> org.jetbrains.kotlin.descriptors
org.jetbrains.jet.lang.types -> org.jetbrains.kotlin.types
org.jetbrains.jet.lang.resolve.name -> org.jetbrains.kotlin.name
Original commit: 524fdc2527
2015-01-10 15:52:20 +03:00
Alexander Udalov
e9e4dc2bd6
Rename jet -> kotlin and regroup files in serialization
...
org.jetbrains.jet.descriptors.serialization ->
org.jetbrains.kotlin.serialization
Deserialization goes to subpackage deserialization, built-ins-related stuff
goes to subpackage builtins
Original commit: 05eaf81ba6
2015-01-09 16:37:22 +03:00
Alexander Udalov
4038efbe21
Rename java -> jvm, jet -> kotlin in module serialization.java
...
org.jetbrains.jet.descriptors.serialization ->
org.jetbrains.kotlin.serialization.jvm
Original commit: 00878cc31a
2015-01-09 14:27:13 +03:00
Alexander Udalov
2c26ffabfd
Rename package jet -> kotlin in backend
...
org.jetbrains.jet.codegen -> org.jetbrains.kotlin.codegen
Original commit: de6e8a7493
2015-01-08 23:32:09 +03:00
Alexander Udalov
8f5b3b58de
Rename package jet -> kotlin in util, util-runtime
...
org.jetbrains.jet.config -> org.jetbrains.kotlin.config
org.jetbrains.jet.utils -> org.jetbrains.kotlin.utils
Also move coreLib.kt to package 'org.jetbrains.kotlin.utils'
Original commit: f37e2f173d
2015-01-08 23:32:08 +03:00
Alexander Udalov
82d7ed7cf9
Rename package jet -> kotlin in cli, cli-common
...
org.jetbrains.jet.cli -> org.jetbrains.kotlin.cli
Also fix some minor warnings
Original commit: 8ca803775f
2015-01-08 23:32:07 +03:00
Alexander Udalov
fb4beaa4ed
Rename package jet -> kotlin in ide-compiler-runner
...
org.jetbrains.jet.compiler.runner -> org.jetbrains.kotlin.compilerRunner
org.jetbrains.jet.compiler -> org.jetbrains.kotlin.config
Original commit: 98faeb8647
2015-01-06 05:15:11 +03:00
Alexander Udalov
aff262481f
Rename package jet -> kotlin in jps-plugin
...
org.jetbrains.jet.jps -> org.jetbrains.kotlin.jps
Original commit: 3f7d2e461e
2015-01-05 19:54:21 +03:00
Alexander Udalov
286e8861cd
Move module script-related code to org.jetbrains.kotlin.modules
...
Original commit: 36feb4dfdc
2015-01-05 19:43:16 +03:00
Alexander Udalov
6df5ca5130
Rename package jet -> kotlin in kannotator-jps-plugin-test
...
org.jetbrains.jet.jps.build.kannotator ->
org.jetbrains.kotlin.jps.build.kannotator
Original commit: 2fdd63fa53
2015-01-03 12:46:05 +03:00
Alexander Udalov
d188aa147d
Rename package jet -> kotlin in bare-plugin
...
org.jetbrains.jet.plugin.bare -> org.jetbrains.kotlin.plugin.bare
Original commit: f58b151d58
2015-01-03 12:41:47 +03:00
Alexander Udalov
d27f8f896f
Regenerate tests
...
Original commit: 7f90dc3934
2015-01-03 00:20:28 +03:00
Alexander Udalov
e709b0f3f6
Don't store class loader in CompilerEnvironment
...
Modules jps-plugin and ide-compiler-runner are loaded by the same class loader
Original commit: 0d671141d0
2014-12-29 18:19:21 +03:00
nik
81d88090be
fixed typo in file name
...
Original commit: 2a60c6d759
2014-12-23 14:41:00 +03:00
Evgeny Gerashchenko
97551f9a11
Updated test data according to JPS. Behavior is still wrong, but it is work in progress on IDEA side.
...
Original commit: c6c3e5a4c6
2014-12-20 15:06:53 +03:00
Michael Nedzelsky
c2c19e70da
do not copy js files from libraries in case of compile errors
...
Original commit: d909a66d4d
2014-12-16 21:37:46 +03:00
Evgeny Gerashchenko
5eba550aef
Added test for KT-6454 Obsolete class-files for lambdas aren't removed from output when 'inline' annotation is added to function.
...
The bug is reproducible only for non-incremental compilation mode, which
will be deprecated soon.
#KT-6454 can't reproduce
Original commit: 7924568355
2014-12-16 16:33:41 +03:00
Evgeny Gerashchenko
3a3e5a547e
Added test checking that we don't create Kotlin incremental caches for targets without Kotlin.
...
Original commit: 8de11e4664
2014-12-15 16:46:27 +03:00
nik
8bab579f93
Kotlin builder: avoid initialization of incremental caches in 'close' method (KT-6409)
...
Original commit: 07a1ba0ef6
2014-12-15 16:44:13 +03:00
nik
42df0d85bd
Kotlin builder: make sure that caches are lazily initialized (KT-6409)
...
Original commit: a9d3c2c064
2014-12-12 14:12:58 +03:00
Michael Nedzelsky
a275c81c1e
add tests for jps-plugin (Kotlin Javascript projects)
...
Original commit: bd090d0e5f
2014-12-12 03:04:19 +03:00
Michael Nedzelsky
0a052c6234
JS backend: add option 'output library runtime fiies' for Kotlin Compiler
...
Original commit: 73db22ae20
2014-12-12 03:03:34 +03:00
Michael Nedzelsky
c7aec3c466
JS backend: isJsRuntimeLibrary -> isKotlinJavascriptStdLibrary
...
Original commit: 83ec20508a
2014-12-12 03:03:11 +03:00
Michael Nedzelsky
e6356c239b
JS backend: JpsJsModuleUtils: remove filtering for Kotlin Javascript libraries
...
Original commit: f5d957445f
2014-12-12 03:03:05 +03:00