Ilya Chernikov
014e43e50a
Generalize error processing on daemon connection, attempt to fix #EA-82064 again
2016-11-30 13:09:18 +01:00
Ilya Chernikov
c88b11aa27
Generalize error processing in retrieving gradle settings, fixes #EA-87096, #EA-87129, #EA-87275 and alike
2016-11-30 13:09:17 +01:00
Alexey Sedunov
313d838f1b
Unused Symbol Inspection: Fix exception on deleting unused declaration in IDEA 2016.3
2016-11-30 14:35:41 +03:00
Alexey Sedunov
1bde0e12fd
Rename: Fix exceptions on moving file with facade class to another package
...
#KT-14325 Fixed
2016-11-30 14:35:40 +03:00
Alexey Sedunov
cedbac6b43
Safe Delete: Fix exception on deleting Java class used in Kotlin import directive(s)
...
#KT-14596 Fixed
2016-11-30 14:35:39 +03:00
Alexey Sedunov
465138cfa1
Initialize with Constructor Parameter Intention: Fix IDE freeze on properties in generic class
...
#KT-14459 Fixed
2016-11-30 14:35:38 +03:00
Alexey Sedunov
b29c704a92
Rename: Do not report redeclaration conflict for private top-level declarations located in different files
...
#KT-14361 Fixed
2016-11-30 14:35:37 +03:00
Alexey Sedunov
a2d3592228
Project Settings: Expose language version setting in IntelliJ IDEA plugin compiler configuration UI
...
#KT-12410 Fixed
2016-11-30 14:35:36 +03:00
Alexey Sedunov
21c6e97731
Project Settings: Expose JVM target setting in IntelliJ IDEA plugin compiler configuration UI
...
#KT-13811 Fixed
2016-11-30 14:35:35 +03:00
Alexey Sedunov
740f769487
Rename: Fix renaming of .kts file to .kt and vice versa
...
#KT-14814 Fixed
2016-11-30 14:35:34 +03:00
Alexey Sedunov
ddb5308993
Extract Interface: Fix NPE on dialog opening
...
#KT-14854 Fixed
2016-11-30 14:35:34 +03:00
Alexey Sedunov
24035d2c83
Introduce Type Alias: Forbid nested/local type aliases
2016-11-30 14:35:33 +03:00
Alexey Sedunov
752ae87591
Introduce Type Alias: Support callable references/class literals
...
#KT-14861 Fixed
2016-11-30 14:35:32 +03:00
Alexey Sedunov
9967d4c4e2
Move: Fix EA-1266148
2016-11-30 14:35:31 +03:00
Alexey Sedunov
0f58e2eef2
Introduce Type Alias: Replace type usages in constructor calls. Do not replace usages of existing type aliases
...
#KT-14685 Fixed
2016-11-30 14:35:30 +03:00
Alexey Sedunov
7a38dfadba
Introduce Type Alias: Fix NPE during dialog repaint
...
#KT-14696 Fixed
2016-11-30 14:35:29 +03:00
Alexey Sedunov
939532b6f3
Introduce Type Alias: Do not suggest type qualifiers
...
#KT-14693 Fixed
2016-11-30 14:35:28 +03:00
Alexey Sedunov
9a4fa3a871
Presentation: Add icons for type aliases
2016-11-30 14:35:27 +03:00
Natalia Ukhorskaya
01d4ec4187
Debugger: ability to set breakpoint to lambda in return statement (KT-14615)
...
#KT-14615 Fixed
2016-11-30 13:56:29 +03:00
Nikolay Krasko
730e561177
Navigation to inline functions doesn't work for thread dump captured using "Get thread dump" (KT-14916)
...
#KT-14916 Fixed
2016-11-30 13:53:12 +03:00
Ilya Gorbunov
21fba92c93
Annotate new number parsing functions with SinceKotlin.
...
#KT-8286, #KT-7930
2016-11-30 02:33:51 +03:00
Ilya Gorbunov
9b421eb7a4
Throw IllegalArgumentException instead of NumberFormatException on incorrect radix.
2016-11-30 02:20:33 +03:00
Ilya Gorbunov
3c80a7056a
Refactor local test dsl.
...
Add several cases and arabic digits conversion test.
2016-11-30 02:19:43 +03:00
Ilya Gorbunov
1b9dfffc13
Minor: normalize casing of Test annotation
2016-11-30 02:19:40 +03:00
Ilya Gorbunov
410e85ef79
Minor: extract a couple of platform-specific functions.
2016-11-30 02:19:38 +03:00
Ilya Gorbunov
4d6c5bcdcf
Split API to separate overloads with radix parameter and without.
...
Remove unused radix parameter from toFloat and toDouble.
Update public API dump.
#KT-8286, #KT-7930
2016-11-30 02:19:36 +03:00
Ilya Gorbunov
ce50c7f13d
Fix in test to deal with java 6 not accepting leading plus.
2016-11-30 02:19:33 +03:00
voddan
a8bd174cd0
Added tests for parsing with radix.
...
#KT-8286
2016-11-30 02:19:31 +03:00
voddan
0a939a647f
Added optional radix parameter to string-parsing functions: String.toInt, String.toIntOrNull etc.
...
#KT-8286
2016-11-30 02:19:29 +03:00
voddan
87d010e038
Introduce local dsl for number parsing tests, improve test coverage.
...
#KT-7930
2016-11-30 02:19:27 +03:00
voddan
ce9c981e26
Implemented String.toIntOrNull , String.toLongOrNull.
...
Rewrote `String.toShortOrNull` and `String.toByteOrNull` by delegating to `String.toIntOrNull`.
Added a regEx check into `String.toDoubleOrNull` to prevent throwing exceptions mostly.
#KT-7930
2016-11-30 02:19:26 +03:00
voddan
3d050322e0
Added String.toIntOrNull, etc
...
#KT-7930
2016-11-30 02:17:35 +03:00
voddan
fb51d21888
Extracted string-parsing extensions and their tests into separate files.
2016-11-30 02:17:35 +03:00
Denis Zharkov
fcd9ee037e
Support coroutines stack-unwinding in JVM backend
...
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00
Denis Zharkov
27e4caf046
Temporary disable coroutine tests in JS backend
...
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00
Denis Zharkov
1f98accad2
Support new suspend convention in JVM backend partially
...
Stack-unwinding does not work yet
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00
Denis Zharkov
2c3b0aeddb
Add 'suspendWithCurrentContinuation' and 'Suspend' object in built-ins
...
They are part of the new suspension convention, relevant
support in backends will be added in later commits
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00
Denis Zharkov
a34c9c2580
Support new suspend convention in frontend
...
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00
Simon Ogorodnik
e4a383f3e2
Fix for KT-10665, now only signature + deprecation info shown in quick navigation tooltip
...
Fix tests, to use full documentation mode instead of quick navigate
2016-11-29 14:08:10 +03:00
Simon Ogorodnik
1c75c02dfe
Fix for KT-13699 Quick documentation doesn't show supertype docs for overridden Java
2016-11-29 14:08:09 +03:00
Simon Ogorodnik
b93c37faa2
Added tests to prove, that KT-8547 fixed
2016-11-29 14:08:09 +03:00
Simon Ogorodnik
2824c8d4cd
Fix for KT-11032 Samples not rendered in Quick Doc
...
Now samples included as code blocks into quick doc
2016-11-29 14:07:47 +03:00
Simon Ogorodnik
94770f8447
Fix for KT-13197 Markdown indented code blocks are not recognized by quick doc
...
Expanded code blocks lexer test, to cover indented code blocks
2016-11-29 14:07:34 +03:00
Simon Ogorodnik
3376dbb10d
Fix for KT-7995 Quick doc should show deprecation info and ReplaceWith
2016-11-29 14:07:32 +03:00
Simon Ogorodnik
1a211ee7b0
Completion for fqNames in KDoc links
...
Tests, also proved that KT-14432 are fixed
Added completion and tests for extension functions.
2016-11-29 14:06:54 +03:00
Simon Ogorodnik
62077dafc3
Fix resolving of packages in FQN kdoc links
...
Assume link [pack.SomeType], pack no more will be marked as unresolved reference
2016-11-29 14:06:51 +03:00
Simon Ogorodnik
c93e47febf
Feature KT-7739 Type names in Quick Documentation should be clickable and navigate to their documentation
...
Filter out 'boring builtin classifiers' (kotlin.Int for ex) from signature hyperlinks
2016-11-29 14:06:37 +03:00
Simon Ogorodnik
68d4a7abce
Fix for KT-13400, KT-13389 Resolving FQN in quick doc
...
Problem related to not complete fix in KT-10398
2016-11-29 14:06:35 +03:00
Simon Ogorodnik
b007d9b60f
Fix for KT-13038 Quick doc should escape HTML entities in code blocks
2016-11-29 14:06:35 +03:00
Dmitry Petrov
2cd6c85cc7
Syntax forms 'a<T>::foo', 'a?::foo' have special cases resolved for future releases.
...
'a<T>::foo' is reserved if 'a' is a simple name and can be resolved as an expression
(this can be extended to 'a.b.c<T>::foo' case, although that is rather hard to implement using PSI).
'a?::foo' is reserved if 'a' can be resolved as an expression.
2016-11-29 13:10:01 +03:00