Mikhail Glukhikh
76d1d6ff12
Allow to move suspend lambda out of parentheses
...
#KT-26674 Fixed
#KT-26676 Fixed
2018-09-13 16:38:29 +03:00
Natalia Selezneva
4b138ae2b8
Do not use async script dependencies resolver in tests
2018-09-13 14:50:22 +03:00
Nikolay Krasko
8be1929634
Title and description unification for coroutines migration inspection (KT-26472)
2018-09-13 11:26:59 +03:00
Nikolay Krasko
9bfbe8a90a
Enable Maven fix for coroutines in migration (KT-26472)
...
#KT-26472 Fixed
2018-09-13 11:26:57 +03:00
Nikolay Krasko
504c9c02d7
Remove detection of new projects from the list of modules
2018-09-13 11:26:55 +03:00
Nikolay Krasko
a58f7b5599
Remove unneeded bunch file
2018-09-13 11:26:53 +03:00
Mikhail Glukhikh
941e5ae1b2
Introduce MPP wizard for shared (JVM / JS / iOS) libraries
...
This implements second part of KT-25952
2018-09-13 10:52:46 +03:00
Mikhail Glukhikh
84587eb0f9
Kotlin JVM/JS multiplatform builder: change description
2018-09-13 10:52:23 +03:00
Mikhail Glukhikh
6c49c1eabd
NativeIdePlatformKind: remove redundant
2018-09-13 09:09:46 +03:00
Mikhail Glukhikh
e7a6ce3626
NativeIdePlatformKind: remove unused
2018-09-13 09:09:44 +03:00
Mikhail Glukhikh
df0d91ef9e
Style fix: KotlinNativeModuleConfigurator
2018-09-13 09:09:43 +03:00
Ilya Gorbunov
3cc606577c
Add annotations-13.0 in classpath of those tests where the annotations from stdlib were used
2018-09-13 02:41:19 +03:00
Denis Zharkov
e213dc261e
Fix bunch files for test RunConfigurationTest
2018-09-12 19:48:03 +03:00
Alexander Podkhalyuzin
85ba637796
Light classes should reuse language versions settings during generation
...
#KT-26732 Fixed
2018-09-12 16:02:07 +03:00
Dmitry Petrov
792c5f8b3f
Generate metadata and annotations for hidden constructor
...
Reflection expects to see a callable method for a hidden constructor,
thus, it should be a synthetic accessor.
JVM method signature in metadata should point to the synthetic accessor.
Annotations for hidden constructor should be written on the synthetic
accessor.
2018-09-12 15:33:11 +03:00
Ilmir Usmanov
3e3ffd14a9
Exclude kotlin.coroutines.intrinsics and kotlin.coroutines.jvm.internal
...
from default imports.
2018-09-12 15:22:51 +03:00
Denis Zharkov
8365836753
Fix as33-bunch for KotlinRunConfigurationProducer.kt after 38be1f6947
2018-09-12 14:03:07 +03:00
Denis Zharkov
9bc5b753aa
Fix 181-bunch for KotlinRunConfigurationProducer.kt after 38be1f6947
2018-09-12 11:47:33 +03:00
Denis Zharkov
aa74511378
Fix UnusedSymbolInspection for parameterless and suspend main functions
...
#KT-26574 Fixed
2018-09-12 09:49:25 +03:00
Denis Zharkov
1cc0c12f87
Add language feature for extended main convention
...
- suspend
- parameterless
#KT-17679 Fixed
#KT-26574 Fixed
2018-09-12 09:49:25 +03:00
Denis Zharkov
f79fbe778f
Minor. Extract KtElement::isMainFunction in the IDE context
2018-09-12 09:49:25 +03:00
Denis Zharkov
38be1f6947
Minor. Parametrize MainFunctionDetector with LanguageVersionSettings
2018-09-12 09:49:25 +03:00
Denis Zharkov
2c920b732c
Support main entry-point without arguments in frontend
...
#KT-26574 In Progress
2018-09-12 09:48:13 +03:00
Denis Zharkov
3cf1c56794
Minor. Get rid of static public parts in MainFunctionDetector
...
In further commits, MainFunctionDetector::isMain will use
getFunctionDescriptor property
2018-09-12 09:48:13 +03:00
Denis Zharkov
c3f6ba3302
Support suspend fun main in JVM
...
#KT-17679 Fixed
2018-09-12 09:48:13 +03:00
Ilya Gorbunov
a18770fbbb
Remove projectDist dependency helper usages
...
Use default configuration dependencies instead of projectDist ones.
2018-09-12 06:05:05 +03:00
Pavel V. Talanov
ef915096a5
Common tests are discoverable via platform modules test classpath
...
Introduce KotlinGradleOrderEnumerationHandler
and patch KotlinAndroidGradleOrderEnumerationHandler:
- If 'Android Support' plugin is off KAndroidGradleOEH will not be available and KGOEH will be used
- Make KAndroidGOEH implement a different EP so it replaces KGOEH when it is available
2018-09-12 04:13:32 +02:00
Pavel V. Talanov
4b0bc4a438
Try to distinguish between test/production compilations
2018-09-12 04:13:32 +02:00
Pavel V. Talanov
ee1ec22e4c
Implement MultipleRunLocationsProvider EP
...
Provide run locations corresponding to platform modules when invoked from common code
2018-09-12 04:13:32 +02:00
Pavel V. Talanov
3da9d79fc2
KtFile.getClasses() returns empty array for non-jvm files
2018-09-12 04:13:32 +02:00
Pavel V. Talanov
3a2d25a422
Js run configuration producers: get module from ConfigurationContext
...
Delegate mpp concerns to MultipleRunLocationsProvider EP
Restore old behaviour via bunch files
2018-09-12 04:13:31 +02:00
Pavel V. Talanov
456bf9808d
Configuration providers don't create configurations for common code
...
Remove special code that creates configurations
and patches them for common modules
This should be done via MultipleRunLocationsProvider EP
2018-09-12 04:13:31 +02:00
Pavel V. Talanov
25882c5b46
Minor: add is(New)MPPModule utils
2018-09-12 04:13:31 +02:00
Pavel V. Talanov
472be61356
182 branch since-build is 182.4129.33
...
To allow use of the latest API
2018-09-12 04:13:31 +02:00
Ilya Gorbunov
c4e794b21f
Add nullability annotations jar to debugger test application compile classpath
2018-09-12 00:58:55 +03:00
Yan Zhulanow
59241a9c1f
Minor: Remove unneeded import
2018-09-11 21:07:27 +03:00
Yan Zhulanow
64e85e8a0c
Support new $this_<label> field naming convention in debugger
2018-09-11 16:41:21 +03:00
Yan Zhulanow
c6b5e8c40f
Minor: Extract code for checking Dalvik identifiers to frontend
2018-09-11 16:40:43 +03:00
Yan Zhulanow
5fed77d87a
MPP: Add missing platform kind extensions to AS 3.3 bunch file
2018-09-11 16:40:43 +03:00
Ilya Chernikov
a02d5b4b21
Rename script annotation params according to configuration keys...
...
rename evaluation params consistently too
2018-09-11 14:56:51 +02:00
Mikhail Glukhikh
136428c7b4
If-then to safe access/elvis: fix mistake in shouldBeTransformed
...
This should fix two inspection tests (implicit receiver case)
Before this commit, check of 'this' on null was accidentally
not highlighted by if-then to safe access or elvis. Now it is.
2018-09-11 15:34:58 +03:00
Alexey Sedunov
6b3184e634
MPP: Fix test data after disabling import of 'metadata' compilations
2018-09-11 15:01:23 +03:00
shiraji
fd3fe52eb4
Fix the problem with code completion of type extension method
...
KT-23834 Fixed
2018-09-11 14:24:45 +03:00
Leonid Startsev
23fd0a6ec9
Split IDE part from kotlinx-serialization-compiler-plugin
2018-09-11 13:22:16 +03:00
Dmitriy Dolovov
324ec7aff8
Detect K/N library kind if library is a ZIP file (native-specific part)
...
Issue #KT-26730 Fixed
2018-09-11 12:48:31 +03:00
Dmitriy Dolovov
0d0929922a
Detect K/N library kind if library is a ZIP file (common part)
...
Issue #KT-26730
2018-09-11 12:48:31 +03:00
Dmitriy Dolovov
8a79255176
K/N: Drop unused class
2018-09-11 12:48:31 +03:00
Nikolay Krasko
462000ae19
Fix code style applier (KT-23400)
...
- Stop removing defined schemes and clone settings before modification
- Clone code styles before modification
- Don't bother users that already have needed code style with settings change
2018-09-10 19:07:36 +03:00
Dmitriy Dolovov
194d94071a
K/N: Create target-neutral K/N libraries
2018-09-10 17:54:08 +03:00
Dmitriy Dolovov
314173af60
Disable specific EPs for K/N plugin for CLion/AppCode #KT-26717
2018-09-10 17:54:07 +03:00