Dmitry Jemerov
c290212901
Allow to suppress "Kotlin not configured" notification per-module
2017-09-26 14:52:10 +02:00
Dmitry Jemerov
572ec19c55
SuppressNotificationState: J2K
2017-09-26 14:46:40 +02:00
Dmitry Jemerov
e02d121438
SuppressNotificationState: rename to .kt
2017-09-26 14:46:40 +02:00
Dmitry Jemerov
09f826b68d
Enable UI Designer instrumentation in Gradle build
2017-09-26 14:43:01 +02:00
Mikhail Zarechenskiy
8a545f05de
Provide quick fix for migration of single elements in named arguments
...
See more in KT-20171
2017-09-26 14:49:43 +03:00
Mikhail Zarechenskiy
8ab7c26cae
Provide quick fix for named arguments to varargs in annotations
...
See more in KT-20171
2017-09-26 14:49:43 +03:00
Mikhail Zarechenskiy
66cb8db12a
Support LANGUAGE_VERSION directive in quick fix tests
2017-09-26 14:49:43 +03:00
Mikhail Zarechenskiy
69e3dd89f6
Split diagnostic factory for the ease of code evolution and tooling
2017-09-26 14:49:42 +03:00
Alexey Andreev
3b2d634cea
JS: optimize variable representation in coroutines
...
Don't convert local variables to fields of coroutine object
when variable is both used and defined in a single block.
2017-09-26 13:56:20 +03:00
Alexey Andreev
b852f73dd2
JS: make string template optimization more conservative
...
See KT-18548
2017-09-26 13:56:20 +03:00
Alexey Andreev
ca014468ee
JS: improve name clash checker to handle complicated cases
...
See KT-18010
2017-09-26 13:56:19 +03:00
Alexey Andreev
95566b1374
JS: fix serialization of fileId in case of incremental compilation
2017-09-26 13:56:19 +03:00
Nikolay Krasko
3bbf054f0a
Fix memory leak from SpecifyTypeExplicitlyIntention
2017-09-26 13:48:22 +03:00
Sergey Igushkin
40ec513c68
Fix tests compilation: cuplicate compileOnly dependencies to testCompile
2017-09-26 13:11:02 +03:00
Kirill Rakhman
1db365bb59
Insert explicit property type while converting accessor to block body
...
So #KT-20417 Fixed
2017-09-26 12:16:14 +03:00
Nikolay Krasko
31f5c105f3
Remove "javax.annotation.Nullable" usage and clean up file
2017-09-25 20:41:54 +03:00
Nikolay Krasko
412fb62bbb
Fix de-reference nullable virtual file (EA-107980)
2017-09-25 20:41:54 +03:00
Nikolay Krasko
500d192063
Remove null assert (EA-107777)
2017-09-25 20:41:53 +03:00
Nikolay Krasko
98c50d3bfb
Do not try to create ExactJavaBreakpointVariant with null position (EA-107577)
2017-09-25 20:41:53 +03:00
Nikolay Krasko
8b1fbc9828
fixHost might be null (EA-107022)
2017-09-25 20:41:53 +03:00
Nikolay Krasko
fc54018313
Don't convert to PropertyDescriptor without check (EA-92870)
2017-09-25 20:41:53 +03:00
Nikolay Krasko
d51f54693f
Exist if no identifier found (EA-91332)
2017-09-25 20:41:53 +03:00
Nikolay Krasko
2e7be02d51
Add settings for protobuf plugin
2017-09-25 20:41:53 +03:00
Nikolay Krasko
ed2c7d3a9f
Minor: fix warnings in increment-version.kts
2017-09-25 20:41:53 +03:00
Sergey Igushkin
a23532d1ee
Replace the compile dependency on the Gradle API with a compileOnly one
2017-09-25 18:42:39 +03:00
Mikhail Glukhikh
e8b95b971d
Make parentheses necessary for '(x op return y) op z' #KT-16808 Fixed
2017-09-25 18:16:42 +03:00
Mikhail Glukhikh
426a54c3ab
Do not count callable reference as recursive property access
...
So #KT-20104 Fixed
2017-09-25 18:16:42 +03:00
Dmitry Petrov
8f9ea3e08b
Fix const range bounds generation
2017-09-25 17:49:33 +03:00
Kirill Rakhman
e82544ffb0
build.gradle.kts: replace listOf().filterNotNull() with listOfNotNull()
2017-09-25 16:32:08 +03:00
Mikhail Glukhikh
253ae10e5f
Array equality: replace Arrays.equals with contentEquals in intention
2017-09-25 16:27:51 +03:00
Mikhail Zarechenskiy
32531b3afc
Allow to have all parameters with default values in actual annotation
...
#KT-19656 In Progress
2017-09-25 16:19:05 +03:00
Toshiaki Kameyama
8b135c12e7
Delete useless assert() after simplify comparison #KT-14695 Fixed
2017-09-25 15:35:11 +03:00
Alexey Sedunov
e87f9633be
Copy: Do not check conflicts for cross-project copying
...
#KT-19949 Fixed
#KT-19972 Fixed
#EA-105637 Fixed
2017-09-25 14:40:17 +03:00
Alexey Sedunov
6e59cc2140
Copy: Copy entire file if it contains just a selected declaration
2017-09-25 14:40:17 +03:00
Alexey Sedunov
c8c0ab1647
Copy: Fix import insertion on declaration copying
...
#KT-19909 Fixed
2017-09-25 14:40:17 +03:00
Alexey Sedunov
0beadddb7f
Copy: Improve file copying
...
- Do not copy individual declarations if entire file is selected
(keeping original content with comments, formatting, etc.)
- Update package directive when original file packages matches
its directory
#KT-20092 Fixed
#KT-18196 Fixed
2017-09-25 14:40:17 +03:00
Alexey Sedunov
fbf6bd534c
Move: Disable MoveDeclarationsCopyPasteProcessor in dumb mode
...
#KT-20199 Fixed
2017-09-25 14:40:16 +03:00
Alexey Sedunov
963747ce04
Move: Optimize conflict analysis
...
- Do not process conflicts twice wgen moving a directory
- Check move target before resolving usage context declaration
- Skip visibility check for usages referring to public declarations
- Skip module conflict check for declarations with unchanged module
- Do not report lambdas as usage container (use enclosing declaration)
2017-09-25 14:40:16 +03:00
Alexey Sedunov
fefa2304a0
Move to Separate File: Optimize usage search/processing
...
- Import optimization is already performed by refactoring helper,
so running optimizer explicitly is unnecessary
- Do not search external usages for declarations with unchaged package
and module
#KT-18823 Fixed
2017-09-25 14:40:16 +03:00
Alexey Sedunov
0a0457298b
Misc: Run MoveKotlinDeclarationsProcessor.findUsages() under progress
...
#KT-20205 Fixed
2017-09-25 14:40:16 +03:00
Alexey Sedunov
c37489ab8b
Kotlin Facet: Do not restrict API version list by stdlib version
...
#KT-19955 Fixed
2017-09-25 14:40:16 +03:00
Alexey Sedunov
1e82b23321
Minor: Drop unnecessary non-null assertion
...
#EA-107378 Fixed
2017-09-25 14:40:16 +03:00
Toshiaki Kameyama
1043284afe
Add data modifier to a class quickfix #KT-18220 Fixed
2017-09-25 14:17:35 +03:00
Toshiaki Kameyama
f08e9832a6
Show warning also if arrays are compared by '!=' #KT-20259 Fixed
2017-09-25 12:15:17 +03:00
Kirill Rakhman
93252926ba
Introduce additional quick-fix for (collection) type mismatch
...
This fixed inserts conversion .toSequence/Array/Iterable/Collection/List
So #KT-19735 Fixed
2017-09-25 12:10:28 +03:00
Alexander Udalov
7f5b9b1760
Add tests on quick fix that adds 'actual' to platform declaration
...
#KT-18454
2017-09-25 12:00:18 +03:00
Alexander Udalov
60430828cf
Deduplicate code in AbstractQuickFixMulti{File,Module}Test
2017-09-25 12:00:18 +03:00
Alexander Udalov
113c83b47a
Minor, cleanup AbstractQuickFixMultiFileTest
2017-09-25 12:00:18 +03:00
Alexander Udalov
23d6690581
Fix codegen for multifile class parts with type aliases only
...
#KT-20337 Fixed
2017-09-25 11:58:20 +03:00
Alexander Udalov
09f36927a5
Do not try to generate 'expect' declarations in multifile classes
...
Similarly to PackageCodegenImpl#generateFile
#KT-15754 Fixed
#KT-17478 Fixed
2017-09-25 11:58:20 +03:00