Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-20 | chore: update copyright headers (#10243) | Yoshiya Hinosawa | |
2021-04-20 | feat(lsp): Implement textDocument/documentSymbol (#9981) | Jean Pierre | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-04-20 | feat(lsp): Implement textDocument/semanticTokens/full (#10233) | Jean Pierre | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-04-20 | revert: Conn type changes in #10012 and #10061 (#10255) | Kitson Kelly | |
Fixes #10200 (again) This reverts commit 9c7c9a35c12625bd4793c21539391d6b08d17e73 and a8057e3e06962a8d7c6330a085704bb4493eed04. | |||
2021-04-20 | docs: Incorrect tsconfig option name (#10140) | caucik | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-04-20 | fix(#10125): remove documents when closed in the lsp (#10254) | Kitson Kelly | |
Fixes #10125 | |||
2021-04-20 | feat(lsp): improve diagnostic status page (#10253) | Kitson Kelly | |
2021-04-19 | refactor(op_crates/websocket): use Serialize for return values (#10220) | crowlKats | |
2021-04-19 | fix(rt/http): correct URL in Request (#10256) | Luca Casonato | |
This commit fixes the URL returned from `request.url` in the HTTP server to be fully qualified. This previously existed, but was removed and accidentially not readded during optimizations of the HTTP ops. Returning a non fully qualified URL from `Request#url` is not spec compliant. | |||
2021-04-19 | fix(runtime): handle race condition in postMessage where worker has ↵ | Liam Murphy | |
terminated (#10239) The panic was caused by the lack of an error class mapping for futures::channel::TrySendError, but it shouldn't have been throwing an error in the first place - when a worker has terminated, postMessage should just return. The issue was that the termination message hadn't yet been recieved, so it was carrying on with trying to send the message. This adds another check on the Rust side for if the channel is closed, and if it is the worker is treated as terminated. | |||
2021-04-19 | op_crates/url: basic url_parse bench (#10245) | Aaron O'Mullan | |
2021-04-19 | refactor(core): move SerializablePkg to serde_v8 (#10231) | Aaron O'Mullan | |
2021-04-19 | feat(lsp): implement textDocument/prepareCallHierarchy (#10061) | Jean Pierre | |
2021-04-19 | chore: align `Headers` to spec (#10199) | Luca Casonato | |
This commit aligns `Headers` to spec. It also removes the now unused 03_dom_iterable.js file. We now pass all relevant `Headers` WPT. We do not implement any sort of header filtering, as we are a server side runtime. This is likely not the most efficient implementation of `Headers` yet. It is however spec compliant. Once all the APIs in the `HTTP` hot loop are correct we can start optimizing them. It is likely that this commit reduces bench throughput temporarily. | |||
2021-04-18 | fix(install): use first `deno` executable on PATH rather than deno.exe (#10247) | David Sherret | |
2021-04-18 | cleanup(cli): use runtime's reg_sync() and reg_async() (#10241) | Aaron O'Mullan | |
2021-04-18 | cleanup(core): simplify op_async(), drop need for try_dispatch_op() (#10240) | Aaron O'Mullan | |
2021-04-18 | chore: improve help text (#10186) | Ryan Dahl | |
2021-04-18 | refactor(serde_v8): move magic code to subfolder and minor cleanup (#10230) | Aaron O'Mullan | |
2021-04-18 | tooling(bench_util): benching and profiling utilities (#10223) | Aaron O'Mullan | |
2021-04-18 | refactor(core): remove ZeroCopyBuf's dep on the bindings mod (#10232) | Aaron O'Mullan | |
Also cleanup `bindings::deserialize()/decode()` so they use the `ZeroCopyBuf` abstraction rather than reimplementing it. This cleanup will facilitate moving `ZeroCopyBuf` to `serde_v8` since it's now self contained and there are no other `get_backing_store_slice()` callers. | |||
2021-04-18 | lint(serde_v8): fix "inconsistent struct constructor" (#10227) | Aaron O'Mullan | |
2021-04-18 | chore(cli/lsp): fix 2 lint errors (#10228) | Aaron O'Mullan | |
1. error: called `.iter().count()` on a `Vec` 2. error: inconsistent struct constructor | |||
2021-04-16 | refactor(cli/flags): reorganize declarations (#10204) | crowlKats | |
2021-04-16 | fix(#10200): weaken types so non-breaking (#10205) | Kitson Kelly | |
Fixes #10200 | |||
2021-04-15 | fix(#10182): hang during http server response (#10197) | Ryan Dahl | |
2021-04-14 | fix(core): better "missing type" GothamState error (#10189) | Ben Noordhuis | |
Include the type name in the error message so you know what to look for. | |||
2021-04-14 | chore: align FormData to spec (#10169) | Luca Casonato | |
This PR aligns `FormData` to spec. All WPT tests are passing. | |||
2021-04-14 | refactor: move timers to deno_timers op crate (#10179) | Ben Noordhuis | |
Move timers out of runtime/ and into a standalone op crate. | |||
2021-04-14 | perf(js/http): avoid v8 deopt in async iterator (#10160) | Aaron O'Mullan | |
2021-04-13 | v1.9.0 | Bartek Iwańczuk | |
2021-04-13 | chore: release crates (#10164) | Bartek Iwańczuk | |
2021-04-13 | feat(cli): raise file descriptor limit on startup (#10162) | Ben Noordhuis | |
Raise the soft limit to the hard limit when possible. This is similar to what Node.js does to avoid running into "out of file descriptors" errors too quickly. On most Linux systems, raises the limit from 1,024 to 1,048,576. On most macOS systems, raises the limit from 256 to 10,240. Fixes #10148. | |||
2021-04-13 | fix(cli/dts): Make respondWith() return a Promise (#10128) | Nayeem Rahman | |
2021-04-13 | feat(cli/dts): stricter typings for Listener & Conn (#10012) | crowlKats | |
2021-04-13 | feat(permissions): allow env permission to take values (#9825) | crowlKats | |
2021-04-13 | fix(core): remove wasm-test-streaming flag (#10158) | Casper Beyer | |
2021-04-13 | upgrade: rusty_v8 0.22.1 (V8 9.1.269.5) (#10159) | Bert Belder | |
2021-04-13 | upgrade: rusty_v8 0.22.0 (V8 9.1.269.2) (#10152) | Bert Belder | |
2021-04-13 | perf: lazy header instantiation for HTTP requests (#10150) | Luca Casonato | |
This commit introduces a performance optimization for the native HTTP server. From my testing it is about 2-6% faster than `main`. Request headers in the HTTP servers are now lazilly instatated when they are accessed, rather than being preemptively wrapped in the `Headers` class. | |||
2021-04-13 | perf(fetch): optimize normalizeMethod() (#10154) | Aaron O'Mullan | |
2021-04-12 | perf(core/ops): avoid allocs when returning primitives (#10149) | Aaron O'Mullan | |
2021-04-12 | core: remove some unnecessary heap allocations | Ben Noordhuis | |
2021-04-12 | core: let embedders plug in their own V8 platform | Ben Noordhuis | |
Fixes #9912. | |||
2021-04-12 | refactor(deno): remove concept of bin & json ops (#10145) | Aaron O'Mullan | |
2021-04-12 | fix(runtime/js/http): Correctly parse user response headers (#10076) | Nayeem Rahman | |
2021-04-12 | feat(runtime): add truncate and truncateSync methods to Deno.File (#10130) | Casper Beyer | |
2021-04-12 | feat(runtime): add stat and statSync methods to Deno.File (#10107) | Casper Beyer | |
2021-04-12 | perf(runtime): optimize PermissionState::check (#9993) | Aaron O'Mullan | |
2021-04-12 | feat(runtime): stabilize Deno.fstat and Deno.fstatSync (#10108) | Casper Beyer | |
This commit stabilizes Deno.fstat and Deno.fstatSync which are well known system calls and have a stable interface. |