Commit Graph

20762 Commits

Author SHA1 Message Date
Alexander Udalov 71a3f35b7e Rename LocalClassFinder -> DirectoryBasedClassFinder
It was never related to local classes
2015-03-07 02:30:28 +03:00
Alexander Udalov e136025ac5 Show "kotlin.Any" in decompiled text for local/anonymous types 2015-03-07 02:30:28 +03:00
Alexander Udalov 6287055475 J2K: convert array.length to array.size() 2015-03-07 02:29:13 +03:00
Valentin Kipyatkov 3e85b97e1a Completion after $ in string literal works correctly for classes and objects 2015-03-06 22:04:17 +03:00
Valentin Kipyatkov de7b4dc681 Surround with braces when completing backing field in string template 2015-03-06 22:04:17 +03:00
Valentin Kipyatkov 620fb8683b KT-6191 Support completion for backing field
#KT-6191 Fixed
2015-03-06 22:04:17 +03:00
Valentin Kipyatkov 86272621de More diagnostic 2015-03-06 22:04:16 +03:00
Valentin Kipyatkov efa83000a2 Use of substringBefore/After 2015-03-06 22:04:16 +03:00
Valentin Kipyatkov 2ef80d1b34 Completion after "this@" includes immediate this too
#KT-6836 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov ffff6226b0 KT-6608 Code completion does not work after $ in string literals
KT-5070 Add braces when complete function in string templates

 #KT-6608 Fixed
 #KT-5070 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov c44519fa4e More correct and simple finding of top-level callables 2015-03-06 22:04:16 +03:00
Valentin Kipyatkov 793be62a81 More clear naming 2015-03-06 22:04:16 +03:00
Valentin Kipyatkov 234555bb33 Fixed KT-6890 No autocomplete for receiver methods and properties in extension property
#KT-6890 Fixed
2015-03-06 22:04:16 +03:00
Valentin Kipyatkov c5d21e1f45 Fixed KT-6673 Completion: no properties from outside class inside anonymous object
#KT-6673 Fixed
2015-03-06 22:04:15 +03:00
Valentin Kipyatkov 5e66727ff6 Checked that KT-6623 has been fixed 2015-03-06 22:04:15 +03:00
Valentin Kipyatkov ffc55caadd Minor 2015-03-06 22:04:15 +03:00
Valentin Kipyatkov 114bfbb2ad Fixed bug with wrong completion in class declaration 2015-03-06 22:04:15 +03:00
Andrey Breslav dcfa77c77d completeAnalysisNeeded() removed 2015-03-06 21:59:05 +03:00
Andrey Breslav bbb59773aa filesToAnalyzeCompletely removed 2015-03-06 21:59:05 +03:00
Andrey Breslav 456bbb6b96 Logically missing method added 2015-03-06 21:59:05 +03:00
Andrey Breslav 1c8af2d2fe Rename. LocalClassDescriptorManager -> LocalClassDescriptorHolder 2015-03-06 21:59:04 +03:00
Andrey Breslav 253d76669d resolveMutableClassDescriptor() removed 2015-03-06 21:59:04 +03:00
Andrey Breslav b567356702 Unused code removed from TopDownAnalysisContext 2015-03-06 21:59:04 +03:00
Andrey Breslav 32a3b58f14 ScriptDescriptorImpl and related non-lazy code removed 2015-03-06 21:59:04 +03:00
Andrey Breslav 7d1a826778 Rename. LazinessToken -> TypeLazinessToken 2015-03-06 21:59:04 +03:00
Andrey Breslav 30a84a2bd8 Uneeded usages of LazinessToken.isLazy() are removed 2015-03-06 21:59:03 +03:00
Andrey Breslav d310b0c99d Got rid of the LAZY flag 2015-03-06 21:59:03 +03:00
Andrey Breslav d466533ef2 Missing test added 2015-03-06 21:59:03 +03:00
Alexey Tsvetkov d06b2f4d0a JS: do not inline safe calls
A temporary hack until js inliner learns how to decompose expressions
2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 843bc7956e JS: made JsPropertyInitializer fields not nullable 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 53dfd77d31 JS: added inline stdlib cases 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 38efec6886 JS: inline stdlib functions 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 47064ce03c JS: grouped all scope/name operations in JsParser 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov bb634c6365 JS: restore inline status for calls to functional arguments of inline function 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 889d39a43e JS: restore names that can be changed by minifier
For example, Kotlin object can be renamed in stdlib,
so when we inline stdlib function in context of other module
renamed Kotlin object reference does not exitst.
2015-03-06 21:36:19 +03:00
Alexey Tsvetkov d44da8e4d4 JS: parse function from js file 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov b280e891e9 JS: read compiled js modules 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov bfd82e2dd2 JS: save function descriptor for inline calls 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 083b506fe1 JS: test metadata generation 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov ded46843c2 JS: generate metadata for public inline functions 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 4efadb33fa JS: switched ClosureCompiler to whitespace level 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 25f6a4aa0a JS: added spread operator inline test case 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov ea0253770b JS: use generation for some tests 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 7a96ca1dfb JS: LibraryUtils refactoring 2015-03-06 21:36:18 +03:00
Michael Nedzelsky 6e3d751ee9 fix StaticContext: use module name from module descriptor 2015-03-06 21:36:18 +03:00
Nikolay Krasko 10e51db55b Merge pull request #592 from JetBrains/rr/yole/j2k-fix-join
J2K: fix incorrect join() in doc comment converter
2015-03-06 21:04:17 +03:00
Dmitry Jemerov 4caf77f571 J2K: fix incorrect join() in doc comment converter 2015-03-06 18:27:57 +01:00
Dmitry Jemerov 4181006e87 temporarily mute test to avoid bootstrapping issues (to be reenabled after a successful build in master) 2015-03-06 18:02:14 +01:00
Dmitry Jemerov 46dbf005df update testdata for the newly appeared Double.mod(Char) method 2015-03-06 18:02:13 +01:00
Dmitry Jemerov 1c426fada2 generate the code of Numbers.kt 2015-03-06 18:02:06 +01:00