Commit Graph

7580 Commits

Author SHA1 Message Date
denobot
b0de3031dc
1.23.4 (#15168)
Co-authored-by: cjihrig <cjihrig@users.noreply.github.com>
2022-07-12 14:55:29 -04:00
Divy Srivastava
1b45d6fd23
fix(ext/http): reading headers with ongoing body reader (#15161) 2022-07-12 14:24:24 -04:00
Colin Ihrig
d382126a12
fix(net): don't panic on failed UDS removal (#15157)
If a Unix Domain Socket cannot be removed, throw instead of
panicing.

Fixes: https://github.com/denoland/deno/issues/14213
2022-07-12 14:24:14 -04:00
David Sherret
3144d0f952
chore: fix repl::pty_emoji test on linux (#15166) 2022-07-12 14:24:05 -04:00
Divy Srivastava
58ed7e2104
fix(ext/ffi): trampoline for fast calls (#15139) 2022-07-12 14:23:11 -04:00
Kitson Kelly
2bb2ba125a
fix(lsp): enable auto imports (#15145)
Fixes: #15111
2022-07-12 14:23:01 -04:00
David Sherret
4854cffcc1
fix(coverage): better handling of multi-byte characters (#15159) 2022-07-12 14:22:51 -04:00
Livia Medeiros
99bf821727
fix(ext/crypto): Adjust typings for Crypto.getRandomValues() (#15130) 2022-07-12 14:22:38 -04:00
Bartek Iwańczuk
0f8bfb53e3
benchmarks: fix exec_time and latency benchmarks (#15155) 2022-07-12 14:22:28 -04:00
Nayeem Rahman
707e2b7279
perf(cli/proc_state): Get error source lines from memory (#15031) 2022-07-12 14:22:13 -04:00
David Sherret
f9f50b3d7e
fix: upgrade deno_ast to 0.17 (#15152) 2022-07-12 14:21:59 -04:00
cuobiezi
843908a6fb
refactor: rename run_basic to run_local (#15068) 2022-07-12 14:21:50 -04:00
Nayeem Rahman
218f64f005
chore(ci): Run wpt launcher with preinstalled Deno (#15098) 2022-07-12 14:21:41 -04:00
Andreu Botella
6dcdb0b571
chore(web, worker): Use DetachedBuffer for postMessage ops (#15133)
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-12 14:21:33 -04:00
Ikko Ashimine
f9c81a03ac
refactor: update comment in diff.rs (#15142)
Github -> GitHub
2022-07-12 14:19:24 -04:00
Gamer Omega
00dfda43a9
fix(ext/console): Fix a typo in a warning when .timeEnd is called on an unknown timer (#15135) 2022-07-12 14:19:17 -04:00
sevenwithawp
46fd0fe2da
refactor(ext) Decrease of StringPrototypeReplace recurrent usage (#15058)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-07-12 14:19:08 -04:00
Divy Srivastava
ea20bebcb8
fix(ext/ffi): allow opting out of fast ffi calls (#15131) 2022-07-12 14:19:00 -04:00
Aapo Alasuutari
1611695127
fix(ext/ffi): Avoid keeping JsRuntimeState RefCell borrowed for event loop middleware calls (#15116) 2022-07-12 14:18:53 -04:00
Divy Srivastava
b2b6927bbc
perf(ext/ffi): leverage V8 Fast Calls (#15125) 2022-07-12 14:18:26 -04:00
Divy Srivastava
42b9850206
chore: upgrade rusty_v8 to 0.45.0 (#15123) 2022-07-12 14:18:18 -04:00
Bartek Iwańczuk
9f0dc8dd67
fix(core): deflake WASM termination test (#15103) 2022-07-12 14:18:11 -04:00
Zach
b1d7bd6661
fix(ext/http) nextRequest return type annotation from ResponseEvent to RequestEvent (#15100)
Fixes #15099
2022-07-12 14:18:02 -04:00
Divy Srivastava
535d5c1d37
perf(ext/http): skip core.isProxy check for default ResponseInit (#15077) 2022-07-12 14:17:52 -04:00
Garcia
3eccfe71d0
fix(ext/url): missing primordial (#15096) 2022-07-12 14:17:34 -04:00
Andreu Botella
79be031586
refactor(core): Use &mut Isolate as an argument in JsRealm methods (#15093)
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-12 14:17:23 -04:00
Arthur Silva
1bc89a7680
feat(core): Re-export v8 use_custom_libcxx feature (#14475) 2022-07-12 14:17:13 -04:00
David Sherret
8113c81246
chore(ci): fix post publish for forwarding release commit back to main (#15088) 2022-07-12 14:16:31 -04:00
David Sherret
0b07d1a403
chore: unpin pin project to fix cargo publish (#15085) 2022-07-05 13:00:42 -04:00
David Sherret
36aae31f79
chore: pin aes-gcm to fix cargo publish (#15084) 2022-07-05 12:10:51 -04:00
denobot
d38ef60797
1.23.3 (#15081)
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-07-05 11:44:22 -04:00
Bartek Iwańczuk
885a967b1e Revert "refactor(snapshots): to their own crate (#14794)" (#15076)
This reverts commit fd5a12d7e2.
2022-07-05 09:50:16 -04:00
Roj
13757b9c9e chore(test): fix test_collect_specifiers windows path to specifier code (#15072) 2022-07-05 09:49:54 -04:00
Divy Srivastava
f62ce06263 perf(ext/http): remove accept_encoding interior mutability (#15070) 2022-07-05 09:49:54 -04:00
Roj
d9d86078b0 fix(cli): handle collecting a directory with file:// (#15002) 2022-07-05 09:49:54 -04:00
Divy Srivastava
34301e5a47 perf(ext/http): simplify op_http_accept (#15067) 2022-07-05 09:49:54 -04:00
Divy Srivastava
0bcc1175be chore(cli/bench): use deno bench for deno_common.js (#15063) 2022-07-05 09:49:53 -04:00
Carter Snook
921894e208 fix(dts): stop default export type behavior (#14977)
Ref: #14976
2022-07-05 09:49:53 -04:00
Rafael Ávila de Espíndola
65ad727752 fix: update to TypeScript 4.7.4 (#15022) 2022-07-05 09:49:53 -04:00
Divy Srivastava
6130cb70a3 perf(ext/http): lazy load headers (#15055) 2022-07-05 09:49:52 -04:00
Divy Srivastava
78d4dedcdb perf(serde_v8): avoid extra is_array_buffer_view check (#15056) 2022-07-05 09:49:52 -04:00
David Sherret
43043d245f chore: upgrade to dprint 0.30.2 internally (#15061) 2022-07-05 09:49:52 -04:00
Divy Srivastava
0115dd5590 chore(cli/bench): benchmark for raw HTTP ops (#15043) 2022-07-05 09:49:52 -04:00
David Sherret
bff9c8c2c4 ci: use a known good version of deno instead of latest in publish scripts (#15037) 2022-07-05 09:49:52 -04:00
Divy Srivastava
01515bb6b8 perf(ops): fast path for SMI return values (#15033) 2022-07-05 09:49:52 -04:00
David Sherret
63d6962d48 refactor: extract deno_graph::create_graph use to common function (#15009) 2022-07-05 09:49:52 -04:00
Bartek Iwańczuk
30cd854910 chore: use Rust 1.62.0 (#15028) 2022-07-05 09:49:51 -04:00
João Avelino Bellomo Filho
68d50f964a fix(core): handle exception from Wasm termination (#15014)
Co-authored-by: Augusto Lenz <augustollenz@gmail.com>
2022-07-05 09:49:51 -04:00
Divy Srivastava
f92b2dc053 chore(cli/bench): Add more HTTP benchmarks (#14995) 2022-07-05 09:49:51 -04:00
Nugine
7c171410cd fix(core): remove unsafe in OpsTracker (#15025) 2022-07-05 09:49:51 -04:00