Commit Graph

1507 Commits

Author SHA1 Message Date
Mikhail Glukhikh e7100838d0 Introduce MPP wizard for mobile (Android / iOS) libraries
#KT-27200 Fixed
2018-09-27 19:43:04 +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
Mikhail Glukhikh a97f2bb992 Introduce MPP wizard for mobile (Android / iOS) applications
This mobile wizard already contains skeleton
Finally #KT-25952 Fixed
Also #KT-26786 Fixed
2018-09-26 15:41:24 +03:00
Dmitriy Dolovov 5e33860652 [K/N] Stand-alone Native Application wizard in IDEA
Issue #KT-27076 Fixed
2018-09-25 17:24:59 +07:00
Toshiaki Kameyama 6cd13341ee Add inspection for unlabeled return inside lambda #KT-26511 Fixed 2018-09-25 11:24:56 +03:00
Simon Ogorodnik 68dfe9bf14 Fix missing NativeLibraryType
#KT-27009 fixed
2018-09-21 15:32:56 +03:00
Simon Ogorodnik faf09a2aac Add KotlinNativeGradleConfigurator to avoid 'Configure Kotlin' for K/N 2018-09-21 15:32:53 +03:00
Mikhail Glukhikh 6cb1ba9d41 Switch off ResultIsResultInspection as no more necessary for 1.3 2018-09-18 11:50:44 +03:00
Pavel V. Talanov e66f3fa59e Remove as33 bunches specific to mpp run configs
It is now compatible with 182 branch
2018-09-17 13:51:17 +02:00
Pavel V. Talanov 20b86d85c3 as33 branch 'since-build' is 182.4129.33 2018-09-17 13:51:15 +02:00
Dmitriy Dolovov 0c94aefb87 Move NativeIdePlatformKind to idea-jps-common
Issue #KT-26714 Fixed
2018-09-13 20:30:34 +03:00
NikitaKatkov d2536f207c 183: CoroutineNonBlockingContextChecker for warning on blocking calls in coroutines (KT-15525) 2018-09-13 19:36:51 +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 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
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 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 472be61356 182 branch since-build is 182.4129.33
To allow use of the latest API
2018-09-12 04:13:31 +02:00
Yan Zhulanow 5fed77d87a MPP: Add missing platform kind extensions to AS 3.3 bunch file 2018-09-11 16:40:43 +03:00
Dmitriy Dolovov 71be94b3e4 K/N: Cache library metadata in IDEA plugin 2018-09-10 17:54:06 +03:00
Nikolay Krasko f679b3f6dd Import Kotlin code style from Maven properties (KT-23400) 2018-09-10 13:03:41 +03:00
Roman Elizarov e2713501ce Rename SuccessOrFailure to Result and hide Failure from ABI
* The members of Result are isSuccess, isFailure, exceptionOrNull, getOrNull
* The rest of API is implemented via inline-only extensions
* There are two internal functions to hide detailed mechanics of an internal
  Result.Failure class: createFailure and throwOnFailure
* Result.toString is explicit: either Success(v) or Failure(x)

See KT-26538
2018-09-09 11:34:31 +03:00
Dmitriy Dolovov f663c0ea87 Rename "Konan" -> "KotlinNative" in class and function names (part 3) 2018-09-08 12:16:25 +03:00
Dmitriy Dolovov 88638ef655 K/N: Clean-up logic for import of K/N projects from Gradle 2018-09-08 12:16:23 +03:00
Dmitriy Dolovov 46a697db82 Rename "Konan" -> "KotlinNative" in class and function names 2018-09-08 12:16:21 +03:00
Dmitriy Dolovov 7623169130 MPP: implement IdePlatformKind, its resolution and tooling for K/N 2018-09-08 12:16:18 +03:00
Dmitriy Dolovov eda29a48a4 [K/N lib] IDEA plugin for K/N + missed items in konan-serializer module 2018-09-08 12:16:16 +03:00
Vyacheslav Gerasimov 114b5288b0 Set until-build for Idea 182 plugin to 182.* 2018-09-08 12:06:30 +03:00
Leonid Startsev dea69e4469 Integrate serialization plugin into big Kotlin plugin
Split import handlers into multiple files
Add empty Maven handler for Android Studio

