Commit Graph

10517 Commits

Author SHA1 Message Date
Yahor Berdnikau 92d9c5b150 Remove 'kotlin2js' Gradle plugin
Plugin class is still left untouched as it is used by
js platform old plugin.

^KT-48276 Fixed
2022-04-06 13:32:34 +00:00
Abduqodiri Qurbonzoda 33fb49f20d Fix JDK7 failing tests 2022-04-06 07:42:58 +00:00
Igor Laevsky 81eae94821 [Wasm] Disable range checks for arrays. Add cli argument to enable them back. 2022-04-05 18:00:32 +00:00
Igor Laevsky 2c9bfe901d [Wasm] Pull array range checks into single function 2022-04-05 18:00:31 +00:00
Ivan Kylchik 6f448820f0 Add new internal annotation IntrinsicConstEvaluation 2022-04-05 17:20:38 +00:00
Ilya Goncharov 002d62de89 rra/ilgonmic/revert-signatures-changes
[JS IR] Fix line number test

[JS IR] Ignore isInstance repl test

[JS IR] Ignore isInstance repl test

[JS IR] Add test with unsafe variance

Revert "[JS IR] Optimize away upcasts"

This reverts commit 8149189585.

Get rid of duplicated signatures

Revert "[JS IR] Consider erasing type parameters in return type in js signatures"

This reverts commit 6adcbe081e.

Revert "rra/ilgonmic/exported-bridges-2 [JS IR] Use js name for signature"

This reverts commit 00289d35

[JS IR] Leave as is

[JS IR] Add test with overloading by generic

[JS IR] Add test from master

[JS IR] Add tests from master

Merge-request: KT-MR-5987
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>

^KT-51700 fixed
^KT-51523 fixed
^KT-51685 fixed
2022-04-05 15:35:12 +00:00
Abduqodiri Qurbonzoda 1cb5cab28f [K/N and WASM] Fix ESCAPE and COMMENTS modes 2022-04-05 15:21:31 +00:00
Abduqodiri Qurbonzoda 7b46738796 [K/N and WASM] Throw on unknown inline flag modifier 2022-04-05 15:21:30 +00:00
Abduqodiri Qurbonzoda 9593069cb3 [K/N and WASM] Throw on duplicate group name 2022-04-05 15:21:30 +00:00
Abduqodiri Qurbonzoda 187faa121e Test backreference to group with index zero 2022-04-05 15:21:29 +00:00
Abduqodiri Qurbonzoda 74121b26c0 Test octal literal in regex 2022-04-05 15:21:28 +00:00
Abduqodiri Qurbonzoda 46408ffd9d Fix tests by adjusting to platform behavior 2022-04-05 15:21:27 +00:00
Abduqodiri Qurbonzoda d500d03baa [K/N and WASM] Support back references to groups with multi-digit index #KT-51776 2022-04-05 15:21:27 +00:00
Abduqodiri Qurbonzoda 9c4c1ed557 [K/N and WASM] Implement named capturing group in Regexes #KT-41890 2022-04-05 15:21:26 +00:00
Abduqodiri Qurbonzoda c3f5d03b36 [JS] Support named capture groups in Regex #KT-51775 2022-04-05 15:21:25 +00:00
Vsevolod Tolstopyatov cf79752c14 Stabilize deepRecursiveFunction and DeepRecursiveScope
#KT-51848
2022-04-05 12:49:35 +00:00
Ilya Gorbunov 4c461d7864 Add min/max test generator and generated tests
Temporarily exclude these tests from kotlin-stdlib-wasm testing due to KT-51647
2022-04-04 22:33:25 +00:00
Ilya Gorbunov 60fbb0d171 Reintroduce min/max operations for non-empty collections KT-50146 2022-04-04 22:33:24 +00:00
Ilya Gorbunov 4709e2c274 stdlib-gen: simpify copyright notice reading 2022-04-04 22:33:23 +00:00
Abduqodiri Qurbonzoda 42c9a27b8a Specialize Progression first/last/OrNull functions #KT-42178 2022-04-04 22:27:49 +00:00
Yahor Berdnikau cca2680c7f Update Gradle integration tests
Substituting plugin via 'pluginManagement.eachPlugin.useModule' does not
work with plugin variants.

^KT-49227 In Progress
2022-04-04 20:38:01 +02:00
Yahor Berdnikau 5d11c5fa56 Add attributes to the kotlin subplugins classpath.
This removes selection ambiguity and provides Gradle multi-variant
support for 3rd party compile plugins wrapped in Gradle.

