491 Commits

Author SHA1 Message Date
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
NikVolf
1602f7ace6 bump version 2017-10-25 18:51:08 +03:00
Nikolay Volf
c01769f76f Merge pull request #107 from paritytech/exportentry_field_mut
field_mut better return &mut String
2017-10-25 18:50:29 +03:00
fro
2b9a7a4cda field_mut better return &mut String 2017-10-25 18:33:14 +03:00
Nikolay Volf
b2486aab60 Merge pull request #106 from paritytech/module-clone
Clone impl for a module
2017-10-24 16:47:28 +03:00
fro
7385baf967 Clone impl for a module 2017-10-24 16:11:03 +03:00
Nikolay Volf
5e8c101a80 Update README.md 2017-10-24 15:11:50 +03:00
NikVolf
dd2df80007 bump version and move repo 2017-10-23 15:54:51 +03:00
NikVolf
665b8da84c bump version 2017-09-19 13:40:09 +03:00
Nikolay Volf
63c57946d1 Merge pull request #102 from waywardmonkeys/clone-opcode
Opcode: impl Clone.
2017-09-19 12:53:19 +03:00
Bruce Mitchener
5c7a3c8c72 Opcode: impl Clone. 2017-09-19 16:05:18 +07:00
NikVolf
6b4c7c9e67 bump version 2017-09-15 21:51:45 +03:00
Nikolay Volf
8ee48a922f Merge pull request #101 from pchickey/pch/expose_env_module
Allow interpreter ProgramInstance to be created with arbitrary env module
2017-09-15 21:50:58 +03:00
Pat Hickey
f21bf553c3 interpreter: ProgramInstance exposes constructor for arbitrary env module 2017-09-14 18:42:59 -07:00
Alexey
debbaeee32 Update README.md 2017-09-11 15:14:01 +03:00