Commit Graph

95339 Commits

Author SHA1 Message Date
Artem Kobzar 34c32e91e8 [K/JS] Don't remvove @JsExport.Ignore while test generating running 2022-10-11 17:02:23 +00:00
Nikolay Krasko fefc3bdbbc Add review links 2022-10-11 16:20:46 +00:00
Svyatoslav Scherbina dc36272354 Get rid of unsafe cast function usages in :native:frontend.native 2022-10-11 15:12:03 +00:00
Svyatoslav Scherbina 2987340edd Get rid of unsafe cast function usages in :kotlin-native:backend.native 2022-10-11 15:11:36 +00:00
Svyatoslav Scherbina 3e1eddcf54 Get rid of unsafe cast function usages in :native:native.tests 2022-10-11 15:11:03 +00:00
Pavel Punegov 51e337a148 [K/N] Fix watchOS-simulator device name changed in XCode 14 2022-10-11 15:11:01 +02:00
Pavel Punegov b0b3698698 [K/N][build] Make kotlin-native.jar archive version empty
Gradle base plugin sets convention to project's version that can be
SNAPSHOT that brakes name of the archive
2022-10-11 12:50:13 +00:00
sebastian.sellmair fd9f542895 [Gradle][MPP] Remove Kotlin Multiplatform stability warning
^KT-54387 Verification Pending
2022-10-11 12:10:44 +00:00
Anton Lakotka 71fe1dae22 [Gradle] Support Configuration Cache for XCFramework task
^KT-54362
^KT-54339 Verification Pending
2022-10-11 11:20:59 +00:00
Anton Lakotka 13dcb9388c [Gradle] Support Configuration Cache for FatFramework task
^KT-54362
^KT-54339 Verification Pending
2022-10-11 11:20:59 +00:00
Anton Lakotka a7f33819fa [Gradle] Add workaround for Configuration Cache deserialization
Gradle Configuration Cache deserializer doesn't support Kotlin's
Objects of a Sealed Class. It creates new instance upon deserialization
and thus breaking equals contract in kotlin when's constructions.

See more info: https://github.com/gradle/gradle/issues/22347

^KT-54362
^KT-54339 Verification Pending
2022-10-11 11:20:58 +00:00
Anton Lakotka 4cda8f35bc [Gradle] Support Configuration Cache for Link task
^KT-54339 Verification Pending
2022-10-11 11:20:58 +00:00
Anton Lakotka 50b892f2f1 [Gradle] Update Configuration Cache test for Native tasks
Exclude Metadata Processing tasks that are not compatible yet

^KT-54339 Verification Pending
2022-10-11 11:20:58 +00:00
nataliya.valtman 512f7b3231 Add property validation for single file report
#KT-54335 Fixed
#KT-54356 Fixed
2022-10-11 09:57:12 +00:00
konstantin.tskhovrebov 5e96bf0795 [KT-54314] Cocoapods: disable signing for all pod dependencies in synthetic project 2022-10-11 09:19:39 +00:00
Pavel Mikhailovskii f4bdf54601 KT-8575 Fix warnings for Java synthetic properties 2022-10-10 22:03:58 +00:00
vladislav.grechko 26dc010d30 Formatting FirInlineClassDeclarationChecker 2022-10-10 16:52:35 +00:00
vladislav.grechko e0c8142106 Support of custom 'equals' and 'hashCode' in inline classes
'equals' from any made available for overriding in inline classes
'typed' equals made available for definition in inline classes
'typed' equals definition made compulsory if 'untyped' is overridden
'operator' keyword is allowed in 'typed' equals definition

^KT-24874: Fixed
2022-10-10 16:52:34 +00:00
Svyatoslav Scherbina 527e8dde27 docs: add more links for contributing to Kotlin/Native 2022-10-10 14:55:36 +00:00
Pavel Kunyavskiy b01808ddf5 [K/N] Fix deprecations and warnings in performance infra 2022-10-10 13:14:35 +00:00
Pavel Mikhailovskii 0947834f0d Add a test for KT-54318 2022-10-10 13:47:34 +02:00
Pavel Mikhailovskii 5fdfd4a421 Revert "KT-53146 Don't coerce Nothing? returned from "catch" clauses"
This reverts commit 903a5d69a4.
2022-10-10 13:36:44 +02:00
Ilya Kirillov 8eb0ca705d [FIR] fix memory leak via static ConeClassLikeTypeImpl
ConeClassLikeLookupTagImpl.boundSymbol contains weak reference to FirSession
2022-10-10 09:50:43 +02:00
Mikhail Glukhikh 62ba1277bb K2: don't duplicate custom annotations in types #KT-54275 Fixed 2022-10-10 06:20:39 +00:00
Mikhail Glukhikh d491eba629 K2: add reproducer for KT-54275 2022-10-10 06:20:39 +00:00
Ilya Muradyan 7f6bd2ab1e Fix compatibility issue for kotlin.jupyter 2022-10-08 04:02:39 +02:00
Zalim Bashorov 2c889f56fa [K/JS] Add missed JsExport in the test, and uncomment part of it which passes with v8
#KT-41294 Fixed
2022-10-07 19:37:56 +02:00
Zalim Bashorov 75510e6019 [K/Wasm] Fix incompatibilities with webpack.
* Webpack doesn't support "node:" prefix out of the box, so we can just ignore it.
* Use a proper way to get a path to the script's dir.

