Commit Graph

96936 Commits

Author SHA1 Message Date
Sebastian Sellmair 90f8edbe80 [Gradle] TCS:Gradle Sync: Initial support for multiplatform composite builds
KT-52172
2022-12-13 14:47:15 +00:00
Sebastian Sellmair d4177f167b [Gradle] ResolvedMppVariantsProvider: Use dependent.selected instead of requested...
... in order to support dependencySubstitutions

KT-52172
2022-12-13 14:47:15 +00:00
Sergey Bogolepov 287337007f [K/N] More clear separation of CAdapterGenerator
Separated CAdapterBindingsBuilder into
CAdapterCodegen and CAdapterApiExporter. It makes C export much more
comprehensible and allows to split it into more clear phases.
2022-12-13 14:42:22 +00:00
Sergey Bogolepov c33013e159 [K/N][CExport] Prepare a BuildCExports phase for the dynamic driver 2022-12-13 14:42:22 +00:00
Sergey Bogolepov 4b67ecc15b [K/N][CExport] Minor cleanup 2022-12-13 14:42:21 +00:00
Sergey Bogolepov 2881aa4478 [K/N][CExport] CAdapterGenerator.BindingsBuilder -> CAdapterBindingsBuilder 2022-12-13 14:42:21 +00:00
Sergey Bogolepov 4b6b74fb2c [K/N][CExport] Explicitly pass data to CAdapterGenerator.BindingsBuilder 2022-12-13 14:42:20 +00:00
Sergey Bogolepov 16b977530b [K/N][CExport] Replace CAdapterGenerator methods with CAdapterTypeTranslator 2022-12-13 14:42:20 +00:00
Sergey Bogolepov f66d42c644 [K/N][CExport] Extract type translation to a separate class 2022-12-13 14:42:20 +00:00
Sergey Bogolepov f467afa94b [K/N] Move CAdapter* to a separate package similar to objcexport 2022-12-13 14:42:19 +00:00
Ilya Kirillov 573811a199 [LL FIR] make FirDesignation.path type more precise. I's always a FirRegularClass 2022-12-13 13:16:33 +00:00
Ilya Kirillov cd83fec078 [LL FIR] fix lazy resolve of status for the members of the nested class
^KTIJ-23932 fixed
2022-12-13 13:16:32 +00:00
Artem Daugel-Dauge 82a3ac830e KT-55243 Fix Gradle 7.6 incompatible root project podspec generation
Merge-request: KT-MR-7988
Merged-by: Artem Daugel-Dauge <Artem.Daugel-Dauge@jetbrains.com>
2022-12-13 12:38:36 +00:00
Aleksei.Glushko c6d8af003d [K/N] Don't get out of bound during SSE hashCode calculation
Use loadl_epi64 to read vectors of u16x4.

Merge-request: KT-MR-7964
Merged-by: Alexey Glushko <aleksei.glushko@jetbrains.com>
2022-12-13 10:44:52 +00:00
vladislav.grechko 18edf43ec7 Disable 'InlineLateinit' feature in 1.9 language version
The feature is not ready to be shown in preview

^KT-55247: Fixed
2022-12-13 10:27:01 +00:00
vladislav.grechko eb87b726e2 Disable 'CustomEqualsInValueClasses' feature in 1.9 language version
The feature is not ready to be shown in preview

^KT-55246: Fixed
2022-12-13 10:27:01 +00:00
Andrey Uskov bdf20d756e Enable new incremental compilation by default
#KT-53832 Fixed
2022-12-12 21:40:29 +00:00
Sebastian Sellmair 5b0350d146 [Gradle] Make IdeBinaryDependencyResolver part of ExternalKotlinTargetApi
KT-55289
2022-12-12 20:29:14 +00:00
Sebastian Sellmair 59ddd381aa [Gradle] Implement IdeMultiplatformImportStatistics as project level service
KT-55289
2022-12-12 20:29:13 +00:00
Sebastian Sellmair 636d4a74a5 [Gradle] Add convenience extensions for IdeaKotlinBinaryDependency
^KT-55289 Verification Pending
2022-12-12 20:29:13 +00:00
Sebastian Sellmair 5deebd7209 [Gradle] Fix IdeSourceDependencyResolutionTest
... after 786ea79 [MPP] add tests for source set constraints

