Commit Graph

39521 Commits

Author SHA1 Message Date
Toshiaki Kameyama 2afe8989df Make <modifier> intention handle sealed correctly #KT-18425 Fixed 2017-06-13 15:02:36 +03:00
Dmitry Jemerov a6d80b78de Fix tests 2017-06-13 13:04:11 +02:00
Vasily Kirichenko 6829c5ef8f add a test 2017-06-13 13:04:10 +02:00
Vasily Kirichenko 0381018d00 add the check into CanBePrimaryConstructorPropertyInspection as well 2017-06-13 13:04:10 +02:00
Vasily Kirichenko c0ee50a693 do not show "Move to constructor" intention for properties declared in interfaces 2017-06-13 13:04:09 +02:00
Dmitry Jemerov b9cfb6b59b typo 2017-06-12 19:20:12 +02:00
Dmitry Jemerov 2d9bf73049 Sort plugins before uploading 2017-06-12 19:02:20 +02:00
Toshiaki Kameyama ac03c91dcc Make <modifier> intention inserts modifier between annotation and class keywords #KT-14092 Fixed 2017-06-12 18:32:35 +02:00
Alexey Sedunov 79493985be Kotlin Facet: Fix facet existence check during Gradle import
EA-101476 Fixed
2017-06-12 16:37:41 +03:00
Simon Ogorodnik a371bcb624 Fix flaky kdoc lexer test
Normalize line separators
2017-06-11 18:13:49 +03:00
Ilya Gorbunov 4798c029de Limit visibility of sublists, make them implement RandomAccess 2017-06-10 10:00:15 +03:00
Ilya Gorbunov d7ad1f3950 Explicitly disable ArrayLiteralsInAnnotations feature in test which validates it's unsupported 2017-06-10 10:00:15 +03:00
Anton Bannykh 46d9d296ca JS: use '/' as separator on all platforms to prevent sourcemap parse errors 2017-06-09 20:32:22 +03:00
Alexey Sedunov 3b15285a0c Analyze Data Flow: Add usage context panels 2017-06-09 17:19:23 +03:00
Alexey Sedunov ff5a52b445 Analyze Data Flow: Respect member hierarchies
#KT-11994 In Progress
2017-06-09 17:19:22 +03:00
Alexey Sedunov 49da81f681 Analyze Data Flow: Support val/var parameters
#KT-11994 In Progress
2017-06-09 17:19:20 +03:00
Alexey Sedunov ea7d535ae7 Analyze Data Flow: Support properties with custom accessors
#KT-11994 In Progress
2017-06-09 17:19:20 +03:00
Alexey Sedunov d61ddaccb6 Analyze Data Flow: Support callable references
#KT-11994 In Progress
2017-06-09 17:19:18 +03:00
Alexey Sedunov 3f411fc93b Analyze Data Flow: Support lambdas/anonymous functions
#KT-11994 In Progress
2017-06-09 17:19:18 +03:00
Alexey Sedunov 0f44dd6ab0 Analyze Data Flow: Support dereference processing
#KT-11994 In Progress
2017-06-09 17:19:16 +03:00
Alexey Sedunov 858b454138 Analyze Data Flow: Initial implementation
#KT-11994 In Progress
2017-06-09 17:19:15 +03:00
Dmitry Neverov 3f104833ba Handle multi-line spaces and leading asterisks more correctly 2017-06-09 17:14:28 +03:00
Sergey Igushkin 0453c4a7bf Fix Android SDK licenses not being accepted in Kapt3AndroidIT
(cherry picked from commit 8084ac6)
2017-06-09 16:38:09 +03:00
Mikhail Glukhikh 630af6a9c6 Correct 1.1-specific test to fix 1.2-M1 build 2017-06-09 13:10:37 +03:00
Valentin Kipyatkov ca7a0da10f Fixed one more case of redundant type arguments 2017-06-08 23:26:39 +03:00
Valentin Kipyatkov 4b0cbc61d1 More correct 2017-06-08 23:26:38 +03:00
Valentin Kipyatkov c08d862e9e More correct algorithm for redundant type arguments detection 2017-06-08 23:26:38 +03:00
Valentin Kipyatkov cfa442a42a Move refactoring available on cut/paste declarations from an object to top-level 2017-06-08 23:26:12 +03:00
Dmitry Jemerov b143b1be42 Revert tesdata changes to match changed code behavior 2017-06-08 19:48:12 +02:00
fitermay 4fab29b648 KT-18006 Don't cut off trailing new lines. Make behavior consistent with Java literal copy/paste 2017-06-08 19:48:12 +02:00
fitermay a63d631435 KT-18006 Bring behavior of Kotlin literal copy/paste inline with Java's after IDEA-172984 2017-06-08 19:48:12 +02:00
Nikolay Krasko ba34ed89d3 Allow to report exceptions in internal mode when updates are available 2017-06-08 17:21:13 +03:00
Toshiaki Kameyama c149e956cc Replace explicit parameter isn't shown on destructuring declaration
So #KT-17026 Fixed
2017-06-08 16:32:54 +03:00
Alexey Sedunov e5717d3e96 Copy: Enable file copy for mixed Java-Kotlin case
Also merge CopyKotlinFileHandler with CopyKotlinDeclarationsHandler
as it currently can't be invoked for such cases

 #KT-18200 Fixed
