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
Nikolay Krasko
5afcf74024
Minor: formatting
...
Original commit: d80c98a8ba
2014-11-11 17:33:10 +03:00
Evgeny Gerashchenko
10933cd154
Fixed test on Windows (slashes issue).
...
Original commit: 878aac1acb
2014-11-07 14:52:40 +03:00
Evgeny Gerashchenko
ff77a3e3ab
Updating Java mappings only for incremental mode.
...
Avoiding executing this code on TeamCity, which fails on TeamCity 8.x
Original commit: d72f31de61
2014-11-07 14:52:05 +03:00
Evgeny Gerashchenko
fcf4cf9e6b
Extracted function which creates compiler environment.
...
Original commit: e51296b047
2014-11-07 14:52:04 +03:00
Evgeny Gerashchenko
bb11e76528
Extracted functions which update incremental caches, etc
...
Original commit: a840e4d122
2014-11-07 14:52:04 +03:00
Evgeny Gerashchenko
4b6757145b
Extracted methods compiling to JS and JVM in KotlinBuilder.
...
Original commit: a797f82ce2
2014-11-07 14:52:03 +03:00
Evgeny Gerashchenko
676b09ca6d
Improved output dir checking in KotlinBuilder.
...
Output dir for representative target is necessary only for JS part: moved there.
Original commit: 97b516a600
2014-11-07 14:52:02 +03:00
Evgeny Gerashchenko
6917c317ba
Minor. Added test when compilation error is introduced and fixed in other package.
...
Original commit: 155775f925
2014-11-07 14:52:02 +03:00
Evgeny Gerashchenko
08831faa5c
Committed wrong behavior of Java+Kotlin incremental compilation (Java files recompiled twice).
...
Original commit: 1e2c4659cd
2014-11-07 14:52:01 +03:00
Evgeny Gerashchenko
8da6c24347
Added tests with redeclaration. The behavior is correct (compilation error), while diagnostic message is not ideal.
...
Original commit: 7f49a8c159
2014-11-07 14:52:01 +03:00
Evgeny Gerashchenko
e6dd4fac0c
Tests with SAM conversions.
...
Original commit: 21105fcae4
2014-11-07 14:51:59 +03:00
Evgeny Gerashchenko
6447c4183d
Added tests with adding method to superclass.
...
Original commit: 3237791433
2014-11-07 14:51:58 +03:00
Evgeny Gerashchenko
5d93890a84
Tests: converting Java to Kotlin and back.
...
Original commit: 86dd7ec880
2014-11-07 14:51:57 +03:00
Evgeny Gerashchenko
c6c649957b
Supported incremental compilation tests when compilation fails in the end.
...
Original commit: c0b0a17256
2014-11-07 14:51:56 +03:00
Evgeny Gerashchenko
3ce56b01f3
Tests with renamed method, incremental compilation between Kotlin and Java.
...
Original commit: 335c3f4506
2014-11-07 14:51:56 +03:00
Evgeny Gerashchenko
de840282e8
Replaced absolute paths with macro in compilation errors.
...
Original commit: e1180983aa
2014-11-07 14:51:55 +03:00
Evgeny Gerashchenko
9c8276c9fa
Tests with constants, incremental compilation between Kotlin and Java.
...
Original commit: 9234ef3803
2014-11-07 14:51:54 +03:00
Evgeny Gerashchenko
66cd592fd2
Initial support for kotlin-java interop in incremental compilation.
...
Original commit: 70331e3b82
2014-11-07 14:51:53 +03:00
Evgeny Gerashchenko
9c6ef7782f
Aborting compilation on errors (don't try to compile Java after it).
...
Original commit: 3011bdb7d7
2014-11-07 14:51:52 +03:00
Evgeny Gerashchenko
414caba4ef
Minor. Expanded test.
...
Original commit: 0f8dd59bcf
2014-11-07 14:51:51 +03:00
Evgeny Gerashchenko
03e558a741
Minor. More correct constants processing. If class without constants is added, it doesn't mean directly that others should be recompiled. Anyway, this mistake didn't lead to any bug: proto change would be detected anyway.
...
Original commit: 4cf7b9e20c
2014-11-07 14:51:51 +03:00
Evgeny Gerashchenko
4a22258ff9
Minor. Added test data sanity check.
...
Original commit: 2492fe47f3
2014-11-07 14:51:50 +03:00
Alexander Udalov
fb80635714
Regenerate tests
...
After recent changes to Printer and TestGenerator
Original commit: f8be39b26b
2014-10-21 00:16:08 +04:00
Evgeny Gerashchenko
223b9fa753
Optimized imports. Fixed build.
...
Original commit: b9a4ea80c5
2014-10-20 17:57:44 +04:00
Evgeny Gerashchenko
07d79c88f5
Added incremental cache format versioning.
...
Original commit: 954a011721
2014-10-16 22:01:45 +04:00