Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-11 | refactor(ext/node): remove several TODOs (#15452) | Bartek Iwańczuk | |
2022-08-11 | perf(ops): Monomorphic sync op calls (#15337) | Aapo Alasuutari | |
Welcome to better optimised op calls! Currently opSync is called with parameters of every type and count. This most definitely makes the call megamorphic. Additionally, it seems that spread params leads to V8 not being able to optimise the calls quite as well (apparently Fast Calls cannot be used with spread params). Monomorphising op calls should lead to some improved performance. Now that unwrapping of sync ops results is done on Rust side, this is pretty simple: ``` opSync("op_foo", param1, param2); // -> turns to ops.op_foo(param1, param2); ``` This means sync op calls are now just directly calling the native binding function. When V8 Fast API Calls are enabled, this will enable those to be called on the optimised path. Monomorphising async ops likely requires using callbacks and is left as an exercise to the reader. | |||
2022-08-10 | fix(ext/ffi): unstable op_ffi_unsafe_callback_ref (#15439) | Luca Casonato | |
2022-08-09 | chore: temporarily disable `ext/node` and use unstable ops (#15438) | David Sherret | |
2022-08-09 | chore: temporarily disable `op_require_read_file` (#15433) | David Sherret | |
2022-08-09 | feat: add ext/node for require support (#15362) | Bartek Iwańczuk | |
This commit adds "ext/node" extension that implementes CommonJS module system. In the future this extension might be extended to actually contain implementation of Node compatibility layer in favor of "deno_std/node". Currently this functionality is not publicly exposed, it is available via "Deno[Deno.internal].require" namespace and is meant to be used by other functionality to be landed soon. This is a minimal first pass, things that still don't work: support for dynamic imports in CJS conditional exports | |||
2022-08-08 | chore(ext/ffi): remove flaky test (#15426) | Divy Srivastava | |
2022-08-05 | feat(ext/ffi): Add static method variants to Deno.UnsafePointerView (#15146) | Aapo Alasuutari | |
2022-08-05 | fix(ext/ffi): Check CStr for UTF-8 validity on read (#15318) | Aapo Alasuutari | |
Co-authored-by: Phosra <phosra@tutanota.com> | |||
2022-08-05 | feat(ext/fetch): Add socks proxy support (#15372) | SahAssar | |
2022-08-05 | chore: forward v1.24.2 release commit to main (#15410) | denobot | |
2022-08-04 | fix: increase websocket message size (#15406) | Leo Kettmeir | |
2022-08-04 | fix(ext/webgpu): use correct IDL key name (#15278) | Leo Kettmeir | |
2022-07-29 | Forward 1.24.1 to main (#15333) (#15336) | Colin Ihrig | |
1.24.1 (#15333) Co-authored-by: cjihrig <cjihrig@users.noreply.github.com> | |||
2022-07-28 | perf(ext/ffi): use fast api calls for 64bit return types (#15313) | Divy Srivastava | |
2022-07-28 | fix(ext/fetch): resolve TODOs about WebIDL conversions in body init (#15312) | Phosra | |
2022-07-27 | perf(ext/ffi): support Uint8Array in fast calls (#15319) | Divy Srivastava | |
2022-07-27 | chore(ext/ffi): Remove unnecessary byte_offset conditional slicing (#15320) | Aapo Alasuutari | |
2022-07-26 | chore(ops): Remove unused arguments from ops (#15315) | Aapo Alasuutari | |
2022-07-24 | chore(ext/ffi): remove dependency on stdint.h (#15294) | Divy Srivastava | |
2022-07-24 | feat(ext/ffi): Safe number pointers (#15173) | Aapo Alasuutari | |
2022-07-23 | feat(ext/ffi): Add support to get ArrayBuffers from UnsafePointerView (#15143) | Aapo Alasuutari | |
2022-07-23 | feat(ext/crypto): deriveBits P-384 (#15138) | diachedelic | |
This commit adds P-384 curve support for crypto.subtle.deriveBits. Co-authored-by: James Diacono <james@diacono.com.au> | |||
2022-07-22 | Revert "feat(ops): V8 Fast Calls (#15122)" (#15276) | Divy Srivastava | |
This reverts commit 03dc3b8972f460e40d0b75fc3207cae9fe4f60da. | |||
2022-07-22 | feat(ops): V8 Fast Calls (#15122) | Divy Srivastava | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-07-22 | perf(ext/ffi): Optimise common pointer related APIs (#15144) | Aapo Alasuutari | |
2022-07-21 | 1.24.0 (#15262) | denobot | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-07-20 | Reland "feat: add "unhandledrejection" event support" (#15211) | Bartek Iwańczuk | |
2022-07-20 | chore: align some Web API type definitions to lib.dom.d.ts (#15219) | ayame113 | |
2022-07-20 | fix(ext/web): align DOMException better with spec (#15097) | Phosra | |
2022-07-20 | chore(ext): update webgpu (#15059) | Dante Issaias | |
2022-07-19 | chore: upgrade rusty_v8 to 0.47.0 (#15247) | Bartek Iwańczuk | |
2022-07-18 | fix: WebSocketStream ping event causes pending promises (#15235) | Leo Kettmeir | |
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-07-15 | chore: fix Windows specific clippy errors (#15212) | David Sherret | |
2022-07-15 | Revert "feat: add "unhandledrejection" event support (#12994) (#15080)" (#15210) | Bartek Iwańczuk | |
This reverts commit 1a7259b04b7229f6350a7a7c21b50497b5c80c17. | |||
2022-07-14 | fix(ext/ffi): allow setting a custom lib path for libtcc.a (#15208) | Kayla Washburn | |
2022-07-14 | feat: add "unhandledrejection" event support (#12994) (#15080) | Bartek Iwańczuk | |
Relanding #12994 This commit adds support for "unhandledrejection" event. This event will trigger event listeners registered using: "globalThis.addEventListener("unhandledrejection") "globalThis.onunhandledrejection" This is done by registering a default handler using "Deno.core.setPromiseRejectCallback" that allows to handle rejected promises in JavaScript instead of Rust. This commit will make it possible to polyfill "process.on("unhandledRejection")" in the Node compat layer. Co-authored-by: Colin Ihrig <cjihrig@gmail.com> | |||
2022-07-12 | chore: forward v1.23.4 release commit to main (#15172) | Colin Ihrig | |
1.23.4 (#15168) Co-authored-by: cjihrig <cjihrig@users.noreply.github.com> Co-authored-by: denobot <33910674+denobot@users.noreply.github.com> Co-authored-by: cjihrig <cjihrig@users.noreply.github.com> | |||
2022-07-12 | fix(ext/http): reading headers with ongoing body reader (#15161) | Divy Srivastava | |
2022-07-12 | fix(net): don't panic on failed UDS removal (#15157) | Colin Ihrig | |
If a Unix Domain Socket cannot be removed, throw instead of panicing. Fixes: https://github.com/denoland/deno/issues/14213 | |||
2022-07-12 | fix(ext/ffi): i64 arg to C mapping was wrong (#15162) | Aapo Alasuutari | |
2022-07-12 | feat(ext/ffi): Support 64 bit parameters in Fast API calls (#15140) | Aapo Alasuutari | |
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2022-07-12 | fix(ext/ffi): trampoline for fast calls (#15139) | Divy Srivastava | |
2022-07-11 | fix(ext/crypto): Adjust typings for `Crypto.getRandomValues()` (#15130) | Livia Medeiros | |
2022-07-11 | chore(web, worker): Use `DetachedBuffer` for `postMessage` ops (#15133) | Andreu Botella | |
This commit uses `DetachedBuffer` instead of `ZeroCopyBuf` in the ops that back `Worker.prototype.postMessage` and `MessagePort.prototype.postMessage`. This is done because the serialized buffer is then copied to the destination isolate, even though it is internal to runtime code and not used for anything else, so detaching it and transferring it instead saves an unnecessary copy. | |||
2022-07-09 | fix(ext/console): Fix a typo in a warning when .timeEnd is called on an ↵ | Gamer Omega | |
unknown timer (#15135) | |||
2022-07-09 | refactor(ext) Decrease of StringPrototypeReplace recurrent usage (#15058) | sevenwithawp | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-07-09 | fix(ext/ffi): allow opting out of fast ffi calls (#15131) | Divy Srivastava | |
2022-07-09 | fix(ext/ffi): Avoid keeping JsRuntimeState RefCell borrowed for event loop ↵ | Aapo Alasuutari | |
middleware calls (#15116) |