^KT-49227 In Progress
2022-04-04 20:38:01 +02:00
Yahor Berdnikau b376146744 Update build setup for Gradle integration tests
^KT-49227 In Progress
2022-04-04 20:38:01 +02:00
Yahor Berdnikau 35c6f709db Update gradle plugin dependencies in 'kotlin-gradle-plugin-idea'
^KT-49227 In Progress
2022-04-04 20:38:00 +02:00
Yahor Berdnikau 4839b2f193 Update 'kotlin-gradle-subplugin-example' setup
^KT-49227 In Progress
2022-04-04 20:38:00 +02:00
Yahor Berdnikau 792d44e617 Migrate 'kotlin-serialization' module to variants
^KT-49227 In Progress
2022-04-04 20:38:00 +02:00
Yahor Berdnikau d9ddcd991b Migrate 'kotlin-gradle-plugin' module to variants
^KT-49227 In Progress
2022-04-04 20:38:00 +02:00
Yahor Berdnikau f25b00daa3 Migrate 'kotlin-lombok' module to variants
^KT-49227 In Progress
2022-04-04 20:38:00 +02:00
Yahor Berdnikau 1ddd90bba1 Migrate 'android-test-fixes' module to variants
^KT-49227 In Progress
2022-04-04 20:38:00 +02:00
Yahor Berdnikau e875a0a311 Migrate 'kotlin-sam-with-receiver' module to variants
^KT-49227 In Progress
2022-04-04 20:38:00 +02:00
Yahor Berdnikau 21a12b9a58 Migrate 'kotlin-noarg' module to variants
^KT-49227 In Progress
2022-04-04 20:38:00 +02:00
Yahor Berdnikau 2c7992596c Remove 'kotlin-gradle-plugin-dsl-codegen' from Gradle dependencies
Gradle dependencies configuration doesn't make sense in this module.

^KT-49227 In Progress
2022-04-04 20:38:00 +02:00
Yahor Berdnikau b600a52a57 Migrate kotlin-gradle-build-metrics module to variants
^KT-49227 In Progress
2022-04-04 20:37:59 +02:00
Yahor Berdnikau e4dcc9344a Migrate kotlin-gradle-plugin-model module to variants
^KT-49227 In Progress
2022-04-04 20:37:59 +02:00
Yahor Berdnikau b2e3c5c557 Migrate kotlin-gradle-statistics module to variants
^KT-49227 In Progress
2022-04-04 20:37:59 +02:00
Yahor Berdnikau 8d69675e7b Migrate kotlin-allopen module to variants
^KT-49227 In Progress
2022-04-04 20:37:59 +02:00
Yahor Berdnikau 437592ac2a Migrate kotlin-gradle-plugin-api module to variants
^KT-49227 In Progress
2022-04-04 20:37:59 +02:00
Alexander Likhachev 96b71e83ec [Gradle] Deprecate the system property for compiler execution strategy
#KT-51830 Fixed
2022-04-04 18:32:55 +00:00
Nikolay Krasko f5e89079e9 Temporary revert maven-jar-plugin version in kotlin-osgi-bundle
Workaround for:
Classes found in the wrong directory:
{META-INF/versions/9/kotlin/reflect/jvm/internal/impl/serialization/deserialization/builtins/BuiltInsResourceLoader.class=kotlin.reflect.jvm.internal.impl.serialization.deserialization.builtins.BuiltInsResourceLoader, META-INF/versions/9/module-info.class=module-info}

KTI-729
2022-04-04 17:51:40 +00:00
Nikolay Krasko dc83c64447 Use default jar execution instead creating a new one
Workaround `You have to use a classifier to attach supplemental
artifacts to the project instead of replacing them` error.

KTI-729
2022-04-04 17:51:39 +00:00
Nikolay Krasko 1288aaf0a2 Update maven-jar-plugin and maven-source-plugin on the way to reproducible builds
KTI-729
2022-04-04 17:51:39 +00:00
Yahor Berdnikau ebb292849f Remove experimental.coroutines DSL
And 'kotlin.coroutines' property as well.

^KT-50494 Fixed
2022-04-04 15:11:46 +00:00
Ilya Chernikov 35f80c04ca IR Scripting: update capturing logic for the REPL, imported scripts,
as well as all other implicit receivers.
2022-04-04 14:55:53 +00:00
Ilya Chernikov 4ec639cafd Scripting: relocate 3-party libs in dependencies-maven-all
#KT-50378 fixes, and will prevent similar cases for now
2022-04-04 14:55:52 +00:00
Vsevolod Tolstopyatov 82c959c4be KT-51082 introduce Class<E : Enum<E>>.declaringJavaClass as a future replacement for synthetic declaringClass 2022-04-04 13:36:14 +00:00
Yahor Berdnikau 6ddb76743a Fix multi-project incremental JS tests are not actually running 2022-04-04 15:09:38 +02:00
Yahor Berdnikau 7ffb232a95 Remove 'kotlin-dce-js' Gradle plugin
^KT-48276 In Progress
2022-04-04 12:19:05 +02:00
Yahor Berdnikau bc066e1863 Set minimal supported AGP version to 3.6.4
^KT-51342 Fixed
2022-04-04 07:32:53 +00:00
Yahor Berdnikau 785831c82a Add 'NormalizeLineEndings' to cacheable tasks and transformations
^KT-50673 Fixed
2022-04-04 07:29:56 +00:00
Aurimas 1a40eabbbd Fix for KT-51765
Kotlin Gradle plugin was incorrectly assuming that com.android.lint implies an Android project.
com.android.lint works for any JVM project and is used that way in various projects.
2022-03-31 16:28:19 +02:00