Commit Graph

419 Commits

Author SHA1 Message Date
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
Alexey Andreev
d33c491a33 Gradle: report build progress from build tasks 2023-10-10 19:01:24 +02:00
Alexey Andreev
3d65d38375 Massive refactoring around Wasm support
1. Get rid of old exception handling IR transformer in favor of generation of EH code inside BE
2. Get rid of no-setjmp/longjmp support in C BE
3. Fix various bugs in WebAssembly BE
4. Suppress remaining failing tests for Wasm
5. Enable running Wasm tests by default
2023-10-08 10:36:03 +02:00
Alexey Andreev
0c0fb1a02b Fix running C tests 2023-10-06 10:55:08 +02:00
Alexey Andreev
8fb6087bf0 Fix running tests for C backend 2023-10-02 08:30:24 +02:00
Alexey Andreev
db4418ae1d Refactor test runner
1. Deprecate WhileClassCompilation annotation, introduce EachTestCompiledSeparately instead
2. Add annotations to enabled/disable tests for particular backends
2023-10-01 21:37:04 +02:00
Alexey Andreev
ee0ebd4c2b Remove excessive file 2023-09-29 21:12:05 +02:00
Alexey Andreev
47973face1 Simplify test runner, remove parallel run, remove HtmlUnit runner, fix Wasm tests 2023-09-29 21:11:23 +02:00
Alexey Andreev
f14fc18afb Fix wrong maxTopLevelNames in InProcessBuildStrategy 2023-09-29 14:06:18 +02:00
Alexey Andreev
b7cf7b593c wasm: when building tests, resolve absolute paths to source files in DWARF 2023-09-26 23:02:16 +02:00
Alexey Andreev
de25cee3b8 When out-of-process build crashes with OOME, write heap dump 2023-09-25 20:25:49 +02:00
Alexey Andreev
ba7dcd13b5 Update gradle scripts for latest gradle version
1. Use lazy property assignment
2. Remove usages of deprecated buildDir property
2023-09-21 09:52:29 +02:00
Alexey Andreev
eebc316029 gradle: fix generation of artifact configuration file 2023-08-23 20:17:37 +02:00
Alexey Andreev
d7cae4af55 Fix running tests in wasm 2023-08-22 17:02:33 +02:00
Alexey Andreev
df40dedba3 gradle: set default JS optimization to BALANCED 2023-08-19 17:49:17 +02:00
Alexey Andreev
9d3ac1a603 Show java.logging module in JCL comparison 2023-08-18 18:30:12 +02:00
Alexey Andreev
f33a7578d4 chrome plugin: remove unused permission, minor reformatting 2023-08-14 19:28:36 +02:00
Alexey Andreev
334e2829b3 JS: supports module imports in JSBody 2023-08-03 15:42:15 +02:00
Alexey Andreev
a97e0ef45c JS: generate code in UMD wrapper (to be compatible with node.js, webpack, etc). 2023-08-01 20:11:32 +02:00
Alexey Andreev
e1827880c9 Gradle: in no optimization mode, generate JS, which is friendly to Chrome debugger 2023-07-31 15:13:02 +02:00
Alexey Andreev
bf2cfa83f0 Allow to debug external process running from Gradle task 2023-07-31 13:15:36 +02:00
Alexey Andreev
9fd7b9c4e2 js: set maxTopLevelNames to huge value properly 2023-07-05 20:13:19 +02:00
Alexey Andreev
071a5d90fb Trying to fix problem with locked files on Windows 2023-06-20 11:11:58 +02:00
Alexey Andreev
09cdc63267 gradle: allow to define TeaVM properties from gradle command line 2023-04-12 16:48:48 +02:00