Commit Graph

349 Commits

Author SHA1 Message Date
vms
2a756bd485 add Eq, Hash for types; bump version 2020-09-13 23:29:09 +03:00
vms
e61b645899 add instruction tracing 2020-09-13 22:19:26 +03:00
vms
880f324016 bump version 2020-09-10 10:49:27 +03:00
vms
a0826f6693 Merge branch 'master' into record_refactoring 2020-09-10 10:48:06 +03:00
vms
010cebcb18 update 2020-08-27 00:00:05 +03:00
vms
78ef68b5eb more beatify 2020-08-26 19:16:00 +03:00
vms
8f1df6d539 beatify 2020-08-26 19:09:55 +03:00
vms
d429669428 bump version 2020-08-23 04:09:25 +03:00
vms
8fe8cecc35
Merge pull request #5 from fluencelabs/disable_removing_complex_objects
Disable removing complex objects
2020-08-23 04:06:07 +03:00
vms
8e078a0457 disable removing complex objects 2020-08-20 19:30:23 +03:00
vms
d4cb5622ac update 2020-08-20 16:01:33 +03:00
vms
37458bc559 commute arg name and type to one struct 2020-08-18 04:32:43 +03:00
vms
e28914ae01 update types 2020-08-18 03:48:10 +03:00
vms
8a18ba607f Merge branch 'master' into record_refactoring 2020-08-18 01:24:02 +03:00
vms
d32ca36253 bump version for publishing 2020-08-18 00:58:57 +03:00
vms
d4bc6326b9 update 2020-08-14 19:26:20 +03:00
vms
eb11794240 refactor Record type 2020-08-13 21:02:23 +03:00
vms
458adc2534
Merge pull request #2 from fluencelabs/struct_support
Support records and byte arrays
2020-07-28 01:20:57 +03:00
vms
33ce6228c8 fix bug with empty complex types 2020-07-28 01:18:19 +03:00
vms
eb3dbcb835 remove excess logs 2020-07-28 01:08:58 +03:00
vms
a69dc8f0df add check for size == 0 2020-07-27 23:35:07 +03:00
vms
dddfbdc31c fix some bugs 2020-07-27 23:30:46 +03:00
vms
c0d2d9fab1 add clone to type 2020-07-26 23:53:09 +03:00
vms
951f21f593 pass records with pointer only 2020-07-26 22:11:57 +03:00
vms
053056c1eb fix clippy warnings 2020-07-25 11:10:50 +03:00
vms
6d42a84ba4 use into_vc instead of public member 2020-07-25 11:07:20 +03:00
vms
5cf972b348 Merge branch 'byte_array' of github.com:fluencelabs/interface-types into struct_support 2020-07-25 11:03:21 +03:00
vms
5446f3e108 add support of structs 2020-07-25 11:02:03 +03:00
folex
4521e79a50 Merge branch 'master' into byte_array 2020-07-20 15:45:06 +03:00
vms
b65b34b0f6 improve byte_array parsing 2020-07-17 10:55:35 +03:00
folex
5517af8b97 Remove Default from Vec1, add into_vec 2020-07-13 16:14:01 +03:00
vms
bb9e4dbdfc add byte array handler 2020-07-09 03:06:50 +03:00
folex
689c6757fb
Merge pull request #1 from fluencelabs/serde 2020-06-25 10:33:29 +03:00
folex
899567042f Add support for map and seq 2020-06-24 18:07:34 +03:00
vms
3f0da9f9bc remove redundant println 2020-06-24 15:06:42 +03:00
folex
a87cf1f528 derive Default for Vec1 2020-06-23 10:42:39 +03:00
folex
add53640f1 Add Serialize/Deserialize for InterfaceType, RecordType and Vec1 2020-06-22 16:46:11 +03:00
vms
567bec274b bound ExecutableInstruction with Send 2020-06-22 16:10:20 +03:00
vms
82986d1035 export wast::error from decoders/wat.rs 2020-06-11 14:06:43 +03:00
vms
52c28b80bc add dup and swap2 instructions 2020-06-01 14:06:00 +03:00
vms
c2f2a23c38 rename signature_type to function_type, fix cargo warnings 2020-05-28 16:05:58 +03:00
Ivan Enderlin
8b9d33c14c
Merge pull request #2 from Hywan/test-ci
test(ci) Fix Rust installation
2020-05-15 10:35:37 +02:00
Ivan Enderlin
187ee09805 test(ci) Fix Rust installation. 2020-05-15 10:30:34 +02:00
Ivan Enderlin
8b49c8477b
Merge pull request #1 from Hywan/test-ci
test(ci) Set up Github Actions
2020-05-15 10:28:58 +02:00
Ivan Enderlin
44bc86e7f1 test(ci) Set up Github Actions. 2020-05-15 10:27:49 +02:00
bors[bot]
c85541042b Merge #1370
1370: feat(interface-types) Crate reorganization r=Hywan a=Hywan

This PR re-organizes the crate:

* `interpreter/wasm/values.rs` moves to `values.rs`,
* `interpreter/wasm/serde/*` moves to `serde/*`,
* `types.rs` is new, and includes `InterfaceType` and `RecordType`,
* Update the documentation.

Bonus: `InterfaceValue::Record`  now takes a `Vec1` rather than a `Vec` to match `InterfaceType::Record`.

Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-04-10 08:24:23 +00:00
Ivan Enderlin
7efd48dc44 doc(interface-types) Update the module documentation. 2020-04-09 12:16:57 +02:00
Ivan Enderlin
c79669c4d1 feat(interface-types) InterfaceValue::Record now takes a Vec1.
It matches the definition of `InterfaceType::Record`.
2020-04-09 12:10:48 +02:00
Ivan Enderlin
81bb278b4c feat(interface-types) Move the values and serde modules to the root of the crate. 2020-04-09 11:23:26 +02:00
Ivan Enderlin
de1d3c7766 feat(interface-types) Remove the re-export of InterfaceType in values. 2020-04-09 10:54:09 +02:00