Commit Graph

18934 Commits

Author SHA1 Message Date
Nikolay Krasko d15ff6da45 LTDA: Make resolve session field non-public in JS injector 2014-11-28 17:18:45 +03:00
Nikolay Krasko 8cfdcd319b LTDA: Add the temp ability to build with eager resolve
Compiler should be executed with -Dlazy.tda=false parameter

REPL won't work with this option
2014-11-28 17:18:45 +03:00
Nikolay Krasko 1a894c7e5c LTDA: Store order of declarations in DeclarationProvider 2014-11-28 17:18:44 +03:00
Nikolay Krasko 0f852efb54 LTDA: Don't store illegal 'inner' modifier in descriptors 2014-11-28 17:18:43 +03:00
Nikolay Krasko f2b6ea29c9 LTDA: Remove redeclaration errors under lazy resolve 2014-11-28 17:18:43 +03:00
Nikolay Krasko cc6d7e420c LTDA: Test problem - skip LazyEntity in search for closest interface 2014-11-28 17:18:42 +03:00
Nikolay Krasko 0fa001ed01 LTDA, Minor: method rename 2014-11-28 17:18:41 +03:00
Nikolay Krasko df115099a6 LTDA: Rename method for creating shared trace 2014-11-28 17:18:41 +03:00
Nikolay Krasko a42edb9c8f LTDA: Assert context was created for light class generation 2014-11-28 17:18:40 +03:00
Nikolay Krasko 571f3c8524 LTDA: Initialize project components with resolve session after injector construction is finished 2014-11-28 17:18:39 +03:00
Nikolay Krasko 53b699d745 LTDA: Injector with Lazy TDA for JS target 2014-11-28 17:18:38 +03:00
Nikolay Krasko 602407cc9c LTDA: Fix REPL and make it work with lazy resolve 2014-11-28 17:18:38 +03:00
Nikolay Krasko 994c8886bc LTDA: Initialize built-ins reference resolver with lazy tda 2014-11-28 17:18:37 +03:00
Nikolay Krasko 23c6498e1e LTDA: Injector with lazy TDA for JVM target
- REPL is broken
 - Tests for Kotlin - Java - Kotlin hierarchy may fail
