summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2020-10-09fix(op_crates/fetch): Stringify and parse Request URLs (#7838)Nayeem Rahman
Fixes #7837
2020-10-08Fix typos (#7882)crowlKats
2020-10-08v1.4.5Bartek Iwańczuk
2020-10-08fix: update worker types to better align to lib.dom.d.ts (#7843)Kitson Kelly
2020-10-08fix(cli/rt/error_stack): Improve message line formatting (#7860)Nayeem Rahman
2020-10-08fix(cli/fs) Small change in filter expression (#7865)Simon Rask
2020-10-07refactor(core): JsRuntime is not a Future (#7855)Bartek Iwańczuk
This commit rewrites deno_core::JsRuntime to not implement Future trait. Instead there are two separate methods: - JsRuntime::poll_event_loop() - does single tick of event loop - JsRuntime::run_event_loop() - runs event loop to completion
2020-10-07fix(cli/rt/console): Don't require a prototype to detect a class instance ↵Nayeem Rahman
(#7869)
2020-10-07upgrade: deno_doc, deno_lint, dprint, swc (#7862)Bartek Iwańczuk
2020-10-07refactor: rename isolate to js_runtime (#7858)Bartek Iwańczuk
This commit renames occurrences of "isolate" variable name to "js_runtime". This was outstanding debt after renaming deno_core::CoreIsolate to JsRuntime.
2020-10-07refactor(core): JsRuntime doesn't defer to OwnedIsolate (#7853)Bartek Iwańczuk
Remove Deref and DeferMut implementations for JsRuntime.
2020-10-07fix(cli/ops/fs): Don't force Windows paths separate paths with forward slash ↵Nayeem Rahman
(#7833)
2020-10-07refactor(cli): remove TextDocument (#7850)Kitson Kelly
2020-10-07refactor(cli/inspector): use &str for post_message (#7851)Casper Beyer
This changes the signature of InspectorSession.post_message to take a &str rather than a String avoiding the need call str.to_string at each call site.
2020-10-07refactor(cli): cleanups to new module graph (#7846)Kitson Kelly
2020-10-06refactor(cli/repl): tightly integrate event loop (#7834)Casper Beyer
2020-10-06fix(core): module execution with top level await (#7672)Bartek Iwańczuk
This commit fixes implementation of top level await in "deno_core". Previously promise returned from module execution was ignored causing to execute modules out-of-order. With this commit promise returned from module execution is stored on "JsRuntime" and event loop is polled until the promise resolves.
2020-10-05chore: add a bundle benchmark (#7828)Kitson Kelly
2020-10-05perf(cli/console): Don't add redundant ANSI codes (#7823)Nayeem Rahman
2020-10-05fix(core): handle unregistered errors in core better (#7817)Kitson Kelly
2020-10-05chore: add lockfile tests (#7816)JavascriptMick
Fixes #7653
2020-10-04chore(std/http): rename http_bench.ts -> bench.ts (#7509)tokiedokie
2020-10-04docs: end sentences with a period in markdown (#7813)Trivikram Kamat
2020-10-03feat(unstable): revert "enable importsNotUsedAsValues by default #7413" (#7800)Nayeem Rahman
This reverts commit fbb18d40d3cfd0d24262e8e73b97f22770734572.
2020-10-03v1.4.4Bartek Iwańczuk
2020-10-03fix(cli/repl): put the thread to sleep when idle (#7804)Casper Beyer
2020-10-03fix(cli): update type definitions to align to TS dom (#7791)CGQAQ
Fixes #7746
2020-10-02fix(cli/repl): enable colors on inspected values (#7798)Casper Beyer
2020-10-02v1.4.3Bartek Iwańczuk
2020-10-02upgrade: swc, deno_doc, deno_lint, dprint (#7793)Bartek Iwańczuk
2020-10-02feat(cli/repl): enable await and let re-declarations (#7784)Casper Beyer
This enables `replMode` during evaluations which allows for top level await and let re-declarations.
2020-10-02fix(cli/repl): use a default referrer when empty (#7794)Casper Beyer
This makes use of a default referrer when its empty in repl mode so that dynamic imports work in the global evaluation context. Co-authored-by: Bartek Iwanczuk <biwanczuk@gmail.com>
2020-10-02refactor(repl): use an inspector session (#7763)Casper Beyer
This ports the REPL over to Rust and makes use of an inspector session to run a REPL on top of any isolate which lets make full use of rustylines various things like validators and completors without having to introduce a bunch of hard to test internal ops and glue code. An accidental but good side effect of this is that the multiple line input we previously had is now an editable multi-line input prompt that is correctly stored in the history as a single entry.
2020-10-01refactor: add concept of 'legacy' compiler to enable non-breaking ↵Kitson Kelly
refactoring (#7762)
2020-10-01chore: ensure cache is 'valid' during benchmarks (#7770)Kitson Kelly
2020-10-01fix(cli/console): Catch and format getter errors (#7766)Nayeem Rahman
2020-09-30refactor: improve op crate interfaces for other consumers (#7745)Bartek Iwańczuk
2020-09-30fix: check cached versions during transpile (#7760)Kitson Kelly
Fixes: #7759
2020-09-30fix: bundle loader returns exported value (#7764)Kitson Kelly
Fixes: #7761
2020-09-30fix(cli): use global_state file_fetcher when using SpecifierHandler (#7748)Kitson Kelly
Fixes: #7709
2020-09-30feat(cli/console): Add Deno.InspectOptions::colors (#7742)Nayeem Rahman
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120
2020-09-29refactor(cli): extract inspector session (#7756)Casper Beyer
This extracts the inspector session specific bits from CoverageCollector into a standalone struct dubbed `InspectorSesssion` which can be used as a general purpose session to communicate with the inspector on the same thread as an isolate/inspector pair lives on.
2020-09-29fix(websocket): add missing close events and remove extra error event (#7606)crowlKats
2020-09-29refactor: improve graph and tsc_config (#7747)Kitson Kelly
2020-09-29chore(cli/coverage): remove unused runtime domain (#7749)Casper Beyer
Previously when we used the websocket to talk to the inspector we used the runtime domain to send a "runIfWaitingForDebugger" message. However this is not required since we now talk to the inspector directly and no longer send said message so this removes the enabling of the domain entirely.
2020-09-28fix(cli/test): do not start inspector server when collecting coverage (#7718)Casper Beyer
2020-09-28refactor: move op state registration to workers (#7696)Bartek Iwańczuk
2020-09-27feat(unstable): add module specifier to deno info --json output (#7725)Valentin Anger
2020-09-27fix: Use $deno$test.ts instead of .deno.test.ts (#7717)Nayeem Rahman
2020-09-27fix(cli/inspector): shutdown server gracefully on drop (#7716)Casper Beyer