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
Dmitry Savvinov
6065095e24
Fix too aggressive data-flow clearing of loop-assigned vars
...
This is effectively a revert of
447c127036 , which was an (incorrect) fix
for KT-22379.
The bug was that we've cleared data-flow info for assigned variables
*after* knowledge that loop condition if 'false' was applied (we can
claim that if loop has no jump-outs). Therefore, we broke smartcasts in
the innocent code like that:
var x: Int? = null
while (x == null) {
x = readPotentiallyNullableInt()
}
// x should be non-null here
Commit reverts that "fix" for 1.3.0 and postpones deprecation until 1.4
KT-22379 Open
KT-27084 Fixed
2018-09-27 12:09:22 +03:00
Dmitry Savvinov
99454aa78d
Add test on smartcast from while-assigned var
...
Currently behavior is undesired, it will be fixed in the next commit
(see KT-27084)
2018-09-27 12:09:21 +03:00
Nikolay Krasko
056c61090d
Ignore non-kotlin modules during building migration information (KT-27100)
...
Otherwise maximum settings might be always obtained from project compiler
settings and thus stay unchanged during migration process.
#KT-27100 Fixed
2018-09-27 11:59:49 +03:00
Pavel V. Talanov
2d52865415
Default to plain 'Run' icon when calculating icons for common code
...
#KT-26942 Fixed
2018-09-27 10:51:43 +02:00
Alexey Sedunov
8d3e997a82
Configuration: Do not configure SDK for Android modules
...
This is already done by the Android plugin itself
#KT-27193 Fixed
2018-09-27 10:46:44 +02:00
Alexander Udalov
9f6575c57f
Add file name to exception on invalid module-info.class in dependencies
...
This will help users in working around KT-23025
2018-09-27 10:16:15 +02:00
Dmitry Petrov
7624dbbb20
Fix subject variable handling in specialized enum codegen
...
#KT-27161
2018-09-27 10:48:35 +03:00
Mikhail Glukhikh
258999fa9e
Always use Gradle wrapper 4.7 in MPP projects #KT-27177 Fixed
2018-09-27 10:45:00 +03:00