Commit Graph

96481 Commits

Author SHA1 Message Date
Dmitrii Gridin 577bc243d2 [LC] KtLightIdentifierBase: add missing copy
^KT-54051
2022-11-29 13:33:38 +00:00
Dmitrii Gridin 43561a935c [SLC] drop KtAnalysisSession from SymbolLightNoArgConstructor
^KT-54051
2022-11-29 13:33:38 +00:00
Dmitrii Gridin a263b907c5 [SLC] api for constructors should be based on SymbolLightClassForClassOrObject
^KT-54051
2022-11-29 13:33:38 +00:00
Dmitrii Gridin 0227bb14db [SLC] drop KtAnalysisSession from SymbolLightAccessorMethod
^KT-54051
2022-11-29 13:33:37 +00:00
Dmitrii Gridin 5aa7634590 [SLC] introduce restoreSymbolOrThrowIfDisposed
^KT-54051
2022-11-29 13:33:37 +00:00
Dmitrii Gridin 6aaed07a93 [SLC] drop KtAnalysisSession from SymbolLightMethodBase
^KT-54051
2022-11-29 13:33:37 +00:00
Dmitrii Gridin 40bd222b78 [SLC] drop KtAnalysisSession from SymbolLightFieldForProperty
^KT-54051
2022-11-29 13:33:36 +00:00
Dmitrii Gridin 3764fa5454 [SLC] SymbolLightMemberBase: cleanup code
^KT-54051
2022-11-29 13:33:36 +00:00
Dmitrii Gridin a25922f054 [SLC] SymbolBasedFakeLightClass: cleanup code
^KT-54051
2022-11-29 13:33:36 +00:00
Dmitrii Gridin a7fae5fd99 [SLC] SymbolLightClassForEnumEntry: improve implementation
^KT-54051
^KT-50241
2022-11-29 13:33:35 +00:00
Dmitrii Gridin 5f20c10185 [SLC] SymbolLightMethodBase: cleanup code
^KT-54051
2022-11-29 13:33:35 +00:00
Dmitrii Gridin 62b4c7e52a [SLC] drop KtAnalysisSession from SymbolLightClassForEnumEntry
^KT-54051
2022-11-29 13:33:35 +00:00
Dmitrii Gridin b6baa1e3f6 [SLC] drop KtAnalysisSession from SymbolLightFieldForObject
^KT-54051
2022-11-29 13:33:34 +00:00
Dmitrii Gridin d57f3c6d18 [SLC] drop KtAnalysisSession from SymbolLightFieldForEnumEntry
^KT-54051
2022-11-29 13:33:34 +00:00
Dmitrii Gridin ec569b3fa3 [SLC] drop KtAnalysisSession from SymbolLightClassForFacade
^KT-54051
2022-11-29 13:33:34 +00:00
Dmitrii Gridin 3c235681ea [SLC] update signature for createInheritanceList
^KT-54051
2022-11-29 13:33:33 +00:00
Dmitrii Gridin a539203e73 [SLC] drop KtAnalysisSession from SymbolLightClassBase
^KT-54051
2022-11-29 13:33:33 +00:00
Dmitrii Gridin 187557306a [SLC] drop redundant @OptIn(KtAllowAnalysisOnEdt::class) annotation
^KT-54051
2022-11-29 13:33:33 +00:00
Dmitrii Gridin db23cbe29e [AA] introduce api to create symbol pointer from psi
^KT-54051
2022-11-29 13:33:32 +00:00
Dmitrii Gridin c6987744be [SLC] SymbolLightFieldForEnumEntry: override right computeConstantValue
^KT-50241
2022-11-29 13:33:32 +00:00
Sebastian Sellmair 05b8a26a17 [Gradle] IdeMultiplatformImport: Support LibraryBinaryIdentifier 2022-11-29 12:52:51 +00:00
Dmitriy Novozhilov 46928eaa0b [FIR] Unconditionally enable BooleanElvisBoundSmartCasts feature in K2
^KT-54694 Fixed
^KT-26357
2022-11-29 12:25:45 +00:00
Dmitriy Novozhilov ac7fddaad5 [FE] Always infer upper types to intersection types in K2...
...and always use old algorithm for K1

