Commit Graph

35083 Commits

Author SHA1 Message Date
Valentin Kipyatkov 3fb64f4fa6 Fixed completion list sorting so that "shouldCompleteTopLevelCallablesFromIndex" not be first when typing "st" 2016-11-07 18:28:24 +03:00
Valentin Kipyatkov eefa409a1d Fixed "Offset ... is not registered" exceptions when running under IDEA 2016.3 2016-11-07 18:28:24 +03:00
Valentin Kipyatkov 0af142edb3 KT-14410 Autopopup completion is triggered in string literals for packages
#KT-14410 Fixed
2016-11-07 18:28:24 +03:00
Valentin Kipyatkov a2ebf07a93 KT-14386 Smart completion: add "<parameter name> = true/false" choices
#KT-14386 Fixed
2016-11-07 18:28:23 +03:00
Dmitry Jemerov 54f28cab45 allow to pass compiler version number externally 2016-11-07 14:33:59 +01:00
Anton Bannykh 283d16b7f4 Updated example test path in the test.html (used to debug JS box tests) to match the current state. 2016-11-07 15:32:26 +03:00
Mikhail Glukhikh a6d17132b3 Build fix: forgotten inspection descriptions was added for new inspections 2016-11-07 14:55:36 +03:00
Alexander Udalov 3db459c1d8 JS: drop Collections.reverse and java.util.Collections altogether 2016-11-07 12:27:54 +03:00
Alexander Udalov e8fecea871 JS: drop Collections.max 2016-11-07 12:27:52 +03:00
Alexander Udalov 316fbd820b JS: drop Collections.sort 2016-11-07 12:27:13 +03:00
Alexander Udalov 30a7790dca Minimize references to java.util.Collections in stdlib sources
Only three usages are left in platform-independent code: in reverse, sort and
sortWith for mutable lists
2016-11-07 12:20:14 +03:00
Alexander Udalov b52f67132e Fix some warnings in JS-specific stdlib sources 2016-11-07 12:20:14 +03:00
Alexander Udalov 52511845fc Minor reformat in JS libraries + remove commented out code 2016-11-07 12:20:14 +03:00
Ilya Gorbunov 766a28c5f8 Update builtin deserialization tests. 2016-11-04 04:36:02 +03:00
Ilya Gorbunov 1a471d7f6b Annotate new enum-related API with SinceKotlin. 2016-11-04 04:18:51 +03:00
Ilya Gorbunov 11bb10e7f7 Annotate new DslMarker annotation with SinceKotlin 2016-11-03 22:34:59 +03:00
Denis Zharkov 77e2b12566 Add kotlin.DslMarker to binary public API 2016-11-03 17:55:41 +03:00
Vyacheslav Gerasimov 2a0557f742 Added missing KtLambdaArgument to UElement conversion in KotlinUastLanguagePlugin
#KT-14470 Fixed
2016-11-03 17:21:39 +03:00
Vyacheslav Gerasimov 9534934f43 Implemented kotlin quick fix provider for create android resource quick fixes
#KT-10465 Fixed
#KT-12880 Fixed
2016-11-03 17:21:28 +03:00
Vyacheslav Gerasimov 29b9521596 Android lint check for api requirements for classes in catch clause (KT-13243)
Added test for #KT-14047, #KT-13243 Fixed, #KT-14047 Fixed
2016-11-03 17:21:17 +03:00
Vyacheslav Gerasimov 387d5ffd73 Added call to ImportFilter in import quickfix (KT-14439)
#KT-14439 Fixed
2016-11-03 17:20:57 +03:00
Michael Bogdanov fd6d4c352c Special enum function support; Fix for KT-10569: Cannot iterate over values of an enum class when it is used as a generic parameter
#KT-10569 Fixed
2016-11-03 14:27:13 +03:00
Valentin Kipyatkov 6a3597fa0f Minor changes on code review 2016-11-02 19:25:28 +03:00
Valentin Kipyatkov 6d3dd5d9b7 More uses of partial body resolve 2016-11-02 19:25:28 +03:00
Valentin Kipyatkov 68174470c3 Add BodyResolveMode parameter to resolveToDescriptor() 2016-11-02 19:25:27 +03:00
Valentin Kipyatkov a10272b236 Optimization: do not use resolveToDescriptor() which uses full body resolve 2016-11-02 19:25:26 +03:00
Valentin Kipyatkov c0d89e67a9 Do not resolve all bodies of anonymous objects and local classes in partial body resolve 2016-11-02 19:25:25 +03:00
Valentin Kipyatkov 23c22984e8 Optimization: look for callables at first when prefix starts uppercase and the opposite otherwise 2016-11-02 19:25:25 +03:00
Valentin Kipyatkov dbaaee7d0b Refactoring: step 1 2016-11-02 19:25:24 +03:00
Valentin Kipyatkov 6c3d2c62b4 Minor 2016-11-02 19:25:23 +03:00
Valentin Kipyatkov 9f1cdde20b Better modifier order 2016-11-02 19:25:22 +03:00
Valentin Kipyatkov f6a73e756e Refactoring 2016-11-02 19:25:22 +03:00
Valentin Kipyatkov 6c17fa7736 Performance optimization for completion after "ge", "se", etc 2016-11-02 19:25:21 +03:00
Valentin Kipyatkov 2b2ef5a349 Performance optimization: do not invoke DescriptorToSourceUtilsIde.getAnyDeclaration() on creating LookupElement - do it lazily
#KT-14606 In Progress
2016-11-02 19:24:46 +03:00
Denis Zharkov 8aefc0db7c Do not suggest "Rename to _" quick-fix for parameter of named function
#KT-14586 Fixed
2016-11-02 15:38:03 +03:00
Yan Zhulanow 951868f590 Explicitly filter out classes found by DataBindingClassFinder and DataBindingComponentClassFinder for scope without sources (KT-12402)
This change is temporary, and it should be reverted when the original problem in DataBinding IDE support is fixed.
2016-11-01 19:36:33 +03:00
Yan Zhulanow 4188ef6e53 Fix conformance test 2016-11-01 19:36:32 +03:00
Yan Zhulanow 7338980d00 Lint: Add several checkCancelled() checks to UElementVisitor 2016-11-01 19:36:32 +03:00
Yan Zhulanow 65cea7e92c Lint: Use IntellijApiDetector in IDE 2016-11-01 19:36:32 +03:00
Yan Zhulanow 6ff29f473b Uast: Migrate to UAnnotation 2016-11-01 19:36:32 +03:00
Yan Zhulanow fee54d9b86 Lint: Remove SdkWrapper and AnroidModelFacade (was needed in Android Studio 1.5) 2016-11-01 19:36:31 +03:00
Yan Zhulanow 7404b91cb3 Lint: Fix diagnostic tests 2016-11-01 19:36:31 +03:00
Yan Zhulanow 565ca0f7a3 Lint: Fix compilation errors after replacing diagnostics 2016-11-01 19:36:31 +03:00
Vyacheslav Gerasimov 2be9a083ad Lint: Android Lint diagnostics fixes 2016-11-01 19:36:31 +03:00
Yan Zhulanow c2ddd943f9 Lint: Update diagnostics because of the new Uast. Also, these diagnostics are from AS 2.2. 2016-11-01 19:36:31 +03:00
Yan Zhulanow 4c4d6a4ad4 Temporary remove outdated Uast tests 2016-11-01 19:36:30 +03:00
Yan Zhulanow d5d491e6b2 Lint: Update Uast implementation (the new version is without declaration level) 2016-11-01 19:36:30 +03:00
Denis Zharkov 6491d3fbac Do not report DSL scope violation error when language-version is 1.0
#KT-11551 Fixed
2016-11-01 15:58:14 +03:00
Denis Zharkov 7553d3f72b Intoduce and support DslMarker annotation
#KT-11551 In Progress
2016-11-01 15:58:14 +03:00
Denis Zharkov b8e8206c4f Minor. Remove redundant parameter
LexicalWritableScope.implicitReceiver is always null for all constructor's usages
2016-11-01 15:58:14 +03:00