Pavel V. Talanov
a4e3dd7030
Minor: refactor DestructuringDeclarationResolver
2016-02-04 15:08:39 +03:00
Zalim Bashorov
ba6c738cb5
Minor: don't init AnsiConsole when coloring is disabled
2016-02-04 14:36:31 +03:00
Dmitry Jemerov
bcc3102e05
highlight usages for parameter doesn't look at base declarations
...
#KT-10204 Fixed
2016-02-04 11:35:22 +01:00
Dmitry Jemerov
37976e516c
postpone isJsProject() check
...
#KT-9026 Fixed
2016-02-04 11:31:46 +01:00
Pavel V. Talanov
abcdae8e69
Prevent recursion when computing parameter list of KtLightMethod (part 2)
...
Use ClsWrapperStubPsiFactory when building light classes for decompiled kotlin classes
2016-02-04 12:55:19 +03:00
Alexey Sedunov
5f037d372d
Intentions: Move member of companion object to corresponding class
...
#KT-9697 Fixed
2016-02-04 12:26:19 +03:00
Alexey Sedunov
d13ac6b5a4
Intentions: Move class member to companion object
...
#KT-9697 In Progress
2016-02-04 12:26:18 +03:00
Alexey Sedunov
fe8a0ec2bc
Move: Additional test for KT-10553 (private top-level property with default accessors)
2016-02-04 12:26:17 +03:00
Alexey Sedunov
48b538cebf
Light Classes: Provide backing fields (if any) as one of property's light elements
2016-02-04 12:26:15 +03:00
Dmitry Petrov
b5145ea68b
Use implementation part class for SMAP generation when inlining function both from binaries and sources.
2016-02-04 10:17:30 +03:00
Dmitry Jemerov
0a46033d40
ensure Kotlin's move handlers run before Java's
...
#KT-10703 Fixed
2016-02-03 17:44:29 +01:00
Alexey Andreev
e9d5d8f0fe
[KT-7683] Implement translation of 'when .. in' clause to JS
2016-02-03 19:08:58 +03:00
Natalia Ukhorskaya
6ee4071462
Debugger: use top elements to cache classnames to minimize cache size
2016-02-03 18:53:50 +03:00
Natalia Ukhorskaya
2fa00f87e0
Minor: add some clarifications
2016-02-03 18:53:50 +03:00
Natalia Ukhorskaya
9b978377d0
Debugger: merge KotlinPositionManagerCache into KotlinDebuggerCaches
2016-02-03 18:53:50 +03:00
Natalia Ukhorskaya
b5b2bbc9ab
Minor: rename KotlinEvaluateExpressionCache
2016-02-03 18:53:50 +03:00
Natalia Ukhorskaya
ccd22cd5ca
KotlinPositionManager: use cache for classNames where possible
2016-02-03 18:53:50 +03:00
Natalia Ukhorskaya
f28f7eaa3b
ExtraSteppingFilter: do not compute classNames for inline
2016-02-03 18:53:50 +03:00
Natalia Ukhorskaya
876e458c04
Add cache for library files
2016-02-03 18:53:50 +03:00
Natalia Ukhorskaya
e89638f937
Move typeMappers cache to KotlinPositionManagerCache
2016-02-03 18:53:50 +03:00
Natalia Ukhorskaya
c808f4ec2a
KotlinPositionManager: add cache for classNames by psiElement
2016-02-03 18:53:50 +03:00
Mikhail Glukhikh
60d56b30bf
Safe call arguments are now handled as nullable in generic resolver #KT-9985 Fixed
2016-02-03 18:34:10 +03:00
Dmitry Jemerov
187694d1b0
don't veto rename of constructors
...
#KT-9693 Fixed
2016-02-03 15:58:05 +01:00
Stanislav Erokhin
34d8dd9127
Add optimization for fake overrides creation.
2016-02-03 17:47:40 +03:00
Stanislav Erokhin
ec991b4ced
Minor. Update run configuration.
2016-02-03 17:47:39 +03:00
Zalim Bashorov
030c55ebb2
Minor: fix testdata
2016-02-03 17:35:14 +03:00
Ilya Gorbunov
805410bb19
J2K: Remove special conversion for String.format.
2016-02-03 17:14:02 +03:00
Ilya Gorbunov
c243a2bdd5
In addition to extension String.format introduce String.Companion.format(format, args) to be used like in java.
2016-02-03 17:14:01 +03:00
Ilya Gorbunov
7105c7c182
Documentation stubs for new packages.
2016-02-03 17:04:28 +03:00
Mikhail Glukhikh
0c32fab690
Type comparison: first check for star projections, then obtain constructor parameters #KT-10893 Fixed
...
Also #EA-78405 Fixed
2016-02-03 16:26:39 +03:00
Pavel V. Talanov
c5be8ce1d3
Prevent recursion when computing parameter list of KtLightMethod
...
#KT-10890 Fixed
#KT-10851 Fixed
2016-02-03 16:08:05 +03:00
Dmitry Petrov
4afe98a0f6
Better diagnostics for conflicting overloads.
...
Skip declarations without sources in reporting, not when determining redeclaration groups:
this allows emitting informative diagnostics for incremental compilation.
Provide containing declaration with "kind", e.g., "package '<root>'", "class A", and so on.
2016-02-03 15:53:07 +03:00
Zalim Bashorov
130301aa27
Minor: log the content of module.xml when a source root not found on FS
...
Related issues: #KT-9587 #KT-10394
2016-02-03 15:28:20 +03:00
Dmitry Jemerov
e227f6fc74
use more deterministic check to determine that "Configure Kotlin in project" notification should be displayed
...
#KT-10898 Fixed
2016-02-03 13:18:54 +01:00
Michael Bogdanov
394221fefb
Updated test data
2016-02-03 10:35:32 +03:00
Michael Bogdanov
6ae6f72156
Fix for crashed build
2016-02-03 10:35:31 +03:00
Michael Bogdanov
4b203de608
INVISIBLE_MEMBER_FROM_INLINE renamed to NON_PUBLIC_CALL_FROM_PUBLIC_INLINE
2016-02-03 10:35:29 +03:00
Michael Bogdanov
d1db404959
Error diagnostic for private classes in inline functions; Fix for KT-7545: IllegalAccessError when accessing private nested class through inlined function from different package
...
#KT-7545 Fixed
2016-02-03 10:32:41 +03:00
Michael Bogdanov
71c2a6e792
Generate package private visibility in bytecode for private classes
2016-02-03 10:32:41 +03:00
Ilya Gorbunov
751ac3912d
IDEA version for bootstrapping (use IDEA built with kotlin rc branch)
2016-02-03 00:23:10 +03:00
Ilya Gorbunov
f19ef6e3d5
SAM-constructors for Iterable and Sequence interfaces.
2016-02-03 00:13:17 +03:00
Ilya Gorbunov
947fd84f1e
Minor: reorder primitive specializations in generated code (according to the order they defined in java).
2016-02-02 22:06:34 +03:00
Ilya Gorbunov
7a50562a4e
Minor: reorder families in generated code.
2016-02-02 22:06:34 +03:00
Ilya Gorbunov
477b57cdfd
Rearrange stdlib, part 2: rename files to better represent their content.
2016-02-02 22:06:33 +03:00
Ilya Gorbunov
57cfa54957
Rearrange stdlib between files and folders, rename files to better represent their content.
...
Fix package part name in testData
2016-02-02 22:06:32 +03:00
Dmitry Jemerov
c881cd1070
use new API for excluding Kotlin plugin from update checks
2016-02-02 16:19:29 +01:00
Dmitry Jemerov
45a387668b
don't show two "Rename variables" checkboxes for a Kotlin class
...
#KT-8509 Fixed
2016-02-02 15:55:54 +01:00
Dmitry Jemerov
db5191041f
better place for J2K options
...
#KT-10513 Fixed
2016-02-02 14:43:26 +01:00
Mikhail Glukhikh
45298e0bad
Delegated properties now cannot be used before initialization #KT-10869 Fixed
2016-02-02 16:27:20 +03:00
Dmitry Petrov
65f754ffca
Fix KT-10764 IDEA doesn't show overload conflict between constructor and function...
...
When checking for overloads in package, consider functions and top-level class constructors as possibly conflicting between each other. NB OverloadUtil uses containing package scope from module descriptor.
Change diagnostic message for CONFLICTING_OVERLOAD: it's misleading in case of fun vs constructor conflict.
Add custom multifile test for diagnostics in IDE (probably not the best; should preprocess file content if it's required to check highlighting in multiple files, not only in the first file).
Add test for KT-10765 Incremental compilation misses overload conflict between constructor and function ...
2016-02-02 16:21:26 +03:00