Commit Graph

2165 Commits

Author SHA1 Message Date
Heyang Zhou
884a7e1713 kwasm-net fixes and optimizations. 2019-05-13 10:15:03 -07:00
Heyang Zhou
3bcdfb4263 Asynchronous networking extension. 2019-05-13 06:14:28 -07:00
Heyang Zhou
af1ac9af96 Improve performance of memory access. 2019-05-13 05:11:08 -07:00
Heyang Zhou
620a6ddd85 Disable memory bound checking for kernel loader. 2019-05-08 10:25:29 -07:00
Heyang Zhou
accb80bca2 Pipe example 2019-05-07 10:48:50 -07:00
Heyang Zhou
0bbd6e6970 Fix function offset. 2019-05-07 08:25:46 -07:00
Heyang Zhou
0895dc60c2 Check param count. 2019-05-06 09:19:56 -07:00
Heyang Zhou
b343fd40bc Pass in param count for import functions in kernel loader. 2019-05-06 08:28:12 -07:00
Heyang Zhou
61510f8116 Enforce runtime memory and stack bound check when using kernel loader. 2019-05-06 07:15:30 -07:00
Heyang Zhou
7bc09ee220 kwasmd. 2019-05-05 09:32:35 -07:00
Heyang Zhou
cc01e40dc5 Split load/run 2019-05-05 05:03:07 -07:00
Heyang Zhou
3c64bd009e Kernel mode example. 2019-05-04 10:51:12 -07:00
Heyang Zhou
46e4cb05bc Get memory intrinsics at runtime. 2019-05-04 10:33:12 -07:00
Heyang Zhou
a590d7cd07 Tables 2019-05-04 09:56:52 -07:00
Heyang Zhou
c4e4efc694 kwasm imports 2019-05-04 08:28:13 -07:00
Heyang Zhou
af0b1476f3 Add emit_u64 to Emitter API 2019-05-04 07:25:29 -07:00
Heyang Zhou
7a4b2172a5 Remove runtime dependence for BrTable 2019-05-04 07:25:11 -07:00
Heyang Zhou
af58ea5642 Kernel mode code loading. 2019-05-03 23:07:07 -07:00
losfair
14bfd75ac9 Code loader framework. 2019-05-03 00:23:41 +08:00
losfair
99c101f312 Merge remote-tracking branch 'origin/master' into parser-middleware 2019-05-02 00:30:58 +08:00
bors[bot]
da6f5ffda0 Merge #376
376: Make the slice::from_raw_parts call safe r=xmclark a=Kerollmops

