Mads Ager
1f3b8142a8
[K2] Enable tests for hasConstant field on properties in metadata.
2023-04-21 23:40:40 +02:00
Mads Ager
f7171f01ae
[K2] Enable tests for metadata for nested types.
2023-04-21 23:40:40 +02:00
Svyatoslav Kuzmich
933f47aaf9
[Wasm] Rename JsHandle to JsReference
...
Decision to do this was made at Kotlin/Wasm interop design meeting
2023-04-21 15:03:20 +00:00
Svyatoslav Kuzmich
7ba8f7cce2
Revert "[Wasm] Deprecate @JsFun with warning"
...
Reason: Design of js(code) replacement is still in flux.
It would be better to delay deprecation until we converge
to proper solution.
This reverts commit 3566d918d2 .
2023-04-21 15:03:20 +00:00
Svyatoslav Kuzmich
7c2fa3290e
[Wasm] Revert removal of some Dynamic functions
...
Deprecate them with ERROR instead to improve compiler messages
2023-04-21 15:03:19 +00:00
Yahor Berdnikau
eb4e96a113
Add kotlin-build-tools-enum-compat workaround
...
It acts as a workaround for the case when build tools or dependencies
are compiled with latest 'kotlin-stdlib' version, but at a runtime older
'kotlin-stdlib' is provided, which does not know about new
`EnumEntries`.
^KT-57317 Fixed
2023-04-21 14:57:17 +00:00
Roman Golyshev
d4cffb8a5a
[213] Switch to 213 platform
...
KTI-1114
2023-04-21 13:19:04 +00:00
Aleksei.Cherepanov
803a11003f
[Maven] Filter duplicated source roots to avoid multiple module declarations exception
...
After fixing of KT-13995 (99de93bb ) there is a case when several maven plugins register the same source roots twice, which leads to the Kotlin compiler exception "Too many source module declarations found". kotlin-maven-plugin should take care of what it passes to the Kotlin compiler to avoid it
#KT-58048 Fixed
Merge-request: KT-MR-9716
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com >
2023-04-21 12:07:30 +00:00
Ilya Chernikov
5f6d8c9030
Fix maven script executor after changes in the jdk path processing
...
#KT-58101 fixed
2023-04-21 09:40:19 +00:00
Anton Lakotka
877c1b1742
[Gradle] Clean up ConfigurationCacheIT tests
2023-04-21 06:41:45 +00:00
Anton Lakotka
40d29d13bf
[Gradle] Don't use project in gradle task's input properties
...
With Gradle 8.1 it is now unsupported with Configuration Cache
^KT-58062 Verification Pending
^KT-58063 Verification Pending
2023-04-21 06:41:45 +00:00
Anton Lakotka
ab82027f86
[Gradle] Test that multiplatform tasks can work with Gradle 8.1 GCC
...
^KT-58062
^KT-58063
2023-04-21 06:41:45 +00:00
Dmitry Savvinov
da073c9cc3
[mpp] Warn about using pre-HMPP dependencies
...
^KT-58086 Fixed
2023-04-20 15:35:05 +00:00
Dmitrii Krasnov and Alexander Likhachev
aea7f4b6d2
migrated NativeEmbeddableCompilerJarIT to junit 5 and gradle TestKit
...
#KT-51553
Co-authored-by: Alexander Likhachev <me@alikhachev.com >
Merge-request: KT-MR-9579
Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com >
2023-04-20 11:10:30 +00:00
Aleksei.Cherepanov
df8132b844
Revert "[Maven] Filter duplicated source roots to avoid multiple module declarations exception"
...
This reverts commit 07d20c6ee1 .
2023-04-20 13:00:19 +02:00
Aleksei.Cherepanov
07d20c6ee1
[Maven] Filter duplicated source roots to avoid multiple module declarations exception
...
After fixing of KT-13995 (99de93bb ) there is a case when several maven plugins register the same source roots twice, which leads to the Kotlin compiler exception "Too many source module declarations found". kotlin-maven-plugin should take care of what it passes to the Kotlin compiler to avoid it
#KT-58048 Fixed
Merge-request: KT-MR-9663
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com >
2023-04-20 10:14:32 +00:00
Dmitrii Krasnov and Alexander Likhachev
c3bfe72394
migrated CInteropIdeaSyncIT to junit5 and gradle TestKit
...
#KT-51553
Co-authored-by: Alexander Likhachev <me@alikhachev.com >
Merge-request: KT-MR-9599
Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com >
2023-04-20 09:48:20 +00:00
Pavel Mikhailovskii
58143a2006
KT-57598 Run Kapt with K1 even when the compiler is run with K2
2023-04-20 09:30:38 +00:00
Dmitriy Novozhilov
cb4c41a5ca
[Gradle IT] Pass gradle version directly to tests in K2KotlinxSerializationIT
2023-04-20 09:27:08 +00:00
Dmitriy Novozhilov
37e4a05878
[FIR] Serialize generated classes into Klib metadata
...
^KT-57781 Fixed
2023-04-20 09:27:08 +00:00
Dmitriy Novozhilov
fb1cdf643b
[FIR] Load kotlin.arrayOf function in IrBuiltInsOverFir from Fir
...
^KT-57690 Fixed
^KT-57807 Fixed
2023-04-20 09:27:07 +00:00
Filipp Zhinkin
50841e7cb0
KT-42589 Add listOf, setOf, mapOf overloads for a single value to common src-set
...
`listOf`, `setOf` and `mapOf` overloads were defined in some source-sets
but common source-set was missing it.
This change adds common definition of these methods and also add
declarations for source-sets that were previously
missing it.
^KT-42589 fixed
2023-04-20 08:42:15 +00:00
Ivan Kylchik
2e836494f5
Rewrite primitives' generation using simple DSL
2023-04-20 08:18:58 +00:00
Ivan Kylchik
dd0267f4ad
[WASM] Mark necessary methods that must be evaluated at compile-time
...
It includes methods and properties from Boolean, Char, String,
Enum and KCallable.
2023-04-20 08:18:58 +00:00
Ivan Kylchik
695229e288
[JS] Mark necessary methods that must be evaluated at compile-time
...
It includes methods and properties from Boolean, Char, String,
Enum and KCallable.
2023-04-20 08:18:57 +00:00
Ivan Kylchik
07ca981632
Unify generation of Primitives files for all backends
2023-04-20 08:18:57 +00:00
Abduqodiri Qurbonzoda
da0cc2ea4d
[K/N] Deprecate Char.MIN_RADIX and MAX_RADIX constants
...
As a part of efforts to stabilize Native stdlib.
2023-04-19 20:33:33 +00:00
Abduqodiri Qurbonzoda
b25f3be81b
[K/N] Experimental Char code point constants and functions
...
Internalize WASM Char code point functions.
As a part of efforts to stabilize Native stdlib.
2023-04-19 20:33:33 +00:00
Abduqodiri Qurbonzoda
c6eaadb44f
[WASM] Internalize MutableList.replaceAll function
...
It will be introduced later in Common: KT-57152.
2023-04-19 20:32:56 +00:00
Abduqodiri Qurbonzoda
954e11c265
[K/N] Mark MutableList.replaceAll with ExperimentalNativeApi
...
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-19 20:32:55 +00:00
Abduqodiri Qurbonzoda
040fcee04e
[K/JS] Loosen StringBuilder.capacity() deprecation level to WARNING
2023-04-19 20:20:43 +00:00
Abduqodiri Qurbonzoda
88181404df
[K/N] Remove deprecation from StringBuilder.capacity() function
...
As a part of efforts to stabilize K/N stdlib.
2023-04-19 20:20:43 +00:00
Abduqodiri Qurbonzoda
208b279d2b
[K/N] Internalize CharCategory.value/valueOf
...
As a part of efforts to stabilize K/N stdlib.
2023-04-19 20:20:42 +00:00
Abduqodiri Qurbonzoda
7eba68e62b
[K/N] Commonize String.regionMatches function
...
As a part of efforts to stabilize K/N stdlib.
2023-04-19 20:20:42 +00:00
Abduqodiri Qurbonzoda
0d31b0d12c
[K/N] Internalize RegexOption.value/mask properties
...
As a part of efforts to stabilize K/N stdlib.
2023-04-19 20:20:42 +00:00
Abduqodiri Qurbonzoda
3a4a00ef84
[K/N] Fix MatchGroup.range documentation
...
As a part of efforts to stabilize K/N stdlib.
2023-04-19 20:20:41 +00:00
Abduqodiri Qurbonzoda
c1fb6528aa
[WASM] Introduce internal ExperimentalNativeApi
...
To be able to OptIn usages in shared native-wasm directory.
2023-04-19 19:02:14 +00:00
Abduqodiri Qurbonzoda
b6c2ce2dc8
[K/N] Make assert functions experimental with ExperimentalNativeApi
2023-04-19 19:02:14 +00:00
Leonid Startsev
f29e505bd3
Use correct check in FirSerializationPluginClassChecker to determine if the given type is a enum class.
...
Otherwise, findTypeSerializerOrContextUnchecked works incorrectly when analyzing code
compiled with Kotlin 1.7.20 and serialization 1.4.1.
#KT-57704 Fixed
2023-04-19 16:13:28 +00:00
Dmitry Savvinov
a3db0f14af
[mpp] Minor: fix broken link to docs
...
^KT-57144 Fixed
2023-04-19 14:02:36 +00:00
Sebastian Sellmair
ed2b817409
[Gradle] KotlinNativeCompile: Only add -Xfragment{x} arguments for platform compilations
...
Shared Native compilations shall only use -Xcommon-sources
w/o setting any of the -Xfragment arguments in K2
^KT-57944 Verification Pending
2023-04-19 11:20:57 +00:00
Sebastian Sellmair
6c271eb24a
[Gradle] Implement MppSharedNativeCompileIT for KT-57944
...
... covering shared native compilation for a simple Gradle project
2023-04-19 11:20:56 +00:00
Sebastian Sellmair
3b96ab195f
[Gradle] Implement KotlinNativeCompileArgumentsTest for KT-57944
...
... covering K2 shared native compilations + sources
... covering K2 platform compilations + sources
2023-04-19 11:20:56 +00:00
Ilya Gorbunov
36cb94c158
Update Dokka to 1.8.20-dev-213
2023-04-19 10:28:07 +00:00
Ilya Goncharov
bf757d3163
[Gradle, JS] Support custom attributes for public package json configuration
...
^KT-57985 fixed
^KT-57817 fixed
2023-04-19 09:50:19 +00:00
Vsevolod Tolstopyatov
af9252aa96
Mark all Worker-related API as obsolete.
...
* Explain what obsolete means and why workers are obsolete
* Add some documentation to workers to explain its common pitfalls
^KT-54702
Merge-request: KT-MR-9563
Merged-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com >
2023-04-19 09:28:23 +00:00
Alexander.Likhachev
ec4fab57a7
[Build] Add the kotlin- prefix to the build tools API modules names
...
KT-57396
2023-04-19 09:09:26 +00:00
Dmitriy Dolovov
cd9924dafe
[PL] Disable PL for GradleIT that check linkage error messages
2023-04-18 19:11:13 +00:00
Zalim Bashorov
4f76827ea9
[Wasm] Tune Binaryen options and add some notes about 112
2023-04-18 20:40:17 +02:00
Alexander.Likhachev
1e0eccba35
[Gradle] Move KGP configurations name declaration, make them all internal
2023-04-18 18:19:25 +00:00