#KT-53790 Fixed
2022-10-07 19:37:56 +02:00
Igor Chevdar 4ac9e49abd [K/N][codegen] Moved llvmContext from global scope to generationState 2022-10-07 17:32:26 +00:00
mvicsokolova cb23dbb492 atomicfu-compiler-plugin: support declaration of properties in objects for JVM IR
Fix: https://github.com/Kotlin/kotlinx-atomicfu/issues/241
Merge-request: KT-MR-6871
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>
2022-10-07 17:10:41 +00:00
Svyatoslav Scherbina 28dea9d949 Native: remove obsolete compiler flags that have no effect
Same for compiler configuration keys.
2022-10-07 15:33:42 +00:00
Nikolay Lunyak b6f950ed75 [FIR][FE 1.0] KT-47933: Warn about redundant @Repeatable
Merge-request: KT-MR-7318
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
2022-10-07 13:33:49 +00:00
Evgeniy.Zhelenskiy 6117cdc0c3 [IR] Remove unused MFVC getters
Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com>

#KT-1179
2022-10-07 12:43:46 +00:00
Evgeniy.Zhelenskiy 9dd308dc01 [IR] Add context receivers test, fix a flattening fields bug
Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com>

#KT-1179
2022-10-07 12:43:46 +00:00
Evgeniy.Zhelenskiy e1f886936c [IR] Support try for MFVC
#KT-1179
2022-10-07 12:43:45 +00:00
Evgeniy.Zhelenskiy f8aa3612f8 [IR] Support if and when for MFVC, fix several bugs, refactor
#KT-1179
2022-10-07 12:43:44 +00:00
Evgeniy.Zhelenskiy 70293fab60 [IR] Rename MFVC tests + Add test for get-field optimization
#KT-1179
2022-10-07 12:43:43 +00:00
Evgeniy.Zhelenskiy ec3c0af09d [IR] Suppress temporary test failing on Android
Bug is fixed in https://jetbrains.team/p/kt/reviews/6452

#KT-1179
2022-10-07 12:43:42 +00:00
Evgeniy.Zhelenskiy cfc17849d8 [IR] Document the new MFVC lowering classes when necessary
#KT-1179
2022-10-07 12:43:42 +00:00
Evgeniy.Zhelenskiy 6f94af80ab [IR] Correct work of the new MFVC lowering classes
#KT-1179
2022-10-07 12:43:42 +00:00
Evgeniy.Zhelenskiy 8ba20bee5b [IR] Prepare MFVC-lowering for the new MFVC classes
#KT-1179
2022-10-07 12:43:41 +00:00
Evgeniy.Zhelenskiy eb0aa55571 [IR] Fix MFVC with type arguments/parameters
#KT-1179
2022-10-07 12:43:40 +00:00
Evgeniy.Zhelenskiy f9bed3d946 [IR] Support MFVC with type parameters
#KT-1179
2022-10-07 12:43:40 +00:00
Evgeniy.Zhelenskiy 14b8e41967 [IR] Integrate MFVC with Inline classes
#KT-1179
2022-10-07 12:43:39 +00:00
Evgeniy.Zhelenskiy 79ae0a1bd6 [IR] Fix compilation of MFVC in different module
#KT-1179
2022-10-07 12:43:38 +00:00
Evgeniy.Zhelenskiy 765c212327 [IR] Add MFVC generation tests
#KT-1179
2022-10-07 12:43:38 +00:00
Evgeniy.Zhelenskiy 894cdc2307 [IR] Implement equals call correct generation for MFVC
#KT-1179
2022-10-07 12:43:37 +00:00
Evgeniy.Zhelenskiy 0d350f94f2 [IR] Implement bridges generation for MFVC
#KT-1179
2022-10-07 12:43:37 +00:00
Evgeniy.Zhelenskiy 0c1c25e477 [IR] Implement MFVC basic flattening
#KT-1179
2022-10-07 12:43:36 +00:00
Evgeniy.Zhelenskiy d4969e9b97 Revert "rra/zhelenskiy/flattening_impl"
This reverts commit b7f5c039a6.
2022-10-07 12:43:36 +00:00