Alexey Trilis
593684ecb6
Fix testdata after changing API of kotlin.browser and kotlin.dom
2020-06-24 13:38:29 +03:00
Ilya Chernikov
5942446274
[minor] clean up main-kts-dependencies
2020-06-23 21:56:04 +02:00
Ilya Chernikov
4c34e9dd03
Move main-kts cache test to out-of-process compilation
...
to avoid clashes with coroutine debugger when running
tests from IntelliJ
2020-06-23 21:56:04 +02:00
Ilya Chernikov
879e22f274
Fix coroutines core shading in main-kts
2020-06-23 21:56:04 +02:00
Ilya Goncharov
69e8abfe3c
Fix test data for new project wizard in Project Templates
2020-06-23 21:07:35 +03:00
Ilya Goncharov
5e9291bd8a
Fix test data for new project wizard
2020-06-23 18:56:16 +03:00
Ilya Goncharov
e6539eade5
Fix new project wizard css support for karma
2020-06-23 18:26:51 +03:00
Ilya Goncharov
793ada08a9
cssSettings -> cssSupport
2020-06-23 11:08:30 +03:00
Ilya Goncharov
538cf8af56
Fix test with css case
2020-06-23 11:08:30 +03:00
Ilya Goncharov
4ad95dbe0c
Fix browser settings for webpack tasks
2020-06-23 11:08:30 +03:00
Ilya Gorbunov
b2e70f9c21
Fix stdlib-js-ir-for-tests build
...
Exclude kotlinx.browser and kotlinx.dom packages
2020-06-23 01:52:36 +03:00
Ilya Goncharov
852e860743
Update test data
...
#KT-39770 fixed
2020-06-22 16:45:00 +03:00
Ilya Goncharov
c2e97a7287
Kind and css support to single platform JS
...
#KT-39770 fixed
2020-06-22 16:45:00 +03:00
Ilya Goncharov
5676d31a1c
Add CSS support to new project wizard
...
#KT-39770 fixed
2020-06-22 16:45:00 +03:00
Ilya Gorbunov
23dc75fb87
Remove kotlin.coroutines.experimental package descriptions
2020-06-22 12:29:26 +03:00
Ilya Gorbunov
9d111b9451
Update API dumps
2020-06-22 12:29:25 +03:00
Ilya Gorbunov
6c8ff25e5d
Drop deprecated jsClass top level and extension functions
...
Introduce internal toplevel jsClass in js-ir source set instead.
It is needed for JS-IR backend.
2020-06-22 12:29:25 +03:00
Ilya Gorbunov
696701d377
Drop deprecated MutableMap property delegation operator
2020-06-22 12:29:25 +03:00
Ilya Gorbunov
7632910ffd
Drop deprecated CollectionAssertions.kt
...
Remove incorrect import from callByWithEmptyVarArg test
2020-06-22 12:29:25 +03:00
Ilya Gorbunov
5550dc93a1
Remove hidden Random.Companion
...
It was never released as stable since 1.3. Was provided for binary
compatibility with 1.3 prereleases.
2020-06-22 12:29:25 +03:00
Ilya Gorbunov
b55729957e
Drop previously deprecated API
...
- common and JS org.junit.Test from kotlin.test
- kotlin.Synchronized/Volatile from K/JS
- JS 'native' annotation
2020-06-22 12:29:25 +03:00
Ilya Gorbunov
e9c4f531eb
Increase deprecation level for previously deprecated API
...
- unsupported common exceptions
- common 'synchronized'
- jquery API
- experimental kotlin.time API
- js Math object
- DefaultAsserter constructor-like fun
2020-06-22 12:29:24 +03:00
Svyatoslav Kuzmich
bbfc1a10ad
[JS] Fix stack trace capturing from secondary constructors KT-37563
2020-06-22 12:03:59 +03:00
Svyatoslav Kuzmich
6792779281
[JS IR] Fix stack trace capturing in secondary constructors (KT-37563)
...
Call captureStack in primary constructors and generated factories
2020-06-22 11:50:14 +03:00
Yaroslav Chernyshev
c638043aee
[Gradle, CocoaPods] Improved CocoaPods Integration features with tests
2020-06-19 18:36:46 +03:00
Ilya Gorbunov
130987fa1e
Provide flatMapIndexed operation
...
- similar to flatMap, but transform function takes index and element
#KT-36894
2020-06-19 17:55:15 +03:00
Abduqodiri Qurbonzoda
db93462bcf
Initial template for flatMapIndexed operation
...
#KT-36894
2020-06-19 17:54:47 +03:00
Sergey Igushkin
d9fea52344
Fix compilation of DukatCompilationResolverPlugin after rebase
2020-06-19 17:48:22 +03:00
Sergey Igushkin
f7b660b573
(minor) Fixes for review KT-MR-1290
2020-06-19 17:31:51 +03:00
Sergey Igushkin
10cae9bc5d
Fixes for task configuration avoidance in Gradle Kotlin/JS support
2020-06-19 17:31:45 +03:00
Sergey Igushkin
0b7d8c51cb
Move kotlinOptions out of the tasks
2020-06-19 17:30:12 +03:00
Sergey Igushkin
19ac036ec5
Rework ScriptingGradleSubplugin for the new subplugins API
2020-06-19 17:30:11 +03:00
Sergey Igushkin
cb5aa64a95
Rework AndroidSubplugin for the new subplugins API
2020-06-19 17:30:10 +03:00
Sergey Igushkin
48153c53ca
Rework SamWithReceiverSubplugin for the new subplugins API
2020-06-19 17:30:10 +03:00
Sergey Igushkin
120f77416b
(minor) Suppress a warning about property initialized with ctor param
2020-06-19 17:30:09 +03:00
Sergey Igushkin
66a59df7de
Rework ExampleSubplugin for the new subplugins API
2020-06-19 17:30:09 +03:00
Sergey Igushkin
a2e4b52747
Rework SerializationSubplugin for the new subplugins API
2020-06-19 17:30:08 +03:00
Sergey Igushkin
98fc4ab2e1
Rework NoArgSubplugin for the new subplugins API
2020-06-19 17:30:07 +03:00
Sergey Igushkin
f2bc391bdd
Rework AllOpenSubplugin for the new subplugins API
2020-06-19 17:30:07 +03:00
Sergey Igushkin
e8a303650c
Rework Gradle subplugins application in Kotlin/Native
2020-06-19 17:30:06 +03:00
Sergey Igushkin
06a3376368
Refactor the Kotlin Android plugin to make it compliant with TCA
...
Also simplify some of the APIs and move some others which are only used
by kapt to the kapt's codebase.
2020-06-19 17:30:06 +03:00
Sergey Igushkin
4dbc6803ba
Refactor the kapt Gradle plugin to use the new plugins API and TCA
2020-06-19 17:30:05 +03:00
Sergey Igushkin
96ed30a449
Introduce new API for Kotlin compiler support Gradle plugins
...
The old API was too specific for the Kotlin internal use cases and
leaked some abstractions due to the missing target-compilation project
model. One of such leaking abstractions was the Gradle tasks being
exposed to the subplugin, which required the tasks to instantiate
in order for the subplugin to apply. This violated task configuration
avoidance, so the old API could never work in compliance with TCA.
Introduce the new KotlinCompilerPluginSupportPlugin API that uses the
compilations instead of the tasks and is TCA-compliant.
2020-06-19 17:30:05 +03:00
Sergey Igushkin
0b2d96c1ef
Refactor Kotlin classes registration for java-library plugin
2020-06-19 17:30:04 +03:00
Sergey Igushkin
58dd0fa3d2
Use TCA-compliant Gradle APIs in the JS part of the Kotlin Gradle plugin
2020-06-19 17:29:59 +03:00
Sergey Igushkin
58e9b3ae0e
Use TCA-compliant Gradle APIs in the Kotlin Gradle plugin
2020-06-19 17:28:40 +03:00
Sergey Igushkin
84287d77ca
Add Java tasks to relevant compilation APIs
2020-06-19 17:28:39 +03:00
Sergey Igushkin
1749cb9129
(minor) Initialize compilations with the precise target type
2020-06-19 17:28:39 +03:00
Sergey Igushkin
f4e4baa253
Add TaskProvider property for Kotlin compile tasks in compilations
2020-06-19 17:28:37 +03:00
Alexey Trilis
99d844dcfb
Deprecate kotlin.browser and kotlin.dom packages and provide
...
replacements in packages kotlinx.dom and kotlinx.browser
KT-39330 Fixed
2020-06-19 16:01:40 +03:00