Commit Graph

22291 Commits

Author SHA1 Message Date
Valentin Kipyatkov de8601bb5d Got rid of JetPsiFactory.createBinaryExpression 2015-05-14 01:00:24 +03:00
Valentin Kipyatkov b0aca040d8 "JetPsiFactory.createExpressionByPattern" and some usages of it 2015-05-14 01:00:24 +03:00
Valentin Kipyatkov 0a5951fcb9 Minor 2015-05-14 01:00:24 +03:00
Valentin Kipyatkov 05b6181d20 Renamed intention 2015-05-14 01:00:24 +03:00
Valentin Kipyatkov c617d5256e ReplaceWithTraditionalAssignmentIntention - smaller range 2015-05-14 01:00:24 +03:00
Valentin Kipyatkov 8fc799322b Refactored ReplaceWithTraditionalAssignmentIntention 2015-05-14 01:00:24 +03:00
Valentin Kipyatkov 475a361b32 Renamed intention 2015-05-14 01:00:24 +03:00
Valentin Kipyatkov 435e9fed3f Added inspection based on ReplaceWithOperatorAssignIntention 2015-05-14 01:00:23 +03:00
Valentin Kipyatkov bab4ae3879 Refactored ReplaceWithOperatorAssignIntention 2015-05-14 01:00:23 +03:00
Dmitry Jemerov 95f42ac050 fix test: redundant parentheses are no longer generated 2015-05-13 21:19:36 +02:00
Nikolay Krasko 3c7e7ffda6 Place light classes finder before standard PsiElementFinderImpl
Source elements should have priority over libraries.
2015-05-13 21:32:09 +03:00
Dmitry Jemerov 6f4cae03fe Quickfix to add a loop label when 'break' or 'continue' is used in a loop inside 'when'
#KT-7202 Fixed
2015-05-13 17:26:18 +02:00
Dmitry Jemerov 625096466e IDE testdata: s/trait/interface 2015-05-13 16:13:13 +02:00
Michael Bogdanov 99cad4b43f Support default method invocation via super
#KT-5970 Fixed
2015-05-13 14:52:18 +03:00
Michael Bogdanov 3fbdf05921 Added some new test for java8 2015-05-13 14:52:18 +03:00
Alexey Tsvetkov 37dfa58cd3 JS: expand calls, generated to curry reified is checks 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov 818b197169 JS: support reified usage in extension functions 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov 79ab47d374 JS: support reified type references in closures 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov 85dc7a1ac4 JS: always translate reified type parameters 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov 2f786efebf JS: support is-check on reified parameter 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov 2c99484066 Minor in JS: use toTypedArray in JS tests 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov 8cdff2439b JS: added reified is-check test cases 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov 0a3ed7f12e JS: small fixes after conversion 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov f0c2aa9eb2 JS: converted CallArgumentTranslator to Kotlin 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov cdfd88cc2f JS: changed file extension of CallArgumentTranslator.java -> .kt 2015-05-13 12:15:29 +03:00
Ilya Gorbunov f7aa997003 Provide fast path for negative index values in elementAt.
Minor: kdoc wording.
2015-05-12 21:07:24 +03:00
Dmitry Jemerov 4bdf598bfe compiler testdata: s/trait/interface 2015-05-12 19:43:17 +02:00
Ilya Gorbunov a5ed5d4269 Generate elementAtOrNull and elementAtOrElse extension methods for iterables, collections, sequences, etc.
#KT-6952 Fixed
2015-05-12 20:08:20 +03:00
Michael Nedzelsky c420e0f010 JS: eliminate direct usage of builtins serialization for js 2015-05-12 19:30:29 +03:00
Michael Nedzelsky 6dc7c4bc29 add SerializedResourcePaths, extract base code from builtins package fragment, data finder 2015-05-12 19:30:26 +03:00
Michael Nedzelsky d8ca5be29d JS: KotlinJavascriptMetadataUtils: ABI 1 -> 2 2015-05-12 19:30:23 +03:00
Michael Nedzelsky de3a31b07c JS: add import from descriptors to js.proto 2015-05-12 19:30:20 +03:00
Dmitry Jemerov 2a99f757c4 replace 'trait' keyword with 'interface' in library code 2015-05-12 17:07:46 +02:00
Dmitry Jemerov b1c4a5670a provide element type name for multi-declaration entries; enable in-place rename for those; show local properties as "variable"
#KT-7627 Fixed
2015-05-12 16:18:03 +02:00
Dmitry Jemerov 0582d1947d JetRefactoringSupportProvider: J2K 2015-05-12 16:18:01 +02:00
Dmitry Jemerov d990bbffdc JetRefactoringSupportProvider: rename to .kt 2015-05-12 16:18:01 +02:00
Dmitry Jemerov 9975bb8935 replace 'trait' keyword with 'interface' in user-visible messages and code generation tools 2015-05-12 11:49:37 +02:00
Dmitry Jemerov 25959fefdc J2K: generate 'interface' keyword instead of 'trait' 2015-05-12 11:49:37 +02:00
Ilya Gorbunov 69a58d1f0e Minor: correct kdoc comment. 2015-05-12 12:25:27 +03:00
Michael Bogdanov d6964525b2 Fix for KT-7490: Bad bytecode generated by delegates and lambdas
#KT-7490 Fixed
2015-05-12 12:06:11 +03:00
Alexey Sedunov aed6ed0f9b Introduce Parameter: Fix occurrence replacement when parameter name/type is changed by the user 2015-05-12 01:01:43 +03:00
Alexey Sedunov ca54fe0883 Introduce Property: Fix primary occurrence replacement
#KT-7610 Fixed
2015-05-11 20:58:02 +03:00
Alexey Sedunov 339383b5b1 Extract Function: Add test for ===
#KT-7663 Fixed
2015-05-11 20:57:59 +03:00
Alexey Sedunov c4e20b5cc1 Control-Flow: Generate mark instruction before the call/unresolved call instruction
#KT-7663 In Progress
2015-05-11 20:57:56 +03:00
Ilya Gorbunov 34526005d0 Provide a way to construct an empty typed array without init lambda. 2015-05-09 11:45:43 +03:00
Ilya Gorbunov 31b9ee65e0 Change the expected output after joinToString signature was changed. 2015-05-09 01:11:51 +03:00
Ilya Gorbunov 16d20ff009 Temporary add jvm.overloads annotation for generated joinToString() method.
Stdlib generator: allow to specify arbitrary annotations for all or some of generic function expansions.
2015-05-09 01:11:49 +03:00
Ilya Gorbunov d531d7130f Add an optional parameter to joinToString() and joinTo() functions: lambda function which maps the element to string.
#KT-5468 Fixed
2015-05-09 01:11:47 +03:00
Ilya Gorbunov c8a76f6344 Merge overloads String.compareToIgnoreCase and String.compareTo with an optional parameter. Provide CASE_INSENSITIVE_ORDER comparer in String.Companion. 2015-05-09 01:11:45 +03:00
Ilya Gorbunov 64b23054a6 Specify abbreviated code for each general Unicode category. 2015-05-09 01:11:43 +03:00