Commit Graph

315 Commits

Author SHA1 Message Date
Nikolay Krasko fc8f852773 Temporary copy beans with reflection while there's no library method in TeamCity JPS
Original commit: e70098a2d4
2015-03-06 12:56:41 +03:00
Nikolay Krasko 1f02042a48 Update to Idea 141.2.2
Original commit: 7de794d381
2015-03-06 12:56:40 +03:00
Evgeny Gerashchenko f0908bed24 Incremental: fixed adding file to package and using it from Java
Original commit: 3aa5f5200b
2015-03-04 18:59:21 +03:00
Pavel V. Talanov 6fc44a498f Refactor: process mentions of class object
Rename usages that refer to "default object" concept now
Test data file names are left as is

Original commit: 48fbce9582
2015-03-03 20:57:08 +03:00
Yan Zhulanow 8d452e4b0a Removed Android dependencies from core modules
Original commit: 7423e30065
2015-02-26 15:26:02 +03:00
Yan Zhulanow 103bc271bf Gradle dependency from jps-plugin removed
Original commit: 17bdcfe03f
2015-02-26 15:26:01 +03:00
Yan Zhulanow 2c6719339d Rename jet to kotlin in Android JPS plugin
Original commit: ccbbaba7cd
2015-02-26 15:26:01 +03:00
Yan Zhulanow 2ea959c115 Codebase update
Original commit: c756cfef86
2015-02-26 15:25:57 +03:00
Yan Zhulanow 7c0926fb1f Android plugin test dependencies added
Original commit: a8e3e4d8de
2015-02-26 15:25:49 +03:00
Yan Zhulanow 84d5c94466 Move Android JPS plugin tests to android-jps-plugin module
Original commit: b7f8496e5b
2015-02-26 15:25:47 +03:00
Yan Zhulanow fb8ca13e71 Providing plugin classpath through JPS extensions
Original commit: af9c5cc45d
2015-02-26 15:25:44 +03:00
Andrey Breslav 6aa4a3c16a Compiler plugins can provide extra command line parameters in JPS
Original commit: febfdde89e
2015-02-26 15:25:39 +03:00
Mikhail Mutcianko 6e3e9b6346 fix android jps build test case
- add proper way of setting up android sdk for jps
- add missing android plugin runtime library

Original commit: 95fd4006d9
2015-02-26 15:25:38 +03:00
Mikhail Mutcianko 7864e14870 add android jps builder test stub
wtf

Original commit: 1912b2b0ec
2015-02-26 15:25:35 +03:00
Mikhail Mutcianko 5164cb06b5 fix android resource path arguments after rebase
Original commit: baa442207b
2015-02-26 15:25:34 +03:00
Mikhail Mutcianko 3a25b47683 fix android plugin libs dependencies
Original commit: ec0d1f5d06
2015-02-26 15:25:30 +03:00
Mikhail Mutcianko 889a3d38ad add android layout file searching to kotlin jps plugin
Original commit: c6b8cbbb01
2015-02-26 15:25:28 +03:00
Nikolay Krasko 0a8fa0238d Add kotlin runtime to idea-jps-common module dependency
#KT-6826 Fixed

Original commit: c8c1ce521b
2015-02-26 12:37:32 +03:00
Nikolay Krasko 0b7c9870a6 Do not generate long lines and simplify merge in generated tests
Original commit: 8ea9d39e98
2015-02-24 13:15:09 +03:00
Dmitry Jemerov 7076fe6eb1 vendor and homepage
Original commit: ce4b2db8f6
2015-02-19 15:35:46 +03:00
Nikolay Krasko d5e88324fc Fixed test data according to fixed bug in IDEA JPS.
Original commit: f1774bd6fb
2015-02-19 14:36:23 +03:00
Evgeny Gerashchenko 88964f4276 Added tests with conversion between Java and Kotlin and moving class.
Original commit: 460a77275a
2015-02-18 18:51:59 +03:00
Evgeny Gerashchenko 7c78491e42 Fixed test data according to fixed bug in IDEA JPS.
Original commit: f09fd923f3
2015-02-18 18:51:50 +03:00
Evgeny Gerashchenko 52134ed01b Filtering out non-existent directories from generated classpath. The check is so simple, because there may be, e.g. non-existent production output directory for just created module.
#KT-6703 fixed

