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
Nikolay Krasko
cc04b72dfd
Protect access to SLRUCache for scripts with a lock
2018-06-01 12:08:46 +03:00
Nikolay Krasko
6d7510a6f4
Minor: code cleanup in KotlinCacheServiceImpl.kt
2018-06-01 12:08:44 +03:00
Nikolay Krasko
1e5192bcff
Fail with FileComparisonFailure in hierarchy tests
2018-06-01 12:08:43 +03:00
Nikolay Krasko
a5593f1f31
Render entries with outer classifiers in call hierarchy (KT-22698)
...
#KT-22698 Fixed
2018-06-01 12:08:41 +03:00
Nikolay Krasko
496243c3ce
Remove difference in nullable state for loadState()
2018-06-01 12:08:37 +03:00
Ilya Gorbunov
1a290d0c73
Refactor: make JvmMemberSignature a sealed class
...
Use JvmMemberSignature.asString instead of toString
2018-06-01 06:43:48 +03:00
Ilya Gorbunov
2f58539200
Refactor: allow to distinguish whether JvmMemberSignature is for field or for method
...
Introduce a method to create org.jetbrains.kotlin.load.kotlin.MemberSignature directly from JvmMemberSignature.
Create JvmFunctionSignature from JvmMemberSignature.
2018-06-01 06:43:48 +03:00
Ilya Gorbunov
36c658fd8b
Introduce JvmMemberSignature to represent name and desc of jvm methods and fields
...
Return member name and desc in a class in order not to parse that information
from concatenated string when required.
2018-06-01 06:43:48 +03:00
Alexey Sedunov
fbb4914bfb
Intentions: Fix insertion of necessary lambda parameter for run/let and apply/also conversions
...
#KT-22931 Fixed
2018-05-31 15:22:32 +03:00
Alexey Sedunov
f17053f970
Configuration: Create absent Kotlin SDK when configuring Kotlin/JS module
...
#KT-24412 Fixed
2018-05-31 15:22:31 +03:00
Alexey Sedunov
924db3f23e
Configuration: Fix Kotlin SDK existence check on facet configuration
...
#KT-24072 Fixed
2018-05-31 15:22:31 +03:00
Nikolay Krasko
dac9036969
Remove reload(PsiFile?) usage from KotlinFieldBreakpoint
2018-05-29 21:40:32 +03:00
Nikolay Krasko
439e079c94
Minor: reformat KotlinFindUsagesProvider.kt
2018-05-29 21:40:32 +03:00
Nikolay Krasko
9c305e2431
Fix getting names representation for constructor parameters (KT-23090)
...
#KT-23090 Fixed
2018-05-29 21:40:32 +03:00
Nikolay Krasko
e6905c9b3d
Refactoring: extract function for getting project
2018-05-29 21:40:31 +03:00
Alexey Sedunov
6f8e25eae7
Configuration: Restore dependency on gradle plugin in buildscript block
...
#KT-24671 Fixed
2018-05-29 18:07:09 +03:00
Nicolay Mitropolsky
cbcc3d2e2e
Test for java-keywords in light-annotations (KT-22883)
...
working with new source-based light annotations
2018-05-29 16:34:10 +03:00
Mikhael Bogdanov
0a26f527f2
Minor. Fix test data
2018-05-29 11:26:36 +02:00
Ilya Chernikov
a46dd5b30e
Avoid using reflected types in the scripting API
...
since it causes numerous classloading issues. Using the wrapping types
and reload them in the proper context when needed.
Note: this version supports only classes, but the wrapping type could
be extended to support other types in the future.
+ numerous fixes related to proper loading and handling of the templates.
2018-05-28 22:10:56 +02:00
Pavel V. Talanov
c54967b1b4
IdeaModuleInfos: cache Module.findImplementedModules
...
Calling ModuleSourceInfo.expectedBy can be quite costly otherwise
because creating IdeModifiableModuleProvider is not cheap
2018-05-28 20:02:02 +02:00
Pavel V. Talanov
607fab994c
Cache result of collectModulesFromIdeaModel
...
Cache base module infos from idea model until next root modification
Calculate platform specific module infos (see PlatformModuleInfo)
on demand based on cached module infos from idea model
#KT-24144 Fixed
2018-05-28 20:02:02 +02:00
Pavel V. Talanov
406a3888c7
Minor: split getModuleInfo into separate files
2018-05-28 20:02:01 +02:00
Alexey Sedunov
4053278119
Misc: Do not set icon via GUI Designer
...
Since Designer references icon by filename it fails
due to recent update in IDEA icon files
#KT-24580 Fixed
2018-05-28 17:36:09 +03:00
Nicolay Mitropolsky
da5ef06abf
KtLightNullabilityAnnotation evaluated from sources
2018-05-28 17:06:35 +03:00
Nicolay Mitropolsky
eea66bea73
Making LightAnnotation work without clsDelegate (KT-20924, KT-22883)
2018-05-28 17:06:35 +03:00