Commit Graph

63955 Commits

Author SHA1 Message Date
Ilya Goncharov f308bfd75f [Gradle, JS] Use let for config instead of var
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov f55998a015 [Gradle, JS] Update evaluate reporting
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov dd320040cd [Gradle, JS] Progress reporter before custom config
#KT-32721 fixed
2020-04-08 18:30:15 +03:00
Ilya Kirillov 445ca97486 Wizard: rename project templates to their corresponding titles 2020-04-08 16:49:32 +03:00
Ilya Kirillov 588034e124 Wizard: add ability to open project wizard via hyperlink 2020-04-08 16:49:31 +03:00
Ilya Kirillov 91af859cb5 Wizard: do now allow project view occupy all space 2020-04-08 16:49:30 +03:00
Ilya Kirillov 80f09d66db Wizard: rework build system component 2020-04-08 16:49:29 +03:00
Ilya Kirillov c1f40907db Wizard: fix layout & text problems 2020-04-08 16:49:27 +03:00
Ilya Kirillov c313916044 Wizard: upgrade Gradle version to 6.3
#KT-37932 fixed
2020-04-08 16:49:26 +03:00
Ilya Kirillov 4db1934cfd Wizard: do not allow choosing build system if corresponding IJ plugin is disabled
#KT-38061 fixed
2020-04-08 16:49:25 +03:00
Ilya Kirillov a6af27d852 Wizard: allow specifying Kotlin target version for JPS build system
#KT-37970 fixed
2020-04-08 16:49:24 +03:00
Ilya Kirillov 82a40e3394 Wizard: fix invalid repository when downloading jars for JPS
#KT-37956 fixed
2020-04-08 16:49:23 +03:00
Ilya Kirillov 5f917827b5 Wizard: update wizard directory & name on project creation
#KT-37974 fixed
2020-04-08 16:49:23 +03:00
Ilya Kirillov 8f8039ab4f Wizard: do not show wizard when creating new module
#KT-37973 fixed
2020-04-08 16:49:22 +03:00
Mikhail Glukhikh 1bab27c4c1 Add immutable collections to compiler dist (required for FIR) 2020-04-08 16:10:34 +03:00
Anton Yalyshev db4b547c99 Fix spaces in FUS event_id and context, as it cause problems in whitelisting 2020-04-08 15:35:54 +03:00
Sergey Rostov e82b8a1bdc buildSrc, kotlin-dsl plugin: suppress experimentalWarning
This warning is about https://docs.gradle.org/current/userguide/kotlin_dsl.html#sec:kotlin-dsl_plugin.

It appears after we are strating using our bootstrap plugin for buildSrc
 too. It is unlikely that new compiler will broke build scripts
 compilation for our project, so we can suppress it.