Original commit: 4ddaa5cdda
2015-02-18 13:37:35 +03:00
Evgeny Gerashchenko fcd46cdf64 Minor. Clarified property name.
Original commit: 7e9ea23ce0
2015-02-18 13:37:34 +03:00
Evgeny Gerashchenko 5bb5fe0c49 KT-6586 accessing Kotlin class static class object variable's value from Java does not properly update between compiles
#KT-6586 fixed

Original commit: d1a2fd9c66
2015-02-18 13:37:34 +03:00
Alexander Udalov 59855baf7d Revert "Fixed compilation. Some class files generated by kotlinc may have no annotation (that should be fixed later)."
This reverts commit aa412c72fc.

This workaround is not needed anymore after the fix in c24688c

Original commit: 0217121814
2015-02-17 15:32:46 +03:00
Alexander Udalov 1cbd28ae41 Fix KotlinJpsBuildTest, run J+K tests with runtime
Otherwise javac is not able to find class KotlinClass$Kind, which is used in
annotation argument and for some reason this leads to an exception (in javac)
which gets swallowed and unresolved reference is reported in Java code.

java:INFO:com.sun.tools.javac.code.Symbol$CompletionFailure: class file for
kotlin.jvm.internal.KotlinClass$Kind not found
java:INFO:Errors occurred while compiling module 'm1'

Original commit: 640adecde6
2015-02-16 21:46:23 +03:00
Alexander Udalov ce38b4c43f Serialize descriptors for local/anonymous classes on JVM
Reflection needs this information to work for local classes and anonymous
objects

Original commit: 6ce8d6bd2e
2015-02-16 21:46:21 +03:00
Alexander Udalov 52fb79b0be Minor, move replaceHashWithStar to JetTestUtils
Original commit: 45fec9257a
2015-02-16 20:19:48 +03:00
Pavel V. Talanov 19499caee0 Update test data that mentioned old JvmAbi constants
Original commit: a1f4c06a49
2015-02-16 15:38:34 +03:00
Evgeny Gerashchenko aa412c72fc Fixed compilation. Some class files generated by kotlinc may have no annotation (that should be fixed later).
Original commit: 4b6112d380
2015-02-16 15:34:35 +03:00
Evgeny Gerashchenko 45a865658f Not reading class file three times incremental caches.
Original commit: dd89311d22
2015-02-13 21:51:51 +03:00
Evgeny Gerashchenko b886ffd42c Extracted cli-parser to separate library. Removed full dependency jps-plugin -> idea-full.
Original commit: 9f159b1fea
2015-02-13 21:51:50 +03:00
Evgeny Gerashchenko 8dca16dfd5 Moved constant to idea module and removed redundant dependency.
Original commit: 1f10cbb0d5
2015-02-13 21:51:50 +03:00
Evgeny Gerashchenko 723b869a9f Renamed and moved module ide-compiler-runner to idea-jps-common.
Motivation: it has only a bunch of constants and a trivial class needed in idea and jps modules.

Original commit: 1484ce4a46
2015-02-13 21:51:50 +03:00
Evgeny Gerashchenko 6a0c095b1f Removed redundant dependencies.
Original commit: bca8711182
2015-02-13 21:51:50 +03:00
Evgeny Gerashchenko a58c801984 Moved parts of ide-compiler-runner to direct modules.
Original commit: 3e1b869070
2015-02-13 21:51:49 +03:00
Evgeny Gerashchenko b778ecd0ba Corrected updating Java mappings for package facade classes. We report all source files for it, not only currently compiled.
Original commit: d3d30106a4
2015-02-11 19:19:55 +03:00
Evgeny Gerashchenko c7a26e4522 Reverted wrong test data for tests where files are added to package. Let them fail.
Original commit: 1a486bf969
2015-02-11 19:19:55 +03:00
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