Ilya Chernikov
9d98c90881
Drop coroutines from compiler jar, add appropriate plugin dependency
...
#KT-30778 fixed
2020-05-24 19:03:42 +02:00
Ilya Gorbunov
22c4d30a89
Correct docs of ThreadLocal and SharedImmutable annotations
...
- clarify that they have effect only in K/N
- correct possible application targets of SharedImmutable
KT-36245
2020-05-23 22:28:46 +03:00
Ilya Gorbunov
dae7a23998
Clarify docs of CharSequence.split(Pattern, limit)
...
Emphasize differences from Pattern.split(CharSequence, limit).
#KT-39023 Fixed
2020-05-23 22:25:54 +03:00
Abduqodiri Qurbonzoda
f3145454f2
Decommonize collection builder implementations
2020-05-23 03:40:44 +03:00
Ilya Matveev
eaa16714f6
[Gradle, native] Allow disabling warning about incorrect dependencies
...
Issue #KT-32476
2020-05-22 22:16:18 +07:00
Ilya Goncharov
104352b313
[Gradle, JS] Remove browser tests from gradle integration tests
2020-05-22 13:25:23 +03:00
Svyatoslav Kuzmich
6e3d3831c2
[JS] JsExport diagnostics and legacy support
...
Account for JsExport in legacy backend namer. It means we
catch overloaded exported function conflicts for free!
Add error diagnostics:
* NESTED_JS_EXPORT (Fixes KT-36798)
* WRONG_EXPORTED_DECLARATION (Part of the fix for KT-37752)
* NON_EXPORTABLE_TYPE (Fixes KT-37771)
2020-05-22 10:50:22 +03:00
Dmitriy Dolovov
4076bf40a9
[Commonizer] Add Gradle property to pass JVM args
...
^KT-39094
2020-05-22 12:07:37 +07:00
Ilya Chernikov
c112d37ac1
Consolidate resolving in the new lib, deprecate it in script-util
...
also deprecate Import and CompileOptions annotations, because they
do not seem generic enough. Create specific copie in the main-kts
instead.
2020-05-21 16:49:57 +02:00
Ilya Chernikov
7d426226f9
Switch example to the new maven resolving API
2020-05-21 16:49:56 +02:00
Ilya Chernikov
d92e4d28f5
Provide a method to update script definitions after loading into IDE
...
also documenting ScriptDefinitionsProvider
2020-05-21 16:49:56 +02:00
Ilya Chernikov
4b032a14af
Refactor host configuration handling and script definition creation
...
so it is possible now to create custom host configuration with template
and all configurations are handled consistenly.
Also introduce and use new ScriptDefinition class wrapping compilation
and evaluation configurations, that could be consistenly created from a
template.
2020-05-21 16:49:55 +02:00
Ilya Chernikov
255ad47406
Use copied key to extract default jdkHome from host configuration
2020-05-21 16:49:55 +02:00
Ilya Chernikov
20bbcd5d5a
Implement copied key with ability to take default from source config
2020-05-21 16:49:55 +02:00
Ilya Goncharov
3c9207a2cd
[Gradle, JS] Add test on local project dependency
...
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov
985623eac5
[Gradle, JS] Fix hmpp on only js
...
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov
bed7b23d6c
[Gradle, JS] Fix naming of test and test data
...
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov
d089bbe14a
[Gradle, JS] Fix for JsIrTarget in mixed mode
...
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov
79984b6e04
[Gradle, JS] Add test on hmpp with both js
...
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov
a6812e5d6a
[Gradle, JS] Add fake common usage context for single js plugin publish
...
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov
4f747072f4
[Gradle, JS] Define fake configuration for single js plugin to publish as common
...
#KT-38592 fixed
2020-05-21 17:36:32 +03:00
Ilya Goncharov
22f5d3b134
[Gradle, JS] Add isMpp property
...
#KT-38592 fixed
2020-05-21 17:36:32 +03:00
Ilya Matveev
8d77ec83c6
[Gradle, native] Don't set system properties when the compiler runs in daemon
...
Changing system properties during parallel in-process compiler
execution may cause data races (e.g. see KT-37362, KT-37442).
This commit abandons using system properties when the compiler
is executed in process.
Issue #KT-37550 fixed
2020-05-21 12:05:24 +00:00
Sergey Igushkin
38fd9c3d1a
Fix KT-39063 by not adding extendsFrom with metadata configurations
...
Issue #KT-39063 Fixed
2020-05-20 14:31:36 +03:00
Dmitry Petrov
fcf8a91a38
Update kotlin-stdlib-runtime-merged.txt
2020-05-20 07:19:29 +03:00
Ilya Gorbunov
143d8d1520
Minor: fix issue reference
2020-05-19 19:24:00 +03:00
Ilya Gorbunov
d37c412f76
Suppress a couple more warnings
2020-05-19 19:24:00 +03:00
Ilya Gorbunov
bf21e1282a
Suppress most of unused parameter warnings
2020-05-19 19:24:00 +03:00
Dmitry Borodin
dd46d5ca5a
Add sample for Map.flatMap
2020-05-19 19:24:00 +03:00
Dmitry Borodin
1a0b59da49
KT-20357 Add sortedBy() sample ( #3283 )
2020-05-19 19:21:21 +03:00
Ilya Matveev
8e3a62e5fd
[Gradle] Get rid of java.library.path when running the K/N compiler
...
Issue #KT-37550
2020-05-19 18:57:37 +07:00
Segun Famisa
d6a8003743
Add samples for String/CharSequence filter & filterNot ( #3390 )
...
* Add samples for String/CharSequence filter & filterNot
* Link samples to stdlib generator
2020-05-18 23:15:41 +03:00
Ilya Gorbunov
25f83e941c
Fix sample reference for unsigned array range sort
2020-05-18 20:37:11 +03:00
Ilya Gorbunov
c40c9a3d14
stdlib-gen: make 'sample' overwrite samples list instead of adding
...
It's more common for a function to have the single sample, and it's
more convenient to override it in `specialFor` blocks, rather than
to append another one.
2020-05-18 20:37:11 +03:00
Ilya Goncharov
c6e23ffa3b
[Gradle, JS] Move npm declarations to KotlinDependencyHandler
...
KT-38331
2020-05-18 17:41:49 +03:00
Ilya Goncharov
85fa1859b3
[Gradle, JS] Fix generateKotlinExternals for scoped without generating
...
KT-38331
2020-05-18 17:41:49 +03:00
Ilya Goncharov
8ac5ebac84
[Gradle, JS] Separate interface for directory dependency with externals
...
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov
8565b77293
[Gradle, JS] Delegate instead inheritance
...
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov
4a574b8e00
[Gradle, JS] Not input transitive dependencies to dukat
...
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov
309d928ed6
[Gradle, JS] Quoted args
...
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov
0e24b5aaa2
[Gradle, JS] Possible variants consider scope
...
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov
0d9265388b
[Gradle, JS] Add possible variants for generate kotlin variants
...
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov
5d74db51d7
[Gradle, JS] Fix message
...
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov
f4521ee4e4
[Gradle, JS] In case when default generate kotlin externals will be changed, nothing will be broken
...
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov
86c8986bd3
[Gradle, JS] throw exception if dependency forbid generate external
...
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov
df38a669b8
[Gradle, JS] Fix vararg call
...
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov
dcb961af19
[Gradle, JS] Support generateKotlinExternals option for Groovy
...
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov
e8d10d45a9
[Gradle, JS] Add generateKotlinExternals option for root dependencies
...
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov
50e0e6ac06
[Gradle, JS] Add defaultGeneratedKotlinExternals to dependencies extensions
...
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov
830555aa8b
[Gradle, JS] generateKotlinExternals option in dsl functions
...
KT-38331
2020-05-18 17:41:47 +03:00