Commit Graph

258 Commits

Author SHA1 Message Date
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
Evgeny Gerashchenko ff87c72274 Minor. Computing package FQ later.
Original commit: fbb4ed181a
2014-12-10 15:27:43 +03:00
Evgeny Gerashchenko c2f4ed810c Fixed incremental compilation, when removing all callables from file.
Original commit: 4e702e34f0
2014-12-10 14:28:21 +03:00
Evgeny Gerashchenko 6e9dab923c KT-6409 Do not create empty PersistentHashMap instances for modules without kotlin files during build
#KT-6409 fixed

Original commit: d126a9711c
2014-12-10 14:28:21 +03:00
Evgeny Gerashchenko 2d0b81f97f Updated test data for tests according to change in JPS.
These tests were not deterministic. Now they are. When package facade's sources change (files added to package, etc), all package gets recompiled now. Behavior is tolerable, but not very desirable.

Original commit: 153272a189
2014-12-09 12:08:03 +03:00
Evgeny Gerashchenko 3163e7406e Disabling Kotlin builder on Android Studio only for Java.
Original commit: bf150c8dde
2014-12-08 17:30:40 +03:00
Evgeny Gerashchenko ff35192506 Removed reflection-based hack for IDEA 12.
Original commit: 7c1bc432db
2014-12-08 17:30:40 +03:00
Evgeny Gerashchenko fb3dbd6b7e Updated regexp for Windows. Hope it fixes test on buildserver...
Original commit: 428109e8c4
2014-11-27 12:22:15 +03:00
Evgeny Gerashchenko eb8820f549 Compilation errors are rendered to log without "Kotlin:ERROR:" prefix and without path to file. Sometimes javac adds path to file, sometimes doesn't. This had led tests to fail on some platforms.
Original commit: 9c880de735
2014-11-26 18:42:24 +03:00
Evgeny Gerashchenko 7c0dde0233 Moved test data into common directory.
Original commit: 19ad2406ff
2014-11-26 14:32:12 +03:00
Evgeny Gerashchenko e491783e86 Fixed case of file name.
Original commit: adcd4d4ca0
2014-11-26 14:32:11 +03:00
Michael Bogdanov e41e37932a Generate static backing fields for properties in object
#KT-4973 Fixed

Original commit: 5412a67d29
2014-11-20 10:20:31 +03:00
Vladimir Krivosheev 23d44bb45e plugin description must be wrapped into CDATA if html used
Original commit: 074ac2a2e2
2014-11-14 15:52:21 +01:00
Evgeny Gerashchenko 209a96d74f Updating Kotlin incremental caches and Java mappings only for Java modules.
Original commit: 6bf0c9f4ae
2014-11-12 17:56:48 +03:00
Evgeny Gerashchenko fdd04b08ec Minor. Renamed property for disambiguation.
Original commit: ab09ffa4a4
2014-11-12 16:25:02 +03:00
Evgeny Gerashchenko d67423164c Fixed KNPE when inline functions/constants are completely removed.
Original commit: 1a374efcd1
2014-11-12 16:25:01 +03:00
Evgeny Gerashchenko 2b5e3a5f9d Fixed paths unification in tests on some Windows machines.
Original commit: 868a8dbc84
2014-11-12 11:09:35 +03:00
Nikolay Krasko 5ff297aed5 Extract isCompatibleAbiVersion from kinds enum and store read kinds even for incompatible version
Original commit: c242665cd3
2014-11-11 17:33:13 +03:00