Commit Graph

64078 Commits

Author SHA1 Message Date
Ilya Kirillov 679ad4ca67 Wizard: fix small ui problems 2020-04-11 13:22:48 +03:00
Ilya Kirillov 63e7520789 Wizard: place build system type components on multiple row when no space left 2020-04-11 13:22:47 +03:00
Ilya Kirillov 7ad7d28d97 Wizard: fix FUS collector for wizard 2020-04-11 13:22:46 +03:00
Ilya Kirillov e395844567 Wizard: add logging for hyperlink handler 2020-04-11 13:22:45 +03:00
Ilya Kirillov be6cd4de4a Wizard: allow creating module without unit test engine & create JPS projects without one by default 2020-04-11 13:22:45 +03:00
Ilya Kirillov 0e199ae94c Enable new experimental project wizard by default 2020-04-11 13:22:44 +03:00
Ilya Kirillov e5cc244b36 Wizard: make build system type action dumb aware 2020-04-11 13:22:43 +03:00
Ilya Kirillov e6a3caa267 Wizard: introduce gradle IR builder 2020-04-11 13:22:42 +03:00
Ilya Kirillov aa3cdc09fc Wizard: update libraries versions
#KT-38124 fixed
2020-04-11 13:22:41 +03:00
Ilya Kirillov 7c011c48dd Wizard: move hardcoded versions to Versions.kt 2020-04-11 13:22:41 +03:00
Ilya Matveev 254a978a06 Gradle, native: Forbid parallel in-process compiler execution
After enabling the in-process compiler execution, we got several
reports related to the race condition that takes place during
system properties configuring (e.g. KT-37442, KT-37444, probably
KT-37362).

The right fix here is to get rid of using system properties at all.
But it requires changes in many places of the K/N compiler and such
a patch is not safe enough to include it into a bug-fix release. So
it's decided to forbid parallel in-process compiler execution in
1.3.71 and 1.4-M2.

Issue #KT-37565 Fixed
Issue #KT-37696 Fixed

Ported from:
https://github.com/JetBrains/kotlin/commit/1c1b637cc46012a22867d8e653bb6d94ed6138ba
https://github.com/JetBrains/kotlin/commit/2128d3dfe77db4e0a8450f4f943cbd13c2e5dd4d
2020-04-11 12:40:50 +07:00
Abduqodiri Qurbonzoda f2c05bf82c IR: Move annotation @JsExport to common source set in stdlib #KT-35966 2020-04-11 04:03:57 +03:00
Abduqodiri Qurbonzoda 4a7b1b210a Add onEachIndexed similar to forEachIndexed #KT-37161 2020-04-11 03:47:47 +03:00
Natalia Selezneva 57d390bab0 Introduce new external listener to avoid failing loading dependencies during new projet creation 2020-04-10 17:50:51 +03:00
Natalia Selezneva a07f455ae5 Fix unexpected loading for script configurations during branch switch 2020-04-10 16:47:49 +03:00
Vladimir Dolzhenko 936801d744 Fix 191 compilation due to changes in findReferences
Relates to #KT-37801
2020-04-10 14:50:58 +02:00
Dmitriy Dolovov d7226f4952 KLIB. Promote KLIB ABI version 2020-04-10 19:38:05 +07:00
Dmitriy Dolovov 101442ad14 KLIB: Store native targets in manifest 2020-04-10 19:33:27 +07:00
Dmitriy Dolovov 1b06256650 KLIB: Add 'native_targets' manifest property 2020-04-10 19:33:19 +07:00
Mikhail Glukhikh e1c78b31a6 [FIR2IR] Convert explicit receiver in advance 2020-04-10 14:49:27 +03:00
Konstantin Tskhovrebov b815cb7e4a Lift up module platform check and add bunch for 191.
191 bunch uses directly PsiTreeUtil instead kotlin extension
because without it class loader's loads different classes in runtime
and ClassCastException happens.

