summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-04-01perf(core): js errors as unions vs tuples to reduce allocs (#9947)Aaron O'Mullan
2021-04-01fix(cli): align type definitions to spec (#9782)Casper Beyer
Fixes #5666
2021-04-01docs: copyedit introduction for clarity (#9805)Peter Shank
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-01Fix typo in faqs.md (#9948)John Spurlock
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-01fix(lsp): ensure insert_text is passed back on completions (#9951)Kitson Kelly
Fixes #9920
2021-04-01docs: add the Nix pkg manager to Installation options (#9921)Attila Gulyas
2021-04-01docs: fix typo (#9946)Chandan Kumar
2021-03-31refactor: new optimized op-layer using serde_v8 (#9843)Aaron O'Mullan
- Improves op performance. - Handle op-metadata (errors, promise IDs) explicitly in the op-layer vs per op-encoding (aka: out-of-payload). - Remove shared queue & custom "asyncHandlers", all async values are returned in batches via js_recv_cb. - The op-layer should be thought of as simple function calls with little indirection or translation besides the conceptually straightforward serde_v8 bijections. - Preserve concepts of json/bin/min as semantic groups of their inputs/outputs instead of their op-encoding strategy, preserving these groups will also facilitate partial transitions over to v8 Fast API for the "min" and "bin" groups
2021-03-30serde_v8: restore ser/de benches (#9939)Aaron O'Mullan
2021-03-30perf: add op_baseline bench (#9924)Aaron O'Mullan
2021-03-30docs: clarify jetbrains setup (#9930)crowlKats
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-03-29bench: track Date.now() as upper bound reference (#9922)Aaron O'Mullan
2021-03-28chore: fix clippy warning in serde_v8. (#9917)Divy Srivastava