summaryrefslogtreecommitdiff
path: root/std/wasi/snapshot_preview1.ts
AgeCommit message (Collapse)Author
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-17chore: Enforce ban-untagged-todo lint rule (#9135)Bartek IwaƄczuk
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-06BREAKING(std/wasi): return exit code from start (#9022)Casper Beyer
This returns the exit code directly from the start entry point instead of throwing it and letting the user handle it. As a result the exit status is an implementation detail and has been made internal.
2021-01-05BREAKING(std/wasi): make implementation details private (#8996)Casper Beyer
This makes the implementation details of the Context class private, making the public interface much more bare-bones and aligns it closer to what Node exposes.
2021-01-05feat(std/wasi): allow stdio resources to be specified (#8999)Casper Beyer
2020-12-10docs(std/wasi): document ContextOptions (#8715)Casper Beyer
2020-12-10docs(std/wasi): add a basic description of Context (#8711)Casper Beyer
2020-12-10fix(std/wasi): disallow multiple starts (#8712)Casper Beyer
2020-12-05refactor(std/wasi): prefer explicit encoder/decoder names (#8622)Casper Beyer
This renames a couple of identifiers from the ambigious name "text" to the more explicit textEncoder and textDecoder depending on what they are.
2020-12-04refactor(std/wasi): prefer nullish coalescing (#8607)Casper Beyer
2020-12-03feat(std/wasi): add return on exit option (#8605)Casper Beyer
This adds an exitOnReturn option to context making it possible to unwind the stack on the exit(2) syscall instead of delegating to it directly. Use case is being able to treat WASI execution contexts as children that don't kill the parent on exit.
2020-12-03feat(std/wasi): add support for initializing reactors (#8603)Casper Beyer
This adds another entry point to Context called initialize for spinning up style modules. Reactors are modules that don't have a main function and basically run forever in the background.
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-24fix(std/wasi): disallow path_open outside of pre-opened dirfd (#8078)Casper Beyer
2020-09-29chore(std/wasi): enable and fix lint errors in snapshot_preview1 (#7360)Casper Beyer
2020-09-21chore: add copyright (#7593)tokiedokie
2020-08-31chore(std/wasi): fix no-inner-declarations lints (#7286)Casper Beyer
2020-08-27fix(std/wasi): invalid number to bigint conversion in fd_tell (#7215)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-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-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-05fix(std/wasi): return errno::success from fd_tell (#6636)Casper Beyer
2020-07-05feat(std/wasi): implement fd_readdir (#6631)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-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