Fix #KT-38149
2020-04-10 14:47:28 +03:00
Harry 27827cd364 New J2K: Convert Number.[type]Value() to Number.to[type]() (#2908)
New J2K: Convert Number.[type]Value() to Number.to[type]()
2020-04-10 14:25:49 +03:00
Dmitriy Dolovov cdbc272aca IDE. Drop redundant test in GradleNativeLibrariesInIDENamingTest 2020-04-10 18:14:13 +07:00
Ilya Gorbunov 15319eb88e Implement in-place shuffle for arrays
Minor: reorder shuffle/shuffled extensions more consistently

#KT-25651 Fixed
2020-04-10 11:04:51 +03:00
Ilya Gorbunov e58f1c8932 Introduce Sequence.shuffled
#KT-37751
2020-04-10 10:59:40 +03:00
Dmitry Petrov f42d9eefa1 KT-30330 Support KotlinNothingValueException in JVM 2020-04-10 08:47:03 +03:00
Dmitry Petrov 9941c255b9 KT-30330 KotlinNothingValueException 2020-04-10 08:47:02 +03:00
Alexey Tsvetkov 6acf9385bd Add tests for lookup tracker with JS KLIB compiler 2020-04-10 05:35:45 +03:00
Alexey Tsvetkov 1c38466a22 Pass LookupTracker to deserialized scopes in JS KLIB compiler
Before this change, deserialized scopes were not tracking lookups properly,
because lookup tracker was not passed from compiler configuration correctly.
Because of that, lookups from dependencies were not tracked,
so multi-module IC was not working (chages were passed between modules,
but affected source files were not invalidated).
2020-04-10 05:35:45 +03:00
Alexey Tsvetkov 98f561bbed Add separate flag to control JS KLIB IC in Gradle 2020-04-10 05:35:45 +03:00
Ilya Gorbunov fc9ac67980 Tune parameters of time-sensitive tests
Lessen CPU load on the main thread.
Remove fragile checks.
2020-04-10 01:38:46 +03:00
Ilya Kirillov b049a55cca Wizard: remove redundant text from removing module dialog 2020-04-10 01:04:18 +03:00
Yaroslav Chernyshev ebb225fa4e [Gradle, Native] Fix CocoaPods plugin regression related with Xcode build 2020-04-10 00:41:29 +03:00
Vladimir Dolzhenko b51ae78b84 Do not resolve alias imported references on rename
#KT-38096 Fixed
2020-04-09 20:38:01 +00:00
Ilya Kirillov ac0d34089a Wizard: add run configuration for Ktor server template 2020-04-09 23:11:40 +03:00
Ilya Kirillov 67f95c21da Wizard: fix missed setting in Ktor template
#KT-38120 fixed
2020-04-09 23:11:40 +03:00
Ilya Kirillov 4cfa2f95a7 Wizard: add m2 Gradle plugin repository for non-stable Kotlin versions
#KT-36136 fixed
2020-04-09 23:11:40 +03:00
Ilya Kirillov 367699a853 Wizard: fix js Gradle dsl
#KT-38121 fixed
2020-04-09 23:11:39 +03:00
Ilya Kirillov 4e91f1c607 Wizard: update Kotlin version for tests to dev one
Needed for support latest syntax of Gradle dsl for js
2020-04-09 23:11:39 +03:00
Ilya Kirillov 9badcae692 Wizard: move some hardcoded versions to constants 2020-04-09 23:11:39 +03:00
Vladimir Dolzhenko 3de9838a7d Specify search scope for nj2k ConvertGettersAndSettersToPropertyProcessing
Relates to #KT-37801
2020-04-09 18:00:04 +02:00
Mikhail Bogdanov 535fcbb534 Switch android test to common Android SDK dependency management
~
2020-04-09 17:04:42 +02:00
Mikhail Bogdanov acb4d6cf63 Update android-sdk dependency management. Add Emulator 2020-04-09 17:04:41 +02:00
Nikolay Krasko 919a5e7cc7 Update to 201.6668.113 2020-04-09 17:52:48 +03:00
Alexander Udalov e533545c29 Minor, ignore codegen test for JDK 6 2020-04-09 16:50:13 +02:00
Nicolay Mitropolsky e815227196 Uast: resolve compiled annotation parameters (KT-34564) 2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky b1bd962464 Uast: kotlinInternalUastUtils.kt reordering to move internal functions to the top 2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky f5df64674f Uast: making local lambda resolve and methods multiresolve work via resolveToDeclaration and resolveToPsiMethod
also fixes KT-36275
2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky 89863bd2a3 Uast: unifying resolve to two methods resolveToDeclaration and resolveToPsiMethod 2020-04-09 16:38:12 +03:00
Nicolay Mitropolsky c3977d7336 Uast: replacing most usages of resolveCallToDeclaration with resolveToPsiMethod 2020-04-09 16:38:11 +03:00