505 Commits

Author SHA1 Message Date
Sergey Pepyakin
a49cdfbadb Fix native_env_global. 2017-11-28 18:09:27 +03:00
Sergey Pepyakin
d8bfb02fa5 fix env_native_export_entry_type_check
Also ignore "import_env_mutable_global".
2017-11-28 18:09:27 +03:00
Sergey Pepyakin
0749f8819b Fix native_env_function_own_memory 2017-11-28 18:09:27 +03:00
Sergey Pepyakin
6680b915bf Fix native_env_global. 2017-11-28 18:09:27 +03:00
Sergey Pepyakin
c3a3ad83fa Some changes 2017-11-28 18:09:27 +03:00
Sergey Pepyakin
e6bf41a10c Update documentation for ExternalVariableValue. 2017-11-28 18:08:48 +03:00
Sergey Pepyakin
e99779c9df Add anothr variant of abort 2017-11-28 18:08:48 +03:00
Sergey Pepyakin
4e0ab2d5f9 Implement emscripten mod in terms of native mod 2017-11-28 18:08:48 +03:00
Sergey Pepyakin
ae67df2d07 Fix 2017-11-28 18:08:48 +03:00
Sergey Pepyakin
05a9f4067e Fixes 2017-11-28 18:08:48 +03:00
Sergey Pepyakin
61c2197bd8 Initial 2017-11-28 18:08:48 +03:00
Svyatoslav Nikolsky
e85a8dec42
Merge pull request #119 from paritytech/env-refactor
Env refactor
2017-11-27 20:36:14 +03:00
Sergey Pepyakin
3160f61b64 Rename EnvParams → EmscriptenParams 2017-11-27 20:27:06 +03:00
Sergey Pepyakin
2cb0781c41 Doc fix 2017-11-27 16:52:24 +03:00
Sergey Pepyakin
073013d24f Fixes in error strings 2017-11-27 16:49:50 +03:00
Sergey Pepyakin
0e1db10465 Remove Env error variant 2017-11-27 16:49:34 +03:00
Sergey Pepyakin
bf0db90643 Update doc 2017-11-27 16:49:25 +03:00
Sergey Pepyakin
17facb529b Rename env → base. 2017-11-27 16:22:00 +03:00
Sergey Pepyakin
f532bff101 Add comment to Emscripten module. 2017-11-27 16:21:49 +03:00
Sergey Pepyakin
0ea8a48a64 Renamings. 2017-11-27 16:11:12 +03:00
Sergey Pepyakin
0482373afc env → emscripten 2017-11-27 15:37:39 +03:00
NikVolf
a039fb5d08 bump version 2017-11-26 23:02:55 +03:00
Nikolay Volf
61885817e3
Merge pull request #118 from paritytech/remove-user-error
Hide UserError behind a trait object
2017-11-26 23:01:48 +03:00
Sergey Pepyakin
ea6275cc9d Clean 2017-11-26 00:30:43 +03:00
Sergey Pepyakin
ea980415f6 Fix tests 2017-11-25 23:06:19 +03:00
Sergey Pepyakin
5b9e1f04ba Remove E: UserError everywhere 2017-11-25 22:55:45 +03:00
Sergey Pepyakin
6a3b9af597 Initial sketch 2017-11-25 22:28:15 +03:00
Nikolay Volf
0b5939e4e7
Merge pull request #117 from paritytech/move-sig-check
Move signature checking into export_entry
2017-11-24 16:13:56 +03:00
Sergey Pepyakin
c4245d584e Move signature checking into export_entry
Looking at the tests it seems that signature checking is expected to be done by `export_entry`. But in fact if signatures don't match, `export_entry` delegates to it's `env` field, which will usually should return `Error::Function` since there is no function registered with a such name.

This change set should fix that.
2017-11-23 13:49:03 +03:00
NikVolf
7ed7f79a2d bump version 2017-11-22 00:54:38 +03:00
Nikolay Volf
aa1271b365
Merge pull request #116 from paritytech/import-extend
Import section handy functions
2017-11-22 00:53:41 +03:00
NikVolf
18a877e692 import handy functions 2017-11-21 20:03:06 +03:00
NikVolf
03c3e57488 fix travis documentation upload 2017-11-20 19:38:41 +03:00
Nikolay Volf
636d96eb2b
Update README.md 2017-11-20 13:36:07 +03:00
Sergey Pepyakin
d2dffb8f92
Merge pull request #113 from paritytech/fix-stack-top
Default STACKTOP in env module - 256kb, configurable
2017-11-13 19:46:31 +03:00
NikVolf
6b6e102b24 default stack top - 256kb, configurable 2017-11-12 18:58:10 +03:00
NikVolf
5112ec4b15 bump version 2017-11-10 00:54:35 +03:00
Nikolay Volf
6efc0e8e49
Merge pull request #112 from paritytech/interpreter-memops
Implement copy_nonoverlapping and clear.
2017-11-10 00:54:05 +03:00
Sergey Pepyakin
027c59fa7e Implement copy_nonoverlapping and clear. 2017-11-09 19:19:52 +03:00
Alexey
3f519dd4ac
Merge pull request #111 from paritytech/doc-link
Update doc link in Cargo.toml
2017-11-03 14:07:52 +03:00
Nikolay Volf
6006864073
Update doc link in Cargo.toml 2017-11-03 02:07:42 +03:00
NikVolf
107900a3bc bump version 2017-11-02 13:52:54 +03:00
Nikolay Volf
58f732ae21
Merge pull request #110 from paritytech/memory-get-into
MemoryInstance::get_into() to safe copy into mutable slice without allocations
2017-11-02 13:52:20 +03:00
NikVolf
13ddb31b94 remove space 2017-11-02 13:35:21 +03:00
NikVolf
aba11d5b67 get_into to avoid copy 2017-11-02 13:32:29 +03:00
Nikolay Volf
a787b2ec93
Merge pull request #109 from paritytech/editorconfig
Add .editorconfig
2017-11-01 16:35:27 +03:00
Sergey Pepyakin
0de83b2b94 Add .editorconfig 2017-11-01 14:15:15 +03:00
NikVolf
4a0f5aa444 bump version 2017-10-30 18:10:30 +03:00
Nikolay Volf
ec3fa66e22
Merge pull request #108 from paritytech/peek
Peek module size utility
2017-10-30 18:09:44 +03:00
NikVolf
c373a4adc1 peek module size utility 2017-10-30 17:37:06 +03:00