Commit Graph

64067 Commits

Author SHA1 Message Date
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
Nicolay Mitropolsky ab36e20b1b Uast: resolving local calls (KT-36275) 2020-04-09 16:38:11 +03:00
Nicolay Mitropolsky 6803b37d14 Uast: Making AbstractKotlinResolveEverythingTest test also UCallExpression
current test data is just frezing the current state which is probable incorrect
2020-04-09 16:38:11 +03:00
Leonid Startsev 63322b9891 Add explicitApiWarning() method
to enable warning state of explicit api mode in the same
way that strict state. (KT-36019)
2020-04-09 15:33:04 +03:00
Mikhail Glukhikh c597e3e87f Unmute additional FIR black box tests after rebasing 2020-04-09 15:22:57 +03:00
Mikhail Glukhikh cd5a4900e6 [FIR] Support dispatch & extension receiver in component calls 2020-04-09 15:22:56 +03:00
Mikhail Glukhikh a93c7a39e0 [FIR] Provide object [dispatch] && callable reference receivers properly 2020-04-09 15:22:56 +03:00
Mikhail Glukhikh 00fedbf6b3 [FIR2IR] Distinguish 'parent' & 'thisReceiver' for fake overrides 2020-04-09 15:22:56 +03:00
Mikhail Glukhikh 4543367c37 [FIR] Add type parameter mapping for substituted properties 2020-04-09 15:22:56 +03:00
Mikhail Glukhikh fcdbffde3f [FIR2IR] Support Java synthetic properties 2020-04-09 15:22:56 +03:00
Mikhail Glukhikh 8e3d22a104 [FIR2IR] Enable receiver existence assertion 2020-04-09 15:22:55 +03:00
Mikhail Glukhikh 14731527ed [FIR] Don't store class functions in local scope 2020-04-09 15:22:55 +03:00