Commit Graph

93508 Commits

Author SHA1 Message Date
Mikhael Bogdanov 27cfe11d55 JvmDefaultWithoutCompatibility. Switch retention to source 2022-06-28 14:11:49 +02:00
Dmitry Gridin 11ad8020c8 Revert "[light classes] FakeFileForLightClass: advance language level to 1.8"
This reverts commit d42c9d833f.
2022-06-28 13:52:11 +02:00
Dmitry Gridin 57de064251 Revert "[light classes] drop old light classes and backend: iteration #1"
This reverts commit 3cb2df9360.
2022-06-28 13:52:11 +02:00
Dmitry Gridin 43b4df74bc Revert "[light classes] drop old light classes and backend: iteration #2"
This reverts commit 97ce502cbe.
2022-06-28 13:52:10 +02:00
Dmitry Gridin 074dd1c19d Revert "[light classes] drop old light classes and backend: iteration #3"
This reverts commit 3c711d42b3.
2022-06-28 13:52:10 +02:00
Dmitry Gridin 3d9a58627f Revert "[light classes] drop old light classes and backend: iteration #4"
This reverts commit 9d1fe58f9d.
2022-06-28 13:52:09 +02:00
Dmitry Gridin 8f7969549b Revert "[light classes] drop old light classes and backend: iteration #5"
This reverts commit fa77c618bd.
2022-06-28 13:52:09 +02:00
Dmitry Gridin 8db53c0ca7 Revert "[light classes] drop old light classes and backend: iteration #6"
This reverts commit 8aeda37d2e.
2022-06-28 13:52:08 +02:00
Dmitry Gridin d1cde22254 Revert "[light classes] drop old light classes and backend: iteration #7"
This reverts commit 545a316241.
2022-06-28 13:52:08 +02:00
Dmitry Gridin 91fa6af556 Revert "[light classes] drop old light classes and backend: iteration #8"
This reverts commit 0df6ac688a.
2022-06-28 13:52:08 +02:00
Dmitry Gridin 38c623bc3a Revert "[light classes] drop old light classes and backend: iteration #9"
This reverts commit 38378309b1.
2022-06-28 13:52:07 +02:00
Dmitry Gridin 4b3e48dc47 Revert "[light classes] drop old light classes and backend: iteration #10"
This reverts commit 10e8d4befa.
2022-06-28 13:52:07 +02:00
Dmitry Gridin 357e15085e Revert "[light classes] drop old light classes and backend: iteration #11"
This reverts commit 9d81a4abea.
2022-06-28 13:52:06 +02:00
Dmitry Gridin 732a08f0df Revert "[light classes] drop old light classes and backend: iteration #12"
This reverts commit 36d1eef6fe.
2022-06-28 13:52:06 +02:00
Dmitry Gridin 36d1eef6fe [light classes] drop old light classes and backend: iteration #12
drop LightClassDataHolder

^KT-48773
2022-06-28 11:44:46 +00:00
Dmitry Gridin 9d81a4abea [light classes] drop old light classes and backend: iteration #11
drop redundant builder for scripts

^KT-48773
2022-06-28 11:44:45 +00:00
Dmitry Gridin 10e8d4befa [light classes] drop old light classes and backend: iteration #10
add missing is InvalidLightClassDataHolder check

^KT-48773
2022-06-28 11:44:45 +00:00
Dmitry Gridin 38378309b1 [light classes] drop old light classes and backend: iteration #9
drop KotlinExtraDiagnosticsProvider

^KT-48773
2022-06-28 11:44:44 +00:00
Dmitry Gridin 0df6ac688a [light classes] drop old light classes and backend: iteration #8
reduce usages of KotlinTypeMapper

^KT-48773
2022-06-28 11:44:43 +00:00
Dmitry Gridin 545a316241 [light classes] drop old light classes and backend: iteration #7
drop StubComputationTracker

^KT-48773
2022-06-28 11:44:43 +00:00
Dmitry Gridin 8aeda37d2e [light classes] drop old light classes and backend: iteration #6
move light class builder to cli and drop MemberIndex

^KT-48773
2022-06-28 11:44:42 +00:00
Dmitry Gridin fa77c618bd [light classes] drop old light classes and backend: iteration #5
drop LightClassDataHolder from LightClassGenerationSupport

^KT-48773
2022-06-28 11:44:41 +00:00
Dmitry Gridin 9d1fe58f9d [light classes] drop old light classes and backend: iteration #4
move LightClassDataProvider to cli

^KT-48773
2022-06-28 11:44:41 +00:00
Dmitry Gridin 3c711d42b3 [light classes] drop old light classes and backend: iteration #3
introduce KotlinExtraDiagnosticsProvider

^KT-48773
2022-06-28 11:44:40 +00:00
Dmitry Gridin 97ce502cbe [light classes] drop old light classes and backend: iteration #2
drop javaFileStub and fix tests

