Sergey Bogolepov
ada51509c4
Test caches for linux_x64 on Linux host.
2021-01-15 13:41:15 +07:00
Sergey Bogolepov
ed18fcdf28
Use target-specific cache control in tests
2021-01-15 13:41:15 +07:00
Sergey Bogolepov
092020577c
More precise native cache control.
...
Introduce `kotlin.native.cacheKind.$targetName`
that allows to control cache kind on per target basis.
2021-01-15 13:41:14 +07:00
Nikolay Krasko
0a1e4fd7d7
Download ktor from maven central in wizard project
2021-01-14 21:24:47 +03:00
Vyacheslav Karpukhin
71c71d8619
AndroidDependencyResolver: compatibility with AGP 7
2021-01-14 14:02:28 +01:00
Alexander Udalov
2a7a297399
Suppress "runtime JAR files version mismatch" warnings in some plugins
2021-01-13 19:34:24 +01:00
sebastian.sellmair
bfbb6afee5
Add sourcesJar from metadata target to root multiplatform publication
...
^KT-44298 fixed
2021-01-13 15:07:35 +00:00
Ivan Gavrilovic
dfdd107fc0
Update KAPT stubs for tests
...
Update expected outputs so they match
the new sorting rules.
2021-01-13 22:49:09 +09:00
Ivan Gavrilovic
ad8517c19a
Add tests from the reverted commit
...
To ensure deterministic build outputs.
2021-01-13 22:49:09 +09:00
Ivan Gavrilovic
a320152a03
Revert "Sort class members to ensure deterministic builds"
...
This reverts commit 4bf63a9539 .
2021-01-13 22:49:09 +09:00
Bingran
77f8c1e58f
Improve cacheability test coverage on kotlin compile, kapt tasks
...
This PR makes sure we have following cases covered for :compileKotlin,
:kaptKotlin, :kaptGenerateStubsKotlin tasks.
1. incremental change + input relocated
2. incremental change + input not relocated
2021-01-13 12:17:14 +03:00
Ivan Gavrilovic
1c8a25c106
KT-44020: Rename KAPT configuration used as task property
...
This is so AGP does not try to apply AndroidX substitution
to dependencies found in the annotation processor classpath.
AGP does this by checking if the configuration name starts
with "kapt".
Test: Kapt3Android42IT
2021-01-13 16:25:57 +09:00
Dmitriy Novozhilov
9378d1ff31
[Test] Add nullability annotations on InTextDirectivesUtils methods
2021-01-12 18:35:15 +03:00
fjjohnchen
49f2ac3545
KT-43818:NPM Dependencies already resolved and installed in Android Studio resolve
2021-01-12 17:24:05 +03:00
Dmitriy Novozhilov
e991c9d476
[CLI] Drop CommonCompilerArguments.coroutinesState
2021-01-12 16:47:54 +03:00
Dmitriy Novozhilov
df3b12e13b
[FE] Drop coroutinesState from build configurations plugins
2021-01-12 16:47:51 +03:00
Ilya Goncharov
df75cddcb8
[Gradle, JS] Add possibility to set jvmArgs for dce process
...
^KT-44104 fixed
2021-01-12 15:54:28 +03:00
Alexander Udalov
22d0e5eb65
Rename -Xno-use-ir -> -Xuse-old-backend, add Gradle option
...
As soon as JVM IR is enabled by default (in language version 1.5), use
the CLI argument `-Xuse-old-backend` or Gradle option `useOldBackend` to
switch to the old JVM backend.
2021-01-11 12:47:54 +01:00
Ilya Chernikov
534342a566
[minor] use new kotlin.io.path API in tests
2021-01-07 10:37:21 +01:00
Alexander Udalov
ed9a0e514d
Regenerate tests and fir-tree
2021-01-03 14:53:41 +01:00
Nikolay Krasko
133e39b783
Advance snapshot version 1.4.255 -> 1.5.255 (KTI-421)
...
#KTI-421 Fixed
2020-12-31 15:49:06 +03:00
Abduqodiri Qurbonzoda
662787b12b
Straighten Char-to-code and Char-to-digit conversions out #KT-23451
2020-12-31 12:07:41 +03:00
Iaroslav Postovalov
00506a75d3
Make Random implementations serializable (KT-25571)
...
Make Random.Default, XorWowRandom, and wrapper classes for JDK Random implement Serializable interface.
Co-authored-by: Ilya Gorbunov <ilya.gorbunov@jetbrains.com >
2020-12-31 04:10:28 +03:00
Abduqodiri Qurbonzoda
1314adb6f7
Locale-agnostic case conversions by default #KT-43023
2020-12-30 10:08:25 +03:00
Ilya Kirillov
6230a7861a
Wizard: do not print plugin repositories in build files if all of them are default ones
...
Also, use space dev repo for kotlin dev plugins
2020-12-29 11:50:36 +01:00
Alexander Udalov
77a9d14f93
Capitalize/decapitalize only ASCII characters across project
...
Use {de,}capitalizeAsciiOnly and to{Lower,Upper}CaseAsciiOnly where
possible, and stdlib's functions with Locale.US everywhere else.
Otherwise, if the default system locale is Turkish, the capital latin
letter "I" is transformed in toLowerCase to "ı" (see
https://github.com/JetBrains/kotlin/blob/66bc142f92085047a1ca64f9a291f0496e33dd98/libraries/stdlib/jvm/test/text/StringJVMTest.kt#L119 ),
which for example breaks the codegen for `intArrayOf` in
KT-25400/KT-43405.
Similarly, lower case latin letter "i" is transformed to "İ".
#KT-13631 Fixed
#KT-25400 Fixed
#KT-43405 Fixed
2020-12-28 16:10:30 +01:00
Ilya Goncharov
2ce51a4c11
[Gradle, JS] Fix tests with decamelizing names
...
^KT-43237 fixed
2020-12-24 16:35:29 +03:00
Ilya Goncharov
0bd4de65e1
[Gradle, JS] Fix upper case names in js files, decamelize instead
...
^KT-43237 fixed
2020-12-24 16:35:29 +03:00
Victor Petukhov
48d9812d9e
Review fixes around type enhancement and loading type use annotations
2020-12-18 19:32:05 +03:00
Nikolay Krasko
88a0fe7ec1
Make a longer description for Kotlin Android plugin
...
Try to overcome `Plugin description must not be generic, please
elaborate.` from the Gradle plugin portal.
2020-12-17 14:30:05 +03:00
Dmitriy Novozhilov
d15c7861b2
[TEST] Invert dependency between :test-generator and :tests-common modules
...
This is needed to provide ability for declaring new implementations of
test generators, based on existing infrastructure, which won't add
dependency on :compiler:tests-common
Also this commit removes implicit dependency on :compiler:tests-common
from :compiler:tests-common-new
2020-12-16 19:52:29 +03:00
Dmitriy Novozhilov
bc7e18fb8a
[TEST] Regenerate tests after previous commit
2020-12-16 19:52:28 +03:00
Dmitriy Novozhilov
c8f3a4802e
[TEST] Introduce test-infrastructure-utils module and extract common test utilities here
2020-12-16 19:52:22 +03:00
Dmitriy Novozhilov
23c088afd6
[TEST-GEN] Reorganize package structure in :generators:test-generator module
2020-12-16 19:52:20 +03:00
Dmitriy Novozhilov
380e8a3814
[TEST-GEN] Extract run of TestGenerator to top of test generation DSL
2020-12-16 19:52:19 +03:00
Svyatoslav Kuzmich
602ed42b99
[Wasm] Move intrinsic generators to generators/wasm
...
Reason: avoid kotlin-stdlib-gen dependency on kotlinStdlib() via wasm.ir
2020-12-15 19:44:19 +03:00
Svyatoslav Kuzmich
d37271bf35
[Wasm] Support packed integer array elements
2020-12-14 14:40:38 +03:00
Ilya Goncharov
0a3f3bef51
[Gradle, JS]Process error output and rethrow errors and warns to console
...
^KT-43869 fixed
2020-12-14 11:49:40 +03:00
Andrey Uskov
0a2269cccb
Fixed out-of-process compiler execution if project directy is absent
...
If project directory does not exist and out-of-process execution is used
the file with compiler arguments should be created in project directory
(if exists) or in temp directory.
#KT-43740 Fixed
2020-12-13 20:17:29 +03:00
Andrey Uskov
af95b8d1fe
Add explicit path sensitivity for InspectClassesForMultiModuleIC
...
Gradle uses PathSensitivity.ABSOLUTE by default, so this change
just explicitly specifies it in order to avoid warnings.
#KT-43895 Fixed
2020-12-13 20:17:20 +03:00
anastasiia.spaseeva
38b59ddabf
Wizard: Fix tests
2020-12-09 18:16:07 +03:00
anastasiia.spaseeva
71459db9dd
Wizard: Do not add bintray repoitory for eap versions
2020-12-09 18:16:06 +03:00
Denis.Zharkov
4f5db241ea
Add @JvmRecord annotation and relevant diagnostics
...
^KT-43677 In Progress
2020-12-09 16:29:03 +03:00
Ilya Goncharov
ff52a3f867
[Gradle, JS] Null library and libraryTarget when they are null
...
^KT-43842 fixed
2020-12-09 15:59:40 +03:00
Svyatoslav Kuzmich
d4233f3f0e
[Wasm] Use Wasm GC arrays instead of JS arrays
...
JS arrays was a workaround for lack of arrays in Firefox Wasm GC prototype
Now with V8 as a test runner we can use proper arrays
2020-12-09 15:56:45 +03:00
Svyatoslav Kuzmich
6063353b64
[Wasm] Generate stdlib WasmOp based on WasmOp from Wasm IR
2020-12-09 15:56:44 +03:00
Ilya Goncharov
82ad230e0d
[Gradle, JS] Add nodeArgs to NodeJsExec
...
^KT-43793 fixed
2020-12-07 13:08:47 +03:00
Mikhael Bogdanov
28a1d1ceac
Disable test on Windows
...
#KTI-405
2020-12-05 07:18:45 +01:00
Alexander Udalov
25c228297a
JVM IR: support noarg compiler plugin
...
#KT-41265 Fixed
2020-12-04 22:12:58 +01:00
LepilkinaElena
9d749feb64
Fix gradle test for endorsed libraries in K/N ( #3953 )
2020-12-03 12:57:02 +03:00