sebastian.sellmair
6d31750673
[Commonizer] assembelCirTree: Supoprt TypeAlias -> Class commonization
2021-04-09 23:36:02 +02:00
sebastian.sellmair
28adf6345d
[Minor] Optimize imports of CirProperty.kt
2021-04-09 23:36:02 +02:00
sebastian.sellmair
9c1c506b21
[Minor] Move ClassesToProcess into .tree.deserializer package
2021-04-09 23:36:02 +02:00
sebastian.sellmair
d0f8395556
[Commonizer] Remove old mergers
2021-04-09 23:36:01 +02:00
sebastian.sellmair
14161c8250
[Commonizer] Prevent copying missing modules that are already present in destination
2021-04-09 23:36:01 +02:00
sebastian.sellmair
933c52d470
[Commonizer] Gracefully handle absent targets for hierarchical commonization
2021-04-09 23:35:59 +02:00
sebastian.sellmair
bbe499c1b6
[Commonizer] Re-introduce node builders 'parentCommonDeclaration' context
2021-04-09 23:35:59 +02:00
sebastian.sellmair
9cb67e06e3
[Commonizer] Only serialize common or LeafCommonizerTargets
2021-04-09 23:35:59 +02:00
sebastian.sellmair
88a913c7dc
[Commonizer] NativeLibraryLoader: Improve error message when loading a library fails
2021-04-09 23:35:58 +02:00
sebastian.sellmair
250915f377
[Commonizer] Implement AbstractInlineSourcesCommonizationTest and hierarchical commonization tests
2021-04-09 23:35:58 +02:00
sebastian.sellmair
a2436699ea
[Commonizer] Implement basic tests for CirTree merging
2021-04-09 23:35:58 +02:00
sebastian.sellmair
f252c3e2c1
[Commonizer] Implement CirTreeDependenciesDeserializerTest
2021-04-09 23:35:57 +02:00
sebastian.sellmair
c03d995e07
[Commonizer] Implement basic tests for CirTree deserializers
2021-04-09 23:35:57 +02:00
sebastian.sellmair
8c941fc203
[Gradle] Implement support for hierarchical commonization
2021-04-09 23:35:57 +02:00
sebastian.sellmair
68c3e39058
[Commonizer] Implement support for hierarchical commonization
2021-04-09 23:35:57 +02:00
sebastian.sellmair
108debdcc9
[Commonizer] Implement CirTree and CirTree deserializers and CirTree merging
2021-04-09 23:35:56 +02:00
sebastian.sellmair
cb1f3c3e32
[Commonizer] Make nodeBuilders contextless
2021-04-09 23:35:55 +02:00
sebastian.sellmair
66bc751407
[Commonizer] Inline 'hasAnythingToCommonize'
2021-04-09 23:35:55 +02:00
sebastian.sellmair
0a35d75039
[Commonizer] CommonizerParameters: Require TargetProviders as constructor argument
2021-04-09 23:35:55 +02:00
sebastian.sellmair
cdbede09df
Move 'TargetDependent' into commonizer module make it an interface
2021-04-09 23:35:55 +02:00
Abduqodiri Qurbonzoda
40d1849f33
Migrate compiler, idea and others to new case conversion api
2021-04-08 03:22:02 +03:00
Alexander Udalov
9b5bbb95e7
Refactor CirConstantValue similarly to KmAnnotationArgument
...
Introduce LiteralValue with generic value, and remove `value` from
enum/array/null subclasses.
2021-04-01 22:34:53 +02:00
Alexander Udalov
5f7f4a4ac8
Improve API of annotation arguments in kotlinx-metadata
...
See changes in ChangeLog.md for more information
2021-04-01 22:34:53 +02:00
sebastian.sellmair
2b7866402d
[Commonizer] Move KonanDistribution to :native:kotlin-klib-commonizer-api
2021-03-26 10:55:24 +00:00
sebastian.sellmair
6e3b1fd919
[Commonizer] RootMerger: Change priorities for typeResolver
...
This will prioritize classifiers from the following sources
in the provided order
1) Classifiers from the target's modulesProvider
2) Classifiers from the traget's direct dependencies
3) Classifiers from the more common dependencies
2021-03-26 10:55:24 +00:00
sebastian.sellmair
7f9fe6b332
[Commonizer] CInteropCommonizerTask: Provide custom/commonized native distribution dependencies
...
^KT-45497 Fixed
2021-03-26 10:55:22 +00:00
sebastian.sellmair
e44877f562
[Commonizer] LibraryCommonizer: Allow passing dependencies for a shared target
2021-03-26 10:55:21 +00:00
sebastian.sellmair
096e715652
[Commonizer] Split CirTreeMerger into composable 'Mergers'
2021-03-26 10:55:21 +00:00
Dmitriy Dolovov
5a35018a88
[Commonizer] Move source code to the folder that corresponds package name
2021-03-17 13:34:14 +03:00
Dmitriy Dolovov
fc4f66b702
[Commonizer] Change the main package name
...
org.jetbrains.kotlin.descriptors.commonizer -> org.jetbrains.kotlin.commonizer
2021-03-17 13:34:06 +03:00
sebastian.sellmair
d03a85525d
[Commonizer] DependencyLibrariesOptionType: Make option optional (default: empty)
2021-03-16 15:47:28 +00:00
sebastian.sellmair
73222fbc4f
[Commonizer] Add more verbose debugging information when failing to parse a task
2021-03-16 15:47:28 +00:00
sebastian.sellmair
80e964c166
[Commonizer] NativeKlibCommonize: Remove optimization for only loading dependencies from native distribution
...
This is removed for now, because of test failures on Windows.
It seems like the dependencies in the klib produced by Windows are not
correct.
See: https://youtrack.jetbrains.com/issue/KT-45471
^KT-45471
2021-03-16 15:47:25 +00:00
sebastian.sellmair
b777c89bc8
[Commonizer] NativeKlibCommonize: Only load dependencies from native distribution
2021-03-16 15:47:24 +00:00
Yan Zhulanow
0fb57d7253
Pill: Exclude native-commonizer from JPS modules
2021-03-16 19:21:50 +09:00
Dmitriy Dolovov
6791ae81db
[Commonizer] Minor. Clean-up in AbstractCommonizerTest
2021-03-15 11:25:48 +03:00
Dmitriy Dolovov
aa196ae813
[Commonizer] Minor. Clean-up in ValueParameterCommonizerTest
2021-03-15 11:25:43 +03:00
Dmitriy Dolovov
0bd5fdb611
[Commonizer] Minor. Formatted
2021-03-15 11:25:37 +03:00
Dmitriy Dolovov
ed98d878df
[Commonizer] Minor. Reorganize CirClass.supertypes
2021-03-15 11:25:32 +03:00
Dmitriy Dolovov
cd2f55ea2f
[Commonizer] Minor. Remove unused utility functions
2021-03-10 13:50:00 +03:00
Dmitriy Dolovov
c1848a26c3
[Commonizer] Use more compact interner based on THashSet
2021-03-10 13:49:54 +03:00
Dmitriy Dolovov
7a11c722c6
[Commonizer] Introduce CirProvided.ExportedForwardDeclarationClass
...
To represent classifiers that are actually exported forward declarations
2021-03-10 13:49:48 +03:00
Dmitriy Dolovov
76d93b6dca
[Commonizer] Read exported forward declarations for every C-interop module
2021-03-10 13:49:41 +03:00
Vladimir Ivanov
fd02802028
[Native] Export KDoc into generated native header
2021-03-09 16:50:23 +03:00
Dmitriy Dolovov
1a3515dbab
[Commonizer] Use Flag.Class.IS_VALUE instead of Flag.Class.IS_INLINE
...
Also: Rename CirClass.isInline to CirClass.isValue
2021-03-09 13:13:30 +03:00
Dmitriy Dolovov
0fb99f1bf2
[Commonizer] Rename: entityBuilders.kt to CirSerializers.kt
2021-03-09 13:13:24 +03:00
Dmitriy Dolovov
b41cc57ff7
[Commonizer] Rename: Cir<Entity>.build<Entity> to Cir<Entity>.serialize<Entity>
2021-03-09 13:13:18 +03:00
Dmitriy Dolovov
010ea39417
[Commonizer] Rename: MetadataBuilder -> CirTreeSeralizer
2021-03-09 13:13:13 +03:00
Dmitriy Dolovov
4f33abf5e4
[Commonizer] Minor. Rename: CirTypeProjectionImpl -> CirRegularTypeProjection
2021-03-09 13:13:06 +03:00
Dmitriy Dolovov
6b0f080ed8
[Commonizer] Rename: TypeParameterResolver -> CirTypeParameterResolver
2021-03-09 13:12:59 +03:00