Add testRuntime dependency on kx-serialization-plugin for all modules which require compiler
plugins in test classpath
2018-09-07 21:17:07 +03:00
Mikhail Glukhikh 1530a8bf53 Downgrade "Call chain -> sequence" to information level
Made to hide problem KT-26571
2018-09-05 14:55:23 +03:00
Mikhail Glukhikh 4dd95e5640 Introduce OptionalExpectationInspection
It works at INFORMATION level only and is intended to form quick-fixes
to add relevant actual declarations.

#KT-25533 Fixed
2018-09-05 13:05:07 +03:00
Mikhail Glukhikh 69def648c9 Remove deprecated MP extensions from Gradle menu #KT-22491 Fixed
Related to KT-26414
2018-09-05 13:05:06 +03:00
Mikhail Glukhikh 62e1121e7f Remove deprecated MP project builder from Gradle menu #KT-26414 Fixed 2018-09-05 13:05:06 +03:00
Alexander Podkhalyuzin c36d0e5db5 Changed action group text
#KT-26501 Fixed
2018-09-04 16:47:54 +03:00
Toshiaki Kameyama 53c10238d6 Introduce inspection for safe cast + return #KT-26230 Fixed 2018-08-31 15:03:25 +03:00
Toshiaki Kameyama 2c71b3873e Introduce "flatMap { it } -> flatten" inspection #KT-25969 Fixed 2018-08-31 15:03:24 +03:00
Yan Zhulanow d00f5b335a MPP: Refactoring, extract IDE platform kinds, allow to add custom platforms 2018-08-31 05:14:15 +05:00
Toshiaki Kameyama 7fdbcda91d "Nested lambda has shadowed implicit parameter": downgraded to WEAK WARNING level 2018-08-30 17:37:36 +03:00
Yan Zhulanow 5d936a4c7c Kapt: Ignore annotation-processing-gradle compiler plugin we got from Gradle (KT-24714)
Cause it's built for the shaded Kotlin compiler and won't work with JPS.

(cherry picked from commit d08a32c7cb)
2018-08-30 16:21:11 +03:00
Alexey Sedunov c7a5a7ebd5 Gradle: Use common language/api version (if any) of all modules for project
#KT-26290 Fixed
2018-08-30 14:58:45 +03:00
Vyacheslav Gerasimov c6c3b05d02 as32: Update build range for AS 3.2 plugin to match RC1 and further releases 2018-08-30 14:55:58 +03:00
Vyacheslav Gerasimov 348ce6733d Update build range for AS 3.2 plugin to match next AS 3.2 releases 2018-08-30 14:55:54 +03:00
Vyacheslav Gerasimov d5009e4fb4 as33c4: Remove registration of AndroidGradleOrderEnumerationHandler from gradle-java.xml 2018-08-30 14:55:52 +03:00
Alexander Podkhalyuzin 54922362e3 Added Kotlin svg icon to the distribution
#KT-26393 Fixed
2018-08-25 17:21:50 +03:00
Mikhail Glukhikh 7a2d0a3bb2 Add inspection "Redundant runCatching {}" (related to KT-25621) 2018-08-24 18:00:44 +03:00
Mikhail Glukhikh 87d750aa1c Add inspection to detect functions with SuccessOrFailure return type
Partial implementation of KT-25621 (no quick-fixes yet)
2018-08-24 18:00:41 +03:00
Yan Zhulanow d08a32c7cb Kapt: Ignore annotation-processing-gradle compiler plugin we got from Gradle (KT-24714)
Cause it's built for the shaded Kotlin compiler and won't work with JPS.
2018-08-24 04:28:05 +05:00
Vyacheslav Gerasimov f4eee4c2e4 as33: Restore gradle-java.xml 2018-08-21 17:38:58 +03:00
Vitaliy.Bibaev e158c9191c Mention sequence debugger for 181 and 183 IDEA 2018-08-20 05:18:03 +03:00
Vitaliy.Bibaev ac4c42cc4b Add extensions to support sequences debugging 2018-08-20 05:17:59 +03:00