Alexey Andreev
bb837bd020
classlib: replace usage of Math.log10 with custom implementation of int log10 algorithm
...
This fixes BigDecimal support on WASI, which does not support log10 at the moment
2023-12-07 19:14:55 +01:00
Alexey Andreev
a9af6e4f33
JSO: fix wrapping undefined value
2023-12-07 10:02:30 +01:00
J. Fronny
9093ad2f8a
classlib: implement String.chars() ( #872 )
2023-12-05 13:26:39 +01:00
Alexey Andreev
067f7453fe
JS: a better fix for wrapping/unwrapping JS objects implemented in Java
2023-11-27 13:05:51 +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
9757213379
JS: fix unwrapping JS objects implemented in Java
2023-11-26 21:57:19 +01:00
Alexey Andreev
1c292f3fbe
Fix calculating comparison in constant propagation
2023-11-25 17:23:50 +01:00
Alexey Andreev
6695103f49
Increase upper complexity threshold for inlining
2023-11-25 15:58:00 +01:00
Alexey Andreev
a433ca9fe5
gradle: fix passing optimization from DSL to tasks
2023-11-25 15:57:21 +01:00
Alexey Andreev
607e107e70
samples: fix classpath so that it's possible to run TeaVM out-of-process
2023-11-25 15:56:45 +01:00
Alexey Andreev
f3bf9d812f
samples: fix rendering stopped when changing worker count or type
2023-11-25 14:05:01 +01:00
Alexey Andreev
2bd76e2da5
gradle: fix issues with new source file property
2023-11-25 13:41:21 +01:00
Alexey Andreev
bdd0193eb8
samples: fix path to file
2023-11-24 21:28:48 +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
6543e68f8a
JS: fix naming of variables in no-obfuscation mode
2023-11-24 17:38:50 +01:00
Alexey Andreev
a1355bb2f7
classlib: refactor LinkedHashMap
...
I found regression somewhere in LinkedHashMap, when certain operations cause cycle in entry list. Since updated logic was totally unclear to me, I rewrote it from scratch. Also, reverted mechanism to remove entries NOT by keys and used it where necessary to improve performance.
2023-11-23 21:19:28 +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
Alexey Andreev
ef359c3604
samples: fix issues in software3d
2023-11-22 21:23:20 +01:00
Alexey Andreev
57c22ab2c8
JS: fix some runtime function names not being mangled
2023-11-22 18:49:37 +01:00
Alexey Andreev
be53236d23
JS: fix wrapping keys for native indexers
2023-11-20 20:33:47 +01:00
Alexey Andreev
3282ae3b59
Refactor mechanism that resolves methods and fields parsed from bytecode and reports errors about missing items
2023-11-20 19:50:20 +01:00
Alexey Andreev
89661e52fb
JS: fix output to console in obfuscated mode
2023-11-20 18:57:51 +01:00
Alexey Andreev
810012872c
Add couple native declarations to JSO APIs. Update sample
2023-11-19 20:25:29 +01:00
Alexey Andreev
7108dfbac7
classlib: fix Math exact operations in C and WebAssembly backends
2023-11-19 20:12:58 +01:00
Alexey Andreev
318d4bff93
Fix boxing/unboxing arguments and return values in method references
2023-11-19 20:12:58 +01:00
Jonathan Coates
4fc43a5597
classlib: fix toLowerCase
/toUpperCase
on Locale.ROOT
( #862 )
2023-11-19 21:45:32 +03:00
Alexey Andreev
fa5fa3df47
Suppress test failing in C
2023-11-19 18:40:48 +01:00
Alexey Andreev
0f84012008
Suppress tests failing in WebAssembly
2023-11-19 18:34:22 +01:00
Alexey Andreev
6e46ae8eec
classlib: get rid of Math polyfill in java.time implementation
2023-11-19 18:32:36 +01:00
Ivan Hetman
cd14ece14c
classlib: add Math methods for no-overflow addition/multiplication ( #859 )
...
Co-authored-by: Jörg Hohwiller <hohwille@users.sourceforge.net>
2023-11-19 20:14:23 +03:00
Jonathan Coates
8fa1a86728
classlib: add further nio stubs ( #863 )
...
- Add {FileAlreadyExists,NoSuchFile,NotADirectory}Exception.
- Add OpenOption interface and StandardOpenOption enum.
2023-11-19 20:11:20 +03:00
Alexey Andreev
01cf27b3d8
samples: add software 3D renderer in Kotlin
2023-11-19 17:47:07 +01:00
Alexey Andreev
932f33ae2c
GitHub actions: add badge to readme
2023-11-14 21:16:51 +01:00
Alexey Andreev
521adb284c
Github actions: trying to run checkstyle as a separate job
2023-11-14 20:52:04 +01:00
kenji yoshida
f5f8135a42
Add GitHub Actions CI ( #854 )
2023-11-14 22:03:43 +03:00
Ivan Hetman
5336fc9b3c
classlib: implement String.to__Case with locale parameter in JS BE ( #766 )
2023-11-14 16:57:09 +01:00
Alexey Andreev
e877cc86e4
JS: remove unused runtime function
2023-11-13 10:46:06 +01:00
Alexey Andreev
1955973c3b
JS: fix removal of unused functions in handwritten JS
2023-11-13 10:37:30 +01:00
Alexey Andreev
f6741b49d6
WASI: update default test runner parameter for newer wasmtime versions
2023-11-09 10:58:34 +01:00
Alexey Andreev
547642503e
Suppress few tests for WebAssembly and C
2023-11-09 10:57:57 +01:00
kenji yoshida
da8c50e474
samples: add scala compiler options. fix warnings ( #856 )
2023-11-09 09:27:28 +01:00
Alexey Andreev
083ecbdad2
wasm/c: add support for class flags
2023-11-08 21:02:31 +01:00
Alexey Andreev
7ef7926519
Add toolchain resolution plugin
2023-11-08 20:59:53 +01:00
Alexey Andreev
726702dd7f
wasm: fix programmatic initialization of a class that is statically initialized by optimizer
2023-11-08 19:59:24 +01:00
Jonathan Coates
9469e4c0b4
Widen byte/short to ints in ObjectMethods ( #853 )
2023-11-08 10:28:13 +01:00
Alexey Andreev
5b3c462ab8
c: suppress failing test
2023-11-08 10:04:15 +01:00
Alexey Andreev
f6e38e94f7
c: fix typo in macro name
2023-11-08 09:52:27 +01:00
Alexey Andreev
68dd2e6d5e
Bump IDEA plugin version
2023-11-08 09:32:43 +01:00
Alexey Andreev
6baccbf2bd
Use Gradle toolchains to run tests
2023-11-08 09:28:07 +01:00