Commit Graph

47572 Commits

Author SHA1 Message Date
Natalia Selezneva 6672fd7bbf Fix tests for highlighting in scripts with custom script definition 2018-08-03 15:25:35 +03:00
Natalia Selezneva 41dc059da9 Register custom file extension for scripts loaded from script template 2018-08-03 15:25:35 +03:00
Natalia Selezneva be2d4964fd Fix testData, add script-runtime 2018-08-03 15:25:35 +03:00
Natalia Selezneva f71269009a Refactoring: use KtScript.scriptDefinition instead of KotlinScriptDefinitionProvider.findScriptDefinition if possible 2018-08-03 15:25:35 +03:00
Natalia Selezneva 736361e345 Provide a default scriptDefinition for script 2018-08-03 15:25:35 +03:00
Natalia Selezneva c802428326 Do not check script definitions in parser 2018-08-03 15:25:35 +03:00
Alexey Sedunov 3ce4a14583 Misc: Workaround for failing tests due to unknown ".gradle" extension 2018-08-03 14:48:56 +03:00
Toshiaki Kameyama 1ac6f18a47 "Convert put to assignment": Fix false positive inside elvis expression
So #KT-22072 Fixed
2018-08-03 13:21:50 +03:00
Toshiaki Kameyama 1b1e503716 Add quick-fix for default parameter value removal #KT-25146 Fixed 2018-08-03 13:17:49 +03:00
Toshiaki Kameyama a059d50c8f "Call chain may be simplified": fix false positive on Java Map
So #KT-25089 Fixed
2018-08-03 13:15:53 +03:00
Ilya Gorbunov c9a784ebb0 Deprecate projectDist and make it a temporary alias for default configuration 2018-08-03 09:37:38 +03:00
Ilya Gorbunov 2a598e0ac4 Replace ReadOnly/Mutable usages in the compiler
Replace ones from org.jetbrains.kotlin package with new annotations from kotlin.annotations.jvm.
No need to copy them to compile kotlin-reflect anymore.
Then simplify reflect project more: no sources — no need to pack its direct output.
2018-08-03 09:37:38 +03:00
Dmitry Petrov 1bfb75a51b Generate intrinsic-based numeric comparison only for FP types 2018-08-03 09:34:59 +03:00
Vyacheslav Gerasimov cce9505e31 Fix AbstractSpringClassAnnotatorTest compilation 2018-08-02 23:15:29 +03:00
Vyacheslav Gerasimov 5c177a86fe Use snapshot repository if platform version ends with SNAPSHOT 2018-08-02 23:15:28 +03:00
Simon Ogorodnik 07cc3bd63a KT-25733: Fix regression after optimization
#KT-25733 fixed
2018-08-02 22:41:48 +03:00
Nikolay Krasko be3f0628ef Fix file structure tests in 182 2018-08-02 21:30:05 +03:00
Vyacheslav Gerasimov 8ccfdc70ac as33: Add private bintray repo to build against custom AS 3.3 build 2018-08-02 20:53:17 +03:00
Vyacheslav Gerasimov 8fc0c1d7b0 as33: Add AS 3.3 bunchset built with AS 3.3 C4 2018-08-02 20:53:17 +03:00
Vyacheslav Gerasimov 94bbb3831a Add as33 rule to .bunch file 2018-08-02 20:53:17 +03:00
Alexander Udalov 0355746304 Implement OpenAddressLinearProbingHashTable.entries for debug when needed
Otherwise it's very difficult to view the contents of BindingContext in
debugger views
2018-08-02 18:36:22 +02:00
Vyacheslav Gerasimov 53b1a8bd37 Remove hacks introduced for 172 platform compatibility 2018-08-02 19:32:18 +03:00
Vyacheslav Gerasimov a2bf417d75 Remove 172 bunchset 2018-08-02 19:32:18 +03:00
Ilmir Usmanov 0c867b4804 Disable callable references to suspend functions in 1.2
#KT-25604: Fixed
2018-08-02 18:55:49 +03:00
Vyacheslav Gerasimov ec276a07cb Add keep rule to compiler.pro for org.jdom.output.XMLOutputter
Without this class PluginManagerCore.loadDescriptorFromJar fails
2018-08-02 18:17:08 +03:00
Vyacheslav Gerasimov 0103c0d2fd Switch to 182 platform 2018-08-02 18:17:06 +03:00
Mikhael Bogdanov a8b9393e79 Fix test data 2018-08-02 15:51:16 +02:00
Svyatoslav Scherbina e923c65704 backend.common: improve support for unsigned types 2018-08-02 16:29:39 +03:00
Svyatoslav Scherbina 1aac1c2d69 Prepare default arguments IR lowering for inline classes support
Allow `nullConst` to be customized by backend
2018-08-02 16:29:38 +03:00
Natalia Selezneva d57099088e Fix unusedReceiverParameter test 2018-08-02 15:12:56 +03:00
Nikolay Krasko 79ad0ea2ef Test for Gradle and Maven migration (KT-23401) 2018-08-02 14:44:42 +03:00
Nikolay Krasko 7aadf95f66 Don't show migration dialog if there're no project files changed (KT-23401) 2018-08-02 14:44:41 +03:00
Nikolay Krasko f0794dbc0a Ability to disable migration detection (KT-23401)
-- to disable
2018-08-02 14:44:40 +03:00
Nikolay Krasko bffbcc595c Add inspections to migration (KT-23401) 2018-08-02 14:44:40 +03:00
Nikolay Krasko 30ec73f322 Add migration action and marker fix interface (KT-23401) 2018-08-02 14:44:40 +03:00
Nikolay Krasko feb456b0e1 Migration dialog (KT-23401) 2018-08-02 14:44:39 +03:00
Nikolay Krasko 4574fd94c6 Monitor maven projects synchronization (KT-23401)
-- Maven migrator
2018-08-02 14:44:39 +03:00
Nikolay Krasko b4c88651f6 Migration detector for external systems (KT-23401) 2018-08-02 14:44:39 +03:00
Nikolay Krasko 02796783d3 Minor: update maven external system id 2018-08-02 14:44:39 +03:00
Nikolay Krasko f9845bab54 Workaround for the case when some classes are unloaded during ranking (KT-25774)
It's important that ranking preserve order of files found
in findFilesByNameInPackage()

