Alexey Sedunov
ea66e1e3f7
Copy: Fix exception on copying KtFile to non-KtFile
...
#KT-22669 Fixed
2018-04-13 20:23:05 +03:00
Alexey Sedunov
bf106d01b8
Find Usages: Restrict search scope of private top-level declarations
...
#KT-7622 Fixed
2018-04-13 20:23:04 +03:00
Mikhail Glukhikh
c172810d1d
Simplify boolean with constants optimization: use partial analysis
2018-04-13 19:11:55 +03:00
Toshiaki Kameyama
90be6235f7
Expand Selection on opening curly brace should select the entire block right away #KT-18769 Fixed
2018-04-13 13:23:42 +03:00
Nikolay Krasko
2227d205c7
Bunch: update "MoveLambdaOutsideParentheses: intention -> inspection"
...
decf9939fe
2018-04-13 10:45:32 +03:00
Nikolay Krasko
0253fe7c16
Bunch: update after "Wire StorageManager into a ..."
...
934c56a4da
2018-04-13 10:45:28 +03:00
Alexander Udalov
30b9caeae6
Fix NPE in data class 'equals' codegen
...
Do not perform the optimization from 0a11385006 for data class
properties of nullable types
2018-04-12 22:19:30 +02:00
Nikolay Krasko
579b773388
172: Remove 172 specific from psiModificationUtils.kt and KtPsiFactory.kt
2018-04-12 19:29:01 +03:00
Nikolay Krasko
2260f66e02
Unify usage of ProgressManager.progressIndicator
2018-04-12 19:29:01 +03:00
Alexander Udalov
1b1e4ab970
Fix stdlib test path in GenerateRangesCodegenTestData
...
This fixes `./gradlew generateTests`
2018-04-12 18:28:17 +02:00
Alexey Tsvetkov
ea8f2b5cd8
Clear MockApplication in ClassesFqNamesTest
2018-04-12 18:26:50 +03:00
Ilya Gorbunov
9c7fefba69
Restore default values in actual functions that have default values in expect
...
Suppress error about default argument values in actuals.
The suppression can be removed when/if KT-23548 is implemented.
This is to avoid degrading experience in docs and IDE when working with
these functions.
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
f7546c809d
Minor: use common implementation of doubleTotalOrderEquals for tests
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
2826733e87
Put common sources into kotlin-stdlib-sources going into dist
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
136e6b64f2
In tests use stdlib sources from jar rather than from original locations
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
7ccbd36304
Set module name for common projects, this isn't done automatically yet
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
0e4925a20f
Remove UNUSED_PARAMETER warning suppression from actual declarations
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
ac3de447ae
Do not use code preprocessing anymore
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
37787f9769
Stdlib docs build: use multiplatform sources
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
9dd87d89ba
Remove default values in actual functions that have default values in expect
...
Remove suppressions about default values in expect declarations
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
f7b2eba680
Do not mix expect/non-expect overloads of minOf/maxOf
...
Workaround for KT-22520
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
912c69aaa3
Suppress expect-actual mismatch for relaxed array extensions
...
Due to KT-21937
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
38be99daa3
Build stdlib-jdk7/8 tests as multiplatform manually
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
9b38e5e7b5
stdlib tests: move JVM-only test source files
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
ba873e2b46
stdlib tests: provide expect/actual helper functions
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
ee9608f8db
stdlib-js: add actual modifiers where required
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
1be55db681
stdlib-common: remove common migration typealias for Volatile annotation
...
Otherwise it gets to jvm stdlib as new API.
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
0164f9b730
stdlib-common: correct common exception type declarations
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
10be42ddaa
stdlib-common: suppress missing Comparator SAM constructor in JVM
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
d97707d6f7
Add JvmMultifileClass to preserve public API surface
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
23d0e5f2e1
Workarounds to build parts of stdlib as kotlin-runtime and mock runtime
...
Fix source paths of kotlin-stdlib-minimal-for-tests
2018-04-12 17:53:00 +03:00
Ilya Gorbunov
7c74083f09
runtime-jvm: add actual modifiers where required
2018-04-12 17:53:00 +03:00
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