Commit Graph

17635 Commits

Author SHA1 Message Date
Alexey Sedunov 862dc76ed9 Rename: Fix processing of overriding methods with mangled names
#KT-24460 Fixed
2018-06-08 14:34:22 +03:00
Alexey Sedunov eea9113d1c Introduce Type Alias: Fix replacement of references to nested classes
#KT-15159 Fixed
2018-06-08 14:34:22 +03:00
Alexey Sedunov 3902e1b51d Run: Add browse button to Kotlin "main" run configuration editor
#KT-17668 Fixed
2018-06-08 14:34:22 +03:00
Alexey Sedunov 8a09dcf821 Configuration: Update settings.gradle without loading its PSI
Otherwise dumb-mode problems may happen in latest builds of 182

 #KT-24667 Fixed
2018-06-08 14:34:22 +03:00
Sergey Rostov f86c6db4bf Idea gradle: proper support for composite MPP projects
(cherry picked from commit ca841f0)

#KT-24748 fixed
2018-06-08 09:46:54 +03:00
Sergey Rostov 4a6554a36d multiplatform: remove MultiplatformGradleProjectTaskRunner
JPS is now able to build multiplatform projects, so build/run actions should be delegated to gradle only with "Delegate IDE build/run action actions" setting enabled.
2018-06-08 09:46:36 +03:00
Sergey Rostov f7695dd039 mpp: Run tests from common modules should recompile correspond JVM implementation module
#KT-23722 Fixed
2018-06-08 09:46:35 +03:00
Pavel V. Talanov 463d9b690f Minor: rename PsiFile.moduleInfo -> forcedModuleInfo 2018-06-06 21:04:05 +02:00
Pavel V. Talanov 74052542b4 Minor: rename KtFile.targetPlatform -> forcedTargetPlatform
To avoid confusing with platform extension and debugging for 3 hours
2018-06-06 21:04:04 +02:00
Pavel V. Talanov ced3cf0904 Light classes: fix multifile facades for mpp modules with jvm part
When creating multifile facades respect that facade files can be both
    in common and jvm parts

 #KT-23942 Fixed
2018-06-06 21:04:02 +02:00
Pavel V. Talanov a8a490ea5a Test multifile facades in mpp projects 2018-06-06 21:04:00 +02:00
Pavel V. Talanov 8185b1bf02 Test accessing file facades from java in mpp project 2018-06-06 21:03:57 +02:00
Pavel V. Talanov 1be477c816 Fix "add member" quick fix when invoked from java on common class
#KT-24115 Fixed
2018-06-06 21:03:56 +02:00
Pavel V. Talanov 9e493d8b73 Mpp tests: allow to test java code in highlighting and quickfix tests 2018-06-06 21:03:55 +02:00
Pavel V. Talanov 0157d7bd5d Mpp utils: remove erroneous cache
Note: can't use Module.cached to calculate data that depends on input
   other than the module itself (isTests in this case)
2018-06-06 21:03:53 +02:00
Pavel V. Talanov 1f957de9d8 Minor: use utils appropriately 2018-06-06 21:03:52 +02:00
Pavel V. Talanov fa7531f342 Refactor: move and prettify mpp util code 2018-06-06 21:03:51 +02:00
Pavel V. Talanov 05e6c4e0a2 Minor: move utils to more appropriate place 2018-06-06 21:03:50 +02:00
Pavel V. Talanov e67f449476 Fix exception from kotlin bytecode window on common code
Do not show bytecode window for non-jvm platform modules

 #KT-24159 Fixed
