Ilya Goncharov
e27bd04ba2
[Gradle, JS] Add dependency on dce task
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:32 +03:00
Ilya Goncharov
d3260bca27
[Gradle, JS] JsBinaryType to KotlinJsBinaryType
2020-06-03 15:59:32 +03:00
Ilya Goncharov
d27ad99daa
[Gradle, JS] KotlinJsType to KotlinJsMode
2020-06-03 15:59:32 +03:00
Ilya Goncharov
a5e46568ee
[Gradle, JS] Move common part of webpack configuration to separate fun
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:32 +03:00
Ilya Goncharov
ef63d6f84c
[Gradle, JS] Add resolveFromModulesFirst to build tasks
2020-06-03 15:59:32 +03:00
Ilya Goncharov
d4d8495840
[Gradle, JS] Use property for webpack entry
2020-06-03 15:59:32 +03:00
Ilya Goncharov
65db6bb2a5
[Gradle, JS] Add dce to development
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:31 +03:00
Ilya Goncharov
9d8eb65a5e
[Gradle, JS] Use API form Gradle 5.0
2020-06-03 15:59:31 +03:00
Svyatoslav Kuzmich
af13ae1ef2
[JS] Add klib to kostlin-stdlib-js.jar distribution
...
Fixes KTI-177 and KT-35857
2020-06-03 14:16:46 +03:00
Henrik Tunedal
71da941c8b
Use system-specific user cache directory in main-kts
...
#KT-38222 fixed
2020-06-03 11:11:33 +02:00
Henrik Tunedal
8f80cf5664
Improve hashing of script files
2020-06-03 11:11:30 +02:00
Ilya Goncharov
890da492fb
[Gradle, JS] Fix grammar in methods for JS import
2020-06-03 12:04:20 +03:00
Ilya Goncharov
bc4d7e0020
[Gradle, JS] Fix grammar on comment
2020-06-03 12:04:20 +03:00
Ilya Gorbunov
e2c3455445
Document NaN propagation in top-level minOf/maxOf functions
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
d19f9ee0c5
Simplify min/max implementation
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
b4ba00ca36
Document and test NaN propagation of maxOf/minOf
...
Also simplify minOf/maxOf implementations
#KT-38708
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
7b68de38e1
Introduce minOf/maxOf, minOfWith/maxOfWith and their OrNull variants
...
#KT-38708 Fixed
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
6a24becd1d
Introduce sumOf with various selector types
...
#KT-11253
2020-06-02 19:01:43 +03:00
Ilya Gorbunov
bdd53ee9cd
Introduce new overloads of flatMap and flatMapTo
...
- Sequence<T>.flatMap((T) -> Iterable<R>)
- Iterable<T>.flatMap((T) -> Sequence<R>)
- Array<T>.flatMap((T) -> Sequence<R>)
- Map.flatMap((Entry) -> Sequence<R>)
KT-34506
2020-06-02 19:01:43 +03:00
Ilya Gorbunov
562788ceb9
stdlib-gen: allow template function sequences
2020-06-02 19:01:43 +03:00
Ilya Gorbunov
79afc4f72b
stdlib-gen: avoid placing exact duplicates of annotations
2020-06-02 19:01:43 +03:00
Ilya Goncharov
a476d1dbc4
String prototypes polyfills on Object.defineProperty
2020-06-02 14:56:29 +03:00
Ilya Goncharov
9431fc4693
Polyfill for Arrays should be declared with Object.defineProperty
...
To not be enumerable
2020-06-02 14:56:29 +03:00
Ilya Goncharov
83e17cbf09
[Gradle, JS] Use name of target, not name of preset
2020-06-02 14:42:54 +03:00
Ilya Goncharov
b68715441f
[Gradle, JS] Remove redundant fixing names
...
- in case when target name is `jsLegacy` with enabled both mode, we should get `jsLegacyMain` and `jsLegacyTest`, and Gradle plugin creates targets `jsLegacyLegacy` and `jsLegacyIr`, schema is name+suffix where name can be any, KotlinJsTargetPreset's name is name+`Both` so in KotlinJsTargetPreset in `both` case we need remove only `Both` suffix
#KT-39213 Fixed
2020-06-02 12:52:13 +03:00
Andrey Uskov
44f16eac2e
Fixed resolution of dependencies on js libraries compiled in both mode
...
#KT-39213 Fixed
2020-06-02 12:52:13 +03:00
Abduqodiri Qurbonzoda
c29e434d33
Remove SuccessOrFailure.kt
2020-06-02 12:04:47 +03:00
nataliya.valtman
d6cb469e66
use Gradle 5.6 for tests with android build tool 28.0.3
2020-06-02 11:26:56 +03:00
Konstantin Tskhovrebov
94a4aacd9e
Move commonizer to gradle task and attach to lazy file collection.
2020-06-02 11:03:51 +03:00
Abduqodiri Qurbonzoda
30037682f8
Revert "Promote String <-> utf8 and CharArray conversions to stable"
...
This reverts commit aba97033
2020-06-01 23:30:55 +03:00
Abduqodiri Qurbonzoda
aba97033f0
Promote String <-> utf8 and CharArray conversions to stable
2020-06-01 22:47:01 +03:00
Abduqodiri Qurbonzoda
f6a739bbc5
Promote bit query api to stable
2020-06-01 22:18:55 +03:00
Abduqodiri Qurbonzoda
1bd63bb07f
Make consistent parameter nullability with appendLine
2020-06-01 22:00:36 +03:00
Abduqodiri Qurbonzoda
e05eeea6cd
Promote common StringBuilder to stable
2020-06-01 22:00:34 +03:00
Abduqodiri Qurbonzoda
4568e438a9
Promote ExperimentalStdlibApi to stable
2020-06-01 21:59:32 +03:00
Ilya Gorbunov
7cc4cc0cec
Make testDeepTreeOddEvenNodesMutual two times easier
...
Otherwise it often times out in JS tests in a parallel build.
2020-06-01 20:15:55 +03:00
Mikhail Zarechenskiy
0ab9b3639b
Approximate types for lambda literals before serialization
2020-05-31 17:38:18 +03:00
Ilya Goncharov
a41b746774
Revert "[Gradle, JS] Output file path as input fo js compile task"
...
This reverts commit df173c8c
2020-05-29 19:39:17 +03:00
Ilya Goncharov
df173c8c93
[Gradle, JS] Output file path as input fo js compile task
...
^KT-38676 fixed
2020-05-29 17:37:00 +03:00
Ilya Goncharov
bb9e8a8a50
[Gradle, JS] Fix warning message with new line
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:20:10 +03:00
Ilya Goncharov
1b841adfff
[Gradle, JS] Fix param name
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:20:00 +03:00
Ilya Goncharov
9fd211cfcd
[Gradle, JS] Manually singleton because Gradle Daemon
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:19:44 +03:00
Ilya Goncharov
59c2bc25d5
[Gradle, JS] Detect multiple plugins for NodeJsRootPlugin and YarnPlugin
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:19:27 +03:00
Ilya Goncharov
39869f009e
[Gradle, JS] Throw error in JS part when plugins goes from different classloaders
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:19:13 +03:00
Ilya Goncharov
2e39c1164d
Move detecting of multiple kotlin plugins into extract class
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:18:57 +03:00
Dmitry Petrov
5db6a0b563
New mangling rules require language version 1.4 (not compiler version)
...
Follow-up to a270ee094c
2020-05-29 15:15:54 +03:00
nataliya.valtman
ff06e60a06
Revert "run for 28.0.2"
...
This reverts commit 86d52d41
2020-05-29 10:09:50 +03:00
nataliya.valtman
86d52d4123
run for 28.0.2
2020-05-29 10:07:34 +03:00
Ilya Gorbunov
23414496c4
Annotation to enable overload resolution by lambda return type
...
#KT-38480
2020-05-29 09:36:32 +03:00
Ilya Gorbunov
f243b8946f
Restore testOmittedStdlibVersion originally added in commit 15feeddc
2020-05-29 04:10:17 +03:00