Commit Graph

17820 Commits

Author SHA1 Message Date
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
Pavel V. Talanov 33cdefffe3 Do not log ProcessCanceledException in copy paste reference processor
It is rethrown and leads to inability to copy code

 #KT-5426
2014-10-07 19:28:49 +04:00
Michael Bogdanov f8052817a8 Rollback some changes in MutableClosure 2014-10-07 18:43:29 +04:00
Ilya Ryzhenkov 759e42188b Update TeamCity links to https, replace link to confluence with link to kotlinlang.org. 2014-10-07 17:59:02 +04:00
Evgeny Gerashchenko b062548392 Expanded and simplified test for generating bridges in sam conversions. 2014-10-07 17:48:17 +04:00
Ilya Ryzhenkov 72f96cd55c Generate bridges when creating SAM wrapper not from closure. 2014-10-07 17:48:17 +04:00
Michael Bogdanov 6bcb2e9001 Temporary fix for KT-5912
#KT-5912 Fixed
2014-10-07 17:48:17 +04:00
Michael Bogdanov 6b336be10c Obsolete KT-1776: Can't resolve members of auto-casted "this" in extension without typing "this" explicitly
#KT-1776 Obsolete
2014-10-07 17:21:11 +04:00
Michael Bogdanov 278e682595 Obsolete KT-3285: "A receiver of type ... is required" when using extension functions
#KT-5467 Obsolete
2014-10-07 17:21:11 +04:00
Michael Bogdanov bb3f1f1fb7 Fix for KT-5467: JVM codegen doesn't support capture of many extension receivers
#KT-5467 Fixed
2014-10-07 17:21:10 +04:00
Michael Bogdanov c3cfe33b64 Fix for KT-5495: Support method implementations in local traits
#KT-5495 Fixed
2014-10-07 17:21:10 +04:00