Commit Graph

94492 Commits

Author SHA1 Message Date
Dmitry Gridin acfbe30f7c [lc] drop redundant PsiManager argument from KtLightClassForFacadeBase
^KT-53543
2022-08-29 11:51:40 +00:00
Alexander Udalov 690322b203 Add flag -Xno-new-java-annotation-targets
Do not generate TYPE_USE/TYPE_PARAMETER Java annotation targets when
this flag is specified.

 #KT-53712 Fixed
2022-08-29 13:43:49 +02:00
Alexander Udalov a09fd45ade Do not generate TYPE_USE/TYPE_PARAMETER when compiling against JDK 1.6
#KT-53712
2022-08-29 13:43:32 +02:00
Yahor Berdnikau 0d2e9e7013 Change 'KotlinCompile.classpath' task input deprecation level to ERROR
^KT-51679 Fixed
2022-08-29 08:36:17 +00:00
nataliya.valtman 30dd848b43 Add custom_values_limit property to configure build scan report
#KT-53732 Fixed
2022-08-26 15:22:12 +00:00
nataliya.valtman 214586c8ee Fix repeating custom values in build scan. Refactor build statistic 2022-08-26 15:22:12 +00:00
Simon Ogorodnik 8f51c51eee FIR. Fix smart-cast expression unwrapping in plus with assign resolve 2022-08-26 14:57:06 +00:00
Sergey Bogolepov f946496979 [K/N] Deprecate obsolete GC handles. 2022-08-26 14:35:08 +00:00
Sergey Bogolepov 8010203ee5 [K/N] Update Throwable.kt documentation for the new MM 2022-08-26 14:35:08 +00:00
Sergey Bogolepov aaf24c897f [K/N] Update ObjectTransfer.kt documentation for the new MM 2022-08-26 14:35:08 +00:00
Sergey Bogolepov 122f3033f2 [K/N] Update Atomics.kt documentation for the new MM 2022-08-26 14:35:07 +00:00
Sergey Bogolepov 5d11e0d408 [K/N] Update Worker.kt documentation for the new MM 2022-08-26 14:35:06 +00:00
Sergey Bogolepov 2e22a5bd41 [K/N] Update annotations documentation for the new MM 2022-08-26 14:35:05 +00:00
Sergey Bogolepov abed99bdb7 [K/N] Update GC.kt documentation 2022-08-26 14:35:04 +00:00
Sebastian Sellmair 979ec77f53 [Gradle][MPP] Implement additional MultiplatformAndroidSourceSetLayoutV2DiagnosticsTest
KT-53709
2022-08-26 13:51:28 +00:00
Sebastian Sellmair 7df34011ec [Gradle][MPP] MultiplatformLayoutV2MultiplatformLayoutV1StyleSourceDirUsageChecker: Don't emit warning on ambiguous SourceSet
^KT-53709 Verification Pending
2022-08-26 13:51:28 +00:00
Sebastian Sellmair 10878e5967 [Gradle][MPP] Implement initial MultiplatformAndroidSourceSetLayoutV2DiagnosticsTest
... to cover KT-53709
2022-08-26 13:51:27 +00:00
Sebastian Sellmair d4bded85cd [Gradle][MPP] Increase .toString() readability for KotlinAndroidSourceSetLayoutChecker.Diagnostic
KT-53709
2022-08-26 13:51:27 +00:00
Sebastian Sellmair 5a447a823f [Gradle][MPP] Introduce DiagnosticReporter and Diagnostic APIs...
... for KotlinAndroidSourceSetLayoutChecker

KT-53709
2022-08-26 13:51:27 +00:00
Pavel Kunyavskiy 776b68f2fe [K/N] Move aws address for perf infra from code to environment 2022-08-26 09:52:48 +00:00
Artem Kobzar dbda8dcad1 [K/JS] test: add @file:JsExport tests for each @JsExport test + auto-generate TypeScript export tests. 2022-08-26 09:51:59 +00:00
Pavel Mikhailovskii d65775ca1a KT-47475 Do not copy InnerClass attribute for WhenMapping classes 2022-08-25 21:41:14 +00:00
Ilya Gorbunov 38099e11c3 Remove rangeUntil extensions that are now shadowed by members #KT-52933 2022-08-25 19:24:11 +00:00
Artem Kobzar e0a2400823 [K/JS] build: speedup tests rerunning with incremental typescript compilation for IrJsTyperScriptTests. 2022-08-25 18:02:56 +00:00
Anton Lakotka 564e3b064a [Gradle] Make target lifecycle task depend on classes compilation outputs
Not just on compile task

