Commit Graph

33191 Commits

Author SHA1 Message Date
Ilya Gorbunov cf898ae357 Exclude exceptions from java.lang package for which type aliases exist in kotlin package.
Add relevant note to the type aliases.
2016-08-17 12:40:50 +03:00
Ilya Gorbunov 0d7819e011 Move exceptions to kotlin package in JS library, introduce type aliases for exceptions in kotlin package in JVM runtime.
#KT-18 Fixed
2016-08-17 12:40:50 +03:00
Ilya Gorbunov afe1b7eab1 Allow to exclude specific types from packages imported by default. 2016-08-17 12:40:50 +03:00
Ilya Gorbunov 0f8bf310f2 Kotlin script execution for maven: include kotlin-runtime as explicit dependency for script.
Relates to #KT-11839
2016-08-17 12:40:50 +03:00
Alexey Sedunov fbd6edce92 Light Classes: Support property accessors with non-conventional names
#KT-13032 Fixed
2016-08-17 12:28:46 +03:00
Alexey Sedunov 94c4b426f5 Pull Up: Skip super members without explicit declarations
#KT-13124 Fixed
2016-08-17 11:50:00 +03:00
Alexey Sedunov 6766494581 Push Down: Do not specifiy visibility on generated overriding members
#KT-12971 Fixed
2016-08-17 11:49:59 +03:00
Alexey Sedunov ad3ffdab18 Rename: Use RenameKotlinParameterProcessor for constructor/lambda parameters
#KT-13253 Fixed
2016-08-17 11:49:58 +03:00
Alexey Sedunov 2e887ebcef Rename: Do not report shadowing conflict if redeclaration is detected
#KT-13240 Fixed
2016-08-17 11:49:58 +03:00
Alexey Sedunov 8232c66617 Move: Warn about accessibility conflicts when moving entire file
#KT-13175 Fixed
2016-08-17 11:49:57 +03:00
Alexey Sedunov baa549e7c8 Move: Warn about accessibility conflicts due to moving to unrelated module
#KT-13174 Fixed
2016-08-17 11:49:56 +03:00
Alexey Sedunov 6a42802240 Rename: Warn about function name conflicts
#KT-13239 Fixed
2016-08-17 11:49:55 +03:00
Alexey Sedunov 385640c86f Rename: Fix name quoting for automatic renamers
#KT-13282 Fixed
 #KT-13283 Fixed
2016-08-17 11:49:54 +03:00
Alexey Sedunov a5da9e81a0 Rename: Conflict detection for type parameters
#KT-13254 Fixed
2016-08-17 11:49:53 +03:00
Alexey Sedunov 562488b348 Create from Usage: Disable "Create property" (non-abstract) in interfaces. Make "Create function" (non-abstract) generate function body in interfaces
#KT-13365 Fixed
2016-08-17 11:49:52 +03:00
Alexey Sedunov f4d9f33f48 Change Signature: Yield to other usage processor if target element is neither KtFunction, nor PsiMethod
#KT-13277 Fixed
2016-08-17 11:49:52 +03:00
Michael Bogdanov e6d96be329 Removed redundant 'addThis' flag 2016-08-17 11:26:46 +03:00
Michael Bogdanov e0d525b72a Support bound function reference inlining 2016-08-17 11:26:45 +03:00
Michael Bogdanov 439431e923 ParameterBuilder refactoring: allow to generate captured parameter between value ones 2016-08-17 11:26:45 +03:00
Valentin Kipyatkov 7f07890f6a KT-13298 Suggest names for overridden properties / functions in completion
#KT-13298 Fixed
2016-08-16 18:17:24 +03:00
Valentin Kipyatkov 7ebf001d25 Moved class 2016-08-16 17:38:19 +03:00
Valentin Kipyatkov 8e6a01fe0a arrayListOf, mutableListOf, hashSetOf and mutableSetOf supported 2016-08-16 17:38:19 +03:00
Valentin Kipyatkov 054558ad95 More correct checking of smart cast preserving 2016-08-16 17:38:19 +03:00
Valentin Kipyatkov bfed954e85 Added tests 2016-08-16 17:38:19 +03:00
Valentin Kipyatkov f5530c8bf0 Added comment 2016-08-16 17:38:18 +03:00
Valentin Kipyatkov e32724330f Moved shouldUseInputVariable from Transformation to TransformationMatcher and changed its semantics a bit 2016-08-16 17:38:18 +03:00
Valentin Kipyatkov a5c7d4f1fd Added comment 2016-08-16 17:38:18 +03:00
Valentin Kipyatkov 50cd61ec9f Minor refactoring 2016-08-16 17:38:18 +03:00
Valentin Kipyatkov 407a3ddc8a Used utility 2016-08-16 17:38:17 +03:00
Valentin Kipyatkov dde397f34d Fixed bug 2016-08-16 17:38:17 +03:00
Valentin Kipyatkov bdd4363802 Option to use 'asSequence()' 2016-08-16 17:38:17 +03:00
Valentin Kipyatkov acdf9e82b4 Minor 2016-08-16 17:38:16 +03:00
Valentin Kipyatkov 77064c7937 Fixed bug with user data not cleared 2016-08-16 17:38:16 +03:00
Valentin Kipyatkov f4a04f04f0 Minor 2016-08-16 17:38:16 +03:00
Valentin Kipyatkov c753e332ed More clear code 2016-08-16 17:38:16 +03:00
Valentin Kipyatkov 1fece52170 Typo correction 2016-08-16 17:38:15 +03:00
Valentin Kipyatkov 128896fa43 Formatting of "?:" onto the next line 2016-08-16 17:38:15 +03:00
Valentin Kipyatkov 9890cebfd9 Code refactoring 2016-08-16 17:38:15 +03:00
Valentin Kipyatkov c9fa95927b Added comments 2016-08-16 17:38:15 +03:00
Valentin Kipyatkov dd50f55415 Removed warnings 2016-08-16 17:38:14 +03:00
Valentin Kipyatkov 7c0f9a76a8 Added one more test 2016-08-16 17:38:14 +03:00
Valentin Kipyatkov e5903f90f2 Added test and asserts 2016-08-16 17:38:14 +03:00
Valentin Kipyatkov 8b4f8e8359 Corrected test data after rebase on master 2016-08-16 17:38:14 +03:00
Valentin Kipyatkov da772e11c2 Minor changes on code review 2016-08-16 17:38:13 +03:00
Valentin Kipyatkov d658d3b9cf "Use withIndex()" intention&inspection 2016-08-16 17:38:13 +03:00
Valentin Kipyatkov 46055dfd2d Refactoring 2016-08-16 17:38:13 +03:00
Valentin Kipyatkov ebdff775f3 Supported index++ pattern as non-last statement and even inside expressions 2016-08-16 17:38:13 +03:00
Valentin Kipyatkov 2c90114d28 Added TODO 2016-08-16 17:38:12 +03:00
Valentin Kipyatkov 4094d77782 Supported forEachIndexed 2016-08-16 17:38:12 +03:00
Valentin Kipyatkov f28dca1fd5 Supported forEach 2016-08-16 17:38:12 +03:00