1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-13 16:26:08 -05:00
Commit graph

8686 commits

Author SHA1 Message Date
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
Behnam Mohammadi
6e03917b51
style(std/archive): add default value on argument (#8582) 2020-12-02 09:19:30 +11:00
Bartek Iwańczuk
abc883e6a7
upgrade: swc_bundler 0.17.3 (#8575) 2020-12-01 21:23:48 +01:00
Bartek Iwańczuk
838d39e2ac
refactor(cli): DRY cli/ast.rs (#8555)
This commit deduplicates logic for parsing
modules in cli/ast.rs
2020-12-01 21:20:18 +01:00
Liam Murphy
c74132d3cd
fix: higlight async and of in REPL (#8569) 2020-12-01 14:52:03 -05:00
Nayeem Rahman
108972c966
chore(cli/flags): Use deno compile --output for the out file (#8563) 2020-12-01 15:11:02 +01:00
Yasser A.Idrissi
447f3fe410
feat(std/http): Add Cookie value validation (#8471) 2020-12-01 14:23:03 +01:00
Casper Beyer
5560a6d589
fix(repl): close calls sometimes prints results (#8558) 2020-12-01 14:13:30 +01:00
Bartek Iwańczuk
53fa45eb73
disable flaky watch tests (#8557) 2020-12-01 13:32:41 +01:00
Ryan Dahl
83efdeedff
fix release dates (#8560) 2020-11-30 17:10:54 -05:00
Luca Casonato
6aa692fece
feat: deno compile (#8539) 2020-11-30 20:35:12 +01:00
Marcus Hultman
c7276e15e5
feat(unstable): add cbreak option to setRaw (#8383) 2020-11-30 11:08:03 -05:00
Liam Murphy
7a4d0fc22b
feat(std/fs): Re-enable followSymlinks on walk() (#8479) 2020-11-30 09:34:36 -05:00
Luca Casonato
acdfc71d00
docs: add info about release schedule (#8546) 2020-11-30 14:06:30 +01:00