2479 Commits

Author SHA1 Message Date
Mark McCaskey
b08b65913b Add WindowClosed event to experimental fb 2020-01-09 12:11:34 -05:00
Ivan Enderlin
0274668675 doc(runtime-c-api) Fix a typo. 2020-01-07 14:21:50 +01:00
Johan Andersson
81f879565d Add MIT license to crates that were missing it
Ran into a few crates in this repo with our license scanner that didn't have any license attached to them.

Added MIT to be consistent with the other crates. Please adjust if not correct.
2019-12-22 12:28:33 +01:00
Nick Lewycky
1cffb90fea Fix unused import warning, deny more warnings. 2019-12-21 14:35:43 -08:00
Syrus
ad82beffb4 Fixed tests 2019-12-20 21:11:55 -08:00
Syrus
a7764a6fd6 Simplified code 2019-12-20 20:49:32 -08:00
Syrus
1a960a01ae Improved lint 2019-12-20 20:45:10 -08:00
Syrus
c4d70a6b75 Use Arc instead of Rc 2019-12-20 20:37:47 -08:00
Syrus
097353d0d4 Fix lint 2019-12-20 19:20:32 -08:00
Syrus
0f45bd4f0d Fixed tiering docs 2019-12-20 19:12:35 -08:00
Syrus
c143bc8fc8 Revert emscripten changes 2019-12-20 19:09:07 -08:00
Syrus
2404203ae4 Improved based on feedback 2019-12-20 19:03:49 -08:00
Syrus
527d7072b3 Remove unsafe transmute copy 2019-12-20 18:52:30 -08:00
Syrus
294cc28135 Move inline breakpoint outside of runtime backend
There was some code smell leaking inline breakpoint implementation into the runtime core backend instead of the compiler itself
2019-12-20 18:26:56 -08:00
bors[bot]
0419df937e
Merge #1095
1095: Update to cranelift 0.52 r=nlewycky a=nlewycky

# Description
Update to cranelift 0.52.

To use our wasmer branch of cranelift, we point to its path on git. Per @syrusakbary , we don't want to push updated wasmer-clif crates until we're ready to release the matching wasmer that will use them.

# Review

- [x] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-21 01:45:45 +00:00
Mark McCaskey
fe969be612 Update wasmparser to version 0.45.0 2019-12-20 17:16:54 -08:00
Mark McCaskey
8cddea341b Update to 0.45.0 wasmparser Operator names in llvm-backend 2019-12-20 17:16:54 -08:00
Mark McCaskey
adecb36d15 Update to 0.45.0 wasmparser Operator names in singlepass-backend 2019-12-20 17:15:38 -08:00
Nick Lewycky
c2f287e65b Update to cranelift 0.51. 2019-12-20 17:10:36 -08:00
bors[bot]
d5d82e2508
Merge #1096
1096: Add TBAA labels to initialization (default and copy) of locals. r=nlewycky a=nlewycky



Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-12-21 01:06:23 +00:00
Nick Lewycky
cca73c0a6f Add TBAA labels to initialization (default and copy) of locals. 2019-12-20 17:02:58 -08:00
Nick Lewycky
bba0129150 Remove comments with register names that might not be right and don't really matter. 2019-12-20 16:20:58 -08:00
Nick Lewycky
e738a9f2b5 Name the magic constants in the singlepass backend. 2019-12-20 16:20:58 -08:00
Nick Lewycky
f00283ab03 Name the magic constants in the LLVM backend. 2019-12-20 16:20:58 -08:00
Nick Lewycky
b7929e6561 Add support for non-trapping float to int conversions in singlepass+AArch64. 2019-12-20 16:20:58 -08:00
Nick Lewycky
d52c193e84 Finish implementation of trunc_sat in singlepass x86-64. 2019-12-20 16:20:58 -08:00
Nick Lewycky
442c40f5f1 Initial implementatio of trunc-sat instructions in singlepass. 27 test failures. 2019-12-20 16:20:58 -08:00
Nick Lewycky
6fe2f434c6 Add tests for non-trapping float to int conversions.
This breaks all of conversions.wast on singlepass. LLVM and Cranelift pass.
2019-12-20 16:20:58 -08:00
Nick Lewycky
0cfe08fff3 Correct implementation of non-trapping float to int conversions in the llvm backend. 2019-12-20 16:20:58 -08:00
Nick Lewycky
5b35313099 Use type traits to ensure that the float and int types match in trunc_sat. 2019-12-20 16:20:58 -08:00
Stephan Renatus
782be5b51a Add function to get nul-terminated strings from memory
Fixes #1086.

Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-12-20 21:53:08 +01:00
Mark McCaskey
ad8945a555 Add misc doc link fixes and update old comment 2019-12-19 16:22:51 -05:00
Mark McCaskey
5888f44e95 Cargo fmt with Rust 1.39.0 2019-12-19 14:06:27 -05:00
bors[bot]
6fb52e812e
Merge #1084
1084: Prepare for 0.12.0 release r=MarkMcCaskey a=MarkMcCaskey

# Review

- [x] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-19 16:43:39 +00:00
Syrus Akbary
10dccd9556
Merge branch 'master' into feature/llvm-use-floats 2019-12-18 15:07:43 -08:00
Mark McCaskey
6a74b7e994 Prepare for 0.12.0 release 2019-12-18 17:24:29 -05:00
Mark McCaskey
caa75fa157 Merge branch 'master' into wat 2019-12-18 15:42:14 -05:00
Mark McCaskey
7d77511ad5 Additional clean up, cargo update to fix merge issue 2019-12-18 15:24:42 -05:00
Nick Lewycky
5d0429989a Remove type_to_llvm_int_only, only use type_to_llvm. 2019-12-18 11:53:48 -08:00
Mark McCaskey
4539ef44d0 Rename to experimental-io-devices and clean up for release 2019-12-18 14:10:54 -05:00
Stephan Renatus
b5b8484f6a docs: fix markup runtime-core docs
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-12-18 15:06:46 +01:00
Jasper-Bekkers
22b3a06b40 Skip formatting test_func_arity_n! invocations with more then 15 parameters 2019-12-18 13:22:22 +01:00
Jasper-Bekkers
ee2e595e5b Add more parameters to Func 2019-12-18 12:36:19 +01:00
bors[bot]
49c512b2c5
Merge #1075
1075: Add include guards for WASI APIs in runtime-c-api r=syrusakbary a=MarkMcCaskey

Improves correctness, but the readability does suffer.

In the future we should probably have separate header files or find a way to merge the conditional includes

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-18 03:15:33 +00:00
bors[bot]
d3d328189f
Merge #1077
1077: Improve some doc comments relating to type-safe indexing r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-18 00:51:46 +00:00
Mark McCaskey
13b097e8c3 Improve the wording of typed index doc comments. 2019-12-17 19:10:36 -05:00
Mark McCaskey
d165a85743 Improve some doc comments relating to type-safe indexing 2019-12-17 18:45:07 -05:00
Nick Lewycky
6a0a4390c1 Use function defined in wasmer-runtime-core instead of our own copy of it. 2019-12-17 15:12:54 -08:00
Mark McCaskey
6618750ebd Add include guards for WASI APIs in runtime-c-api 2019-12-17 16:25:26 -05:00
Syrus Akbary
83fded4f20
Merge branch 'master' into feature/emscripten-in-c-api 2019-12-17 10:54:21 -08:00