1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-08 09:34:39 -05:00
Commit graph

6749 commits

Author SHA1 Message Date
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
Kitson Kelly
301d3e4b68
feat: add mvp language server (#8515)
Resolves #8400
2020-12-07 21:46:39 +11:00
Bartek Iwańczuk
c8e9b2654e
refactor(cli): Simplify choosing type lib in CliModuleLoader (#8637) 2020-12-07 11:03:03 +01:00
Bartek Iwańczuk
c0ccbcdaee
refactor(cli): Reorganize worker code, use stronger memory ordering (#8638) 2020-12-07 04:30:40 +01:00
crowlKats
7135d34cca
refactor(cli): remove Option from Flags.v8_flags (#8633) 2020-12-06 18:19:21 +01:00
Justin Mayhew
5bff1c050b
docs(examples): Synchronize links in TOC and index (#8635) 2020-12-06 17:23:56 +01:00
Yosi Pramajaya
0b37a79060
BREAKING(std/bytes): Adjust APIs based on std-wg discussion (#8612) 2020-12-06 09:51:13 -05:00
Iván Canales
c10280214e
fix(std/bufio): Remove '\r' at the end of Windows lines (#8447)
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-12-05 17:41:16 +01:00
fabiante
2d5c742cf6
docs(tools): add documentation for deno compile cmd (#8615) 2020-12-05 17:10:10 +01:00
Liam Murphy
362be01abe
feat(std/node): Add "setImmediate" and "clearImmediate" to global scope (#8566)
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2020-12-05 16:16:07 +01:00
Yuki Tanaka
d72310f139
fix(std/encoding): Rewrite toml parser not to use eval() (#8624) 2020-12-05 15:49:05 +01:00
Casper Beyer
4f0dc2c51d
refactor(std/wasi): prefer explicit encoder/decoder names (#8622)
This renames a couple of identifiers from the ambigious name "text" to
the more explicit textEncoder and textDecoder depending on what they are.
2020-12-05 15:47:01 +01:00
Paco
300b39b889
docs(core): Fix typo in load_module's docstring (#8564) 2020-12-05 15:43:46 +01:00
Benjamin Gruenbaum
71ef5a9cd3
feat(op_crates/web) EventTarget signal support (#8616)
Fixes: https://github.com/denoland/deno/issues/8606
2020-12-04 12:47:08 -05:00
Casper Beyer
ae21a9569b
refactor(std/wasi): prefer nullish coalescing (#8607) 2020-12-04 13:53:16 +01:00
Bartek Iwańczuk
e6b90beb3d
upgrade: swc_bundler 0.17.5 (#8588) 2020-12-04 13:21:38 +01:00
Casper Beyer
0ea1c6f5b0
feat(std/wasi): add return on exit option (#8605)
This adds an exitOnReturn option to context making it 
possible to unwind the stack on the exit(2) syscall 
instead of delegating to it directly.

Use case is being able to treat WASI execution contexts 
as children that don't kill the parent on exit.
2020-12-03 19:57:35 +01:00
Casper Beyer
de036e1f08
feat(std/wasi): add support for initializing reactors (#8603)
This adds another entry point to Context called initialize for 
spinning up style modules.

Reactors are modules that don't have a main function and 
basically run forever in the background.
2020-12-03 19:36:13 +01:00
János Veres
93d9f51d16
fix(cli): add hygiene pass to transpile pipeline (#8586)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-12-02 20:26:04 +01:00
Luca Casonato
95ccc1a52f
build: upload canaries before tests (#8585) 2020-12-02 20:06:19 +01:00
Yusuke Tanaka
e174479d22
docs(lint): Update available rules & add link to doc site (#8590) 2020-12-02 17:06:25 +01:00
Bartek Iwańczuk
f49d955601
fix(compile): disable source mapping of errors (#8581)
This commit disables source mapping of errors
for standalone binaries. Since applying source
maps relies on using file fetcher infrastructure
it's not feasible to use it for standalone binaries
that are not supposed to use that infrastructure.
2020-12-01 23:33:44 +01:00