Dmitrii Gridin
8a9acfcab0
[SLC] SymbolLightModifierList: replace custom loop with compareAndSet with updateAndGet
...
^KTIJ-23783
2022-12-06 13:40:50 +00:00
Dmitrii Gridin
3ee451c873
[SLC] SymbolLightFieldForObject: reduce allocations number
...
^KTIJ-23783
2022-12-06 13:40:49 +00:00
Dmitrii Gridin
91586705b3
[SLC] SymbolLightSimpleMethod: reduce allocations number
...
^KTIJ-23783
2022-12-06 13:40:49 +00:00
Dmitrii Gridin
c5c79a5fb5
[SLC] SymbolLightModifierList: improve equals
...
^KTIJ-23783
2022-12-06 13:40:48 +00:00
Dmitrii Gridin
2ec09408d3
[SLC] SymbolLightModifierList: avoid redundant array allocation
...
^KTIJ-23783
2022-12-06 13:40:48 +00:00
Dmitrii Gridin
a7390d027a
[SLC] migrate from ImmutableHashMap to PersistentHashMap
...
^KTIJ-23783
2022-12-06 13:40:48 +00:00
Dmitrii Gridin
9bc37d7f3f
[SLC] introduce some utils
...
^KTIJ-23783
^KTIJ-23519
2022-12-06 13:40:47 +00:00
Dmitrii Gridin
856d272ca4
[SLC] implement lazy calculation for modifiers
...
and fix some annotations
^KTIJ-23783 Fixed
2022-12-06 13:40:47 +00:00
Dmitrii Gridin
e2082fb0d7
[SLC] fix visibility for lateinit properties from companion
...
^KTIJ-23519 Fixed
2022-12-06 13:40:46 +00:00
Dmitrii Gridin
7bfa900ce6
[SLC] fix modality for methods and property accessors
...
^KTIJ-23783
2022-12-06 13:40:46 +00:00
Dmitrii Gridin
00ab33bbf9
[SLC] extract non-common logic from computeModalityForMethod
...
^KTIJ-23783
2022-12-06 13:40:45 +00:00
Dmitrii Gridin
a8c111b304
[SLC] drop redundant resolve for visibility, fix several cases
...
^KTIJ-23783
2022-12-06 13:40:45 +00:00
Dmitrii Gridin
9970623e95
[SLC] SymbolLightModifierList: separate static and lazy modifiers
...
^KTIJ-23783
2022-12-06 13:40:45 +00:00
Dmitrii Gridin
fc8ae0f2e5
[SLC] SymbolLightModifierList: move modifier logics to common part
...
^KTIJ-23783
2022-12-06 13:40:44 +00:00
Dmitrii Gridin
cba70d70a7
[SLC] drop hack with setParent for annotations
...
^KTIJ-23783
2022-12-06 13:40:44 +00:00
Yahor Berdnikau
c682d4f4cc
Use 'jvm-test-suite' for KGP functional tests
2022-12-06 13:18:43 +00:00
Anton Lakotka
8726360a8e
[Gradle] Update tests after removing runtimeOnly metadata transformations
...
Additionally check that all metadata dependencies per scope resolve
consistently. It is a side effect after creating GranularMetadata
dependency for all compile scopes instead per scope style.
^KT-55230
2022-12-06 12:49:28 +00:00
Anton Lakotka
d28659fdbe
[Gradle] Merge scoped dependency transformations to one: compile scope
...
There is no need on fine-grained metadata dependencies transformation
per scope. Because it is only needed for compilation.
^KT-55230 Fixed
2022-12-06 12:49:27 +00:00
Anton Lakotka
98678bce0a
[Gradle] Remove metadata dependencies transformation for runtimeOnly
...
Kotlin Metadata KLIBs cannot be used in runtime thus
we don't have to transform composite JARs that contain
metadata per source set for runtimeOnly dependencies scopes.
^KT-55230 Fixed
2022-12-06 12:49:27 +00:00
Bogdan Mukvich
5db9c2990a
Remove deprecated dependencies resolvers from kotlin-script-util
...
along with outdated maven dependencies
2022-12-06 09:52:17 +00:00
Sebastian Sellmair
56b57f1908
[Gradle] Fix ConfigurationCacheIT.testCommonizer
...
... after removing Project parameter for 'getCommonizerTarget' calls
KT-55238
2022-12-06 08:36:13 +00:00
Sebastian Sellmair
7258926db6
[Gradle] IdeCompositeDependencyResolver: Support WithBuildDependencies
...
KT-55238
2022-12-06 08:36:13 +00:00
Sebastian Sellmair
b4b0607597
[Gradle] Refine MppIdeDependencyResolutionIT
...
KT-55238
2022-12-06 08:36:13 +00:00
Sebastian Sellmair
23bd6332b4
[Gradle] Update kotlin-gradle-plugin-idea.api
...
KT-55238
2022-12-06 08:36:12 +00:00
Sebastian Sellmair
2225816427
[Gradle] CInteropCommonizerDependent: Remove unused Project parameters
...
KT-55238
2022-12-06 08:36:12 +00:00
Sebastian Sellmair
1ec7e404fd
[Gradle] Implement MppIdeDependencyResolutionIT.testCommonizedPlatformDependencyResolution
...
^KT-55238 Verification Pending
2022-12-06 08:36:12 +00:00
Sebastian Sellmair
ee07fcc00b
[Gradle] Implement IdeDependencyResolver.WithBuildDependencies
...
KT-55238
2022-12-06 08:36:11 +00:00
Sebastian Sellmair
4b036cc627
[Gradle] Implement IdeCommonizedNativePlatformDependencyResolver
...
KT-55238
2022-12-06 08:36:11 +00:00
Sebastian Sellmair
c1b1737cf0
[Gradle][Minor] Remove Project receiver from .getCommonizerTarget functions
...
KT-55238
2022-12-06 08:36:10 +00:00
Sebastian Sellmair
f8919533dc
[Gradle] Update kotlin-gradle-plugin-api.api
...
KT-55218
2022-12-06 08:35:17 +00:00
Sebastian Sellmair
7c70319308
[Gradle] KotlinTargetHierarchyBuilder: Support Android compilations
...
KT-55218
2022-12-06 08:35:17 +00:00
Sebastian Sellmair
8bea195d68
[Gradle] KotlinTargetHierarchyBuilder: Use any prefix for target functions
...
... to disambiguate with target preset functions
KT-55218
2022-12-06 08:35:16 +00:00
Nikolay Krasko
9a69c1dd35
Clean-up verification-metadata.xml from old dependencies
2022-12-05 20:11:26 +00:00
Nikolay Krasko
57ffc61cc1
Reveal non-boostrap kotlin dependency usages
2022-12-05 20:11:26 +00:00
Nikolay Krasko
13a4fc7f36
Remove mute-platform.csv tests
2022-12-05 20:11:25 +00:00
Nikolay Krasko
edc562e8b9
Remove old android-studio jps module
2022-12-05 20:11:24 +00:00
Anton Lakotka
6614714c94
[Gradle] Register sourcesJar during KotlinSoftwareComponent init
...
sourcesJar task should be available as soon as kotlin multiplatform
plugin is applied before actual evaluation.
Although copySpec of sourcesJar task will be updated in afterEvaluate
block since user should define themselves targets and intermediate
source sets between them.
^KT-55230
2022-12-05 16:54:58 +00:00
Anton Lakotka
290e50eebf
[Gradle, Test] Test that sourcesJar is available during configuration
...
^KT-55230
2022-12-05 16:54:57 +00:00
Ilya Kirillov
5477e2073f
[Analysis API] fix typo in testdata filenames
2022-12-05 17:27:43 +01:00
Ilya Kirillov
8e70dbc7e3
[FIR] fix SOE on cycle hierarchy of Java classes during status computation
2022-12-05 17:27:43 +01:00
Ilya Kirillov
03549d4b98
[FIR] remove suspicious safe-cast to FirResolvedDeclarationStatus in status tranformer
...
Statuses of super members should already be preresolved
2022-12-05 17:27:43 +01:00
Ilya Kirillov
82fe86c003
[FIR] fix lazy resolution contract violation in status resolve transformer
...
Previously, there was issue with resolving statuses of properties' super
declarations for anonymous/local classes.
And this problem was hidden by calling lazyResolveToPhase(STATUS) which
is a violation of lazy resolution contract as lazy resolution to status
cannot be called from the status phase itself
^KT-54890
2022-12-05 17:27:42 +01:00
Ilya Kirillov
c899f6dae3
[LL FIR] fix lazy resolution of member property statuses for anonymous objects
...
Previously, statuses of superclass which are not local was not ignored
Sometimes it worked in the IDE by calling lazyResolveToPhase
which is a violation of the lazy resolution contract
^KT-54890
2022-12-05 17:27:42 +01:00
Ilya Kirillov
c66fbf5c0e
[LL FIR] fix lazy resolution of member-property statuses for local classes
...
Previously, statuses of superclass which are not local was not ignored
Sometimes it worked in the IDE by calling lazyResolveToPhase
which is a violation of the lazy resolution contract
^KT-54890
2022-12-05 17:27:42 +01:00
Andrey Uskov
1550a37b17
Cleanup: remove deprecated methods from Kotlin daemon
2022-12-05 16:02:04 +00:00
Andrey Uskov
c9e0100214
Remove experimental implementation of Kotlin Compiler Daemon
...
#KT-50846 Fixed
2022-12-05 16:02:03 +00:00
Pavel Kirpichenkov
94f690a10e
[MPP] fix misconfigured project in test
...
JVM + linux project shouldn't have a JVM-only dependency in common
KT-54975
2022-12-05 14:55:46 +00:00
Yan Zhulanow
bcf1389ae5
[LL API] Fix enum value lazy analysis (KTIJ-23833)
...
^KTIJ-23833 Fixed
2022-12-05 11:44:15 +00:00
Jaebaek Seo
a637626601
Handle context receiver in KtModifierListOwner.addModifierList()
...
The existing `KtModifierListOwner.addModifierList(newModifierList)`
function adds a visibility keyword (e.g., `private`) in front of the
`context(..)` modifier, which generates wrong code. This commit fixes
it.
^KTIJ-23728 fixed
2022-12-05 11:20:03 +01:00
Simon Ogorodnik
9856204925
KTI-1046. Tests Replace XmlParser with JDOM in tests-spec
...
Fix test behaviour with two artifacts of spec on teamcity
2022-12-05 07:30:24 +00:00