Valentin Kipyatkov
2bb553612c
Dealing with infix calls in completion
...
#KT-4846 Fixed
2014-09-25 17:10:22 +04:00
Valentin Kipyatkov
9961a5ff16
Minor
2014-09-25 17:10:21 +04:00
Valentin Kipyatkov
16809bc1c6
Minor
2014-09-25 17:10:21 +04:00
Valentin Kipyatkov
427b3c80bc
Filtered out incorrect suggestion of extension methods in smart completion
2014-09-25 17:10:21 +04:00
Valentin Kipyatkov
f43a9968ba
Minor code refactorings in TipsManager
2014-09-25 17:10:20 +04:00
Valentin Kipyatkov
726f49b3f8
Converted TipsManager to Kotlin
2014-09-25 17:10:20 +04:00
Valentin Kipyatkov
34aada75eb
Fixed KT-5795 Do not suggest member extension functions with wrong implicit reciever
...
#KT-5795 Fixed
2014-09-25 17:10:19 +04:00
Michael Nedzelsky
6ed57f5e7a
JS backend: fix KT-5221 Invalid JS code generated for dec() and inc()
...
#KT-5221 Fixed
2014-09-25 15:12:44 +04:00
max-kammerer
86d598677d
Merge pull request #506 from bintree/max-stack-calc-refining
...
Refining calculation of max stack size. #KT-5548 Fixed
2014-09-25 10:00:37 +04:00
Natalia Ukhorskaya
0dfc793a45
Merge pull request #515 from dmekhanikov/master
...
Introduce propertyDelegated method in delegates
2014-09-24 18:50:56 +04:00
Denis Zharkov
7de406991a
Refining conditions if method can be optimized
2014-09-24 18:04:33 +04:00
Denis Zharkov
e32f307960
Refining calculation of max stack size. #KT-5548 Fixed
...
It used for inline and optimization
Added new MethodVisitor's decorator within objectweb.asm package because
there are a lot of usages of package-protected members
Large portion of MaxStackFrameSizeCalculator is carefully copy-pasted from
MethodWriter parts that are relevant to max stack size calculation
2014-09-24 18:04:33 +04:00
Ilya Ryzhenkov
c074b4317e
Cleanup concurrent
2014-09-24 17:39:47 +04:00
Ilya Ryzhenkov
3ab1901f06
Rename Serializable test file
2014-09-24 17:39:47 +04:00
Ilya Ryzhenkov
7b77229638
Cleanup Serializable test
2014-09-24 17:39:47 +04:00
Ilya Ryzhenkov
a6d2624807
Cleanup test helpers.
2014-09-24 17:39:47 +04:00
Ilya Ryzhenkov
f2b9b370e1
Clean Dom and Dom tests.
2014-09-24 17:39:46 +04:00
Michael Bogdanov
cde74504d4
Test for obsolete kt5307
2014-09-24 17:12:27 +04:00
Evgeny Gerashchenko
cb58d19e29
Minor. Clarified "compiled file" as "file to compile".
2014-09-24 16:31:48 +04:00
Evgeny Gerashchenko
060796997e
Fixed clearing incremental cache for removed source files.
...
For writing system-dependent paths were used, for deleting were system-independent. That's why cache was not cleared on Windows.
2014-09-24 16:31:48 +04:00
Evgeny Gerashchenko
f9b33c4137
Fixed opening file and not closing it.
...
This led to impossibility to delete file during incremental compilation.
2014-09-24 16:31:47 +04:00
Evgeny Gerashchenko
b435904d7f
Fix: not loading ancestor packages from incremental cache.
2014-09-24 16:31:47 +04:00
Evgeny Gerashchenko
9af1c3e4dc
Added automatic backup for debugging incremental compilation.
2014-09-24 16:31:47 +04:00
Denis Zharkov
36b50a25f9
Changed generating logic for named functions
...
Generate it as a sequence of statements when it's possible
2014-09-24 15:59:49 +04:00
Denis Zharkov
78cde5c740
Generate blocks-statements through CodegenStatementVisitor
2014-09-24 15:59:49 +04:00
Denis Zharkov
4ed744428b
Generate substatements as statements too
...
Preventing pushing on stack redundant Unit instances
#KT-5667 fixed
2014-09-24 15:51:43 +04:00
Denis Zharkov
081d2cf95c
Minor, extracted generateLoopBody
2014-09-24 15:51:43 +04:00
Denis Mekhanikov
c4bfa0edca
Introduce propertyDelegated method in delegates
2014-09-24 15:34:12 +04:00
Pavel V. Talanov
9e38d207f2
Add hack for failing js completion tests
2014-09-23 15:56:38 +04:00
Pavel V. Talanov
187a3f0b9f
Implement separate service which tracks modification in libraries
...
ProjectRootModificationTracker tracks root changes but not content modification
2014-09-23 15:56:38 +04:00
Pavel V. Talanov
8a5239f794
Correctly place decompiled kotlin files under LibrarySourceInfo
...
This check doesn't work for java (and other) decompiled sources, but we assume that we never deal with them in this code
2014-09-23 15:56:37 +04:00
Pavel V. Talanov
8a44325327
Log when libraries cache is dropped because of ProcessCanceledException
...
Hope it can give insight on how often this happens
2014-09-23 15:56:37 +04:00
Pavel V. Talanov
8d89ac897a
Create composite exception tracker when delegating ModuleResolverProvider
...
Avoid dropping delegate caches when exception (i.e. ProcessCancelled) is thrown in delegating provider
2014-09-23 15:56:36 +04:00
Pavel V. Talanov
68201c3e86
Delegate to global cache when building ModuleResolverProvider for synthetic files
2014-09-23 15:56:36 +04:00
Pavel V. Talanov
5847c3559b
Implement ModuleSourceInfo.getDependentModules()
2014-09-23 15:56:35 +04:00
Pavel V. Talanov
bf546c83fb
Introduce ModuleSourceInfo
2014-09-23 15:56:35 +04:00
Pavel V. Talanov
fe136b500a
Libraries cache drops only on roots change
2014-09-23 15:56:34 +04:00
Pavel V. Talanov
67c9a2323c
Synthetic files cache delegates to libraries cache
2014-09-23 15:56:34 +04:00
Pavel V. Talanov
8368689af8
Split global cache in KotlinCacheService into separate caches for libraries and for modules
2014-09-23 15:56:33 +04:00
Pavel V. Talanov
faa9f4bb14
Reuse both storage manager and exception tracker when delegating to ModuleResolverProvider
2014-09-23 15:56:33 +04:00
Pavel V. Talanov
c0657320f5
Allow to provide delegate ModuleResolverProvider when computing resolve sessions for bodies
2014-09-23 15:56:32 +04:00
Pavel V. Talanov
ec02734a30
Minor: extract property in KotlinResolveCache
2014-09-23 15:56:32 +04:00
Pavel V. Talanov
563119ffc7
Minor: fix typo in file name
2014-09-23 15:56:31 +04:00
Pavel V. Talanov
bb87377457
Allow to provide precomputed analyzers when creating ResolverForProject
2014-09-23 15:56:31 +04:00
Michael Nedzelsky
e6a17cbd78
JS backend: tests for KT-5772
2014-09-23 14:50:20 +04:00
Michael Nedzelsky
bdca7e0e37
JS backend: fix KT-5772 wrong code generated when <,<=,>,>= are used with explicit Comparable type
...
#KT-5772 Fixed
2014-09-23 14:50:17 +04:00
Michael Nedzelsky
1d71016097
JS backend: refactoring support for binary intrinsic operations
2014-09-23 14:50:15 +04:00
Michael Nedzelsky
07a4d0e77e
JS backend: convert NumberConversionFIF to Kotlin
2014-09-23 14:50:13 +04:00
Michael Nedzelsky
32f391aa51
JS backend: minor improve in NamePredicate: replace list with set
2014-09-23 14:50:09 +04:00
Alexey Sedunov
a48fbacbd9
Minor: Fix warnings
2014-09-23 12:50:48 +04:00