Bartek Iwańczuk
8f8749095c
chore: release crates ( #8760 )
2020-12-14 17:11:17 +01:00
Bartek Iwańczuk
3476d5434f
chore: release deno_runtime 0.2.0 ( #8758 )
2020-12-14 15:47:20 +01:00
Ryan Dahl
a38b6b8acc
fix: docs.rs detection ( #8755 )
2020-12-14 15:15:16 +01:00
Ryan Dahl
502c77aad9
build: Factor out common code into core/build_util.rs ( #8756 )
2020-12-14 14:28:56 +01:00
crowlKats
b2bda57073
fix(cli): show canary string in long version ( #8675 )
2020-12-14 13:55:07 +01:00
Vishal Pratap Singh
b5b7c7ee01
docs: fixes logo in README ( #8740 )
2020-12-14 13:52:24 +11:00
Valentin Anger
2c778f89da
docs(tools): Move setup environment's community paragraph back ( #8745 )
2020-12-14 09:22:26 +11:00
Bartek Iwańczuk
389f492551
chore: release crates ( #8744 )
2020-12-13 22:34:54 +01:00
Bartek Iwańczuk
2e74f164b6
refactor: deno_runtime crate ( #8640 )
...
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-13 19:45:53 +01:00
Yosi Pramajaya
84ef9bd21f
fix(cli/compile): error when the output path already exists ( #8681 )
2020-12-12 20:41:43 +01:00
Bartek Iwańczuk
623bc22ad0
Revert "chore(test): increase file watcher timeout duration on macOS ( #8733 )" ( #8737 )
...
This reverts commit f4cf1b4538
.
2020-12-12 16:54:00 +01:00
Yusuke Tanaka
f4cf1b4538
chore(test): increase file watcher timeout duration on macOS ( #8733 )
2020-12-12 14:32:46 +01:00
xiaoxintang
89c14f79a4
fix(std/datetime): partsToDate ( #8553 )
2020-12-12 14:21:48 +01:00
Tatsuya Yamamoto
93cd9ab0b8
docs: fix doc to remove annotation about removed function Deno.dir
( #8732 )
2020-12-12 13:16:52 +01:00
Andrew Mitchell
c05615d670
docs: Remove a deprecated function from docstring for Deno.permissions ( #8729 )
2020-12-12 13:15:50 +01:00
Bartek Iwańczuk
31935c6b8d
refactor(cli): more options on Worker ( #8724 )
2020-12-12 00:36:18 +01:00
Casper Beyer
39c86df4e5
docs(tools/repl): remove rogue reference to issue ( #8720 )
...
The keybindings are from upstream rustyline, I was a bit too blind
copying action descriptions and a reference to a issue stuck in to the
description of the ctrl-v binding.
This commit removes the offending reference.
2020-12-11 18:52:10 +01:00
Bartek Iwańczuk
65e72b68ac
refactor(cli): decouple ops from ProgramState and Flags ( #8659 )
...
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-11 18:49:26 +01:00
Tomáš Znamenáček
9414dee9e5
docs: Fix readme typo ( #8721 )
2020-12-11 18:43:01 +01:00
crowlKats
71d468bec0
fix(cli): zsh completions ( #8718 )
2020-12-11 13:18:30 +01:00
Valentin Anger
a54ede099d
docs(tools): add documentation for the deno lsp command ( #8676 )
...
Co-authored-by: Yuki Tanaka <uki00a@gmail.com>
2020-12-10 22:34:54 +01:00
Anh Hong
b8bc24d167
chore: fixed various misspellings and other typos ( #8691 )
2020-12-11 06:45:45 +11:00
Andrew Mitchell
fd9b0202c1
fix(doc): Resolves dead link on script installer man page ( #8705 )
2020-12-10 19:49:50 +01:00
Casper Beyer
5f05e1783e
docs(std/wasi): document ContextOptions ( #8715 )
2020-12-10 16:13:57 +01:00
Bartek Iwańczuk
f91fa16661
refactor(core): stack trace mapping ( #8660 )
...
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-10 14:45:41 +01:00
Casper Beyer
b7faa27704
docs(std/wasi): add a basic description of Context ( #8711 )
2020-12-10 13:38:31 +01:00
Casper Beyer
77b2bc3bc1
fix(std/wasi): disallow multiple starts ( #8712 )
2020-12-10 13:37:09 +01:00
Casper Beyer
c5ccbf3699
test(std/wasi): run test runner with --no-check ( #8710 )
2020-12-10 13:36:07 +01:00
Casper Beyer
65c6a0306e
test(std/wasi): add a case for open directory/../.. ( #8708 )
2020-12-10 13:31:15 +01:00
tomholford
7cc7f1719b
docs: fix naming in std/io
usage example ( #8700 )
...
Co-authored-by: tomholford <tomholford@users.noreply.github.com>
2020-12-10 14:22:09 +11:00
Kitson Kelly
1a72c9ba23
fix(lsp): only resolve sources with supported schemas ( #8696 )
...
Fixes #8695
2020-12-10 11:12:46 +11:00
Luca Casonato
de65312b7f
chore: update swc_ecmascript to 0.15.0 ( #8688 )
2020-12-09 23:09:10 +01:00
Bartek Iwańczuk
e58147b62c
build: remove cargo publish --dry-run ( #8694 )
2020-12-09 21:17:51 +01:00
Kitson Kelly
95a6698cac
feat(lsp): support import maps ( #8683 )
2020-12-10 06:50:47 +11:00
Ryan Dahl
b6dd850f71
build: fix doctests, run cargo publish --dry-run ( #8689 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-12-09 17:02:07 +01:00
Jae-Heon Ji
d492fb0eac
fix(op_crates/fetch): support non-ascii response headers value ( #8600 )
2020-12-09 16:48:06 +01:00
Bert Belder
b200e6fc3e
core: add plumbing for canceling ops when closing a resource ( #8661 )
2020-12-09 15:58:36 +01:00
Bartek Iwańczuk
b1379b7de3
test(core): type aliases in OpState ( #8653 )
...
This commit adds a test case to core/gotham_state.rs that shows
that type aliases can't be used reliably. Instead wrapper types
should be used.
2020-12-09 15:55:05 +01:00
Ryan Dahl
f15b3d84a5
Remove dead code: itest_ignore ( #8668 )
2020-12-08 20:29:00 -05:00
Bartek Iwańczuk
9bff85836c
fix: pull .d.ts files from js mod ( #8671 )
2020-12-08 16:33:50 +01:00
Bartek Iwańczuk
df87bf1d6a
v1.6.0
2020-12-08 15:37:45 +01:00
Bartek Iwańczuk
656caa2d4f
chore: release crates ( #8662 )
2020-12-08 13:54:19 +01:00
Luca Casonato
e94a18240e
feat(lsp): basic support for textDocument/completion ( #8651 )
2020-12-08 11:36:13 +01:00
Ryan Dahl
8bf3e0f4c6
upgrade rusty_v8 to 0.14.0 ( #8663 )
2020-12-08 03:20:01 +01:00
Ryan Dahl
4e025fd164
Upgrade ring to support arm64 ( #8658 )
2020-12-07 20:12:18 -05:00
Bartek Iwańczuk
02762824e6
refactor(core): change script name for core.js ( #8650 )
...
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-12-08 00:36:15 +01:00
Bartek Iwańczuk
5eedcb6b8d
chore(cli): unhide lsp command from CLI ( #8647 )
2020-12-07 23:27:43 +01:00
Benjamin Gruenbaum
b566d184fe
refactor(cli/rt): deduplicate code ( #8649 )
2020-12-07 21:22:58 +01:00
Steven Guerrero
43a35b005f
perf: use minimal op with performance.now() ( #8619 )
2020-12-07 08:27:25 -05:00
Nayeem Rahman
b77d6cb29e
chore(std): Remove tsconfig_test.json ( #8629 )
...
Ref #8050
2020-12-07 21:49:58 +11:00