Commit Graph
81 Commits
Author SHA1 Message Date
Timofey Solonin 55e61f6631 [Native] Support Xcode 15.3 — add back the TargetConditional.h macros
^KT-65542
2024-02-28 16:38:37 +00:00
Timofey Solonin a171f774be Validate that resources from new source sets are published 2024-02-28 15:22:58 +00:00
Timofey Solonin 01ff4a597a Validate consuming a project with multiplatform resources
^KT-65540
2024-02-28 15:22:58 +00:00
Timofey Solonin 0f20e39475 Add an IT for publication of multiplatform resources in wasm target
^KT-65540
2024-02-28 15:22:58 +00:00
Timofey Solonin e35e2eaa48 Add an IT for publication of multiplatform resources in a native target
^KT-65540
2024-02-28 15:22:58 +00:00
Timofey Solonin b145796e14 Publish multiplatform resources as variants for wasm, js and native targets
^KT-65540
2024-02-28 15:22:58 +00:00
Timofey Solonin bba39dd4fe Add an IT for publication of multiplatform resources in Android target
^KT-65540
2024-02-28 10:37:16 +00:00
Timofey Solonin a2989a3711 Publish multiplatform resources and assets for Android target
^KT-65540
2024-02-28 10:37:16 +00:00
Timofey Solonin 43a4fd5ddf Add an API for KotlinAndroidTarget to publish assets
^KT-65540
2024-02-28 10:37:16 +00:00
Timofey Solonin bf6a82fdc1 Bump AGP compile-time dependency to 7.3.0
In this version addGeneratedSourceDirectory API used available to
publish assets in the aar

^KT-65540
2024-02-28 10:37:16 +00:00
Timofey Solonin 7e9e064748 Add an IT for publication of multiplatform resources in a jvm target
^KT-65540
2024-02-27 14:04:51 +00:00
Timofey Solonin 370799b4e3 Publish multiplatform resources in for jvm target
^KT-65540
2024-02-27 14:04:51 +00:00
Timofey Solonin 3dd33e5aa7 Add external APIs to publish multiplatform resources in a target
^KT-65540
2024-02-27 14:04:51 +00:00
Timofey Solonin 5ddc7b47ef Add a task to hierarchically assemble multiplatform resources
^KT-65540
2024-02-27 10:27:38 +00:00
Timofey Solonin 74628c0394 Register multiplatform publication extension
^KT-65540
2024-02-27 10:27:38 +00:00
Timofey Solonin ea0c3837a0 Add kotlin.mpp.enableResourcesPublication feature toggle
^KT-65540
2024-02-27 10:27:38 +00:00
Timofey Solonin 700432e111 Add a closure function to return a graph in explicit bfs order
^KT-65540
2024-02-19 09:28:08 +00:00
Timofey Solonin 0aa7b6f6ad Fix UnsafeNumber being applied incorrectly in hierarchical commonization
^KT-64376
2024-01-15 09:35:43 +00:00
Timofey Solonin 3c03e388d2 Record erroneous UnsafeNumber commonization behavior
^KT-64376
2024-01-15 09:35:43 +00:00
Timofey Solonin 59b8941c28 Remove ModuleResult.Missing from commonization results
This result seems to not be used

^KT-51026
2024-01-11 08:57:28 +00:00
Timofey Solonin 57c7a71cbf Run ObjCToKotlinSteppingInLLDBTest only on arm64 macOS
^KT-63598
2023-12-17 12:46:58 +00:00
Timofey Solonin a03f0ef4ee Generate CMakeLists for convenient DevX in llvmDebugInfoC
^KT-63598
2023-12-06 18:56:28 +00:00
Timofey Solonin c8b77fe18c Run lldb tests only on arm64 macOS and only in debug mode
^KT-63598
2023-12-06 08:39:06 +00:00
Timofey Solonin 04dec2769b Step through the <compiler-generated> functions via a stop hook in konan_lldb.py
^KT-63598
2023-12-04 10:20:54 +00:00
Timofey Solonin 22b2c1a587 Move konan_lldb.py with from the KMM plugin
This version of the konan_lldb.py has scripted breakpoints to avoid
stepping into <compiler-generated> routines.

^KT-63598
2023-12-04 07:33:21 +00:00
Timofey Solonin 8dc9307f9e Add iconv void * overloads for backwards compatibility
Since Xcode 15 the iconv APIs operate on an opaque type __tag_iconv_t* instead of
void*. This causes a runtime exception in older Ktor versions which
depended on iconv.

^KT-62286
2023-10-04 08:04:37 +02:00
Timofey Solonin f3bc8677c5 Increase execution timeout due to slower Rosetta agents
^KT-61369
2023-10-02 10:13:57 +00:00
Timofey Solonin 7973d898d2 Remove __clear_cache builtin and SparseGetInertia from the targets where
these functions are unlinkable

