Ilya Matveev
2938b69ff5
[Gradle, native] Disable platform libraries generation by default
...
Since there are a lot of changes around klibs in 1.4-M2, it was
decided to postpone enabling user-side platform libraries generation
by default. This patch switches the default distribution type to
prebuilt.
It also slightly refactors the code allowing user to choose the
distribution type. Now, there are only two distribution types
available:
- prebuilt - the default type, contains prebuilt platform libs.
A distribution archive has the "-prebuilt-" classifier.
- light - doesn't contain platform libs in an archive and
generates them at the user side. The archive has no
classifier to avoid changes in the K/N build logic and
TC configurations.
The same types are also available for 1.3 but with sightly different
convention:
- prebuilt - the default type, contains prebuilt platform libs.
A distribution archive has no classifier.
- light - aka "restricted" distribution, doesn't contain
platform libs for Apple platforms. The archive has
the "-restricted-" suffix. Doesn't have a facility
to build the libraries at the user side.
Issue #KT-38174 Fixed
2020-04-17 20:07:00 +07:00
Ilya Matveev
7ee4f4853d
[Gradle, native] Rename native distribution kind: regular -> light
2020-04-17 20:06:42 +07:00
Ilya Muradyan
d2fec96f38
Add new REPL API JVM implementation
2020-04-16 21:16:08 +02:00
Ilya Goncharov
1614c1b8a6
[Gradle, JS] Move TeamCity related classes to internal
...
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:50:35 +03:00
Ilya Goncharov
4a4ce98f24
[Gradle, JS] Make execHandle private
...
#KT-38109 fixed
2020-04-16 13:50:28 +03:00
Ilya Goncharov
75af8f958a
[Gradle, JS] Remove redundant webpack plugin in karma
...
Because it is applied in webpack config too
#KT-38109 fixed
2020-04-16 13:50:17 +03:00
Ilya Goncharov
2e1735735a
[Gradle, JS] Remove redundant spaces in stacktrace
...
#KT-38286 fixed
2020-04-16 13:50:00 +03:00
Ilya Goncharov
77d8864abd
[Gradle, JS] Refactor check on error
...
#KT-38109 fixed
2020-04-16 13:49:46 +03:00
Ilya Goncharov
5969f1dd4d
[Gradle, JS] LogType on Enum
...
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:49:32 +03:00
Ilya Goncharov
fa4003bac5
[Gradle, JS] Useful message on exception for webpack
...
#KT-38286 fixed
2020-04-16 13:49:21 +03:00
Ilya Goncharov
f8c44be865
[Gradle, JS] Config errors in webpack
...
#KT-38286 fixed
2020-04-16 13:49:07 +03:00
Ilya Goncharov
36525d6534
[Gradle, JS] Not all karma messages go through log appenders
...
#KT-38109 fixed
2020-04-16 13:48:54 +03:00
Ilya Goncharov
480a9c16fb
[Gradle, JS] Stack trace processor
...
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:48:41 +03:00
Ilya Goncharov
3c033c168c
[Gradle, JS] Beautiful log for webpack
...
#KT-38286 fixed
2020-04-16 13:48:30 +03:00
Ilya Goncharov
60dc423f17
[Gradle, JS] Don't debug twice
...
#KT-38109 fixed
2020-04-16 13:48:17 +03:00
Ilya Goncharov
61e9d13fbd
[Gradle, JS] Save stack trace for nodejs errors
...
#KT-38109 fixed
2020-04-16 13:48:04 +03:00
Ilya Goncharov
fb638c24f0
[Gradle, JS] Debug non test output
...
#KT-38109 fixed
2020-04-16 13:47:50 +03:00
Ilya Goncharov
bd94387293
[Gradle, JS] Move common process message logic
...
#KT-38109 fixed
#KT-38286 fixed
2020-04-16 13:47:38 +03:00
Ilya Goncharov
ee218e9855
[Gradle, JS] Less verbosity for karma parsing
...
#KT-38109 fixed
2020-04-16 13:47:26 +03:00
Ilya Goncharov
df41397a32
[Gradle, JS] Add cohesion for console method and message type
...
#KT-38286 fixed
2020-04-16 13:47:13 +03:00
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 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