Commit Graph

18181 Commits

Author SHA1 Message Date
Nikolay Krasko 0862eead00 Rename file: JetCodeBlockModificationListener -> KotlinCodeBlockModificationListener 2014-10-22 18:18:07 +04:00
Nikolay Krasko 474bc536d6 Rewrite to Kotlin: JetCodeBlockModificationListener 2014-10-22 18:18:07 +04:00
Nikolay Krasko 7b3d96e9e9 Rewrite to Kotlin: rename file 2014-10-22 18:18:06 +04:00
Nikolay Krasko 6b605ec4f9 Rewrite to kotlin: JetModifiableBlockHelper 2014-10-22 18:18:05 +04:00
Nikolay Krasko 565612bc19 Take all responsibility for updating trackers, stop delegating it to Java-plugin code 2014-10-22 18:18:05 +04:00
Nikolay Krasko a988415e22 Add file text to assert message 2014-10-22 18:18:04 +04:00
Nikolay Krasko 0844a11549 Make out-of-block test functional 2014-10-22 18:18:03 +04:00
Nikolay Krasko b58c5f7df4 Don't spam warning when file is empty
IDEA produces such files when class file had been removed from jar but indexes haven't been not fully reconstructed yet.
2014-10-22 18:18:03 +04:00
Natalia Ukhorskaya 40bb8968cc Run J2KConverter tests in webDemo mode 2014-10-22 17:30:48 +04:00
Natalia Ukhorskaya 9e19546ba8 J2K: add default implementation for NullableNotNullManager 2014-10-22 17:30:47 +04:00
Valentin Kipyatkov 82d5e044c7 Corrected test 2014-10-22 17:08:43 +04:00
Valentin Kipyatkov 34d4477a12 Dropped test that cannot work anymore 2014-10-22 17:05:49 +04:00
Valentin Kipyatkov 23c5ad78b5 Regenerated tests 2014-10-22 15:51:28 +04:00
Valentin Kipyatkov dcfeb5829a Minor 2014-10-22 15:49:13 +04:00
Valentin Kipyatkov 0384e3d323 No filtering by visibility filter twice 2014-10-22 15:49:13 +04:00
Valentin Kipyatkov 1f548875c6 Hopefully fixed KT-4339 Auto-import suggestion doesn't go away for a long time
#KT-4339 Fixed
2014-10-22 15:49:13 +04:00
Valentin Kipyatkov 762dc31e98 More consistent API in psi 2014-10-22 15:49:13 +04:00
Valentin Kipyatkov 4fd417d419 Fixing code completion in function literal parameters
#KT-4047 Fixed
 #KT-5877 Fixed
