Vladimir Sukharev
a6d93797ee
[K2/N] Enable test interop_objc_foreignException
...
^KT-55909
Merge-request: KT-MR-9641
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-04-18 11:15:07 +00:00
Dmitriy Dolovov
87125d0703
[PL] Fix: Don't run partial linkage on early stages when no external dependencies have been loaded yet
2023-04-18 09:22:54 +00:00
Dmitriy Dolovov
997b6e6722
[PL] Fix: Don't try to implement non-implemented fake overrides in stdlib & co
2023-04-18 09:22:51 +00:00
Dmitriy Dolovov
16da1af525
[PL] Support handling IR error types
2023-04-18 09:22:50 +00:00
Vladimir Sukharev
ca740a4baf
[K2/N] Re-enable special backend checks
...
^KT-55598
Merge-request: KT-MR-9625
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-04-18 03:37:47 +00:00
Ivan Kochurkin
3a60b30dae
Minor: IrActualizationResult -> IrActualizedResult
2023-04-17 19:55:35 +00:00
Svyatoslav Scherbina
8466bec048
Native: fix ring benchmark compilation error
...
`@file:OptIn` can't be applied to a class. Change it to `@OptIn`.
2023-04-17 13:03:13 +00:00
Abduqodiri Qurbonzoda
12f7a6de3e
[K/N] Experimental ByteArray.get/setPrimitiveAt(index) functions
...
As a part of Native stdlib stabilization efforts.
Merge-request: KT-MR-9346
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-04-17 12:42:31 +00:00
Abduqodiri Qurbonzoda
e7225d29ff
[K/N] Mark unit testing API with ExperimentalNativeApi
...
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-17 12:30:42 +00:00
Abduqodiri Qurbonzoda
f75b72990e
[K/N] Deprecate SuspendFunction interface with WARNING
...
As a part of efforts to stabilize Native stdlib.
2023-04-17 12:01:55 +00:00
Vladimir Sukharev
3cdf4bae07
[K2/N] Refactor KonanSymbols before re-enabling special backend checks
...
^KT-55598
Merge-request: KT-MR-9477
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-04-17 10:35:55 +00:00
Pavel Kunyavskiy
95541da9a1
[K/N] Remove unused default dependencies from klib
...
^KT-55603
2023-04-13 18:28:51 +00:00
Abduqodiri Qurbonzoda
8629c92c62
Update copyright of generatedUnicodeData files
2023-04-12 23:28:12 +00:00
Alexander Udalov
35776ed4fa
IR: remove obsolete descriptor-based utils for IrMemberAccessExpression
...
Except `putTypeArguments`, which is moved to psi2ir where it's used.
2023-04-12 19:50:23 +02: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
7a2e2f5f9f
[K/N] Move GCInfo, MemoryUsage, RootSetStatistics 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
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
f90b846f86
Loosen @NativeRuntimeApi opt-in requirement level to WARNING
2023-04-12 13:07:48 +03:00
Abduqodiri Qurbonzoda
ab78b44d2e
[K/N] Introduce NativeRuntimeApi annotation
...
Marks the Kotlin/Native stdlib API that is related to runtime behavior.
Such API is unstable and won't become stable in the future.
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-12 13:07:47 +03:00
Abduqodiri Qurbonzoda
113d4d8679
[K/N] Internalize KPropertyImpl classes
...
As a part of efforts to stabilize Native stdlib.
2023-04-12 09:45:59 +00:00
Abduqodiri Qurbonzoda
92c39b0107
[K/N] Remove FixmeReflection annotation class
...
As a part of efforts to stabilize Native stdlib.
2023-04-12 09:45:58 +00:00
Abduqodiri Qurbonzoda
0bd263b12a
[K/N] Mark kotlin.native.ref.Cleaner with @ExperimentalNativeApi
...
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-12 09:44:25 +00:00
Abduqodiri Qurbonzoda
16078ae8e8
[K/N] Mark WeakReference with ExperimentalNativeApi
...
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-12 09:44:25 +00:00
Abduqodiri Qurbonzoda
6f5504e59b
[K/N] Introduce ExperimentalNativeApi annotation
...
An opt-in annotation to mark the Kotlin/Native-only standard library API
we doubt that eventually will be stabilized.
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-12 09:44:24 +00:00
Vladimir Sukharev
82589f2506
[K2/N] KT-57918: Support typealiases in FirClassSymbol<*>.selfOrAnySuperClass()
...
Merge-request: KT-MR-9529
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-04-11 19:48:07 +00:00
Abduqodiri Qurbonzoda
c961c15729
Commonize AssertionError(message, cause) constructor
2023-04-11 13:32:54 +00:00
Abduqodiri Qurbonzoda
8e995e6c62
[K/N] Deprecate ArrayIndexOutOfBoundsException
...
As a part of efforts to stabilize Native stdlib.
2023-04-11 13:32:54 +00:00
Abduqodiri Qurbonzoda
be87b6950c
[K/N] Hide AssertionError(cause: Throwable?) constructor
...
To align Native AssertionError behavior with JVM.
As a part of efforts to stabilize Native stdlib.
2023-04-11 13:32:54 +00:00
Abduqodiri Qurbonzoda
0c89224955
[K/N] Deprecate getTime and measureTime functions
...
As a part of efforts to stabilize Native stdlib.
Merge-request: KT-MR-9533
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-04-11 13:31:12 +00:00
Alexander Shabalin
375116dcf5
[K/N] Disable testPermanentObjectsFramework w/o GC ^KT-56233
...
Merge-request: KT-MR-9542
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2023-04-11 12:43:41 +00:00
Igor Chevdar
ab892037df
[K/N] Propagate IrMessageLogger to subcompilations
...
Otherwise, some warnings/errors (like from IrLinker) might be lost
2023-04-11 07:08:41 +00:00
Igor Chevdar
7db0bf0f3c
[K/N] Propagate -Xlazy-ir-for-caches to subcompilations
2023-04-11 07:08:40 +00:00
Abduqodiri Qurbonzoda
b65a68ca0d
[K/N and WASM] Internalize NoWhenBranchMatchedException and UninitializedPropertyAccessException
...
As a part of efforts to stabilize Native stdlib.
Merge-request: KT-MR-9531
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-04-10 21:10:51 +00:00
Dmitriy Dolovov
468d524a74
[PL][tests] Run K/N tests (old infra) with PL enabled
2023-04-08 20:46:38 +00:00
Abduqodiri Qurbonzoda
9f50f8ff2a
[K/N] Internalize print/println(String) functions
...
As a part of efforts to stabilize Native stdlib.
2023-04-08 21:50:36 +03:00
Abduqodiri Qurbonzoda
709d6c38d2
[K/N] Internalize IntrinsicConstEvaluation annotation
...
As a part of efforts to stabilize Native stdlib.
2023-04-08 21:50:35 +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
Abduqodiri Qurbonzoda
df642dd3fb
[K/N] Internalize valueOfForEnum and valuesForEnum functions
...
As a part of efforts to stabilize Native stdlib.
2023-04-08 21:50:33 +03:00
Abduqodiri Qurbonzoda
72f87ba55f
[K/N] Internalize functions for throwing specific exception from C++ code
...
As a part of efforts to stabilize Native stdlib.
2023-04-08 21:50:33 +03:00
Abduqodiri Qurbonzoda
95f1d0b6ae
[K/N] Internalize getNativeNullPtr() functions
...
As a part of efforts to stabilize Native stdlib.
2023-04-08 21:50:32 +03:00
Abduqodiri Qurbonzoda
dbfdda2ba1
[K/N] Internalize Ref
...
As a part of efforts to stabilize Native stdlib.
2023-04-08 21:37:39 +03:00
Abduqodiri Qurbonzoda
d51763c240
[K/N] Internalize IntrinsicType
...
As a part of efforts to stabilize Native stdlib.
2023-04-08 21:37:38 +03:00
Abduqodiri Qurbonzoda
bd3f528da4
[K/N] Internalize NumberConverter
...
As a part of efforts to stabilize K/N stdlib.
2023-04-08 21:36:59 +03:00
Abduqodiri Qurbonzoda
2328cf5fcf
[K/N] Internalize FloatingPointParser
...
As a part of efforts to stabilize K/N stdlib.
2023-04-08 21:36:59 +03:00
Ilya Gorbunov
b8da3e69ce
KT-55268 Make k.c.Volatile stable
2023-04-08 15:07:56 +00:00
Abduqodiri Qurbonzoda
5cc6338fb9
[K/N] Deprecate Retain and RetainForTarget annotations
...
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-07 17:03:36 +00:00
Vladimir Sukharev
273dcf1665
[K2/N] Mute IR verification error
...
^KT-57716
Merge-request: KT-MR-9522
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-04-07 06:11:13 +00:00
Abduqodiri Qurbonzoda
4969a0e4f6
[K/N] Deprecate kotlin.native.ThreadLocal typealias
...
As a part of efforts to stabilize Native stdlib #KT-55765.
2023-04-06 17:34:48 +00:00
Alexander Shabalin
4cd1f2ff82
[K/N] Fix a race in MemorySharedRefs ^KT-56233
2023-04-06 11:40:47 +00:00
Alexander Shabalin
8a8aeed998
[K/N] Handle permanent objects in new MM MemorySharedRefs ^KT-56233
...
Do not create a foreign ref to the permanent objects. There's no need to
do it, and, moreover, this ref would have leaked.
2023-04-06 11:40:45 +00:00