Commit Graph
12660 Commits
Author SHA1 Message Date
Ilya Gorbunov f8d001c21f KT-57298 createParentDirectories: handle already existing directory symlink 2023-04-08 15:21:12 +00:00
Ilya Gorbunov 912b65060e KT-55610 Deprecate k.j.Volatile annotation in Common and JS
Use k.c.Volatile in common AbstractMap instead
2023-04-08 15:07:56 +00:00
Ilya Gorbunov b8da3e69ce KT-55268 Make k.c.Volatile stable 2023-04-08 15:07:56 +00:00
Ilya Gorbunov 2dbff89098 Split tests for MutableList.shuffle and Iterable.shuffled 2023-04-08 14:47:30 +00:00
Ilya Gorbunov f13e127b0f KT-57607 Add test for MutableList.addAll at index
Also improve other operations test coverage
2023-04-08 14:47:30 +00:00
Sebastian Sellmair 9442009d91 [Gradle][Minor] Add comments for IdeCompilerArgumentsResolverImpl
KTIJ-24976
2023-04-06 16:03:13 +00:00
Sebastian Sellmair 1573f0250a [Gradle][Minor] Add documentation on 'runSafe' to provide guidance on when to use it
KTIJ-24976
2023-04-06 16:03:12 +00:00
Sebastian Sellmair 777955b4e2 [Gradle] Ensure pluginClasspath is imported into the IDE
See
`[KTIJ-24976] Implement initial KotlinMppCompilerPluginImportingTests`
in intellij.git

KTIJ-24976
2023-04-06 16:03:12 +00:00
Sebastian Sellmair 6c2087983c [Gradle] Kotlin2JsCompile: Remove old createCompilerArgs
KTIJ-24976
2023-04-06 16:03:11 +00:00
Sebastian Sellmair ca84505376 [Gradle] KotlinJsIrLink: Handle KotlinBuildStatsService invocation outside of creating compiler args
KTIJ-24976
2023-04-06 16:03:11 +00:00
Sebastian Sellmair fc05d001c6 [Gradle] Implement additional IdeCompilerArgumentsResolverTest
KTIJ-24976
2023-04-06 16:03:11 +00:00
Sebastian Sellmair 446c6793a4 [Gradle] Kotlin2JsCompile: Remove redundant processArgs
KTIJ-24976
2023-04-06 16:03:10 +00:00
Sebastian Sellmair 014bb0214f [Gradle][Minor] Kotlin2JsCompile: Make contributeAdditionalCompilerArguments protected
KTIJ-24976
2023-04-06 16:03:10 +00:00
Sebastian Sellmair 1cebf24bed [Gradle] GenerateGradleOptions: Remove fillDefaultValues
KTIJ-24976
2023-04-06 16:03:09 +00:00
Sebastian Sellmair d6cc9e2476 [Gradle] KotlinCompile: Prevent iterating calling FileCollection.getFiles multiple times for sources
KTIJ-24976
2023-04-06 16:03:09 +00:00
Sebastian Sellmair b8f8b9b344 [Gradle][Minor] Remove redundant args.moduleName = compilerOptions.moduleName.orNull
KTIJ-24976
2023-04-06 16:03:09 +00:00
Sebastian Sellmair 1844aab35d [Gradle] KotlinCompile: Move allowNoSourceFiles = true to KotlinJvmCompilerOptionsHelper
KTIJ-24976
2023-04-06 16:03:08 +00:00
Sebastian Sellmair e5fbb253c5 [Gradle][Minor] createCompilerArguments(default) -> createCompilerArguments()
KTIJ-24976
2023-04-06 16:03:08 +00:00
Sebastian Sellmair d85d6fc0bb [Gradle][Minor] IdeCompilerArgumentsResolver: Replace if with when
KTIJ-24976
2023-04-06 16:03:07 +00:00
Sebastian Sellmair 133f2260e0 [Gradle] KotlinCompilerArgumentsProducer: Replace contribute(Type) with semantic methods
KTIJ-24976
2023-04-06 16:03:07 +00:00
Sebastian Sellmair 8156717e31 [Gradle][Minor] KotlinCompilerArgumentsProducer: Use .default in createCompilerArguments
KTIJ-24976
2023-04-06 16:03:06 +00:00
Sebastian Sellmair 86c33ec97c [Gradle] KotlinCompilerArgumentsProducer: Merge PluginClasspath & DependencyClasspath
KTIJ-24976
2023-04-06 16:03:06 +00:00
Sebastian Sellmair 1bbd135de8 [Gradle] Remove DefaultValues.prettyDefaultValue in favor of stripping OPTIONS_PACKAGE_PREFIX
KTIJ-24976
2023-04-06 16:03:05 +00:00
Sebastian Sellmair f57d0393e5 [Gradle] Serialise compiler arguments using 'compactArgumentValues = false' for IDE
This makes it easier for the IDE to intern individual arguments later

KTIJ-24976
2023-04-06 16:03:05 +00:00
Sebastian Sellmair fb66764c4d [CLI] K2JVMCompilerArguments: Model modulePath as Array<String>
to allow interning individual file-path arguments on the IDE

KTIJ-24976
2023-04-06 16:03:04 +00:00
Sebastian Sellmair 9dcd40d7b7 [CLI] K2JVMCompilerArguments: Model classpath as Array<String>
to allow interning individual file-path arguments on the IDE

