Commit Graph

27817 Commits

Author SHA1 Message Date
Valentin Kipyatkov 63b5966212 Top-level callables are added one by one 2015-11-09 15:37:47 +03:00
Valentin Kipyatkov 5d56339aba More efficient getting of top-level callables 2015-11-09 15:37:47 +03:00
Valentin Kipyatkov ae9482a36c Add static members into the list one by one 2015-11-09 15:37:47 +03:00
Valentin Kipyatkov c38039144f Added checkCanceled 2015-11-09 15:37:47 +03:00
Valentin Kipyatkov 10e8455279 More safe 2015-11-09 15:37:46 +03:00
Valentin Kipyatkov 4da6a3cd50 No members from anonymous objects etc 2015-11-09 15:37:46 +03:00
Valentin Kipyatkov 97ca5f0389 Refactored 2015-11-09 15:37:46 +03:00
Valentin Kipyatkov 0ac60701fc Reused code 2015-11-09 15:37:46 +03:00
Valentin Kipyatkov 0c93ff5f1d Moved method 2015-11-09 15:37:46 +03:00
Valentin Kipyatkov 55612757cf More correct API 2015-11-09 15:37:46 +03:00
Valentin Kipyatkov 3cda866af0 Static members completion works in smart completion + fixed incorrect finding of java method descriptor that caused duplicated items 2015-11-09 15:37:45 +03:00
Valentin Kipyatkov 1283f5f4e1 Refactoring in smart completion 2015-11-09 15:37:45 +03:00
Valentin Kipyatkov 576b79de0a Removed unused parameter 2015-11-09 15:37:45 +03:00
Valentin Kipyatkov 4a182ac6e2 Fixing class names after rebase 2015-11-09 15:37:45 +03:00
Valentin Kipyatkov 7198b897ab Ordering of static members in completion 2015-11-09 15:37:45 +03:00
Valentin Kipyatkov 3bd508ca84 Static members completion includes SAM-adapters 2015-11-09 15:37:44 +03:00
Valentin Kipyatkov ea804ed76e Makes no sense to return method names from PsiShortNamesCache if methods by name are not returned 2015-11-09 15:37:44 +03:00
Valentin Kipyatkov 06812aed11 Better completion for static members: special behavior in case of imports from same class exist 2015-11-09 15:37:44 +03:00
Valentin Kipyatkov ca437e51c4 Initial implementation of KT-8209 Support static member completion without writing the class name 2015-11-09 15:37:44 +03:00
Nikolay Krasko 7be9699263 Make it possible to generate getTestsRoot() method with the test directory
Method can be used in setUp()
2015-11-07 01:27:35 +03:00
Nikolay Krasko 178aba54dd Test it's safe to call PsiElement methods on Kotlin light elements 2015-11-07 01:27:34 +03:00
Alexey Tsvetkov 7c752c1463 Minor: generate tests 2015-11-06 20:29:31 +03:00
Alexey Tsvetkov 8f43714c49 Fix minor issues after review 2015-11-06 16:46:40 +03:00
Alexey Tsvetkov 7d104d02dd Generate tests 2015-11-06 16:44:52 +03:00
Alexey Tsvetkov ce7d1eb8e2 Add incremental compilation tests with lookup cache enabled 2015-11-06 16:44:52 +03:00
Alexey Tsvetkov a3aa91551c Extract LookupStorage from LookupTrackerImpl 2015-11-06 16:44:52 +03:00
Alexey Tsvetkov 8b4d0ea077 Minor: rename file LookupTrackerImpl.kt -> LookupStorage.kt 2015-11-06 16:44:52 +03:00
Alexey Tsvetkov 322815c7de Fix minor naming/formatting issues after review 2015-11-06 16:44:51 +03:00
Alexey Tsvetkov 67878fe13a Use new lookup tracker only when experimental incremental compilation is enabled 2015-11-06 16:44:51 +03:00
Alexey Tsvetkov 7ebc58c690 Hash files without collisions 2015-11-06 16:44:51 +03:00
Alexey Tsvetkov 7572fb47d3 Remove entries when files are removed 2015-11-06 16:44:51 +03:00
Alexey Tsvetkov 87d836cd67 Hash file names 2015-11-06 16:44:51 +03:00
Alexey Tsvetkov 2160948980 Move BasicMapsOwner 2015-11-06 16:44:51 +03:00
Alexey Tsvetkov dae5b8e39e Move all incremental cache value/externalizing types to corresponding files 2015-11-06 16:44:51 +03:00
Alexey Tsvetkov 9564a7a828 Extract BasicMapsOwner 2015-11-06 16:44:34 +03:00
Alexey Tsvetkov f6f300d903 Move LookupMap 2015-11-06 16:43:32 +03:00
Alexey Tsvetkov c9663340c9 Save lookups to incremental cache 2015-11-06 16:43:32 +03:00
Mikhail Glukhikh 873550b0bb lateinit setter now must have the same visibility as its property visibility 2015-11-06 13:34:00 +03:00
Michael Bogdanov 9d3fa7da80 Test for obsolete KT-8189: java.lang.UnsupportedOperationException: Don't know how to generate
#KT-8189 Obsolete
2015-11-06 12:17:07 +03:00
Michael Bogdanov 0619ef47ac Fix for KT-9877: CompilationError: Cannot pop operand of empty stack
#KT-9877 Fixed
2015-11-06 11:46:13 +03:00
Michael Bogdanov 4d77181692 Fix for KT-9855: java.lang.IllegalAccessError when using private package level operator method
#KT-9855 Fixed
2015-11-06 11:46:12 +03:00
Michael Bogdanov bd2b01ac1c Fix for KT-5150: Accessors for private methods are not generated for get/set conventions
#KT-5150 Fixed
2015-11-06 11:46:12 +03:00
Michael Bogdanov 0fcaaa80df Fix for KT-9140: Default parameters are passed as nulls when using indexing [ ] invocation
#KT-9140 Fixed
2015-11-06 11:46:11 +03:00
Mikhail Glukhikh b556037915 Smart casts to nothing after comparison with null 2015-11-06 10:57:06 +03:00
Michael Nedzelsky 981d471ebe fix KT-9843 Bug in incremental compilation: module is not recompiled when optional parameter added
and KT-8434 Removing parameter with default value from function in different module breaks incremental compilation

#KT-9843 Fixed

#KT-8434 Fixed
2015-11-06 07:45:46 +03:00
Michael Nedzelsky 3dbb117598 fix KT-7042 Providing return type for property setter is not reported as error
#KT-7042 Fixed
2015-11-06 06:32:20 +03:00
Michael Nedzelsky e6a2bd05d4 fix KT-9652 Warning to specify expected type as Any? when it is already Any?
#KT-9652 Fixed
2015-11-06 06:32:07 +03:00
Michael Nedzelsky c318a13e6c Error on using extension function type as an upper bound 2015-11-06 06:31:52 +03:00
Ilya Gorbunov ee46ec1126 Drop deprecated threading extensions. 2015-11-06 01:12:11 +03:00
Ilya Gorbunov 850c1518c8 Fix Delegates.lazy usages in testData 2015-11-06 01:12:09 +03:00