^KT-31459 Verification Pending
2022-08-25 14:56:35 +00:00
Anton Lakotka 7c083faea7 [Gradle] Test that task jvmMainClasses depends on compileJava
^KT-31459
2022-08-25 14:56:34 +00:00
Roman Golyshev 3ea78ae745 Revert some changes from 3042a80f
Too many places right now depend on `KotlinClassHeader.data` and
`KotlinClassHeader.strings` being saved even if empty,
and not being null

See KT-39492
2022-08-25 14:43:25 +00:00
Alexander Likhachev 3d8d3465d9 [Gradle] Revert removed testAndroidExtensionsIncremental AGP IT
It was disabled because of KT-38622 and then accidentally removed. This commit reverts the removal and makes the test to use the experimental classpath snapshots IC
2022-08-25 15:31:31 +02:00
Vladimir Sukharev 99fe242b38 Disable failed test on linux_mips32
^KT-48949 Turn off failed test

Merge-request: KT-MR-6935
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
2022-08-25 13:11:56 +00:00
Pavel Punegov cde46adc08 [K/N][samples] Use mingw preinstalled only in the exact place
Newer versions got be env variable lead to linkage errors
2022-08-25 12:56:15 +00:00
Yahor Berdnikau e6150f5ef8 Fix test project gradle debug flag is wrongly propagated to the build 2022-08-25 12:43:16 +00:00
Yahor Berdnikau 409a85f552 Split dependency management code into 3 files
^KT-41642 Fixed
2022-08-25 12:43:16 +00:00
Yahor Berdnikau 632009345d Add JS stdlib dependency only when JS target is set
^KT-41642 In Progress
2022-08-25 12:43:16 +00:00
Yahor Berdnikau eaf6177015 Add kotlin-test variant dependency in a lazy way
^KT-41642 In Progress
2022-08-25 12:43:15 +00:00
Yahor Berdnikau 4441033134 Add kotlin-stdlib dependency in a lazy way
^KT-41642 In Progress
2022-08-25 12:43:15 +00:00
Pavel Kunyavskiy 895a8ff149 [K/N] Basic support of Enum.entries for Native
No forward compatibility yet, with old klib IR linker will fail.

^KT-53324
2022-08-25 12:40:30 +00:00
Dmitriy Novozhilov 8cde6fe3c5 Advance bootstrap to 1.8.0-dev-2355 2022-08-25 11:23:11 +00:00
Pavel Kirpichenkov 029bb55157 [MPP] Refine scope for synthetic Java properties
Unrefined member scopes might have missing Java supertypes and cause
false positive resolution errors for synthetic properties in IDE.

KTIJ-22345
2022-08-25 09:17:46 +00:00
Dmitriy Novozhilov 89e55139c6 [PSI2IR] Handle resolved calls generated by AssignResolutionAltererExtension 2022-08-25 08:59:44 +00:00
Ilya Gorbunov 6aff3c6d07 Update misc test data after introducing rangeUntil member #KT-52933 2022-08-24 22:22:54 +00:00
Ilya Gorbunov baf7cbb3ac Add 'until' function for unsigned arguments to interpreter test helpers #KT-52933
Required to evaluate rangeUntil members of unsigned types.
2022-08-24 22:22:54 +00:00
Ilya Gorbunov 800ff20fc7 Exclude rangeUntil operation from constant evaluation and interpretation #KT-52933 2022-08-24 22:22:54 +00:00
Ilya Gorbunov bbe5dca33e Add rangeUntil to the list of not interpreted builtin members #KT-52933 2022-08-24 22:22:53 +00:00
Ilya Gorbunov 64a11c555f Suppress extension shadowing member for rangeUntil extensions #KT-52933
Until the next bootstrap where they can be removed entirely
2022-08-24 22:22:53 +00:00
Ilya Gorbunov 203a00151d rangeUntil member operator in builtins #KT-52933 2022-08-24 22:22:53 +00:00
Ilya Gorbunov ec9c862034 Minor cleanup: remove unused condition 2022-08-24 22:22:52 +00:00
Dmitriy Novozhilov 66117367ad [FIR] Transform context receivers on properties during type resolution stage
^KT-53706 Fixed
2022-08-24 15:36:42 +00:00
Dmitriy Novozhilov 7ef2f7ccde [FIR] Add transformContextReceivers() method to FirProperty 2022-08-24 15:36:41 +00:00
konstantin.tskhovrebov f3fc5cbc42 [KT-53695] Cocoapods: use special task for framework copying. 2022-08-24 14:28:23 +00:00
Dmitriy Novozhilov bc95c76411 Advance bootstrap to 1.8.0-dev-2298 2022-08-24 13:54:31 +00:00