741 Commits

Author SHA1 Message Date
Sergey Pepyakin
56a68e6dc4 Add few more tests 2018-01-17 16:55:58 +03:00
Sergey Pepyakin
e9d05f3bc5 Don't require check_signature. 2018-01-17 16:55:58 +03:00
Sergey Pepyakin
43d446b04c Add comment. 2018-01-17 16:55:58 +03:00
Sergey Pepyakin
bbc5dda2ab Format 2018-01-17 16:55:58 +03:00
Sergey Pepyakin
64f660f4ba Add defer_providing_externals test 2018-01-17 16:55:58 +03:00
Sergey Pepyakin
ea3deccf32 Add comment to TestHost. 2018-01-17 16:55:58 +03:00
Sergey Pepyakin
c699a0bad0 Clean 2018-01-17 16:55:58 +03:00
Sergey Pepyakin
be66dda69e Add recursion test. 2018-01-17 16:55:58 +03:00
Sergey Pepyakin
367807663d Merge 'origin/master' into api-overhaul
Conflicts:
	src/interpreter/native.rs
	src/interpreter/runner.rs
	src/interpreter/tests/wabt.rs
	src/interpreter/validator.rs
2018-01-17 16:55:33 +03:00
NikVolf
a597cdb15d bump version 2018-01-15 11:48:43 +03:00
Nikolay Volf
19494e9e4f
Merge pull request #144 from icefoxen/wrap-typo-fix
Fix typo: Warp -> Wrap
2018-01-15 12:48:02 +04:00
Simon Heath
516de9a725 Fix typo: Warp -> Wrap 2018-01-14 13:30:44 -05:00
Sergey Pepyakin
a873e3e336 Merge branch 'master' into api-overhaul-externals
Conflicts:
	pwasm-emscripten/Cargo.toml
	src/interpreter/mod.rs
2018-01-12 15:19:19 +03:00
Sergey Pepyakin
cd59970099 Host tests 2018-01-12 15:13:24 +03:00
Sergey Pepyakin
b7b97b5abf Fix wasm tests 2018-01-11 20:04:43 +03:00
Sergey Pepyakin
3b72c9986f Remove wabt test entirely 2018-01-11 19:17:15 +03:00
Sergey Pepyakin
fd91cff839 Rename state->externals 2018-01-11 19:16:33 +03:00
Sergey Pepyakin
06d2ce8f65 assert_no_start no longer returns Result 2018-01-11 19:14:50 +03:00
Sergey Pepyakin
6138f1445f Clean Errors 2018-01-11 18:24:26 +03:00
Sergey Pepyakin
d0793337cf fmt 2018-01-11 17:42:43 +03:00
Sergey Pepyakin
fed8ad7543 Fix spec test 2018-01-11 17:32:20 +03:00
Sergey Pepyakin
9bd703654f Make spec tests compile 2018-01-11 16:07:45 +03:00
Sergey Pepyakin
a12fa290cf Fix examples. 2018-01-11 15:16:30 +03:00
Sergey Pepyakin
226cda6d92 Pass ImportResolver via reference 2018-01-11 15:16:25 +03:00
Sergey Pepyakin
5a378ddf60 Get rid of InstantiationBuilder. 2018-01-11 15:02:55 +03:00
Sergey Pepyakin
236cf1eaba Refactor Imports 2018-01-11 12:59:32 +03:00
Sergey Pepyakin
83824ff0e7 Fix interpreter examples 2018-01-10 18:42:28 +03:00
Sergey Pepyakin
cefe26ef35 Ditch HostFuncIndex 2018-01-10 18:19:47 +03:00
Sergey Pepyakin
3432b325c0 MemoryInstance returns error when it can't grow 2018-01-10 18:06:13 +03:00
NikVolf
e082e3b082 bump version 2018-01-10 19:01:44 +04:00
Nikolay Volf
360c106ccf
Merge pull request #138 from icefoxen/element-debug
Added Debug to lots of the `elements` types.
2018-01-10 19:01:05 +04:00
Sergey Pepyakin
12749d6490 TableInstance set is actually nullable 2018-01-10 17:53:22 +03:00
Sergey Pepyakin
d2ba861034 Extend table API with current_size. 2018-01-10 17:45:36 +03:00
Sergey Pepyakin
62188dec5f publish validation mod 2018-01-10 16:56:34 +03:00
Sergey Pepyakin
dbab8f5673 Get rid of elements stuff in GlobalInstance API 2018-01-10 15:29:20 +03:00
Sergey Pepyakin
721b24442a Get rid of elements stuff in TableInstance API 2018-01-10 15:25:00 +03:00
Sergey Pepyakin
f5ac17c42a Get rid of elements stuff in MemoryInstance API 2018-01-10 15:21:02 +03:00
Sergey Pepyakin
212731a9ce Publish NotStartedModuleRef 2018-01-10 15:12:58 +03:00
Sergey Pepyakin
37616dfcc4 Publish not_started_instance. 2018-01-10 15:06:15 +03:00
Sergey Pepyakin
5e4362f2d4 Move Module's ImportResolver to imports. 2018-01-10 15:06:05 +03:00
Sergey Pepyakin
2f0c6e889d Move NotStartedModuleRef from InstantiationBuilder 2018-01-10 14:38:46 +03:00
Sergey Pepyakin
af020ed972 Imports Validation → Instantiation errors 2018-01-10 14:11:07 +03:00
Sergey Pepyakin
7465112d93 Fix 2018-01-10 14:09:17 +03:00
Sergey Pepyakin
3e201a7728 make *_by_index methods pub 2018-01-10 14:07:44 +03:00
NikVolf
1b578c196f bump version 2018-01-10 12:07:56 +04:00
Nikolay Volf
657ee416c5
Merge pull request #142 from paritytech/doc-update
Fix missing docs warnings
2018-01-10 12:07:21 +04:00
NikVolf
e2ccf3d3bc fix warnings 2018-01-10 11:41:52 +04:00
Nikolay Volf
e76f33d6c8
Merge pull request #137 from icefoxen/doc-fixes
Minor doc fixes
2018-01-10 11:26:19 +04:00
Nikolay Volf
19382c6d96
Merge pull request #140 from icefoxen/magic-fix2
Made default module magic number endian-independent.
2018-01-10 11:07:10 +04:00
Simon Heath
bddeb51f02 Made default module magic number endian-independent.
And added unit test.  You can change the `LittleEndian` to `BigEndian`
in `Module::default()` and see what it would otherwise do when built
on a big-endian platform.
2018-01-09 19:45:34 -05:00