Age | Commit message (Collapse) | Author |
|
This adds a section on the repl with the keybindings that we support out
of the box.
|
|
|
|
|
|
This replaces a case of a temp file in the working tree with a tempfile
in a real temporary directory avoiding pollution of the working
directory.
|
|
Running into issues with cache when trying to upgrade V8. Based on the analysis in
https://github.com/denoland/deno/pull/7903#issuecomment-706252380
we know the cache is not providing much benefit.
|
|
This commit adds formatting of optional "hint" that
can be present in lint diagnostic.
|
|
This extracts is closing into a function so that it can easily be used
as the condition for the loop.
|
|
|
|
Make JSRuntime::new() accept a custom v8::CreateParams object to tune
the v8::Isolate it creates.
Subsumes the functionality of HeapLimits, which I therefore removed.
|
|
|
|
|
|
|
|
(#7778)" (#7973)
This reverts commit f75bd89aff7cffafceb394d629995479af54a156.
|
|
|
|
This commit adds the ability for users to inspect items stylized
with ANSI colors regardless of the value of Deno.noColor.
|
|
|
|
This commit fixes test runner by awaitning "Deno.runTests()" call,
which ensures proper error is returned when there's an unresolved
promise that's being awaited.
|
|
|
|
This extracts prelude injection into a helper function and moves the
prelude string literal into a top level static string to help trim some
of the fat out of the run function.
|
|
This commit changes implementation of top-level-await in "deno_core".
Previously promise returned from module evaluation was not awaited,
leading to out-of-order execution of modules that have TLA. It's been
fixed by changing "JsRuntime::mod_evaluate" to be an async function
that resolves when the promise returned from module evaluation also
resolves. When waiting for promise resolution event loop is polled
repeatedly, until there are no more dynamic imports or pending
ops.
|
|
Ref #7225
|
|
|
|
|
|
|
|
(#7937)
|
|
This commit adds a simple regex replace based highlighter
to the REPL editor.
It tries to match the color palette of Deno.inspect()
|
|
This commit adds "alert", "confirm" and "prompt" functions from web standards.
|
|
|
|
|
|
Fixes #6094
Fixes #4794
|
|
|
|
|
|
Fixes #7783
|
|
|
|
This commit fixes the inspection of functions. The current
implementation gets the name of the type of the function
from "f.__proto__.constructor.name", and it throws when
the prototype is set to null.
This commit checks the prototype before accessing its
constructor name and uses the generic name 'Function'
if the prototype is not available.
|
|
|
|
|
|
This takes the execution context id from a notification which is sent on
Runtime.enable rather than hard-coding it to a magic value.
|
|
|
|
(#7917)
This reverts commit 40324ff74816a99ea061929ece1c6a4ff3078bc3.
|
|
|
|
* Revert "refactor: Worker is not a Future (#7895)"
This reverts commit f4357f0ff9d39411f22504fcc20db6bd5dec6ddb.
* Revert "refactor(core): JsRuntime is not a Future (#7855)"
This reverts commit d8879feb8c832dbb38649551b1cb0730874f7be6.
* Revert "fix(core): module execution with top level await (#7672)"
This reverts commit c7c767782538243ded64742dca9b34d6af74d62d.
|
|
Fixes #7888
|
|
|
|
Also re-export serde from deno_core, since its now a dependency.
|
|
This commit rewrites deno::Worker to not implement Future
trait.
Instead there are two separate methods:
- Worker::poll_event_loop() - does single tick of event loop
- Worker::run_event_loop() - runs event loop to completion
Additionally some cleanup to Worker's field visibility was done.
|
|
|
|
|
|
A recent change in rustc or cargo made it so that rusty_v8's `build.rs`,
which is responsible for downloading `librusty_v8.a`, does not get
rebuilt or re-run when its build output directory is restored from the
Github Actions cache.
However, rusty_v8's custom build script does not save the download to
its build output directory; it puts the file in
`target/debug|release/gn_out/obj` instead.
To get CI going again we opted to add `target/*/gn_out` to the Github
Actions cache.
A more robust fix would be make rusty_v8 save the download to the
cargo-designated output directory.
|
|
|