Ilya Kirillov
1c49b230f4
Wizard: force service to always return non-null value
2020-02-26 11:19:07 +03:00
Ilya Kirillov
05022109fc
Wizard: save some setting values in UI
...
#KT-35585 fixed
2020-02-26 11:19:07 +03:00
Ilya Kirillov
9e47d0b33c
Wizard: move Android SDK Setting to AndroidPlugin
2020-02-26 11:19:07 +03:00
Ilya Kirillov
9c5ff6c131
Wizard: create Gradle wrapper
2020-02-26 11:19:07 +03:00
Ilya Kirillov
6228fa4d3e
Wizard: remove unused function
2020-02-26 11:19:07 +03:00
Ilya Kirillov
7448b8beb0
Wizard: fix invalid android package name
...
#KT-36169 fixed
2020-02-26 11:19:07 +03:00
Ilya Kirillov
2600ebb961
Wizard: use custom module icons for every module kind
2020-02-26 11:19:06 +03:00
Ilya Kirillov
299b0f0102
Wizard: prettify error messages
2020-02-26 11:19:06 +03:00
Ilya Kirillov
72f92d7a3b
Wizard: use IntelliJ validator in UI instead of custom one
2020-02-26 11:19:06 +03:00
Ilya Kirillov
1431649c4d
Wizard: use Kotlin Gradle Icon for Gradle Kotlin build system
2020-02-26 11:19:06 +03:00
Ilya Kirillov
e1b99580eb
Wizard: introduce Android & JS multiplatform project kinds
...
#KT-36155 fixed
2020-02-26 11:19:06 +03:00
Ilya Kirillov
a5a72a89fc
Wizard: allow to create multiple JVM targets
...
#KT-36177 fixed
2020-02-26 11:19:06 +03:00
Ilya Kirillov
bb455ec8f6
Wizard: make error messages in ui clickable
...
#KT-36162 fixed
2020-02-26 11:19:06 +03:00
Ilya Kirillov
087de68b3a
Wizard: flatten JVM targets
...
#KT-36267 fixed
2020-02-26 11:19:06 +03:00
Ilya Kirillov
54c9582ac4
Wizard: fix wrong line separators
...
#KT-36328 fixed
2020-02-26 11:19:05 +03:00
Ilya Kirillov
fa4d790f5a
Wizard: add jvm target setting for JVM configurations
...
#KT-36180 fixed
2020-02-26 11:19:05 +03:00
Ilya Kirillov
fabb0584da
Wizard: remove module types for some module configurators
...
#KT-36176 fixed
2020-02-26 11:19:05 +03:00
Ilya Kirillov
0123dbce21
Wizard: trim paths in UI
...
#KT-36163 fixed
2020-02-26 11:19:05 +03:00
Ilya Kirillov
152def62cb
Wizard: get current Kotlin version from compiler
...
#KT-35693 fixed
2020-02-26 11:19:05 +03:00
Dmitry Gridin
50c2c38624
Tests: fix some tests in formatter for AS
2020-02-26 13:51:47 +07:00
Dmitry Gridin
ca598b6465
Formatter: fix indent after trailing comma in calls
...
#KT-36917 Fixed
2020-02-26 10:55:58 +07:00
Abduqodiri Qurbonzoda
1f721796b8
Add vararg overloads for maxOf/minOf functions #KT-33906
2020-02-26 04:17:19 +03:00
Vyacheslav Gerasimov
5aae3b5d27
Build: Add localBuildCacheDirectory property to KotlinBuildProperties
2020-02-25 19:37:33 +03:00
Vyacheslav Gerasimov
fc2161c2a6
Build: Don't cache :kotlin-compiler:proguard
...
Requires to mark inputs of proguard task properly
2020-02-25 19:17:02 +03:00
Dmitry Savvinov
428dcd847f
Flip default value of kotlin.gradle.testing.enabled to true
2020-02-25 17:18:49 +03:00
nataliya.valtman
d82dc86c71
Reverts commit 13afb2e4 (buildSrc bootstrap version)
2020-02-25 17:08:51 +03:00
Sergey Rostov
5e16373af6
.gradle.kts, changes notifier: process events async and on pooled thread
...
#KT-36401 Fixed
2020-02-25 16:00:20 +03:00
Mikhail Zarechenskiy
5393074d61
[NI] Update type of complex subcall for last lambda expressions
2020-02-25 15:26:25 +03:00
Dmitry Savvinov
66ef49cecc
Fix CCE under composite mode
...
This commit essentially reverts change in IdeaResolverForProject made in
423aeb9a08
The issue is that 'platform.findAnalyzerServices' may return non-
CompositeAnalyzerServices even under composite analysis mode, when
platform is single-target (e.g. 'JvmAnalyzerServices' for JVM-only)
^KT-36978
2020-02-25 15:09:49 +03:00
Ilya Kirillov
b21a9476c0
New J2K: minor, use firstNotNullResult in j2k reference resolver
2020-02-25 13:58:29 +03:00
Ilya Kirillov
b7711678c2
EA-218474: fix IAE in resolving empty fqName in new J2K
2020-02-25 13:58:29 +03:00
Ilya Kirillov
af5a70dcf5
EA-218043: fix getting resolution facade for empty list of elements in new J2K
2020-02-25 13:58:29 +03:00
Ilya Kirillov
a64526acfb
EA-210533: fix NPE in LiftReturnOrAssignmentInspection
...
It may be still active after its application due to slow IDEA responsiveness
Do not try to apply it again on invalid PSI elements
2020-02-25 13:58:29 +03:00
Ilya Kirillov
9af30f4ac7
EA-210362: fix invalid cast to KtFile in KtCodeFragment
2020-02-25 13:58:28 +03:00
Ilya Kirillov
7f50dcb3a8
EA-210234: Fix invalid access to Java resolution facade
...
Do not try to get Java resolution facade for non-Java PSI elements
2020-02-25 13:58:28 +03:00
Ilya Kirillov
af6d5b76f5
EA-209576: Fix access to disposed module in gradle importer
2020-02-25 13:58:28 +03:00
Steven Schäfer
2b6a0d6c58
JVM IR: Don't create $annotations stubs for fake overridden properties
2020-02-25 11:31:01 +01:00
Alexander Gorshenev
3eed0609b2
Brought back mppKlibs guard lost in rebase
2020-02-25 13:26:11 +03:00
Dmitry Gridin
36ebbc49f4
KotlinExpressionMover: trailing comma support
...
#KT-34744
2020-02-25 17:13:43 +07:00
Dmitry Gridin
72c8b38864
KotlinExpressionMover: convert to Kotlin
2020-02-25 17:10:58 +07:00
Dmitry Gridin
bca9242492
KotlinExpressionMover: rename .java to .kt
2020-02-25 17:03:28 +07:00
Dmitry Gridin
56064f2a92
JoinLines: add tests
2020-02-25 17:03:28 +07:00
Dmitry Gridin
feaa53c4f2
Formatter: shouldn't format property chains
...
#KT-36387 Fixed
#KT-36466 Fixed
2020-02-25 16:48:33 +07:00
Mikhail Glukhikh
522eeae062
FIR2IR: standardize expression with smart cast conversion
...
To convert smart cast expression, now we just convert
original expression in standard way and wrap it with TYPE_OP.
Before this commit original expression was converted in different way,
that led to errors e.g. for this expression casting.
2020-02-25 12:13:42 +03:00
Mikhail Glukhikh
d1fac6dce1
FIR2IR: declare receivers for all accessors of extension properties
...
Before this commit, extension receivers were declared only for
properties with container source, which is strange & inconsistent.
Now we declare accessor extension receiver iff corresponding property
has extension receiver.
2020-02-25 12:13:42 +03:00
Mikhail Glukhikh
8c155578f7
FIR2IR: generate both dispatch & extension receiver without 'else if'
2020-02-25 12:13:42 +03:00
Juan Chen
4f6fe1d0ca
[FIR]: fix translation of top-level property accesses like array.indices
...
This commit addresses the following issues:
* accessors didn't take into account their property's receiver type,
which caused NoSuchMethod due to signature mismatch. Now the property's
receiver type is passed to Fir2Ir translation of accessors.
* property's parent was not class, e.g., kotlin.collections.indices.
Now the symbol table collects WrappedPropertyDescriptorWithContainerSource
besides WrappedFunctionDescriptorWithContainerSource, so that
facade classes for such properties can be generated before codegen.
* accessor's parent was not class. Now the containerSource of
the property descriptor is passed to accessor descriptor.
2020-02-25 12:13:42 +03:00
Vladimir Dolzhenko
c9658eb6e4
Adjust tests due to keep imports for extension functions used in kdoc
...
Relates to #KT-27601
2020-02-25 09:29:39 +01:00
Vladimir Dolzhenko
afd71d3d19
Adjust tests due to "Remove argument" quick fix for TOO_MANY_ARGUMENTS
...
Relates to #KT-34026
Relates to #KT-34332
2020-02-25 09:23:46 +01:00
Dmitry Petrov
b047d78580
Minor: update testData for IR bytecode text and unmute test
2020-02-25 11:17:08 +03:00