Casting a slice into another type (i.e. from `T` to `Atomic<T>`) can be made safe for Rust by using the [`#[repr(transparent)]`](https://github.com/rust-lang/rfcs/blob/master/text/1758-repr-transparent.md) on the `Atomic<T>` type.

This is now safe:
6478500b8f/lib/runtime-core/src/memory/view.rs (L51)


Co-authored-by: Clément Renault <renault.cle@gmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
2019-05-01 00:16:26 +00:00
Brandon Fish
39b6b05f71
Merge branch 'master' into atomic-transparent-repr 2019-04-30 17:09:18 -07:00
bors[bot]
5484228b96 Merge #409
409: Improved Emscripten functions to run jsc r=syrusakbary a=syrusakbary

Improved Emscripten functions to run JavascriptCore.

The JavascriptCore WebAssembly file can be found here: https://github.com/wapm-packages/jsc/blob/master/demo/jsc.wasm

Co-authored-by: Syrus <me@syrusakbary.com>
2019-04-30 20:57:47 +00:00
bors[bot]
0730e39a46 Merge #408
408: add images to installer and add wapm bin dir to path r=xmclark a=xmclark



Co-authored-by: Mackenzie Clark <mackenzie.a.z.c@gmail.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-04-30 20:45:13 +00:00
Syrus
747e5321a2 Fixed issues. Updated CHANGELOG 2019-04-30 12:05:13 -07:00
Syrus
ce140463d6 Merge branch 'master' into feature/jsc-emscripten 2019-04-30 11:47:28 -07:00
Syrus
e68f5e10e4 Improved emscripten functions to be able to run jsc 2019-04-30 11:47:03 -07:00
Syrus Akbary
bc50fe090c
Update install.sh
Co-Authored-By: xmclark <mackenzie.a.z.c@gmail.com>
2019-04-30 10:09:04 -07:00
Mackenzie Clark
18a8341e5a add changelog record 2019-04-30 09:59:07 -07:00
Mackenzie Clark
1471c34f73 add global wapm packages bin dir to path 2019-04-30 09:59:00 -07:00
Mackenzie Clark
6af87c1b5b add images to installer and add wapm bin dir to path 2019-04-30 09:21:08 -07:00
bors[bot]
82cf572245 Merge #404 #406
404: Update to newer common wasmparser version r=xmclark a=bjfish

- versions should match to have matching types in a common parser
- the `0.29.2` version matches the current parser version of cranelift-wasm

406: Cleanup some clippy warnings r=xmclark a=bjfish

Cleaned up some
- long literal lacking separators
- unneeded return

Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-04-30 15:37:12 +00:00
bors[bot]
9ab4305e84 Merge #405
405: Remove unused imports r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-04-30 15:23:57 +00:00
Brandon Fish
01ba789eed Cleanup some long literal lacking separators 2019-04-29 23:49:00 -05:00
Brandon Fish
8acf9edf67 Remove unneeded returns 2019-04-29 23:45:38 -05:00
Brandon Fish
da807ed2a1 Remove unused imports 2019-04-29 23:40:16 -05:00
Brandon Fish
a127b770b3 Update to newer common wasmparser version 2019-04-29 23:34:48 -05:00
bors[bot]
78c84d803b Merge #402
402: Improved fault debugging with emscripten r=syrusakbary a=syrusakbary

Improved fault debugging with emscripten.

This is useful when compiling with emcc and the flag `-s SAFE_HEAP=1`.

@MarkMcCaskey @xmclark 

Co-authored-by: Syrus <me@syrusakbary.com>
2019-04-29 20:50:17 +00:00
bors[bot]
7ad4228432 Merge #399
399: Add extending WASI plugin example r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
Co-authored-by: Mackenzie Clark <mackenzie.a.z.c@gmail.com>
2019-04-29 18:46:45 +00:00
Mark McCaskey
49aa104ed8 fix changelog; add entry 2019-04-29 11:45:52 -07:00
Mark McCaskey
0913922172 Merge remote-tracking branch 'origin/master' into feature/extending-wasi-plugin-example 2019-04-29 11:44:51 -07:00
Mackenzie Clark
f862032e91
add comment about wasi on windows 2019-04-29 11:41:14 -07:00
Mark McCaskey
0f22a515be add comment; add wapm.toml 2019-04-29 11:33:03 -07:00
Mark McCaskey
c48171c19e Merge branch 'feature/extending-wasi-plugin-example' of github.com:wasmerio/wasmer into feature/extending-wasi-plugin-example 2019-04-29 11:27:26 -07:00
Mark McCaskey
4f4473c84e update from feedback 2019-04-29 11:27:19 -07:00
Mackenzie Clark
8e9767cf53
Update examples/plugin.rs
Co-Authored-By: MarkMcCaskey <MarkMcCaskey@users.noreply.github.com>
2019-04-29 11:18:53 -07:00
Mackenzie Clark
bc0289cb84
Update examples/plugin.rs
Co-Authored-By: MarkMcCaskey <MarkMcCaskey@users.noreply.github.com>
2019-04-29 11:18:35 -07:00
Mackenzie Clark
0add4584e3
Update examples/plugin.rs
Co-Authored-By: MarkMcCaskey <MarkMcCaskey@users.noreply.github.com>
2019-04-29 11:18:17 -07:00
Syrus Akbary
d2d70b2fee
Merge pull request #401 from Hywan/fix-changelog
chore(changelog) 0.4.0 and 0.3.0 have been released
2019-04-29 10:50:14 -07:00
Mackenzie Clark
7e38664fce
Merge branch 'master' into feature/extending-wasi-plugin-example 2019-04-29 08:30:43 -07:00