Commit Graph

57236 Commits

Author SHA1 Message Date
Nikolay Krasko edd2cedfd3 Disable GradleConfiguratorPlatformSpecificTest in AS 3.6 2019-08-30 22:26:00 +03:00
Nikolay Krasko 5fa2b62de4 Fix test failures in AS 3.6 because of InjectedLanguageManager (KT-33606)
Advance android studio to 3.6 Canary 8 where problem with
InjectedLanguageManager is already fixed.
2019-08-30 22:26:00 +03:00
Nikolay Krasko c0270ef47b More plugins registration for Android Studio 3.6 2019-08-30 22:26:00 +03:00
Nikolay Krasko e28802fbfa Fix test failure because of duplicates file templates in classpath
There're two ways for getting templates in test runtime. One is from
sources resource files, the second one is from compiled jar.

Remove the first entry manually.

A better fix is to extract tests to separate module. This will leave
only jar in the test runtime classpath.
2019-08-30 22:25:59 +03:00
Igor Yakovlev 0eea2479fc Added possibility to override Path Chooser for MoveKotlinNestedClassesToUpperLevelModel 2019-08-30 20:59:53 +03:00
Simon Ogorodnik 99972a08a1 [FIR] Fix table rendering 2019-08-30 16:51:25 +03:00
Simon Ogorodnik 438c90b477 Silence fir bench output for diagnostic smoke tests 2019-08-30 16:32:48 +03:00
Simon Ogorodnik 312e93859b Add more info to fir bench report & format as table
Properly measure raw fir builder time in fir benchmark
2019-08-30 16:32:48 +03:00
Vladimir Krivosheev dca88db16a remove unused org.jetbrains.kotlin.idea.inspections.gradle.KotlinPlatformGradleDetector EP
Not required after https://github.com/JetBrains/kotlin/commit/cc85ac44b30efbee2aff6664b30249fac931344b

Leads to warning in IDEA 2019.3
2019-08-30 16:15:27 +03:00
Igor Yakovlev 02a6a1ea49 Fix ExtractDeclarationFromCurrentFileIntention assertion
Refactorings should be invoked inside transaction 'exception occurs when extracting sealed class from file with the same name assertion failed when refactoring tries to use MoveKotlinTopLevelDeclarationsDialog
+ move refactorings
+ small improvement of applicability range calculation

