Commit Graph

18955 Commits

Author SHA1 Message Date
Valentin Kipyatkov 375a8f6049 Added indices for functions and properties in package and used them to speed up completion 2014-12-01 16:06:51 +03:00
Valentin Kipyatkov 9f6dd3ce2e Faster completion by not iterating over full class index for each package 2014-12-01 16:06:51 +03:00
Zalim Bashorov 7539eb3dfc Fix build on windows: use forward-slash in path to config files, it's important for access to files inside jar/zip. 2014-12-01 15:27:39 +03:00
Zalim Bashorov 31d4a8c226 JS frontend: added tests for nativeInvoke, nativeGetter, nativeSetter. 2014-12-01 15:27:38 +03:00
Zalim Bashorov 99745dfa90 Drop platform parameter in diagnostic tests(partial revert of 2a334fc). 2014-12-01 15:27:38 +03:00
Zalim Bashorov a8e8f9b44e Move JsUnitTestReporter.java to utils. 2014-12-01 15:27:37 +03:00
Zalim Bashorov 3f480361f1 Move LibrarySourcesConfigWithCaching to js.frontend module. 2014-12-01 15:27:37 +03:00
Zalim Bashorov c06d70d190 JS frontend: added checkers for nativeInvoke, nativeGetter, nativeSetter. 2014-12-01 15:27:36 +03:00
Zalim Bashorov fdfbae05e4 Move AnnotationsUtils to js.frontend 2014-12-01 15:27:35 +03:00
Zalim Bashorov 7073f20484 JsDescriptorUtils#(isExtension, isOverride, getContainingClass) -> DescriptorUtils#(*) 2014-12-01 15:27:35 +03:00
Zalim Bashorov e9dbb97e22 Minor in JS backend: refactoring JsInvocation. 2014-12-01 15:27:34 +03:00
Zalim Bashorov b06096469a JS backend: added the support nativeInvoke, nativeGetter, nativeSetter. 2014-12-01 15:27:34 +03:00
Zalim Bashorov e6b69e48d9 Minor: fix JetCoreEnvironment#(createForProduction, createForTests) call sites for JVM. 2014-12-01 15:27:33 +03:00
Zalim Bashorov 912727e5d2 Unify extension point and extension registration in plugin and cli 2014-12-01 15:27:33 +03:00
Stanislav Erokhin 14d663bcab Fix maven kotlin-stdlib-validator task. 2014-12-01 14:35:40 +03:00
Nikolay Krasko 8957a0621c Refactoring: remove method 2014-11-28 17:19:30 +03:00
Nikolay Krasko e49d13dfac Refactoring: drop method, rename method in TopDownAnalyzerFacadeForJVM.java 2014-11-28 17:19:29 +03:00
Nikolay Krasko 840e16baa0 Test for IllegalArgumentException bug from JVM backend (KT-6149)
JVM backend fails with IllegalArgumentException: Argument for @NotNull parameter 'descriptor' of org/jetbrains/jet/codegen/PropertyCodegen.gen must not be null

 #KT-6149 Fixed
2014-11-28 17:18:48 +03:00
Nikolay Krasko edf4ab8e64 Check no exception when static import in java is used and there's cyclic dependency between kotlin and java (KT-5848)
#KT-5848 Fixed
2014-11-28 17:18:48 +03:00
Nikolay Krasko ce45108fe9 LTDA: Add addition scope provider component for lazy resolve and create additional injector for REPL 2014-11-28 17:18:47 +03:00
Nikolay Krasko 4342740195 Refactoring: move common code for ResolveSession init to method 2014-11-28 17:18:46 +03:00
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