2017-06-08 14:37:37 +03:00
Alexey Sedunov 13212f06b4 Copy/Move: Fix processing of imported Java static members
#KT-18098 Fixed
2017-06-08 14:37:37 +03:00
Alexey Sedunov a0629bfc58 Rename: Fix rename of import alias referring to object member
#KT-18096 Fixed
2017-06-08 14:37:35 +03:00
Alexey Sedunov 1ded171720 Rename: Disable member inplace when variable inplace is available 2017-06-08 14:37:34 +03:00
Alexey Sedunov 69c315443a Rename: Disable label rename outside of reference range
#KT-17128 Fixed
2017-06-08 14:37:34 +03:00
Alexey Sedunov 566e701131 Rename: Disable Java member rename by reference to import alias
#KT-18076 Fixed
2017-06-08 14:37:32 +03:00
Alexey Sedunov 9c11c42ec2 Rename: Fix inplace refactoring for declarations with backticked names
#KT-15859 Fixed
2017-06-08 14:37:31 +03:00
Alexey Sedunov 2f88b6ef9b Copy: Rename only self-usages of the copied class
#KT-18034 Fixed
2017-06-08 14:37:30 +03:00
Alexey Andreev 4252d9786b Fix translation of interface with non-abstract methods in JS BE
Fix additional case of generic interfaces in KT-18187
2017-06-08 13:51:18 +03:00
Alexander Udalov 09e4775a10 REPL: display configuration-related messages after start
Previously these messages (e.g. non-existing jar path in classpath,
invalid language version, etc.) were shown after the user exited from
the REPL
2017-06-08 12:28:07 +03:00
Alexander Udalov cbb6269391 REPL: do not report warnings when there are errors
#KT-18349 Fixed
2017-06-08 12:28:06 +03:00
Alexander Udalov ed922deb93 REPL: do not output additional newline after compiler and runtime errors 2017-06-08 12:28:05 +03:00
Alexander Udalov bd9dd90649 REPL: print newline before exit
No tests added because the only way to test this seems to be to launch a
new process and send "Ctrl+D" into it, which seems cumbersome for such
small change
2017-06-08 12:28:04 +03:00
Alexander Udalov 6f22baa0f6 REPL: improve "are all errors at EOF" detection
Also ignore whitespaces and comments that appear after the last error in
a REPL line

 #KT-15172 Fixed
2017-06-08 12:26:54 +03:00
Dmitry Jemerov 2326b5faf3 Update testdata according to behavior changes 2017-06-08 10:43:19 +02:00
Toshiaki Kameyama d90cc6f4cf Intention Make private and friends should respect modifier order #KT-17823 Fixed 2017-06-08 10:41:07 +02:00
Mikhael Bogdanov 5dfe77b7c3 Fix array element processing 2017-06-08 09:23:50 +02:00