Dmitriy Dolovov
439808952d
[Commonizer] Fix incorrect merging KLIB dependencies
...
^KT-39609
2020-06-17 11:38:27 +07:00
Dmitriy Dolovov
af1dd6251e
[Commonizer] Fallback for const val properties with different values
2020-06-16 15:04:08 +07:00
Dmitriy Dolovov
0f10faabbf
[Commonizer] More precise approximation of callables
2020-06-15 16:11:49 +07:00
Dmitriy Dolovov
205510863a
[Commonizer] Stats collector: support aggregated stats
2020-06-15 16:11:34 +07:00
Dmitriy Dolovov
f7ceacb15c
[Commonizer] Update stats collector: report receivers & parameters
2020-06-15 16:11:23 +07:00
Dmitriy Dolovov
3b4cef1b56
Minor. Rename excludes list
2020-06-15 16:11:06 +07:00
Vyacheslav Gerasimov
3e3afac407
Build: Fix pom runtime scope for kotlin-klib-commonizer
2020-06-14 20:31:28 +03:00
Vyacheslav Gerasimov
b85b733e42
Build: Remove explicit legacy maven plugin application
2020-06-14 20:31:25 +03:00
Dmitriy Dolovov
24568058e1
Minor. Remove unused code
2020-06-10 18:41:05 +07:00
Dmitriy Dolovov
84a4644490
[Commonizer] Speed-up serialization of commonized member scopes
2020-06-10 18:15:12 +07:00
Dmitriy Dolovov
9936468a5e
[Commonizer] Update stats collector to report lifted up declarations
2020-06-09 11:13:04 +07:00
Dmitriy Dolovov
611946a7c7
[Commonizer] Drop useless annotation tests
...
^KMM-238
^KMM-53
2020-06-09 11:12:59 +07:00
Dmitriy Dolovov
596363ea23
[Commonizer] Refactor/simplify marker interfaces
2020-06-09 11:12:55 +07:00
Dmitriy Dolovov
f3b400975e
[Commonizer] Drop useless "allowPrivate" flag in VisibilityCommonizer
2020-06-09 11:12:50 +07:00
Dmitriy Dolovov
d9bfe11ca1
[Commonizer] Source-based tests on lifting up identical type aliases
...
^KMM-55
2020-06-09 11:12:45 +07:00
Dmitriy Dolovov
e5885e9277
[Commonizer] Unit tests on lifting up identical type aliases
...
^KMM-55
2020-06-09 11:12:41 +07:00
Dmitriy Dolovov
d3c6dc362e
[Commonizer] Lift up identical type aliases
...
^KMM-55
2020-06-09 11:12:36 +07:00
Dmitriy Dolovov
e37a485aaa
[Commonizer] Process expect/actual cross-module dependencies in source-based tests
2020-06-09 11:12:31 +07:00
Dmitriy Dolovov
c8ba3fa8ed
[Commonizer] Clean-up in AbstractCommonizationFromSourcesTest
2020-06-09 11:12:26 +07:00
Dmitriy Dolovov
e51c7a79c7
[Commonizer] Minor. Fixed typo
2020-06-09 11:12:16 +07:00
Dmitriy Dolovov
3654da8a63
[Commonizer] Minor. Improve error reporting
2020-06-09 11:12:12 +07:00
Dmitriy Dolovov
be9e25a2e5
[Commonizer] Move fqNameWithTypeParameters extension val into CirType
2020-06-09 11:12:07 +07:00
Dmitriy Dolovov
719d5da641
[Commonizer] Move some extension functions into CirFunctionOrProperty
2020-06-09 11:12:02 +07:00
Dmitriy Dolovov
da9e0d3c02
[Commonizer] Simplify detection if property is lifted up
2020-06-09 11:11:52 +07:00
Leonid Startsev
7c8c5b057f
Extensible mechanism for plugin metadata during descriptor serialization
...
A mechanism that allows kotlinx.serialization plugin to preserve the
correct (program) order of properties after serializing/deserializing
descriptors to kotlin metadata, which is needed for correct and stable
json serialization of class hierarchies in incremental/multi-module scenario.
It uses protobuf extensions.
2020-06-01 17:48:16 +03:00
Dmitriy Dolovov
45260cee1e
[Commonizer] Update stats collector to report lifted up declarations
2020-05-28 12:12:40 +07:00
Dmitriy Dolovov
9f31931bb8
[Commonizer] Tests on lifting up identical const properties
...
^KMM-241
2020-05-28 12:12:39 +07:00
Dmitriy Dolovov
2ce1625989
[Commonizer] Lift up identical const properties
...
^KMM-241
2020-05-28 12:12:39 +07:00
Dmitriy Dolovov
36a29ce2dd
[Commonizer] Split different aspects of CIR
...
- Entity declaration
- Entity implementation
- Creation of new entities from descriptors
2020-05-28 12:12:29 +07:00
Dmitriy Dolovov
f26a3150ba
[Commonizer] Explicitly check if annotation constants are allowed
2020-05-28 12:11:11 +07:00
Dmitriy Dolovov
0827d2e8a3
[Commonizer] Fix Gradle module dependencies
2020-05-28 12:11:04 +07:00
Dmitriy Dolovov
b5245e2df6
[Commonizer] Avoid N^2 during merge of KLIB manifest dependencies
2020-05-28 12:10:58 +07:00
Kevin Most
4f26ac9a04
Fix "Koltin" typos throughout codebase ( #3383 )
...
* Fix "Koltin" typos throughout codebase
* Update K2MetadataKlibSerializer.kt
2020-05-20 15:12:32 +03:00
Konstantin Tskhovrebov
912fd556e5
Fix commonizer: merge klib manifest dependencies during commonization.
2020-05-15 18:27:13 +03:00
Dmitriy Dolovov
ac1e96500a
[Commonizer] Added README.md
2020-05-14 17:35:16 +07:00
Dmitriy Dolovov
e92adf3d4e
[Commonizer] Don't preserve annotations on types
...
This may lead to leakage of specific annotation classes to common module
^KMM-53
2020-05-08 23:52:24 +07:00
Dmitriy Dolovov
5bb5d7f892
[Commonizer] Limited annotation commonization. Tests
...
^KMM-238
^KMM-53
2020-05-08 23:52:17 +07:00
Dmitriy Dolovov
600daaa320
[Commonizer] Reformat tests
2020-05-08 23:52:10 +07:00
Dmitriy Dolovov
413e6552ef
[Commonizer] Simplify creation of individual commonizers
2020-05-08 23:52:04 +07:00
Dmitriy Dolovov
735387b685
[Commonizer] Limited annotation commonization (@Deprecated for functions)
...
^KMM-238
^KMM-53
2020-05-08 23:51:58 +07:00
Dmitriy Dolovov
be04fbd5bb
[Commonizer] More accurate verification of annotations in tests
2020-05-08 23:51:52 +07:00
Dmitriy Dolovov
ae570e4acf
[Commonizer] Don't filter out @Deprecated non-top-level functions
...
^KMM-238
2020-05-08 23:51:46 +07:00
Dmitriy Dolovov
b1bef8485d
[Commonizer] Capitalize messages to be printed at console
2020-04-29 12:11:50 +07:00
Dmitriy Dolovov
0f6dbed03b
[Commonizer] Don't fail when one of targets is not supported at the host
...
^KMM-214
2020-04-29 12:11:44 +07:00
Dmitriy Dolovov
a6064ecda6
[Commonizer] Generate correct TA types for callable descriptors
...
Issue #KMM-217
2020-04-17 23:08:01 +07:00
Dmitriy Dolovov
101442ad14
KLIB: Store native targets in manifest
2020-04-10 19:33:27 +07:00
Alexey Tsvetkov
1c38466a22
Pass LookupTracker to deserialized scopes in JS KLIB compiler
...
Before this change, deserialized scopes were not tracking lookups properly,
because lookup tracker was not passed from compiler configuration correctly.
Because of that, lookups from dependencies were not tracked,
so multi-module IC was not working (chages were passed between modules,
but affected source files were not invalidated).
2020-04-10 05:35:45 +03:00
Ilya Matveev
ba6ca67e4f
[Commonizer] Support short library names
2020-04-09 13:07:43 +07:00
Dmitriy Dolovov
5411b85cb9
Minor. Rename isKonanStdlib() into isNativeStdlib()
2020-04-01 11:47:10 +07:00
Dmitriy Dolovov
31a1f8ff4b
Include :native:kotlin-native-utils into kotlin-compiler.jar
2020-04-01 11:46:55 +07:00