It's only a workaround because it's expected for debugger to have
classes unloaded and some valid variants might get bad rank and
rejected because of that.

 #KT-25774 Fixed
2018-08-02 14:38:28 +03:00
Nikolay Krasko da6bcc9d46 Do not check locations inside synthetic and bridge methods
No valid psi declarations can be found for such locations leading to
negative rank.
2018-08-02 14:38:27 +03:00
Nikolay Krasko c2dc66fe1b Minor: reformat DebuggerUtils.kt 2018-08-02 14:38:26 +03:00
Nikolay Krasko 449069b1b7 Attach preceding line comments to property accessors (KT-25417)
#KT-25417 Fixed
2018-08-02 14:38:25 +03:00
Mikhael Bogdanov e3462a2999 Remove IrOnlyBoxCodegenTestGenerated test 2018-08-02 13:19:28 +02:00
Mikhael Bogdanov 6c41f078a6 Mute jvm ir box tests 2018-08-02 13:19:28 +02:00
Mikhael Bogdanov 34a12cb87c Mute 'boxAgainstJava' tests 2018-08-02 13:19:27 +02:00
Mikhael Bogdanov 7a98f5c5f7 Add 'boxAgainstJava' tests to ir test suite 2018-08-02 13:19:26 +02:00
Mikhael Bogdanov 261a00eec7 Remove IrCompileKotlinAgainstInlineKotlinTestGenerated tests 2018-08-02 13:19:26 +02:00
Mikhael Bogdanov 6c65507f29 Mute inline tests 2018-08-02 13:19:25 +02:00
Mikhael Bogdanov 9ccb25789b Unmute jvm-ir inline tests 2018-08-02 13:19:24 +02:00