Commit Graph

100641 Commits

Author SHA1 Message Date
Sebastian Sellmair 16369bc008 [Gradle] Rename KotlinTargetHierarchy.ModuleName to .SourceSetTree
^KT-58209 Verification Pending
2023-04-25 15:08:29 +00:00
Sebastian Sellmair 1d23d7de17 [Gradle] KotlinTargetHierarchyBuilder: Add documentation to 'common' function
^KT-58209 Verification Pending
2023-04-25 15:08:29 +00:00
Abduqodiri Qurbonzoda 52cbad2da2 [K/N] Hide Primitive.equals(Primitive) functions #KT-57344
As a part of efforts to stabilize Native stdlib.

Merge-request: KT-MR-9692
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com>
2023-04-25 14:56:29 +00:00
Anton Lakotka 545a7724c1 [Gradle] Fix apple gradle plugin smoke test 2023-04-25 14:38:22 +00:00
Anton Lakotka ff0a57bafd [Gradle] Propagate user attributes to binary framework configurations
^KT-57668
2023-04-25 14:38:22 +00:00
Anton Lakotka 8d5f2b37a3 [Gradle] Test that user attributes is propagated to binary frameworks
^KT-57668
2023-04-25 14:38:22 +00:00
Alexander Udalov bab88c05c3 JvmDefault: deprecate JvmDefault annotation class with ERROR
#KT-54746 Fixed
2023-04-25 14:33:00 +00:00
Alexander Udalov a0790047f7 JvmDefault: remove -Xjvm-default modes "enable" and "compatibility"
#KT-54746
2023-04-25 14:33:00 +00:00
Alexander Udalov e0b5ae7781 JvmDefault: remove diagnostics related to @JvmDefault
#KT-54746
2023-04-25 14:33:00 +00:00
Alexander Udalov 3120a35a88 JvmDefault: remove most tests on @JvmDefault
The tests are removed because JvmDefault is going to be deprecated with
error in KT-54746 and removed later in KT-57696.

Many of the removed tests already had existing counterparts with the new
modes `all` and `all-compatibility`. In this change, I've added such
tests where they were missing, and removed tests which were testing
behavior specific to the JvmDefault annotation, such as some
diagnostics.

 #KT-54746
2023-04-25 14:33:00 +00:00
Ilya Gorbunov ace2279631 Refactor helper function to run/not run block of common code on specific platform
Use it in StringBuilder tests
2023-04-25 13:55:04 +00:00
Ilya Gorbunov 454e963aa7 StringBuilder capacity test: fixup deprecation suppression 2023-04-25 13:55:04 +00:00
Ilya Gorbunov 6dc2960b77 Relax back an assertion in testLongAdjustmentElapsedPrecision
Reverts the assertion strictening happened in commit 1014434475
2023-04-25 13:54:39 +00:00
Sebastian Sellmair 379c1b72a6 [Gradle] ExternalTargetApi: mark .extras extensions as 'scheduled for removal'
... as those extensions are now shadowed by members

KT-55524
2023-04-25 12:49:52 +00:00
Sebastian Sellmair caa6b6f9f3 [Gradle] ExternalTargetApi: Check-in/Document ExternalKotlinCompilationDescriptor
KT-55524
2023-04-25 12:49:52 +00:00
Sebastian Sellmair 5e13e118fa [Gradle] ExternalTargetApi: Rename 'DecoratedKotlinCompilationFactory' to 'CompilationFactory'
To be consistent with 'TargetFactory' in ExternalKotlinTargetDescriptor

KT-55524
2023-04-25 12:49:52 +00:00
Sebastian Sellmair 898e2beecb [Gradle] ExternalTargetApi: Rename 'ExternalDecoratedKotlinCompilation' to 'DecoratedExternalKotlinCompilation'
To be consistent with 'DecoratedExternalKotlinTarget'

KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair bc85fe323b [Gradle] ExternalTargetApi: Check-in/Document createExternalKotlinTarget
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 2ec76110b0 [Gradle] ExternalTargetApi: Check-in/Document createCompilation
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 6e6e2977f9 [Gradle] ExternalTargetApi: Check-in/Document IdeDependencyTransformer
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 6a38162b45 [Gradle] ExternalTargetApi: Check-in/Document IdeAdditionalArtifactResolver
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 6cfcea0401 [Gradle] Demote IdeaKotlinBinaryCoordinates to 'internal'
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 9978906f6f [Gradle] ExternalTargetApi: Check-in/Document IdeDependencyEffect
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 55cc2e5e42 [Gradle] ExternalTargetApi: Check-in/Document ExternalKotlinTargetDescriptor
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 0191368f1f [Gradle] IdeMultiplatformImportImpl: Remove unnecessary ExternalTargetApi annotations
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 403a4b48fa [Gradle] ExternalTargetApi: Check-in/Document IdeMultiplatformImport
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 127f3e55e8 [Gradle] ExternalTargetApi: Check-in/Document IdeDependencyResolver
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 63f8cf2237 [Gradle] ExternalTargetApi: Check-in/Document IdeBinaryDependencyResolver
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair b32cae293b [Gradle] Add documentation to ExternalKotlinTargetApi
KT-55524
2023-04-25 12:49:51 +00:00
Sebastian Sellmair 9f003328cf [Gradle] Setup initial api validation for ExternalTargetApi
KT-55524
2023-04-25 12:49:50 +00:00
Sebastian Sellmair 628fa919dd [kotlin-tooling-core] Document IdeaKotlinExtrasSerializationExtension
KT-55524
2023-04-25 12:49:50 +00:00
Sebastian Sellmair 425c7c738e Update kotlin binary compatibility validator to v0.13.1
KT-55524
2023-04-25 12:49:50 +00:00
Jinseong Jeon 5298abf2d6 AA/LC: introduce an API to find script files 2023-04-25 14:49:03 +02:00
Jinseong Jeon f9086daf4d SLC: add support for .kts
^KTIJ-21108
^KT-50241
^KT-55626 Fixed
2023-04-25 14:49:03 +02:00
Artem Kobzar 4327c6645a [K/JS] Save order for modulesWithReachableTopLevels and deserializersForModules to make partial linkage work again 2023-04-25 12:20:14 +00:00
Mikhail Glukhikh 4589463e92 FirBasedSymbol: call lazyResolveToPhase directly on a backing field 2023-04-25 12:18:27 +00:00
Mikhail Glukhikh 156be26982 AA: use full rendering of backing field symbols 2023-04-25 12:18:27 +00:00
Mikhail Glukhikh 1f05ce2e01 AA/LC: Support annotation property->backing field move
#KT-57462 Fixed
2023-04-25 12:18:27 +00:00
Mikhail Glukhikh f6bf7560a6 K2: fix field annotation handling around serialization
#KT-57135 Fixed
2023-04-25 12:18:27 +00:00
Mikhail Glukhikh dc38ce24f7 K2: fix field annotation splitting and frontend checks
Related to KT-57135
2023-04-25 12:18:26 +00:00
Pavel Mikhailovskii 37ed7beda0 KT-57135 Take into account annotations' allowed targets
- Check allowed targets
- Attach field annotations to the backing field
2023-04-25 12:18:26 +00:00
Margarita Bobova ea2145415d Move ChangeLog for 1.7.X to a separate file 2023-04-25 13:37:32 +02:00
Margarita Bobova 9d1ae63b41 Add Changelog for 1.8.20 and 1.8.21 2023-04-25 13:37:32 +02:00
Nikolay Lunyak e3d313dd02 [FIR] Introduce the proper Fir2IrResultsConverter
Sometimes when running MPP tests we may
observe js-specific modules running with
the jvm-specific fir2ir converter
(probably because the name didn't contain
the JVM affix).
2023-04-25 11:29:34 +00:00
Nikolay Lunyak e1158b1cb2 [FIR] Don't load unneeded things
It's confusing to stop at breakpoints
related to these loadings when they aren't
actually used.
2023-04-25 11:29:34 +00:00
Nikolay Lunyak 360d236b7e [FIR JS] KT-57601: Get rid of the builtin provider
In this example we get 2 variants of `kotlin/toString()`:
one coming from the KLib provider, and the
other coming from the builtins provider.
These are identical deserialized functions.

^KT-57601 Fixed
2023-04-25 11:29:34 +00:00
Nataliya.Valtman 2a391f7330 Move kotlin-build-statistic project to :compiler 2023-04-25 11:29:09 +00:00
nataliya.valtman e34dd043da Add minimal statistic report for JPS build
Fix build stat for gradle 8

#KT-56438 Fixed
2023-04-25 11:29:09 +00:00
Nikolay Lunyak f3ca465647 [FIR] Freeze the current behavior of ImplicitIntegerCoercion+overloads
Adding the tests "just in case", ensuring the
K2 behaves similar to K1.
2023-04-25 10:57:08 +00:00
Nikolay Lunyak 931894ab3c [FIR] KT-57655: Add the missing condition
^KT-57655 Fixed
2023-04-25 10:57:08 +00:00