Fixed #KT-33357
2019-08-30 14:31:34 +03:00
Svyatoslav Kuzmich 9594e9b3b1 [JS IR BE] Initial export generation 2019-08-30 13:15:37 +03:00
Svyatoslav Kuzmich 6670180782 [JS IR BE] Use internal visibility for generated helper methods 2019-08-30 13:15:37 +03:00
Vasily Levchenko 22c53e14e6 [IR][inliner] fixed occasional endless recursion in InlinerExpressionLocationHint::toString 2019-08-30 12:23:18 +03:00
Nikolay Krasko 8218ca5bae More 182 branch mentioning remove
#KT-33536 Fixed
2019-08-30 12:14:58 +03:00
Nikolay Krasko 8ae4293a0f Remove 181 branch from build scripts
#KT-33536 Fixed
2019-08-30 12:14:54 +03:00
Nikolay Krasko 0ae9240e5f Remove 182 and AS33 from build scripts
#KT-33536 Fixed
2019-08-30 12:14:50 +03:00
Nikolay Krasko 51cfafc619 Minor: advance comment
#KT-33536 Fixed
2019-08-30 12:14:46 +03:00
Nikolay Krasko 3989f5244f Minor: Fix comment about absent method
#KT-33536 Fixed
2019-08-30 12:14:42 +03:00
Nikolay Krasko d04749dd3f Remove other specific code after removing 182
#KT-33536 Fixed
2019-08-30 12:14:38 +03:00
Nikolay Krasko 63f0eae7e2 Remove CodeStyleSettingsProviderCompat.java after removing 182
#KT-33536 Fixed
2019-08-30 12:14:34 +03:00
Nikolay Krasko d1aca83dd5 Remove getInvalidIcon default implementation after removing 182
#KT-33536 Fixed
2019-08-30 12:14:30 +03:00
Nikolay Krasko edb83f4ed9 Remove IconExtensionChooser and png icons after removing 182
#KT-33536 Fixed
2019-08-30 12:14:25 +03:00
Nikolay Krasko 888a93115f Use function icon from the platform after removing 182
#KT-33536 Fixed
2019-08-30 12:14:21 +03:00
Nikolay Krasko 169aa6348c Remove runConfigurationsCompat.kt after removing 182
#KT-33536 Fixed
2019-08-30 12:14:16 +03:00
Nikolay Krasko ddcadc8138 Remove default implementations after removing 182
#KT-33536 Fixed
2019-08-30 12:14:12 +03:00
Nikolay Krasko 081ffe7d19 Remove ScriptModificationListener compat after removing 182
#KT-33536 Fixed
2019-08-30 12:14:07 +03:00
Nikolay Krasko 23f488498f Remove EditorFactoryListenerWrapper compat after removing 182
#KT-33536 Fixed
2019-08-30 12:14:01 +03:00
Nikolay Krasko 9abdddf09a Remove psiFile extension after removing 182
#KT-33536 Fixed
2019-08-30 12:13:56 +03:00
Nikolay Krasko 372c6377e8 Remove AstLoadingUtil after removing 182
#KT-33536 Fixed
2019-08-30 12:13:50 +03:00
Nikolay Krasko 4d0fc1dc22 Remove 182 support
#KT-33536 Fixed
2019-08-30 12:13:44 +03:00
Nikolay Krasko 1c4ee6bd79 Remove as33 support
#KT-33536 Fixed
2019-08-30 12:13:09 +03:00
Toshiaki Kameyama 0ec18b4a33 Explicit this inspection: fix false negative with local variable
#KT-30136 Fixed
2019-08-30 12:07:13 +03:00
Ivan Cilcic eb469b924f Add frontend visualizer module auto test in gradle 2019-08-30 11:54:27 +03:00
Ivan Cilcic 24cce75899 Add FIR_IGNORE directive to test files that must be skipped 2019-08-30 11:54:21 +03:00
Ivan Cilcic 350bd33769 Move FirRenderer class inside FirVisualizer to avoid ambiguity with existed FirRenderer 2019-08-30 11:50:35 +03:00
Ivan Cilcic 262f57d938 Add more tests in uncommonCases folder
1) dataClass.kt - test with data class
2) receiver.kt - test with Int extension receiver
3) delegation.kt - test with implementation by delegation
2019-08-30 11:50:35 +03:00
Ivan Cilcic b8ef09a157 Repalce work with stack variable to work with extension functions 2019-08-30 11:50:34 +03:00
Ivan Cilcic fd461a5147 Fix current package removing from properties 2019-08-30 11:50:34 +03:00
Ivan Cilcic f0e7dcc4f6 Fix superTypes test by adding parameter to primary constructor 2019-08-30 11:50:34 +03:00
Ivan Cilcic f0c7aadb20 Exctract common code from psi and fir visualizer classes 2019-08-30 11:50:33 +03:00
Ivan Cilcic d504774527 Create fir renderer class 2019-08-30 11:50:33 +03:00
Ivan Cilcic 7a45155eb3 Create tests for fir visualizer 2019-08-30 11:50:33 +03:00
Ivan Cilcic 2179f97006 Create fir visualizer abstract test class and extract common code with psi tests 2019-08-30 11:50:32 +03:00
Ivan Cilcic fe328f8c7a Add some additional information to psi renderer
1) Trim unused spaces in annotations
2) Rewrote fq name rendering
3) Added annotations to for loop variable
4) Added type arguments render along to type parameters in functions
2019-08-30 11:50:32 +03:00
Ivan Cilcic 8fb2383845 Move psi visualizer test to separate "psi" package 2019-08-30 11:50:32 +03:00
Ivan Cilcic aebe8c36f5 Add test methods and data for uncommon cases
Uncommon means mostly that aren't present in raw fir builder data
2019-08-30 11:50:31 +03:00
Ivan Cilcic 8047aa22a4 Add test methods and data base on raw fir builder test data 2019-08-30 11:50:31 +03:00
Ivan Cilcic fd8205e317 Add removing current file package name from fq name 2019-08-30 11:50:31 +03:00
Ivan Cilcic d2e47aea01 Change render to separate package names with slash symbol 2019-08-30 11:50:30 +03:00
Ivan Cilcic 08c9fa5259 Rewrite Annotator to be able to put several annotations in one position 2019-08-30 11:50:30 +03:00