Commit Graph

21907 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 9a4fbd35bd Supported Kotlin usages of Java class in automatic variable renamer. 2015-04-22 11:33:28 +03:00
Evgeny Gerashchenko a9f9ca4ccb Supported Java usages in automatic variable renamer. 2015-04-22 11:33:27 +03:00
Evgeny Gerashchenko 3897548204 Minor. More post-conversion code cleanup. 2015-04-22 11:33:27 +03:00
Evgeny Gerashchenko f7f90c8592 Minor. Renamed misleading function. 2015-04-22 11:33:27 +03:00
Evgeny Gerashchenko 5eadf4db17 Minor. Moved stuff from companion object to top-level. 2015-04-22 11:33:26 +03:00
Evgeny Gerashchenko 11020cacfd Renamed JetLineMarkerProvider to KotlinLineMarkerProvider. 2015-04-22 11:33:26 +03:00
Evgeny Gerashchenko 04e438f4f8 Post-conversion code cleanup. 2015-04-22 11:33:26 +03:00
Evgeny Gerashchenko 94311f262b Moved JetLineMarkerProvider. 2015-04-22 11:33:26 +03:00
Evgeny Gerashchenko de9b26ac77 Convert JetLineMakerProvider to Kotlin. Auto-convert. 2015-04-22 11:33:25 +03:00
Evgeny Gerashchenko 09cff44207 Automatic renaming overloads in class or object.
#KT-4642 fixed
2015-04-22 11:33:25 +03:00
Evgeny Gerashchenko d383e03a81 Automatic renaming top-level overloads.
#KT-4642 in progress
2015-04-22 11:33:25 +03:00
Evgeny Gerashchenko 8fe3a1d366 Added test for inheritor renamer (Kotlin subclasses of Java class). 2015-04-22 11:33:25 +03:00
Evgeny Gerashchenko e1f6dfa52d EA-67458 - assert: UnusedSymbolInspection.hasNonTrivialUsages 2015-04-22 11:32:17 +03:00
Natalia Ukhorskaya 74e68950f9 Evaluate expression: support inline functions from source code 2015-04-22 10:56:39 +03:00
Natalia Ukhorskaya 9f2955c434 Minor: move methods 2015-04-22 10:35:22 +03:00
Natalia Ukhorskaya 50ad0af399 KotlinBytecodeToolWindow: analyze inline functions from multi declarations and from iterator call in for 2015-04-22 10:35:21 +03:00
Natalia Ukhorskaya 6a7bf4808d Minor: extract function 2015-04-22 10:35:20 +03:00
Natalia Ukhorskaya 715b9ad859 Collect inline functions using visitor 2015-04-22 10:35:20 +03:00
Natalia Ukhorskaya f936689db3 Add test for KotlinBytecodeToolWindow 2015-04-22 10:35:19 +03:00
Natalia Ukhorskaya 907f0db7be Do not include files that contains only top level classes or objects to LightClassForPackage 2015-04-22 10:35:18 +03:00
Natalia Ukhorskaya f575890732 Change J2K API for Web Demo 2015-04-22 10:35:17 +03:00
Ilya Gorbunov 9ed2cb3858 Provide zip() and merge() overloads for primitive arrays with themselves.
Better predicting size of resulting list of plus() operation.
#KT-4968 Fixed
2015-04-22 03:19:30 +03:00
Ilya Gorbunov be11394adf Rename copyToArray() to toTypedArray(). 2015-04-21 21:27:28 +03:00
Ilya Gorbunov 5eb3c0bb5e Rename *array() factory methods to *arrayOf(). 2015-04-21 21:27:26 +03:00
Ilya Gorbunov 58310d172f Deprecate sequence implementations in favor of sequence operations. 2015-04-21 21:27:24 +03:00
Ilya Gorbunov b2b98502e9 Deprecate Int.latch and Int.indices extensions. 2015-04-21 21:27:22 +03:00
asedunov e9fe91ad2e Merge pull request #646 from JetBrains/rr/yole/kt2016
Find Usages: Provide element description for HighlightUsagesDescriptionLocation
2015-04-21 20:10:45 +03:00
Dmitry Jemerov 05c17a11c6 provide element description for HighlightUsagesDescriptionLocation
#KT-2016 Fixed
2015-04-21 18:45:33 +02:00
Alexey Sedunov d815634233 Control-Flow: Assign pseudo-values to local functions (except those
declared directly in the block)
2015-04-21 17:10:46 +03:00
Alexey Sedunov 5b1906fb13 Control-Flow: Add tests for pseudo-values of labeled expressions 2015-04-21 17:10:45 +03:00
asedunov 417611e2be Merge pull request #644 from JetBrains/rr/yole/kt6669
Override/Implement Members: Escape identifiers in generated super method call
2015-04-21 16:42:23 +03:00
Dmitry Jemerov 3e8f163f1e don't complete KDoc tag names if we have a non-empty prefix which is not a tag name
#KT-7476 Fixed
2015-04-21 15:37:32 +02:00
Dmitry Jemerov efa41bfb2a support quick doc for completion items
#KT-4346 Fixed
2015-04-21 15:36:38 +02:00
Dmitry Jemerov eeb2728b7e show "defined in" for declarations in quick doc popup
#KT-7320 Fixed
2015-04-21 15:36:37 +02:00
Dmitry Jemerov 0c6cd3b422 KotlinQuickDocumentationProvider: cleanup after J2K done 2015-04-21 15:36:36 +02:00
Dmitry Jemerov a13e38578a KotlinQuickDocumentationProvider: cleanup after conversion 2015-04-21 15:36:36 +02:00
Dmitry Jemerov b1b138b424 KotlinQuickDocumentationProvider: J2K 2015-04-21 15:36:35 +02:00
Dmitry Jemerov 3d21824929 JetQuickDocumentationProvider: rename to .kt 2015-04-21 15:36:35 +02:00
Mikhail Glukhikh e64dab0ae9 Review fixes after automatic code analysis 2015-04-21 15:29:34 +03:00
Mikhail Glukhikh 27625b04e1 Refactoring of JetTypeInfo / BindingContext. Loop data flow analysis corrected.
Now BindingContext includes expression type info instead of jump out possible, data flow info and expression type.
getType() was added into BindingContext, getType() and recordType() were added into BindingTrace.
JetTypeInfo now includes also jump possible flag and jump point data flow info.
Old TypeInfoWithJumpInfo deleted.
TypeInfoFactory introduced to create JetTypeInfo instances.
A pack of extra tests for break / continue in loops added.
2015-04-21 15:29:07 +03:00
Dmitry Jemerov 14b92404cd add test for private-to-this visibility in traits 2015-04-21 14:13:30 +02:00
Dmitry Jemerov 8d922dda4d private members of traits are not open by default
#KT-4171 Fixed
2015-04-21 14:13:29 +02:00
Denis Zharkov 036f31f36b j2k: Generate class literals in throws 2015-04-21 08:08:32 +03:00
Denis Zharkov 5ce4f4cad1 Temporary comment out throws usage in code
Until new `throws` will be in bootstrap
2015-04-21 08:08:31 +03:00
Denis Zharkov 6ef2340eb5 Migrate type of throws parameter to KClass
Change declaration, testData and codegen parts for `throws`
2015-04-21 08:08:31 +03:00
Denis Zharkov e1dfdc582d Minor. Drop trivial override 2015-04-21 08:08:31 +03:00
Denis Zharkov 8d7aa3fdcd Drop throws usages with changes in Java code 2015-04-21 08:08:31 +03:00
Denis Zharkov 5b9aff12d0 Drop throws usages that looks redundant
Probably appeared after j2k-conversion
2015-04-21 08:08:31 +03:00
Alexander Udalov 6f8694976d Fix test data 2015-04-20 23:30:05 +03:00
Michael Nedzelsky d0616ed8bd fix KT-7512 JS: project with external library lead to deadlock and IDEA freeze due to wrong storage manager configured
#KT-7512 Fixed
2015-04-20 21:02:01 +03:00