Ilya Matveev
ee5bc95da5
Fix up-to-date checks for framework compilation
2018-10-08 17:44:32 +03:00
Ilya Matveev
73138073f1
Take K/N version into account in UP-TO-DATE checks for cinterop tasks
2018-10-08 17:44:32 +03:00
Alex Saveau
524ae9df7d
Fix bugs causing early task evaluation ( #1812 )
...
* Fix bugs causing early task evaluation
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com >
* Fix merge mistakes
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com >
* Fix another call forcing tasks evaluation Add a test for lazy tasks
2018-10-08 14:07:22 +03:00
Dmitry Petrov
189b05f8a4
Update testData for public API: companion field visibility in 1.3
2018-10-02 16:20:09 +03:00
Ilya Chernikov
da9c486a70
Fix gradle support for non-kts scripts for inter-project dependencies
2018-10-01 18:34:15 +02:00
Ilya Gorbunov
d6beddaac5
Document the requirement for 'minus(elements)' to have stable hashCode
...
#KT-24536
2018-10-01 18:09:09 +03:00
Ilya Gorbunov
27beadad18
Summary for new packages: kotlin.coroutines, kotlin.contracts, kotlin.random
2018-10-01 18:03:28 +03:00
Ilya Gorbunov
08822ff14b
Document that lines and lineSequence do not preserve line separators
2018-10-01 18:03:23 +03:00
Ilya Gorbunov
21b71f3bb1
Clarify the purpose of the message parameter of assertFailsWith
...
#KT-22869 Fixed
2018-10-01 18:03:23 +03:00
Ilya Gorbunov
9f9033870c
Add a note about non-atomic behavior of MutableMap.getOrPut
...
#KT-13821
2018-10-01 18:03:23 +03:00
Ilya Gorbunov
bb9e9ac1ee
Seeded random docs: add a note about repeatability not being preserved
...
We're not ready to give a guarantee that the seeded generator
implementation will never change in future versions.
2018-10-01 18:03:23 +03:00
Alexander Udalov
55c8b35eee
Remove unneeded default imports in stdlib and tests
2018-10-01 13:39:02 +02:00
Alexander Udalov
009f18f1f4
Split AnalysisFlag values to AnalysisFlags and JvmAnalysisFlags
...
Declare AnalysisFlags in module 'frontend', and JvmAnalysisFlags in
module 'frontend.java', to avoid leaking Java-related logic to common
compiler code
2018-10-01 13:31:00 +02:00
Ilya Matveev
d2740db88f
Update Kotlin/Native: 0.9.3
2018-09-30 11:27:13 +03:00
Ilya Matveev
7a5c05b72d
Filter java.endorsed.dirs property in K/N runner
2018-09-30 11:27:13 +03:00
Sergey Igushkin
58a8411575
Fix KNPE due to publications processing order in Gradle 4.7
...
A KNPE happened because Gradle 4.7 (but not 4.8+) requested a
publication's dependencies before all other publications were created.
Issue #KT-27231 Fixed
2018-09-28 21:57:09 +03:00
Svyatoslav Kuzmich
334c776b92
[JS IR BE] Fix @DoNotIntrinsify processing. Reuse it for compareTo
2018-09-28 20:27:01 +03:00
Ilya Gorbunov
12a31637d1
Improve groupingBy samples
2018-09-28 19:59:30 +03:00
Ilya Gorbunov
3a40e3f041
Move groupingByEachCount together with the new Grouping samples
2018-09-28 19:51:07 +03:00
Itsuki Aoyagi
039d41679e
Add samples for groupingBy operations
2018-09-28 19:51:07 +03:00
Ilya Matveev
5140e674b4
Use compileClasspath configuration for native standard libraries
2018-09-28 14:15:11 +03:00
Ilya Matveev
5c4adc1100
Don't add dependency on a klib task for binary tasks
2018-09-28 14:15:11 +03:00
Ilmir Usmanov
6e0391f9ec
Use release coroutines in script-runtime
2018-09-27 21:59:35 +03:00
Dmitry Petrov
0191e3d1cf
Migrate to release coroutines
2018-09-27 21:59:31 +03:00
Sergey Igushkin
2441df820b
Support Kotlin/JS DCE in new MPP
...
Issue #KT-27196 Fixed
2018-09-27 17:54:38 +03:00
Ilya Chernikov
499146db0e
Fix pill problem with main-kts-test, reenabling pill for main-kts modules
2018-09-27 16:27:55 +02:00
Ilya Chernikov
7b7f87a3b7
Move ivy resolver to the main-kts to avoid classloading issues...
...
e.g. when main-kts is loaded in IDEA
#KT-26828 fixed
2018-09-27 12:56:19 +02:00
Ilya Gorbunov
0c81e30d46
Make a more correct implementation of unsigned arrays copyInto
...
Return the destination array instead of the destination storage array
wrapped in a new unsigned array. The difference should be
indistinguishable, however in JS, where inline classes are not inlined yet,
it had resulted in an extra wrapper.
2018-09-26 22:57:14 +03:00
ymnder
1a20b1f357
Add sample for 'repeat' function
...
Co-authored-by: Ilya Gorbunov <ilya.gorbunov@jetbrains.com >
2018-09-26 22:39:56 +03:00
shiraji
0c97d99d77
KT-20357 Add sample code for Regex.find
...
Co-authored-by: Ilya Gorbunov <ilya.gorbunov@jetbrains.com >
2018-09-26 22:24:53 +03:00
takattata
f06ea6fddd
KT-20357 Add sample code for Char extensions
2018-09-26 21:58:50 +03:00
Takayuki Matsubara
d26c0f777b
KT-20357 Add samples for Map.containsValue
...
Co-authored-by: Ilya Gorbunov <ilya.gorbunov@jetbrains.com >
2018-09-26 21:03:57 +03:00
Keita Watanabe
12ec4fdce0
KT-20357 Add sample for mutableSet function
2018-09-26 20:44:40 +03:00
Ilya Gorbunov
df6ccbca49
KT-20357 Add samples for elementAtOrElse
...
Move samples to Elements nested class.
2018-09-26 20:44:40 +03:00
Takayuki Matsubara
7d5efe7f51
KT-20357 Add samples for elementAtOrNull
2018-09-26 20:44:40 +03:00
Takayuki Matsubara
ad9b700ec4
KT-20357 Add samples for elementAt
2018-09-26 20:44:40 +03:00
Vyacheslav Gerasimov
cb398ea6b1
Fix compilation of kotlin-gradle-plugin broken after migration to gradle 4.10
2018-09-26 18:56:35 +03:00
Ilya Gorbunov
7b66a4d295
Remove links to contract samples as these samples are not supported by Dokka
2018-09-26 18:15:52 +03:00
Ilya Gorbunov
b2b23ac282
Improve contract API documentation
2018-09-26 18:15:52 +03:00
Ilya Gorbunov
f2a51f96a5
Improve documentation of experimental annotations
2018-09-26 18:15:52 +03:00
Ilya Gorbunov
04f1f6086b
Fix doc build script after removing taks distJar from stdlib project
2018-09-26 18:15:52 +03:00
Vyacheslav Gerasimov
1f0e9f24c5
Fix noDefaultJar helper for gradle 4.10
...
artifacts don't implement ArchivePublishArtifact in gradle 4.10
2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov
1109b795da
Build: upgrade gradle to 4.10
2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov
10810aa90f
Build: upgrade gradle to 4.8, fix ivy artifacts publication
...
Fix kotlin gradle plugin compilation against gradle 4.8 api
Internal ivy artifacts api has been changed, there is no longer DefaultIvyArtifact
2018-09-26 16:19:09 +03:00
Sergey Igushkin
44f87e4951
Revert "(minor) Transform KotlinPlatformType attribute to String, rename entries"
...
This reverts commit 3f24f8bd
2018-09-26 15:58:14 +03:00
Sergey Igushkin
8d054ba346
Revert "Build source sets hierarchy in Android projects"
...
This reverts commit 269410d7
The change causes errors in AS 3.2 import.
2018-09-26 15:58:14 +03:00
Ilya Matveev
3f452b2af2
Fix native test working directory
2018-09-26 15:49:47 +03:00
Ilya Matveev
6741a550d9
Add implementation dependencies into publication for native
2018-09-26 15:49:47 +03:00
Ilya Matveev
ac24bb0433
Update Kotlin/Native: 0.9.2
2018-09-26 15:49:47 +03:00
Ilya Matveev
da1fcb008b
Fix -Xcommon-sources in native args
2018-09-26 15:49:47 +03:00