Leonid Startsev
1828e293ea
Provide @UnstableMetadataApi and mark kotlin_module related API with it,
...
as it is not finished yet.
2023-01-24 11:07:42 +00:00
Leonid Startsev
165e779e3e
Change extension properties on ClassName into functions, to be more distinct from other String extensions.
2023-01-24 11:07:42 +00:00
Vladimir Sukharev
db53b83822
[K/N] Improve native README for MacOS aarch64
...
Merge-request: KT-MR-8428
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-01-24 10:34:09 +00:00
Alexander Korepanov
edbd05ba47
[JS IR] Hack IC invalidation test so it works with ES6 classes
...
Hack the IC invaliadtion test so the cross module references
are invalidated in the same way as with ES6 classes and without.
2023-01-24 09:35:16 +00:00
Alexander Korepanov
0785b45426
[JS IR] Write JS files before verification of dirty JS in IC tests
2023-01-24 09:35:16 +00:00
Alexander Korepanov
1ec88ff560
[JS IR] Enable IR dump for IC invalidation tests
...
Support 'fd.kotlin.js.debugMode' property in IC invalidation tests.
2023-01-24 09:35:15 +00:00
Alexander Udalov
c58314fddf
Reflection: improve and optimize kotlinFunction/kotlinProperty
...
- Make the implementations very similar, to fix KT-54833 where the
companion object case was forgotten for kotlinProperty.
- Optimize both functions to look up the function/property by name
first, to cover the most probable case when the JVM name of a
declaration is equal to its Kotlin name. This fixes KT-55937.
#KT-54833 Fixed
#KT-55937 Fixed
2023-01-23 20:43:00 +01:00
Alexander Udalov
aa7b4cfbe6
Do not eagerly compute deserialized typealias constructors
...
Otherwise, when adding a typealias to core/builtins, it leads to an
exception "JvmBuiltins instance has not been initialized properly". It
happens because we start computing typealias constructors even before
the compiler has been initialized properly.
Basically we're creating the container, and as a part of it, we're
computing default imports, and for that we need to get all top-level
classifiers from scopes imported by default, which includes typealiases.
Eager call to `getTypeAliasConstructors` here results in computing
constructors of the class descriptor on the RHS of the type alias, which
is not possible if that class is built-in, since the container has not
yet been created and thus `JvmBuiltIns` has not been initialized yet.
No tests added, and no issue is affected because, as mentioned above,
the problem is only reproducible if we add something to core/builtins.
2023-01-23 20:35:11 +01:00
Sebastian Sellmair
0443ef0648
[Gradle] Only resolve hostSpecificMetadataConfiguration when konanTarget is enabled
...
^KT-56111 Verification Pending
2023-01-23 19:25:34 +00:00
Sebastian Sellmair
8f6a15e33e
[Gradle] MetadataDependencyTransformationTask: Declare dependency to 'hostSpecificMetadataConfiguration's
...
^KT-56111 Verification Pending
2023-01-23 19:25:34 +00:00
Sebastian Sellmair
24db9f3680
[Gradle] Add MppCompositeBuildIT with host specific targets
...
... to cover KT-56111
2023-01-23 19:25:34 +00:00
Artem Daugel-Dauge
c2e092fe4a
[Gradle] Fix invalidating iOS framework after import
...
^KT-49430 Verification Pending
2023-01-23 18:52:03 +00:00
Artem Daugel-Dauge
8a34d1f430
Separate podgen & podinstall tasks
...
^KT-54161 Verification Pending
2023-01-23 18:52:03 +00:00
Alexander.Likhachev
f144f8b6d3
[Gradle] Fix compilation error in CocoaPodsIT
...
Also add a Gradle version constraint for deprecation warnings suppressing
KT-55972 Related
2023-01-23 19:02:22 +01:00
Alexander.Likhachev
2e7e1625d3
[Gradle] Remove warnings suppression from more tests
...
KT-55972 Related
2023-01-23 17:21:17 +00:00
Alexander.Likhachev
9bb2a2468d
[Gradle] Suppress warnings only for the Gradle versions that produce them
...
KT-55972 Related
2023-01-23 17:21:17 +00:00
Alexander.Likhachev
3373a1dd90
[Gradle] Add a warning mode assertion for the old test DSL tests
...
#KT-55972 Fixed
2023-01-23 17:21:17 +00:00
Alexander.Likhachev
1e7cf5571b
[Gradle] Add a warning mode assertion for the new test DSL tests
...
#KT-55972 In Progress
2023-01-23 17:21:16 +00:00
Alexander.Likhachev
dc24582a0b
[Gradle] Apply gradle-warnings-detector to test projects
...
#KT-55972 In Progress
2023-01-23 17:21:16 +00:00
Alexander.Likhachev
7bcfa45c49
[Build] Add gradle-warnings-detector plugin for integration tests
...
#KT-55972 In Progress
2023-01-23 17:21:16 +00:00
Ilya Goncharov
7ae85ed68e
[JS IR] Module descriptors depends on each other
2023-01-23 16:16:48 +00:00
Dmitriy Dolovov
b42492cd4d
[Native][tests] Mute failing ktor 1_5_4 and coroutines 1_5_0-RC-native-mt (KT-46697) Gradle IT
2023-01-23 16:11:06 +00:00
Roman Efremov
5bd76dbf0b
Temporarily comment failing Enum.entries resolve in K/N C interop
...
See KT-53929
2023-01-23 12:53:07 +01:00
Roman Efremov
878608b7b2
Don't add Enum.entries to scope if it can't be called
...
^KT-53929 Fixed
2023-01-23 12:53:06 +01:00
Roman Efremov
2dc3871954
Add "hasEnumEntries" class flag to kotlinx-metadata
...
^KT-53929 Fixed
2023-01-23 12:53:06 +01:00
Roman Efremov
14b4cdc7c4
Write "hasEnumEntries" flag into metadata when feature enabled
...
^KT-53929 Fixed
2023-01-23 12:53:04 +01:00
Roman Efremov
3c5e556ba6
Add "hasEnumEntries" flag to class metadata
...
With this flag we can distinguish enum classes that have `entries`
property in the compiled bytecode (see `LanguageFeature.EnumEntries`).
This is needed to be able to understand in the frontend whether
`entries` can be called for that class. For Native and JS, this is
currently not possible even if the feature is enabled, but the class
was compiled with disabled feature.
^KT-53929 Fixed
2023-01-23 12:50:14 +01:00
Artem Daugel-Dauge
f6eb978671
[Gradle] More workarounds for KT-55751 after adding linkOnly mode
2023-01-23 11:48:04 +00:00
Pavel Punegov
515c7f50c9
[K/N][test] Exclude properties/lateinit/isInitializedAndDeinitialize
...
Exclude this tests temporarily from run with one stage mode.
Merge-request: KT-MR-8408
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-01-23 11:43:28 +00:00
Vladimir Sukharev
195ecbac2e
Serialize native klib extensions to pass most ObjCExport and CInterop tests.
...
Merge-request: KT-MR-8398
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-01-23 11:34:47 +00:00
Sergey Bogolepov
576e8ba127
[K/N] Port to the new driver
2023-01-23 09:11:33 +00:00
Anna Kozlova
21e57b1c54
[AA] allow to skip keywords completely
...
no need in fun/val/var in file structure
2023-01-23 08:27:26 +00:00
Abduqodiri Qurbonzoda
1b258646be
Specify benchmarks repository for Base64
2023-01-22 02:02:38 +00:00
Nikolay Krasko
92840bf4b8
Clean-up verification-metadata.xml from old dependencies
2023-01-21 16:38:49 +00:00
Nikolay Krasko
4a4c38bafa
Update verification-metadata.xml after add command
2023-01-21 16:38:49 +00:00
Nikolay Krasko
4f69f61ef7
Advance version of kotlinx serialization in imports-dumper
...
File separator are not escaped now, as there's no need to escape /
character in JSON strings.
2023-01-21 16:38:48 +00:00
Nikolay Krasko
922ffa80b0
Remove kotlinx-serialization-core:1.0.0-RC usage
2023-01-21 16:38:48 +00:00
Nikolay Krasko
e895409c4a
Bump kotlinx-html-jvm version 0.6.12 -> 0.7.3
2023-01-21 16:38:48 +00:00
Nikolay Krasko
50c911f159
Restrict and document usage for special repositories
...
This also should reduce the amount of requests for seeking artifacts
across the repositories.
2023-01-21 16:38:47 +00:00
Ilya Chernikov
61e39f2c31
minor: fix a typo leading to the wrong lines count with LT
2023-01-21 11:20:59 +00:00
Mark Mann
47f6cb663e
Native: add flag that disables ObjC method name mangling for methods in different Kotlin Interfaces ( #5070 )
2023-01-20 21:27:44 +01:00
Anton Lakotka
bbc2a9a1db
[Gradle] Test that CInterop[MDT]Tasks outputs doesn't conflict
...
^KT-49933
2023-01-20 20:15:40 +00:00
Sebastian Sellmair
d4a9bb8d90
[Gradle] CInteropMetadataDependencyTransformationTask: Fix overlapping outputLibrariesFileIndex
...
Before this change, IDE tasks from different projects
were re-using the same libraries index file, leading
to overwrites and therefore missing dependencies in the IDE
KT-49933
2023-01-20 20:15:40 +00:00
Sebastian Sellmair
6849804941
[Gradle] KotlinMetadataLibraryDirectories: Use composite build root for IDE directories
...
KT-49933
2023-01-20 20:15:39 +00:00
Anton Lakotka
61748f4016
[Gradle] Add mavenCentralCacheRedirector back to fix compilation error
...
^KT-49933
2023-01-20 20:15:39 +00:00
Sebastian Sellmair
3d8ee5bae5
[Gradle][Minor] ProjectMppDependencyProjectStructureMetadataExtractor: Remove unnecessary constructor
...
KT-49933
2023-01-20 20:15:39 +00:00
Anton Lakotka
00bcaebd15
[Gradle] Move collectAll[PSM]InCurrentBuild to
...
^KT-49933
2023-01-20 20:15:38 +00:00
Anton Lakotka
cc98b7b4cd
[Gradle] Delete failing KPM tests after Configuration Cache fixes
...
KPM is experimental and is not going to be supported before stable
release
^KT-49933
2023-01-20 20:15:38 +00:00
Anton Lakotka
3a02090ff3
[Gradle] Collect project structure metadata for current build separately
...
^KT-49933
2023-01-20 20:15:38 +00:00
Anton Lakotka
244f742610
[Gradle] Move MetadataDependencyTransformationTask configuration to task file
...
^KT-49933
2023-01-20 20:15:37 +00:00