Alexander Udalov
bb68aacee4
Minor refactoring in TowerResolver
2016-01-15 17:15:00 +03:00
NataliaUkhorskaya
b73ce68dbd
Debugger: quote package fqName properly. Fix muted tests
2016-01-15 15:57:35 +03:00
NataliaUkhorskaya
d4fcb59965
Gradle plugin: fix compatibility with android-gradle plugin 2.0.0-alpha5
...
#KT-10676 Fixed
2016-01-15 15:56:47 +03:00
Stanislav Erokhin
8f441a020e
Minor. workaround for KT-10679 Wrong outer after inline.
2016-01-15 14:44:24 +03:00
Stanislav Erokhin
3a9ecf0bce
Change resolution priority about implicit receivers and synthesized member-like descriptors.
...
Change resolution to consider extensions to implicit receiver before members of another implicit receiver.
Make synthesized member-like extensions resolve right after the members.
#KT-10510 Fixed
#KT-10219 Fixed
2016-01-15 13:11:38 +03:00
Stanislav Erokhin
dee040a5b5
Minor. Extract tower data creation to separate function.
2016-01-15 13:11:37 +03:00
Stanislav Erokhin
dbd6982b3a
Move levels to TowerResolver
2016-01-15 13:11:36 +03:00
Denis Zharkov
a2f8ad1396
Minor. Extract constant FQ names
2016-01-15 09:46:30 +03:00
Denis Zharkov
be2f857670
Introduce inline-only functions
...
They have private visibility in bytecode
2016-01-15 09:46:30 +03:00
Valentin Kipyatkov
15930a42b8
Fixed containingDeclaration for descriptors inside init-blocks for the case of no primary constructor
...
KT-10226 Wrong Imports optimization ("Unresolved reference" is being added)
#KT-10226 Fixed
2016-01-14 21:53:41 +03:00
Denis Zharkov
f4613b8db1
Support foreign nullability annotations
...
#KT-10418 Fixed
#KT-10594 Fixed
2016-01-14 19:24:10 +03:00
Denis Zharkov
fd8a718797
Get rid of duplicating annotations FQ names usages
...
E.g. JETBRAINS_NOT_NULL_ANNOTATION were used both in NULLABLE_ANNOTATIONS
and for ANNOTATIONS_COPIED_TO_TYPES
2016-01-14 19:24:10 +03:00
Denis Zharkov
01fd3905be
Minor. Fix typo in package name: typeEnhacement -> typeEnhancement
2016-01-14 19:24:10 +03:00
Valentin Kipyatkov
7c6a33a36c
KT-10664 No code completion after variable initialized with elvis
...
#KT-10664 Fixed
2016-01-14 19:23:01 +03:00
Valentin Kipyatkov
b41f2dcda3
KT-10655 No "in" in code completion popup after "!"
...
#KT-10655 Fixed
2016-01-14 19:23:01 +03:00
Valentin Kipyatkov
2f1108421e
Added container information when needed
2016-01-14 19:23:01 +03:00
Denis Zharkov
23d2b87a52
Ignore redundant projections for declaration-site variance
2016-01-14 19:20:00 +03:00
Pavel V. Talanov
06d0a7c17c
Avoid throwing on trying to obtain module info by some unexpected light element
2016-01-14 18:35:05 +03:00
Ilya Gorbunov
7ddac1945e
Unify functional parameter name for 'let', 'run', 'with', 'apply' scope function with 'use' and 'synchronize'.
2016-01-14 18:31:57 +03:00
Ilya Gorbunov
4eb3cff129
Unify functional parameter name for 'forEachLine', 'forEachBlock', 'repeat' methods with 'forEach'
2016-01-14 18:31:56 +03:00
Ilya Gorbunov
c9ddea6d03
Breaking: File.(buffered)reader/writer now returns less specific InputStreamReader/OutputStreamReader and use UTF-8 encoding by default, allowing to specify different encoding with optional parameter.
...
File.printWriter supports specifying Charset and uses UTF-8 by default.
#KT-10454 Fixed
2016-01-14 18:31:55 +03:00
Ilya Gorbunov
a64c1ff0f4
Rename defaultBufferSize to DEFAULT_BUFFER_SIZE.
2016-01-14 18:31:43 +03:00
Ilya Gorbunov
d64882e19b
File.useLines and Reader.readLines.
2016-01-14 18:30:45 +03:00
Ilya Gorbunov
ddcafdd9b3
J2K: Avoid to convert to deprecated String methods, namely toByteArray.
2016-01-14 18:30:44 +03:00
Ilya Gorbunov
ac15807ba4
Deprecate functions taking charset name as string.
2016-01-14 18:30:42 +03:00
Ilya Gorbunov
68971e2162
Remove redundant JvmName annotations for Array.copyOf, copyOfRange
2016-01-14 18:30:41 +03:00
Ilya Gorbunov
b99e1111f6
Do not use out projection for Array where appropriate.
2016-01-14 18:30:40 +03:00
Ilya Gorbunov
eb5b5331fb
Minor: reorder invariant arrays of objects in generated code
2016-01-14 18:30:39 +03:00
Ilya Gorbunov
362e463b26
Preserve type projection for Array.requireNoNulls.
...
#KT-10039 Fixed
2016-01-14 18:30:37 +03:00
Ilya Gorbunov
90a33fb19c
Make return type more specific for File.inputStream and File.outputStream, for String.byteInputStream
2016-01-14 18:30:20 +03:00
Ilya Gorbunov
ea3a2eefe7
File.deleteRecursively returns true even if path specified by File does not exist.
...
False is returned only in case of incomplete deletion.
Distinguish situations when file was not deleted because it's vanished after listing and because of some other error.
2016-01-14 18:14:12 +03:00
Ilya Gorbunov
5e6489f1a2
Minor: refactor file utils test not to use 'assert' to make test assertions. Use assertTrue, assertFalse, assertEquals, assertFailsWith instead.
2016-01-14 18:14:11 +03:00
Ilya Gorbunov
3ee9c2b9d8
Introduce exitProcess(status) returning Nothing.
...
#KT-10441 Fixed
2016-01-14 18:14:10 +03:00
Valentin Kipyatkov
5a079defc7
"Rename on import" hides importing of the same symbol by other imports with the original name
2016-01-14 17:05:28 +03:00
Valentin Kipyatkov
47041885ca
Do not use incorrect import
2016-01-14 17:05:13 +03:00
Valentin Kipyatkov
866f3f189f
Minor
2016-01-14 17:05:13 +03:00
Valentin Kipyatkov
89843685c2
Renamed class
2016-01-14 17:05:13 +03:00
Dmitry Jemerov
af66af07a0
adapt move refactoring to new behavior of KtFile.getClasses()
2016-01-14 14:20:41 +01:00
Dmitry Jemerov
1bc4420734
implement KtFile.getClasses() in plugin (required to have coverage work, among other things)
2016-01-14 14:20:35 +01:00
Michael Bogdanov
607f32615f
Type uncapturing
2016-01-14 15:32:50 +03:00
Michael Bogdanov
2228cb6a9a
Rollback parameter descriptor propagation to CapturedTypeConstructor
2016-01-14 15:32:50 +03:00
Alexey Sedunov
6e5a2208c0
Misc: Partially revert cleanup ( 44138f499e) as accessing synthetic properties leads to IllegalAccessError
...
#KT-10653 Fixed
2016-01-14 13:55:11 +03:00
Alexey Sedunov
1d9bafe196
PSI Unifier: Fix matching of this-expressions
...
#KT-8293 Fixed
2016-01-14 13:55:10 +03:00
Alexey Sedunov
ed8674c0f9
Safe Delete: Skip usages inside of overriding to-be-deleted declarations
...
#KT-7253 Fixed
2016-01-14 13:55:09 +03:00
Alexey Sedunov
59bacd932a
Minor: Add test for KT-8295
2016-01-14 13:55:08 +03:00
Alexey Sedunov
e7de6400e5
Create from Usage: Make 'Create annotation' low-priority action
...
#KT-9116 Fixed
2016-01-14 13:55:07 +03:00
Alexey Sedunov
70a851fe44
Move/Change Package Directive Intention: Skip callee references to inner class constructors
...
#KT-10554 Fixed
2016-01-14 13:55:05 +03:00
Alexey Sedunov
73233b2e90
Change Variable Mutability Quick-Fix: Forbid on non-primary-constructor parameters
...
#KT-10601 Fixed
2016-01-14 13:55:03 +03:00
Alexey Sedunov
5a108c5cde
Generate equals/hashCode Action: Use Arrays.equals/Arrays.hashCode for properties of array types
...
#KT-10514 Fixed
2016-01-14 13:55:02 +03:00
Natalia Ukhorskaya
7b67eed3dd
Qoute package name if needed
...
#KT-10649 Fixed
2016-01-14 13:42:19 +03:00