1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/cli
Bartek Iwańczuk e2a0c3f0dc
fix(inspector): allow to poll session with reentry (#16863)
This commit completely rewrites inspector session polling.

Until now, there was a single function responsible for polling inspector
sessions which could have been called when polling the "JsRuntime"
as well as from internal inspector functions. There are some cases
where it's required to have reentrant polling of sessions (eg. when 
"debugger" statement is run) which should be blocking until inspector
sends appropriate message to continue execution. This was not possible
before, because polling of sessions didn't have reentry ability.

As a consequence, session polling was split into two separate functions:
a) one to be used when polling from async context (on each tick of event
loop in "JsRuntime")
b) one to be used when polling synchronously and potentially blocking
(used by various inspector methods).

There are further cleanups and simplifications to be made in inspector
code, but this rewrite solves the problem at hand (being able to
evaluate
"debugger" JS statement and continue inspector functionality).

Co-authored-by: Bert Belder <bertbelder@gmail.com>
2022-12-02 23:17:02 +01:00
..
args fix(repl): respect --quiet flag (#16875) 2022-11-30 23:25:20 +01:00
bench perf: use fast api for io read/write sync (#15863) 2022-12-02 11:35:18 +05:30
cache fix(coverage): Error if the emit cache is invalid (#16850) 2022-11-29 18:43:54 +01:00
js fix(cli/js): improve resource sanitizer messages (#16798) 2022-11-25 14:22:23 +01:00
lsp fix(npm): improve package.json exports support for types (#16880) 2022-11-30 23:07:32 +00:00
napi chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
node fix(npm): improve package.json exports support for types (#16880) 2022-11-30 23:07:32 +00:00
npm fix(npm): improve package.json exports support for types (#16880) 2022-11-30 23:07:32 +00:00
ops feat: Stabilize Deno.bench() and 'deno bench' subcommand (#16485) 2022-11-11 00:22:14 +01:00
schemas feat(lint): add a report lint config setting (#16045) 2022-10-25 14:21:20 +02:00
tests fix(inspector): allow to poll session with reentry (#16863) 2022-12-02 23:17:02 +01:00
tools fix(upgrade/windows): show informative message on access denied error (#16887) 2022-12-02 14:53:10 -05:00
tsc feat(ops): Fast zero copy string arguments (#16777) 2022-12-02 05:29:15 +00:00
util refactor: create util folder, move nap_sym to napi/sym, move http_cache to cache folder (#16857) 2022-11-28 17:28:54 -05:00
auth_tokens.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
build.rs feat(core): support initializing extensions with and without JS (#16789) 2022-11-27 00:58:23 +01:00
Cargo.toml fix(task): support redirects in pipe sequences (#16903) 2022-12-02 12:02:44 -05:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_std.rs chore: forward v1.28.3 release commit to main (#16884) 2022-12-01 22:46:27 +09:00
emit.rs fix(coverage): Error if the emit cache is invalid (#16850) 2022-11-29 18:43:54 +01:00
errors.rs refactor: move dts files, diagnostics.rs, and tsc.rs to tsc folder (#16820) 2022-11-25 18:29:48 -05:00
file_fetcher.rs refactor: create util folder, move nap_sym to napi/sym, move http_cache to cache folder (#16857) 2022-11-28 17:28:54 -05:00
graph_util.rs refactor: move dts files, diagnostics.rs, and tsc.rs to tsc folder (#16820) 2022-11-25 18:29:48 -05:00
http_util.rs fix(npm): use an http client with connection pool (#16705) 2022-11-18 17:28:14 -05:00
js.rs feat(core): Ability to create snapshots from existing snapshots (#16597) 2022-11-21 14:36:26 +01:00
main.rs refactor: create util folder, move nap_sym to napi/sym, move http_cache to cache folder (#16857) 2022-11-28 17:28:54 -05:00
module_loader.rs refactor: create util folder, move nap_sym to napi/sym, move http_cache to cache folder (#16857) 2022-11-28 17:28:54 -05:00
proc_state.rs fix(npm): improve package.json exports support for types (#16880) 2022-11-30 23:07:32 +00:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
resolver.rs refactor: move lockfile.rs to args module (#16818) 2022-11-25 17:00:28 -05:00
standalone.rs feat(core): Ability to create snapshots from existing snapshots (#16597) 2022-11-21 14:36:26 +01:00
version.rs feat(cli): check for updates in background (#15974) 2022-10-20 16:15:21 +02:00
worker.rs refactor: create util folder, move nap_sym to napi/sym, move http_cache to cache folder (#16857) 2022-11-28 17:28:54 -05:00

Deno CLI Crate

crates docs

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.