Ilya Gorbunov
fda9797dc4
Do not deploy anymore kotlin maven plugin tests and build common test utilities to maven central
2016-05-19 05:31:18 +03:00
Ilya Gorbunov
bdf80ec747
Sanitize escape sequences when verifying maven output
2016-05-19 05:31:15 +03:00
Ilya Gorbunov
7f5b586e3f
Specify kotlin snapshot version in maven plugin integration tests only once.
2016-05-19 05:31:08 +03:00
Alexey Tsvetkov
07adf65f70
Minor: add repository path for android test
2016-05-18 15:24:27 +03:00
Alexey Tsvetkov
a36e3a47ed
Keep order of parsed annotations
2016-05-18 15:24:21 +03:00
Alexey Tsvetkov
65df1debe0
Minor: fix downloading sdk in test
2016-05-18 15:24:17 +03:00
Alexey Tsvetkov
b4d47df52b
Avoid cache corruption on compile error
...
#KT-11874 fixed
2016-05-18 15:24:13 +03:00
Sergey Mashkov
09caa65806
KT-12074 Building Kotlin maven projects using a parent pom will silently fail
...
integration tests
2016-05-18 14:47:17 +03:00
Sergey Mashkov
2d03a5a106
Maven: add maven plugin multimodule test
2016-05-18 14:47:16 +03:00
Sergey Mashkov
77df2e07ad
KT-12074 Building Kotlin maven projects using a parent pom will silently fail
...
We should consider module's basedir if there is relative source directory specified for the execution
2016-05-18 14:47:16 +03:00
Ilya Gorbunov
5ba8046b48
Change memory growth assertions in testKotlinOnlyDaemonMemory: ensure that the maximum of the used memory established after several first builds doesn't raise significantly in the subsequent builds. Current constraint is 500K per 10 builds which gives 50K per build at average.
2016-05-18 01:45:37 +03:00
Sergey Mashkov
3710520549
Maven: fix integration tests
2016-05-17 18:17:43 +03:00
Mikhael Bogdanov
2d185dc7cf
Public api update after adding LocalVariableReference and MutableLocalVariableReference
2016-05-16 17:36:35 +03:00
Yaroslav Ulanovych
de94d5c414
Fix KT-11839 maven goal to execute kotlin script
2016-05-15 16:08:55 +02:00
Ilya Gorbunov
9bfb226948
Drop inline-only extensions and hide non-inline-only ones that are available now as mapped methods of mapped builtins.
...
#KT-10887 Fixed
2016-05-13 18:14:52 +03:00
Alexander Udalov
b7581b35c9
Add empty source jars to kotlin-build-common Maven artifacts
...
Maven Central requires all artifacts to have sources and javadocs
2016-05-12 23:48:03 +03:00
Alexey Tsvetkov
af9f6d96bb
Change version to 1.1-SNAPSHOT
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
9214798613
Increase daemon test memory limit again
...
It is still more strict than it was before (before each test build could grow < 2500 kb, now < 300 kb on average of 10 runs)
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
10b9be9f51
Fix collecting source retention annotations
...
#KT-12187 fixed
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
cac49b6609
Add class stubs dir to stub generation task classpath
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
8d189bae55
Refactoring: rename javaAptSourceDir->hackAnnotationDir
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
cb94936e51
Refactoring: rename AnnotatedElementDescriptor->AnnotatedElement
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
6dd388d0f0
Exclude compiled files when compiling incrementally
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
f7a665d0d2
Fix incremental compilation with kapt generating stubs
...
Changes:
* map incremental property to compile kotlin after java task
* when generating stubs compile kotlin task should not remove or copy classfiles
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
853b15ee98
Add kapt incremental tests
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
fe6e69ff89
Update kapt annotations file incrementally
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
c21693b0d0
Serialize KotlinAnnotationProvider
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
33dc792bf9
Minor: extract constant
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
3ef21a941c
Refactoring: make AnnotatedElementDescriptor hierarchy sealed
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
26781bc139
Pass reader as param
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
e0afb94628
Make fun local since it's bound to outer function semantics
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
3340731c71
Read annotations during construction of KotlinAnnotationsProvider
...
The rationale is to access kotlinClassesInternal and annotatedKotlinElementsInternal
in any order
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
69a8654e91
Minor: add const
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
28abc73f22
Pass reader in constructor to KotlinAnnotationProvider
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
e84ae5117d
Refactoring: move kapt tests to separate class
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
93117ed637
Prevent compile tasks from running when nothing changes
...
#KT-10932 fixed
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
0bbd2f38dc
Minor: use more recent version of gradle in test
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
fe43e1ae79
Minor: do not print output in assertion message
2016-05-11 20:41:48 +03:00
Alexey Tsvetkov
10396ecc84
Refactoring: extract properties for gradle task's properties access in plugin
2016-05-11 20:41:48 +03:00
Ilya Gorbunov
8425304866
Advance snapshot version to 1.1-SNAPSHOT
2016-05-11 17:28:38 +03:00
Ilya Gorbunov
d646afabb2
Document functions which return set or map preserving the order of elements/entries.
...
#KT-11632 Fixed
2016-05-08 03:24:03 +03:00
Ilya Gorbunov
249d08a66e
Handle special cases of drop, take, takeLast when it is known in advance that the result is a single-item list. #KT-9990
2016-04-29 22:21:19 +03:00
Ilya Gorbunov
a665b2183c
Optimize operations to return special collection implementations when result is empty or has single element.
...
#KT-9990
2016-04-29 22:21:19 +03:00
Ilya Gorbunov
2d12ed68c8
Remove runtime specialization in inline last and lastOrNull to prevent double inlining of predicate body.
2016-04-29 22:21:19 +03:00
Ilya Gorbunov
09c1ff1233
Do not use indexed access for lists not supporting RandomAccess
...
Add RandomAccess specialization.
2016-04-29 22:21:19 +03:00
Ilya Gorbunov
f4f82656f7
Use list iterators instead of indexed access in operations on lists taking a lambda.
...
Related to #KT-9607
2016-04-29 22:21:19 +03:00
Ilya Gorbunov
409094f0f7
Make stdlib functions dependent on reified is checks available in JS.
...
#KT-11346 Fixed
2016-04-27 18:22:20 +03:00
Alexey Tsvetkov
f2ba83adf2
Minor: slightly increase memory limit for gradle daemon test
2016-04-20 13:44:51 +03:00
Alexey Tsvetkov
23c21396f7
Make Kotlin2JsGradlePluginIT test compatible with gradle 2.x
2016-04-18 22:12:08 +03:00
Alexey Tsvetkov
51104a5c2b
Make gradle daemon thread leak test more thorough
...
Former test made the following assertion:
for any of 3 sequent builds on the same gradle daemon
the difference in used memory between build start and finish
should not exceed 2500 kb.
Current test makes the following assertion:
the difference of used memory after first and last
of 10 sequent builds on the same daemon should not exceed 200 kb.
2016-04-18 21:31:41 +03:00