summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-08Clear CI cache (#10071)Ryan Dahl
2021-04-08ci: use gnu tar on macos (#10069)Yoshiya Hinosawa
2021-04-08chore: update deps (#10058)Luca Casonato
This commit updates crate dependencies.
2021-04-08fix(core): error handling in examples (#9867)Inteon
2021-04-08ci: fallback to main's cache (#10068)Yoshiya Hinosawa
2021-04-08fix(runtime/readFile*): close resources on error during read (#10059)Satya Rohith
This commit ensures readFile, readFileSync, readTextFile, and readTextFileSync does not leak resources on error.
2021-04-08fix: enable FileReader wpt and align to spec (#10063)Luca Casonato
This adds some algorithms from the whatwg mimesniff, whatwg infra, and whatwg encoding specs that FileReader needs to use internally.
2021-04-08ci: use repository and ref as part of the cache key (#10067)Casper Beyer
2021-04-08chore: update deno_file to use deno_webidl (#10042)Luca Casonato
This changes the custom input converters in deno_file to use deno_webidl converters.
2021-04-07use incremental build in ci (#10053)Yoshiya Hinosawa
2021-04-07feat: blob URL support (#10045)Luca Casonato
This commit adds blob URL support. Blob URLs are stored in a process global storage, that can be accessed from all workers, and the module loader. Blob URLs can be created using `URL.createObjectURL` and revoked using `URL.revokeObjectURL`. This commit does not add support for `fetch`ing blob URLs. This will be added in a follow up commit.
2021-04-07perf(core.js): introduce promise ring (#9979)Aaron O'Mullan
This is another optimization to help improve the baseline overhead of async ops. It shaves off ~55ns/op or ~7% of the current total async op overhead. It achieves these gains by taking advantage of the sequential nature of promise IDs and optimistically stores them sequentially in a pre-allocated circular buffer and fallbacks to the promise Map for slow to resolve promises.
2021-04-07docs: list globs used by `deno test` (#9976)yw662
2021-04-07fix(lsp): don't error on tsc debug failures for code actions (#10047)Kitson Kelly
Resolves: #9913
2021-04-06fix(webgpu): correct GPUFeatureName webidl to match typings (#10023)crowlKats
2021-04-06perf: build core packages at opt-3 (#10038)Aaron O'Mullan
2021-04-06docs(workers): fix permissions examples (#9965)Mason Medeiros
2021-04-06docs: export EmitOptions and EmitResult (#10037)Yoshiya Hinosawa
2021-04-06fix(lsp): properly handle encoding URLs from lsp client (#10033)Kitson Kelly
Fixes #9741
2021-04-06refactor: add deno_file op crate (#10019)Luca Casonato
Also enables WPT for FileReader.
2021-04-06refactor: rewrite "net" ops to use serde_v8 (#10028)Aaron O'Mullan
2021-04-06fix(lsp): folding range adjustment panic (#10030)Kitson Kelly
Fixes #10029
2021-04-05core: remove serde_json-isms in op_close() and op_resources() (#10026)Aaron O'Mullan
Core no longer uses `serde_json` now, besides re-exporting it or in the module specifier tests
2021-04-06chore: deprecate Deno.iter and Deno.iterSync (#10025)Luca Casonato
This commit marks the `Deno.iter` and `Deno.iterSync` utils as deprecated, and schedules them for removal in Deno 2.0. These utilities are implemented in pure JS, so should not be part of the Deno namespace. These utilities are now available in std/io/util: denoland/deno_std#843.
2021-04-06chore: deprecate Deno.Buffer and read/write utils (#9793)Luca Casonato
This commit marks the `Deno.Buffer` / `Deno.readAll` / `Deno.readAllSync` / `Deno.writeAll` / `Deno.writeAllSync` utils as deprecated, and schedules them for removal in Deno 2.0. These utilities are implemented in pure JS, so should not be part of the Deno namespace. These utilities are now available in std/io/buffer and std/io/util: https://github.com/denoland/deno_std/pull/808. This additionallty removes all internal dependance on Deno.Buffer.
2021-04-05refactor: convert ops to use serde_v8 (#10009)Aaron O'Mullan
This commit rewrites most of the ops to use "serde_v8" instead of "json" serialization.
2021-04-05chore: update std submodule (#10017)Luca Casonato
2021-04-05docs: add documentation about Atom Editor LSP client (#10016)ayame113
Co-authored-by: ayame113 <ayame113@users.noreply.github.com>
2021-04-04perf(serde_v8): preallocate vector when serializing arrays (#9955)Aaron O'Mullan
2021-04-04docs: update Deno.metrics() table data (#9999)Divy Srivastava
2021-04-04chore(cli): Upgrade jsonc_parser to 0.17 (#9977)David Sherret
Use new parse_to_serde_value as it's faster and less code here.
2021-04-04fix: Properly await already evaluating dynamic imports (#9984)Nayeem Rahman
2021-04-04docs: update kakoune LSP example configuration (#9989)louix
Fixes #9988
2021-04-04perf(serde_v8): drop need for EscapableHandleScope (#9990)Aaron O'Mullan
This is another improvement to serde_v8's serialization code, it drops the need for creating a v8::EscapableHandleScope or "subscope".
2021-04-04perf(serde_v8): introduce Serializable boxable object (#9983)Aaron O'Mullan
2021-04-04perf(serde_v8): drop need for RC in serializer (#9987)Aaron O'Mullan
Which substantially improves the performance of to_v8() by removing Rc's overhead (extra allocs, drops, checks, etc...)
2021-04-03refactor: Switch op_now to be a json-op (#9974)Aaron O'Mullan
2021-04-03refactor: don't call Context::Global in async_op_response (#9971)Ryan Dahl
2021-04-02perf(serde_v8/de): implement SeqAccess size_hint (#9975)Aaron O'Mullan
2021-04-03fix(permissions): don't panic when no input is given (#9894)upendra1997
Fixes #9633 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-02core/op_baseline: drop BufVec and minor cleanup (#9969)Aaron O'Mullan
2021-04-02perf: bench async op baseline (#9954)Aaron O'Mullan
2021-04-02refactor(ops): remove variadic buffers (#9944)Aaron O'Mullan
2021-04-02v1.8.3Kitson Kelly
2021-04-02chore: bump dependent crates for cli (#9964)Kitson Kelly
2021-04-02feat(lsp): implement textDocument/foldingRange (#9900)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-02Revert "fix(cli): align type definitions to spec (#9782)" (#9961)Kitson Kelly
This reverts commit f8aff8edcdb7330a8cc397e2af2ec445533ce970.
2021-04-02chore(cli): add "Deno" to the windows file description (#9959)David Sherret
2021-04-02fix(websocket): ignore resource close error (#9755)Luca Casonato
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-02chore(cli): fix futime and futimeSync code examples (#9953)defectivepixel