^KT-61369
2023-10-02 10:13:57 +00:00
Timofey Solonin 35de28d1aa Make NSBezierPathElement an enum
and move NSImage and NSProgessIndicator APIs from categories back to the types

^KT-61369
2023-10-02 10:13:57 +00:00
Timofey Solonin e7dbb9c9a8 Return APIs hidden by __CCT_ENABLE_USER_SPACE
^KT-61369
2023-10-02 10:13:56 +00:00
Timofey Solonin 33a4958c4c Move CloudKit changes from a category to the type
^KT-61369
2023-10-02 10:13:56 +00:00
Timofey Solonin 94f86d6ef9 Update def files for Xcode 15
^KT-61369
2023-10-02 10:13:56 +00:00
Timofey Solonin 622dba2ad5 Update Xcode to 15 RC
^KT-61369
2023-10-02 10:13:56 +00:00
Timofey Solonin 5e1031d98f Adhoc codesign explicitly for arm64 tvos simulator
due to Xcode 15's new linker not codesigning. Without signing binaries
are not runnable on arm64 macOS.

^KT-62086
2023-10-02 09:52:44 +00:00
Timofey Solonin 53584cdd49 Don't emit CAST_NEVER_SUCCEEDS when casting to a forward declaration type
^KT-58929
2023-09-13 17:49:12 +00:00
Timofey Solonin 28f90b3ea8 Add CAST_NEVER_SUCCEEDS diagnostic to forwardDeclarations.kt
Add safe as casts to forwardDeclarations.kt

^KT-58929
2023-09-13 17:49:12 +00:00
Timofey Solonin 9e7d9f3b53 Use llbuild.framework bundled with the internal toolchain
^KT-61369
2023-09-13 10:12:51 +00:00
Timofey Solonin 14bed668d4 Revert "[MPP] Emit a warning when kotlin-test testing framework couldn't be inferred"
This reverts commit 256d9da24c.

Revert "[MPP] Only add test framework dependency once per configuration"

This reverts commit 65649673a7.

^KT-56828
2023-09-05 18:55:15 +00:00
Timofey Solonin f20cc10660 [MPP] Add intel macOS support and create simulators for the test run
^KT-61439
2023-08-29 09:18:44 +00:00
Timofey Solonin 53645bce2b [MPP] Specify missing target for arm macOS
^KT-61439
2023-08-25 18:21:27 +00:00
Timofey Solonin d25d0e4f94 [MPP] Validate which configurations resolve for explicit stdlib-js dependency
^KT-60901
^KT-61126
2023-08-11 14:52:03 +00:00
Timofey Solonin 78e09816e5 [MPP] Use assemble instead of resolving all configurations
We expect that some configurations might fail to resolve in the case of
stdlib-js dependency if they are resolved explicitly. These configurations
should not actually resolve for the KGP user.

^KT-60901
^KT-61126
2023-08-11 14:52:03 +00:00
Timofey Solonin d2728e0baf Advance bootstrap to 1.9.20-dev-9102 2023-08-08 04:12:08 +00:00
Timofey Solonin 65649673a7 [MPP] Only add test framework dependency once per configuration
^KT-56828
2023-08-04 09:50:35 +00:00
Timofey Solonin 256d9da24c [MPP] Emit a warning when kotlin-test testing framework couldn't be inferred
^KT-56828
2023-08-04 09:50:35 +00:00
Timofey Solonin 1832a6d936 [KT-58234][MPP] Demote KotlinCompilation.source deprecation to a warning
^KT-58234
2023-07-31 15:34:29 +00:00
Timofey Solonin 181d6b64a2 [MPP] Add ExperimentalForeignApi to CocoaPods tests
^KT-58362
2023-07-31 15:33:34 +00:00
Timofey Solonin 969deb639c [MPP] Deprecate preset APIs
^KT-59321
2023-07-28 17:53:45 +00:00
Timofey Solonin a580d4e5aa [MPP] Validate fromPreset API changes 2023-07-28 17:53:45 +00:00
Timofey Solonin 0ad8407b57 [MPP] Add TargetPreset APIs deprecation tests
^KT-59321
2023-07-28 17:53:45 +00:00
Timofey Solonin 6d9b34ab46 Deprecate kotlin.mpp.androidSourceSetLayoutVersion=1
^KT-58489
2023-07-27 18:37:06 +00:00
Timofey Solonin 167ddc556d [MPP] Don't publish PM20
^KT-60198
2023-07-27 15:54:06 +00:00
Timofey Solonin cd073690fa [MPP] Add LC_ALL to CocoaPods IT
^KT-60394
2023-07-25 13:11:02 +00:00
Timofey Solonin f47ebcf1b7 [MPP] Fail pod install in IT if it returns non-zero exit code
^KT-60394
2023-07-25 13:11:02 +00:00
Timofey Solonin 6edfda0204 [MPP] Run pod install through env to prevent ProcessBuilder from missing
PATH modifications

