Alexander Udalov
72c52d37ae
Add some -X flags for compatibility to kotlin-reflect build
...
"-Xno-kotlin-nothing-value-exception" is needed to temporarily prevent
the problem happening in the composite build with Kotlin/Native
(ClassNotFoundException from KClassImpl.Data).
"-Xno-optimized-callable-references" is added just in case of any
similar problem.
2020-04-17 18:34:45 +02:00
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 Chernikov
d1a59e8da6
Fix js repl tests compilation
2020-04-17 13:38:51 +02:00
Ilya Muradyan
d2fec96f38
Add new REPL API JVM implementation
2020-04-16 21:16:08 +02:00
Ilya Muradyan
4c2c44b106
Add new REPL API
2020-04-16 21:16:08 +02:00
Ilya Muradyan
b240fce224
Add incompleteCode diagnostic type
2020-04-16 21:16:08 +02:00
Ilya Muradyan
af251cafa4
Add info about the end of range in scripting REPL compiler messages
2020-04-16 21:16:08 +02:00
Ilya Muradyan
a70a128d9e
Fix typo in property name
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 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