Denis Zharkov
fef568dbf0
Refactor migrational intentions
...
- Make them independent on element
- Extract common parts into JetWholeProjectModalByTaskCollectionAction class
2015-04-23 11:22:38 +03:00
Denis Zharkov
ef79b260f4
Extract common pattern in simple intention factories
2015-04-23 08:27:44 +03:00
Denis Zharkov
1b42e2fdcc
Deprecate calls of annotations' methods
2015-04-23 08:27:43 +03:00
Denis Zharkov
29bf24b7d3
Use properties of Java annotations in codegen tests
...
Retain obsolete versions until support for methods in Java annotations is dropped
2015-04-23 08:27:42 +03:00
Denis Zharkov
6ca7d2aad7
Regenerate test data
...
Add properties for Java annotations
2015-04-23 08:27:41 +03:00
Denis Zharkov
93bbd2cbbc
Java: load annotations methods as properties
2015-04-23 08:10:31 +03:00
Alexander Udalov
a0502d99f4
Minor, use substringBeforeLast instead of hand-written code
2015-04-23 03:20:11 +03:00
Michael Nedzelsky
7e69c414d4
JS: support new names for built-in metadata files starting with dot
2015-04-23 03:17:31 +03:00
Alexander Udalov
20cd360b07
Rename built-in metadata files starting with dot
...
Files starting with dot are considered as hidden on Unix systems, and sometimes
are ignored by the tools. For example, Android build tools do not package such
files to the resulting application, which causes Kotlin reflection to fail
there
#KT-7088 Fixed
2015-04-23 03:17:29 +03:00
Alexey Sedunov
40864a554b
Introduce Parameter: Add "Introduce default value" checkbox to the dialog
2015-04-22 23:56:48 +03:00
Alexey Sedunov
298dfa545f
Introduce Parameter: Implement "Introduce lambda parameter"
2015-04-22 23:56:47 +03:00
Alexey Sedunov
2cc39995bb
Extraction Engine: Simplify helper API
2015-04-22 23:56:46 +03:00
Zalim Bashorov
9dd527b76c
Fix printing file size for TeamCity statistics
2015-04-22 19:52:00 +03:00
Ilya Gorbunov
7fba979372
Generate to[Primitive]Array() methods for generic arrays and collections.
...
#KT-4180 Fixed
2015-04-22 18:21:37 +03:00
Ilya Gorbunov
d18b086113
Refactor stdlib generator engine.
...
Introduce special class to hold generic function properties.
2015-04-22 18:21:35 +03:00
Ilya Gorbunov
343edcf8d0
Specify explicitly when to generate platformName annotation.
2015-04-22 18:21:33 +03:00
Ilya Gorbunov
592e6582b3
Provide isInfinite() and isFinite() functions for Double and Float.
...
#KT-7126 Fixed
2015-04-22 18:21:31 +03:00
Ilya Gorbunov
5dacb5a745
Provide average() method for iterables, sequences and arrays.
...
#KT-3843 Fixed
2015-04-22 18:21:29 +03:00
Ilya Gorbunov
f402ae8540
Ensure families and primitives have stable order, so that the code is generated in the same order each time.
2015-04-22 18:21:26 +03:00
Ilya Gorbunov
9759be5493
Generate sum() methods for arrays, iterables and sequences of Byte and Short. These overloads got explicit platformName.
...
Heuristics to decide when to set platformName.
#KT-3714
2015-04-22 18:21:24 +03:00
Ilya Gorbunov
ccc3646bb8
Generate coerceAtLeast, coerceAtMost and coerceIn extension functions for numbers and other Comparables.
2015-04-22 18:20:47 +03:00
Ilya Gorbunov
ade69ec0e9
Provide the emptySequence() method.
...
sequenceOf() with no arguments is equivalent to emptySequence().
#KT-7233 Fixed
2015-04-22 17:57:26 +03:00
Ilya Gorbunov
ae28379493
Provide Enumeration<T>.asSequence() method to make Enumeration usable in chained operations
...
#KT-6828 Fixed
2015-04-22 17:57:24 +03:00
Ilya Gorbunov
899a01e8c2
Rename sequence() extension to asSequence()
2015-04-22 17:57:20 +03:00
Zalim Bashorov
60347e87aa
Print size of some kotlin2js artifacts for TeamCity statistics
2015-04-22 16:37:55 +03:00
Zalim Bashorov
5ec8d72949
Minor: download Rhino as dependency instead of store it in the repository
2015-04-22 15:46:02 +03:00
Nikolay Krasko
06fd6c4ba2
Allow to override teamcity bootstrap compiler for "bootstrap.build.no.tests"
2015-04-22 14:13:21 +03:00
Nikolay Krasko
0be99c8efc
Add parameters to control what kotlin dependencies to download
2015-04-22 14:13:20 +03:00
Evgeny Gerashchenko
f5677d8424
Converted JetPsiUtil.getElementTextWithContext() to Kotlin extension function.
2015-04-22 14:10:00 +03:00
Zalim Bashorov
f59506c5e0
Minor: update rhino to 1.7.6
2015-04-22 12:48:22 +03:00
Zalim Bashorov
1ef9b9db1f
JS backend: add the support function expression
...
#KT-7242 Fixed
2015-04-22 12:48:22 +03:00
Zalim Bashorov
02071c5bdd
Minor: move function expression tests to separate directory
2015-04-22 12:48:21 +03:00
Zalim Bashorov
6e60a31b73
JS backend: don't translate labels on expression
...
#KT-7487 Fixed
2015-04-22 12:48:20 +03:00
Zalim Bashorov
1fe93c302a
Minor in JS tests: move dummy abstract classes into one file
2015-04-22 12:48:20 +03:00
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