Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-24 | feat(ext/web): add CompressionStream API (#11728) | Leo Kettmeir | |
Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2022-01-20 | chore: bump crate version for 0.18.0 (#13441) | Divy Srivastava | |
2022-01-20 | chore: update copyright year (#13434) | Yoshiya Hinosawa | |
2022-01-18 | fix(runtime): don't crash when window is deleted (#13392) | Bartek Iwańczuk | |
This commit fixes an error when user deletes "window" global JS variable. Instead of relying on "window" or "globalThis" to dispatch "load" and "unload" events, we are default to global scope of the worker. | |||
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-13 | chore: forward v1.17.3 to main (#13364) | Bartek Iwańczuk | |
2022-01-11 | fix(ext/web): handle no arguments in atob (#13341) | Luca Casonato | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2022-01-06 | chore: forward 1.17.2 to main (#13295) | Bartek Iwańczuk | |
2022-01-05 | refactor(ext/web): Don't rely on NaN comparisons in `TextEncoderStream` (#13151) | Andreu Botella | |
In the `transform` function to `TextEncoderStream`'s internal `TransformStream`, if `chunk` is the empty string and `this.#pendingHighSurrogate` is null, then `lastCodeUnit` will be NaN. As it turns out, this does not cause a bug because the comparison to check for lone surrogates turns out to be false for NaN, but to rely on it makes the code brittle. | |||
2021-12-22 | chore: merge v1.17.1 into main (#13184) | Bartek Iwańczuk | |
2021-12-16 | chore: release crates for v1.17.0 (#13112) | Bartek Iwańczuk | |
2021-12-14 | fix(ext/web): set location undefined when `--location` is not specified (#13046) | Yoshiya Hinosawa | |
2021-12-10 | feat(ext/web): implement `AbortSignal.prototype.throwIfAborted()` (#13044) | Andreu Botella | |
See whatwg/dom#1034. | |||
2021-12-10 | feat(cli): update to TypeScript 4.5 (#12410) | Kitson Kelly | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-12-08 | feat(streams): support abort reasons in streams (#12991) | Andreu Botella | |
2021-12-04 | chore: merge v1.16.4 into main (#12984) | Luca Casonato | |
2021-11-24 | chore: merge v1.16.3 into main (#12892) | Bert Belder | |
2021-11-17 | chore: bump crates for 1.16.2 (#12792) | David Sherret | |
2021-11-11 | chore: bump crate versions for 1.16.1 (#12729) | Luca Casonato | |
2021-11-11 | fix: add typings for AbortSignal.reason (#12730) | Luca Casonato | |
2021-11-09 | chore: bump crate versions for 1.16.0 (#12706) | Luca Casonato | |
2021-11-08 | feat(ext/web): add `AbortSignal.reason` (#12697) | Leo Kettmeir | |
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-05 | fix: typings for BYOB stream readers (#12651) | Leo Kettmeir | |
2021-11-03 | fix: Deno.emit crashes with BorrowMutError (#12627) | Ryan Dahl | |
Warn on await_holding_refcell_ref clippy rule to avoid this in the future. Fixes #12453 | |||
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-11-02 | chore: update to Rust edition 2021 (#12578) | Bartek Iwańczuk | |
2021-10-29 | fix(encoding): support additional encoding labels (#12586) | Andreu Botella | |
2021-10-28 | fix(webidl): Don't throw when converting a detached buffer source (#12585) | Andreu Botella | |
The Web IDL conversion to `BufferSource` and similar types shouldn't check whether the buffer is detached. In the case of `TextDecoder`, our implementation would still throw after the Web IDL conversions because we're creating a new `Uint8Array` from the buffer source's buffer, which throws if it's detached. This change also fixes this bug. | |||
2021-10-29 | perf(encoding): avoid copying the input data in `TextDecoder` (#12573) | Andreu Botella | |
The implementation of `TextDecoder` had a bug where it was copying the input data in every case. This change removes that copy in non-`SharedArrayBuffer` cases. Since passing a shared buffer source to Rust would fail, this copy of the input data was making `TextDecoder` work in cases where the input is shared. In order to avoid a breaking change, the copy is retained in those cases. | |||
2021-10-25 | chore: bump crate version for 1.15.3 (#12531) | Yoshiya Hinosawa | |
2021-10-21 | fix: declare web types as global (#12497) | Bartek Iwańczuk | |
Co-authored-by: Feng Yu <F3n67u@outlook.com> | |||
2021-10-18 | chore: release crates for v1.15.2 (#12478) | Bartek Iwańczuk | |
2021-10-17 | fix(core): poll async ops eagerly (#12385) | Bert Belder | |
Currently all async ops are polled lazily, which means that op initialization code is postponed until control is yielded to the event loop. This has some weird consequences, e.g. ```js let listener = Deno.listen(...); let conn_promise = listener.accept(); listener.close(); // `BadResource` is thrown. A reasonable error would be `Interrupted`. let conn = await conn_promise; ``` JavaScript promises are expected to be eagerly evaluated. This patch makes ops actually do that. | |||
2021-10-12 | chore: bump crate version for 1.15.0 (#12406) | Satya Rohith | |
2021-10-12 | chore: upgrade crates based on deno ast 0.3 (#12403) | David Sherret | |
2021-10-08 | fix(ext/web): Format DOMException stack property (#12333) | Kenta Moriuchi | |
2021-10-08 | refactor: deduplicate `defineEventHandler` util (#12367) | Andreu Botella | |
2021-10-05 | chore: merge v1.14.3 into main (#12327) | Bartek Iwańczuk | |
2021-10-03 | feat(web): Implement `DOMException`'s `stack` property. (#12294) | Andreu Botella | |
As per WebIDL (https://heycam.github.io/webidl/#es-DOMException-specialness), if `Error` objects have a `stack` property, so should `DOMException` instances. | |||
2021-10-01 | perf(web): optimize byteLowerCase() (#12282) | Aaron O'Mullan | |
2021-09-30 | perf(web): ~400x faster http header trimming (#12277) | Aaron O'Mullan | |
Use a regex substring match with a first/last char fastpath instead of 2 regex replaces. Roughly ~400x faster (423ms vs 0.7ms in profiled runs) | |||
2021-09-29 | perf(web/Event): move last class field to constructor (#12265) | Aaron O'Mullan | |
2021-09-28 | chore: bump crate versions for 1.14.2 (#12253) | Aaron O'Mullan | |
2021-09-26 | perf(web): optimize Event constructor (#12231) | Aaron O'Mullan | |
Assign in constructor instead of using class initializers which are currently ~10x slower | |||
2021-09-25 | fix(ext/web): FileReader error messages (#12218) | Dan Rose | |
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> |