Ilya Ryzhenkov
95d4accda7
stdlib: add flatten()
2015-01-20 22:39:24 +03:00
Ilya Ryzhenkov
1d4591d99c
stdlib: add sumBy(function)
2015-01-20 22:39:23 +03:00
Ilya Ryzhenkov
4ee64d7283
Covering stdlib with tests.
2015-01-20 22:37:16 +03:00
Ilya Ryzhenkov
c3eaf1b869
Fix return type of linkedHashSetOf to be more specific.
2015-01-20 22:37:16 +03:00
Ilya Ryzhenkov
9b04f57a25
Collection tests: format and fix usages of deprecated symbols.
2015-01-20 22:37:15 +03:00
Evgeny Gerashchenko
5a77a70710
Merge pull request #551 from JetBrains/delete-operation-mode-provider
...
delete unused OperationModeProvider class
2015-01-20 22:52:33 +04:00
Dmitry Jemerov
431cdd2245
delete unused OperationModeProvider class
2015-01-20 19:51:24 +01:00
Alexander Udalov
ae6ffeb88a
Skip inlined lambdas when determining EnclosingMethod
...
#KT-6368 Fixed
2015-01-20 21:02:57 +03:00
Alexander Udalov
20dc3438a2
Fix generation of InnerClasses/EnclosingMethod attributes
...
Generate InnerClasses for each outer class and each direct inner class in all
inheritors of MemberCodegen, i.e. for classes, objects, lambdas, local classes,
etc.
Also skip lambdas which will be inlined when calculating outer class for
EnclosingMethod
#KT-5447 Fixed
#KT-5478 Fixed
2015-01-20 21:02:56 +03:00
Dmitry Jemerov
432bdcd0fc
Merge pull request #549 from JetBrains/rr/yole/kdoc-parser
...
Rr/yole/kdoc parser
2015-01-20 18:54:17 +01:00
Dmitry Jemerov
8217563aac
KDocTokens.START can't be the first token of a tag
2015-01-20 18:08:02 +01:00
Dmitry Jemerov
31f5441f6b
code review
2015-01-20 18:08:01 +01:00
Dmitry Jemerov
100b8c2c4d
Fix tests according to new PSI structure; move doc comment text calculation from JetQuickDocumentationProvider to KDocTag.getContent()
2015-01-20 18:07:18 +01:00
Dmitry Jemerov
c3a496b9a2
introduce the concept of sections
2015-01-20 18:00:17 +01:00
Dmitry Jemerov
f3763bc2b5
some initial PSI for KDoc; changed syntax of links (Markdown style single brackets instead of Wiki style double brackets)
2015-01-20 18:00:09 +01:00
Alexey Sedunov
b40e657180
Create from usage: Create constructor parameter by reference in delegation specifier
...
#KT-6601 Fixed
2015-01-19 20:58:55 +03:00
Alexey Sedunov
70b202dfa6
Extract Function: Do not extract extension receiver from 'implicit invoke'
...
call
#KT-6302 Fixed
2015-01-19 20:58:54 +03:00
Alexey Sedunov
d54b261c61
Extract Function: Fix 'this' label (extension case)
...
#KT-5456 Fixed
2015-01-19 20:58:53 +03:00
Alexey Sedunov
941e08b80f
Minor: Fix warnings
2015-01-19 20:58:52 +03:00
Alexey Sedunov
8d40ca1a74
Extract Function: Merge jumps with default exits if all exit points are equivalent
...
#KT-6598 Fixed
2015-01-19 20:58:51 +03:00
Alexey Sedunov
9278dee1a4
Pseudocode: Bind nondeterministic jump caused by local declaration to declaration iself instead of its parent element
...
#KT-6261 Fixed
#KT-6416 Fixed
2015-01-19 20:58:50 +03:00
Nikolay Krasko
81715d1fca
Don't pass message bus to avoid unnecessary registering
...
#KT-6640 Fixed
2015-01-19 20:26:01 +03:00
Andrey Breslav
35049de94e
Merge pull request #548 from JetBrains/remove-exPuzzlers
...
Remove outdated version of puzzlers from the Kotlin repository.
2015-01-19 18:01:32 +03:00
Dmitry Jemerov
2e01c3b90a
Remove outdated version of puzzlers from the Kotlin repository. An up-to-date version is available at https://github.com/kotlin-projects/ex-puzzlers
2015-01-19 15:58:33 +01:00
Evgeny Gerashchenko
c60797e306
Rebuilding dependants fully only when constants/inline functions changed. This is not 100% precise, but it is faster. It is a compromise until we implement preciser incremental compilation.
2015-01-19 15:36:57 +03:00
Evgeny Gerashchenko
72687758a5
Rebuilding dependent modules.
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko
00f2ba5124
Test with Java and Kotlin changed simultaneously.
2015-01-19 15:36:56 +03:00
Evgeny Gerashchenko
967f470b16
Added multi-module tests on incremental compilation.
...
Changing code wasn't required, Java's incremental caches were enough.
2015-01-19 15:36:55 +03:00
Alexander Udalov
baea660a0b
Rewrite hack in codegen for lambdas in anonymous object super calls
...
Synthetic ClassDescriptor created in codegen for lambdas and such should have
correct container, because it'll be used in generation of InnerClasses
2015-01-16 21:48:57 +03:00
Alexander Udalov
c23352d81b
Remove ParentCodegenAware
...
Inline its fields to subclasses, fix parent codegen nullability
2015-01-16 21:47:51 +03:00
Evgeny Gerashchenko
2b438a286f
Updated test data according to changes in IDEA.
2015-01-16 20:19:37 +03:00
Nikolay Krasko
bc9287b60f
Change description of 'iter' template to make it searchable by 'for' prefix
...
#KT-6603 Fixed
2015-01-15 20:35:39 +03:00
Pavel V. Talanov
2d68637fd9
ResolveElementCache: Use softly (not weakly) retained values
...
Fixes performance problems with long running searches analyzing function bodies several times
2015-01-15 19:54:25 +03:00
Alexey Sedunov
90e7d2151b
Create From Usage: Restrict type guess search scope to prevent performance problem with highlighting
2015-01-15 19:43:01 +03:00
Denis Zharkov
6f94ebb9d6
Refined redundant null check optimization
2015-01-15 15:13:05 +03:00
Denis Zharkov
5675d2b26b
Dead code elimination
...
#KT-6602 Fixed
#KT-6305 Fixed
#KT-5656 Fixed
2015-01-15 15:13:05 +03:00
Denis Zharkov
aecb925b7b
Refined skipping last goto when inlining try/catch/finally block
2015-01-15 15:13:05 +03:00
Denis Zharkov
5a0a05e5c7
Removed unused inline markers
2015-01-15 15:13:04 +03:00
Natalia Ukhorskaya
d2cf83902b
Debugger: do not evaluate calls on mouse cover when 'Value auto tooltip' switched on
2015-01-15 11:45:16 +03:00
Natalia Ukhorskaya
f5aefc96fb
Local variable shouldn't be visible in debugger before initialization
2015-01-15 11:45:15 +03:00
Alexey Tsvetkov
89f8442705
Fixed weird compilation issue by moving function to other package
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
ddcd2e7344
Regenerated injectors
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
c3dde69a7a
Minor in Frontend: Moved NeedSyntheticChecker to jvm frontend
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
17baee740b
Frontend: AdditionalCheckerProvider.Empty->AdditionalCheckerProvider.DefaultProvider
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
0344f467d5
Frontend: KotlinJsDeclarationCheckerProvider->KotlinJsCheckerProvider
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
491ac7db12
Frontend: JavaDeclarationCheckerProvider->KotlinJvmCheckerProvider
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
21e28fa866
Frontend: use AdditionalCheckerProvider instead of CallResolverExtensionProvider
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
597a191c84
Frontend: extracted InlineCallCheckerWrapper to create InlineCallCheckers during run
2015-01-14 21:49:52 +03:00
Alexey Tsvetkov
5e16516d8e
Frontend: CallResolverExtension->CallChecker
2015-01-14 21:49:52 +03:00
Valentin Kipyatkov
c915eb4eac
KT-6566 Generate Override/Implement method does not work for locally declared classes
...
#KT-6566 Fixed
2015-01-14 20:59:23 +03:00