Nikolay Krasko
319cabcc88
Remove deprecated InjectorUtils#putInjectedFileUserData in injection (KT-33775)
...
#KT-33775 Fixed
2019-09-30 00:53:03 +03:00
Ilya Kirillov
f70654d16b
Fix CreateTypeParameter quick fix tests
...
Partially reset 21429f0b94
2019-09-29 20:43:19 +03:00
Ilya Kirillov
04515eda3d
Fix nj2k module compilation for 191 & 183 branches
2019-09-29 18:45:48 +03:00
Ilya Kirillov
2ace905429
Fix IndexOutOfBoundsException (EA-211554) in SerializationPluginDeclarationChecker
2019-09-29 12:27:44 +03:00
Ilya Kirillov
41fd9fff76
Minor: reformat CreateTypeParameterUnmatchedTypeArgumentActionFactory
2019-09-29 12:27:44 +03:00
Ilya Kirillov
21429f0b94
Do not try to add type parameter to non-writable declaration (EA-209570)
2019-09-29 12:27:43 +03:00
Ilya Kirillov
a24da280ca
Call update for ScratchAction in EDT thread (EA-210180)
2019-09-29 12:27:43 +03:00
Ilya Kirillov
7831237aaa
Minor: reformat KotlinRunConfigurationProducer
2019-09-29 12:27:43 +03:00
Ilya Kirillov
016132c762
Fix NPE in KotlinRunConfiguration & do not throw exception on unknown container type (EA-209426)
2019-09-29 12:27:43 +03:00
Ilya Kirillov
9deb7dc8d6
New J2K: do not require module to be present on converting
...
It may not be present when performing conversion inside repl
2019-09-29 12:13:41 +03:00
Ilya Kirillov
f77825b85a
New J2K: remove RedundantCompanionReferenceInspectionBasedProcessing as it already applied on shortening references
2019-09-29 11:39:39 +03:00
Ilya Kirillov
95f69a9b58
New J2K: do not print debug info in inference tests
2019-09-29 11:39:39 +03:00
Ilya Kirillov
aaf05d5eb2
New J2K: reduce count of post-processing groups
2019-09-29 11:39:38 +03:00
Ilya Kirillov
208c4d6fc7
New J2K: move visitor generator out of src folder
2019-09-29 11:39:38 +03:00
Ilya Kirillov
41935bdd34
New J2K: separate logic in code builder to different classes
2019-09-29 11:39:37 +03:00
Ilya Kirillov
043a669812
New J2K: do not print qualified names if corresponding qualifier can unambiguously resolved
...
This speeds up shortening qualified references phase
2019-09-29 11:39:37 +03:00
Ilya Kirillov
678cc35008
New J2K: reuse already calculated type arguments in inference post-processing
2019-09-29 11:39:36 +03:00
Ilya Kirillov
c000f33955
New J2K: make initial generating code formatting better
2019-09-29 11:39:36 +03:00
Ilya Kirillov
f3b53a9532
New J2K: rework Java code formatting collecting
...
#KT-33687 fixed
2019-09-29 11:39:35 +03:00
Ilya Kirillov
37ee81dfa1
New J2K: use Java classes for instance checking instead of Kotlin ones
2019-09-29 11:39:35 +03:00
Ilya Kirillov
392a75e6b8
New J2K: use KotlinExceptionWithAttachments to report tree building errors
...
Also, try not to throw exceptions when possible
2019-09-29 11:39:34 +03:00
Vladimir Dolzhenko
3e2dac6586
Use test path relative to testDataPath in fixture.configureByFile to be complaint with 193
2019-09-29 09:45:42 +02:00
Vladimir Dolzhenko
7c80c6ba63
Fix performanceTests for 193
2019-09-29 09:38:27 +02:00
Ilya Gorbunov
885d99068c
Test reading files with incorrectly reported length
...
#KT-33864
2019-09-28 19:23:26 +03:00
Ilya Gorbunov
c9dd8344d1
Do not use file length estimate in File.readText
...
This handles the situation when reported file length is less than actual.
#KT-33864
2019-09-28 19:20:54 +03:00
Ilya Gorbunov
fe31509044
Support File.readBytes when reported file length is less than actual
...
After reading 'length' bytes from a file, check if there's extra content
available and read it into a resizable buffer, then append it after
the first 'length' bytes.
#KT-33864
2019-09-28 19:20:54 +03:00
Ilya Chernikov
3220101c7b
[minor] fix Gradle test broken on the build refactoring
2019-09-28 17:50:45 +02:00
Ilya Chernikov
4d19299e95
[minor] Fix scripting classpath test on windows
2019-09-27 19:44:49 +02:00
Anton Yalyshev
6fa7da57a4
It's better to get plugin version once but not in cycle
2019-09-27 20:06:53 +03:00
Anton Yalyshev
db189fa218
Remove Maven and JPS targets collectors that are unused now
2019-09-27 20:06:53 +03:00
Anton Yalyshev
d4266e1be6
Bunches for ProjectConfigurationCollector
2019-09-27 20:06:53 +03:00
Anton Yalyshev
21b7d873e7
Move build system and targets statistics collection from StartupActivity to FUS State Collector
2019-09-27 20:06:53 +03:00
Anton Bannykh
ead8379c50
JS: add -Xmetadata-only flag for JS common code modules (KT-33142 fixed)
2019-09-27 19:12:03 +03:00
Andrey Uskov
6a808ce842
Fix import tests compilation in bunch 183
2019-09-27 17:28:07 +03:00
Dmitriy Novozhilov
439e8faf94
[NI] Remove outdated intention test according to fixed consistency of OI and NI
2019-09-27 17:20:47 +03:00
Anton Bannykh
b4917ec816
JS: remove unconditional as SimpleType cast
...
This is a workround for a bug introduced in the typeOf
support
2019-09-27 16:55:10 +03:00
Toshiaki Kameyama
82f75c707e
"Convert to range check" inspection: apply ReplaceRangeToWithUntilInspection after convertion
...
#KT-33880 Fixed
2019-09-27 20:33:48 +07:00
Toshiaki Kameyama
54df0aad16
Reformat ConvertTwoComparisonsToRangeCheckIntention
2019-09-27 20:33:48 +07:00
Georgy Bronnikov
6c2eb3dd16
Change expected test output
2019-09-27 16:32:15 +03:00
Anton Yalyshev
6c06c4e3fc
Group Id and Version fields generation doesn't need 193 bunches. It works well with previos versions.
2019-09-27 14:58:19 +03:00
Anton Yalyshev
18cfa42930
Bump Gradle to 5.5.1 cause it contains several major fixes for 5.5
2019-09-27 14:58:19 +03:00
Anton Yalyshev
a53f66ca4e
Gradle 5.5 Daemon requires -Xmx256m
2019-09-27 14:58:19 +03:00
Anton Yalyshev
ee7b583a82
Bump Gradle and Android build tools version in New Kotlin Project Templates #KT-27587 Fixed
2019-09-27 14:58:18 +03:00
Anton Yalyshev
626087a46e
Use type-safe model accessors for Gradle plugin #KT-31766 Fixed
2019-09-27 14:58:18 +03:00
Anton Yalyshev
721aa81ca5
Relying on platform stepping goes better only from 2019.3
2019-09-27 14:58:18 +03:00
Anton Yalyshev
a66078f2cd
Let New Gradle project or module wizard rely on platform stepping to avoid inconsistency #KT-33927 Fixed #KT-30685 Fixed #KT-28404 Fixed
2019-09-27 14:58:18 +03:00
Mark Punzalan
c16b59191b
Do not cache "last" value (i.e., size/length) in lowered for-loop
...
iteration over CharSequences.
CharSequences may be mutable (e.g., StringBuilder) and therefore its
contents and length can change within the loop.
2019-09-27 13:44:40 +02:00
Ilya Matveev
3da3e1cae9
IDE: Add native extensions to KotlinCompilation
2019-09-27 18:06:58 +07:00
Ilya Matveev
95cbb4e8b4
IDE: Add a flag to disable native libraries propagation
2019-09-27 18:06:58 +07:00
Ilya Matveev
becdd7a5e6
Add a test for native dependency propagation
2019-09-27 18:06:57 +07:00