Alexey Sedunov
b7277cd80c
Find Usages: Use isEquivalentTo() instead of identity equality when matching references with PsiCompiledElement
2015-05-22 20:51:28 +03:00
Alexey Sedunov
b2201026d1
Java Resolver: Substitute original element when resolving PsiMethod to FunctionDescriptor
...
#KT-7353 Fixed
2015-05-22 20:51:25 +03:00
Mikhail Glukhikh
babb7e58bc
Implementation of KT-6399: platform types under when are now counted as not nullable but warning is generated. #KT-6399 Fixed.
...
A set of tests. Warning about Java enum nullable argument under when in particular situations.
2015-05-22 18:38:30 +03:00
Ilya Gorbunov
0efaedd32c
Rename files to avoid having identically named files in the same package, which sometimes may confuse debugger.
2015-05-22 18:08:28 +03:00
Evgeny Gerashchenko
a5da64bd4f
Don't ask user to choose method for renaming parameter when it is changed in overridden function.
2015-05-22 17:18:09 +03:00
Evgeny Gerashchenko
24c533df32
KT-6285 Rename refactoring doesn't rename named arguments when rename function parameters or private val/var constructor parameters
...
Just added test. Works automatically since rename parameter now delegates to change signature.
#KT-6285 fixed
2015-05-22 17:18:08 +03:00
Evgeny Gerashchenko
2568fc92cb
Supported Kotlin in Java's automatic parameter renamer.
2015-05-22 17:18:07 +03:00
Evgeny Gerashchenko
1e46469bb1
Automatic renaming parameter in hierarchy.
2015-05-22 17:18:06 +03:00
Ilya Gorbunov
33f5158170
Fix deprecated replaceAll and replaceFirst usages in stdlib tests and tools.
2015-05-22 16:13:55 +03:00
Ilya Gorbunov
79a5e0607d
Fix deprecated replaceAll and replaceFirst usages.
2015-05-22 16:13:53 +03:00
Ilya Gorbunov
36fb5b3c49
Use platform independent way to split output to lines.
2015-05-22 16:12:07 +03:00
Evgeny Gerashchenko
9b28609d57
Optimized matchesTarget for "(" references
2015-05-22 14:33:11 +03:00
Evgeny Gerashchenko
e50de5d94d
KT-7730 Find Usages causes 100% CPU usage, UI blocked, never returned
...
KT-7623 Renaming val constructor parameter of a data class is very slow
#KT-7730 fixed
#KT-7730 fixed
2015-05-22 14:33:11 +03:00
Mikhail Glukhikh
d8745b3ecb
Solution for EA-65195. #EA-65195 Fixed.
2015-05-22 13:38:36 +03:00
Natalia Ukhorskaya
52fe6310a0
Fix breakpoints in inline functions in libraries
2015-05-22 11:05:06 +03:00
Ilya Gorbunov
6516c74a1a
Revert back 2nd stage of split semantics change and restore deprecated String.split(String).
2015-05-21 23:13:16 +03:00
Alexey Sedunov
b1f1360081
PSI: Make JetPostfixExpression.getBaseExpression() nullable
...
#KT-7761 Fixed
2015-05-21 19:29:49 +03:00
Alexey Sedunov
14d1d8e1dc
Inspections: Create single diagnostic for inspections based on multiple intentions
...
#KT-7784 Fixed
2015-05-21 19:29:47 +03:00
Alexey Sedunov
5166cdbc96
Introduce...: Allow semicolon extraction
...
#KT-7583 Fixed
2015-05-21 19:29:46 +03:00
Alexey Sedunov
64892e7d28
Minor: Fix inconsistent naming of menu items under "Refactor > Extract"
...
#KT-7609 Fixed
2015-05-21 19:29:44 +03:00
Natalia Ukhorskaya
1b6475c676
LibraryClassFileSearcher: minor, do not search top level functions in package inner classes
2015-05-21 19:17:37 +03:00
Natalia Ukhorskaya
0b91ab141e
FieldWatchpoints: UI for adding kotlin field watchpoint
2015-05-21 19:17:36 +03:00
Natalia Ukhorskaya
2b015ae09a
Debugger: support field watchpoints for kotlin
2015-05-21 19:17:35 +03:00
Natalia Ukhorskaya
7406627e26
Minor: optimise search in LibraryClassFileSearcher
2015-05-21 19:17:33 +03:00
Natalia Ukhorskaya
95b9c05138
Tests for step out command
2015-05-21 19:17:32 +03:00
Natalia Ukhorskaya
5edc25d2ba
Debugger: step into default property getter/setter
...
#KT-7287 Fixed
2015-05-21 19:17:31 +03:00
Natalia Ukhorskaya
f742188df9
Minor: do not use property in twoLambdasOnOneLineSecond test
2015-05-21 19:17:30 +03:00
Ilya Gorbunov
fb342de451
Ensure stable order is used when rendering list of resolved calls by sorting them with MemberComparator.
2015-05-21 19:07:19 +03:00
Zalim Bashorov
4de3e3c712
Fix SlicedMapImpl#clear
2015-05-21 18:53:57 +03:00
Zalim Bashorov
d8b1856e1c
Create SlicedMapImpl#collectiveSliceKeys on demand
2015-05-21 18:53:56 +03:00
Zalim Bashorov
492404bf04
Introduce KeyWithSlice and use it as Key for UserDataHolder in SlicedMap instead of cashing mapping from key to slice(see SlicedMapImpl#keyIdToSlice)
2015-05-21 18:53:56 +03:00
Zalim Bashorov
ecb824386e
Optimize memory usage in SlicedMapImpl (used in BindingContext)
...
In short:
before these changes: Map<SlicedMapKey<slice, key>, value>
after: Map<key, Map<slice, value>> // where for nested Map used lightweight storage UserDataHolder
Before these changes it stored map from SlicedMapKey to value.
Where SlicedMapKey created for each record and store slice and key.
And now it sored map from key to UserDataHolder.
UserDataHolder store map from slice to value.
2015-05-21 18:53:56 +03:00
Zalim Bashorov
c7175e1858
Temporary copy UserDataHolderBase and KeyFMap implementations from intellij/master
2015-05-21 18:53:56 +03:00
Yan Zhulanow
89d3a4b623
Move AnnotationProcessingManager to main kotlin-gradle-plugin
2015-05-21 15:48:30 +03:00
Yan Zhulanow
6de79f46e4
More kotlin-annotation-processing parsing tests
2015-05-21 15:48:29 +03:00
Yan Zhulanow
07214c4f35
Platform-agnostic text compare in kotlin-annotation-processing
2015-05-21 15:48:27 +03:00
Yan Zhulanow
692e396ffd
Support constructors in kapt wrapper
2015-05-21 15:48:26 +03:00
Yan Zhulanow
569582fd34
kapt: Add constructor collectToFile test
2015-05-21 15:48:26 +03:00
Yan Zhulanow
62a1f8edf3
Rename kotlinApt/ directories to kapt/
2015-05-21 15:48:25 +03:00
Yan Zhulanow
c414c598ca
Minor: fixes in KotlinAnnotationProvider (APT wrapper)
2015-05-21 15:48:24 +03:00
Yan Zhulanow
d2e256f470
Output annotation processor fqName if the processor can't be initialized
2015-05-21 15:48:24 +03:00
Yan Zhulanow
0363b6b911
Warn if the generated source destination (for APT) was modified
2015-05-21 15:48:23 +03:00
Yan Zhulanow
7a2f3bf1ea
Replace all dollar signs in class name with . (temporary workaround)
2015-05-21 15:48:22 +03:00
Yan Zhulanow
b9a9f783e9
Fix annotation collector tests (now using mock JDK)
2015-05-21 15:48:22 +03:00
Yan Zhulanow
921017367a
APT: Add more compiler plugin tests
2015-05-21 15:48:21 +03:00
Yan Zhulanow
594988db51
Move kapt compiler plugin classes to BundledCompilerPlugins
2015-05-21 15:48:20 +03:00
Yan Zhulanow
01a097dae7
Annotations file name change: annotations.txt -> annotations.kotlin.txt
2015-05-21 15:48:20 +03:00
Yan Zhulanow
fdc183e3af
Apt working dir is now outside the Kotlin classes directory
2015-05-21 15:48:19 +03:00
Yan Zhulanow
d93508f4d3
APT: Support non-Android Java projects in Gradle
2015-05-21 15:48:18 +03:00
Yan Zhulanow
80762f99bb
Catch UnknownPropertyException properly
2015-05-21 15:48:17 +03:00