^KT-60394
2023-07-17 14:18:37 +00:00
Timofey Solonin c245fa45e3 Split K2 and K1 test data for multiplatform feature diagnostic
and add an explicit expect to the test data

^KT-31281
2023-07-12 10:50:33 +00:00
Timofey Solonin e12e78d96b Add an explicit diagnostic for when expect/actual modifiers are used in
an unsupported compilation

^KT-31281
2023-07-12 08:29:28 +00:00
Timofey Solonin 792b6482c0 Emit MultiPlatformProjects diagnostic on all declarations
where expect/actual modifier is present

^KT-31281
2023-07-10 17:26:23 +00:00
Timofey Solonin 5026778cd1 [MPP] Inject CInteropCommonizerTask from outside instead of using a
future

^KT-58712
2023-07-06 10:20:04 +00:00
Timofey Solonin 2760a25e2c [MPP] Assert that the coroutine block actually runs
^KT-58712
2023-07-06 05:51:21 +00:00
Timofey Solonin 5d8e23e971 [MPP] Don't enable commonization in subprojects of a project where
CocoaPods plugin was applied

^KT-58712
2023-07-05 11:21:47 +00:00
Timofey Solonin 4695d9088a [MPP] Enable cinterop commonization if CocoaPods plugin is applied
^KT-58712
2023-07-03 18:42:14 +00:00
Timofey Solonin e59371d291 [MPP] Add a test for configuration avoidance between CommonizeCInterop
and CInterop tasks

^KT-58712
2023-07-03 15:41:31 +00:00
Timofey Solonin a1db10c5fe [MPP] Use SetProperty in CInteropCommonizerTask for configuration avoidance
^KT-58712
2023-07-03 15:41:30 +00:00
Timofey Solonin d6d1ed6c35 [MPP] Fix NewMultiplatformIT and make it run on arm macOS
^KT-58822
2023-06-29 14:59:45 +00:00
Timofey Solonin 16236936e5 [MPP] Use proper assertion in CommonizerIT
^KT-58712
2023-06-28 16:58:10 +00:00
Timofey Solonin 19c6622ff6 [MPP] Remove obsolete targets from NewMultiplatformIT and ConfigurationCacheIT
^KT-58822
2023-06-16 18:44:03 +00:00
Timofey Solonin cba7154e8a [MPP] Remove broken execution test and replace obsolete targets in CommonizerIT with curl
^KT-58822
2023-06-16 18:05:54 +00:00
Timofey Solonin 5df50c0fca [MPP] Remove obsolete targets from CommonizerHierarchicalIT.commonizeHierarchically
^KT-58822
2023-06-16 17:20:58 +00:00
Timofey Solonin 6d66eb4ac2 [MPP] Use two simulator targets in CocoaPodsIT
^KT-58822
2023-06-14 12:28:23 +00:00
Timofey Solonin 14bc02287b [MPP] Replace obsolete target in CommonizerHierarchicalIT.optimisticCommonization
^KT-58822
2023-06-14 12:10:00 +00:00
Timofey Solonin 5af8b9e819 [MPP] Remove obsolete targets from KlibBasedMppIT
^KT-58822
2023-06-14 08:50:53 +00:00
Timofey Solonin 2353424817 [MPP] Remove obsolete targets from CommonizerIT.commonizeNativeDistributionWithIosLinuxWindows
^KT-58822
2023-06-13 18:31:46 +00:00
Timofey Solonin d7a2e11011 [MPP] Remove obsolete targets from CommonizerHierarchicalIT.commonizeHierarchicallyMultiModule
^KT-58822
2023-06-13 16:04:38 +00:00
Timofey Solonin e39d9c2c35 [MPP] Remove mingwx86 from CommonizerIT.commonizeMultipleCInteropsWithTests
^KT-58822
2023-06-13 14:53:38 +00:00
Timofey Solonin 0c464450a9 Remove extraneous checks 2023-06-13 12:32:41 +00:00
Timofey Solonin 76eef2adb1 [MPP] Remove obsolete targets from MppCInteropDependencyTransformationIT.ComplexProject
^KT-58822
2023-06-13 12:32:41 +00:00
Timofey Solonin 97e48eee7a [MPP] Remove unnecessary platform limitations in CommonizerHierarchicalIT
^KT-58822
2023-06-09 12:24:01 +00:00
Timofey Solonin bc306844af [MPP] Replace obsolete linuxArm32Hfp with mingwX64 in CommonizerIT test for KT-48138
^KT-48138
^KT-58822
2023-06-07 19:27:02 +00:00
Timofey Solonin 4cb90aed52 [MPP] Remove obsolete target from CommonizerIT test for KT-47641
^KT-47641
^KT-58822
2023-06-07 18:45:01 +00:00
Timofey Solonin f27ca23000 [MPP][Gradle] Replace obsolete linuxArm32Hfp target with mingwX64 in MppCInteropDependencyTransformationIT.KT50952
^KT-50952
^KT-58822
2023-06-07 15:19:14 +00:00