Commit Graph

7566 Commits

Author SHA1 Message Date
Ilya Goncharov 567ebfb180 [Gradle, JS] Remove copypaste for webpack and karma parse log
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:46:58 +03:00
Ilya Goncharov db41c65240 [Gradle, JS] Typed message for log type
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:46:46 +03:00
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 Gorbunov ea1e16e309 Delegate properties to property references
#KT-8658
2020-04-15 18:37:33 +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 1672ed687b Add more tests to the maven resolver lib 2020-04-13 13:49:34 +02:00
Ilya Chernikov 5deb759e78 Rewrite new scripting maven resolver directly to eclipse aether 2020-04-13 13:49:34 +02: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 f84fd810f0 Simplify and fix classloaders handling on script evaluation
#KT-37558 fixed
2020-04-13 13:49:33 +02:00
Ilya Chernikov 138efda19f Refactor scripting - get rid of unused type parameter in CompiledScript 2020-04-13 13:49:33 +02:00
Ilya Chernikov c64ba50655 Abstract script compiled module implementation used in saving/caching
removes classloading problem when main-kts is loaded from a CL
without scripting compiler.
Also relax dependencies collection on saving to a jar and hide redundant
logging.
Running main.kts script via a run configuration works now.
#KT-37765 fixed
2020-04-13 13:49:32 +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
Abduqodiri Qurbonzoda 08ff52bee4 Introduce StringBuilder.appendLine in stdlib-common #KT-37839 2020-04-13 14:27:53 +03:00
Ilya Gorbunov ec9c7c98cd Use stubs in reduced js-ir runtime instead of new throwable extensions
To avoid bringing a lot of API required for their full implementation
to reduced runtime.
2020-04-13 09:32:42 +03:00
Ilya Gorbunov 38b1e6beab Make Throwable.printStackTrace() common
#KT-38044
2020-04-13 09:32:42 +03:00
Ilya Gorbunov 408b441a71 Rename extension toStringWithTrace to stackTraceToString
#KT-37603
2020-04-13 09:32:42 +03:00
Ilya Gorbunov 4cc9909a70 Support Firefox stack format
It doesn't include the exception type and message.
2020-04-13 09:32:42 +03:00
Ilya Gorbunov 641f1a55cb Omit common stack frames in JS full stack trace
#KT-37603
2020-04-13 09:32:41 +03:00
Ilya Gorbunov 5fe8071d71 Prevent infinite recursion in case of circular suppressed chains
#KT-37603
2020-04-13 09:32:41 +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
Dmitry Petrov 9941c255b9 KT-30330 KotlinNothingValueException 2020-04-10 08:47:02 +03:00
Alexey Tsvetkov 98f561bbed Add separate flag to control JS KLIB IC in Gradle 2020-04-10 05:35:45 +03:00
Ilya Gorbunov fc9ac67980 Tune parameters of time-sensitive tests
Lessen CPU load on the main thread.
Remove fragile checks.
2020-04-10 01:38:46 +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