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
Nikolay Krasko
7dd725f0a4
Failed build is good enough for version increment
2016-02-02 16:10:54 +03:00
Dmitry Jemerov
4a1d282de6
don't try to parse empty text as XML
2016-02-02 13:40:23 +01:00
Denis Zharkov
8df05c6c4c
Refine 'isMoreSpecific' calculation
...
Choose member with better visibility, it's needed for proper calculation
of types intersection member scope
#KT-10481 Fixed
2016-02-02 15:26:49 +03:00
Ilya Gorbunov
148b53fc62
Add UTF_32 charsets to Charsets object as lazy initialized properties.
...
#KT-10379 Fixed
2016-02-02 15:23:22 +03:00
Natalia Ukhorskaya
f29efc2ca2
Evaluate expression shouldn't be applicable for class name of Java class in static call
...
#KT-7261 Fixed
2016-02-02 15:16:14 +03:00
Natalia Ukhorskaya
893c2495fe
Minor: regenerate tests
2016-02-02 15:16:14 +03:00
Natalia Ukhorskaya
51ea804d88
Debugger: do not write exception to log in some valid cases
2016-02-02 15:16:14 +03:00
Natalia Ukhorskaya
45f96f8f32
Evaluate expression shouldn't be applicable for name of named parameter in function call
...
#KT-7266 Fixed
2016-02-02 15:16:14 +03:00
Natalia Ukhorskaya
4f76207a27
Fix breakpoints in inline function with generic crossinline argument
...
#KT-10673 Fixed
2016-02-02 15:16:14 +03:00
Natalia Ukhorskaya
b19d32e4f2
Public members should have bigger priority in debugContext
...
#KT-10634 Fixed
2016-02-02 15:16:14 +03:00
Natalia Ukhorskaya
d60a5e65c1
Debugger: skip visibility check
2016-02-02 15:16:14 +03:00
Dmitry Petrov
bad8320038
Fix for KT-10881 Declaring constant in a mutlifile class causes an IllegalAccessError on its usage.
...
Generate fields for 'const' properties in facade class.
NB reading annotations for 'const' vals in multifile class doesn't work, KT-10892.
2016-02-02 15:06:21 +03:00
Dmitry Jemerov
970d6f6834
generate local variables table for @JvmOverloads-generated methods
...
#KT-7319 Fixed
2016-02-02 12:11:51 +01:00
Yan Zhulanow
da7acd5e73
Check annotations on default property getter/setter
2016-02-02 13:14:56 +03:00
Mikhail Glukhikh
7e528da00a
Regression codegen test #KT-8344 Obsolete
2016-02-02 12:43:52 +03:00
Denis Zharkov
816c66063b
Report special diagnostic when fake-call receiver is nullable
...
#KT-3602 Fixed
2016-02-02 08:17:49 +03:00