Commit Graph

19845 Commits

Author SHA1 Message Date
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
Valentin Kipyatkov eed0def1cb Completion auto-popup works at the start of function literal 2015-01-14 20:57:28 +03:00
Valentin Kipyatkov dc1d06db9c Do not select item by typing dot only for auto-popup completion 2015-01-14 20:57:28 +03:00
Valentin Kipyatkov 9e526fca58 Completion for "file" keyword in annotations 2015-01-14 20:57:28 +03:00
Valentin Kipyatkov fde1890de9 More tests
#KT-1670 Fixed
 #KT-2690 Fixed
2015-01-14 20:57:27 +03:00
Valentin Kipyatkov ec1541a692 No completion auto-popup where parameter name can be 2015-01-14 20:57:27 +03:00
Valentin Kipyatkov 000cde3f7f KT-6225 Completion of annotations for method parameters
#KT-6225 Fixed
2015-01-14 20:57:27 +03:00
Dmitry Jemerov 95d29e0f8a Merge pull request #546 from JetBrains/rr/coverage-test-fix
fix code coverage test to match the new implementation logic
2015-01-14 17:15:34 +01:00
Dmitry Jemerov 548b52d529 don't store .class files in testdata 2015-01-14 14:49:07 +01:00
Nikolay Krasko 25794beb56 Refactoring: extract macrodef 2015-01-14 16:22:56 +03:00
Evgeny Gerashchenko 23f2e08f0c Minor. Simplified code after review. 2015-01-14 15:48:51 +03:00
Evgeny Gerashchenko b6dffb8f0b Added test with class used only in import. 2015-01-14 15:48:50 +03:00
Evgeny Gerashchenko f7553bafa9 Split method. 2015-01-14 15:48:50 +03:00
Evgeny Gerashchenko 2d4e0be076 Added test with class referred in XML. 2015-01-14 15:48:49 +03:00
Evgeny Gerashchenko 47ae2364f3 JetLanguage says that it is case-sensitive language now.
Otherwise redundant fake usages may be processed when searching usages of Kotlin symbols.
2015-01-14 15:48:49 +03:00