Commit Graph

17471 Commits

Author SHA1 Message Date
Ilya Ryzhenkov 4cdcadef9f Add 6 standard charsets. 2014-09-26 01:55:06 +04:00
Ilya Ryzhenkov ea8977c5b5 Minor: code formatting 2014-09-26 01:55:05 +04:00
Ilya Ryzhenkov 3e4cc87c87 Add more tests on streams and move relevant code from old iterators tests. 2014-09-26 01:33:51 +04:00
Ilya Ryzhenkov c5c1ecf6c0 Improve Streams implementation for performance and validity (based on JMH research) 2014-09-26 01:33:51 +04:00
Zalim Bashorov 5a5c4145f2 JS backend: added tests for reserved words. 2014-09-26 00:57:09 +04:00
Zalim Bashorov e91e724469 JS backend: mangling JS reserved words. 2014-09-26 00:57:09 +04:00
Zalim Bashorov ef60a7f776 JS backend: fixed crash when use lambda or local function inside enum method. 2014-09-26 00:57:09 +04:00
Ilya Ryzhenkov 878ebb9575 Add ProGuard exceptions for dokka using Grammar-Kit. 2014-09-25 21:38:32 +04:00
Evgeny Gerashchenko d44926ffde Made some navigation tests independent on stdlib. 2014-09-25 17:38:15 +04:00
Alexander Udalov e53aca5496 Minor, fix warnings and formatting 2014-09-25 17:14:59 +04:00
Denis Zharkov de6a5dd6dc fix KT-5866. Moved classes into inlines package
Also copy-pasted static-initializer of asm.Frame.OPCODES
 because it package-protected
2014-09-25 17:14:59 +04:00
valentin 6e7e13d320 Fixed KT-5826 Keyword completion shouldn't kick in in comments
#KT-5826 Fixed
2014-09-25 17:10:28 +04:00
valentin b4909cc849 Smart completion: item preference by name works for more cases 2014-09-25 17:10:27 +04:00
Valentin Kipyatkov 0462d152eb Smart completion: prefer items matching by name 2014-09-25 17:10:27 +04:00
Valentin Kipyatkov 56978c4e16 Dropped unused file 2014-09-25 17:10:26 +04:00
Valentin Kipyatkov 7d6542854b Minor code refactoring 2014-09-25 17:10:26 +04:00
Valentin Kipyatkov f4924299dd Extract method 2014-09-25 17:10:26 +04:00
Valentin Kipyatkov 19fb090f28 Do not autopopup completion in name of generic function or property too 2014-09-25 17:10:25 +04:00
Valentin Kipyatkov e6ea0537c8 More correct completion testing + fixed small bug in keyword completion 2014-09-25 17:10:25 +04:00
Valentin Kipyatkov afbd1aeffc KT-4027 No type name completion in an incomplete generic extension function declaration
KT-2940 No completion in the receiver type argument position

 #KT-4027 Fixed
 #KT-2940 Fixed
2014-09-25 17:10:24 +04:00
Valentin Kipyatkov 93d8791df1 No completion auto-popup after dot in float literal (but one test start to fail!) 2014-09-25 17:10:24 +04:00
Valentin Kipyatkov 3fcf0f7340 Fixed KT-5808 Code completion auto-popup does not appear after typing "?."
#KT-5808 Fixed
2014-09-25 17:10:24 +04:00
Valentin Kipyatkov 94c9338e3c Fixed KT-3807 Wrong completion for class/trait with extesion function
#KT-3807 Fixed
2014-09-25 17:10:23 +04:00
Valentin Kipyatkov e30998d3c1 Moved an utility method 2014-09-25 17:10:23 +04:00
Valentin Kipyatkov 7df65d595c Infix calls supported in smart completion too 2014-09-25 17:10:22 +04:00
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