Commit Graph

93397 Commits

Author SHA1 Message Date
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
Ilmir Usmanov 810b11b96d Enable generic inline classes as experimental feature in 1.8
#KT-52994 Fixed
2022-06-27 23:48:58 +02:00
Ilmir Usmanov f34ae686a0 JVM: Make coroutines spilling tests runtime
instead of bytecode text ones. Check the content of continuation
object instead of bytecode, since this is less prone to changes during
changes in coroutines codegen.

 #KT-48678
2022-06-27 23:11:40 +02:00
Stanislav Erokhin 62d7094ac5 Remove KtAnalysisSessionFe10BindingHolder
I've removed its usage from Fe10Binding module in the IDE repo
2022-06-27 19:32:45 +00:00
Stanislav Erokhin 3f99e2391b Minor: make some util functions public
I'm going to use it in Fe10Binding to create descriptors for special
constructions
2022-06-27 19:32:44 +00:00
Stanislav Erokhin 66851c7afd [Analysis API] Add KtReceiverParameterSymbol#correspondingSymbol 2022-06-27 19:32:44 +00:00
Pavel Kunyavskiy dfcf2cfa84 [K/N] Fix extracting local classes from lambda in cached inline function
^KT-52540
2022-06-27 14:09:27 +00:00
Igor Yakovlev 649910863c [WASM] Enable wasm StdLib tests 2022-06-27 10:40:21 +02:00
sebastian.sellmair 3aa3466d2e [Gradle][MPP] MPPBuildReproducibilityIT | ArchiveReproducibilityTest: Include js target
^KT-52740 Verification Pending
2022-06-27 08:26:52 +00:00
sebastian.sellmair c93b1d2aab [Gradle][MPP] MPPBuildReproducibilityIT: Use custom diff implementation
^KT-52740 Verification Pending
2022-06-27 08:26:51 +00:00
sebastian.sellmair 1e118c06af [Gradle][MPP] MPPBuildReproducibilityIT: Restrict to linux and mac hosts
^KT-52740 Verification Pending
2022-06-27 08:26:50 +00:00
sebastian.sellmair da37d51707 [Gradle][MPP] Ensure that built archives are reproducible
This is done by setting up the archive tasks to

a) isReproducibleFileOrder = true
Which is kind of self-explanatory: The zip entries will be ordered
therefore the same binary will be produced

b) isPreserveFileTimestamps = false
This one ensures, that all timestamps in the zip file
will be equal no matter the build host, or the actual time of build
(or timestamps of files)

^KT-52740 Verification Pending
2022-06-27 08:26:49 +00:00