Ilya Muradyan
23faacd21b
[Scripting] Expose scripting-dependencies as API of Maven resolver
2021-05-22 04:10:39 +03:00
Ilya Muradyan
0e7d690923
[Scripting] Change compile to implementation in Maven resolver
2021-05-22 00:38:46 +03:00
Ilya Muradyan
bead0e3412
[Scripting] Fix Maven resolver dependencies
2021-05-22 00:38:44 +03:00
Ilya Muradyan
7caadd87a2
[Scripting] Get rid of unneeded dependencies in Maven resolver
2021-05-19 18:32:48 +03:00
Ilya Muradyan
55a9f1a910
[Scripting] Make AetherResolveSession internal and do related refactorings
2021-05-17 18:22:29 +03:00
Ilya Muradyan
a0cc88ab5a
[Scripting] Add transitive support for Maven Resolver
2021-05-17 18:22:28 +03:00
Ilya Muradyan
b77a822822
[Scripting] Add authorization for Maven Resolver
2021-05-17 18:22:26 +03:00
Ilya Muradyan
78c65ab802
[Scripting] Bump up Maven resolver JARs version
2021-05-17 18:22:25 +03:00
Ilya Muradyan
bab5d16001
[REPL] Stop old classpath calculation on the base classloader
...
The mechanism of the recursive classpath checking is intended
for the "inner" scripting/REPL classloaders and should not touch
anything beyond.
2021-05-12 18:30:43 +03:00
Ilya Muradyan
626c1d3b48
[Scripting] Fix repository ID generation for Maven resolver
2021-05-10 19:40:32 +03:00
Ilya Muradyan
7cea639209
chore: fix typo in comment
2021-05-10 19:40:31 +03:00
Ilya Muradyan
e9af2849ef
Add Kotlin DeprecationLevel into the REPL completion
2021-05-07 19:56:21 +03:00
Abduqodiri Qurbonzoda
40d1849f33
Migrate compiler, idea and others to new case conversion api
2021-04-08 03:22:02 +03:00
Nikolay Krasko
03c0a81a33
Stop using Bintray in ignored test in MavenResolverTest (KTI-528)
2021-03-31 17:38:54 +03:00
Ilya Chernikov
2f49e8e0af
Fix parameter index on IR script generation in REPL scenario
...
Before it, the wrong index lead to the validation error when repl
script definition had c-tor parameters (see test)
2021-03-26 11:41:24 +01:00
Yan Zhulanow
69fedd9791
Avoid serializing non-serializable properties (EA-253232)
2021-03-16 19:21:50 +09:00
Ilya Chernikov
09fb2cd746
[minor] disable implicits test on IR, see added comments for details
2021-03-11 15:50:33 +01:00
Ilya Chernikov
9c786a9cd9
[minor] uncomment 2 scripting tests:
...
Tests were failing before, but now fixed, most likely by switching to
default target 1.8 and some changes in scripting IR support.
#KT-44471 fixed
2021-03-11 15:50:31 +01:00
Ilya Chernikov
375441832e
Implement REPL support in IR scripting
2021-03-11 15:50:30 +01:00
Ilya Chernikov
bc6c17d4b2
Enable IR in jvm scripting host tests
2021-03-11 15:50:06 +01:00
Ilya Chernikov
bac6a7346e
Extend GeneratorExtensions with previous script, implemt it for JS REPL
...
also refactor JS REPL for better compatibility with the generic
REPL/scripting infrastructure
2021-03-11 15:50:01 +01:00
Nikita Katkov
e1b3cd32f3
IDEA-253605 jvmClassPathUtil: preserve old behaviour
2021-02-24 11:48:32 +00:00
Nikita Katkov
738c6d3119
IDEA-253605 jvmClassPathUtil: correct collection of parent classloaders
2021-02-24 11:48:32 +00:00
Alexander Udalov
1d6b198915
Build: suppress version and JVM target warnings
...
To further reduce the output on each build.
2021-02-18 12:17:17 +01:00
Ilya Chernikov
09ea4116e4
Implement forced script configuration reloading API for plugins
...
#KT-43288 fixed
2021-02-09 20:33:18 +00:00
Ilya Chernikov
ef4fa3381d
Pass provided script configuration to refining code
...
when script compilation configuration refinement
happening during parsing, the updated configuration
passed to the script compiler/REPL compile function
is now used.
#KT-44580 fixed
2021-02-09 15:22:55 +00:00
Alexander Udalov
e0b6d4d917
Add -Xsuppress-deprecated-jvm-target-warning to modules compiled with 1.6
...
Currently this leads to an unknown argument warning, but it'll be
removed automatically on the next bootstrap.
2021-02-03 12:51:39 +01:00
Dmitriy Novozhilov
c0bc492029
Mute some script tests according to KT-44471
2021-01-28 13:19:33 +03:00
Ilya Chernikov
1bd6cc823c
Fix provided properties access generation
...
The presense of accessors in the descriptor led to the wrong code
generation in some cases.
#KT-43176 fixed
2021-01-07 10:37:20 +01:00
Zalim Bashorov
0372dae3ce
[JS scripting] Remove usages of descriptor based APIs and proper support for callable references
2020-12-28 18:53:53 +03:00
Zalim Bashorov
7c5ea414b7
[JS IR] Use mappedNames in NameTable only for REPL
...
And throw exception for unsupported types in mapToKey
2020-12-24 20:03:21 +03:00
anastasiia.spaseeva
71459db9dd
Wizard: Do not add bintray repoitory for eap versions
2020-12-09 18:16:06 +03:00
Zalim Bashorov
4c69f78de8
[JS] Replace J2V8 based ScriptEngine with a process-based version
...
The main advantage of this is that we can use a newer and official build of V8.
Also, with new infra, we can use other JS engines.
Other changes:
* ScriptEngine API is simplified and documented.
* Introduce ScriptEngineWithTypedResult with typed `eval`, mostly for JsReplEvaluator and JsScriptEvaluator.
* J2V8 version is completely removed.
* Use new ScriptEngineV8 everywhere by default.
* System property `kotlin.js.useNashorn` switches to Nashorn in all tests.
2020-12-07 17:27:23 +03:00
Alexander Udalov
e1d54bf99f
Minor, add workaround for KT-43666
2020-11-30 12:37:27 +01:00
Dmitriy Novozhilov
7396abf5a4
Build: add fastutil dependency to scripting tests
2020-11-28 14:25:53 +03:00
Ilya Muradyan
89bba93615
Introduce GetScriptingClassByClassLoader interface
...
It is needed to override default JVM behaviour
2020-11-28 09:44:06 +01:00
Ilya Gorbunov
b2b2629e79
Use new kotlin.io.path API in tests
2020-11-20 09:03:25 +03:00
Ilya Gorbunov
090b562db7
Use NIO Files for creating temp files: scripting, daemon, main-kts
2020-11-20 06:09:37 +03:00
Ilya Chernikov
4cb0437145
[minor] fix reflection usage in scripting tests
2020-10-30 12:57:43 +01:00
Ilya Chernikov
62b9d87bfc
[minor] scripting tests improvements
2020-10-30 12:57:42 +01:00
Ilya Chernikov
01d73ba0fc
Make IrScript a statement container first, update JS support
...
The IrScript is now the IrStatementContainer with significant
statements order, and the code is adapted accordingly
2020-10-30 12:57:42 +01:00
Ilya Chernikov
db23460fd5
Implement proper script runtime exception rendering with tests
...
#KT-42335 fixed
2020-10-06 21:43:11 +02:00
Ilya Chernikov
adcfca3f98
Treat classpath extraction problems on script definition loading as warnings
...
#KT-44206 fixed
2020-10-02 12:38:21 +02:00
Alexander Udalov
1d15a5547d
Suppress deprecation warnings related to scripting
2020-08-20 14:58:11 +02:00
Vyacheslav Gerasimov
ad8709b2dc
Build: Remove exclusion of kotlinx-coroutines-core in scripting-common
...
It breaks available-at feature used in MPP
2020-08-11 00:39:04 +03:00
Ilya Chernikov
034d5a948c
Add JvmDefault to the new EP method for compatibility with older impls
2020-07-31 12:07:10 +02:00
Alexander Udalov
cce55f1609
IR: add module ir.tree.impl, move main IR implementation there
2020-07-28 19:04:44 +02:00
Alexander Udalov
db4cbe7103
IR: use IrFactory in SymbolTable
2020-07-28 12:05:23 +02:00
Ryan Nett
b1173317c5
Change scripting Severity enums to order from DEBUG to FATAL.
...
#KT-39502 fixed
2020-07-27 14:29:30 +02:00
Ilya Muradyan
1ac9b4c38f
Add dependency scopes option for scripting resolvers
2020-07-14 23:42:00 +03:00