Ilya Chernikov
d439c13fb5
minor: correct measurement error in eval bench test
2017-03-21 16:30:48 +01:00
Alexander Udalov
7dfa3bea18
Update tools & libraries projects to use JDK 8 when needed
2017-03-21 17:45:53 +03:00
Alexander Udalov
33a0ae0fcd
Skip kotlin-maven-plugin integration test if "skipTests" is defined
...
Similarly to kotlin-maven-plugin-test/pom.xml
2017-03-21 17:45:51 +03:00
Alexander Udalov
4273357adf
Skip kotlin-maven-plugin-test tests if "skipTests" property is defined
...
"mvn -DskipTests ..." or "mvn -DskipTests=true ..." should not invoke
any tests
2017-03-21 17:45:51 +03:00
Sergey Igushkin
132393cc64
Fix for androidTest Gradle build
...
Replaced adding Kotlin sources with dependency on copy*KotlinClasses,
which might not be called since Android Gradle plugin sometimes
bypasses the tasks in finalizedBy .
Added a test for androidTest build apart from general build.
Issues: #KT-16897 Fixed
2017-03-21 17:30:59 +03:00
Sergey Igushkin
498c4dddea
Fix for compatibility with Android Gradle plugin 2.4.0-alpha1
...
Deferred resolution of JAR-to-AAR mapping, since the Android Gradle
plugin now resolves dependencies at execution phase.
Dropped the code related to the Jack toolchain compatibility.
Throwing a build error when Jack is enabled.
Changed warning about Jack into a build error.
2017-03-21 16:56:09 +03:00
Ilya Gorbunov
87c055cc61
Fix progression iterators to respect the Iterator contract.
...
#KT-16923 Fixed
2017-03-20 20:13:54 +03:00
Ilya Gorbunov
e5a28311bc
Fix infinite sequence being terminated prematurely when being iterated without calling hasNext
...
#KT-16922 Fixed
2017-03-20 20:13:54 +03:00
Sergey Mashkov
23cbb83c75
IDL2K: drop garbage code, refactor to improve readability
2017-03-20 16:51:32 +03:00
Sergey Mashkov
8842b6894e
KT-16572 Add links to Mozilla Developer Network to kdocs of classes that we generate from IDL
2017-03-17 13:04:34 +03:00
Sergey Mashkov
496795dd56
IDL2K eliminate attribute modality change caused by inheritance
...
always override attributes in class if it is inherited from an interface
2017-03-17 13:04:33 +03:00
Sergey Mashkov
a5d6541f1e
KT-16252 IDL2K: Add ItemArrayLike interface implementation to collection-like classes
2017-03-17 13:04:32 +03:00
Alexander Udalov
bd53922c64
Minor, don't shade com.sampullara in compiler-embeddable
...
See 73b879e
2017-03-16 15:40:06 +03:00
Alexander Udalov
332a0f5adc
Use 'languageVersionSettings' extension instead of key directly
...
Also fix compilation of kotlin-script-util
2017-03-16 14:18:01 +03:00
Simon Ogorodnik
e7753c31db
Minor: Add Dokka format param to build-docs script
...
To have an ability to change it in TeamCity between custom builds
2017-03-15 19:43:14 +03:00
Simon Ogorodnik
38047240d3
Fix documentation for stdlib
...
Add forgotten files to file list used by
Dokka when generating documentation
2017-03-15 18:26:52 +03:00
Mikhail Glukhikh
045a23ae10
Cleanup: apply "Convert lambda to reference"
2017-03-15 17:36:02 +03:00
Sergey Igushkin
999ef51653
Added gradle-plugins properties with fqnames
...
Added .property files to make the plugins available by fqnames in
order to publish them to Gradle Plugin Portal.
#KT-5756
(cherry picked from commit 991de64)
2017-03-09 14:13:40 +03:00
Ilya Gorbunov
b83b534374
Add missing SinceKotlin to IntStream.toList.
2017-03-07 18:22:11 +03:00
Ilya Gorbunov
1296c5444b
Fix warning that failed maven plugin smoke test.
2017-03-07 13:56:11 +03:00
Ilya Gorbunov
61e8848aa2
Add samples for sequence building API.
2017-03-07 13:32:39 +03:00
Ilya Gorbunov
a04e6de047
Add groupingBy and eachCount sample.
2017-03-07 13:31:44 +03:00
Ilya Gorbunov
75ae42121b
Improve sample comments.
...
Improve sample for lastIndex property.
2017-03-07 13:31:44 +03:00
Sergey Igushkin
ee6aae7219
Enabled incremental compilation by default in Gradle plugin.
...
#KT-16546 Fixed
(cherry picked from commit 06715c5)
2017-03-07 11:32:26 +03:00
Sergey Igushkin
73e94ffde0
Added a test for the fix of KT-16434.
...
(cherry picked from commit 5a6d06f)
2017-03-03 18:04:23 +03:00
Sergey Igushkin
6605ba80e7
Fix for androidTest variants of Android Gradle build.
...
Added a workaround reflection call to TaskManager to create a
javac task since it is missing for androidTest variants with jack.
Added source configuration with the tested variant to make
the tested sources visible to the compiler.
#KT-16434 Fixed
(cherry picked from commit 84efd05)
2017-03-03 18:04:12 +03:00
Yan Zhulanow
060095d39f
Remove kotlin-annotation-processing artifact from the serialized compiler options. It is unused in kapt3 (or if no annotation processor dependencies are provided) but is still imported into the IDEA module files. This leads to compilation error due to the plugin incompatibility.
...
Incompatibility reason: kotlin-annotation-processing has references to the shaded intellij-core, so, being provided to the unshaded kotlinc from the Kotlin plugin, it throws the AbstractMethodError.
This fixes #KT-16184.
2017-03-01 18:50:22 +03:00
Simon Ogorodnik
000da2f6d0
Fix of <ERROR CLASS>-es pointing to public TypeAliases
2017-03-01 16:09:24 +01:00
Dmitry Jemerov
322379e6ae
Assorted stdlib KDocs
2017-03-01 16:09:01 +01:00
Dmitry Jemerov
1d86bd5610
Build multiplatform stdlib docs
2017-03-01 16:08:38 +01:00
Alexander Udalov
abbbdb5771
Update KotlinVersion.CURRENT to 1.1.2
2017-02-28 20:24:33 +03:00
Roman Elizarov
266d7c15fe
Documentation for createCoroutine/createCoroutineUnchecked
2017-02-27 16:48:24 +03:00
Ilya Chernikov
6d9ecc60ef
Skip metadata version check in repl, improve JSR 223 template compatibility
2017-02-24 16:58:25 +01:00
Ilya Chernikov
a16f412b48
Add eval in eval benchmark tests
2017-02-24 16:58:25 +01:00
Ilya Chernikov
1ae95853e7
Fix merging errors
2017-02-24 16:58:25 +01:00
Ilya Chernikov
d3682b7f7d
Implement JSR 223 script template with eval functions, some fixes
2017-02-24 16:58:25 +01:00
Ilya Chernikov
63aae56b11
Get rid of eval on daemon completely, fixes also JSR 223 examples
2017-02-24 16:58:24 +01:00
Ilya Chernikov
b9469a9308
Fix script-util after changes in repl infrastruct
2017-02-24 16:58:24 +01:00
Ilya Gorbunov
c0c01d6e49
Drop HIDDEN deprecations from kotlin-stdlib.
2017-02-22 17:28:02 +03:00
Alexey Tsvetkov
dfb60ba4ac
Minor: remove the word 'experimental' from Gradle IC description
2017-02-16 21:27:04 +03:00
Alexey Tsvetkov
62a15e803b
Avoid storing absolute paths in SyncOutputTask
...
#KT-16003 fixed
2017-02-16 21:26:50 +03:00
Alexey Tsvetkov
6e0f3b7f1f
Avoid having -d and -module set at the same time
...
#KT-14619 fixed
2017-02-16 21:26:50 +03:00
Alexey Tsvetkov
667c00e3ed
Copy compiler arguments from compile task to kapt task
...
#KT-15994 fixed
2017-02-16 21:26:50 +03:00
Alexander Udalov
1ee2053a16
Make callable references Serializable on JVM
...
#KT-11254 Fixed
2017-02-16 18:00:18 +03:00
Alexander Udalov
46bd64f59a
Rename FunctionImpl -> FunctionBase, restore abstract class FunctionImpl
...
This fixes the IncompatibleClassChangeError which happens when kotlin-reflect
1.0.x and kotlin-stdlib 1.1.x are in the classpath
#KT-16358 In Progress
2017-02-15 20:43:25 +03:00
Anton Bannykh
4c808e8691
JS: concat vararg arguments using Kotlin.concat and Kotlin.concatPrimitive functions in order to be binary compatible with (Kotlin PrimitiveArray -> JS TypedArrays) mapping.
2017-02-15 18:58:29 +03:00
Yan Zhulanow
8e9536f61d
Revert "Kapt3: Add generated source files to Java compile task after kapt execution. Filter only .java files."
...
This reverts commit 82c2ce3a336b8d15161ecb6dbad0c269c9966818.
2017-02-15 16:28:33 +03:00
Yan Zhulanow
35b41b9401
Kapt3: Fix annotation processor option passing
2017-02-15 16:28:26 +03:00
Alexander Udalov
8e3cb912c7
Make Ref classes for shared vars Serializable
...
#KT-14566 Fixed
2017-02-15 10:46:48 +03:00
Ilya Gorbunov
fee676a281
Introduce 'takeUnless' function which is like 'takeIf' but with the predicate inverted.
...
#KT-7858
2017-02-13 16:07:34 +03:00