Nikolay Krasko
9c43ff281c
Remove stopping JobSchedule executor. It now fails on shutdown attempt.
2016-04-05 00:42:08 +03:00
Sergey Mashkov
14ca0f4aac
KT-2917 maven archetype for kotlin projects
2016-03-31 23:04:50 +02:00
Ilya Gorbunov
f35dc47b4e
Optimize snapshot operations to return special collection implementations when result is empty or has single element.
...
#KT-9990 Fixed
2016-03-31 21:30:59 +03:00
Alexey Tsvetkov
0a5db2fea4
Load kotlin.incremental from local.properties file too
2016-03-31 19:40:51 +03:00
Ilya Gorbunov
0332217b70
Remove implementations of intrinsic array creation functions (arrayOf, primitiveArrayOf)
...
#KT-11485 Fixed
2016-03-31 17:15:10 +03:00
Ilya Gorbunov
9caa17dc74
Minor: Make internal monitorEnter/monitorExit functions private to remove them from the public API
...
#KT-11485
2016-03-31 17:15:10 +03:00
Alexey Tsvetkov
d6cd46e079
Build non-incrementally when input class-file is changed
2016-03-31 15:08:14 +03:00
Ilya Gorbunov
6ba98f7fe6
Binary compatibility validator: filter out empty facades *after* members are flattened from non-public part superclasses.
...
Use stable member sort order for members flattened from non-public superclasses, rewrite test to make order matter.
2016-03-30 20:44:44 +03:00
Alexander Udalov
ae263dd70c
Add KClass.equals/hashCode to public API of Kotlin runtime
...
See be4b432
2016-03-30 15:01:07 +03:00
Alexey Tsvetkov
71135b9528
Minor: rename property AbstractKotlinCompile.experimentalIncremental->incremental
2016-03-30 04:42:30 +03:00
Alexey Tsvetkov
61814eb23f
Test: override build.log in gradle IC tests
2016-03-30 03:40:53 +03:00
Alexey Tsvetkov
c1a61b17c7
Test: use one function to find test's build log for jps and gradle
2016-03-30 03:40:53 +03:00
Alexey Tsvetkov
3d8ec118cb
Remove class files when building non-incrementally
2016-03-30 03:40:53 +03:00
Alexey Tsvetkov
c8b7764576
Add gradle IC version file
2016-03-30 03:40:53 +03:00
Alexey Tsvetkov
ede900ca87
Use separate cache directory for each kotlin gradle task
2016-03-30 03:40:53 +03:00
Alexey Tsvetkov
5d2d827772
Test: change log dump format in gradle tests so it could be parsed again
2016-03-30 03:40:53 +03:00
Alexey Tsvetkov
b050722249
Test: add android incremental compilation test project
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
bafa9dca48
Test: pass android-build-tools version using project property
...
The reason is to test the same project with different android-build-tools versions
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
157c5009f0
Test: download android sdk using sdk-manager-plugin
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
c686c7fb91
Minor: print subprocess output immediately in tests
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
da3897536a
Minor: format android gradle test
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
5d89f1fb0a
Minor: remove assertion from test
...
Asserted task does not exist
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
ae53183d72
Fix java build when kotlin is changed
...
See SimpleKotlinGradleIT#testSimpleCompile
#KT-11350 fixed
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
4e64d46105
Add kotlin.incremental project property to gradle
...
Allows turning on incremental compilation by passing
'-Pkotlin.incremental=true' in command line
or specifying it in a 'local.properties' file
2016-03-30 03:40:51 +03:00
Alexey Tsvetkov
274b7bb0b0
Test: turn off thread leaks assertion for android gradle tests
...
ThreadTracker compares active threads before and after compilation.
In test mode if those sets are different, it was throwing an exception.
By some reason that is not obviously linked with kotlin,
the exception was thrown for every android test.
As a temporary solution I added a property 'kotlin.gradle.test.assertThreadLeaks'
that controls this assertion and turned it off for android tests only.
2016-03-30 03:39:44 +03:00
Ilya Gorbunov
ce09612804
Write ReadMe about what constitutes the public API and what is an incompatible change
2016-03-29 13:50:08 +03:00
Ilya Gorbunov
8888537137
Reference dump of kotlin-runtime and kotlin-stdlib of 1.0.2-dev
...
New public implementation methods 'renderLambdaToString' which are called only from the same module.
2016-03-29 13:50:06 +03:00
Ilya Gorbunov
26e905e90e
Reference dump of kotlin-runtime and kotlin-stdlib of 1.0.0 and 1.0.1
2016-03-29 13:50:04 +03:00
Ilya Gorbunov
4c113ad882
Prettify dump output format: indent members and enclose them in { }, space before : in supertypes.
2016-03-29 13:50:02 +03:00
Ilya Gorbunov
ff0a24a750
Move test output files closer to test data.
...
Move reference dump out of test directory.
2016-03-29 13:50:01 +03:00
Ilya Gorbunov
2e87a08c8d
Ignore kotlin visibilities for classes in effectively public package kotlin.jvm.internal
2016-03-29 13:49:59 +03:00
Ilya Gorbunov
ce4b161df4
Find single jar file with binaries in target folders without knowning its version in advance.
2016-03-29 13:49:57 +03:00
Ilya Gorbunov
a75093650c
Add JvmField and const tests for exposed fields visibility
2016-03-29 13:49:55 +03:00
Ilya Gorbunov
0d12d60e8a
Infer lateinit-exposed field effective visibility from its setter visibility.
2016-03-29 13:49:53 +03:00
Ilya Gorbunov
f2cb5edf1a
Do not consider protected members in final class as public API
2016-03-29 13:49:51 +03:00
Ilya Gorbunov
4e250e4dd1
Refactor data structures
2016-03-29 13:49:49 +03:00
Ilya Gorbunov
10792de4c1
Treat inline-exposed internal API as effectively public.
...
Comment out unsupported cases.
2016-03-29 13:49:48 +03:00
Ilya Gorbunov
0aaf0ba60f
Take into account field kotlin visibility
2016-03-29 13:49:46 +03:00
Ilya Gorbunov
bd8c83bee2
Merge public static API of non-public base supertypes into public subtype
2016-03-29 13:49:44 +03:00
Ilya Gorbunov
472b386101
Tests for public API dump tool.
2016-03-29 13:49:43 +03:00
Ilya Gorbunov
da032e371a
Minor: refactoring
2016-03-29 13:49:41 +03:00
Ilya Gorbunov
88a038a0df
Filter out nested classes in non-public outer classes.
2016-03-29 13:49:39 +03:00
Ilya Gorbunov
a9fd1de263
Tool to dump binary API signatures from compiled JAR.
...
Incorporate declaration mappings output from the compiler to take into account kotlin visibilities.
2016-03-29 13:49:38 +03:00
Ilya Gorbunov
e7d75fccd6
Introduce compiler option to dump declaration mapping.
2016-03-29 13:49:34 +03:00
Yan Zhulanow
77b7b46542
Kapt: fix sequential build with kapt when Kotlin source file was modified
2016-03-25 19:32:18 +03:00
hansenji
100252b18b
Handle elements in two different classes with the same name annotated with the same annotation.
2016-03-25 19:32:18 +03:00
hansenji
b9dc92d7cf
Removed Test for deprecated annotation
2016-03-25 19:32:18 +03:00
Alexey Tsvetkov
f3ee255436
Normalize output for windows tests
2016-03-24 14:55:27 +03:00
Alexey Tsvetkov
61090d7027
Refactoring: optimize createDefaultSourceDirectorySet
2016-03-16 16:43:25 +03:00
Alexey Tsvetkov
d1abc87857
Fix NoSuchMethodError with Gradle 2.12
...
#KT-11351 fixed
2016-03-16 16:43:24 +03:00