Alexander Udalov
55c8b35eee
Remove unneeded default imports in stdlib and tests
2018-10-01 13:39:02 +02:00
Mikhail Glukhikh
199ae3bac8
Forbid all MPP wizards in IDEA 173, but leave them in AS 3.1
...
Related to KT-27267
2018-10-01 14:36:52 +03:00
Mikhail Glukhikh
4c85616ee3
Forbid all MPP native-related wizards in IDEA 181, but leave in AS 3.2
...
Related to KT-27267
2018-10-01 14:36:51 +03:00
Alexander Udalov
009f18f1f4
Split AnalysisFlag values to AnalysisFlags and JvmAnalysisFlags
...
Declare AnalysisFlags in module 'frontend', and JvmAnalysisFlags in
module 'frontend.java', to avoid leaking Java-related logic to common
compiler code
2018-10-01 13:31:00 +02:00
Alexey Sedunov
c59779f5b9
MPP: Retain KotlinSourceSetInfo for Android in data nodes
...
User data is not serialized which leads to broken import on reopening
#KT-27213 Fixed
2018-10-01 13:55:35 +03:00
Alexey Sedunov
c183c5b36a
MPP: Add dependencies for all source sets for a given Android variant
2018-10-01 13:55:31 +03:00
Alexey Sedunov
63500216f0
MPP: Fix recognition of test source sets in Android projects
...
#KT-27212 Fixed
2018-10-01 13:55:26 +03:00
Alexey Sedunov
5b8208c751
MPP: Fix import failure in the case unresolved dependency is found
...
Instead report unresolved dependencies in Gradle build results
#KT-27029 Fixed
2018-10-01 13:55:22 +03:00
Alexey Sedunov
99f63f2ebd
Configuration: Use model provider to access facets
...
Otherwise newly created Android project may get invalid SDK
until the reimport is performed
#KT-27193 Fixed
2018-10-01 13:55:16 +03:00
Mikhail Glukhikh
eb528c3d65
MPP mobile wizard: generate also Xcode (r) project for iOS
...
#KT-27178 Fixed
2018-10-01 13:46:37 +03:00
Dmitriy Dolovov
21952960f6
[K/N] Allow common source sets in projects created with wizard
...
Issue #KT-27232 Fixed
2018-10-01 16:36:32 +07:00
Georgy Bronnikov
ade640eadb
JVM_IR. Support compile time constants
2018-10-01 12:25:55 +03:00
Denis Zharkov
623c6803d6
Fix regression on smart casts in when on a sealed class
...
See the comment in PatternMatchingTypingVisitor
#KT-27221 Fixed
2018-10-01 09:59:28 +03:00
Dmitry Petrov
729da29e49
Update command-line options help for '-Xnormalize-constructor-calls'
...
Default value depends on language version.
2018-10-01 09:42:13 +03:00
Ilya Matveev
d2740db88f
Update Kotlin/Native: 0.9.3
2018-09-30 11:27:13 +03:00
Ilya Matveev
7a5c05b72d
Filter java.endorsed.dirs property in K/N runner
2018-09-30 11:27:13 +03:00
Nikolay Krasko
b09ec3cbb3
Shortcut quick fix for migrating all coroutines in the project (KT-27164)
...
#KT-27164 Fixed
2018-09-29 16:27:45 +03:00
Nikolay Krasko
282407c4a7
Minor: register problems through holder function
2018-09-29 16:27:43 +03:00
Nikolay Krasko
0efb4cc5f6
Refactoring: extract fun in ObsoleteExperimentalCoroutinesInspection.kt
2018-09-29 16:27:42 +03:00
Sergey Igushkin
58a8411575
Fix KNPE due to publications processing order in Gradle 4.7
...
A KNPE happened because Gradle 4.7 (but not 4.8+) requested a
publication's dependencies before all other publications were created.
Issue #KT-27231 Fixed
2018-09-28 21:57:09 +03:00
Svyatoslav Kuzmich
334c776b92
[JS IR BE] Fix @DoNotIntrinsify processing. Reuse it for compareTo
2018-09-28 20:27:01 +03:00
Ilya Gorbunov
12a31637d1
Improve groupingBy samples
2018-09-28 19:59:30 +03:00
Ilya Gorbunov
3a40e3f041
Move groupingByEachCount together with the new Grouping samples
2018-09-28 19:51:07 +03:00
Itsuki Aoyagi
039d41679e
Add samples for groupingBy operations
2018-09-28 19:51:07 +03:00
Toshiaki Kameyama
d89947bd5a
"Convert put to assignment": don't report on 'super' #KT-27146 Fixed
2018-09-28 19:43:05 +03:00
Leonid Startsev
b611facd71
Check if serialization plugin presents in the facet compiler classpath before applying extensions logic
...
#KT-27166 Fixed
2018-09-28 18:31:03 +03:00
Alexander Udalov
088cd4b5e3
Stop parsing argument in argfile when quote ends
...
There are two visible effects of this change:
1) If an empty argument is passed in quotes, it will be parsed as an
empty string and handled by the compiler, which will report an error
later. The specific error is not very important because it's an edge
case anyway; at the moment, "source file or directory not found:" is
reported which is no better than the "invalid flag:" error reported
by javac in the similar case
2) It's no longer possible to split an argument into several parts and
quote them separately, such as:
"-langu"ag"e-"ver'sio'n 1.2
No test added for this change in behavior since it's an even edgier
case. Note that javac also prohibits this.
#KT-27226 Fixed
2018-09-28 16:02:40 +02:00
Alexander Udalov
16dd6ebe61
Handle whitespaces in argfiles correctly
...
#KT-27218 Fixed
2018-09-28 16:02:40 +02:00
Mikhail Glukhikh
ab05f17d1d
Fix ifThenToSafeAccess inspection test
2018-09-28 15:11:40 +03:00
Pavel Punegov
fedb9ad035
Merge branch 'ignore-defaultArgs-mpp'
2018-09-28 14:27:12 +03:00
Pavel Punegov
7c2c4e68ce
Ignore 2 tests in Native: default arguments got from expect declarations there
2018-09-28 14:22:27 +03:00
Ilya Matveev
5140e674b4
Use compileClasspath configuration for native standard libraries
2018-09-28 14:15:11 +03:00
Ilya Matveev
5c4adc1100
Don't add dependency on a klib task for binary tasks
2018-09-28 14:15:11 +03:00
Dmitry Petrov
7b7cf39388
Fix inline classes coercion in 'if' expression
...
#KT-27132
2018-09-28 10:46:42 +03:00
Dmitry Petrov
ab90b2b901
Fix nullability propagation in inline class type mapping
...
#KT-27096
See https://jetbrains.slack.com/archives/C06E082M6/p1537949572000100
2018-09-28 10:46:42 +03:00
Dmitry Petrov
0b23ddb947
Add test for KT-27140
2018-09-28 10:46:42 +03:00
Nikolay Krasko
1901331ee5
Remove NotificationAction.createSimple to fix compilation in 173
2018-09-28 10:37:43 +03:00
Ilmir Usmanov
e7bed58ebe
Fix bootstrap
2018-09-27 21:59:38 +03:00
Ilmir Usmanov
6e0391f9ec
Use release coroutines in script-runtime
2018-09-27 21:59:35 +03:00
Dmitry Petrov
0191e3d1cf
Migrate to release coroutines
2018-09-27 21:59:31 +03:00
Yan Zhulanow
bbc73ec0e5
MPP: Fix JPS tests
...
Move back the application check as only the class presence check is not sufficient.
2018-09-27 21:31:30 +03:00
Mikhail Glukhikh
ca4547c40a
Add Maven Publish to MPP library wizards (in progress) #KT-27201 Fixed
2018-09-27 20:16:05 +03:00
Mikhail Glukhikh
e7100838d0
Introduce MPP wizard for mobile (Android / iOS) libraries
...
#KT-27200 Fixed
2018-09-27 19:43:04 +03:00
Nikolay Krasko
41bd29c3e9
Replace migration dialog with sticky popup (KT-27163)
...
#KT-27163 Fixed
2018-09-27 18:48:54 +03:00
Pavel V. Talanov
ce9028e367
Prefer data from facet settings when computing module js output root
...
#KT-26872 Fixed
2018-09-27 17:21:09 +02:00
Sergey Igushkin
2441df820b
Support Kotlin/JS DCE in new MPP
...
Issue #KT-27196 Fixed
2018-09-27 17:54:38 +03:00
Ilya Chernikov
499146db0e
Fix pill problem with main-kts-test, reenabling pill for main-kts modules
2018-09-27 16:27:55 +02:00
Ilya Chernikov
0303fc036c
Fix gradle support for non-kts scripts when daemon is used
2018-09-27 16:27:17 +02:00
Dmitriy Dolovov
bfa6d57e34
[K/N] Improvements in new application wizard in IDEA
...
Issue #KT-27210 Fixed
2018-09-27 18:37:46 +07:00
Ilya Chernikov
7b7f87a3b7
Move ivy resolver to the main-kts to avoid classloading issues...
...
e.g. when main-kts is loaded in IDEA
#KT-26828 fixed
2018-09-27 12:56:19 +02:00