Toshiaki Kameyama
be64a6feeb
INAPPLICABLE_LATEINIT_MODIFIER should have a quickfix to remove initializer #KT-18826 Fixed
2017-08-30 15:36:25 +02:00
Alexander Udalov
f47093dc45
Allow to access unexported package of named module in unnamed module in IDE
...
#KT-19492 Fixed
2017-08-30 15:45:45 +03:00
Alexander Udalov
09c1115ff9
Report errors on usages of unnamed module from named modules in IDE
...
#KT-19493 Fixed
2017-08-30 15:45:45 +03:00
Dmitry Jemerov
dce6cb0cfc
Highlight Kotlin files in build output
...
#KT-12246 Fixed
2017-08-30 10:18:00 +02:00
Pavel V. Talanov
4ada692421
Provide correct resolve scope to binaries in script dependencies
...
#KT-16760 Fixed
2017-08-29 20:55:20 +03:00
Pavel V. Talanov
a120130069
Workaround NonClasspathClassFinder not supporting inner classes
...
Explicitly split qualified names, can be removed once platform is fixed
#KT-19310 Fixed
2017-08-29 20:54:25 +03:00
Toshiaki Kameyama
a6c2135851
Counter loop in Java is transformed to less effective loop in Kotlin #KT-19337 Fixed
2017-08-29 17:37:58 +02:00
Dmitry Jemerov
eefc6ebcc9
Add missing read action in KotlinBuildScriptManipulator
2017-08-29 17:33:42 +02:00
Nicolay Mitropolsky
2224720a90
findClass is nullable in IDEA 171, so !! added
2017-08-29 17:40:53 +03:00
Nicolay Mitropolsky
108a40261b
KtLightAnnotationForSourceEntry fix for reading unnamed java-annotation parameter
2017-08-29 17:32:07 +03:00
Dmitry Jemerov
843a9871b1
Detect library kind field based on type, not name
2017-08-29 10:29:22 +02:00
Dmitry Jemerov
106db13a6a
Add missing read action (EA-105188 - assert: FileManagerImpl.findFile)
2017-08-29 10:16:35 +02:00
Dmitry Jemerov
f37cc9c8ef
Start read action at correct time (EA-105045)
2017-08-29 10:16:35 +02:00
Dmitry Jemerov
f7f3bacc8e
Add missing write action (EA-102929)
2017-08-29 10:16:34 +02:00
Dmitry Jemerov
cc5d23440e
Correctly check for project disposed (EA-103064)
2017-08-29 10:16:33 +02:00
Toshiaki Kameyama
367b9f6664
"Redundant setter parameter type" range includes whole parameter declaration #KT-19648 Fixed ( #1267 )
2017-08-28 17:06:10 +02:00
Pavel V. Talanov
e3b7f6d698
Prevent multiple concurrent 'checkHideNonConfiguredNotifications' calls
2017-08-28 16:18:44 +03:00
Nicolay Mitropolsky
6953ae79e2
Fix for KtLightParameter and KtLightParameterList equality
2017-08-28 15:57:44 +03:00
Nicolay Mitropolsky
f8f5494d79
KotlinLightConstantExpressionEvaluator fix for processing Java-sourced annotation entry value
2017-08-28 15:55:57 +03:00
Dmitry Jemerov
ceae10f451
Update .iml
2017-08-28 12:03:45 +02:00
Dmitry Jemerov
1814f3172a
Fix compilation
2017-08-28 11:32:38 +02:00
Dmitry Jemerov
5b8e5fb9aa
Compile kotlin-gradle-tooling against JDK 6
2017-08-28 10:50:52 +02:00
Dmitry Jemerov
f07d4901ca
Reset kind for incorrectly imported libraries
...
#KT-19847 Fixed
2017-08-28 10:36:25 +02:00
Alexander Udalov
fac207ce7c
Minor, improve error message in BuiltInDecompilerConsistencyTest
2017-08-25 15:40:40 +03:00
Alexander Udalov
38849893b6
Temporarily ignore some multiplatform IDE tests
2017-08-25 15:40:39 +03:00
Alexander Udalov
d1cff41ce0
Treat nested class of header class as header
...
Note that the quick fix to implement header class works incorrectly when
that class has nested classes at the moment; this should be fixed
separately
#KT-15494 Fixed
#KT-18573 Fixed
2017-08-25 15:40:37 +03:00
Alexander Udalov
6cb4916dee
Refactor and simplify PlatformHeaderAnnotator
2017-08-25 15:40:35 +03:00
Alexander Udalov
59c49675b0
Improve header-impl mismatch diagnostic rendering in IDE
...
Use HTML instead of text to render line breaks and lists correctly
2017-08-25 15:40:34 +03:00
Alexander Udalov
3bc8ca5913
Report "declaration should be marked with impl" when possible
...
Also support a quick fix to add 'impl' modifier (KT-18454), although it
doesn't work yet on classes because there's no error on them in the IDE
#KT-18087 Fixed
#KT-18452 Fixed
#KT-18454
2017-08-25 15:35:05 +03:00
Alexander Udalov
9ecd04f628
Improve diagnostics on header/impl classes when scopes don't match
...
Try to report most of the errors on the actual members of the impl
class. In many cases, there's a 1:1 mapping of header to impl class
members, so the error "some members are not implemented" on the class
declaration itself is redundant. Exceptions include functions/properties
from supertypes (there may be no other place to report a signature
mismatch error in this case), functions/properties not marked with
'impl' (the checker is only run for declarations explicitly marked with
'impl') and default constructors (the checker is not run for them)
#KT-18447 Fixed
2017-08-25 15:35:05 +03:00
Alexander Udalov
74ba0080b1
Improve header/impl mismatch diagnostic messages
...
Try to report most mismatch errors on the 'impl' declaration. Only
report a mismatch error on the 'header' declaration if no error would be
otherwise reported on any 'impl' declaration in the compilation unit.
Also render declaration kind in the message
#KT-18447 In Progress
2017-08-25 15:35:05 +03:00
Alexander Udalov
472959aca1
Improve rendering of modifiers in DescriptorRenderer
...
* Use bold font to render all modifiers
* Render 'external' according to the style guide, right after modality
2017-08-25 15:35:05 +03:00
Alexander Udalov
f01e0ef335
Minor, rename renderer configuration parameter
2017-08-25 15:35:04 +03:00
Dimach
b988fb701d
KT-17888 Inspection to warn about suspicious combination of == and ===
2017-08-24 18:14:24 +02:00
Dmitry Jemerov
83a1d6e5ca
Avoid exception from autoimport fix with misconfigured analyzer
2017-08-24 16:55:01 +02:00
Dmitry Jemerov
8cf7f7a8f3
Don't break entire highlighting if exception is thrown from one quickfix
2017-08-24 16:55:01 +02:00
Simon Ogorodnik
91f50c99e7
Add benchmark action for highlighting
2017-08-23 17:19:36 +03:00
Pavel V. Talanov
7fecec1141
lightAnnotations: remove several brittle assertions
...
Add some test cases with "red" code
2017-08-23 17:12:56 +03:00
Nicolay Mitropolsky
a6b446cc4f
Correct 'asJava' view of annotations as annotation arguments
...
Fix light elements for nested arrays/annotations inside annotations
#KT-18378 Fixed
2017-08-23 17:12:55 +03:00
Vyacheslav Gerasimov
aedb4c0ade
Android Lint: Fix constant evaluation in annotation parameter
...
#KT-17785 Fixed Target Versions 1.1.5
2017-08-23 13:18:56 +03:00
Vyacheslav Gerasimov
e06cb1ec39
Android Lint: Use Uast to check for SuppressLint annotation
...
#KT-14800 Fixed Target versions 1.1.5
2017-08-23 13:18:42 +03:00
Simon Ogorodnik
1dfa05fe49
KT-19769: Optimize PerModulePackageCacheService
...
#KT-19769 fixed
2017-08-22 19:37:22 +03:00
Vyacheslav Gerasimov
f941186f75
UAST: Properly handle annotations on local variables
2017-08-21 15:02:01 +03:00
Pavel V. Talanov
c132f3b0d1
KT-19276: Drop exception logging on loading script definitions failure
...
See YT discussion
Have to come up with more meaningful diagnostics on definition loading
#KT-19276 Fixed
2017-08-18 19:11:35 +03:00
Pavel V. Talanov
6424b6760f
Remove StorageComponentContainerContributor::onContainerComposed
...
Rename addDeclarations -> registerModuleComponents
Use it to provide SamWithReceiverResolver extensions instead
Post construction on container composition can be achieved
but manually inserting injections where it seems appropriate
is bug prone
This fixes a bug where SamWithReceiverPlugin extension was not registered
for some containers in IDE which led to incorrect highlighting in IDE
Add IDE test for applying SamWithReceiver plugin
#KT-18062 Fixed
2017-08-18 19:11:25 +03:00
Yan Zhulanow
6f180416b1
Pass SamConversionResolver explicitly cause it should be call site module-local
2017-08-18 19:11:21 +03:00
Toshiaki Kameyama
f0f6a252a5
Offer to make INVISIBLE_MEMBER protected if referenced from subclass
...
So #KT-19614 Fixed
2017-08-18 15:53:41 +03:00
Mikhail Glukhikh
9dc5354f24
Eliminate some warnings (mostly redundant is checks in whens)
2017-08-18 15:16:59 +03:00
Mikhail Glukhikh
3623f581b8
Eliminate a set of warnings, mostly nullability ones
2017-08-18 15:10:27 +03:00
Toshiaki Kameyama
82fc221470
Add "flip equals" intention for String.equals extension from stdlib
...
So #KT-19282 Fixed
2017-08-18 14:34:14 +03:00