Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-06 | chore: 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-05 | chore: update std submodule (#10017) | Luca Casonato | |
2021-03-31 | refactor: 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-20 | refactor: Move bin ops to deno_core and unify logic with json ops (#9457) | Inteon | |
This commit moves implementation of bin ops to "deno_core" crates as well as unifying logic between bin ops and json ops to reuse as much code as possible (both in Rust and JavaScript). | |||
2021-03-18 | fix: fallback to default UA and CA data for Deno.createHttpClient() (#9830) | Aaron O'Mullan | |
2021-03-18 | chore(console): distinguish between log levels (#9824) | Luca Casonato | |
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 | refactor: update minimal ops & rename to buffer ops (#9719) | Inteon | |
This commit rewrites "dispatch_minimal" into "dispatch_buffer". It's part of an effort to unify JS interface for ops for both json and minimal (buffer) ops. Before this commit "minimal ops" could be either sync or async depending on the return type from the op, but this commit changes it to have separate signatures for sync and async ops (just like in case of json ops). | |||
2021-03-17 | refactor: clean up permission handling (#9367) | crowlKats | |
2021-03-12 | refactor: move Console to op_crates/console (#9770) | Luca Casonato | |
2021-03-08 | fix(runtime/js): add navigator interface objects (#9685) | Nayeem Rahman | |
2021-03-02 | test(op_crates/web): add regression tests for past URL bugs (#9639) (#9639) | Bert Belder | |
Closes: #9383 | |||
2021-03-02 | chore: upgrade crates (#9632) | Bartek Iwańczuk | |
2021-03-02 | refactor(op_crates/web): Move URL parsing to Rust (#9276) | Nayeem Rahman | |
2021-03-01 | feat: WebGPU API (#7977) | crowlKats | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-02-25 | fix(runtime): do not panic on irregular dir entries (#9579) | Casper Beyer | |
2021-02-25 | feat(cli): update to TypeScript 4.2 (#9341) | Kitson Kelly | |
2021-02-25 | feat(runtime): stabilise permissions and add event target capabilities (#9573) | Kitson Kelly | |
2021-02-23 | fix: panic caused by Deno.env.set("", "") (#9583) | Kohei Ueno | |
2021-02-22 | fix(tests): fix fetchConnectionError test if port is in use (#9465) | David DeSimone | |
Fixes #9379 | |||
2021-02-21 | feat(unstable): per op metrics (#9240) | Luca Casonato | |
2021-02-16 | fix: align btoa to spec (#9053) | Casper Beyer | |
2021-02-15 | chore: Reorganise workers tests (#9493) | Bartek Iwańczuk | |
2021-02-13 | refactor(core): Strongly typed deserialization of JSON ops (#9423) | Jared Beller | |
This PR makes json_op_sync/async generic to all Deserialize/Serialize types instead of the loosely-typed serde_json::Value. Since serde_json::Value implements Deserialize/Serialize, very little existing code needs to be updated, however as json_op_sync/async are now generic, type inference is broken in some cases (see cli/build.rs:146). I've found this reduces a good bit of boilerplate, as seen in the updated deno_core examples. This change may also reduce serialization and deserialization overhead as serde has a better idea of what types it is working with. I am currently working on benchmarks to confirm this and I will update this PR with my findings. | |||
2021-02-13 | fix: webidl utils and align `Event` to spec (#9470) | Luca Casonato | |
2021-02-11 | fix(runtime/tls): handle invalid host for connectTls/startTls (#9453) | Erik Price | |
2021-02-10 | fix(console): log function object properties / do not log non-enumerable ↵ | David DeSimone | |
props by default (#9363) | |||
2021-02-09 | fix(op_crates): Don't use `Deno.inspect` in op crates (#9332) | Nayeem Rahman | |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2021-02-02 | chore: remove std directory (#9361) | Casper Beyer | |
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now. | |||
2021-01-29 | fix(op_crates/web): Add customInspect for Location (#9290) | Nayeem Rahman | |
2021-01-29 | refactor: IO resource types, fix concurrent read/write and graceful close ↵ | Bert Belder | |
(#9118) Fixes: 9032. | |||
2021-01-28 | chore: add jsdoc to 26_fetch.js and enable some fetch tests (#9305) | Luca Casonato | |
2021-01-25 | Revert "tests: enable wpt for url (#9046)" (#9264) | Luca Casonato | |
This reverts commit 66e99d349b31f5cd30b868d80ebdab6ba749fd96. | |||
2021-01-24 | tests: enable wpt for url (#9046) | Luca Casonato | |
2021-01-24 | feat(op_crates/web): adding gb18030 and GBK encodings (#9242) | ali ahmed | |
2021-01-19 | fix(cli): actually stabilize Deno.shutdown() (#9181) | Bert Belder | |
2021-01-18 | fix(op_crate/fetch): add back ReadableStream.getIterator and deprecate (#9146) | Kitson Kelly | |
2021-01-17 | chore: Enforce ban-untagged-todo lint rule (#9135) | Bartek Iwańczuk | |
2021-01-15 | refactor(op_crate/fetch): align streams to spec (#9103) | Kitson Kelly | |
Fixes #8814 | |||
2021-01-14 | fix: don't swallow customInspect exceptions (#9095) | Steven Guerrero | |
2021-01-14 | refactor: make Process#kill() throw sensible errors on Windows (#9111) | Bert Belder | |
Previously, calling `Process#kill()` after the process had exited would sometimes throw a `TypeError` on Windows. After this patch, it will throw `NotFound` instead, just like other platforms. This patch also fixes flakiness of the `runKillAfterStatus` test on Windows. | |||
2021-01-14 | fix: align DOMException API to the spec and add web platform testing of it. ↵ | Yoshiya Hinosawa | |
(#9106) * fix: align DOMException API to the spec * test: fix test case 070_location * test(DOMException): disable "does not inherit from Error: class-side" test of WPT * test: remove test cases in deno codebase * docs: add note about skipped test | |||
2021-01-11 | chore: update copyright to 2021 (#9092) | Yusuke Tanaka | |
2021-01-11 | fix(op_crate/web): fix atob to throw spec aligned DOMException (#8798) | gorogoroumaru | |
2021-01-10 | feat(fetch): req streaming + 0-copy resp streaming (#9036) | Luca Casonato | |
* feat(fetch): req streaming + 0-copy resp streaming * lint * lint * fix test * rm test.js * explicitly use CancelHandle::default() * Apply review suggestions Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> * fix test * Merge remote-tracking branch 'origin/master' into fetch_real_streaming * fix test * retrigger ci Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> | |||
2021-01-10 | tests(wpt/console): Enables web platform tests for console (#9013) | Tarik Eshaq | |
2021-01-09 | fix(web): implement DOMException#code (#9015) | Yacine Hmito | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-01-07 | feat: add --location=<href> and globalThis.location (#7369) | Nayeem Rahman | |
2021-01-06 | fix: stronger input checking for setTimeout; add function overload (#8957) | Anonymous | |
2021-01-05 | fix: align encoding APIs to spec using WPT (#9004) | Luca Casonato | |
2021-01-04 | BREAKING(unstable): remove CreateHttpClientOptions.caFile (#8928) | Mo | |