Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-14 | fix(ext/web/streams): enqueue to second branch before closing (#16269) | Marcos Casagrande | |
Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2022-10-14 | fix(ext/fetch): throw TypeError on non-Uint8Array chunk (#16262) | Marcos Casagrande | |
2022-10-14 | fix(ext/web/streams): resolve cancelPromise in ReadableStreamTee (#16266) | Marcos Casagrande | |
2022-10-10 | feat(core): add Deno.core.writeAll(rid, chunk) (#16228) | Luca Casonato | |
This commit adds a new op_write_all to core that allows writing an entire chunk in a single async op call. Internally this calls `Resource::write_all`. The `writableStreamForRid` has been moved to `06_streams.js` now, and uses this new op. Various other code paths now also use this new op. Closes #16227 | |||
2022-10-08 | fix(ext/fetch): reject immediately on aborted signal (#16190) | Marcos Casagrande | |
Enabled the following test: https://github.com/web-platform-tests/wpt/blob/edc428e8e229429acd723efc7a6d41010c94fc41/fetch/api/abort/general.any.js#L185-L201 | |||
2022-10-04 | perf(ext/fetch): consume body using ops (#16038) | Marcos Casagrande | |
This commit adds a fast path to `Request` and `Response` that make consuming request bodies much faster when using `Body#text`, `Body#arrayBuffer`, and `Body#blob`, if the body is a FastStream. Because the response bodies for `fetch` are FastStream, this speeds up consuming `fetch` response bodies significantly. | |||
2022-09-30 | refactor(ext/http): remove op_http_read (#16096) | Luca Casonato | |
We can use Resource::read_return & op_read instead. This allows HTTP request bodies to participate in FastStream. To make this work, `readableStreamForRid` required a change to allow non auto-closing resources to be handled. This required some minor changes in our FastStream paths in ext/http and ext/flash. | |||
2022-09-30 | fix(runtime): no FastStream for unrefable streams (#16095) | Luca Casonato | |
2022-09-29 | fix(ext/fetch): `Body#bodyUsed` for static body (#16080) | Marcos Casagrande | |
This fixes a bug where `Body#bodyUsed` incorrectly returns `false` for a body that has actually already been consumed, after `Body#body` is called. | |||
2022-08-19 | perf(runtime): optimize Deno.file open & stream (#15496) | Divy Srivastava | |
2022-08-18 | feat(ext/flash): An optimized http/1.1 server (#15405) | Divy Srivastava | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> Co-authored-by: crowlkats <crowlkats@toaxl.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2022-07-18 | feat(unstable): Ability to ref/unref "Child" in "Deno.spawnChild()" API (#15151) | Leo Kettmeir | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Colin Ihrig <cjihrig@gmail.com> | |||
2022-05-25 | fix(fmt): prevent infinite loop when formatting certain binary expressions ↵ | David Sherret | |
(#14725) | |||
2022-04-22 | Reland "perf(http): optimize ReadableStreams backed by a resource" (#14346) | Divy Srivastava | |
2022-04-21 | Revert various PRs related to "ext/http" (#14339) | Bartek Iwańczuk | |
* Revert "feat(ext/http): stream auto resp body compression (#14325)" * Revert "core: introduce `resource.read_return` (#14331)" * Revert "perf(http): optimize `ReadableStream`s backed by a resource (#14284)" | |||
2022-04-20 | perf(http): optimize `ReadableStream`s backed by a resource (#14284) | Divy Srivastava | |
2022-04-16 | refactor: update runtime code for primordial check x in y (#13642) | Bartek Iwańczuk | |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2022-03-19 | refactor: cleanup assert() & AssertionError definitions (#13859) | Leo Kettmeir | |
2022-02-01 | refactor: primordials for instanceof (#13527) | Bartek Iwańczuk | |
2022-01-27 | Revert "refactor: update runtime code for primordial checks for "instanceof" ↵ | Bartek Iwańczuk | |
(#13497)" (#13511) This reverts commit 884143218fad0e18f7553aaf079d52de703f7601. | |||
2022-01-27 | refactor: update runtime code for primordial checks for "instanceof" (#13497) | Bartek Iwańczuk | |
2022-01-14 | fix(streams): update TypeError message for pending reads when releasing ↵ | Leo Kettmeir | |
reader (#13376) | |||
2022-01-14 | feat(streams): reject pending reads when releasing reader (#13375) | Leo Kettmeir | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-12-08 | feat(streams): support abort reasons in streams (#12991) | Andreu Botella | |
2021-11-08 | feat(ext/web): WritableStreamDefaultController.signal (#12654) | Leo Kettmeir | |
2021-11-05 | BREAKING chore(ext/web): remove `ReadableStream.getIterator` (#12652) | Leo Kettmeir | |
2021-11-03 | feat(ext/web): BYOB support for ReadableStream (#12616) | Leo Kettmeir | |
This commit introduces support for BYOB readers in the WHATWG Streams API implementation. | |||
2021-10-12 | chore: upgrade crates based on deno ast 0.3 (#12403) | David Sherret | |
2021-09-25 | fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) | 李瑞丰 | |
Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2021-09-02 | feat(fmt): add basic JS doc formatting (#11902) | David Sherret | |
2021-08-11 | Rename extensions/ directory to ext/ (#11643) | Ryan Dahl | |