Commit Graph

64418 Commits

Author SHA1 Message Date
Dmitry Petrov 9615b20e5d Box inline class return value in lambdas (including suspend lambdas) 2020-04-08 19:56:26 +03:00
Ilya Kirillov 59b72b3156 Fix 191 compilation of idea-new-project-wizard module 2020-04-08 19:22:35 +03:00
Ilya Goncharov e2c2453043 [Gradle, JS] Add toStringLoader for imported
#KT-38055 fixed
2020-04-08 18:30:18 +03:00
Ilya Goncharov f6891853e0 [Gradle, JS] Reorganize css settings with rules
#KT-38055 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov 3957758541 [Gradle, JS] Upgrade at least version to 5.3
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov bc0cfb67f6 [Gradle, JS] Css mode instead of boolean flag
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov e9bc64e103 [Gradle, JS] Add test on css and migrate one test on groovy dsl
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov 6106a07282 [Gradle, JS] Css settings for karma
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov d74c52f09a [Gradle, JS] Simplify css settings
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov 9b13c05f67 [Gradle, JS] Add css settings to config
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov 0f63e66b9f [Gradle, JS] Small fixes
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov 207666b99d [Gradle, JS] Add css settings to webpack
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov 74d95736e6 [Gradle, JS] Require source-map-loader with kotlin-source-map-loader
It is WA to download necessary dependencies for source-map-loader

#KT-32721 fixed
2020-04-08 18:30:16 +03:00
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