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
Dmitry Petrov
0dd04c3424
Postpone companion object field visibility
...
Have to reconsider this issue because of interface companion objects.
2018-09-27 10:35:23 +03:00
Dmitry Petrov
792ff3c39e
Generate private interface companion object as package-private synthetic
2018-09-27 10:35:23 +03:00
Dmitry Petrov
7949ac1080
Use common instance receiver generation logic for 'this' expression
...
Otherwise it would skip private companion object accessor generation.
2018-09-27 10:35:23 +03:00
Denis Zharkov
c4337f753e
Restore binary compatibility for IDE plugins
...
Caused by 341f7c348a
2018-09-27 10:16:20 +03:00
Ilya Gorbunov
0c81e30d46
Make a more correct implementation of unsigned arrays copyInto
...
Return the destination array instead of the destination storage array
wrapped in a new unsigned array. The difference should be
indistinguishable, however in JS, where inline classes are not inlined yet,
it had resulted in an extra wrapper.
2018-09-26 22:57:14 +03:00
ymnder
1a20b1f357
Add sample for 'repeat' function
...
Co-authored-by: Ilya Gorbunov <ilya.gorbunov@jetbrains.com >
2018-09-26 22:39:56 +03:00
shiraji
0c97d99d77
KT-20357 Add sample code for Regex.find
...
Co-authored-by: Ilya Gorbunov <ilya.gorbunov@jetbrains.com >
2018-09-26 22:24:53 +03:00
takattata
f06ea6fddd
KT-20357 Add sample code for Char extensions
2018-09-26 21:58:50 +03:00
Takayuki Matsubara
d26c0f777b
KT-20357 Add samples for Map.containsValue
...
Co-authored-by: Ilya Gorbunov <ilya.gorbunov@jetbrains.com >
2018-09-26 21:03:57 +03:00
Keita Watanabe
12ec4fdce0
KT-20357 Add sample for mutableSet function
2018-09-26 20:44:40 +03:00
Ilya Gorbunov
df6ccbca49
KT-20357 Add samples for elementAtOrElse
...
Move samples to Elements nested class.
2018-09-26 20:44:40 +03:00
Takayuki Matsubara
7d5efe7f51
KT-20357 Add samples for elementAtOrNull
2018-09-26 20:44:40 +03:00
Takayuki Matsubara
ad9b700ec4
KT-20357 Add samples for elementAt
2018-09-26 20:44:40 +03:00
Leonid Startsev
40b3514a47
Include serialization config in IDE for IDEA 183, AS 3.2 and 3.3
2018-09-26 19:47:07 +03:00
Alexander Udalov
5713298108
Fix FQ name usage of experimental marker in UseExperimental
...
#KT-26366 Fixed
2018-09-26 18:36:01 +02:00
Vyacheslav Gerasimov
cb398ea6b1
Fix compilation of kotlin-gradle-plugin broken after migration to gradle 4.10
2018-09-26 18:56:35 +03:00
Ilya Gorbunov
7b66a4d295
Remove links to contract samples as these samples are not supported by Dokka
2018-09-26 18:15:52 +03:00
Ilya Gorbunov
b2b23ac282
Improve contract API documentation
2018-09-26 18:15:52 +03:00
Ilya Gorbunov
f2a51f96a5
Improve documentation of experimental annotations
2018-09-26 18:15:52 +03:00
Ilya Gorbunov
04f1f6086b
Fix doc build script after removing taks distJar from stdlib project
2018-09-26 18:15:52 +03:00
Mikhael Bogdanov
29568d2f48
Add test configuration for JDK_11
2018-09-26 17:05:55 +02:00
Mikhail Zarechenskiy
d0ed76ebc8
183: Fix exception about unmapped lambda argument from IDE inspection
...
Intention: obtain lambda argument for some parent call,
then get that call (for the lambda argument) and map
the argument to the parameter.
Before the fix, we were getting call for inner element,
not for the lambda argument and as a result, there were exceptions.
#KT-26873 Fixed
2018-09-26 18:03:34 +03:00
Alexey Sedunov
c1b3e72ae8
Gradle: Inherit project SDK when no explicit one is specified
...
#KT-27145 Fixed
2018-09-26 16:59:46 +03:00
Vyacheslav Gerasimov
60758b86ee
as33: Delete unnecessary bunch for itellij-sdk build.gradle.kts
2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov
666b660f79
Restore noDefaultJar() in kotlin-compiler project
2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov
1f0e9f24c5
Fix noDefaultJar helper for gradle 4.10
...
artifacts don't implement ArchivePublishArtifact in gradle 4.10
2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov
1109b795da
Build: upgrade gradle to 4.10
2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov
8338a0dd85
Build: upgrade gradle to 4.9
2018-09-26 16:19:09 +03:00
Vyacheslav Gerasimov
10810aa90f
Build: upgrade gradle to 4.8, fix ivy artifacts publication
...
Fix kotlin gradle plugin compilation against gradle 4.8 api
Internal ivy artifacts api has been changed, there is no longer DefaultIvyArtifact
2018-09-26 16:19:09 +03:00
Sergey Igushkin
44f87e4951
Revert "(minor) Transform KotlinPlatformType attribute to String, rename entries"
...
This reverts commit 3f24f8bd
2018-09-26 15:58:14 +03:00
Sergey Igushkin
8d054ba346
Revert "Build source sets hierarchy in Android projects"
...
This reverts commit 269410d7
The change causes errors in AS 3.2 import.
2018-09-26 15:58:14 +03:00