Commit Graph

14646 Commits

Author SHA1 Message Date
Yahor Berdnikau 44c421c2a3 [Gradle] Remove unused import in CInteropCommonizerCompositeMetadataJarBundling
^KT-56904 In Progress
2024-02-06 10:20:23 +00:00
Yahor Berdnikau 9a94ac5d20 [Gradle] Fix warnings in AddIntransitiveMetadataDependency.kt
^KT-56904 In Progress
2024-02-06 10:20:23 +00:00
Yahor Berdnikau a58d0dc237 [Gradle] Fix warnings in KotlinNativeCompilation
^KT-56904 In Progress
2024-02-06 10:20:23 +00:00
Yahor Berdnikau 5b18687935 [Gradle] Fix warnings in KotlinMetadataTargetConfigurator
^KT-56904 In Progress
2024-02-06 10:20:23 +00:00
Dmitrii Krasnov be6ab943f4 [Gradle] Fixed Mac and Windows integration tests
These tests were failed because of `dependencyManagement` in testDsl.

^KT-64903


Merge-request: KT-MR-14201
Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com>
2024-02-06 09:09:34 +00:00
Dmitrii Krasnov 06a3e9135c [Gradle Native] Made a k/n bundle as input for commonizeNativeDist task
Also, extracted moving konan bundle to konanHome into BuildService and wrapped moving k/n bundle to konan home with file lock.
And added an integration test for checking ^KT-65222 and ^KT-65347.

^KT-65450
^KT-65347 Fixed


Merge-request: KT-MR-14099
Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com>
2024-02-05 16:37:49 +00:00
Yahor Berdnikau ad5ee28d58 [Gradle] Use proper approach to local repository
^KT-65528 In Progress
2024-02-05 16:14:41 +00:00
Yahor Berdnikau eac48d065b [Gradle] Migrate HierarchicalStructureOptInMigrationArtifactContentMppIT to new test DSL
^KT-65528 In Progress
2024-02-05 16:14:41 +00:00
Yahor Berdnikau 81fded3c8b [Gradle] Migrate KotlinToolingMetadataIT to new test DSL
^KT-65528 In Progress
2024-02-05 16:14:40 +00:00
Yahor Berdnikau 6404cede07 [Gradle] Fix warnings in KotlinWebpack
^KT-56904 In Progress
2024-02-05 10:27:18 +00:00
Yahor Berdnikau ac8edc168d [Gradle] Fix warnings in KotlinJsTest
^KT-56904 In Progress
2024-02-05 10:27:18 +00:00
Yahor Berdnikau bbf0402a0f [Gradle] Remove unused import in NodeJsRootExtension
^KT-56904 In Progress
2024-02-05 10:27:18 +00:00
Yahor Berdnikau 07ae48d1a3 [Gradle] Fix warnings in NodeJsExec
^KT-56904 In Progress
2024-02-05 10:27:18 +00:00
Dmitrii Krasnov 2873b11589 [Gradle] Muted k/n IT tests on Windows
connected with this problem ^KT-62761
2024-02-02 11:44:03 +00:00
Dmitrii Krasnov d4a4696baf [Gradle] Added dependencyManagement as to Integration Tests
Also fixed found problems with k/n toolchain feature

^KT-64903 Fixed
2024-02-02 11:44:03 +00:00
Artem Kobzar 4b1bbefe05 [Plugin JS Plain Objects] Remove wasm support because there is no possibility to eliminate inlined js object properties at this moment 2024-02-02 10:38:13 +00:00
Artem Kobzar 61f14374b9 [Gradle JS/Wasm] Force CLI arg usage in case of debug property for the Webpack DevServer 2024-02-01 11:00:19 +00:00
Alexander.Likhachev 5c4fbcb623 [Gradle] Fix warnings in DefaultCInteropSettings
^KT-56904 In Progress
2024-01-31 12:20:06 +00:00
Alexander.Likhachev 839723e4de [Gradle] Fix warnings in KotlinCocoapodsPlugin
^KT-56904 In Progress
2024-01-31 12:20:06 +00:00
Alexander.Likhachev 8833193349 [Gradle] Fix warnings in GenerateArtifactPodspecTask
^KT-56904 In Progress
2024-01-31 12:20:05 +00:00
Alexander.Likhachev de504c9e93 [Gradle] Fix warnings in KotlinCompilationNpmResolution
^KT-56904 In Progress
2024-01-31 12:20:05 +00:00
Alexander.Likhachev 4de2f7ef27 [Gradle] Fix warnings in KotlinRootNpmResolver
^KT-56904 In Progress
2024-01-31 12:20:05 +00:00
Alexander.Likhachev e159524c43 [Gradle] Fix warnings in forAllAndroidVariants extension
^KT-56904 In Progress
2024-01-31 12:20:05 +00:00
Alexander.Likhachev 8fe65d2fee [Gradle] Fix warnings in ClassLoadersCache
This check is required due to the way of generic type declaration in the Guava code
^KT-56904 In Progress
2024-01-31 12:20:05 +00:00
Abduqodiri Qurbonzoda e4a8fc01c3 Fix typo in stdlib KDocs, behavoir -> behavior 2024-01-31 12:11:48 +00:00
Abduqodiri Qurbonzoda c9d8ecc599 Detect concurrent modifications in ArrayDeque #KT-63355
Remove the ArrayDeque.subList().subList() test for comodification detection.
For types that extend AbstractList and to not override subList function,
the behavior varies depending on JDK version. With JKD8, the test fails for ArrayDeque.
While with JDK9+, it passes.
2024-01-31 12:11:48 +00:00
Abduqodiri Qurbonzoda 5f16fb2e4d Introduce Common protected property AbstractMutableList.modCount #KT-57150 2024-01-31 12:11:48 +00:00
Anton Keks 695119ca35 [stdlib] remove duplicate size checks, as the same is done inside of Array extension functions that are called here 2024-01-31 06:51:08 +00:00
Abduqodiri Qurbonzoda b67ebf36a2 Implement optimized removeRange for ArrayDeque #KT-64956
Test ArrayDeque with size 15. With the existing sizes the removeRange
implementation couldn't reach the maximum number of iterations - 3.

