Commit Graph

19574 Commits

Author SHA1 Message Date
Nikolay Krasko 0988d6cace Update to idea 139.872.1 2014-12-26 14:00:12 +03:00
Michael Nedzelsky eded72d633 fix KT-6192: VerifyError when using spreads with primitive arrays
#KT-6192 Fixed
2014-12-25 22:07:24 +03:00
Andrey Breslav fb7fe81a85 Support navigation to dangling annotations in the IDE 2014-12-25 22:02:23 +03:00
Andrey Breslav 89e1588e13 LIGHT_CLASSES mode for scripts
- Do not generate constructor bodies
- Do not generate script class when package contents are requested
- NOT DONE: generate script class when its name is requested
2014-12-25 22:02:23 +03:00
Andrey Breslav 95f5e8d08c Fix exception from completion and other services 2014-12-25 22:02:23 +03:00
Valentin Kipyatkov 1fda9ed29f J2K: fixed duplicated open modifier generated 2014-12-25 19:55:29 +03:00
Andrey Breslav 292cb9baa9 Resolve dangling annotations in files and class bodies 2014-12-25 19:42:38 +03:00
Alexey Sedunov e296390dd6 Introduce Variable: Do not create separate template to edit type reference
#KT-4314 Fixed
2014-12-25 17:12:19 +03:00
Alexey Sedunov 46ceed8586 Rename: Show error message when trying to rename dynamically invoked function/property 2014-12-25 17:12:18 +03:00
Alexey Sedunov 47aa0cba7d Change Signature: Do not fail on dynamic calls. Show error messages instead
#KT-6529 Fixed
2014-12-25 17:12:17 +03:00
Alexey Sedunov c7a71827a7 Introduce Variable: Amend semicolons to updated expression
#KT-2098 Fixed
2014-12-25 17:12:16 +03:00
Pavel V. Talanov 2fe77d2c6c Fix problem with several runtimes configured 2014-12-25 15:49:49 +03:00
Nikolay Krasko 63e957559e Add warning when non-empty scope without project is used for IDEVirtualFileFinder 2014-12-24 18:39:57 +03:00
Nikolay Krasko 5041f00fea Do not wrap empty scope and fix kotlinSourceAndClassFiles() 2014-12-24 18:39:55 +03:00
Nikolay Krasko cdeaa484bc Create modules with projects 2014-12-24 18:39:45 +03:00
Nikolay Krasko 2a417e822b Check for dumb mode before evaluation start 2014-12-24 18:29:59 +03:00
Andrey Breslav 0b01667ad1 Incorrect assertions removed: these methods are used by completion
Completion correctly proposes packages in type position, as part of an incomplete fqName
2014-12-24 17:53:02 +03:00
Pavel V. Talanov d6881b78d2 Add hack to avoid stub ast mismatch when decompiling libraries built with M9 compiler 2014-12-24 16:49:59 +03:00
Pavel V. Talanov e9ebf4e3c1 Cls stub builder test: test extension on function type 2014-12-24 16:49:58 +03:00
Valentin Kipyatkov 9f6d32f1f6 Fixed EA-63622 - IAE: FqName.validateFqName 2014-12-24 15:48:42 +03:00
Valentin Kipyatkov 64da34e78b Corrections after review + one more test added 2014-12-24 15:48:42 +03:00
Valentin Kipyatkov bfdbbe0247 KT-6407 Completing function with "tab" (replace) shouldn't insert parentheses when type arguments are present
#KT-6407 Fixed
2014-12-24 15:48:42 +03:00
Valentin Kipyatkov 6e6289435f Fixed exception 2014-12-24 15:48:42 +03:00
Valentin Kipyatkov 91220faf06 KT-6122 Code completion in when in enum extension methods suggests non-qualified enum entry names
#KT-6122 Fixed
2014-12-24 15:48:42 +03:00
Valentin Kipyatkov 49b36cc942 Fixed EA-62981 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText 2014-12-24 15:47:07 +03:00
Nikolay Krasko ba02112b3c Rethrow IndexNotReadyException 2014-12-24 15:40:49 +03:00
Nikolay Krasko 5745a1624b Take read action instead of simply asserting it 2014-12-24 15:40:47 +03:00
Valentin Kipyatkov 24f79e4817 Fixed EA-63488 2014-12-24 15:36:24 +03:00
Pavel V. Talanov 9164c77a7e Cache java file stub for light classes build for decompiled files 2014-12-24 14:57:18 +03:00
Pavel V. Talanov 007053489c Fail on duplicate file when packing runtime sources for jvm
Fail on duplicate when packing kotlin-jslib.jar and kotlin-jslib-sources.jar
Move files from root of stdlib to avoid existing conflicts
Rename System to SystemJvm to avoid including to js lib
2014-12-24 14:55:21 +03:00
Valentin Kipyatkov f1840a4f39 Fixed detection of parenthesis needed (otherwise it added them around if when not needed) 2014-12-24 14:19:26 +03:00
Valentin Kipyatkov b1372f0d9e Fixed if-statements with else branch handling 2014-12-24 14:19:26 +03:00
Valentin Kipyatkov 3db51cfcd8 KT-5927 Join Lines could merge nested if's
#KT-5927 Fixed
2014-12-24 14:19:26 +03:00
Valentin Kipyatkov bc631d7aee Fixed Join LInes on a block when there is a space in the end of line 2014-12-24 14:19:25 +03:00
Valentin Kipyatkov 478b5070ef KT-6019 Join lines should remove code block in when entry body
#KT-6019 Fixed
2014-12-24 14:19:25 +03:00
Valentin Kipyatkov 0823c1528a Fixed 2 bugs in Join Lines 2014-12-24 14:19:25 +03:00
Valentin Kipyatkov 37e40267fe KT-6521 Expand selection works wrong on a call inside for loop's range
KT-6518 Extend selection not working for expression in if

 #KT-6521 Fixed
 #KT-6518 Fixed
