Vladimir Sukharev
4d723bfa85
[K/N][Tests] Migrate test kt63243
...
^KT-61259
2024-03-01 11:38:49 +00:00
Vladimir Sukharev
bd7ffc71aa
[K/N][Tests] Migrate test kt62262.kt
...
^KT-61259
2024-02-20 21:10:33 +00:00
Vladimir Sukharev
3d70be0c5f
[K/N][Tests] Migrate test kt40426
...
^KT-61259
2024-02-20 18:56:54 +00:00
Vladimir Sukharev
2b2c685827
[K/N][Tests] Migrate dylib-interop-exe tests
...
^KT-61259
2024-02-19 18:44:08 +00:00
Vladimir Sukharev
524f0d335e
[K/N][Tests] Migrate objcSmoke & objcTests tests
...
^KT-61259
2024-01-31 16:17:21 +00:00
Vladimir Sukharev
54b06f5656
[K/N][Tests] Clean up remnants of kt49034 in old infra
...
^KT-61259
2024-01-22 12:29:57 +00:00
Vladimir Sukharev
bd688b3ef7
[K/N][Tests] Migrate tests kt49034*.kt
...
^KT-61259
2024-01-22 12:29:57 +00:00
Vladimir Sukharev
4aa8774c6e
[K/N][Tests] Migrate test direct.kt
...
^KT-61259
2024-01-19 18:22:22 +01:00
Vladimir Sukharev
e59a80bd69
[K/N][Tests] Migrate test overridabilityCondition.kt
...
^KT-61259
2024-01-19 18:22:21 +01:00
Vladimir Sukharev
2d0009ff99
[K/N][Tests] Migrate test illegal_sharing_with_weak.kt
...
^KT-61259
2024-01-19 18:22:21 +01:00
Vladimir Sukharev
647a907204
[K/N][Tests] Migrate kt48816 tests
...
^KT-61259
2024-01-19 18:22:21 +01:00
Vladimir Sukharev
447c0fb618
[K/N][Tests] Migrate kt56048 test
...
^KT-61259
2024-01-19 18:22:21 +01:00
Vladimir Sukharev
cc13888dd0
[K/N][Tests] Migrate second ObjC test with framework
...
^KT-61259
2024-01-19 18:22:21 +01:00
Vladimir Sukharev
1b18f4ed1e
[K/N][Tests] Migrate first ObjC test with framework
...
^KT-61259
2024-01-19 18:22:20 +01:00
Alexander Shabalin
eb0bd0112a
[K/N] Add a stress test on dispose-on-main ^KT-63423
2024-01-17 18:26:00 +00:00
Pavel Kunyavskiy
156c341eeb
[K/N] Implement objc overridablity condition for IR
...
^KT-61511
2023-10-13 08:15:01 +00:00
Vladimir Sukharev
520983d52c
[K/N] Add failing test for KT-62262: NPE compiling uikit sample
...
^KT-62262
2023-10-05 14:37:13 +00:00
Ilya Chernikov
b821009617
K2: add missing checks for integral parameter type on implicit coercion
...
#KT-61418 fixed
#KT-61442 fixed
#KT-61441 fixed
2023-08-25 08:55:58 +00:00
Pavel Punegov
2b6ca6d8e1
[K/N] Exclude a part of the test that fails due to the ^KT-61418
2023-08-23 15:40:07 +00:00
mvicsokolova
5f431e4e87
[K/N] Updated deprecations for native atomics
...
* Removed deprecated methods from the new atomics in kotlin.concurrent
* Changed deprecation level from WARNING to ERROR for the old atomics in kotlin.native.concurrent
* Removed FreezingIsDeprecated annotation from kotlin.concurrent.AtomicReference
See KT-58123
Merge-request: KT-MR-10650
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com >
2023-08-22 13:42:12 +00:00
Aleksei.Glushko
0a09d1e140
[K/N] Use ptr-sized types in objc_firendly_dealloc tests
...
Merge-request: KT-MR-11525
Merged-by: Alexey Glushko <aleksei.glushko@jetbrains.com >
2023-08-08 15:38:36 +00:00
Aleksei.Glushko
1eda35a59c
[K/N] Process objc run loop on the finalizer thread ^KT-58851
...
Merge-request: KT-MR-11024
Merged-by: Alexey Glushko <aleksei.glushko@jetbrains.com >
2023-07-27 14:17:48 +00:00
Pavel Kunyavskiy
0fbc42de03
[K/N] Remove interop_kt49034_objcprotocol test
...
It doesn't check anything meaningful after d797505f06
^KT-56028
2023-07-26 08:32:09 +00:00
Svyatoslav Scherbina
3280d3ef80
Native: prepare existing tests for cinterop adding ExperimentalForeignApi
...
cinterop tool should add ExperimentalForeignApi to all generated
declarations by default. This commit prepares existing tests for this.
^KT-58362
2023-07-21 11:54:14 +00:00
Abduqodiri Qurbonzoda
209c916a7e
OptIn ExperimentalNativeApi
2023-06-30 15:27:09 +00:00
Svyatoslav Scherbina
1bf3d55bdf
Native: add detachObjCObject internal function for Obj-C objects
...
For a Kotlin wrapper of an Objective-C object, this functions zeroes
and releases the strong reference from the Kotlin wrapper to the
Objective-C object.
Usually, such a release happens only when the Kotlin wrapper is GCed.
So using this function can help that happen sooner.
^KT-59134
2023-06-07 11:57:54 +00:00
Alexander Shabalin
860d0e32f7
[K/N] Add tests on ObjCAction and ObjCOutlet. ^KT-58441
2023-05-05 19:02:34 +00:00
Alexander Shabalin
968bf424b4
[K/N] Fix interop_objc_kt56402 with different GCs ^KT-56402
...
Merge-request: KT-MR-9865
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2023-04-28 17:10:07 +00:00
Alexander Shabalin
82f94015f1
[K/N] Dispose ObjC objects from main thread on main thread. ^KT-56402
...
Merge-request: KT-MR-9515
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2023-04-26 07:35:44 +00:00
Pavel Punegov
a98c2c178f
[K/N][test] Add missing parenthesis that discovered frontend issue
...
See also ^KT-58131
Merge-request: KT-MR-9702
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-04-20 11:59:59 +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
Abduqodiri Qurbonzoda
e1c91ee50f
[K/N] Move kotlin.native.internal.GC into kotlin.native.runtime
...
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-12 13:07:50 +03:00
Abduqodiri Qurbonzoda
bb8498b0c5
[K/N] Move kotlin.native.internal.Debugging into kotlin.native.runtime
...
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-12 13:07:49 +03:00
Abduqodiri Qurbonzoda
54bbeae273
[K/N] Internalize TypeCastException
...
As a part of efforts to stabilize Native stdlib.
2023-04-08 21:50:34 +03:00
Alexander Shabalin
87da670319
[K/N] Add more tests on associated object handling ^KT-56233
2023-04-06 11:40:44 +00:00
Svyatoslav Scherbina
65d781758c
Native: fix objc_direct tests on platforms with 32-bit NSUInteger
...
On some platforms, `NSUInteger` is 32-bit, while the objc_direct tests
expected it to be represented as `ULong`. So the tests failed on those
platforms.
Fix the tests by replacing `NSUInteger` with `uint64_t`.
2023-03-29 13:29:08 +00:00
Ilya Chernikov
8edf8573b5
Revert "[K2/N] adjust interop_objc_direct test for K2 because of ^KT-55902"
...
This reverts commit 8315eeaf92 .
2023-03-17 08:57:52 +00:00
Svyatoslav Scherbina
8315eeaf92
[K2/N] adjust interop_objc_direct test for K2 because of ^KT-55902
...
K2 doesn't support implicit integer coercion for cinterop yet.
2023-03-13 13:39:51 +00:00
Gleb Lukianets
fc96eb6d8d
[KN] CInterop: __attribute__((objc_direct)) support
...
Merge-request: KT-MR-8828
Merged-by: Gleb Lukianets <Gleb.Lukianets@jetbrains.com >
2023-03-02 10:36:53 +00:00
Vladimir Sukharev
7c9e567496
[K2/N] KT-56028: Enable and patch test interop_kt49034_objcclass
...
Merge-request: KT-MR-8942
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-02-23 13:08:33 +00:00
Pavel Kunyavskiy
fbc39fcab1
[K/N] Make a reproducer test for KT-55938
...
^KT-55938
2023-01-18 08:29:51 +01:00
Sergey Bogolepov
9bffec268a
[K/N] Add a trivial test-case for KT-40426
2023-01-17 17:54:28 +00:00
Sergey Bogolepov
8120025076
[K/N] Add a test for KT-55653
2023-01-16 13:26:09 +00:00
Sergey Bogolepov
3ade4fbedc
[K/N] Add backend.native test for objcClassesIncludingCategories
2023-01-16 13:26:08 +00:00
Svyatoslav Scherbina
860f99482a
Native: prohibit calling suspend functions from autoreleasepool {}
...
If a suspend function is called from `autoreleasepool {}` block, this
might cause the autoreleasepool frame to be removed earlier than
expected. See https://youtrack.jetbrains.com/issue/KT-50786 for more
details.
^KT-50786 Fixed
2022-08-23 14:30:54 +00:00
Svyatoslav Scherbina
ce6c8a51ba
Native: fix @ExportObjCClass with the new memory manager
...
Previous implementation of `@ExportObjCClass` relied on the fact that
initialization of top-level fields was eager, i.e. happened during
Kotlin runtime initialization, when Kotlin code is accesses for the
first time.
With the new MM, initialization of top-level fields became lazy, it
happens when the particular file is accessed for the first time.
This commit fixes `@ExportObjCClass` with the new MM by making the
initialization of particular top-level fields eager.
^KT-53373 Fixed
2022-08-03 12:40:02 +00:00
Rick Clephas
497bb9a05c
Add wrapped function test
2022-07-15 19:14:11 +03:00
Rick Clephas
fd22add3ca
Create test
2022-07-15 19:14:11 +03:00
Sergey Bogolepov
bb493ccb3e
[K/N] Add test-case for KT-49034
2022-06-24 23:57:12 +03:00
Alexander Shabalin
29f3445721
[K/N] Deprecated freezing ^KT-50541
...
Starting with 1.7.20 freezing is deprecated. See https://github.com/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#freezing-deprecation for details.
Merge-request: KT-MR-6399
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-06-16 09:04:14 +00:00