Commit Graph

1270 Commits

Author SHA1 Message Date
Johnathan Sharratt
d4601028ef Merge branch 'master' into zero-mem-copy 2023-03-03 17:56:06 +11:00
Johnathan Sharratt
59b37e4b75 Fixed for the JS version 2023-03-03 17:52:05 +11:00
Johnathan Sharratt
f1c31c65ca All IO operates are now zero copy when on non-browsers while browsers still copy bytes 2023-03-03 16:04:09 +11:00
Syrus Akbary
69f5ec3981 Fixed missing api 2023-03-02 15:14:48 -08:00
Syrus Akbary
01dc38e677 Improved BigInt support 2023-03-02 14:28:23 -08:00
Syrus Akbary
61ca01d341 Fix linting errors 2023-03-02 14:26:06 -08:00
Syrus Akbary
7440c428a7 Trying to add support for BigInt 2023-03-02 14:05:26 -08:00
Syrus Akbary
9719630f0a Improved linting 2023-03-02 11:49:00 -08:00
Johnathan Sharratt
5646a4d050 Last fixes to restore web functionality 2023-03-02 18:47:53 +00:00
Johnathan Sharratt
e9564d2439 Fixed a bug on the process join callback and the globals 2023-03-02 18:47:53 +00:00
Johnathan Sharratt
10c6c0b658 Fixed an issue where the globals were not being properly captured and restored for JS 2023-03-02 18:47:53 +00:00
Johnathan Sharratt
e2276c1e7e The VMMemory must be convertable into a JsValue 2023-03-02 18:47:53 +00:00
Syrus Akbary
cbdf356c0b Merge branch 'std-api' into wasix-fixes-for-web-with-unification
# Conflicts:
#	lib/api/src/js/externals/global.rs
#	lib/api/src/js/vm.rs
#	lib/wasi/src/bin_factory/exec.rs
#	lib/wasi/src/bin_factory/module_cache.rs
#	lib/wasi/src/runtime/task_manager/mod.rs
2023-03-01 21:16:18 -08:00
Johnathan Sharratt
2511d65830 Merge branch 'master' into wasix-fixes-for-web 2023-03-02 03:53:18 +01:00
Johnathan Sharratt
06524345c7 Last fixes to restore web functionality 2023-03-02 10:57:44 +11:00
Johnathan Sharratt
e81a037b32 Fixed a bug on the process join callback and the globals 2023-03-02 10:19:04 +11:00
Johnathan Sharratt
5fa6f90b44 Fixed an issue where the globals were not being properly captured and restored for JS 2023-03-02 07:33:02 +11:00
Syrus Akbary
4629a32d59 Use js-generic instead of generic for the js engine 2023-03-01 11:49:39 -08:00
Syrus Akbary
4973be5ee2 Refactored common WasmTypeList implementations 2023-03-01 11:47:18 -08:00
Maxime
51b22145d4 Remove unused import in lib.rs example
`FunctionEnv` isn't used in the demo code.
2023-03-01 13:44:13 +01:00
Johnathan Sharratt
d2c381e750 The VMMemory must be convertable into a JsValue 2023-03-01 17:30:00 +11:00
Syrus Akbary
4fb02b87dd Update lib/api/src/engine.rs 2023-02-28 09:17:27 -08:00
Syrus Akbary
d5c7b8ac18 Update lib/api/src/engine.rs 2023-02-28 09:17:18 -08:00
Syrus Akbary
b47cc839cd Removed unsafe js intos 2023-02-28 09:13:28 -08:00
Syrus Akbary
c04e536701 Fix code 2023-02-28 00:33:28 -08:00
Syrus Akbary
e26a78408c Remove unused code 2023-02-27 23:32:19 -08:00
Syrus Akbary
09427c3bb6 Make automatically the trait Into<Engine> conversions 2023-02-27 23:25:17 -08:00
Syrus Akbary
fe72a5ab7f Merge branch 'master' into std-api
# Conflicts:
#	lib/api/src/js/function_env.rs
#	lib/wasi/src/bin_factory/exec.rs
2023-02-27 23:06:25 -08:00
ptitSeb
1405d7ff99 Merge branch 'master' into feat_data_and_store_mut 2023-02-27 11:18:11 +01:00
ptitSeb
ec14a758ac Fixed linting 2023-02-27 10:19:58 +01:00
Syrus Akbary
93def03796 Address most of the comments 2023-02-25 11:23:03 -08:00
Syrus Akbary
5bdf3d4e2b Fixed unimplemented 2023-02-24 15:02:25 -08:00
Syrus Akbary
a6ebf78fcb Verious fixes for the wasix merge 2023-02-24 14:37:48 -08:00
Syrus Akbary
826d32194d Merge branch 'master' into std-api
# Conflicts:
#	lib/api/src/js/mem_access.rs
#	lib/api/src/js/mod.rs
#	lib/api/src/sys/typed_function.rs
#	lib/wasi/src/syscalls/wasix32.rs
#	lib/wasi/src/syscalls/wasix64.rs
#	lib/wasi/src/utils/mod.rs
2023-02-24 14:13:02 -08:00
Syrus Akbary
1f64ba13e0 Wrap engine 2023-02-24 13:35:46 -08:00
ptitSeb
6f3253e561 Added a universal_test on FunctionEnvMut::data_and_store_mut function 2023-02-24 12:12:30 +01:00
ptitSeb
b4101c4777 Add FunctionEnMut::data_and_store_mut on api/js too 2023-02-23 15:48:55 +01:00
ptitSeb
a7579c052e Added FunctionEnvMut::data_end_store_mut (will help #3592) 2023-02-23 15:38:36 +01:00
Christoph Herzog
4d0460e2c6 Merge remote-tracking branch 'origin/master' into wasix 2023-02-22 11:15:16 +01:00
Syrus Akbary
ae6c3baeb8 Merge branch 'master' into std-api 2023-02-17 16:25:30 -08:00
Rich Lane
b5f288830c Optimize getting byteLength in MemoryView::new 2023-02-17 15:00:27 -08:00
Syrus Akbary
bb9ac04336 Make API compatible changes with wasmer-js 2023-02-16 22:45:28 -08:00
Syrus Akbary
b61e2a1287 Added equality to instance, Module and Exports 2023-02-16 21:56:44 -08:00
Syrus Akbary
d85297fddc Fix linting and compilation 2023-02-16 21:21:44 -08:00
Syrus Akbary
db6dd420e1 Optimized ModuleInfo usage 2023-02-16 20:44:49 -08:00
Syrus Akbary
c85b2bf62e Implement PartialEq for all externals 2023-02-16 20:00:27 -08:00
Christoph Herzog
a7cd600382 chore: Fix clippy lints 2023-02-16 07:40:48 +01:00
Christoph Herzog
cbcae65d71 Merge remote-tracking branch 'origin/wasix-major-fixes-and-tweaks' into wasix 2023-02-16 06:11:48 +01:00
Johnathan Sharratt
81bae8f95d Merge remote-tracking branch 'origin' into wasix-major-fixes-and-tweaks 2023-02-16 15:40:44 +11:00
Syrus Akbary
e9a4ba498a Fix linting 2023-02-15 18:28:41 -08:00