summaryrefslogtreecommitdiff
path: root/std/wasi
AgeCommit message (Collapse)Author
2020-11-02feat(std/wasi): add start method to Context (#8141)Casper Beyer
This adds a start method to the Context to make starting a command less tedious and yield consistent errors. Manually setting the memory is still valid for more complex scenarios, just undocumented for the time being.
2020-10-27fix(std/wasi): remove stray console.log call (#8156)Casper Beyer
A stray console.log call made it into path_open which should have been reverted, it was only meant for debugging on the CI.
2020-10-26test(std/wasi): re-enable clock_time_get tests (#8098)Casper Beyer
This brings in revised tests for clock_time_get from upstream and re-enables them. This revision of these tests allow for lower precision clocks (we only provide millisecond precision, and that is conformant but previous tests for this in the upstream test suite were a bit more aggressive).
2020-10-24docs(std/wasi): mark sched_yield as implemented (#8055)Casper Beyer
This marks sched_yield as implemented, it is a no-op but will probably always be and we have passing tests for it.
2020-10-24fix(std/wasi): disallow path_open outside of pre-opened dirfd (#8078)Casper Beyer
2020-10-20test(std/wasi): reduce test duplication (#8053)Casper Beyer
This fast-forwards wasi-test-suite a couple of commits removed duplicate, or near duplicate tests with not much additional value. Other tests have been merged to reduce the number of modules to make tests topical to the syscall that is being tested.
2020-10-04docs(std): version all imports in README (#7442)tokiedokie
Use $STD_VERSION in std/ README files to automatically display proper version.
2020-10-04docs: end sentences with a period in markdown (#7813)Trivikram Kamat
2020-10-03docs(std/wasi): remove outdated testing section (#7812)Casper Beyer
2020-10-03docs(std/wasi): fix usage example (#7808)Casper Beyer
The usage example is a bit out of date and not compatible with the stricter definition of the WebAssembly namespace. This fixes that and makes it a bit cleaner.
2020-09-29chore(std/wasi): enable and fix lint errors in snapshot_preview1 (#7360)Casper Beyer
2020-09-21test(std/wasi): add fd_renumber test (#7574)Casper Beyer
2020-09-21chore: add copyright (#7593)tokiedokie
2020-09-16test(std/wasi): add sched_yield test (#7511)Casper Beyer
2020-09-04test(std/wasi): explicitly list modules for deterministic test runs (#7245)Casper Beyer
This explicitly lists std/wasi test modules in a pre-sorted array for deterministic test runs. As a side effect it makes it a bit more visible when a test has been added or removed aside from having to look at the submodule update.
2020-09-04chore(std/wasi): enable and fix lint errors in tests (#7324)Casper Beyer
2020-08-31chore(std/wasi): fix no-inner-declarations lints (#7286)Casper Beyer
2020-08-31fix(cli): use upstream type definitions for WebAssembly (#7216)Casper Beyer
2020-08-27fix(std/wasi): invalid number to bigint conversion in fd_tell (#7215)Casper Beyer
2020-08-27test(std/wasi): seperate test runner into a module (#7191)Casper Beyer
2020-08-27fix(std/wasi): ignore lint errors (#7197)Yusuke Tanaka
2020-08-25fix(std/wasi): return flags from fd_fdstat_get (#7112)Casper Beyer
2020-08-25test(std/wasi): add wasi-testsuite as a submodule (#7042)Casper Beyer
2020-08-24fix(std/wasi): always capture syscall exceptions (#7116)Casper Beyer
This wraps all exported syscalls in an exception catching delegate to ensure that the stack is never unexpectedly unwound.
2020-08-24BREAKING(std/wasi): rename Module to Context (#7110)Casper Beyer
This commit renames Module and ModuleOptions to context to avoid stutter confusion, e.g avoid having documentation that says things like instantiate the snapshot's module's module.
2020-08-24BREAKING(std/wasi): use record for exports (#7109)Casper Beyer
2020-08-20docs(std/wasi): fix reference to the wrong object in example (#7124)Casper Beyer
2020-07-16fix(std/wasi): remove number overload from rights in path_open (#6768)Casper Beyer
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-07test(std/wasi): add std file read and write tests (#6671)Casper Beyer
2020-07-05fix(std/wasi): return errno::success from fd_tell (#6636)Casper Beyer
2020-07-05test(std/wasi) add std::fs::File seek test (#6648)Casper Beyer
2020-07-05feat(std/wasi): implement fd_readdir (#6631)Casper Beyer
2020-07-05test(std/wasi): explicitly assert each expected arg (#6633)Casper Beyer
2020-07-02test(std/wasi): add create directory and file tests (#6603)Casper Beyer
2020-06-29test(std/wasi): add rename test (#6573)Casper Beyer
2020-06-29test(std/wasi): add hard-link test (#6571)Casper Beyer
2020-06-29feat(std/wasi): implement fd_sync (#6560)Casper Beyer
2020-06-29feat(std/wasi) implement fd_filestat_set_size (#6558)Casper Beyer
2020-06-29feat(std/wasi): implement fd_datasync (#6556)Casper Beyer
2020-06-29feat(std/wasi) implement fd_filestat_get (#6555)Casper Beyer
2020-06-27fix(std/wasi): use lookupflags for path_filestat_get (#6530)Casper Beyer
2020-06-27fix(std/wasi): path_filestat_get padding (#6509)Casper Beyer
2020-06-26test(std/wasi): add read, write and metadata tests (#6494)Casper Beyer
2020-06-26test(wasi/std): remove v8 flags from test runner (#6496)Casper Beyer
2020-06-24doc(std/wasi): fix example (#6464)Marcos Casagrande
2020-06-24doc(std/wasi) add a list of supported syscalls (#6460)Casper Beyer
2020-06-24feat(std/wasi): add wasi_snapshot_preview1 (#6441)Casper Beyer
2019-10-09remove std submoduleRyan Dahl
2019-10-04Move deno_std to a more convenient location. (#3057)Ryan Dahl
js/deps/https/deno.land/std -> js/std