Age | Commit message (Collapse) | Author |
|
fix #21385
|
|
Include default, like other bools.
---------
Signed-off-by: John Spurlock <47259736+johnspurlock-skymethod@users.noreply.github.com>
|
|
Switch `ext/fetch` over to `resourceForReadableStream` to simplify and
unify implementation with `ext/serve`. This allows us to work in Rust
with resources only.
Two additional changes made to `resourceForReadableStream` were
required:
- Add an optional length to `resourceForReadableStream` which translates
to `size_hint`
- Fix a bug where writing to a closed stream that was full would panic
|
|
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
|
|
This commit changes LSP log names by prefixing them, we now have these
prefixes:
- `lsp.*` - requests coming from the client
- `tsc.request.*` - requests coming from clients that are routed to TSC
- `tsc.op.*` - ops called by the TS host
- `tsc.host.*` - requests that call JavaScript runtime that runs
TypeScript compiler host
Additionall `Performance::mark` was split into `Performance::mark` and
`Performance::mark_with_args` to reduce verbosity of code and logs.
|
|
Moving the deprecated `Deno.cron` overload to be the last one.
|
|
|
|
Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
|
|
Added the support for JSON type schedule to cron API; previously it was string only.
fixes #21122
|
|
(#21358)
|
|
|
|
Upstream some changes from https://github.com/nodejs/node/pull/49205
Signed-off-by: Jordan Harband <ljharb@gmail.com>
|
|
|
|
This commit removes "ThrottledCancellationToken" in favor of
"CancellationToken".
Since calling into Rust to check if Tokio's cancellation token has
already been canceled is really cheap, there's no need for us to
throttle this check and let TSC burn up CPU with heavy computation.
|
|
|
|
When an old request is obsoleted while the user is typing, the client
will say so to the server and tower-lsp will drop the future associated
with that request.
This wires that up to the ts server by having any request's token be
cancelled when the surrounding state is dropped.
|
|
This should help us get a better picture where most of the time is spent
(the TSC or the surrounding Rust code).
|
|
The self-upgrade feature is undesirable when deno is installed from
(Linux) distribution repository - using a system package manager. This
change will allow package maintainers to build deno with the "upgrade"
subcommand and background check disabled.
When the user runs `deno upgrade <args>` and the upgrade feature is
disabled, it will exit with error message explaining that this deno
binary was built without the upgrade feature.
Note: This patch is already used in the Alpine Linux’s
[deno](https://pkgs.alpinelinux.org/packages?name=deno) package.
|
|
Not tested thoroughly. This is a good start.
Closes #21350
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
|
|
The exit code wasn't hooked up properly.
|
|
|
|
It was corrupting the file.
|
|
Rust 1.74 may have made this code temporarily valid in [#113126 Replace
old private-in-public diagnostic with type privacy
lints](https://github.com/rust-lang/rust/pull/113126), so we didn't
catch it at build time.
It fails in 1.73 and +nightly, however.
|
|
Makes this test less flaky by allowing way more time for the test to
occur in.
|
|
|
|
|
|
Correct a small error in the recent README update.
---------
Signed-off-by: Kevin Whinnery <kevin.whinnery@gmail.com>
|
|
docs (#21341)
Update the README to use current links, and link to appropriate external
documentation for most information.
|
|
|
|
|
|
|
|
|
|
Closes https://github.com/denoland/deno/issues/21276
|
|
What `Deno.ChildProcess` actually implements is `AsyncDisposable`, but the type
declaration says it's `Disposable`. This PR fixes the type declaration to match
the actual implementation.
|
|
Closes https://github.com/denoland/deno/issues/21136
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
|
|
This test case is covered by the last case in
https://github.com/denoland/deno/blob/5710fffb120eba88e1b261e3ef379cb02575de42/cli/tests/node_compat/test/parallel/test-stream2-transform.js
and not necessary anymore.
|
|
|
|
Part of https://github.com/denoland/deno/issues/21308
|
|
|
|
Ref https://github.com/denoland/deno/issues/21187
On CI we are going to run only fast tests, with an option to
pass `SLOW_TESTS=1` env var to enable more comprehensive tests.
|