Anton Bannykh
4e11555c46
JS: fix BasicIrBoxTest constructor & regenerate the tests
2018-04-12 13:52:21 +03:00
Dmitry Savvinov
934c56a4da
Wire StorageManager into a ClassTypeConstructorImpl and ClassDescriptorImpl
2018-04-12 13:44:10 +03:00
Mikhail Glukhikh
1477e67076
Optimize KtPropertyAccessor.hasBlockBody()
2018-04-12 11:03:41 +03:00
Mikhail Glukhikh
876563ca91
Move lambda outside: use INFORMATION for named and multiple lambdas case
2018-04-12 11:03:40 +03:00
Mikhail Glukhikh
b0553a3863
Move lambda outside parentheses: fix inspection text / formatting
2018-04-12 11:03:40 +03:00
kenji tomita
decf9939fe
MoveLambdaOutsideParentheses: intention -> inspection #KT-21413 Fixed
2018-04-12 11:03:40 +03:00
Nicolay Mitropolsky
83573ed517
181: Uast: more implementations of UCallExpressionEx
2018-04-12 10:29:07 +03:00
Alexey Tsvetkov
bd50ad87ba
Use KotlinCoreEnvironment for parsing Kotlin in IC
...
Creating and disposing CoreApplicationEnvironment on each call leads to
problems with parallel builds, while KotlinCoreEnvironment
avoids disposing application environment in case of parallel builds.
#KT-23694 fixed
2018-04-11 19:56:15 +03:00
Alexey Tsvetkov
13ac64b84a
Move parseFileUtils to incremental-compilation-impl
2018-04-11 19:56:15 +03:00
Denis Zharkov
1442dd6c2b
Avoid exponential complexity in LexicalScope::findLocalVariable
...
There was an exponential complexity in case we have a chain
of nested LexicalScopeWrapper instances:
we were walking through the chain and on each step running
the algorithm recursively.
Such a case is possible in scripts where each line contains LexicalScopeWrapper
The fix looks safe to me because delegate was used there
for checking !is ImportingScope && !is LexicalChainedScope
In all other means, being recursively run the algorithm does the same job.
#KT-22740 Fixed
2018-04-11 17:53:19 +03:00
Denis Zharkov
a3c8afade5
Minor. Reformat ScopeUtils.kt
2018-04-11 17:53:19 +03:00
Nikolay Krasko
d93dff5657
Bunch: update QuickFixMultiFileTestGenerated.java.172
2018-04-11 17:20:37 +03:00
Toshiaki Kameyama
52d72ab920
Fix AE exception in "Convert too long character literal to string"
...
So #KT-23608 Fixed
2018-04-11 17:00:38 +03:00
Toshiaki Kameyama
1cbaab1531
Preserve annotation arguments in "Add use-site target" intention
...
So #KT-23634 Fixed
2018-04-11 17:00:38 +03:00
Toshiaki Kameyama
a5aad22fe7
Don't report "Redundant Companion reference" on accessing nested object
...
So #KT-23620 Fixed
2018-04-11 17:00:37 +03:00
Toshiaki Kameyama
94c5344fd1
Check explicit type specification in "Might be const" inspection
...
So #KT-23303 Fixed
2018-04-11 17:00:37 +03:00
Felix Guo
9539212180
Take Java source file into account in "Add annotation target"
...
So #KT-22860 Fixed
2018-04-11 17:00:37 +03:00
Nikolay Krasko
5559a6edd3
Fix quick fix, refactoring and slice tests - ignore bunch files
2018-04-11 16:28:45 +03:00
Nikolay Krasko
a3d01443b9
Update bunch plugin.xml after adding "Refactor sealed sub-class to object"
...
df7968678a
2018-04-11 16:28:45 +03:00
Nikolay Krasko
672169f3be
Forgotten bunch file commit reminder
2018-04-11 16:28:45 +03:00
Nikolay Krasko
c8fb384465
Fix call to static PlatformTestCase.createModuleAt in 181
2018-04-11 16:28:45 +03:00
Vyacheslav Gerasimov
b98b02b56e
182: Suppress proguard warnings for com.intellij.util.SVGLoader
...
Depends on apache batick which has lots of dependencies, probably should be refactored out in idea
2018-04-11 16:28:44 +03:00
Vyacheslav Gerasimov
2514800ce0
182: Suppress proguard warnings for new guava nullability annotations
2018-04-11 16:28:44 +03:00
Vyacheslav Gerasimov
d9f9bf7564
182: Set picocontainer version to 1.2
2018-04-11 16:28:44 +03:00
Yan Zhulanow
6d5e49eeae
182: Android Extensions: Create application resource directory storage if absent
2018-04-11 16:28:44 +03:00
Nicolay Mitropolsky
abe0ca3bd1
182: multiPlatformSetup.kt: createTempDir is non-static in 182
2018-04-11 16:28:44 +03:00
Nicolay Mitropolsky
7a2fc4301b
182: CommonIntentionActionsTest updated to new ExpectedParameter
2018-04-11 16:28:43 +03:00
Nicolay Mitropolsky
001c5d6e3e
182: PsiReferenceBase nullability change fixes
2018-04-11 16:28:43 +03:00
Nicolay Mitropolsky
e7c3086db7
182: dep javax.annotation:jsr250-api:1.0 added to compiler/frontend.java
2018-04-11 16:28:43 +03:00
Nicolay Mitropolsky
072af7304f
182: jdk.internal.org.objectweb.asm.Opcodes -> org.jetbrains
2018-04-11 16:28:43 +03:00
Vladislav.Soroka
a1023953b4
182: KT-23383 Optional plugin dependency for kotlin gradle plugin 'java' subsystem dependent features
2018-04-11 16:28:43 +03:00
Nicolay Mitropolsky
c7c565ffa7
182: velocity-dependency fix for idea 182
2018-04-11 16:28:43 +03:00
Nicolay Mitropolsky
316826ef9b
182: CommonIntentionActionsTest-tests fix after createPropertyActions dropping in platform
2018-04-11 16:28:42 +03:00
Nicolay Mitropolsky
1b783070b5
182: generic PopupChooserBuilder<T> compilation fix
2018-04-11 16:28:42 +03:00
Nicolay Mitropolsky
fdb98fd4ab
182: KotlinOutputChecker.myTestName compilation fix
2018-04-11 16:28:42 +03:00
Nicolay Mitropolsky
41c30f06bb
182: KotlinElementActionsFactory.createAddAnnotationActions implementation (KT-22876)
2018-04-11 16:28:42 +03:00
Alexey Tsvetkov
d5f26f2d8d
182: Add oro version for 182
2018-04-11 16:28:41 +03:00
Alexey Tsvetkov
2f4dcd609c
182: Remove deprecated StoragePathMacros usages
...
Deprecated `StoragePathMacros.PROJECT_CONFIG_DIR` and
`StoragePathMacros.PROJECT_FILE` were removed in Intellij.
2018-04-11 16:28:41 +03:00
Alexey Tsvetkov
619663cc88
182: Remove com.android.annotations.NonNull usage from TestUtils.java
...
It is not present in Intellij (182.*) anymore.
Also `org.jetbrains.annotations.NotNull` seems OK here as well.
2018-04-11 16:28:41 +03:00
Alexey Tsvetkov
4fc89631a5
182: Update Guava version
2018-04-11 16:28:41 +03:00
Nicolay Mitropolsky
29b7e460dd
182: fixup: compilation fix: PlatformTestCase.myFilesToDelete made non-static in Platform
2018-04-11 16:28:41 +03:00
Nicolay Mitropolsky
44605580f3
182: compilation fix: PlatformTestCase.myFilesToDelete made non-static in Platform
...
some code from `PlatformTestCase` were copy-pasted to `KotlinLightCodeInsightFixtureTestCaseBase` because `PlatformTestCase` is not in it's type hierarchy, and thus we cant use these methods from `PlatformTestCase` when they became non-static
2018-04-11 16:28:40 +03:00
Nicolay Mitropolsky
22186c05b4
182: KotlinDecompilerServiceImpl and KtParsingTestCase compilation fixes
2018-04-11 16:28:40 +03:00
Vyacheslav Gerasimov
9e64b240ac
182: Set since-build to "182.1" & until-build to "182.*"
2018-04-11 16:28:40 +03:00
Vyacheslav Gerasimov
b37496c3fc
182: Fix compilation for idea 182, nullability changes mostly
2018-04-11 16:28:39 +03:00
Vyacheslav Gerasimov
ff1ce44c8b
182: Fix build scripts for idea 182
2018-04-11 16:28:39 +03:00
Vyacheslav Gerasimov
67d4ba200a
182: Build against idea 182-SNAPSHOT
2018-04-11 16:28:39 +03:00
Vyacheslav Gerasimov
75b2a29a91
182: Build: Add versions for 182 platform
2018-04-11 16:28:39 +03:00
Vyacheslav Gerasimov
1c9a2c5d30
182: Build: Support idea SNAPSHOT version
2018-04-11 16:28:39 +03:00
Vyacheslav Gerasimov
8af4ae0409
182: == 181 -> 182 ^^^ ==
2018-04-11 16:28:39 +03:00