2014-10-22 15:49:12 +04:00
Valentin Kipyatkov 59b66e7579 Fixed KT-6074 Package facade classes are shown in completion in kotlin files
#KT-6074 Fixed
2014-10-22 15:48:53 +04:00
Valentin Kipyatkov d8dbc46867 Fixed KT-6075 Qualified name inserted when completing class with class object
#KT-6075 Fixed
2014-10-22 15:48:35 +04:00
Valentin Kipyatkov 3a2a7427e7 Fixed caret position for KT-5906 Smart completion of anonymous object should preselect single method body
#KT-5906 Fixed
2014-10-22 15:48:34 +04:00
Valentin Kipyatkov 7f55c0626f Fixed KT-6033 Smart completion: wrong replacement range by Tab for item with all arguments at once
#KT-6033 Fixed
2014-10-22 15:48:34 +04:00
Valentin Kipyatkov a84488f59a Fixed KT-5985 Smart completion does not insert comma for constructor of nested data class
#KT-5985 Fixed
2014-10-22 15:48:17 +04:00
Valentin Kipyatkov f64f08c9b6 Checked that KT-5984 has been fixed already 2014-10-22 15:48:00 +04:00
Valentin Kipyatkov af883d9165 Ordering items in smart completion for 'it' 2014-10-22 15:47:47 +04:00
Valentin Kipyatkov f5f5b514d4 Ordering items in smart completion for nullable 2014-10-22 15:47:33 +04:00
Valentin Kipyatkov 4068879d84 Ordering items in smart completion for boolean 2014-10-22 15:47:17 +04:00
Valentin Kipyatkov 9cf50154d2 Ordering items in smart completion for function type 2014-10-22 15:46:56 +04:00
Valentin Kipyatkov 65c30902e7 KT-6028 Smart completion items priority
#KT-6028 Fixed
2014-10-22 15:45:16 +04:00
Valentin Kipyatkov e6dbfac232 Fixed smart completion of functions with "::"
#KT-6073 Fixed
2014-10-22 15:42:36 +04:00
Valentin Kipyatkov f2a83cdf29 No need to filter by visibility in LookupElementsCollector anymore 2014-10-22 15:40:21 +04:00
Valentin Kipyatkov 042e446694 Refactored TipsManager to filter by visibility 2014-10-22 15:40:21 +04:00
Valentin Kipyatkov 13d9fd083c Auto-import fix also honors visibility 2014-10-22 15:40:20 +04:00
Valentin Kipyatkov 0a24dca821 Minor refactoring of KotlinIndicesHelper 2014-10-22 15:40:20 +04:00
Valentin Kipyatkov 1f632daf85 Code completion to filter out non-imported declarations by visibility 2014-10-22 15:40:20 +04:00
Valentin Kipyatkov b6d4de7046 Optimization in smart completion 2014-10-22 15:40:20 +04:00
Valentin Kipyatkov 86a9f47f6c Fixed KT-6056 Smart completion does not filter out inaccessible declarations
#KT-6056
2014-10-22 15:40:20 +04:00
Alexander Udalov fb5806f5fb Fix inheritance from mutable Java collections
Don't use CodegenUtil#getDeclaredFunctionByRawSignature because it's incorrect
in case of platform types. Instead use JetTypeMapper to find JVM signatures of
methods which are callable on the current class

 #KT-6042 Fixed
2014-10-22 10:51:14 +04:00
Alexander Udalov 07374b5638 Drop temporary hack, enums are comparable now 2014-10-22 10:49:33 +04:00
Alexander Udalov 23c1eea7d8 Disable codegen test on Android
Can't import from enum there because a package directive is appended to the
beginning of the file in Android tests, invalidating import statements
2014-10-22 10:42:24 +04:00
Natalia Ukhorskaya 7200f3cf31 Merge pull request #521 from ronshapiro/patch-1
Correct Android variant compile task name
2014-10-22 10:30:22 +04:00
Andrey Breslav 7ed7f020d3 Generation of ++ and += fixed for platform types 2014-10-22 00:41:20 +04:00
Andrey Breslav d28c96837e Compilation errors fixed 2014-10-22 00:41:20 +04:00
Andrey Breslav a14eefcea3 KT-6077 Compiler does not issue error on unsafe access to ArrayList with nullable values
#KT-6077 Fixed
2014-10-22 00:41:20 +04:00
Andrey Breslav 7b89771953 KT-6059 Regression: irrelevant compiler error on trait inheritance (worked in M8)
#KT-6059 Fixed
2014-10-22 00:41:19 +04:00
Andrey Breslav d9f5bd013b Clean up declarations of runReadAction() etc 2014-10-22 00:41:19 +04:00
Andrey Breslav 9bd3ac26e3 toString() for easier debugging 2014-10-22 00:41:19 +04:00
Andrey Breslav b5f89c661a DescriptorRenderer can now render flexible types for code (i.e. ft<L, U>) 2014-10-22 00:41:19 +04:00
Andrey Breslav 0e42de4e99 CHECK_TYPES injected through imports 2014-10-22 00:41:19 +04:00
Andrey Breslav 71d9ad5e8b Removing the static import that caused exception on compilation 2014-10-22 00:41:18 +04:00