Commit Graph

1538 Commits

Author SHA1 Message Date
Steve Akinyemi
771dae7feb Refactor api code and doc 2018-11-21 00:45:57 +01:00
Steve Akinyemi
70e3262bf8 Add some other emscripten apis 2018-11-20 00:43:07 +01:00
Syrus Akbary
3070667edd Remove offsets print 2018-11-19 13:21:35 -08:00
Syrus Akbary
3fa01be0bb Remove offsets print 2018-11-19 13:21:11 -08:00
Syrus Akbary
3b878620cc Added support for mocking globals and tables by default 2018-11-19 13:09:16 -08:00
Syrus Akbary
12dc70d497 Added support for global references 2018-11-19 10:27:55 -08:00
Syrus Akbary
f2d2c9b9f8 Use rayon for easy parallel compilation 2018-11-18 23:51:56 -08:00
Syrus Akbary
9680d586c3 Use iterator map for compilation 2018-11-18 22:12:22 -08:00
Syrus Akbary
39e1f59311 Merge branch 'master' into features/global-value-offset 2018-11-18 21:05:55 -08:00
Syrus Akbary
a7e1775255 Added mocking back into instance 2018-11-18 21:05:26 -08:00
Syrus Akbary
60b1520808 Improved naming of Exportable to ImportableExportable 2018-11-18 20:23:01 -08:00
Syrus Akbary
9f561db90b Added support for global value offsets
This commit depends on this PR landing on cranelift:
https://github.com/CraneStation/cranelift/pull/612
2018-11-18 20:22:18 -08:00
Steve Akinyemi
cb77e89c45 Add some syscalls 2018-11-19 01:12:29 +01:00
Steve Akinyemi
ab570e8be6 Add syscall function sig 2018-11-19 01:12:29 +01:00
Steve Akinyemi
79b74567b2 Update with link to top 2018-11-19 01:12:29 +01:00
Steve Akinyemi
f8eae09110 Add emscripten printf example and list of emscripten syscalls 2018-11-19 01:12:29 +01:00
Syrus Akbary
93881aa5e4
Merge pull request #10 from WAFoundation/cranelift-upgrade
Upgrade to Cranelift 0.23
2018-11-18 15:51:56 -08:00
Syrus Akbary
998d7294f0 Fix table element size 2018-11-18 15:41:31 -08:00
Syrus Akbary
f3cbfc0e09 Fixed return_mode 2018-11-18 15:23:38 -08:00
Syrus Akbary
91875fef06 Merge branch 'master' into cranelift-upgrade
# Conflicts:
#	src/webassembly/module.rs
2018-11-18 13:09:34 -08:00
Syrus Akbary
d01a10d810 Added memory_grow spectest 2018-11-18 11:13:20 -08:00
Syrus Akbary
f915f0ea43
Merge pull request #15 from appcypher/fix/grow-memory-bug
Fix LinearMemory.current update bug
2018-11-17 13:21:22 -08:00
Steve Akinyemi
e7923d3b32 Add memory_grow.wast test file. 2018-11-17 22:13:59 +01:00
Steve Akinyemi
ba6bc71019 Fix LinearMemory.current update bug 2018-11-17 19:56:15 +01:00
Syrus Akbary
5c56b09031 Fix building releases on non-master branches 2018-11-17 10:50:54 -08:00
Syrus Akbary
501bacc6c3
Merge pull request #13 from WAFoundation/fix/table-import-memory-repr-rebased
Fix/table import memory repr rebased
2018-11-17 09:24:08 -08:00
Syrus Akbary
7977d09fc7 Merge branch 'master' into fix/table-import-memory-repr-rebased
# Conflicts:
#	.circleci/config.yml
#	install.sh
#	src/build_spectests.rs
#	src/linkers/emscripten/abort.rs
#	src/linkers/emscripten/mod.rs
#	src/linkers/mod.rs
#	src/main.rs
#	src/webassembly/instance.rs
#	src/webassembly/memory.rs
#	src/webassembly/mod.rs
#	src/webassembly/module.rs
2018-11-17 01:01:47 -08:00
Syrus Akbary
84b9847456 Improved offsets in module using pointer size rather than fixed numbers
# Conflicts:
#	src/webassembly/module.rs
2018-11-17 00:46:27 -08:00
Syrus Akbary
c0f014fc59 Improved a bit more the install script 2018-11-17 00:43:10 -08:00
Syrus Akbary
344dca002e Improve install script with better cursor positioning text 2018-11-17 00:42:59 -08:00
Syrus Akbary
e4ed4cc532 Improved instance & module data pointers location
# Conflicts:
#	src/webassembly/instance.rs
#	src/webassembly/module.rs
2018-11-17 00:42:31 -08:00
Syrus Akbary
ac2d605472 Added Instance options, automatically mock missing imports
# Conflicts:
#	src/webassembly/instance.rs
#	src/webassembly/mod.rs
2018-11-17 00:37:45 -08:00
Syrus Akbary
b16fceb9d3 Added emscripten abort function
# Conflicts:
#	src/linkers/emscripten/mod.rs
2018-11-17 00:10:41 -08:00
Syrus Akbary
7bd2af98b3 Refactored emscripten integratoin
# Conflicts:
#	src/integrations/mod.rs
2018-11-17 00:09:52 -08:00
Syrus Akbary
c452ff1c04 Improved error messaging 2018-11-17 00:07:18 -08:00
Syrus Akbary
3aa205aad2 Improved wasmer logo 2018-11-17 00:06:25 -08:00
Syrus Akbary
fd8feedb51 Added token spectests 2018-11-17 00:06:15 -08:00
Syrus Akbary
c5c033c02b Added traps spectests 2018-11-17 00:06:05 -08:00
Syrus Akbary
a96c106b17 Improved debug statements
Same commit as aba907cbc4 but without using the log debug macro (as causes fail)
2018-11-17 00:05:41 -08:00
Syrus Akbary
da23efa99f Improved install script showing the download progress bar 2018-11-16 23:57:51 -08:00
Syrus Akbary
4bb69e731a Added first iteration of the install script 2018-11-16 23:57:14 -08:00
Syrus Akbary
e86ac94ac0 Improved build script for macos 2018-11-16 23:57:02 -08:00
Syrus Akbary
e1d31adeb7 Adding rustup binaries to PATH for darwin build 2018-11-16 23:56:39 -08:00
Syrus Akbary
824cd7a283 Trying to fix mac install 2018-11-16 23:56:29 -08:00
Syrus Akbary
50b860f717 Trying to add macos releases 2018-11-16 23:56:21 -08:00
Syrus Akbary
47231c241a Save package version on artifacts 2018-11-16 23:55:32 -08:00
Syrus Akbary
36f46342bc Trying to autoplublish releases 2018-11-16 23:55:21 -08:00
Syrus Akbary
3e5b3b1838 Updated logo 2018-11-16 11:37:41 -08:00
Steve Akinyemi
df482667aa Fix table and memory import and improve memory storage 2018-11-16 16:55:49 +01:00
Syrus Akbary
a9e46a02d3 Merge branch 'master' into cranelift-upgrade
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/webassembly/mod.rs
#	src/webassembly/module.rs
2018-11-15 19:40:45 -08:00