2018-06-06 20:48:18 +02:00
Nicolay Mitropolsky 12707a6443 Uast: handling resolve to deserialized methods (KT-24679) 2018-06-06 14:05:30 +03:00
Nicolay Mitropolsky 0fb879dfc2 lightAnnotations: KtLightPsiClassObjectAccessExpression added
as implementation of `PsiClassObjectAccessExpression` for class literals in annotations
2018-06-05 18:00:15 +03:00
Mikhail Glukhikh 92727d2945 Downgrade "redundant type check for object" to INFORMATION level 2018-06-05 17:54:30 +03:00
Alexander Podkhalyuzin 116a99ddb8 Fixed Icon link to proper variant 2018-06-05 17:41:47 +03:00
Mikhail Glukhikh 24008cdffb If to when: do not add label to outer loop if not necessary
So #KT-24767 Fixed
2018-06-05 17:02:35 +03:00
Toshiaki Kameyama b4962a1880 Add getter: don't suggest when property has no type or initializer
So #KT-24632 Fixed
2018-06-05 16:31:28 +03:00
Toshiaki Kameyama 8969e7a6e1 "Remove redundant toString": fix false positive for nested nullable
So #KT-24557 Fixed
2018-06-05 16:03:54 +03:00
Toshiaki Kameyama 4038d4d507 Explicit this inspection: suggest also for synthetic Java property
So #KT-22089 Fixed
2018-06-05 15:52:16 +03:00
Toshiaki Kameyama 6b37e40f99 Add quick-fix for type variance conflict #KT-23082 Fixed 2018-06-05 15:45:53 +03:00
Toshiaki Kameyama ddf647ae96 Remove redundant receiver in "Change function signature" quick fix
So #KT-12298 Fixed
2018-06-05 15:20:18 +03:00
Toshiaki Kameyama 0cb907d637 Reformat: ChangeMemberFunctionSignatureFix 2018-06-05 15:19:34 +03:00
Toshiaki Kameyama 2c59f96ca4 Introduce "Add remaining when branches" intention #KT-23306 Fixed 2018-06-05 15:19:09 +03:00
Toshiaki Kameyama bde9a57c9e Don't suggest map{}.filterNotNull() -> mapNotNull{} on primitive array
So #KT-21556 Fixed
2018-06-05 15:18:28 +03:00
Toshiaki Kameyama e770aed084 Don't suggest "Remove variable" for property with function initializer
So #KT-23752 Fixed
2018-06-05 15:17:14 +03:00
Dmitry Savvinov b8f8802cff Parse compiler arguments and configure LV properly in Platform.kt 2018-06-05 14:51:35 +03:00
Dmitry Savvinov 5f819b589c Minor: refactor Platform.kt 2018-06-05 14:51:35 +03:00
Alexander Podkhalyuzin 4883fbfd23 Fixed link to error icon in IDEA 2018.2
#KT-24736 Fixed
2018-06-05 11:00:55 +03:00
Alexander Podkhalyuzin 73ec82e544 Better description of Kotlin plugin
#KT-13948 Fixed
2018-06-05 11:00:09 +03:00
Natalia Selezneva 62929ba6f5 Fix AE in scratch for long lines
^KT-24638 Fixed
2018-06-05 08:41:17 +03:00
Natalia Selezneva ccacf1bd23 Replace SLRUMap with ConcurrentHashMap
^KT-24645 Fixed
2018-06-05 08:41:17 +03:00
Natalia Selezneva 4767757991 Change the message in the 'new script dependencies' notification 2018-06-05 08:41:17 +03:00
Alexey Sedunov 0110f66529 Project View: Show script declarations in "Show members" mode 2018-06-04 20:17:44 +03:00
Alexey Sedunov 3c267b206b Move: Fix exception on moving top-level declaration from/to script file
#KT-20260 Fixed
2018-06-04 20:17:43 +03:00
Alexey Sedunov c63854948b Configuration: Fix Kotlin SDK existence check on facet configuration
AS3.1/AS3.2
2018-06-04 20:17:43 +03:00
Alexey Sedunov 24687b18cd Test Support: Support Gradle tests classes with spaces in name
#KT-18319 Fixed
2018-06-04 20:17:43 +03:00
Alexey Sedunov 8198599ef5 Misc: Eliminate instances of IdeModifiableModelsProviderImpl or dispose them after use 2018-06-04 02:57:54 +03:00
Alexey Sedunov 48b55edb03 Configuration: Add non-release repository to main Gradle buildfile
#KT-24725 Fixed
2018-06-01 21:36:39 +03:00
Alexey Sedunov b826e850fd Configuration: Enable dumb-mode alternative resolve when updating settings.gradle
#KT-24667 Fixed
2018-06-01 21:36:39 +03:00
Pavel V. Talanov dae8b12872 Mpp: fix production internals not visible from tests in platform modules
Caused by change in mpp resolve
Happened in platform modules that have expectedBy dependencies

#KT-24729 Fixed
2018-06-01 14:15:04 +02:00
Pavel V. Talanov 4279dc9c05 Minor: better name for generated test 2018-06-01 14:15:04 +02:00
Nikolay Krasko 91b86d7fba Remove explicit locks for accessing and creating cached values
Working with user data in cached value manager is already thread safe.
2018-06-01 12:08:48 +03:00