summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-13chore(cli): remove dead code related to previous tsc emit (#15196)Nayeem Rahman
2022-07-13fix(cli): synchronize async stdio/file reads and writes (#15092)David Sherret
Fixes a regression where async writes and reads could get out of order.
2022-07-13chore: fix flaky `integration::test::meta` (#15192)David Sherret
2022-07-13chore: fix pty_complete_imports test on linux/mac (#15191)David Sherret
2022-07-12fix: fallback to no type checking cache when db file can't be created (#15180)David Sherret
2022-07-12feat(cli/lsp): Sort repl completions (#15171)2shiori17
2022-07-12fix(repl): do not panic for import completions when the import specifier is ↵David Sherret
empty (#15177)
2022-07-12perf: use emit from swc instead of tsc (#15118)David Sherret
2022-07-12chore: 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-12fix(ext/http): reading headers with ongoing body reader (#15161)Divy Srivastava
2022-07-12fix(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-12chore: fix repl::pty_emoji test on linux (#15166)David Sherret
2022-07-12fix(ext/ffi): i64 arg to C mapping was wrong (#15162)Aapo Alasuutari
2022-07-12feat(ext/ffi): Support 64 bit parameters in Fast API calls (#15140)Aapo Alasuutari
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-07-12fix(ext/ffi): trampoline for fast calls (#15139)Divy Srivastava
2022-07-12fix(lsp): enable auto imports (#15145)Kitson Kelly
Fixes: #15111
2022-07-11fix(coverage): better handling of multi-byte characters (#15159)David Sherret
2022-07-11fix(ext/crypto): Adjust typings for `Crypto.getRandomValues()` (#15130)Livia Medeiros
2022-07-11benchmarks: fix exec_time and latency benchmarks (#15155)Bartek Iwańczuk
2022-07-11perf(cli/proc_state): Get error source lines from memory (#15031)Nayeem Rahman
2022-07-11fix: upgrade deno_ast to 0.17 (#15152)David Sherret
2022-07-11refactor: rename run_basic to run_local (#15068)cuobiezi
2022-07-11chore(ci): Run wpt launcher with preinstalled Deno (#15098)Nayeem Rahman
2022-07-11chore(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-11chore(core): Deduplicate code related to `op_event_loop_has_more_work` (#15147)Andreu Botella
The `op_event_loop_has_more_work` op, introduced in #14830, duplicates code from `JsRuntime::poll_event_loop`. That PR also added the unused method `JsRuntime::event_loop_has_work`, which is another duplication of that same code, and which isn't used anywhere. This change deduplicates this by renaming `JsRuntime::event_loop_has_work` to `event_loop_pending_state`, and making it the single place to determine what in the event loop is pending. This result is then returned in a struct which is used both in the event loop and in the `op_event_loop_has_more_work` op.
2022-07-10refactor: update comment in diff.rs (#15142)Ikko Ashimine
Github -> GitHub
2022-07-09fix(ext/console): Fix a typo in a warning when .timeEnd is called on an ↵Gamer Omega
unknown timer (#15135)
2022-07-09refactor(ext) Decrease of StringPrototypeReplace recurrent usage (#15058)sevenwithawp
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-07-09fix(ext/ffi): allow opting out of fast ffi calls (#15131)Divy Srivastava
2022-07-09fix(ext/ffi): Avoid keeping JsRuntimeState RefCell borrowed for event loop ↵Aapo Alasuutari
middleware calls (#15116)
2022-07-08perf(ext/ffi): leverage V8 Fast Calls (#15125)Divy Srivastava
2022-07-08chore: upgrade rusty_v8 to 0.45.0 (#15123)Divy Srivastava
2022-07-07fix(core): deflake WASM termination test (#15103)Bartek Iwańczuk
2022-07-06fix(ext/http) nextRequest return type annotation from ResponseEvent to ↵Zach
RequestEvent (#15100) Fixes #15099
2022-07-06perf(ext/http): skip `core.isProxy` check for default ResponseInit (#15077)Divy Srivastava
2022-07-06fix(ext/url): missing primordial (#15096)Garcia
2022-07-06refactor(core): Use `&mut Isolate` as an argument in `JsRealm` methods (#15093)Andreu Botella
Currently almost every `JsRealm` method has a `&mut JsRuntime` argument. This argument, however, is only used to get the runtime's corresponding isolate. Given that a mutable reference to the corresponding `v8::Isolate` can be reached from many more places than a mutable reference to the `JsRuntime` (for example, by derefing a V8 scope), changing that will make `JsRealm` usable from many more places than it currently is.
2022-07-05feat(core): Re-export v8 use_custom_libcxx feature (#14475)Arthur Silva
2022-07-05chore(ci): fix post publish for forwarding release commit back to main (#15088)David Sherret
2022-07-05chore: unpin pin project to fix cargo publish (#15085)David Sherret
2022-07-05chore: pin aes-gcm to fix cargo publish (#15084)David Sherret
2022-07-051.23.3 (#15081)denobot
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-07-05Revert "refactor(snapshots): to their own crate (#14794)" (#15076)Bartek Iwańczuk
This reverts commit fd5a12d7e25dc53238e2bbcffe970e646c1035f3.
2022-07-04Revert "feat: add "unhandledrejection" event support (#12994)" (#15075)Bartek Iwańczuk
This reverts commit f7af0b01a59aaac91473e2f920137004d39a310a.
2022-07-04feat: add "unhandledrejection" event support (#12994)Bartek Iwańczuk
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-04chore(test): fix `test_collect_specifiers` windows path to specifier code ↵Roj
(#15072)
2022-07-04perf(ext/http): remove accept_encoding interior mutability (#15070)Divy Srivastava
2022-07-04fix(cli): handle collecting a directory with file:// (#15002)Roj
2022-07-04perf(ext/http): simplify op_http_accept (#15067)Divy Srivastava
2022-07-04chore(cli/bench): use `deno bench` for deno_common.js (#15063)Divy Srivastava