Commit Graph

4540 Commits

Author SHA1 Message Date
Ilya Goncharov dccf670849 [Gradle, JS] Simple message to message
#KT-38109 fixed
2020-04-16 13:46:18 +03:00
Ilya Goncharov 47d7424d4d [Gradle, JS] Fix formatting logic
#KT-38109 fixed
2020-04-16 13:46:01 +03:00
Ilya Goncharov 7347c44cb1 [Gradle, JS] Divide tc message type on stdout and stderr
#KT-38109 fixed
2020-04-16 13:45:43 +03:00
Ilya Goncharov 70f6ad7691 [Gradle, JS] All karma output to debug
#KT-38109 fixed
2020-04-16 13:45:24 +03:00
Ilya Goncharov e1793c59be [Gradle, JS] Add custom log4js appender to KotlinKarma
#KT-38109 fixed
2020-04-16 13:44:02 +03:00
Ilya Goncharov 005ecc5f29 [Gradle, JS] Add TeamCity simple message log4js appender
#KT-38109 fixed
2020-04-16 13:39:19 +03:00
Ilya Goncharov 91a25417f5 [Gradle, JS] Add custom log4js appender for karma
#KT-38109 fixed
2020-04-16 13:38:56 +03:00
Ilya Goncharov f0e033b97c [Gradle, JS] Process Karma messages to Gradle log
#KT-38109 fixed
2020-04-16 13:38:37 +03:00
Ilya Goncharov 0534773545 [Gradle, JS] Parse karma output to find problem with browser launch
#KT-38109 fixed
2020-04-16 13:37:09 +03:00
Ilya Gorbunov 893021f22b Introduce runningFold and runningReduce operations
runningFold is a synonym for scan,
runningReduce replaces scanReduce.

#KT-38060
2020-04-15 23:28:07 +03:00
Ilya Goncharov fbac2f5ea3 [Gradle, JS] Make inputFileProperty optional 2020-04-14 15:42:29 +03:00
nataliya.valtman ce2ae58ffb use gradle execOperation and set args in file 2020-04-13 23:05:26 +03:00
Ilya Chernikov 195a90d333 Cleanup warnings in scripting code 2020-04-13 13:49:34 +02:00
Ilya Chernikov d863dc04e6 Move compiler scripting tests to scripting plugin, remove unused funs
also remove some tests that are covered in the scripting-compiler
tests now.
Part of the cleanup to rewrite scripting to the new infrastructure.
2020-04-13 13:49:34 +02:00
Ilya Chernikov 278f77713d Fix default base classloader initialization for scripting hosts
also refactor runner functions
#KT-37823 fixed
2020-04-13 13:49:32 +02:00
Ilya Gorbunov 408b441a71 Rename extension toStringWithTrace to stackTraceToString
#KT-37603
2020-04-13 09:32:42 +03:00
Ilya Gorbunov 552bcdb31b Introduce Throwable.toStringWithTrace
#KT-37603
2020-04-13 09:32:41 +03:00
Ilya Gorbunov 7b7263c5bf Implement common Throwable.addSuppressed/suppressed extensions
Instead of `suppressed` Array we provide `suppressedExceptions` List

#KT-23737
2020-04-13 09:32:41 +03:00
Ilya Kirillov 22a6cdcc16 Wizard: fix tests 2020-04-11 13:22:49 +03:00
Ilya Kirillov 679ad4ca67 Wizard: fix small ui problems 2020-04-11 13:22:48 +03:00
Ilya Kirillov 7ad7d28d97 Wizard: fix FUS collector for wizard 2020-04-11 13:22:46 +03:00
Ilya Kirillov be6cd4de4a Wizard: allow creating module without unit test engine & create JPS projects without one by default 2020-04-11 13:22:45 +03:00
Ilya Kirillov e6a3caa267 Wizard: introduce gradle IR builder 2020-04-11 13:22:42 +03:00
Ilya Kirillov aa3cdc09fc Wizard: update libraries versions
#KT-38124 fixed
2020-04-11 13:22:41 +03:00
Ilya Kirillov 7c011c48dd Wizard: move hardcoded versions to Versions.kt 2020-04-11 13:22:41 +03:00
Ilya Matveev 254a978a06 Gradle, native: Forbid parallel in-process compiler execution
After enabling the in-process compiler execution, we got several
reports related to the race condition that takes place during
system properties configuring (e.g. KT-37442, KT-37444, probably
KT-37362).

