Commit Graph

327 Commits

Author SHA1 Message Date
Denis Mekhanikov 770eea4875 Kotlin I/O new features: relativeTo, copyTo, copyRecursively, deleteRecursively, file tree walkers,
file component iterators, file roots, startsWith, endsWith, subPath, normalize, replaceBytes, replaceTest,
additional tests and comments

Original commit: f560677b15
2015-03-24 19:40:19 +03:00
Andrey Breslav b042ef11f6 JPS test data fixed for JS
Original commit: c7ab333fa8
2015-03-18 21:19:15 +03:00
Michael Nedzelsky 9e6afeda99 JS: always generate metadata while compiling from idea
Original commit: 977b743f3d
2015-03-18 19:43:02 +03:00
Evgeny Gerashchenko d56cbffbe0 Expanded incremental compilation tests with cache version change.
Original commit: 2aeccc7011
2015-03-18 15:20:45 +03:00
Michael Nedzelsky b7c1279336 fix KotlinJpsBuildTest
Original commit: 0050c9888d
2015-03-18 09:39:02 +03:00
Pavel V. Talanov 24f63e82e1 default -> companion: replace all mentions of default and default object
Original commit: 06916d98c6
2015-03-17 15:47:39 +03:00
Pavel V. Talanov db9abd0a2f default -> companion: default object -> class object in project code, builtins and libs code
Original commit: 2a6facaef6
2015-03-17 15:46:48 +03:00
Nikolay Krasko e5a2e731b7 Avoid getAccessors() call because of changes not available in build server
Original commit: 9c51ea6583
2015-03-16 14:26:35 +03:00
Andrey Breslav 6bb5d5c048 Do not create temp files in the project directory
Original commit: 76832df933
2015-03-11 20:14:56 +03:00
Andrey Breslav e68275f162 ErrorReporter is now Java-independent
Original commit: 36bbd2c0e3
2015-03-11 19:38:15 +03:00
Pavel V. Talanov 3f94123516 Replace 'class object' with default object in project code
Original commit: 9ecf95532e
2015-03-10 18:07:46 +03:00
Pavel V. Talanov ebb37aed1d 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

Original commit: 59f192ef90
2015-03-06 19:36:54 +03:00
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