2020-04-08 15:15:16 +03:00
Toshiaki Kameyama 06bd620dd6 Replace with: do not remove annotation use-site targets 2020-04-08 19:09:53 +07:00
simon.ogorodnik f573719cc1 [FIR] Fix missing receiver type if anonymous function without label 2020-04-08 14:56:17 +03:00
simon.ogorodnik d2fd377605 [FIR] Add rendering of delegating constructor calls to html dump 2020-04-08 14:56:16 +03:00
Irene Dea 419d6d0015 [zipPlugin task] Remove deprecated calls and allow default destination path for empty pluginZipPath argument. (#3254)
Co-authored-by: Alanna Tempest <atem@fb.com>

Co-authored-by: Alanna Tempest <atem@fb.com>
2020-04-08 14:54:08 +03:00
Victor Turansky 5d34b156bf Gradle plugin publish plugin security update (#3246) 2020-04-08 14:52:03 +03:00
Victor Turansky dbffe6d2be README Actualize IDEA instructions 2020-04-08 14:48:53 +03:00
Anton Bannykh 998218716d IR: make lateinit lowering traverse local classes 2020-04-08 14:44:25 +03:00
Dmitry Gridin 81bd8f8c31 TrailingCommaInspection: cleanup code 2020-04-08 18:39:59 +07:00
Leonid Startsev 60efab24ea Add @SerializableWith on objects too
to be able to retrieve them via getAssociatedObject and serializer<T>()
function. Now object itself is a SerializerFactory.
2020-04-08 14:12:01 +03:00
Leonid Startsev d4fc6774f3 Support new 'typeParametersSerializers' function
from GeneratedSerializer
2020-04-08 14:12:01 +03:00
Leonid Startsev ceb3cfbfd5 Remove update* calls 2020-04-08 14:12:01 +03:00
Leonid Startsev add0b461ee Refactor calls to beginStructure
typeParams argument has been removed
2020-04-08 14:12:00 +03:00
pyos 0037d5a7c8 JVM: erase conditional suspension markers from inline-only functions
Otherwise, the generated bytecode is unnecessarily suboptimal in some
(arguably weird) cases.

In the JVM backend, this was an accidental regression in #3260, as I had
not noticed that effectively inline-only functions were handled by a
separate branch in FunctionCodegen. In JVM_IR, I'm pretty sure the
redundant markers have always been there as `isSuspensionPoint` in
ExpressionCodegen never checked for effectively-inline-only-ness.
2020-04-08 12:31:23 +02:00
Dmitriy Novozhilov f6d9867fa4 Add benchmark for plusAssign desugaring
#KT-38101
2020-04-08 12:35:54 +03:00
Dmitry Petrov 0c21d63290 Box inline class return value in covariant override of suspend fun 2020-04-08 10:50:58 +03:00
Dmitriy Novozhilov 8a2b39d647 [FIR] Add checking receivers of callable references 2020-04-08 10:38:45 +03:00
Igor Chevdar b54148a6f1 Added a test on lateinit var inside a local class 2020-04-08 10:33:14 +03:00
Mikhail Bogdanov 1772f20d48 Minor. Add smap test for multifile facade 2020-04-08 07:26:55 +02:00
pyos 9334327bbf JVM_IR: unmute two more tests fixed by #3106 2020-04-08 07:04:16 +02:00
pyos b3e124ad66 Add a test where classes call inline functions from each other 2020-04-08 07:04:16 +02:00
pyos 9ed73439f8 JVM_IR: delay writes to the source map until generateMethod
`generateMethodNode` should not have any side effects for the output to
be stable under incremental compilation.
2020-04-08 07:04:16 +02:00
pyos 495cefe65d Dump bytecode in a test that shows the effect of recompiling inline funs 2020-04-08 07:04:16 +02:00
pyos f765963056 Split JVM backend diagnostics test into IR and non-IR versions
The IR backend no longer generates redundant INLINE_CALL_CYCLEs.
2020-04-08 07:04:16 +02:00
pyos 82899e6243 JVM_IR: reuse MethodNodes for inline functions in same module
This fixes the weird cases when a class gets overwritten by an imperfect
copy, reduces the number of classes in the output if an inline function
contains an inline call that causes it to have regenerated anonymous
objects, and makes inlining of same module functions a bit faster in
general. On the other hand, this may increase memory footprint a bit
because classes cannot be flushed to the output jar, as the inliner
would not be able to locate classes for anonymous objects if they have
already been unloaded from memory.
2020-04-08 07:04:16 +02:00
Alexander Gorshenev 97be5617ca Renamed -Xklib-mpp to -Xexpect-actual-linker to reduce user confusion 2020-04-08 05:23:12 +03:00
Mikhail Zarechenskiy 86fd4da567 [UAST] Fix mapping types containing type aliases
#KT-27935 Fixed
2020-04-08 01:25:14 +03:00
Mikhail Zarechenskiy 73e1ddc505 Allow Result as a return type if one enabled inline classes explicitly
#KT-38042 Fixed
2020-04-08 01:25:13 +03:00
Valentin Kipyatkov 1ffdc11d31 Suggest signature refactoring also for members of expect class 2020-04-07 22:17:05 +03:00
Valentin Kipyatkov a5dc2b5b2a Suggested change signature: do not ask to enter values for optional parameters
#KT-37797 Fixed
2020-04-07 22:17:05 +03:00
Valentin Kipyatkov f4a245e12a Dropped hack in initialization of KotlinParameterInfo which is not needed anymore 2020-04-07 22:17:05 +03:00
Valentin Kipyatkov 4f19dd5fe1 Code refactoring 2020-04-07 22:17:05 +03:00
Valentin Kipyatkov e49ca20d17 Code improvements 2020-04-07 22:17:05 +03:00
Valentin Kipyatkov 88cd129549 Fixed other parameter references broken in new parameter values in conventional Change Signature 2020-04-07 22:17:04 +03:00