Commit Graph

94480 Commits

Author SHA1 Message Date
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
Roman Golyshev 3042a80faf KT-39492: Ignore default values from Kotlin Metadata in KotlinMetadataArgumentVisitor
^KT-39492 Fixed
^KTIJ-18094 Fixed
^KTIJ-17632 Fixed

Merge-request: KT-MR-6914
2022-08-24 12:30:33 +00:00
Martynas Petuška c96e1f70fb KT-52951 (#4881)
* KT-52951

Configurable js test browser target

* Update KotlinKarma.kt

Comma separated multiple browser support

* Update KotlinKarma.kt

* Use PropertiesProvider
2022-08-24 13:33:02 +03:00
Pavel Kunyavskiy c279facc28 [K/N] More localized debug info rejection is supported
Sometimes plugins generate code with UNDEFINED_OFFSET debug info.
Probably, we can't control it, and just need to deal with it.

^KT-53667
2022-08-24 10:27:08 +00:00
Yahor Berdnikau 55e1061862 Mark testFixtures dependencies as optional in published pom
Same as Gradle does by default.

^KT-53670 Fixed
2022-08-24 11:19:09 +02:00
Vladimir Sukharev 7f1ab29668 Fix Windows targets has bad addresses in stacktrace
^KT-49240 Fixed

Merge-request: KT-MR-6883
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
2022-08-24 09:05:06 +00:00
Pavel Mikhailovskii 18e61315f4 KT-27936 Generate InnerClasses attributes 2022-08-23 22:06:10 +00:00
soarex 4a8eec8166 Fix test environment setup in atomicfu plugin
Co-authored-by: soarex <soarex16@gmail.com>

Merge-request: KT-MR-6915
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>
2022-08-23 20:58:31 +00:00
Svyatoslav Scherbina 0021333b91 [Native][test] Unmute more passing tests
They now pass likely due to better handling of reflection information
when renaming packages when grouping tests (see cee0731).
2022-08-23 17:05:59 +00:00
Alexander Shabalin 58569f2eee Fix pthread to number converstion ^KT-52429
Merge-request: KT-MR-6918
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-08-23 16:36:24 +00:00
konstantin.tskhovrebov 45fc5fb76b [KT-47355] Fix sym link paths in macos fat framework. 2022-08-23 17:06:33 +02:00
Svyatoslav Scherbina 860f99482a Native: prohibit calling suspend functions from autoreleasepool {}
If a suspend function is called from `autoreleasepool {}` block, this
might cause the autoreleasepool frame to be removed earlier than
expected. See https://youtrack.jetbrains.com/issue/KT-50786 for more
details.

^KT-50786 Fixed
2022-08-23 14:30:54 +00:00
Yahor Berdnikau 55cfb3af20 Remove deprecated GFileUtils usage
^KT-53615 Fixed
2022-08-23 12:24:04 +00:00