^KT-51221
2022-11-29 12:25:44 +00:00
Sergej Jaskiewicz d50c072af0 [klib] Validate paths when unpacking zip archives 2022-11-29 12:21:04 +00:00
Dmitriy Dolovov 898626d055 [Gradle][IT] Fix K/N IT that fails due to new interop library CoreFoundationBase 2022-11-29 10:19:00 +00:00
Sebastian Sellmair 0b5d905577 [Gradle] Update kotlin-tooling-core.api and kotlin-gradle-plugin-idea.api
^KT-55112 Verification Pending
2022-11-29 08:05:15 +00:00
Sebastian Sellmair 80f22dda28 [Gradle] Cleanup IdeMultiplatformImportFactory.kt
^KT-55112 Verification Pending
2022-11-29 08:05:15 +00:00
Sebastian Sellmair d6f9e62565 [Gradle] Constraint IdeVisibleMultiplatformSourceDependencyResolver to non-leaf source sets
^KT-55112 Verification Pending
2022-11-29 08:05:15 +00:00
Sebastian Sellmair 2f5dc93ba7 [Gradle] Replace IdeaKotlinProjectArtifactDependency.Resolver by resolved function
^KT-55112 Verification Pending
2022-11-29 08:05:14 +00:00
Sebastian Sellmair 4c270c7f6e [kotlin-tooling-core] Implement HasExtras utils
^KT-55112 Verification Pending
2022-11-29 08:05:14 +00:00
Sebastian Sellmair 55cfe52e7d [Gradle] IdeaKotlinProjectArtifactDependencyMatcher: Use host independent path matcher
^KT-55112 Verification Pending
2022-11-29 08:05:14 +00:00
Sebastian Sellmair 3f24b690e2 [Gradle] IdeVisibleMultiplatformSourceDependencyResolver: Reuse resolveMetadata function
^KT-55112 Verification Pending
2022-11-29 08:05:13 +00:00
Sebastian Sellmair 813fb6fc40 [Gradle] kgp-idea: Update api reference
KT-55112
2022-11-29 08:05:13 +00:00
Sebastian Sellmair f9d1286fce [Gradle] kgp-idea: Compatibility tests: bump version to 1.8.20-dev-3076
KT-55112
2022-11-29 08:05:13 +00:00
Sebastian Sellmair 4c69b5867f [Gradle][Minor] Update Test__Kotlin_Gradle_Plugin___idea.xml
KT-55112
2022-11-29 08:05:12 +00:00
Sebastian Sellmair 2bfc559c50 [Gradle] Implement IdeaKotlinEntityTest and IdeaKotlinEntity annotations
KT-55112
2022-11-29 08:05:12 +00:00
Sebastian Sellmair 2c55d2cea3 [Gradle] Implement IdeaKotlinProjectArtifactDependency.Resolver.composite
KT-55112
2022-11-29 08:05:12 +00:00
Sebastian Sellmair 273f8a8434 [Gradle] Implement IdeaKotlinProjectArtifactDependency.Resolver
KT-55112
2022-11-29 08:05:11 +00:00
Sebastian Sellmair 0aad848757 [Gradle] IdeMultiplatformImport: Force empty binary resolve for Android dependencies
KT-55112
2022-11-29 08:05:11 +00:00
Sebastian Sellmair 90248f4e44 [Gradle] Share utils in IdeMetadataDependencyResolvers with IdeJvmAndAndroidSourceDependencyResolver
KT-55112
2022-11-29 08:05:11 +00:00
Sebastian Sellmair cda82b47e0 [Gradle] Implement IdeaKotlinProjectArtifactDependency
KT-55112
2022-11-29 08:05:10 +00:00
Sebastian Sellmair e6daabdb2d [Gradle] IdeOriginalMetadataDependencyResolver: Safe cast to ModuleCompontentIdentifier
KT-55112
2022-11-29 08:05:10 +00:00
Sebastian Sellmair dcc196db04 [Gradle] Implement IdeJvmAndAndroidSourceDependencyResolver
KT-55112
2022-11-29 08:05:10 +00:00
Sebastian Sellmair 38446dc3e8 [Gradle] IdeResolveSourceDependenciesTest: Implement jvmAndAndroid test
KT-55112
2022-11-29 08:05:09 +00:00
Sebastian Sellmair d935e41862 [Gradle] Implement IdeFriendSourceDependencyResolver & IdeVisibleMultiplatformSourceDependencyResolver
KT-55112
2022-11-29 08:05:09 +00:00
Mads Ager 30002e29d1 [KAPT+JVM_IR] Do not generate initializers for delegated properties.
^KT-54870 Fixed
2022-11-28 22:27:09 +01:00
Alexander Korepanov 9dab8637a8 [JS Gradle] Pass incremental cache root dir to K2JS compiler 2022-11-28 20:46:40 +00:00
Alexander Korepanov 693258ae91 [JS IR] Invalidate all klib dependencies after removing it
Without the invalidation, broken JS code
 (with broken cross-module references) may appear.

 ^KT-54911 Fixed
2022-11-28 20:46:40 +00:00
Alexander Korepanov ca19d71a00 [JS IR] Commit cache header after lowering
Commiting cache header before lowering may
 break caches in case of lowering errors.

^KT-54912 Fixed
2022-11-28 20:46:40 +00:00
Alexander Korepanov 8cde0a81bc [JS IR] Use topological order for loading klibs in JS IR IC
Generally, the library order doesn't matter.

 However, after lowering we need to post process
 lowered klibs in topological order:
  - commit incremental cache artifacts,
  - produce JS AST.

 The patch uses an ability of the Kotlin library resolver to load klibs
 in topological order and drops its reimplementation from IC infrastructure.

 There is one side effect:
   klibs which are not reachable from the main module, will produce their JS.
   This should be more correct than just ignoring them.
2022-11-28 20:46:39 +00:00