Commit Graph

3250 Commits

Author SHA1 Message Date
Alexey Andreev
238930bfc3 IDEA: bump maven-shade-plugin version 2022-11-17 13:10:57 +01:00
Alexey Andreev
df98b411d0 Wasm: fix issue with attempt to shrink heap after GC 2022-11-17 12:02:46 +01:00
Alexey Andreev
64ae44ee01 JS: store global object in a variable to avoid name clashes between generated declarations (in minified mode) and global declarations 2022-11-17 12:02:46 +01:00
Alexey Andreev
68efdddddf JS: fix writing from JS to stdout 2022-11-16 16:41:29 +01:00
Alexey Andreev
70e37dfed9 Wasi: fix bugs in IO implementation 2022-11-12 21:52:29 +01:00
Alexey Andreev
d9fb2bc159 Fix bugs in Wasi support. Fix GC issue in Wasm 2022-11-11 21:01:22 +01:00
Alexey Andreev
1b6acc9eb1 Update Java version to 11 2022-11-11 14:37:12 +01:00
Alexey Andreev
4a025f2605 Wasm: trying to revive GC debugger in wasm2c generator and implement emulation for WASI 2022-11-11 14:04:56 +01:00
Alexey Andreev
8285799b2b Fix checkstyle warning 2022-11-11 11:09:19 +01:00
Alexey Andreev
1fb70b0903 Fix private method call resolution in Java 11 2022-11-11 10:56:20 +01:00
Alexey Andreev
5fb83ca2ac Remove unnecessary Wasm runtime imports, implement isFinite method 2022-11-11 09:38:21 +01:00
Alexey Andreev
c52b71292d Fix Math.pow implementation in JS 2022-11-11 09:15:52 +01:00
Alexey Andreev
485f8ac902 Wasi: fix file system issues, add support for Math.pow 2022-11-10 17:08:58 +01:00
Alexey Andreev
292aa21aef classlib: use built-in unicode table to implement tolower/toupper methods.
This makes it possible to use TeaVM in environments where these functions aren't natively available.
For example, WASI
2022-11-09 12:08:17 +01:00
Alexey Andreev
a49f47dac7 Fix WASI support in CLI runner 2022-11-08 19:46:40 +01:00
Alexey Andreev
224810d0ab Wasm: support file IO and random generator in WASI 2022-11-08 19:44:56 +01:00
Alexey Andreev
e428e2ac7a Wasm: implement file IO in WASI 2022-11-08 17:24:58 +01:00
Alexey Andreev
3eb4b742ea Move FS support to teavm-core module 2022-11-07 09:53:46 +01:00
Alexey Andreev
bb087b7630 Wasm: support running WASI tests in JUnit 2022-11-06 21:41:35 +01:00
Alexey Andreev
8f4e4e811f Wasm: don't emit wasm-runtime.js file in WASI mode 2022-11-06 21:41:09 +01:00
Alexey Andreev
34eb06f5f0 Wasm: support command line args in WASI 2022-11-06 21:21:49 +01:00
Alexey Andreev
1ca2c75e1c Wasm: initial WASI support 2022-11-06 11:53:52 +01:00
Alexey Andreev
d5cdd740f5 Fix incorrect behaviour of Class.getInterfaces
fix #635
2022-11-04 16:15:30 +01:00
Alexey Andreev
752ec040b0 Wasm: fix resource files getting into garbage collection metadata 2022-11-04 14:48:53 +01:00
Alexey Andreev
6c6d440ebb С/wasm: don't include references metadata resource into GC stack roots and into class layout for GC. 2022-11-01 09:38:10 +01:00
Ivan Hetman
2c1bf6e270
Enable build for Java 17 version (#631) 2022-10-22 09:23:16 +03:00
Kirill Prazdnikov
fc9748ab06
jso: add missing scrollIntoView method to Element (#623) 2022-10-12 11:03:25 +03:00
Alexey Andreev
d097350787 Bump ASM version, use common ASM API version everywhere, bump ASM API version to 9 2022-10-05 11:09:53 +02:00
Alexey Andreev
a40c955d39 classlib: fix StringBuilder.indexOf
Fix #615
2022-10-05 10:16:54 +02:00
Alexey Andreev
fcb13b24ad classlib: force class initialization in EnumSet implementation in order to get enum constants array filled 2022-09-13 16:03:37 +02:00
Alexey Andreev
2b671b8088 Fix issue with precedence of % operator 2022-08-25 12:48:59 +02:00
Alexey Andreev
bab6c8bddf Fix checkstyle error 2022-08-16 10:15:48 +02:00
Alexey Andreev
38d3bf1c63 classlib: fix ByteBuffer.slice
Probably fixes #607
2022-08-16 10:06:08 +02:00
iamdudeman
2d73403b9a Moved next origin/bound implementations from TThreadLocalRandom to TRandom. 2022-08-16 10:34:47 +03:00
Ulugbek
f57af7631b fix: don't terminate if the target directory already exists 2022-08-12 17:48:58 +03:00
Alexey Andreev
10415b356e classlib: fix AbstractSet.hashCode 2022-08-12 16:47:59 +02:00
Ulugbek
51603695f4 TeaVMTool: handle target directory creation error 2022-08-06 14:40:09 +03:00
Ulugbek
b3727191b4 TeaVMTool: resolveTransformers() doesn't need to take as an argument variable that it can access itself 2022-08-06 14:40:09 +03:00
Ulugbek
3ff1651184 TeaVMTool: use a single try-with-resources 2022-08-06 14:40:09 +03:00
Ulugbek
0068198abd TeaVMTool: re-use already created file 2022-08-06 14:40:09 +03:00
Timothy Solum
f7f99b3c9f
Add Random next origin, bound methods for float, double, int and long (#609) 2022-08-06 14:39:09 +03:00
Timothy Solum
89f41b9a35
Add setName method to Thread. (#608) 2022-08-06 14:37:21 +03:00
Alexey Andreev
3571917a2f Fix issue in record toString method generator 2022-08-06 14:07:53 +03:00
Ulugbek
b6837340e5 classlib: add TCollectors#collectingAndThen and TCollectors#toUnmodifiableList 2022-07-25 09:27:18 +03:00
Ulugbek
81ed5ef829 classlib: add an empty implementation of TAccessControlContext 2022-07-25 09:27:18 +03:00
Ulugbek
8a70c5ded0 classlib: add TAccessController(TPrivilegedExceptionAction<T>) T 2022-07-25 09:27:18 +03:00
Ulugbek
584adb457f classlib: add TSystem#getSecurityManager()TSecurityManager and an empty implementation of TSecurityManager 2022-07-25 09:27:18 +03:00
Ulugbek
c8eb5ec3be classlib: add TPrivilegedActionException 2022-07-25 09:27:18 +03:00
Ulugbek
8776504e18 classlib: add PrivilegedExceptionAction 2022-07-25 09:27:18 +03:00
Alexey Andreev
ddddfcf217 Add option to disable assertions 2022-07-15 19:51:47 +03:00