Commit Graph

31063 Commits

Author SHA1 Message Date
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
Natalia Ukhorskaya b782d2cd11 J2K: do not invoke visitChildrenRecursively in Action.update
#KT-11160 Fixed
2016-04-14 17:05:14 +03:00
Natalia Ukhorskaya 495be06fc5 J2K: do not generate super call to abstract property 2016-04-14 17:04:50 +03:00
Natalia Ukhorskaya 72019a1b4e J2K: Insert !! for expression only if NotNull expected (not for Default nullability) 2016-04-14 17:04:32 +03:00
Natalia Ukhorskaya 98c3b39f7e J2K: Get nullability from variable initializer when converting call
#KT-11534 In Progress
2016-04-14 17:04:20 +03:00
Natalia Ukhorskaya f3a3c0886f J2K: Remove unnecessary casts of non-nullable expression to nullable type after conversion
#KT-11543 Fixed
2016-04-14 17:04:14 +03:00
Natalia Ukhorskaya c864b67550 Add regression test: parameter from lambda is removed 2016-04-14 17:03:44 +03:00
Natalia Ukhorskaya 29f385a713 J2K, minor: fix testData 2016-04-14 17:03:42 +03:00
Natalia Ukhorskaya 1108fbfbeb J2K: convert scratch files correctly
#KT-10604 Fixed
2016-04-14 17:03:35 +03:00
Nikolay Krasko 5396a68e71 Enable tests in generators module 2016-04-14 14:40:30 +03:00
Denis Zharkov 2f0b052540 Fix infinite loop in CanBeValInspection
Obviously there should be 'return' instead of 'continue'
Otherwise the loop will not end

 #KT-11891 Fixed
2016-04-14 14:01:39 +03:00
Dmitry Petrov 583733be8d KT-11645 properly handle private property getter name mangling in reflection 2016-04-14 09:31:29 +03:00
Dmitry Petrov 511a7e0072 KT-11645 generate backing field for 'private const val' in part implementation class 2016-04-14 09:31:29 +03:00
Yan Zhulanow 76e5657a99 Minor: add Javadoc for UastContext/UastLanguagePlugin 2016-04-13 18:05:51 +03:00
Dmitry Petrov 82946437d8 EA-81358: use volatile store / volatile load to guarantee publication of deferred clinit results 2016-04-13 16:19:10 +03:00
Kirill Rakhman 9495257de3 Add QuickFix to add 'crossinline' to parameter (#852)
Fixes #KT-10844
2016-04-13 13:25:35 +02:00
Kirill Rakhman 56fd2d28b8 Let Implement Quickfix: Launch "Implement Members" dialog after applying #KT-11836 Fixed 2016-04-13 12:50:45 +03:00
Alexey Sedunov 9bf395a4cd Light Classes: Skip irrelevant overloads when looking for light parameter
#KT-11868 Fixed
2016-04-13 12:20:20 +03:00
Nikolay Krasko c6b6e9f18b Note about EAP-repository configuration added to changelo 2016-04-13 12:39:12 +04:00
Nikolay Krasko 46eed6fa4d Configuration for EAP versions 2016-04-13 08:15:01 +03:00
Nikolay Krasko c5ef562f54 Add eap version to maven versions combobox if working with eap plugin 2016-04-13 00:14:54 +03:00