Commit Graph

2479 Commits

Author SHA1 Message Date
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
Mark McCaskey
353ff60c0f add misc changes while debugging 2019-05-03 17:34:57 -07:00
Mark McCaskey
6d9256dd1f fix typo in install command 2019-05-03 10:28:42 -07:00
Mark McCaskey
1e357d90e4 change 'us' to 'you' for consistency 2019-05-03 10:21:26 -07:00
Mark McCaskey
fac36a1141 Add wapm section to README 2019-05-03 10:19:35 -07:00
Brandon Fish
c5caf9b6db Update LLVM FCG begin_body 2019-05-03 00:14:25 -05:00
Syrus Akbary
c3c415fa86
Merge branch 'master' into improve-exception-logging 2019-05-02 20:29:28 -07:00
bors[bot]
7cd1cd6767 Merge #418
418: create wasmer dir on install for windows r=MarkMcCaskey a=xmclark

This PR creates the .wasmer dir in the home directory on windows with the inno setup installer. 

Additionally,  the new global wapm packages path is updated to use the correct path in the wasmer dir.

Also checking in the cargo.lock cause it hadn't been updated for 0.4.0.

Co-authored-by: Mackenzie Clark <mackenzie.a.z.c@gmail.com>
2019-05-02 22:59:29 +00:00
bors[bot]
21557e79d8 Merge #417
417: use $INSTALL_DIRECTORY instead of $HOME/.wasmer in install.sh r=MarkMcCaskey a=MarkMcCaskey

resolves #393 

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-05-02 22:36:46 +00:00
Mark McCaskey
fdc6e53f6e unescape $INSTALL_DIRECTORY in message to user 2019-05-02 15:35:48 -07:00
Mackenzie Clark
7104e1c963 create wasmer dir on install for windows 2019-05-02 15:29:35 -07:00
Mark McCaskey
49accd8dbe use $INSTALL_DIRECTORY instead of $HOME/.wasmer in install.sh 2019-05-02 15:07:56 -07:00
losfair
14bfd75ac9 Code loader framework. 2019-05-03 00:23:41 +08:00
Henrik Rydgård
5e37368ec9 Exception logging (win32): Handle error codes correctly, add some more strings. 2019-05-02 12:45:52 +02:00
Syrus Akbary
6c567924c2
Merge pull request #411 from Hywan/doc-readme-ruby
doc(readme) Add `ruby-ext-wasm`
2019-05-01 12:35:22 -07:00
bors[bot]
237768a7b3 Merge #398
398: Middleware system for code instrumentation. r=syrusakbary a=losfair



Co-authored-by: losfair <zhy20000919@hotmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-05-01 18:33:29 +00:00
Syrus Akbary
c0a5f74d0c
Update lib/middleware-common/Cargo.toml 2019-05-01 11:32:57 -07:00
Syrus Akbary
67c4d74eb4
Update middleware version to 0.4.0 2019-05-01 11:28:14 -07:00
Brandon Fish
8d86844c5f
Merge branch 'master' into parser-middleware 2019-05-01 13:10:44 -05:00
Mark McCaskey
90d1c292b0
Merge pull request #412 from wasmerio/update-version-numbers-to-4
update version to 0.4.0
2019-05-01 10:07:21 -07:00
losfair
99c101f312 Merge remote-tracking branch 'origin/master' into parser-middleware 2019-05-02 00:30:58 +08:00
Mark McCaskey
2646765671
Merge branch 'master' into update-version-numbers-to-4 2019-05-01 09:27:38 -07:00
Ivan Enderlin
f2defcd615 doc(readme) Add ruby-ext-wasm. 2019-05-01 14:50:39 +02:00
Brandon Fish
b016ec6b34 Add start_of_code_block to function 2019-04-30 23:44:34 -05:00
Brandon Fish
0ee2ba0ee6 Implement more of next_function and finalize 2019-04-30 23:22:41 -05:00
Brandon Fish
ec253c73ab Implement feed_local 2019-04-30 20:11:44 -05: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
losfair
21dd01c3aa Fix LLVM backend compilation and segfaults. 2019-04-30 15:52:43 +08: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
Mark McCaskey
d020ffd759 update version to 0.4.0 2019-04-29 13:26:51 -07: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