Vyacheslav Gerasimov
4aa3040550
Build: Use runtimeOnly instead of deprecated runtime
...
maven-publish plugin uses `runtimeOnly` for runtime scope instead of
`runtime`
2020-06-14 20:31:26 +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
Svyatoslav Scherbina
fa152593ef
Fix false-positive @Throws error diagnostics in Native
...
Don't report
THROWS_LIST_EMPTY and MISSING_EXCEPTION_IN_THROWS_ON_SUSPEND
caused by unresolved arguments.
2020-05-26 20:24:34 +03:00
Svyatoslav Scherbina
242d0aa26e
Add Native diagnostics for @Throws suspend fun
...
`@Throws suspend fun` must have CancellationException accepted.
Also add more tests.
2020-05-26 20:24:32 +03: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
Ilya Matveev
5287ffb4a5
[Native] Don't use konan.home to determine a path to the K/N dist
...
A fix for KT-37550 requires us to stop using system properties when
the compiler is started from Gradle. This patch stops reading the
konan.home property to determine a path to the compiler and requires
this path to be explicitly specified in a constructor of the
Distribution class.
Issue #KT-37550
2020-05-19 18:57:39 +07: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
Alexander Udalov
ea413cefb4
Remove TypeOfChecker for JVM frontend
...
This is needed to support typeOf with non-reified type parameters.
#KT-30279
2020-05-13 10:04:26 +02: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
Nikolay Krasko
4230a17427
Revert "Force bootstrap stdlib in modules that used in composite build"
...
This reverts commit ad76562c
2020-04-27 15:58:38 +03:00
Nikolay Krasko
ad76562cbc
Force bootstrap stdlib in modules that used in composite build
2020-04-27 15:36:49 +03:00
Denis Zharkov
45481b214a
Use kotlin.Throws in NativeThrowsChecker
...
KT-35468
2020-04-26 23:08:45 +03:00
Dmitriy Dolovov
a6064ecda6
[Commonizer] Generate correct TA types for callable descriptors
...
Issue #KMM-217
2020-04-17 23:08:01 +07:00
LepilkinaElena
4f9364f997
Native specific frontend checker for @ThreadLocal ( #3293 )
2020-04-16 15:23:06 +03: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