Ilya Gorbunov
22255a5cc4
stdlib-jvm: move JVM specific sources, add actual modifier where required
...
Update copyright path after moving JVM sources
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
93f7a46ba4
stdlib-jvm: build as multiplatform, move project to jvm subfolder
...
Fix path with stdlib-jvm artifacts for public api test
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
0fb3393ee1
stdlib-js: build as multiplatform
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
69ebb3bfb0
Switch to the new stdlib source generation scheme
...
Remove old generated sources for stdlib-jvm and stdlib-js
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
ae62cd6570
Do not produce original kotlin-stdlib public api dump anymore
...
It was produced from the kotlin-stdlib of 1.0 which was separate from the kotlin-runtime.
The actual dump is in kotlin-stdlib-runtime-merged.txt
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
70236d4824
Build standard library for JVM from a single source set
...
Add explicit imports for kotlin.* and kotlin.text.* to prevent typealiases
conflicting with their aliased types from default imports.
2018-04-12 17:53:00 +03:00
Mikhail Zarechenskiy
cfc940af66
Avoid deprecated access by short name though companion object
2018-04-12 17:35:07 +03:00
Raluca Sauciuc
89d61ee12d
Support androidx packages
...
... in the IDE plugin and the Android extensions compiler.
Change-Id: Iffd58351b0592e12ffc937c06d871d26958fe161
2018-04-12 16:29:13 +03:00
Mikhail Zarechenskiy
612baacc25
Make useless elvis diagnostic more consistent for new and old inference
...
Also, remove diagnostics that can be covered by usual USELESS_ELVIS diagnostic
2018-04-12 14:38:55 +03:00
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