Jinseong Jeon
cda1a7edbe
FIR/UAST: commonize UAnnotationMethod
2021-06-19 11:39:46 +02:00
Jinseong Jeon
638b0beadb
FIR UAST: unify UMethod creation
2021-06-19 11:39:46 +02:00
Jinseong Jeon
5ec5b7f041
FIR/UAST: commonize constructor declarations
2021-06-19 11:39:45 +02:00
Jinseong Jeon
cbaa645dbe
FIR/UAST: commonize base UMethod
2021-06-19 11:39:45 +02:00
Jinseong Jeon
4a06ca637a
FIR/UAST: commonize anonymous UClass
2021-06-19 11:39:45 +02:00
Jinseong Jeon
3bd4cb274d
FIR/UAST: commonize invalid UClass
2021-06-19 11:39:44 +02:00
Jinseong Jeon
1749c90083
FIR/UAST: commonize base UClass (with bogus annotation abstraction)
2021-06-19 11:39:44 +02:00
Jinseong Jeon
06c20bb10e
FIR/UAST: commonize abstraction of Kotlin UClass
2021-06-19 11:39:43 +02:00
Jinseong Jeon
0c011f4e73
UAST: place method declarations together
2021-06-19 11:39:43 +02:00
Jinseong Jeon
beddf03f74
FIR/UAST: convert annotation via base converter
2021-06-19 11:39:42 +02:00
Jinseong Jeon
33ff90a6da
FIR/UAST: commonize named/vararg expressions
2021-06-19 11:39:42 +02:00
Jinseong Jeon
dcf99e9fd1
UAST: delete redundant file
...
This is rather a test input, and indeed there is testData/Suspend.kt
2021-06-19 11:39:42 +02:00
Jinseong Jeon
4e4b104488
FIR/UAST: commonize expression list
2021-06-19 11:39:41 +02:00
Jinseong Jeon
2e58b57db9
UAST: remove redundant override: expression list's evaluate()
...
The super function in `KotlinEvaluatableUElement` is almost same,
except for handling of `UnsignedErrorValueTypeConstant`.
Such handling was added later, so I assume the addition to this override
was missed. In any cases, this override is unnecessary.
2021-06-19 11:39:41 +02:00
Jinseong Jeon
31d1c002c5
FIR UAST: implement constructors/delegations
...
But, the logic is identical to the counterpart in FE1.0 UAST
Many declaration abstractions, such as (primary|secondary) constructor
methods and class, are very similar, and thus can be commonized soon
once the remaining parts (in particular, annotations) are done.
2021-06-19 11:39:40 +02:00
Nikita Bobko
8b3c6489da
Fix kotlin resources iml path
2021-06-18 17:42:23 +02:00
Nikita Bobko
306f8b7358
[imltogradle] Add "imls in same directory are not allowed" check
2021-06-18 17:42:23 +02:00
Ilya Goncharov
eed23ddbe3
[JS, Frontend] Add test with extension member in external interface
2021-06-18 17:20:57 +03:00
Ilya Goncharov
83c1a119ee
[JS, Frontend] Add option to allow extension lambdas in externals
2021-06-18 17:20:56 +03:00
Svyatoslav Scherbina
2a54f1c610
Improve exception messages for kotlin.native.concurrent.* operations
2021-06-18 13:51:21 +00:00
nataliya.valtman
6a32e7bd5a
Add typealias testcase for incremental compilation
2021-06-18 16:50:17 +03:00
Anton Bannykh
48fe46303d
JS IR: declare intrinsics for lowerings in stdlib
...
- simplifies lowered IR serialization
- removes some hacks in jsOperators.kt
- intrinsics can be directly invoked in stdlib
2021-06-18 15:26:52 +03:00
Ilya Matveev
94384ce2ca
[K/N][Runtime] Add a lock method to thread registry
2021-06-18 12:20:04 +00:00
Ilya Matveev
cece652412
[K/N][Runtime] Separate thread registering and making it 'Runnable'
...
The new GC will require threads to suspend right after registering
if Stop-The-World is requested. This patch changes the initial
thread state to kNative and adds a separate state switch right
after thread registering. This switch suspends if it is necessary.
2021-06-18 12:20:03 +00:00
Alexander Shabalin
e240b8a8ee
Add a separate aggressive GC mode
2021-06-18 12:03:02 +00:00
Igor Chevdar
1cfe1c41ef
[K/N][IR] Fixed problem with klib compilation
...
Fixes https://youtrack.jetbrains.com/issue/KT-46896
2021-06-18 16:21:24 +05:00
Igor Chevdar
421ff68cd6
[K/N][codegen] Fix for https://youtrack.jetbrains.com/issue/KT-47183
2021-06-18 15:57:45 +05:00
Yahor Berdnikau
7aa882b921
Add test for multiplatform plugin.
...
^KT-43095 In Progress
2021-06-18 10:50:26 +00:00
Yahor Berdnikau
0f1da3c412
Make GradleCompileTaskProvider compatible with configuration cache.
...
Refactor it such way that it could be used via Provider and
don't raise configuration cache errors.
^KT-45611 In Progress
^KT-43095 In Progress
2021-06-18 10:50:26 +00:00
Yahor Berdnikau
84ec4106f7
Don't set toolchain if it is not configured.
...
Before even when user did not configure toolchain, default toolchain
was still created, but with recent changes it does not make sense.
^KT-43095 In Progress
2021-06-18 10:50:25 +00:00
Yahor Berdnikau
1c9b013732
Change dsl method to 'jvmToolchain'.
...
This better reflects that applying toolchain only affects jvm
backend compilations.
^KT-43095 In Progress
2021-06-18 10:50:24 +00:00
Yahor Berdnikau
1a6bb5cd08
Allow to pass any object for 'jdkVersion'.
...
This object should be accepted by 'JavaVersion.toVersion' method.
^KT-45611 In Progress
2021-06-18 10:50:23 +00:00
Yahor Berdnikau
46d5df4991
Consider toolchain only as input for 'jdkHome' compilation option.
...
This change will limit toolchain scope only to the JVM compilations,
as Kotlin compiler itself does not care about JDK version it is running
on and should always produce same output for non-JVM backends.
For JVM backend there is one condition - 'jdkHome' should always point
to the same JDK version.
Few additional changes:
- allow to set specific JDK location even on Gradle versions 6.7+
- Fix typo in deprecation message
^KT-45611 In Progress
^KT-43095 In Progress
2021-06-18 10:50:23 +00:00
Yahor Berdnikau
1bb64ffa22
Revert "Print path to java executable Kotlin daemon was started with."
...
This reverts commit 3e69bcba474d498c74a0e9827aa833f2381d43d8.
2021-06-18 10:50:22 +00:00
Yahor Berdnikau
f9ec6bb66a
Revert "Optionally make java executable path contribute to the daemon id."
...
This reverts commit ac86ad252f .
2021-06-18 10:50:21 +00:00
Pavel Kunyavskiy
d7a3310042
[K/N] KT-43780: support of more convenient objects using from objC/Swift
2021-06-18 08:02:22 +00:00
Pavel Kunyavskiy
0952a95949
[K/N] reuse common code for companionObject util
2021-06-18 08:02:21 +00:00
Viacheslav Kormushkin
0b6d2cd21a
Custom name support for fat frameworks
...
#KT-30805
2021-06-18 06:28:01 +00:00
Dmitry Petrov
ce107d06d4
JVM_IR add test for KT-47300
2021-06-17 21:40:30 +03:00
Roman Golyshev
1cd75b1e82
kotlin-stdlib:jvm-minimal-for-test -> kotlin-stdlib-jvm-minimal-for-test
...
Changed after cherry-picking 8baf570ee7
to the master-for-ide branch
2021-06-17 20:19:49 +03:00
Roman Golyshev
6ea4b8997b
Add kotlin-stdlib-minimal-for-test.jar artefact to the published dependencies
...
Some compiler tests rely on this jar instead of the regular `stdlib`
2021-06-17 20:19:48 +03:00
Vyacheslav Gerasimov
73d4110c92
Build: Rollback kotlin-stdlib-jvm-minimal-for-test publication
...
Continue publishing to the internal/repo only
2021-06-17 19:43:11 +03:00
Vyacheslav Gerasimov
58f1fb644f
Build: Stop publishing jars with original classifier
...
#KTI-580
2021-06-17 19:43:10 +03:00
Vyacheslav Gerasimov
fb805028c1
Build: Add runtimeJar variant to the default java component if present
2021-06-17 19:43:09 +03:00
Vyacheslav Gerasimov
a0469a1d62
Build: Make Gradle plugin publications reuse POMs from the main one
...
#KTI-571
2021-06-17 19:43:07 +03:00
Nikolay Krasko
80677c88cb
Update gradle task in generated files
2021-06-17 18:36:10 +03:00
Nikolay Krasko
c8ae9a7090
[imltogradle] Speedup files traversing by ignoring directories
2021-06-17 18:36:09 +03:00
Nikolay Krasko
7e8168a7e6
Ignore more boostrap libraries in dependency verification
2021-06-17 18:36:08 +03:00
Nikolay Krasko
d72f1097d7
Cleanup dependency verification for 211 kotlin-ide
2021-06-17 18:36:07 +03:00
Nikolay Krasko
6139f095e7
Disable dependencies verification for kotlin-ide projects
2021-06-17 18:36:06 +03:00