1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
Commit graph

5338 commits

Author SHA1 Message Date
Kitson Kelly
2e6b78be90
v1.8.3 2021-04-02 21:10:38 +11:00
Kitson Kelly
de57846db6
chore: bump dependent crates for cli (#9964) 2021-04-02 15:19:39 +11:00
Kitson Kelly
0129f01429
Revert "fix(cli): align type definitions to spec (#9782)" (#9961)
This reverts commit f8aff8edcd.
2021-04-02 12:36:07 +11:00
David Sherret
44e72daabc
chore(cli): add "Deno" to the windows file description (#9959) 2021-04-02 10:16:38 +11:00
defectivepixel
1f448e6100
chore(cli): fix futime and futimeSync code examples (#9953) 2021-04-02 10:16:28 +11:00
Luca Casonato
5562b190d6
fix(websocket): ignore resource close error (#9755)
It is possible that the WebSocket is already closed when we try to
close it with `WebSocket#close` or in the `error` or `close` events.
Currently this leads to an uncatchable promise rejection. This changes
this so that closing an already closed WebSocket is a noop.
2021-04-02 00:56:11 +02:00
Casper Beyer
a9e6c16d8b
fix(cli): align type definitions to spec (#9782)
Fixes #5666
2021-04-01 20:26:49 +11:00
Peter Shank
ad2405d46c
docs: copyedit introduction for clarity (#9805)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-01 20:26:40 +11:00
John Spurlock
4143d98981
Fix typo in faqs.md (#9948)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-01 20:26:28 +11:00
Kitson Kelly
ca9cf77b0c
fix(lsp): ensure insert_text is passed back on completions (#9951)
Fixes #9920
2021-04-01 20:26:16 +11:00
Attila Gulyas
c7ee19fb63
docs: add the Nix pkg manager to Installation options (#9921) 2021-04-01 19:01:10 +11:00
Chandan Kumar
46ff2def49
docs: fix typo (#9946) 2021-04-01 19:01:02 +11:00
crowlKats
fe42b652f3
docs: clarify jetbrains setup (#9930)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-01 19:00:41 +11:00
crowlKats
3fa962d5cb
fix: update wpt + align AbortController (#9907) 2021-04-01 19:00:10 +11:00
Yasser A.Idrissi
1677c90082
docs: Add help community section (#9882) 2021-04-01 18:59:37 +11:00
Luca Casonato
17194fb033
fix: include deno.crypto in "deno types" (#9863) 2021-04-01 18:59:19 +11:00
Yusuke Tanaka
1a4b2a4ec9
refactor(lsp): remove unused code (#9897) 2021-04-01 18:58:59 +11:00
Kitson Kelly
39a48fc424
feat(lsp): add import completions (#9821) 2021-03-26 09:23:21 +11:00
Jean Pierre
424c086a2b
feat(lsp): implement textDocument/selectionRange (#9845)
Ref: #8643
2021-03-26 09:23:07 +11:00
Kitson Kelly
97dc2918fd
fix(cli): re-add dom.asynciterable lib (#9888)
Fixes: #9881
2021-03-26 08:56:30 +11:00
Ryan Dahl
d7ccb71520
build: Remove other unrelated CI build things (#9875) 2021-03-26 08:56:18 +11:00
IWANABETHATGUY
1b2358e3ea
Update setup_your_environment.md (#9876)
unlike other system config file, in windows `$profile` file is a 
common config file of powershell , just use `>` will override
the user config file , which is terrible. This change use append
instead of override which is more reasonable
2021-03-26 08:56:07 +11:00
Bartek Iwańczuk
8ec652dbe7
build: disable CI cache (#9872) 2021-03-26 08:55:49 +11:00
Nayeem Rahman
7dabb3dc54
docs(import_maps): Fix example for project-relative absolute specifiers (#9856) 2021-03-26 08:55:31 +11:00
Bartek Iwańczuk
f50ed4e281
v1.8.2 2021-03-21 21:12:09 +01:00
Bartek Iwańczuk
c08284ab9d
chore: release crates (#9847) 2021-03-21 16:10:08 +01:00
Andrew Mitchell
c00872c0c0
fix(core): don't panic on invalid arguments for Deno.core.print (#9834) 2021-03-21 08:52:28 -04:00
Nayeem Rahman
dd12a668e7
refactor(runtime/permissions): Rename permission structs (#9841) 2021-03-21 08:49:58 -04:00
Inteon
1251c89321
refactor: Move bin ops to deno_core and unify logic with json ops (#9457)
This commit moves implementation of bin ops to "deno_core" crates
as well as unifying logic between bin ops and json ops to reuse
as much code as possible (both in Rust and JavaScript).
2021-03-20 17:51:08 +01:00
Ryan Dahl
0d26a82ea9
upgrade: tokio 1.4.0 (#9842) 2021-03-20 11:51:27 -04:00
crowlKats
0f9c929b3a
fix(op_crates/webgpu): create instance only when required (#9771)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-03-20 00:43:54 +01:00
Tyler Butler
941a7c8ec9
Typo 2021-03-19 16:26:49 -04:00
crowlKats
2d55090d8c
refactor(runtime/ops/worker_host): simplify worker perms handling (#9835) 2021-03-19 13:27:41 -04:00
Divy Srivastava
91ca58fb26
chores: enforce type ResourceId across codebase (#9837) 2021-03-19 13:25:37 -04:00
crowlKats
197305908b
normalize rids (#9832) 2021-03-18 20:55:31 -04:00
Andrew Mitchell
277e19f4d2
fix(cli/bundle): display anyhow error chain (#9822) 2021-03-18 20:02:29 -04:00
Aaron O'Mullan
7d12dd1899
fix: fallback to default UA and CA data for Deno.createHttpClient() (#9830) 2021-03-18 23:54:26 +01:00
Bert Belder
fb5a2786ec
refactor(lsp): slightly reorganize diagnostics debounce logic (#9796)
This patch doesn't actually fix the bug I was hoping to fix, which is
that `update_diagnostics()` sometimes gets called even when there are
more updates that should be processed first. I did eventually figure out
that this issue is caused by Tokio's cooperative yielding, which
currently can't be disabled.

However overall it makes the debounce code somewhat more readable IMO,
which is why I'm suggesting to land it anyway.
2021-03-18 21:26:41 +01:00
crowlKats
b59151f39e
move runtime ops to serde ops (#9828) 2021-03-18 14:42:01 -04:00
Luca Casonato
62716422b9
chore(console): distinguish between log levels (#9824)
Change `Console.#printFunc` to pass a log level as the second argument
(0 = debug, 3 = error), instead of a boolean for `isErr`. This does not
change the Deno runtime behaviour at all.
2021-03-18 19:25:25 +01:00
Inteon
20627c9136
refactor: update minimal ops & rename to buffer ops (#9719)
This commit rewrites "dispatch_minimal" into "dispatch_buffer".

It's part of an effort to unify JS interface for ops for both json
and minimal (buffer) ops.

Before this commit "minimal ops" could be either sync or async
depending on the return type from the op, but this commit changes
it to have separate signatures for sync and async ops (just like 
in case of json ops).
2021-03-18 14:10:27 +01:00
crowlKats
0e70d9e59b
refactor: clean up permission handling (#9367) 2021-03-17 17:45:12 -04:00
crowlKats
b3fe85163f
refactor: use serde ops more (#9817) 2021-03-17 17:33:29 -04:00
Makuza Mugabo Verite
bd961c3bc3
fix(doc): update example for sub processes (#9798) 2021-03-16 07:05:04 -04:00
Kitson Kelly
506b321d47
refactor(lsp): refactor completions and add tests (#9789) 2021-03-16 09:01:41 +11:00
Ryan Dahl
2ff9b01551
Revert "fix(cli/module_graph): Set useDefineForClassFields to true" (#9792)
Backwards incompatible change cannot be made in-between patch releases.

This commit broke std tests https://github.com/denoland/deno_std/runs/2112369372

This reverts commit c4709834b3.
2021-03-15 13:56:31 -04:00
Yasser A.Idrissi
0ae079fe50
docs(testing): Add custom test example (#9791) 2021-03-15 10:47:14 -04:00
Casper Beyer
b2a1ad0611
chore: Upgrade rustyline to 8.0.0 (#9781)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-03-15 14:08:41 +01:00
Kid
a3e0766e6a
docs: match install section with website (#9665)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-03-15 12:46:08 +01:00
Nayeem Rahman
c4709834b3
fix(cli/module_graph): Set useDefineForClassFields to true (#9774)
Fixes #9773
2021-03-15 09:19:27 +11:00