2014-11-28 17:18:36 +03:00
Nikolay Krasko b57e5fa971 LTDA: Compare constructed descriptors only with test files 2014-11-28 17:18:35 +03:00
Nikolay Krasko 48f459f656 LTDA: Enable lazy analyze by default 2014-11-28 17:18:35 +03:00
Alexander Udalov d1425c14ba Test built-ins serializer, untie built-ins from class loader resources 2014-11-28 15:39:03 +03:00
Alexander Udalov 44b8f3045f Introduce PackageFragmentProviderImpl
It works with a read-only collection of package fragments, passed to it in the
constructor
2014-11-28 15:35:59 +03:00
Alexander Udalov fd2ddff750 Minor, simplify serialization of enum entries
Enum entries are never reordered during sort (see MemberComparator)
2014-11-28 15:35:59 +03:00
Valentin Kipyatkov 122b14dd7d More accurate filtering of extensions 2014-11-28 15:33:28 +03:00
Valentin Kipyatkov 016af0b53c Code completion: shorter presentation for member extensions 2014-11-28 15:33:28 +03:00
Valentin Kipyatkov ffe231ec4d JetType.getTypeArguments() may not contain null's 2014-11-28 15:33:28 +03:00
Valentin Kipyatkov bf65ddaa2f Minor code refactoring 2014-11-28 15:33:27 +03:00
Valentin Kipyatkov 3c07df36c7 Renames 2014-11-28 15:33:27 +03:00
Valentin Kipyatkov 8bc7cf3d18 Smart completion fixed filtering of non-suitable generic inheritors 2014-11-28 15:33:27 +03:00
Valentin Kipyatkov bf130676a8 Minor 2014-11-28 15:33:27 +03:00
Valentin Kipyatkov c1252c7963 Do not search inheritors of Any 2014-11-28 15:33:27 +03:00
Valentin Kipyatkov 9af2877f97 Inheritors in smart completion work for the classes in the same file too 2014-11-28 15:33:27 +03:00
Valentin Kipyatkov 4acf668ab8 Smart completion of inheritors: correct filtering of duplicates 2014-11-28 15:33:27 +03:00
Valentin Kipyatkov 85825e0ab1 Smart completion includes object's from scope before searching for inheritors
#KT-6123 Fixed
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov ed9dba2071 Dropped functions not needed anymore 2014-11-28 15:33:26 +03:00
Valentin Kipyatkov 52acd223a2 Fixed KT-5211 Code completion in IntelliJ for generating anonymous class creates code with compile error "Projections are not allowed for immediate arguments of a super type"
#KT-5211 Fixed
2014-11-28 15:33:26 +03:00
Valentin Kipyatkov 3566ac1510 Code completion: added type parameters for Kotlin classes too 2014-11-28 15:33:26 +03:00
Valentin Kipyatkov 820c2c7cd8 Smart completion: inheritors instantiation suggested + fixed a bug with incorrect presentation of generic java class instantiation 2014-11-28 15:33:26 +03:00
Valentin Kipyatkov 07f7a35bc9 Finally turned on non-imported extensions completion optimization as new ResolutionFacade now allows for resolving any declaration 2014-11-28 15:33:26 +03:00
Valentin Kipyatkov 4e4fbfcabc Fix 2014-11-28 15:33:26 +03:00
Michael Bogdanov 801f4ba837 Update to IDEA 139.560.4 2014-11-28 11:02:20 +03:00
Pavel V. Talanov 0a4f93ddb0 Move check for special annotation to an abstract class 2014-11-27 21:17:21 +03:00
Pavel V. Talanov 0d6555cc63 Prettify code in BinaryClassAnnotationAndConstantLoaderImpl 2014-11-27 21:17:20 +03:00
Pavel V. Talanov bd575c39dd Fix calling toString() on ProtoContainer 2014-11-27 21:17:20 +03:00
Pavel V. Talanov f0a9c4f683 Extract non-descriptor specific abstract ancestor for BinaryClassAnnotationAndConstantLoader 2014-11-27 21:17:19 +03:00
Pavel V. Talanov 39e1dfbcc0 Merge AnnotationLoader and ConstantLoader into single interface
Merge all implementation classes into single BinaryClassAnnotationAndConstantLoader
2014-11-27 21:17:18 +03:00
Pavel V. Talanov 1652157ec7 Prettify AnnotationDescriptorLoader, ConstantDescriptorLoader and DescriptorLoadersStorage after conversion 2014-11-27 21:17:18 +03:00
Pavel V. Talanov 09ff1128ea Convert AnnotationDescriptorLoader, ConstantDescriptorLoader and DescriptorLoadersStorage 2014-11-27 21:17:17 +03:00
Pavel V. Talanov 81ddd16df2 Rename AnnotationDescriptorLoader, ConstantDescriptorLoader and DescriptorLoadersStorage before conversion 2014-11-27 21:17:17 +03:00
Pavel V. Talanov e4d3a65124 Make AnnotationLoader and ConstantLoader accept descriptor-independent data
Rewrite BaseDescriptorLoader to operate on data derived from proto
Intdoduce ProtoContainer to replace containing descriptor as input data
2014-11-27 21:17:16 +03:00
Pavel V. Talanov c73ac97ecf Minor: simplify code 2014-11-27 21:17:15 +03:00
Pavel V. Talanov d2fc7c7fd3 Inline BaseDescriptorLoader#getPackagePartClassName utilities 2014-11-27 21:17:15 +03:00
Pavel V. Talanov 38725687fc Prettify code in BaseDescriptorLoader after conversion 2014-11-27 21:17:14 +03:00
Pavel V. Talanov bd540d5f80 Convert BaseDescriptorLoader to kotlin 2014-11-27 21:17:14 +03:00