Commit Graph

19560 Commits

Author SHA1 Message Date
Dmitry Jemerov d1123e116f refactor for clarity; don't ignore XxxPackage files not related to Kotlin 2014-12-29 13:57:56 +01:00
Dmitry Jemerov 553fd4dd12 code review; adapted to IDEA API change (Predicate -> Condition) 2014-12-29 12:29:01 +01:00
Dmitry Jemerov 732c3fac2f Implement APIs added in IDEA 14.1 for Packages view and Coverage view to work. 2014-12-24 15:32:26 +01: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
Nikolay Krasko fac3b0068b Don't fail on index update when counting paths for bad abi roots
EA-63535
2014-12-24 01:45:34 +03:00
Nikolay Krasko 0b300bd7fb Minor: Fix warnings 2014-12-24 01:45:31 +03:00
Nikolay Krasko 8f84daf31e Show Kotlin icons in dumb mode 2014-12-24 01:45:26 +03:00
Nikolay Krasko b22726d424 Fix "Index not ready" in structure view 2014-12-24 01:45:24 +03:00
Nikolay Krasko 6b71a99c12 Don't run processTransferableData() in dumb mode 2014-12-24 01:45:22 +03:00
Nikolay Krasko b7159ab13b Remove outdated hint that was popping out on declarations
Sometimes it was clashed with warnings and errors

EA-63522
2014-12-24 01:45:19 +03:00
Nikolay Krasko efa6cdc996 Change marker classes. Use only Java classes as to determine runtime even if abi version is outdated. 2014-12-24 01:45:17 +03:00
Valentin Kipyatkov c882e902c3 Override property calls super when its not abstract 2014-12-23 21:38:49 +03:00
Valentin Kipyatkov 5f2446d889 Implement property uses throw UnsupportedOperationException() instead of default value or ? 2014-12-23 21:38:49 +03:00
Alexey Sedunov 367b99a156 Extraction refactorings: Do not suggest extraction of type elements
#KT-3994 Fixed
2014-12-23 20:43:23 +03:00
Alexey Sedunov 1e5769acfd Introduce Variable: Remove braces from replaced string template entries when possible
#KT-5310 Fixed
2014-12-23 20:43:22 +03:00
Alexey Sedunov 7d31c562b3 Remove braces from block string template entry: Simplify implementation 2014-12-23 20:43:20 +03:00
Alexey Sedunov 82579f489b Introduce Variable: Convert property accessor body to block when needed 2014-12-23 20:43:20 +03:00
Alexey Sedunov 05a0481efa Formatter: Fix spacing between '=' and '{' in property accessors 2014-12-23 20:43:19 +03:00