KTIJ-24976
2023-04-06 16:03:03 +00:00
Sebastian Sellmair 2b893365aa [Gradle] Replace FakeK2NativeCompilerArguments with K2NativeCompilerArguments
KTIJ-24976
2023-04-06 16:03:02 +00:00
Sebastian Sellmair c5e154a325 [Gradle] KotlinJvmCompilerOptions: Use JvmTarget.DEFAULT as default value for jvmTarget
KTIJ-24976
2023-04-06 16:03:01 +00:00
Sebastian Sellmair 2b086946ef [Gradle] Fix NewMultiplatformIT.testLanguageSettingsApplied
KTIJ-24976
2023-04-06 16:03:01 +00:00
Sebastian Sellmair cc47fb3d31 [Gradle] IdeCompilerArgumentsResolverImpl: use short names
KTIJ-24976
2023-04-06 16:03:00 +00:00
Sebastian Sellmair a681f6a1ce [Gradle] KotlinNativeLink: Use singleLinkerArguments instead of linkerArguments
KTIJ-24976
2023-04-06 16:03:00 +00:00
Sebastian Sellmair 9f2ee09ddb [Gradle] Fix CompilerOptionsIT.combinesOptInFromLanguageSettingsNative
KTIJ-24976
2023-04-06 16:02:59 +00:00
Sebastian Sellmair 2c8491cf27 [Gradle] Fix CompilerOptionsIT.passesOptInAnnotationNative
KTIJ-24976
2023-04-06 16:02:59 +00:00
Sebastian Sellmair e76f3fb925 [Gradle] KaptGenerateStubsTask: Implement KotlinCompilerArgumentsProducer
KTIJ-24976
2023-04-06 16:02:59 +00:00
Sebastian Sellmair 6455f602a0 [Gradle] AbstractKotlinCompile: Remove kotlinSources from callCompilerAsync
(as sources are expected to be part of the compiler arguments directly)

KTIJ-24976
2023-04-06 16:02:58 +00:00
Sebastian Sellmair df2a64b183 [Gradle] KotlinNativeLink: Implement KotlinCompilerArgumentsProducer
KTIJ-24976
2023-04-06 16:02:58 +00:00
Sebastian Sellmair e8d217a8d9 [Gradle] KotlinJsDce: Implement KotlinCompilerArgumentsProducer
KTIJ-24976
2023-04-06 16:02:57 +00:00
Sebastian Sellmair d6e3b63069 [Gradle] Implement CompilerArgumentAware (for compatibility) using the new KotlinCompilerArgumentsProducer
KTIJ-24976
2023-04-06 16:02:57 +00:00
Sebastian Sellmair 30a4911a51 [Gradle] KotlinNativeCompile: Implement KotlinCompilerArgumentsProducer
KTIJ-24976
2023-04-06 16:02:57 +00:00
Sebastian Sellmair 16cce7516e [Gradle] KotlinCompileCommon: Implement KotlinCompilerArgumentsProducer
KTIJ-24976
2023-04-06 16:02:56 +00:00
Sebastian Sellmair ff0b070398 [Gradle] Kotlin2JsCompile: Implement KotlinCompilerArgumentsProducer
KTIJ-24976
2023-04-06 16:02:56 +00:00
Sebastian Sellmair d4cc842200 [Gradle] KotlinCompile: Implement KotlinCompilerArgumentsProducer
KTIJ-24976
2023-04-06 16:02:55 +00:00
Sebastian Sellmair 0a3eb68934 [Gradle] Implement IdeCompilerArgumentsResolver service
KTIJ-24976
2023-04-06 16:02:55 +00:00
Sebastian Sellmair 36ff6531ea [Gradle] Deprecate CompilerArgumentAware in favor of KotlinCompilerArgumentsProducer
KTIJ-24976
2023-04-06 16:02:55 +00:00
Sebastian Sellmair f5fadc1f68 [kotlin-tooling-core] Add Interner.clear API 2023-04-06 16:02:54 +00:00
Anton Lakotka 88488f4dc9 [Gradle, Test] Fix disable default publications test
Windows has different line endings, so it is not possible to
to seek multiline substrings.
2023-04-06 12:34:12 +00:00
Sebastian Sellmair 4bc1271f55 [Gradle] AbstractCInteropCommonizerTask: Do not use ';' character in fileName
The ';' will later be used as path separator. Therefore,
using the ';' as joiner for multiple cinterop commonizer groups
will confuse the CLI argument parser inside the Commonizer

^KT-57796 Verification Pending
2023-04-06 11:34:07 +00:00
Sebastian Sellmair 59d78b4d96 [Gradle] Create commonize-kt-57796-twoCInteropCommonizerGroups to cover KT-57796 2023-04-06 11:34:07 +00:00
Zalim Bashorov 155eb9b77a [Wasm, stdlib] extract Any::identityHashCode to workaround the bug in FunctionDescriptorFactory
A fix is on its way -- KT-MR-9426.
2023-04-05 20:50:53 +02:00
Zalim Bashorov 2e4a09f841 [Wasm] Replace takeIf with ifEmpty in TeamcityAdapter 2023-04-05 20:50:52 +02:00