^KT-48773
2022-06-28 11:44:39 +00:00
Dmitry Gridin 3cb2df9360 [light classes] drop old light classes and backend: iteration #1
drop clsDelegate and related

^KT-48773
2022-06-28 11:44:38 +00:00
Dmitry Gridin d42c9d833f [light classes] FakeFileForLightClass: advance language level to 1.8
^KT-48773
2022-06-28 11:44:38 +00:00
Ilya Kirillov 1915a1029f [Analysis API, FIR] optimize KtSymbol requests for declaration statuses
resolvedStatus is not needed for the most calls while it may be expensive to compute as it requires running declaration resolve.
2022-06-28 12:30:05 +02:00
Svyatoslav Scherbina bc39727bf1 Bump Kotlin/Native version to 1.7.20-dev-2651 2022-06-28 10:00:28 +00:00
Jinseong Jeon 20d618c0a8 AA: populate CorePackageIndex
so that annotations in package-info.java can be propagated properly
2022-06-28 11:44:41 +02:00
Yahor Berdnikau 7e537b680e Remove 'org.jetbrains.kotlin.platform.type' attribute from publication
Temporary workaround for Kotlin Gradle plugin publications until
https://youtrack.jetbrains.com/issue/KT-52987 will be implemented.

Requested by Gradle team for Gradle 7.6 compatibility.
2022-06-28 11:02:04 +02:00
Yahor Berdnikau 9b768d647c Update Gradle publish plugin to 1.0.0-rc-3 version
This should fix publishing multiple artifacts with the same hash and
remove requirement of custom action from Gradle team.
2022-06-28 10:50:00 +02:00
Vsevolod Tolstopyatov 0c8b31b9ed Clarify specification of Duration.parseIsoString
KT-52778


Co-authored-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com>

Merge-request: KT-MR-6556
Merged-by: Vsevolod Tolstopyatov <vsevolod.tolstopyatov@jetbrains.com>
2022-06-28 07:43:33 +00:00
Alexander Shabalin d47193d36f [K/N] Add tracking of application state to the GC scheduler.
Merge-request: KT-MR-6435
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-06-28 06:38:36 +00:00
Ilya Gorbunov fcfc79aa35 assertContains for OpenEndRange argument
#KT-52932
2022-06-28 05:45:47 +00:00
Ilya Gorbunov 5e32f04249 Minor: cleanup redundant opt-ins 2022-06-28 05:45:47 +00:00
Abduqodiri Qurbonzoda dc6d2edf51 Implement a workaround for PathTreeWalk @SinceKotlin #KT-52977 2022-06-28 00:52:43 +00:00
Abduqodiri Qurbonzoda 78666e3ecb Provide visit extension functions for java.nio.file.Path #KT-52910 2022-06-28 00:52:43 +00:00
Abduqodiri Qurbonzoda e7b37b3497 Implement a walk extension function for java.nio.file.Path #KT-52909 2022-06-28 00:52:42 +00:00
Ilya Gorbunov 7e5abdb1c0 Update API dumps for open ranges and their operations
#KT-52932
2022-06-28 00:08:10 +00:00
Ilya Gorbunov 988446c4b1 Update builtins dumps for open ranges
#KT-52932
2022-06-28 00:08:09 +00:00
Ilya Gorbunov 383e814d82 Update FIR spec test data
NONE_APPLICABLE instead of UNRESOLVED_REFERENCE_WRONG_RECEIVER
presumably because of the introduction of another `contains` extension overload
2022-06-28 00:08:08 +00:00
Ilya Gorbunov 7ab2f1493c Add error() function to interpreter test helper sources
To compile standard library code that uses error()
2022-06-28 00:08:07 +00:00
Ilya Gorbunov 227953a267 Temporarily avoid endExclusive in tests
(until bootstrap)
2022-06-28 00:08:07 +00:00
Ilya Gorbunov 4475b15037 Add tests for open ranges
#KT-52932
2022-06-28 00:08:06 +00:00
Ilya Gorbunov 8584fe2725 Add contains extension for mixed types for open ranges and open-closed range specializations
#KT-52932
2022-06-28 00:08:05 +00:00
Ilya Gorbunov 9574040f85 Add rangeUntil for primitives as an extension
#KT-52932
2022-06-28 00:08:05 +00:00
Ilya Gorbunov 71336df50a Support open ranges in stdlib-gen
#KT-52932
2022-06-28 00:08:04 +00:00
Ilya Gorbunov cd9b36b4c3 Introduce OpenEndRange and make primitive ranges implement it
#KT-52932
2022-06-28 00:08:03 +00:00
Ilya Gorbunov d54b5f8e85 Prevent serializing OptIn-related annotations to builtins
Required for KT-52932: to avoid dealing with opt-ins when serializing experimental parts of builtins
2022-06-28 00:08:02 +00:00