2014-12-24 14:17:43 +03:00
Natalia Ukhorskaya 94466da61b Evaluate expression: render InvocationExceptions correctly 2014-12-24 13:48:17 +03:00
Natalia Ukhorskaya b6095eca58 Eval4j: return ObjectValue as argument of ExceptionThrown 2014-12-24 13:48:16 +03:00
Natalia Ukhorskaya a894979c81 Extract function: add default name for parameter 2014-12-24 13:48:16 +03:00
nbilyk 87ab271f58 Removed redundant native annotations from canvas.kt 2014-12-24 12:55:34 +03:00
nbilyk 1edd48daa2 #KT-6467 Fixes Removed invalid drawImage signatures, renamed parameters
#KT-6467 fixed
2014-12-24 12:55:19 +03:00
Zalim Bashorov a05ba64f93 Gradle plugin: fix tests. 2014-12-24 12:29:38 +03:00
Zalim Bashorov 35e2a46ae0 Minor in Gradle plugin: don't copy kotlin.js 2014-12-24 12:29:37 +03:00
Zalim Bashorov 1e4100afd5 Gradle plugin: ignore non kotlin-js libraries in dependencies. 2014-12-24 12:29:37 +03:00
Zalim Bashorov eac0e99e65 Minor cleanup in Gradle plugin. 2014-12-24 12:29:36 +03:00
Zalim Bashorov 5e495d6bd9 Fix maven build. 2014-12-24 12:29:10 +03:00
Zoltan Nagy e08fa1cab2 Kotlin2Js Gradle plugin tests 2014-12-24 12:27:55 +03:00
Zoltan Nagy b1723668ce Kotlin2Js Gradle plugin implementation 2014-12-24 12:27:55 +03:00
Nikolay Krasko ec47cb57c5 Minor: check cancel before each marker count 2014-12-24 01:45:37 +03:00