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
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
Aaron O'Mullan
7d12dd1899
fix: fallback to default UA and CA data for Deno.createHttpClient() ( #9830 )
2021-03-18 23:54:26 +01: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
crowlKats
b3fe85163f
refactor: use serde ops more ( #9817 )
2021-03-17 17:33:29 -04:00
Yusuke Tanaka
c8fbf6d38a
chore: upgrade to tokio 1.3.0 ( #9778 )
2021-03-14 10:03:24 -04:00
Luca Casonato
fbec6e39c7
chore: bump crates ( #9769 )
2021-03-12 22:29:07 +01:00
Luca Casonato
0770449c93
refactor: move Console to op_crates/console ( #9770 )
2021-03-12 21:23:59 +01:00
Luca Casonato
e83ff62ccb
chore: split web op crate ( #9635 )
...
This commit starts splitting out the deno_web op crate into multiple
smaller crates. This commit splits out WebIDL and URL API, but in the
future I want to split out each spec into its own crate. That means we
will have (in rough order of loading): `webidl`, `dom`, `streams`,
`console`, `encoding`, `url`, `file`, `fetch`, `websocket`, and
`webgpu` crates.
2021-03-12 16:17:18 +01:00
Luca Casonato
db96be7cdc
fix: getBindGroupLayout always illegal invocation ( #9684 )
2021-03-10 10:15:57 +01:00
Bartek Iwańczuk
cdc0b6958d
chore: release crates ( #9731 )
2021-03-09 20:12:13 +01:00
crowlKats
1621d78623
fix(webgpu): Add Uint32Array type for code in ShaderModuleDescriptor ( #9730 )
2021-03-09 11:43:58 -05:00
Luca Casonato
c009dad982
fix(webgpu): add webidl records and simple unions ( #9698 )
...
The only functional user facing difference is that this commit allows the
use SPIRV shaders, not just WGSL. This matches FF and Chrome Canary.
2021-03-08 14:22:05 +01:00
Ryan Dahl
25200ce295
Bump crates again ( #9653 )
2021-03-02 16:25:39 -05:00
Ryan Dahl
f1fe6a57ba
Bump crate versions ( #9651 )
2021-03-02 15:15:43 -05:00
Nayeem Rahman
badc88b78a
refactor(op_crates/web): Move URL parsing to Rust ( #9276 )
2021-03-02 02:30:24 +01:00
crowlKats
7cd14f97c9
feat: WebGPU API ( #7977 )
...
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-03-01 11:31:13 +01:00
Luca Casonato
72425ec4ce
chore: improve internal webidl functions ( #9606 )
2021-03-01 01:25:31 +01:00
Divy Srivastava
4b56537ea9
chore: move crypto types to op_crates/crypto ( #9609 )
2021-02-26 12:06:26 -05:00
DjDeveloper
fe1b512820
fix(op_crates/websocket): default to close code 1005 ( #9339 )
...
Currently if WebSocket is closed without code, it will error
while on Chrome it would close with code 1005 instead.
Co-authored-by: crowlKats <13135287+crowlKats@users.noreply.github.com>
2021-02-21 17:51:46 +01:00
Leo Chandra
c6b3982e78
typo
2021-02-16 08:00:41 -05:00
Casper Beyer
3f5265b21e
fix: align btoa to spec ( #9053 )
2021-02-16 02:10:59 +01:00
Anonymous
a6beab8248
chore: add internal webidl helpers for enums and nullables ( #9504 )
...
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-02-16 00:13:46 +01:00
Luca Casonato
af460fc464
fix: webidl utils and align Event
to spec ( #9470 )
2021-02-13 15:58:12 +01:00
Bartek Iwańczuk
39f3aaaa72
chore: release crates ( #9481 )
2021-02-12 16:23:39 +01:00
Preta Crowz
7f8b44a60d
fix(cli): fix WebSocket close ( #8776 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-12 14:50:08 +09:00
Nayeem Rahman
900953a65a
fix(op_crates): Don't use Deno.inspect
in op crates ( #9332 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-02-09 16:31:46 +01:00
Luca Casonato
a195c75033
chore: update dependencies ( #9455 )
2021-02-09 15:34:34 +01:00
Bartek Iwańczuk
64f06be0eb
chore: release crates ( #9410 )
2021-02-05 15:08:18 +01:00
Developing
923214c537
chore: use strict mode for internal runtime, core, and op_crates js ( #9391 )
2021-02-04 23:18:32 +01:00
Kitson Kelly
b77fcbc518
feat(lsp): add TS quick fix code actions ( #9396 )
2021-02-05 05:53:02 +11:00
Ryan Dahl
644a7ff2d7
fetch optimizations ( #9402 )
...
Release deno_fetch 0.20.2
2021-02-04 13:08:41 -05:00
Luca Casonato
25b35be50d
refactor: rewrite File implementation ( #9334 )
2021-02-04 15:05:36 +01:00
Ben Noordhuis
fb358380c0
fix: improve http client builder error message ( #9380 )
...
Include the lower-level error message in the generic error message.
No test because I can't actually make it fail by passing it bad PEM.
I checked and `reqwest::Certificate::from_pem()` always returns `Ok()`.
Fixes #9364 .
2021-02-03 11:40:43 +01:00
Luca Casonato
fa975a9bae
refactor: rewrite Blob implementation ( #9309 )
...
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-01-30 19:22:24 +01:00
Yusuke Tanaka
ef46bc88bd
chore: upgrade tokio to 1.1.1 ( #9327 )
2021-01-29 21:18:31 -05:00
Ryan Dahl
11dd6f2013
v1.7.1
2021-01-29 09:53:03 -05:00
Nayeem Rahman
f3122442db
fix(op_crates/web): Add customInspect for Location ( #9290 )
2021-01-29 08:08:22 -05:00
Luca Casonato
6ecc86cf2a
chore: add jsdoc to 26_fetch.js and enable some fetch tests ( #9305 )
2021-01-28 21:37:21 +01:00
Luca Casonato
40fc5f55ea
chore: update crates ( #9251 )
...
Updates SWC, dprint, deno_lint, deno_doc, serde, and Tokio (to 1.1.0).
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-26 17:00:40 +01:00
Kitson Kelly
f9949a3170
fix(op_crates/fetch): fix ReadableStream.pipeThrough() ( #9265 )
...
Fixes #9252
2021-01-26 21:56:29 +11:00
ali ahmed
feff6361b1
feat(op_crates/web): adding gb18030 and GBK encodings ( #9242 )
2021-01-24 20:08:01 +01:00
Ryan Dahl
bfaa121cd2
v1.7.0
2021-01-19 23:17:20 -05:00
ali ahmed
973c33c899
feat(web): add utf-16 and big5 to TextEncoder/TextDecoder ( #8108 )
2021-01-19 21:58:57 +01:00
Anonymous
db3a1d6633
fix(op_crates/web) let TextEncoder#encodeInto accept detached ArrayBuffers ( #9143 )
2021-01-18 10:04:46 -05:00
Luca Casonato
7a30d1a3d8
fix: redirect in --location relative fetch ( #9150 )
2021-01-18 13:59:29 +01:00
Kitson Kelly
2077864a8d
fix(op_crate/fetch): add back ReadableStream.getIterator and deprecate ( #9146 )
2021-01-18 10:40:39 +11:00
Nayeem Rahman
7db0605d45
fix(op_crates/web): Use WorkerLocation for location in workers ( #9084 )
2021-01-17 16:28:54 +01:00