summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2020-12-21refactor: rewrite process_test.ts to use deno instead of python (#8841)Liam Murphy
Rewrites all the subprocess python scripts to be Deno scripts.
2020-12-20Revert "fix: TLA in web worker (#8809)" (#8839)Bartek Iwańczuk
This reverts commit e924bbdf3606e83ff9eef3a8ed640c4ecc34444f.
2020-12-20fix: TLA in web worker (#8809)Bartek Iwańczuk
Implementors of `deno_core::JsRuntime` might want to do additional actions during each turn of event loop, eg. `deno_runtime::Worker` polls inspector, `deno_runtime::WebWorker` receives/dispatches messages from/to worker host. Previously `JsRuntime::mod_evaluate` was implemented in such fashion that it only polled `JsRuntime`'s event loop. This behavior turned out to be wrong in the example of `WebWorker` which couldn't receive/dispatch messages because its implementation of event loop was never called. This commit rewrites "mod_evaluate" to return a handle to receiver that resolves when module's promise resolves. It is now implementors responsibility to poll event loop after calling `mod_evaluate`.
2020-12-20upgrade: swc_ecmascript 0.15.1 (#8836)Bartek Iwańczuk
2020-12-19feat(unstable): support in memory certificate data for Deno.createHttpClient ↵yonatan ben avraham
(#8739)
2020-12-19upgrade: rustyline 7.1.0 (#8829)Bartek Iwańczuk
2020-12-18fix: atomically write files to $DENO_DIR (#8822)Luca Casonato
2020-12-17refactor: Rename runtime/rt to runtime/js (#8806)Nayeem Rahman
2020-12-17test(cli): ensure await all on stdout does not deadlock (#8802)Casper Beyer
2020-12-16upgrade TypeScript to 4.1.3 (#8785)Trivikram Kamat
2020-12-16refactor: rewrite ops to use ResourceTable2 (#8512)Bartek Iwańczuk
This commit migrates all ops to use new resource table and "AsyncRefCell". Old implementation of resource table was completely removed and all code referencing it was updated to use new system.
2020-12-15refactor: remove dead code (#8781)Bartek Iwańczuk
2020-12-16refactor(lsp): optimise static assets (#8771)Kitson Kelly
Fixes #8158
2020-12-15fix(cli): make dynamic import errors catchable (#8750)Kitson Kelly
Fixes #6259
2020-12-14v1.6.1Bartek Iwańczuk
2020-12-14chore: release crates (#8765)Bartek Iwańczuk
2020-12-14Revert "build: Factor out common code into core/build_util.rs (#8756)" (#8763)Bartek Iwańczuk
This reverts commit 502c77aad969fe8557aaf6d56432f94450c26a2a.
2020-12-14fix(repl): recover from invalid input (#8759)Casper Beyer
2020-12-14chore: release crates (#8760)Bartek Iwańczuk
2020-12-14chore: release deno_runtime 0.2.0 (#8758)Bartek Iwańczuk
2020-12-14fix: docs.rs detection (#8755)Ryan Dahl
2020-12-14build: Factor out common code into core/build_util.rs (#8756)Ryan Dahl
2020-12-14fix(cli): show canary string in long version (#8675)crowlKats
2020-12-13chore: release crates (#8744)Bartek Iwańczuk
2020-12-13refactor: deno_runtime crate (#8640)Bartek Iwańczuk
This commit moves Deno JS runtime, ops, permissions and inspector implementation to new "deno_runtime" crate located in "runtime/" directory. Details in "runtime/README.md". Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-12-12fix(cli/compile): error when the output path already exists (#8681)Yosi Pramajaya
2020-12-12Revert "chore(test): increase file watcher timeout duration on macOS ↵Bartek Iwańczuk
(#8733)" (#8737) This reverts commit f4cf1b453846a28a306316d197c3c15a41594b33.
2020-12-12chore(test): increase file watcher timeout duration on macOS (#8733)Yusuke Tanaka
2020-12-12docs: fix doc to remove annotation about removed function `Deno.dir` (#8732)Tatsuya Yamamoto
2020-12-12docs: Remove a deprecated function from docstring for Deno.permissions (#8729)Andrew Mitchell
2020-12-12refactor(cli): more options on Worker (#8724)Bartek Iwańczuk
2020-12-11refactor(cli): decouple ops from ProgramState and Flags (#8659)Bartek Iwańczuk
This commit does major refactor of "Worker" and "WebWorker", in order to decouple them from "ProgramState" and "Flags". The main points of interest are "create_main_worker()" and "create_web_worker_callback()" functions which are responsible for creating "Worker" and "WebWorker" in CLI context. As a result it is now possible to factor out common "runtime" functionality into a separate crate.
2020-12-11fix(cli): zsh completions (#8718)crowlKats
2020-12-11chore: fixed various misspellings and other typos (#8691)Anh Hong
2020-12-10refactor(core): stack trace mapping (#8660)Bartek Iwańczuk
This commit adds "Deno.core.createPrepareStackTrace". This function was moved from "cli/rt/40_error_stack.js" to unify handling of stack frames in core (before this PR there was implicit dependency on logic in "core/error.rs::JsError"). Unfortunately formatting logic must still be duplicated in "cli/error.js::PrettyJsError" to provide coloring, but currently there's no solution to this problem. "createPrepareStackTrace" can accept a single argument; a function that takes a location and provides source mapped location back.
2020-12-10fix(lsp): only resolve sources with supported schemas (#8696)Kitson Kelly
Fixes #8695
2020-12-09chore: update swc_ecmascript to 0.15.0 (#8688)Luca Casonato
2020-12-10feat(lsp): support import maps (#8683)Kitson Kelly
2020-12-09fix(op_crates/fetch): support non-ascii response headers value (#8600)Jae-Heon Ji
2020-12-08Remove dead code: itest_ignore (#8668)Ryan Dahl
2020-12-08fix: pull .d.ts files from js mod (#8671)Bartek Iwańczuk
2020-12-08v1.6.0Bartek Iwańczuk
2020-12-08chore: release crates (#8662)Bartek Iwańczuk
2020-12-08feat(lsp): basic support for textDocument/completion (#8651)Luca Casonato
2020-12-07Upgrade ring to support arm64 (#8658)Ryan Dahl
2020-12-07chore(cli): unhide lsp command from CLI (#8647)Bartek Iwańczuk
2020-12-07refactor(cli/rt): deduplicate code (#8649)Benjamin Gruenbaum
2020-12-07perf: use minimal op with performance.now() (#8619)Steven Guerrero
2020-12-07chore(std): Remove tsconfig_test.json (#8629)Nayeem Rahman
Ref #8050
2020-12-07feat: add mvp language server (#8515)Kitson Kelly
Resolves #8400