Commit Graph

312 Commits

Author SHA1 Message Date
Pavel V. Talanov 9ecf95532e Replace 'class object' with default object in project code 2015-03-10 18:07:46 +03:00
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Nikolay Krasko e70098a2d4 Temporary copy beans with reflection while there's no library method in TeamCity JPS 2015-03-06 12:56:41 +03:00
Nikolay Krasko 7de794d381 Update to Idea 141.2.2 2015-03-06 12:56:40 +03:00
Evgeny Gerashchenko 3aa5f5200b Incremental: fixed adding file to package and using it from Java 2015-03-04 18:59:21 +03:00
Pavel V. Talanov 48fbce9582 Refactor: process mentions of class object
Rename usages that refer to "default object" concept now
Test data file names are left as is
2015-03-03 20:57:08 +03:00
Yan Zhulanow 7423e30065 Removed Android dependencies from core modules 2015-02-26 15:26:02 +03:00
Yan Zhulanow 17bdcfe03f Gradle dependency from jps-plugin removed 2015-02-26 15:26:01 +03:00
Yan Zhulanow ccbbaba7cd Rename jet to kotlin in Android JPS plugin 2015-02-26 15:26:01 +03:00
Yan Zhulanow c756cfef86 Codebase update 2015-02-26 15:25:57 +03:00
Yan Zhulanow a8e3e4d8de Android plugin test dependencies added 2015-02-26 15:25:49 +03:00
Yan Zhulanow b7f8496e5b Move Android JPS plugin tests to android-jps-plugin module 2015-02-26 15:25:47 +03:00
Yan Zhulanow af9c5cc45d Providing plugin classpath through JPS extensions 2015-02-26 15:25:44 +03:00
Andrey Breslav febfdde89e Compiler plugins can provide extra command line parameters in JPS 2015-02-26 15:25:39 +03:00
Mikhail Mutcianko 95fd4006d9 fix android jps build test case
- add proper way of setting up android sdk for jps
- add missing android plugin runtime library
2015-02-26 15:25:38 +03:00
Mikhail Mutcianko 1912b2b0ec add android jps builder test stub
wtf
2015-02-26 15:25:35 +03:00
Mikhail Mutcianko baa442207b fix android resource path arguments after rebase 2015-02-26 15:25:34 +03:00
Mikhail Mutcianko ec0d1f5d06 fix android plugin libs dependencies 2015-02-26 15:25:30 +03:00
Mikhail Mutcianko c6b8cbbb01 add android layout file searching to kotlin jps plugin 2015-02-26 15:25:28 +03:00
Nikolay Krasko 8ea9d39e98 Do not generate long lines and simplify merge in generated tests 2015-02-24 13:15:09 +03:00
Dmitry Jemerov ce4b2db8f6 vendor and homepage 2015-02-19 15:35:46 +03:00
Nikolay Krasko f1774bd6fb Fixed test data according to fixed bug in IDEA JPS. 2015-02-19 14:36:23 +03:00
Evgeny Gerashchenko 460a77275a Added tests with conversion between Java and Kotlin and moving class. 2015-02-18 18:51:59 +03:00
Evgeny Gerashchenko f09fd923f3 Fixed test data according to fixed bug in IDEA JPS. 2015-02-18 18:51:50 +03:00
Evgeny Gerashchenko 4ddaa5cdda 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
2015-02-18 13:37:35 +03:00
Evgeny Gerashchenko 7e9ea23ce0 Minor. Clarified property name. 2015-02-18 13:37:34 +03:00
Evgeny Gerashchenko d1a2fd9c66 KT-6586 accessing Kotlin class static class object variable's value from Java does not properly update between compiles
#KT-6586 fixed
2015-02-18 13:37:34 +03:00
Alexander Udalov 0217121814 Revert "Fixed compilation. Some class files generated by kotlinc may have no annotation (that should be fixed later)."
This reverts commit 4b6112d380.

This workaround is not needed anymore after the fix in e705ff2
2015-02-17 15:32:46 +03:00
Alexander Udalov 640adecde6 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'
2015-02-16 21:46:23 +03:00
Alexander Udalov 6ce8d6bd2e Serialize descriptors for local/anonymous classes on JVM
Reflection needs this information to work for local classes and anonymous
objects
2015-02-16 21:46:21 +03:00
Alexander Udalov 45fec9257a Minor, move replaceHashWithStar to JetTestUtils 2015-02-16 20:19:48 +03:00
Pavel V. Talanov a1f4c06a49 Update test data that mentioned old JvmAbi constants 2015-02-16 15:38:34 +03:00
Evgeny Gerashchenko 4b6112d380 Fixed compilation. Some class files generated by kotlinc may have no annotation (that should be fixed later). 2015-02-16 15:34:35 +03:00
Evgeny Gerashchenko dd89311d22 Not reading class file three times incremental caches. 2015-02-13 21:51:51 +03:00
Evgeny Gerashchenko 9f159b1fea Extracted cli-parser to separate library. Removed full dependency jps-plugin -> idea-full. 2015-02-13 21:51:50 +03:00
Evgeny Gerashchenko 1484ce4a46 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.
2015-02-13 21:51:50 +03:00
Evgeny Gerashchenko bca8711182 Removed redundant dependencies. 2015-02-13 21:51:50 +03:00
Evgeny Gerashchenko 3e1b869070 Moved parts of ide-compiler-runner to direct modules. 2015-02-13 21:51:49 +03:00
Evgeny Gerashchenko d3d30106a4 Corrected updating Java mappings for package facade classes. We report all source files for it, not only currently compiled. 2015-02-11 19:19:55 +03:00
Evgeny Gerashchenko 1a486bf969 Reverted wrong test data for tests where files are added to package. Let them fail. 2015-02-11 19:19:55 +03:00
Evgeny Gerashchenko 02faa02a35 Checking Java mappings after rebuild (failing now for partially compiled package facades) 2015-02-11 19:19:55 +03:00
Evgeny Gerashchenko 478118c12a Extracted common function getRecompilationDecision. 2015-02-06 17:44:42 +03:00
Evgeny Gerashchenko 432408e1a8 Checking source to output mapping after rebuild. 2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko c5593a5b80 Correctly processing disappeared protos, files with constants/inline function. 2015-02-06 17:44:41 +03:00
Evgeny Gerashchenko 5b89f88447 Minor. Simplified getObsoletePackageParts() and similar functions. 2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko 89f3d21ba4 Clearing incremental cache for removed files without scanning output directory. 2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko 602642715c Checking incremental cache dump after make. Comparing it with dump after rebuild. 2015-02-06 17:44:40 +03:00
Evgeny Gerashchenko f071802e19 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.
2015-02-06 17:44:39 +03:00
Evgeny Gerashchenko 512ea72e69 Minor. Green code and formatting. 2015-02-06 15:56:33 +03:00
Evgeny Gerashchenko 84ca0a5b4e Minor. Green code. 2015-02-06 15:56:33 +03:00