Commit Graph

17830 Commits

Author SHA1 Message Date
Michael Nedzelsky e5bbc2a0d8 JS backend: support for Throwable.getMessage 2014-10-09 19:32:00 +04:00
Alexey Tsvetkov 5649797461 JS backend: catch fix refactoring 2014-10-09 19:31:57 +04:00
Michael Nedzelsky 787b8f72c5 JS backend: fix KT-5603 (Multiple catch): support for multiply catch clauses 2014-10-09 19:31:54 +04:00
Michael Nedzelsky b15963d3fb JS backend: fix KT-5603 (Multiple catch): add tests 2014-10-09 19:31:51 +04:00
Natalia Ukhorskaya 1ce3ddaa82 Minor add message for class cast
EA-59672
2014-10-09 19:18:25 +04:00
Natalia Ukhorskaya da96385f00 J2K: initialize NotNullManager 2014-10-09 19:18:23 +04:00
Natalia Ukhorskaya 141c88aaa9 Make ReferenceSearcher a parameter for JavaToKotlinConverter 2014-10-09 19:18:21 +04:00
Natalia Ukhorskaya db86ade5fb Evaluate expression: add readAction during file analysis 2014-10-09 19:17:24 +04:00
Natalia Ukhorskaya 1055aa86aa Debugger tests: do not check breakpoint line and file extension for JDK classes 2014-10-09 19:17:23 +04:00
Michael Bogdanov 1944f75802 Skip default methods on single abstract method search
Fix for KT-4886: SAM conversion doesn't work for interfaces with default methods

  #KT-4886 Fixed
2014-10-09 17:15:46 +04:00
Nikolay Krasko 062dda89ea Add dumb mode for building run configuration
#EA-61442
2014-10-09 15:21:15 +04:00
Natalia Ukhorskaya f9f4aefb2a Evaluate expression: check for errors before running extract function for code fragment 2014-10-09 13:48:39 +04:00
Natalia Ukhorskaya 410d5deb1c Evaluate expression: add runAction EA-61399 Fixed 2014-10-09 13:48:37 +04:00
Natalia Ukhorskaya e613e3523e Minor: fix warnings 2014-10-09 13:46:23 +04:00
Natalia Ukhorskaya e125375654 Evaluate expression: change message when extracted function is null 2014-10-09 13:46:22 +04:00
Natalia Ukhorskaya f5c08c4868 Evaluate expression: add message for multiple output error from extract function 2014-10-09 13:46:21 +04:00
Natalia Ukhorskaya f45baa9dbe Fix EA-60953 - NPE: CodeInsightUtils.findElementsOfClassInRange 2014-10-09 13:46:20 +04:00
Michael Bogdanov d4307c69d2 Fix for KT-4301: Too many StringBuilders on string concatenations
#KT-4301 Fixed
2014-10-09 12:23:06 +04:00
Michael Bogdanov 4a078c1143 Temporary disable local fun inlining (it's not supported now) 2014-10-09 10:38:14 +04:00
Nikolay Krasko ecb293bd6c Add context information about assert (EA-60850) 2014-10-09 02:28:48 +04:00
Nikolay Krasko 4b197aafa4 Abandon storing BindingContext in JetFunctionPsiElementCellRenderer
#EA-61357 Fixed
2014-10-09 02:28:47 +04:00
Nikolay Krasko 1143db85f1 Refactoring: move method to utility and don't create intermediate kotlin scope 2014-10-09 02:28:47 +04:00
Nikolay Krasko 3ea2d420b2 Refactoring: rename methods 2014-10-09 02:28:46 +04:00
Nikolay Krasko 6c9538b040 Share check "is file under source roots" 2014-10-09 02:28:45 +04:00
Nikolay Krasko 3e4888afa7 Refactoring: remove usages with default value from overload 2014-10-09 02:28:45 +04:00
Nikolay Krasko 7bf84ec84c Refactoring: rename method and hide information about gradle 2014-10-09 02:28:44 +04:00
Nikolay Krasko a7fbc1bc6c Always check kotlin file is in correct source root for gradle modules 2014-10-09 02:28:44 +04:00
Nikolay Krasko a29773597e Convert to Kotlin 2014-10-09 02:28:43 +04:00
Nikolay Krasko b172709008 Refactoring: move file 2014-10-09 02:28:42 +04:00
Nikolay Krasko e85b36cdff Store resolution context for light classes to prevent back-end fail 2014-10-09 02:28:41 +04:00
Nikolay Krasko ad6a0c4b72 Add information about declaration 2014-10-09 02:28:41 +04:00
Nikolay Krasko 50265c311e Don't do resolve for files not under sorce roots 2014-10-09 02:28:40 +04:00
Evgeny Gerashchenko 181b10103f Incremental compilation checkbox in settings.
Old setting via VM option is automatically migrated to "new style".
2014-10-08 20:09:18 +04:00
Evgeny Gerashchenko 514a41ac77 Minor. Moved dialog title from code to GUI settings. 2014-10-08 17:22:31 +04:00
Evgeny Gerashchenko e554c9f53d Converted CompilerSettings to Kotlin. 2014-10-08 17:22:31 +04:00
Zalim Bashorov c7e0e3d391 Replace js.translator with js.frontend in dependencies of idea module and remove js.translator from KotlinPlugin artifact. 2014-10-08 15:55:06 +04:00
Zalim Bashorov 401d9ac831 Minor: add js.inliner sources to kotlin-for-upsource-sources.jar 2014-10-08 15:54:49 +04:00
Valentin Kipyatkov 05aaea48e9 Added API in PSI to add/remove modifiers and refactored quickfixes to use it 2014-10-08 15:41:48 +04:00
Valentin Kipyatkov 12b7d218b7 Simplified quickfix code 2014-10-08 15:41:48 +04:00
Valentin Kipyatkov 93efcd637e JetParameter made JetCallableDeclaration 2014-10-08 15:41:47 +04:00
Valentin Kipyatkov 852fc8bc5d More renames of TypeRef to TypeReference 2014-10-08 15:41:47 +04:00
Valentin Kipyatkov 31ebee81f0 JetVariableDeclaration made JetCallableDeclaration and renamed getTypeRef/setTypeRef, getReturnTypeRef/setReturnTypeRef to getTypeReference/setTypeReference 2014-10-08 15:41:47 +04:00
Valentin Kipyatkov c42b7b1780 Minor refactorings in ChangeMemberFunctionSignatureFix 2014-10-08 15:41:47 +04:00
Valentin Kipyatkov b26e6665b0 JetChangeFunctionSignatureAction made nested class of quickfix class (and it does not need to be QuestionAction!) 2014-10-08 15:41:47 +04:00
Valentin Kipyatkov 61221382b5 Inlined CodeInsightUtils.createFunctionSignatureStringFromDescriptor() 2014-10-08 15:41:46 +04:00
Valentin Kipyatkov b5722c9470 More correct code for adding type specification to function declaration with no parameter list 2014-10-08 15:41:46 +04:00
Valentin Kipyatkov cc3ca57b75 Minor code editings 2014-10-08 15:41:46 +04:00
Michael Bogdanov 41c4c3befd Fix test data for KT-3285 2014-10-08 09:34:50 +04:00
nik 11d02e5485 use standard UnsupportedOperationException instead of NotImplementedException from internal packages 2014-10-07 20:57:47 +04:00
Evgeny Gerashchenko b80f82dffd Fixed filename case. 2014-10-07 20:57:05 +04:00