Commit Graph

31789 Commits

Author SHA1 Message Date
Dmitry Jemerov 41cd55b281 PropertiesHighlightingVisitor: rename to .kt 2016-05-25 20:00:49 +02:00
Dmitry Jemerov 5512043ed4 FunctionsHighlightingVisitor: cleanup after J2K, remove overlaid highlighting of function calls 2016-05-25 20:00:49 +02:00
Dmitry Jemerov c515740e38 FunctionsHighlightingVisitor: J2K 2016-05-25 20:00:49 +02:00
Dmitry Jemerov 83b5028ac2 FunctionsHighlightingVisitor: rename to .kt 2016-05-25 20:00:49 +02:00
Ilya Gorbunov 9c91b120c9 Force garbage finalization and another gc run in gradle tests. 2016-05-25 17:12:46 +03:00
Dmitry Jemerov 855ddf96fd Kotlin with Gradle: generate 'repositories' call, use kotlin_version property
#KT-11841 Fixed
2016-05-25 15:41:25 +02:00
Dmitry Jemerov 636bbd026c test for KT-9454 2016-05-25 15:41:25 +02:00
Dmitry Jemerov ccbb3d055b call BuildManager.clearState(project) in apply() method of Kotlin Compiler Settings configurable
#KT-10255 Fixed
2016-05-25 15:41:25 +02:00
Dmitry Jemerov 1865750606 add icon for Kotlin annotation classes
#KT-11814 Fixed
2016-05-25 15:41:25 +02:00
Dmitry Jemerov 22d378997c always show current plugin version in update check dialog
#KT-12076 Fixed
2016-05-25 15:41:25 +02:00
Dmitry Jemerov b8eb1dae2b "Configure Kotlin plugin updates" is a dumb-aware action
#KT-12075 Fixed
2016-05-25 15:41:25 +02:00
Dmitry Jemerov 83798f54c1 help ID for compiler configuration page
#KT-12110 Fixed
2016-05-25 15:41:25 +02:00
Dmitry Jemerov e920c35883 remove unnecessary ? from 'serr' live template
#KT-12289 Fixed
2016-05-25 15:41:25 +02:00
Stanislav Erokhin 4b9aac6318 Replace not debug usages of DescriptorRenderer.DEBUG_TEXT to DescriptorRenderer.FQ_NAMES_IN_TYPES. 2016-05-25 16:31:34 +03:00
Pavel V. Talanov 710e920df7 lightClassUtils: Fix CCE when trying to obtain KtLightTypeParameter
#KT-12259 Fixed
2016-05-25 15:58:11 +03:00
Pavel V. Talanov 62421bbf7b 'const val' are now considered constants by Java in IDEA
#KT-12026 Fixed
2016-05-25 15:58:09 +03:00
Pavel V. Talanov 3cb38e7f02 Implement getLanguageLevel for FakeFileForLightClass
#KT-12006 Fixed
2016-05-25 15:58:07 +03:00
Pavel V. Talanov 695653c447 Replace usages of blocking lazy to LazyThreadSafetyMode.PUBLICATION in light classes to prevent potential deadlocks 2016-05-25 15:44:19 +03:00
Pavel V. Talanov 65e55f045f Fix deadlock: synchronized lazy in KtLightModifierListWithExplicitModifiers 2016-05-25 15:44:18 +03:00
Alexander Udalov 7fd2a016e7 Fix Android codegen tests: use full JDK only when needed
This was accidentally broken in 8a00cabce6
2016-05-25 10:29:50 +03:00
Pavel V. Talanov 85200e1f8a REPL UI: fix history pane not showing latest command after command execution 2016-05-24 17:33:24 +03:00
Nikolay Krasko 181a11a1d7 Update to idea 2016.1.2 2016-05-24 17:22:56 +03:00
Nikolay Krasko eee9431a6d More write action requirement remove
Workaround for exception: Refactorings should not be started inside write action because they start progress inside and any read action from the progress task would cause the deadlock
2016-05-24 17:22:56 +03:00
Nikolay Krasko 98060d28a8 Don't request write action for ChangeParameterTypeFix because it's based on refactoring
Workaround for exception: Refactorings should not be started inside write action because they start progress inside and any read action from the progress task would cause the deadlock
2016-05-24 17:22:56 +03:00
Nikolay Krasko e3f85653e9 Don't request write action for RemoveUnusedFunctionParameterFix because it's based on refactoring (KT-12440)
Workaround for exception: Refactorings should not be started inside write action because they start progress inside and any read action from the progress task would cause the deadlock

 #KT-12440 Fixed
