Mikhail Glukhikh
e60930d5ce
Add variance modifier fix corrected: primary constructor parameters are taken into account
2016-04-18 13:40:50 +03:00
Alexander Udalov
027cc898e7
Minor, fix warnings in core/ modules
2016-04-17 13:35:17 +03:00
Mikhail Zarechenskiy
f773966458
Create artifact with 'formatter' module output to share it with Eclipse plugin
2016-04-15 18:15:13 +03:00
Mikhail Zarechenskiy
37e0b71584
Split KotlinBlock on two clases to share independent logic about
...
formatting between Idea and Eclipse
Also make 'formatter' module depend on fewer dependencies
2016-04-15 18:15:13 +03:00
Mikhail Zarechenskiy
4c006300ef
Move files related to formatting to module 'formatter' as is
2016-04-15 18:15:13 +03:00
Mikhail Zarechenskiy
a7c397fe84
Create 'formatter' module
...
Purpose of this module is to extract common code about formatting and reuse it in Eclipse
2016-04-15 18:15:13 +03:00
Mikhail Zarechenskiy
ac1ca890fd
J2K KotlinBlock: convert and prettify
...
Also get rid of ContainerUtil
2016-04-15 18:15:13 +03:00
Mikhail Zarechenskiy
22289cf337
J2K KotlinBlock: rename
2016-04-15 18:15:13 +03:00
Natalia Ukhorskaya
e8f46f5315
Debugger: 'Step Over' unexpectedly resume if condition of 'while' loop contains inline function call
...
#KT-11932 Fixed
2016-04-15 18:11:36 +03:00
Natalia Ukhorskaya
f0badb05ea
Debugger: fix step over for inline argument with non-local return
2016-04-15 18:11:36 +03:00
Natalia Ukhorskaya
f0cfd450e5
Debugger: fix step over inside inline function (do not step into function literal argument)
2016-04-15 18:11:36 +03:00
Alexey Andreev
8ad339836d
KT-11875 Moves code that uncovers the following JS function:
...
```
function foo (closureParam, closureParam2, ...) {
return function() {
// function body
}
}
```
from FunctionContext to FunctionInlineMutator. The old code causes bug when calling this function like this: `foo(this, ...)`, since first `closureParam` is replaced with `this`. Later, FunctionInlineMutator can't make difference between original `this` inside *function body* and former `closureParam` reference that became `this` after replacement. So, let FunctionInlineMutator replace `this` in *function body* and then substitute closure parameters.
KT-11875 Fixed
2016-04-15 17:35:30 +03:00
Natalia Ukhorskaya
8129901d82
Minor: clarify exception messages during Evaluate Expression
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
316057873b
Fix EA-72969 - assert: ExtractFunctionForDebuggerUtilKt$getFunctionForExtractedFragment$.invoke : ERROR_TYPES
...
Context element for codeFragment can be a KtFile (not only KtExpression) ex. in case when file was changed after debugger starts and there is no expression at line with breakpoint
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
7fb3099206
Fix EA-80854 - IOOBE: KotlinLineBreakpointType.getLambdaByOrdinal.
...
This could happen when breakpoint in lambda was set but than the code changed and there is no lambdas at this line anymore
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
a929df6fa1
Debugger, minor: do not throw NPE when receiverTypes are null in completion
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
d42823d4ee
Debugger: cannot evaluate expression with raw types
...
#KT-11831 Fixed
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
070ee10872
Debugger: do not insert ambiguous imports inside codeFragments
...
#KT-11927 Fixed
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
d7a87b2ff0
Debugger: fix breakpoints inside generic crossinline argument body
...
#KT-11848 Fixed
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
7a5ab93f9e
Debugger: write line number for catch clause declaration
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
8e3ec5b7f0
Debugger: fix breakpoints inside inline functions in libraries sources
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
3ef51159b8
Debugger: remove unnecessary whitespaces in presentation of line breakpoint variants
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
e55a1ad49c
Get correct target platform for codeFragments
2016-04-15 15:58:07 +03:00
Natalia Ukhorskaya
0d4fa46cfa
Debugger: correct scope for runtime type calculation
2016-04-15 15:58:07 +03:00
Mikhail Glukhikh
e806341cdc
Increase visibility: make not available in case of potential exposed visibility problems (see KT-11920)
2016-04-15 15:20:35 +03:00
Mikhail Glukhikh
6acd4bc21d
Refactoring: ExposedVisibilityChecker extracted from DeclarationsChecker
2016-04-15 15:20:30 +03:00
Mikhail Glukhikh
ed4ccc6a19
Minor refactoring: EffectiveVisibility
2016-04-15 15:20:26 +03:00
Mikhail Glukhikh
80e41c5298
KT-11806: increase visibility quick fix: private / internal -> public #KT-11806 Fixed
2016-04-15 15:20:21 +03:00
Mikhail Glukhikh
f12a9b7b95
KT-11806: increase visibility quick fix, private --> internal, also for members
2016-04-15 15:20:16 +03:00
Mikhail Glukhikh
2098bed86d
Quick fix renamed: ChangePrivateTopLevelToInternal --> IncreaseVisibility
2016-04-15 15:20:12 +03:00
Alexander Udalov
a94ebcdeb4
Update ChangeLog for 1.0.2
2016-04-15 11:54:23 +03:00
Alexander Udalov
07c229e94b
Exclude InlineOnly from kotlin-test
...
It's already present in kotlin-stdlib and that causes
com.android.dex.DexException
#KT-11505 Fixed
2016-04-15 11:33:23 +03:00
Nikolay Krasko
fab05620b4
Reference test common and place plugins after idea libs
2016-04-15 00:36:54 +03:00
Alexander Udalov
48664a2ba7
Refactor AbstractBinaryClassAnnotationAndConstantLoader#findClassWithAnnotationsAndInitializers
...
Extract all special cases to getSpecialCaseContainerClass
2016-04-14 21:08:36 +03:00
Alexander Udalov
d571512f47
Remove unnecessary fields in DeserializedClassDescriptor
2016-04-14 21:08:36 +03:00
Alexander Udalov
e0dd60c57a
Expand code for boolean fields in Flags
...
Push flag index computation logic from FlagField down to subclasses
(BooleanFlagField and EnumLiteFlagField) because in the case of
BooleanFlagField it's trivial
2016-04-14 21:08:36 +03:00
Alexander Udalov
1f3850da6e
Store outer class in ProtoContainer instead of only its kind
2016-04-14 21:08:36 +03:00
Alexander Udalov
8ee278d02f
Fix SourceElement for classes loaded in decompiler
2016-04-14 21:08:36 +03:00
Alexander Udalov
88106bb13b
Get rid of BinarySource interface, use SourceElement instead
2016-04-14 21:08:36 +03:00
Alexander Udalov
ad068ed4ac
Do not call findKotlinClass when loading class annotations
...
The main change is in AbstractBinaryClassAnnotationAndConstantLoader, where we
no longer perform unnecessary IO operations for classes which are already
loaded to memory
2016-04-14 21:08:36 +03:00
Alexander Udalov
7620d66019
Minor, rename PackagePartSource -> BinarySource
2016-04-14 21:08:36 +03:00
Alexander Udalov
ac92be12c6
Minor, take ProtoContainer in AnnotationAndConstantLoader#loadClassAnnotations
2016-04-14 21:08:36 +03:00
Alexander Udalov
2ab68d53fa
J2K KotlinJvmBinaryClass & AnnotationAndConstantLoader: convert
2016-04-14 21:08:36 +03:00
Alexander Udalov
9c7e4f3dcc
J2K KotlinJvmBinaryClass & AnnotationAndConstantLoader: rename .java -> .kt
2016-04-14 21:08:36 +03:00
Alexander Udalov
c091bb990b
Make LazyJavaPackageFragment#javaScope private
2016-04-14 21:08:36 +03:00
Alexander Udalov
a34aaa5955
Move package part-related code from LazyJavaPackageScope to LazyJavaPackageFragment
2016-04-14 21:08:36 +03:00
Alexander Udalov
e516b695ae
Minor, do not store FqName in LazyJavaClassDescriptor
2016-04-14 21:08:36 +03:00
Alexander Udalov
836a62d4b3
Minor, move resolveKotlinBinaryClass closer to single usage
2016-04-14 21:08:36 +03:00
Ilya Gorbunov
a2db8f9090
Performance: move the state out of multifile class parts to avoid synchronization.
2016-04-14 19:03:39 +03:00
Yan Zhulanow
8304c85f4f
Lint: support both IJ 15 and Android Studio 2.0 (different Android plugins)
...
Dirty hack :(
2016-04-14 17:20:23 +03:00