Commit Graph

3136 Commits

Author SHA1 Message Date
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
Jonathan Coates
2256b293ab
classlib: fix missing .shift() in ReferenceQueue.poll (#852) 2023-11-08 09:07:31 +01:00
Alexey Andreev
8f8b33c0b1 js: split runtime into smaller parts 2023-11-07 20:26:10 +01:00
kenji yoshida
07542499e1
wasm/C: fix default minHeapSize (#848) 2023-11-07 20:22:00 +01:00
Ivan Hetman
bd80c2dfce
classlib: fix parse and other issues in Long and Integer 2023-11-07 20:02:58 +01:00
Alexey Andreev
9c6f23d280 classlib: optimize console output in JS backend 2023-11-07 20:00:33 +01:00
Alexey Andreev
0ee994e913 Improve class initializer elimination 2023-11-07 18:46:01 +01:00
Alexey Andreev
eca3dc61f5 junit: fix exception reporting 2023-11-07 18:01:33 +01:00
Alexey Andreev
21137c57a3 JS: merge let statements to get better minification; rewrite some Array methods to generate less dependencies on runtime 2023-11-06 19:18:18 +01:00
Alexey Andreev
717bbf4a57 JS: strip unused functions from hand-written runtime 2023-11-05 22:41:57 +01:00
Alexey Andreev
485d23d675 JS: fix native toString in Java String class
Fix #847
2023-11-05 10:20:49 +01:00
Alexey Andreev
8b6c6a5ca9 Fix checkstyle error 2023-11-05 10:05:45 +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