337 Commits

Author SHA1 Message Date
Valery Antopol
ac5fc92a9c add memory bounds checking for MemoryView 2022-01-17 09:14:13 +03:00
Valery Antopol
586b69c250 backport changes from faas to the marine-web 2022-01-14 07:45:09 +03:00
Valery Antopol
90e4ddf25f fix build 2022-01-13 17:56:11 +03:00
Valery Antopol
fa4daef664 Merge branch 'master' into web_runtime_experiments
# Conflicts:
#	Cargo.lock
#	examples/greeting/artifacts/greeting.wasm
2022-01-13 17:48:01 +03:00
Valery Antopol
767b73b446 update cargo.lock 2022-01-13 17:35:11 +03:00
Valery Antopol
497a2ba05c fmt 2022-01-12 17:14:32 +03:00
Valery Antopol
e7db519260 comment logging, remove additional export from greeting 2022-01-12 17:10:40 +03:00
Valery Antopol
ce90ae08ab fix compilation 2022-01-12 05:19:11 +03:00
Valery Antopol
8c73fcd4ba make web-runtime compilable again 2022-01-11 05:34:34 +03:00
Valery Antopol
de7feed72c use new memory interface in the native runtime 2022-01-11 05:27:24 +03:00
Valery Antopol
12418d2246 use new memory interface in web-runtime 2021-12-29 13:44:20 +03:00
Mike Voronov
7b0686ab2e
Introduce wasm_pages_to_bytes; rename max_heap_size to max_heap_pages_count (#136) v0.6.13 2021-12-15 11:12:08 +03:00
Mike Voronov
5e07fe0876
bump marine-utils crate (#135) 2021-12-14 12:52:35 +03:00
Valery Antopol
971d3739aa add build script 2021-12-10 16:21:25 +03:00
Valery Antopol
a8d6dd3046 add faas code 2021-12-10 16:21:05 +03:00
Valery Antopol
d85c8dec4d use nodejs-style exports 2021-12-10 16:13:47 +03:00
Valery Antopol
4616c8b7b2 add panic hook 2021-12-10 16:13:13 +03:00
Valery Antopol
f5c652312b some logs 2021-12-10 16:12:38 +03:00
Mike Voronov
c7c8d611d9
Allow runtime to set maximum memory count (#127) v0.6.12 2021-12-03 20:33:46 +03:00
Valery Antopol
273b076679 Get rid of window.MARINE_WASM_MODULES 2021-12-01 15:47:56 +03:00
Valery Antopol
0a0c0b0eb9 Add compilable faas, add call_module js export 2021-12-01 13:18:34 +03:00
Valery Antopol
1391b978cb fix 2021-11-26 15:03:07 +03:00
Valery Antopol
d2d05cdde6 Use it_interfaces from crate and get rid of more dead code 2021-11-26 15:02:41 +03:00
Valery Antopol
6f2fccfcac Add js code for running in browser 2021-11-26 13:08:08 +03:00
Valery Antopol
f9821da7a0 Get rid of dead code and fmt project 2021-11-25 18:13:52 +03:00
Valery Antopol
1baf34a200 First successful run of avm::invoke 2021-11-22 19:53:02 +03:00
Valery Antopol
68f6aae275 WIP trying to run AVM 2021-11-22 17:26:56 +03:00
Valery Antopol
57ca11020c Add dommy argument to "allocate" export 2021-11-11 02:36:01 +03:00
Valery Antopol
611d024b23 WIP: just got result from greeting(but with second unexpected output) 2021-11-08 10:15:12 +03:00
vms
e09a167bc7 update sdk version 2021-11-04 16:45:27 +03:00
Valery Antopol
1efd1413d7 WIP: proof-of-concept web marine runtime 2021-11-03 05:08:18 +03:00
Valery Antopol
d1ed552d80
Add marine test examples for build.rs and marine_test on mod (#130) 2021-10-18 20:15:51 +03:00
Mike Voronov
db84af1c1f
Bump crate versions (#129) 2021-10-05 18:20:41 +03:00
Valery Antopol
ccdbbd0044
Add multi-service marine_test example (#128) 2021-10-05 18:14:35 +03:00
Mike Voronov
0ccf5eda5b
Add call_with_ivalues method to FluenceAppService (#125) 2021-09-29 13:05:26 +03:00
Mike Voronov
4072de7b60
Fix clippy warnings (#126) 2021-09-29 12:58:10 +03:00
Mike Voronov
6fef752281
fix MError error messages (#123) 2021-09-28 16:30:40 +03:00
Valery Antopol
5747a6cc70
update update message in cli tools (#119) 2021-09-16 15:47:23 +03:00
folex
1f20f9ea49
Introduce tag-based draft releases (#117)
The release scheme is as follows.

## Tags
A release is created on a tag push. The tag must be prefixed with `v`, e.g., `v0.2.3`.

Tags can be pushed either manually or via `tag.yml` GitHub Action via a press of the button. 

Tags can be moved if needed, like this:
```
# Remove tag
git push -d origin v0.2.3 && git tag -d v0.2.3 
# Mark current commit with a tag and push
git tag v0.2.3 && git push origin v0.2.3
```
In such a case, the release action will be executed against the new commit and the existing `v0.2.3` release will be moved to Draft status. One would rarely need such a trick, but it's useful to know of it.

## Changelog
On each release, a changelog is generated. The changelog is calculated from Pull Requests merged between a previous semver-looking tag and a newly pushed one. So, given that there was a release `v0.2.2`, on a push of `v0.2.3` changelog will be generated from PRs that were merged since `v0.2.2` until the commit marked with `v0.2.3`.

Changelog format can be easily changed in the `changelog_config.json` file. It is also possible to set up PR grouping by labels or by regex.

## Release
GitHub release is created in status 'Draft' to avoid notifying repository watchers. Repository maintainers must review the release and make it public manually.

## Publishing
On each release, all publishable crates are published to crates.io. Their versions are published as is, i.e. exactly as specified in Cargo.toml's. Because of that, it is possible that the same versions of crates exist in different releases. It gives maintainers the finest control over publishing.
2021-09-15 18:52:31 +03:00
Valery Antopol
14d38e2c7b
Remove serde version lock on 1.0.118 (#118) 2021-09-15 16:27:48 +03:00
Mike Voronov
44a886d348
add badge (#116) 2021-09-09 16:43:14 +03:00
Mike Voronov
23b79abbcd
Add module header to generated aqua code (#113) 2021-09-08 14:11:43 +03:00
folex
02b8622db2
Make releases manual (#112) 2021-09-08 13:29:40 +03:00
boneyard93501
f97a4f7eba
update stack png (#109) 2021-09-04 13:39:39 +03:00
Mike Voronov
c54975bef0
move to wasmer-it 0.20.2 (#110) 0.6.11 2021-09-03 20:10:44 +03:00
Valery Antopol
8d2b37b1b5
update to marine-rs-sdk-test 0.2.0 (#108) 2021-09-02 19:53:30 +03:00
Valery Antopol
0d4888e2a8 update rust version to nightly-2021-05-21 2021-09-02 15:49:02 +03:00
folex
57782d2998
README: update documentation link (#106) 2021-08-13 10:57:43 +03:00
Valery Antopol
17826b2f2b
Support call parameters in repl (#105) 2021-08-10 17:06:40 +03:00
Mike Voronov
44898d929c
move to wasmer 0.17.1 (#104) 2021-08-05 21:17:26 +03:00