Dmitry Savvinov
16ee2df585
Fix tests for imports dumper
...
Remove local absolute paths from testdata, introduce new testrunner to
support relativization of imports dump.
2018-05-28 13:02:47 +03:00
Nicolay Mitropolsky
c97f4539d3
181: ideaCompatibleBuildNumber = "181.3"
2018-05-28 12:05:02 +03:00
Alexander Udalov
06d97cce51
Fix multiple issues when expanding argfiles
...
- treat a contiguous whitespace sequence as a single argument separator,
not as several empty-string arguments separated by whitespaces
- fix infinite loop when reading unfinished quoted argument
- do not attempt to perform escape if the backslash is the last
character in the file
2018-05-28 11:23:32 +03:00
Alexander Udalov
61902e1fd5
Support -Xargfile in all scenarios; refactor & prettify code
...
Perform command line argument preprocessing in the beginning of
parseCommandLineArguments, so that argfiles are expanded in all
scenarios, not just when the compiler is invoked via
K2{JVM,JS}Compiler.exec
2018-05-28 11:23:32 +03:00
Dmitry Savvinov
43467516ef
Support argfiles in kotlin compiler
...
Using '-Xargfile=path/to/argfile' will substitute
that argument with the content of argfile.
See KT-24472
2018-05-28 11:23:32 +03:00
Neonailol
ede2e227c2
KT-23356 Cross-platform function to convert CharArray slice to String
...
Signed-off-by: Valeriy Zhirnov <neonailol@gmail.com >
2018-05-26 06:06:53 +03:00
Max Medvedev
16ebcc6e77
Extract function: make name editor focused
...
#KT-22333 Fixed
2018-05-25 23:30:09 +03:00
Alexey Sedunov
610cc3867b
Create Class from Usage: Filter out usages in super type entry list
...
#KT-22918 Fixed
2018-05-25 23:03:26 +03:00
Alexey Sedunov
35517a8253
Quick Fixes: Fix adding parameter to Java constructor
...
#KT-24574 In Progress
2018-05-25 23:03:26 +03:00
Alexey Sedunov
6e25db990d
Change Signature: Use target declaration as a context for types
...
#KT-22387 Fixed
2018-05-25 23:03:25 +03:00
Ilya Gorbunov
3245148206
Docs: clarify default element value of CharArray and BooleanArray
2018-05-25 21:53:52 +03:00
Ilya Gorbunov
418db53ba4
Array.copyOf docs: do not use 'primitive default' term, rewrite description
...
#KT-22298
2018-05-25 21:52:36 +03:00
Valeriy Zhirnov
9239de9a02
KT-22298 Improve docs for Array.copyOf(newSize: Int)
...
Signed-off-by: Valeriy Zhirnov <neonailol@gmail.com >
2018-05-25 21:52:36 +03:00
Ilmir Usmanov
df4dcc0f8e
Ignore data flow info from assert calls
...
if assertions mode is not LEGACY.
This is done since assertions can be disabled (in both compile time and
runtime) and thus, the data flow info is not reliable anymore.
#KT-24529: Fixed
2018-05-25 18:58:49 +03:00
Ilmir Usmanov
0cb73e55d0
Split kotlin-stdlib-coroutines into common and java jars
...
#KT-24532: Fixed
2018-05-25 18:19:19 +03:00
Alexander Udalov
9c5256434c
Check function name in isGenericToArray/isNonGenericToArray
...
#KT-24427 Fixed
2018-05-25 14:55:26 +02:00
Ilya Chernikov
92d848b6e6
Fix scripting plugin commandline processing
2018-05-25 09:51:04 +02:00
Ilya Chernikov
705faa4792
Add lazy discovery test
2018-05-25 09:51:04 +02:00
Dmitry Petrov
ab455d6572
IR: IrSimpleFunction.correspondingProperty: IrProperty?
...
Non-null for a property accessor, points to a corresponding property.
2018-05-25 09:40:51 +03:00
Dmitry Petrov
216dbf9637
Drop IrDeclarationKind
2018-05-25 09:40:51 +03:00
Dmitry Petrov
2a0e7eb412
IR: split IrUtils.kt into common and backend-specific part
2018-05-25 09:40:51 +03:00
Alexey Sedunov
6a21991009
Configuration: Drop Java -> Kotlin/JS configurator
...
#KT-24504 Fixed
2018-05-24 22:24:24 +03:00
Alexey Sedunov
6fd060b166
Configuration: Support TeamCity repository for dev-versions
2018-05-24 22:24:23 +03:00
Alexey Sedunov
c64f93b052
Configuration: Add 'mavenCentral() to generated script 'repositories' block
...
#KT-24586 Fixed
2018-05-24 22:24:23 +03:00
Roman Artemev
6d29aab5e2
[JS IR BE] Implement vararg in JS BE
2018-05-24 21:36:12 +03:00
Roman Artemev
84447d59e1
[JS IR BE] Update test data
2018-05-24 21:07:25 +03:00
Roman Artemev
3ec722eaa1
[JS IR BE] Implement labeled loops
2018-05-24 21:07:09 +03:00
Roman Artemev
6811c87fc7
[JS IR BE] Implement block decomposition lowering
2018-05-24 21:06:49 +03:00
Nikolay Krasko
1eeb202a1a
Use background task for Kotlin decompiler (KT-23981)
...
#KT-23981 Fixed
2018-05-24 20:03:23 +03:00
Nikolay Krasko
6c56a7949c
Don't call an additional update check when selecting channel with enter
2018-05-24 20:03:22 +03:00
Nikolay Krasko
468f7f234f
Don't show default companion name in inlay type hints (KT-22432)
...
#KT-22432 Fixed
2018-05-24 20:03:22 +03:00
Nikolay Krasko
918f47e832
Refactoring: extract common code to functions
2018-05-24 20:03:22 +03:00
Nikolay Krasko
0a2bb74187
Refactoring: move compatibility issue fix in decompiler to separate file
2018-05-24 20:03:22 +03:00
Nikolay Krasko
c8654a0033
Minor: reformat and fix warnings in internal package
2018-05-24 20:03:21 +03:00
Nikolay Krasko
39694835ce
Do not report lambda return hint twice for postfix and prefix (KT-22653)
...
#KT-22653 Fixed
2018-05-24 20:03:21 +03:00
Toshiaki Kameyama
5e4d571693
Reformat RemoveModifierFix
2018-05-24 17:29:16 +03:00
Toshiaki Kameyama
0100dfb2fd
Add "Remove 'lateinit'" quickfix for INAPPLICABLE_LATEINIT_MODIFIER
...
So #KT-24295 Fixed
2018-05-24 17:26:54 +03:00
Mikhail Glukhikh
f8f3b1c6f1
Provide language version settings correctly for platform modules
...
So #KT-24546 Fixed
2018-05-24 16:40:52 +03:00
Ilmir Usmanov
6c3d69f74c
Minor: Add KotlinTypeMapper constructor overload
2018-05-24 15:42:53 +03:00
Alexander Udalov
d122406dca
Map Kotlin TYPE target to Java TYPE_USE in bytecode
...
And TYPE_PARAMETER -> TYPE_PARAMETER similarly
#KT-23857 Fixed
2018-05-24 14:41:22 +02:00
Mikhail Glukhikh
fbb0a3e06c
Convert async {}.await() to withContext(DefaultDispatcher) {}
...
This fixes incorrect transformation related to KT-24235
2018-05-24 15:15:25 +03:00
Mikhail Glukhikh
4ed4754d80
Additional tests for KT-21131
2018-05-24 15:15:23 +03:00
Mikhail Glukhikh
f3c2dd0526
Code inliner: keep main property if it can have side effects
...
So #KT-24165 Fixed
2018-05-24 15:15:22 +03:00
Mikhail Glukhikh
93a510c05b
Code inliner: move lambda outside parentheses always when possible
...
So #KT-24215 Fixed
2018-05-24 15:15:21 +03:00
Mikhail Glukhikh
bb8c3495b8
Reformat & cleanup: CodeInliner
2018-05-24 15:15:19 +03:00
Mikhail Glukhikh
2d7e274860
Fix importing scope order in ReplaceWithAnnotationAnalyzer
...
So #KT-22615 Fixed
2018-05-24 15:15:13 +03:00
Mikhail Glukhikh
394a547084
Reformat: ReplaceWithAnnotationAnalyzer
2018-05-24 15:15:10 +03:00
Mikhail Glukhikh
75724c0240
Reformat: CodeToInline
2018-05-24 15:15:09 +03:00
Mikhail Glukhikh
251491757d
Reformat: CallableUsageReplacementStrategy
2018-05-24 15:15:08 +03:00
Mikhail Glukhikh
0655e153c3
Reformat: DeprecatedSymbolUsageFixBase
2018-05-24 15:15:07 +03:00