Benchmark results for ArrayDeque.subList().clear() that uses
removeRange() can be found here:
https://github.com/qurbonzoda/KotlinArrayDequeBenchmarks/tree/master/results
2024-01-30 22:37:25 +00:00
Abduqodiri Qurbonzoda 240a423bed Introduce Common protected function AbstractMutableList.removeRange #KT-57151 2024-01-30 22:37:25 +00:00
Nataliya.Valtman 6000596673 Report FUS metrics only from FusMetrics.kt
#KT-65213 Fixed
2024-01-30 14:26:43 +00:00
Artem Kobzar 5b7478c0a6 [K/JS] Automatiacally add runtime dependency for JS Plain Objects plugin inside its Gradle plugin 2024-01-30 13:54:51 +00:00
strangepleasures effcdd5e71 KT-65330 Fix the DuckDuckGo benchmark 2024-01-30 13:23:21 +00:00
Yahor Berdnikau 09f2f36545 [Gradle] Fix warnings in KotlinJsIrTarget
^KT-56904 In Progress
2024-01-30 11:49:07 +00:00
Yahor Berdnikau c43a0228b9 [Gradle] Fix warnings in KotlinJsIrSubTarget
^KT-56904 In Progress
2024-01-30 11:49:07 +00:00
Yahor Berdnikau cc29ee9f7a [Gradle] Removed unused method in KotlinJsIrLink
^KT-56904 In Progress
2024-01-30 11:49:07 +00:00
Yahor Berdnikau ed82ca5c09 [Gradle] Fix warnings in KotlinJsBinaryContainer
^KT-56904 In Progress
2024-01-30 11:49:07 +00:00
Yahor Berdnikau d0b0774c6d [Gradle] Fix warnings in KotlinBrowserJsIr
^KT-56904 In Progress
2024-01-30 11:49:07 +00:00
Yahor Berdnikau f4d9d98a5e [Gradle] Fix warnings in D8Exec
^KT-56904 In Progress
2024-01-30 11:49:07 +00:00
Yahor Berdnikau 5cf1572995 [Gradle] Fix warnings in KotlinJsCompilation
^KT-56904 In Progress
2024-01-30 11:49:07 +00:00
Yahor Berdnikau 0f29ae48ee [Gradle] Fix warnings in InternalKotlinTargetPreset
^KT-56904 In Progress
2024-01-30 11:49:07 +00:00
Ilya Goncharov 0350533189 [Gradle, JS] Do not use project on execution phase 2024-01-30 10:38:09 +00:00
Ilya Goncharov 6b6ed12df1 [Gradle, JS] Add test on source map config
^KT-59523 fixed
2024-01-29 20:43:01 +00:00
Artem Kobzar 8c69ffe8c9 [K/Wasm] Generate wasm-specific unsigned implementations ^KT-58039 Fixed 2024-01-29 20:11:41 +00:00
Artem Kobzar b59993d88a [K/Wasm] Prepare for splitting unsigned implementation helpers into expect/actuals KT-58039 2024-01-29 20:11:41 +00:00
Alexander.Likhachev e8be5b4b0b [Gradle] Fix "lib with tests" tests
The tests `NewMultiplatformIT.testLibWithTests` and `NewMultiplatformIT.testLibWithTestsKotlinDsl` were broken for a while, but this was unnoticed because of the TC bug. Java targets were removed from the test project in 34f4e3cbf6. The fix just removes the Java target tests from the expected test report.
2024-01-29 18:39:41 +00:00
Alexander.Likhachev a065b7adf8 [Gradle] Escape TC service messages in debug logs unconditionally
Those messages are not required for the real TC reporting. They are printed just for debugging purposes of integration with K/N and K/JS test runners.
^KT-65295 Fixed
2024-01-29 18:39:41 +00:00
Nataliya.Valtman fc8c6dadc9 Don't run testProjectWithBuildSrcForGradleVersion7 on windows
#KT-65227
2024-01-29 14:04:51 +00:00
vladislav.grechko f318b5969d Erase non-reified type parameters by-default when inlining.
Substitution of type arguments to non-reified type parameters may lead
to accidental reification, which should not be done (see ^KT-60174 for
examples). So, we should erase them, except the few cases.

^KT-60174: Fixed
^KT-60175: Fixed
2024-01-26 18:31:20 +00:00
Ilya Goncharov d18660c8f1 [Gradle, JS] Add npm support but default Yarn package manager left
Co-authored-by: Alexander Likhachev <Alexander.Likhachev@jetbrains.com>


^KT-64119 fixed
2024-01-26 13:38:23 +00:00