Alexander Shabalin
bbcc5c9aed
[K/N][tests] Migrate interopTest tests ^KT-61259
2024-03-14 11:47:00 +00:00
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
3ad8fed5a3
[K/N][Tests] Migrate test embedStaticLibraries.kt
...
^KT-61259
2024-02-14 11:56:59 +00:00
Vladimir Sukharev
3b4ca56f74
[K/N][Tests] Migrate test platform_zlib.kt
...
^KT-61259
2024-02-14 09:55:06 +00:00
Vladimir Sukharev
06a89a0061
[K/N][Tests] Migrate test withSpaces.kt
...
^KT-61259
2024-02-13 22:14:30 +00:00
Vladimir Sukharev
34af80943c
[K/N][Tests] Remove obsolete cppInterop tests
...
^KT-61259
2024-02-13 21:48:40 +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
e958e57c42
[K/N][Tests] Migrate test forwardDeclarationsCast.kt
...
^KT-61259
2024-01-22 12:29:57 +00:00
Vladimir Sukharev
c286b0efd7
[K/N][Tests] Migrate tests forwardDeclarationsTwoLibs.kt
...
^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
Vladimir Sukharev
6e2df0e086
[K/N][Tests] Migrate first Apple-specific test
...
^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
Vladimir Sukharev
48df87f635
[K/N][Tests] Migrate two more cinterop tests
...
^KT-61259
2024-01-17 08:33:41 +00:00
Vladimir Sukharev
5f51f5e1fc
[K/N] Migrate more cinterop tests
...
^KT-61259
2024-01-16 11:58:31 +00:00
Vladimir Sukharev
bf01cb16b4
[K/N][Tests] Migrate some cinterop tests to new infra
...
^KT-61259
2024-01-11 23:30:06 +00:00
Vladimir Sukharev
c5248fc5f4
[K/N] Migrate some cinterop tests to new test infra
2023-12-04 08:43:28 +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
Abduqodiri Qurbonzoda
0f33d71de3
Migrate Vector128 from kotlin.native to kotlinx.cinterop #KT-58402
...
Make kotlin.native.Vector128 a typealias for kotlinx.cinterop.Vector128
Choose source compatibility over binary compatibility.
2023-07-31 19:38:05 +00:00
Pavel Kunyavskiy
858f432807
[K/N] Normalize on nan values in code generator
...
^KT-56041
2023-07-28 15:53:34 +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
Pavel Kunyavskiy
396cfb3956
[K/N] Make cast to objc forward declaration unchecked
...
Before this commit it caused compiler crash.
Unchecked cast warning to be done later.
^KT-59645
2023-07-05 06:49:34 +00:00
Abduqodiri Qurbonzoda
209c916a7e
OptIn ExperimentalNativeApi
2023-06-30 15:27:09 +00:00
Sergey Bogolepov
aee9b7aae3
[K/N] Add a trivial test-case for KT-59167
2023-06-30 09:01:38 +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
aea8bac7d2
[K/N] Do not compile for deprecated targets and legacy MM
...
^KT-56533
^KT-58853
2023-05-30 16:44:58 +00:00
Vladimir Sukharev
363c56e226
[K2/N] Export C adapters for non-root packages
...
^KT-56182
Merge-request: KT-MR-10160
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-05-19 11:40:59 +00:00
Alexander Shabalin
860d0e32f7
[K/N] Add tests on ObjCAction and ObjCOutlet. ^KT-58441
2023-05-05 19:02:34 +00:00
Vsevolod Tolstopyatov
f4e8ae5191
Explicitly declare stability levels of declarations in kotlinx.cinterop package
...
* @ExperimentalForeignApi for all declarations that operate on
unmanaged memory (i.e. pointers and references)
* @BetaInteropApi for the rest of the interoperability declarations,
namely Swift/CInterop-specific interfaces and convenience-functions
### Implementation details
* Some typealiases are not marked explicitly because it crashes the compiler,
yet their experimentality is properly propagated
* License header is adjusted where it previously had been existing
* Deprecated with ERROR interop declarations that are deprecated for more than
two years are removed
* WASM target interop declarations are deprecated
* Deliberately make Boolean.toByte and Byte.toBoolean foreign-experimental to scare
people away
^KT-57728 fixed
Merge-request: KT-MR-9788
Merged-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com >
2023-05-04 13:52:21 +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
Abduqodiri Qurbonzoda
5407ac1c72
[K/N] Mark UnhandledExceptionHook-related API with ExperimentalNativeApi
...
Instead of ExperimentalStdlibApi
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-19 20:36:31 +00:00