The right fix here is to get rid of using system properties at all.
But it requires changes in many places of the K/N compiler and such
a patch is not safe enough to include it into a bug-fix release. So
it's decided to forbid parallel in-process compiler execution in
1.3.71 and 1.4-M2.

Issue #KT-37565 Fixed
Issue #KT-37696 Fixed

Ported from:
https://github.com/JetBrains/kotlin/commit/1c1b637cc46012a22867d8e653bb6d94ed6138ba
https://github.com/JetBrains/kotlin/commit/2128d3dfe77db4e0a8450f4f943cbd13c2e5dd4d
2020-04-11 12:40:50 +07:00
Abduqodiri Qurbonzoda f2c05bf82c IR: Move annotation @JsExport to common source set in stdlib #KT-35966 2020-04-11 04:03:57 +03:00
Abduqodiri Qurbonzoda 4a7b1b210a Add onEachIndexed similar to forEachIndexed #KT-37161 2020-04-11 03:47:47 +03:00
Ilya Gorbunov 15319eb88e Implement in-place shuffle for arrays
Minor: reorder shuffle/shuffled extensions more consistently

#KT-25651 Fixed
2020-04-10 11:04:51 +03:00
Ilya Gorbunov e58f1c8932 Introduce Sequence.shuffled
#KT-37751
2020-04-10 10:59:40 +03:00
Alexey Tsvetkov 98f561bbed Add separate flag to control JS KLIB IC in Gradle 2020-04-10 05:35:45 +03:00
Yaroslav Chernyshev ebb225fa4e [Gradle, Native] Fix CocoaPods plugin regression related with Xcode build 2020-04-10 00:41:29 +03:00
Ilya Kirillov ac0d34089a Wizard: add run configuration for Ktor server template 2020-04-09 23:11:40 +03:00
Ilya Kirillov 67f95c21da Wizard: fix missed setting in Ktor template
#KT-38120 fixed
2020-04-09 23:11:40 +03:00
Ilya Kirillov 4cfa2f95a7 Wizard: add m2 Gradle plugin repository for non-stable Kotlin versions
#KT-36136 fixed
2020-04-09 23:11:40 +03:00
Ilya Kirillov 367699a853 Wizard: fix js Gradle dsl
#KT-38121 fixed
2020-04-09 23:11:39 +03:00
Ilya Kirillov 4e91f1c607 Wizard: update Kotlin version for tests to dev one
Needed for support latest syntax of Gradle dsl for js
2020-04-09 23:11:39 +03:00
Ilya Kirillov 9badcae692 Wizard: move some hardcoded versions to constants 2020-04-09 23:11:39 +03:00
Leonid Startsev 63322b9891 Add explicitApiWarning() method
to enable warning state of explicit api mode in the same
way that strict state. (KT-36019)
2020-04-09 15:33:04 +03:00
Ilya Matveev 02c4008690 [Gradle, native] Blacklist java.endorsed.dirs for all tools
System property java.endorsed.dirs is set by IDEA but not supported
since Java 9 preventing starting a JVM. This patch takes this into
account and blacklists this property for all K/N tools including
the commonizer.

See also:
https://youtrack.jetbrains.com/issue/IDEA-193219
https://youtrack.jetbrains.com/issue/KT-25887
2020-04-09 13:07:43 +07:00
Ilya Kirillov 2a21b18c1c Wizard: fix texts 2020-04-08 21:42:09 +03:00
Alexander Udalov 9f758b4f25 Support toString for AdaptedFunctionReference subclasses
Also make it serializable like other lambdas, suspend lambdas and normal
callable references.
2020-04-08 19:16:38 +02:00
Alexander Udalov 0681231e99 Introduce AdaptedFunctionReference runtime class
It's used as a superclass for anonymous classes for adapted function
references. Its main feature is that it _doesn't_ inherit from KFunction
(as opposed to FunctionReference), as per the decision to postpone
reflection support for adapted function references in KT-36024.

 #KT-36024 Fixed
2020-04-08 19:15:38 +02: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