^KT-55289 Verification Pending
2022-12-12 20:29:13 +00:00
Sebastian Sellmair d7ba6916b5 [Gradle] Implement UnusedSourcesAndDocumentationFilter
^KT-55289 Verification Pending
2022-12-12 20:29:12 +00:00
Sebastian Sellmair 79fc191c20 [Gradle][Minor] Mark all IdeDependencyResolvers internal
^KT-55289 Verification Pending
2022-12-12 20:29:12 +00:00
Sebastian Sellmair d6f855b225 [Gradle] Implement very simple performance tracking for IdeDependencyResovlers
^KT-55289 Verification Pending
2022-12-12 20:29:12 +00:00
Sebastian Sellmair 7a89f4087a [Gradle] Implement IdeSourcesAndDocumentationResolutionTest
^KT-55289 Verification Pending
2022-12-12 20:29:11 +00:00
Sebastian Sellmair 7b2c4856c4 [Gradle] Implement separate SourcesAndDocumentationResolution DependencyResolutionPhase
^KT-55289 Verification Pending
2022-12-12 20:29:11 +00:00
Sebastian Sellmair fd50860b57 [Gradle][Minor] Rename IdeStdlibImportTest.kt to IdeStdlibResolutionTest
^KT-55289 Verification Pending
2022-12-12 20:29:11 +00:00
Sebastian Sellmair 0395b8f975 [Gradle][Minor] Rename IdeResolveSourceDependenciesTest.kt to IdeSourceDependencyResolutionTest
^KT-55289 Verification Pending
2022-12-12 20:29:10 +00:00
Sebastian Sellmair 6457bae80c [Gradle] Rename IdeSlowSourcesAndDocumentationResolver.kt to IdeArtifactResolutionQuerySourcesAndDocumentationResolver
^KT-55289 Verification Pending
2022-12-12 20:29:10 +00:00
Sebastian Sellmair a438c12bf5 [Gradle] resolvableMetadataConfiguration: Use named configuration and extendsFrom
^KT-55289 Verification Pending
2022-12-12 20:29:10 +00:00
Sebastian Sellmair f0ac427f46 [Gradle] Remove old comment from resolvableMetadataConfiguration.kt
^KT-55289 Verification Pending
2022-12-12 20:29:10 +00:00
Sebastian Sellmair 077945ef46 [Gradle] Adjust NewMultiplatformIT: Add stdlib-common
^KT-55289 Verification Pending
2022-12-12 20:29:09 +00:00
Sebastian Sellmair eabc763c4f [Gradle] resolvableMetadataConfiguration: Use detachedConfiguration
^KT-55289 Verification Pending
2022-12-12 20:29:09 +00:00
Sebastian Sellmair b659778b2f [Gradle] Implement IdeMetadataSourcesResolver by resolving 'resolvableMetadataConfiguration'
^KT-55289 Verification Pending
2022-12-12 20:29:09 +00:00
Sebastian Sellmair bfdcda82ab [Gradle] Rename IdePlatformDependencyResolver.kt to IdeBinaryDependencyResolver
^KT-55289 Verification Pending
2022-12-12 20:29:08 +00:00
Sebastian Sellmair 703fd0f23a [Gradle] GranularMetadataTransformation: Re-use resolvableMetadataConfiguration
^KT-55289 Verification Pending
2022-12-12 20:29:08 +00:00
Sebastian Sellmair ec9956041a [Gradle] Implement and re-use resolvableMetadataConfiguration for Source Sets
^KT-55289 Verification Pending
2022-12-12 20:29:07 +00:00
Sebastian Sellmair 764a57f126 [kotlin-tooling-core] Implement ExtrasLazyProperty
^KT-55289 Verification Pending
2022-12-12 20:29:07 +00:00
Sebastian Sellmair bd229584e4 [Gradle] Implement sources.jar resolvers
^KT-55289 Verification Pending
2022-12-12 20:29:07 +00:00
Yahor Berdnikau ff73e7a37a Fix version parsing crash on Gradle rich version string
Gradle accepts different types of version string declaration:
https://docs.gradle.org/current/userguide/single_versions.html. Now code
 should parse such declarations into semantic versioning without
 exception.

^KT-55255 Fixed
2022-12-12 19:26:07 +00:00
Yahor Berdnikau 25553b81d5 Fix local bootstrap fails to import into IDEA
Included builds fails to find root dir bootstrap directory and fails
with unresolved dependency error.
2022-12-12 16:52:15 +00:00
Mikhail Glukhikh 6111daa8f7 Fix a pair of broken lazy resolve tests after rebase 2022-12-12 17:27:19 +01:00
Ilya Kirillov 644d1bf0d0 [FIR] ignore tests which fail because of resolve contracts violation 2022-12-12 16:21:07 +00:00
Mikhail Glukhikh 43775a5912 [FIR] disable lazy resolve checks on building deserialized annotation arguments
During converting library annotations to FIR nodes
and building required scopes inside, lazyResolveToPhase may be called.
For such cases it's okay to skip the lazy resolve contract checks as
those declarations are always fully resolved and
lazy resolve will do nothing.
2022-12-12 16:21:07 +00:00
Mikhail Glukhikh b07d353fd4 Lazy...ResolverWithPhaseChecking: move to test sources 2022-12-12 16:21:07 +00:00
Mikhail Glukhikh 96d697e61b Lazy...ResolverWithPhaseChecking: add note about symbol current phase 2022-12-12 16:21:06 +00:00
Mikhail Glukhikh 1bb537a3f2 Cleanup: FirStatusResolveTransformer 2022-12-12 16:21:06 +00:00
Ilya Kirillov 7bac119f20 [FIR] add lazy resolution contract checks in resolve 2022-12-12 16:21:06 +00:00
Mikhail Glukhikh df5aa59185 K2: Don't use FirTypeParameterSymbol.resolvedBounds() from inference 2022-12-12 16:21:05 +00:00
Nikolay Krasko e57521ed23 Remove bintray mentioning from the servers list 2022-12-12 15:53:23 +00:00