Commit Graph

442 Commits

Author SHA1 Message Date
Alexey Andreev
1fadc71536 wasm gc: improve gradle plugin settings 2024-10-16 18:41:53 +02:00
Alexey Andreev
94c50dd1bc wasm gc: support source map in gradle plugin 2024-10-14 20:37:32 +02:00
Alexey Andreev
d68018d2d3 wasm gc: support source maps 2024-10-14 20:24:34 +02:00
Alexey Andreev
cfd381f47b wasm gc: fix bugs in stack trace deobfuscator 2024-10-13 20:26:37 +02:00
Alexey Andreev
4f9208c4d4 wasm gc: more configuration options to set up stack trace deobfuscation 2024-10-13 19:05:44 +02:00
Alexey Andreev
40d2ab97ec wasm gc: add stack trace deobfuscator 2024-10-12 20:04:38 +02:00
Alexey Andreev
cb3ce477e2 wasm gc: preprocess JS runtime with uglifyjs, add modular runtime 2024-10-11 13:48:29 +02:00
Alexey Andreev
0dcc25d66b wasm gc: support exporting declarations as JS entities from module 2024-10-08 20:09:43 +02:00
Alexey Andreev
c2eb11e056 wasm gc: support writing debug info, support it in disassembler 2024-10-04 18:49:58 +02:00
Alexey Andreev
0bd7bc6ca9 wasm gc: fix support of legacy Object.cast method 2024-10-02 19:27:43 +02:00
Alexey Andreev
383fee67c5 wasm gc: support exporting Java classes to JavaScript 2024-10-01 13:57:20 +02:00
Alexey Andreev
951d0c53c3 wasm gc: fix Date API support 2024-09-26 18:24:15 +02:00
Alexey Andreev
64d6b1e570 wasm gc: add Gradle properties to copy runtime and write disassembly 2024-09-19 19:48:37 +02:00
Alexey Andreev
9fa88a15da wasm gc: add support to Gradle plugin 2024-09-19 08:24:50 +02:00
Alexey Andreev
9aee15fa0f wasm gc: attach Java exception to Wasm exception 2024-09-14 13:02:31 +02:00
Alexey Andreev
d12637f959 wasm gc: fix issues related to class metadata 2024-09-11 15:45:37 +02:00
Alexey Andreev
1533794cf1 wasm gc: add strict mode, fix some bugs 2024-09-11 08:00:39 +02:00
Alexey Andreev
31d89ebec2 wasm gc: support emitting disassembly in HTML with link references, add setting to emit disassembly in JUnit tests 2024-08-29 18:41:02 +02:00
Alexey Andreev
f143fc2af8 wasm-gc: fix html generated for manually running JUnit test 2024-08-26 20:48:37 +02:00
Alexey Andreev
5d109236d9 wasm gc: fix running tests in JUnit, fix remaining errors so that *few* tests pass 2024-08-21 14:29:56 +02:00
Alexey Andreev
1aebe51256 wasm gc: implement backend-specific virtual table builder 2024-08-20 21:03:51 +02:00
Alexey Andreev
59259c314d wasm gc: support running tests 2024-08-18 19:57:25 +02:00
Alexey Andreev
55657036a1 idea: fix support for 2024.1+ 2024-06-10 19:41:34 +02:00
Alexey Andreev
1b412073b9 wasm: support exception handling via native exception handling spec 2024-05-09 20:38:17 +02:00
Alexey Andreev
19518eb191 jso: don't insert casts to JS classes in non-strict mode 2024-04-22 19:16:33 +02:00
Alexey Andreev
271545a3ef gradle: support JS module type in dev server task 2024-04-12 21:15:12 +02:00
Alexey Andreev
908047fb1f idea: fix dev server
See discussion at #903
2024-04-12 20:27:39 +02:00
Alexey Andreev
e069bc3a44 classlib: implement WeakHashMap
Fix #799
2024-04-03 19:11:48 +02:00
Alexey Andreev
bbd02b0067 gradle: implement dev server task 2024-03-20 20:41:10 +01:00
Ivan Hetman
287333b54e
tools: disabled idle in Jetty server (#894) 2024-03-14 19:21:02 +01:00
Alexey Andreev
32ae1ab8f0 js: fix deobfuscator, use new ES2015 module builder 2024-03-13 15:44:18 +01:00
Alexey Andreev
e4452152b7 jso: improve JS class import to Java 2024-02-27 20:16:10 +01:00
Alexey Andreev
8db406c603 jso: implement exporting Java methods to JS
Fix #785
2024-02-15 21:00:10 +01:00
Alexey Andreev
6ac598b927 js: add limit for top-level declarations
Rationale: turns out that V8 utilizes stack even to represent module-level functions.
This can cause SOE when there's too many classes and methods in source JVM
2024-02-01 09:41:50 +01:00
Alexey Andreev
4049bc529e js: introduce setting to choose module type 2023-12-23 16:32:55 +01:00
Alexey Andreev
b3e889fa11 junit: fix compiling tests for platforms which don't participate in testing 2023-11-26 22:05:23 +01:00
Alexey Andreev
a433ca9fe5 gradle: fix passing optimization from DSL to tasks 2023-11-25 15:57:21 +01:00
Alexey Andreev
2bd76e2da5 gradle: fix issues with new source file property 2023-11-25 13:41:21 +01:00
Alexey Andreev
ac2c084290 js: add ability so refer to local files in source maps. Add copying of source files to Gradle plugin. 2023-11-24 21:28:37 +01:00
Alexey Andreev
86efdb0809 JS: remove legacy way to generate names, fix issue with duplication of some top-level names in no-optimization mode
Fix #860
2023-11-23 17:22:03 +01:00
Alexey Andreev
997a31b683 junit: don't start browser if corresponding test platforms disabled 2023-11-23 16:04:32 +01:00
kenji yoshida
07542499e1
wasm/C: fix default minHeapSize (#848) 2023-11-07 20:22:00 +01:00
Alexey Andreev
9c6f23d280 classlib: optimize console output in JS backend 2023-11-07 20:00:33 +01:00
Alexey Andreev
eca3dc61f5 junit: fix exception reporting 2023-11-07 18:01:33 +01:00
Alexey Andreev
5ec4450bf8 JS: render all declarations into one remembered fragment, then output this fragment to real output 2023-11-05 08:55:24 +01:00
Alexey Andreev
23ad999bbd JS: get rid of IOException in SourceWriter and related classes 2023-10-31 20:09:55 +01:00
Alexey Andreev
32ee8943c1 JS: rewrite more natives with templates, get rid of runtime aliases in minification mode 2023-10-31 19:29:32 +01:00
Alexey Andreev
df42025a21 IDEA: fix issue in dev server
Fix #827
2023-10-18 18:41:14 +02:00
Alexey Andreev
c6f60ca00e junit: fix crash when test runner is not configured 2023-10-17 10:04:57 +02:00
Alexey Andreev
55d3adb7ae junit: fix generation of html page for single-test JS runner 2023-10-12 21:13:48 +02:00