2016-05-24 17:22:56 +03:00
Nikolay Krasko 01a6ce930e Don't request write action for ReplaceExplicitFunctionLiteralParamWithItIntention because it's based on refactoring (KT-12436)
Workaround for exception: Refactorings should not be started inside write action because they start progress inside and any read action from the progress task would cause the deadlock

 #KT-12436 Fixed
2016-05-24 17:22:56 +03:00
Pavel V. Talanov 6b001c608b ProjectRootsUtil: accept directories and jar roots if "includeClassFiles == true" 2016-05-24 15:42:11 +03:00
Pavel V. Talanov c7cefad7d5 Implement IdeReplCompletionTest to test completion of entities declared in already evaluated lines 2016-05-24 15:42:09 +03:00
Pavel V. Talanov f59638d60f Minor: prettify ReplState 2016-05-24 15:42:08 +03:00
Pavel V. Talanov 9cff590366 Use ReplState to implement completion in IDE REPL
Consider sucessfully evaluated lines as previous lines when analyzing console file
2016-05-24 15:42:06 +03:00
Pavel V. Talanov 08ef1749b6 Limit resolve scope when completing in module sources 2016-05-24 15:42:04 +03:00
Pavel V. Talanov 4ec4d6ec66 implicitReceiversUtils: Script descriptors are implicit receivers
This fixes completion in repl
2016-05-24 15:42:02 +03:00
Pavel V. Talanov dcd7e6d767 Move ReplState to frontend 2016-05-24 15:42:00 +03:00
Pavel V. Talanov 4d75355cf2 Minor: Rename KotlinReplTest 2016-05-24 15:41:58 +03:00
Pavel V. Talanov 5058e9b4e6 Fix import resolution in Repl
#KT-11428 Fixed

 Refactor ReplState to be a component
2016-05-24 15:41:56 +03:00
Pavel V. Talanov 9f67072098 Minor: ScopeUtils: avoid wrapping lexical scopes several times 2016-05-24 15:41:55 +03:00
Pavel V. Talanov 27bd74f4c5 Refactor: replace LastLineScopeProvider with ReplState, extract FileScopeFactory from FileScopeProviderImpl 2016-05-24 15:41:30 +03:00
Pavel V. Talanov 3b4ade2ca0 Refactor: extract resolve related code from ReplInterpreter to CliReplAnalyzerEngine 2016-05-24 15:36:12 +03:00
Alexander Udalov 68f1cf5f52 Fix typo in inspection description name: RedundantlIf.html -> RedundantIf.html 2016-05-24 15:03:04 +03:00
Mikhail Glukhikh 9e487a6326 Minor refactoring: convert to block body 2016-05-24 14:31:51 +03:00
Mikhail Glukhikh fa5e284bf8 Convert to block body: when expression with Unit result is now handled as "return needed" #KT-12193 Fixed 2016-05-24 14:29:01 +03:00
Mikhail Glukhikh 9a69b8b7b5 REDUNDANT_OPEN_FOR_INTERFACE warning: reported for open members without implementation #KT-12452 Fixed 2016-05-24 14:25:27 +03:00
Mikhail Glukhikh e66acd8101 Default modality is abstract for interface. REDUNDANT_MODIFIER_FOR_TARGET applicability reduced #KT-12302 Fixed 2016-05-24 14:25:22 +03:00
Mikhail Glukhikh 93defed324 KT-12302: ABSTRACT_MODIFIER_IN_INTERFACE warning is removed as obsolete 2016-05-24 14:25:18 +03:00
Dmitry Jemerov 3542834fa1 fix tests for RedundantIfInspection 2016-05-23 20:21:46 +02:00
Vladislav Golub bb32c2d350 KT-12019 Highlighting of redundant 'if' statements (#871) 2016-05-23 21:02:38 +03:00
Vladislav Golub cf56ac0305 Simplify method (#873) 2016-05-23 20:53:42 +03:00
Alexander Udalov 5bf14c106a Delete unused ParentLastURLClassLoader 2016-05-23 20:00:51 +03:00
Alexander Udalov b9fb6c0d84 Remove dangerous readKotlinHeader() in inlineUtil.kt
It was creating a phantom FileBasedKotlinClass which was not based on any file
2016-05-23 20:00:50 +03:00
Alexander Udalov cf19166eca Move IC-related initialization logic to GenerationState
To further reduce number of parameters of GenerationState's constructor
2016-05-23 14:50:06 +03:00