Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-02 | refactor(core): Extract deno_core (#19658) | Matt Mastracci | |
`deno_core` is moving out! You'll find it at https://github.com/denoland/deno_core/ once this PR lands. | |||
2023-06-26 | chore: Ensure copyright line is the first in the file (#19608) | Matt Mastracci | |
The copyright checker was allowing files with code above the copyright line in a few places, mainly as a result of IDEs ordering imports improperly. This makes the check more robust, and adds a whitelist of valid lines that may appear before the copyright line. | |||
2023-06-22 | refactor(serde_v8): split ZeroCopyBuf into JsBuffer and ToJsBuffer (#19566) | Bartek Iwańczuk | |
`ZeroCopyBuf` was convenient to use, but sometimes it did hide details that some copies were necessary in certain cases. Also it made it way to easy for the caller to pass around and convert into different values. This commit splits `ZeroCopyBuf` into `JsBuffer` (an array buffer coming from V8) and `ToJsBuffer` (a Rust buffer that will be converted into a V8 array buffer). As a result some magical conversions were removed (they were never used) limiting the API surface and preparing for changes in #19534. | |||
2023-06-21 | refactor(serde_v8): remove ZeropCopyBuf::Temp (#19563) | Bartek Iwańczuk | |
Not used anymore. | |||
2023-06-06 | refactor(serde_v8): don't access backing store twice (#19382) | Bartek Iwańczuk | |
I did that change recently, did spot that we're calling `get_backing_store()` in succession and that API call is not cheap. | |||
2023-04-27 | chore: upgrade rusty_v8 to 0.71.0 (#18868) | Bartek Iwańczuk | |
2023-04-27 | feat(serde_v8): better error output (#18815) | Bartek Iwańczuk | |
The type that was received is now printed as part of a message. | |||
2023-03-22 | feat(ext/kv): key-value store (#18232) | Heyang Zhou | |
This commit adds unstable "Deno.openKv()" API that allows to open a key-value database at a specified path. --------- Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-03-16 | feat(serde_v8): support BigInt serialization (#18225) | Luca Casonato | |
This commit enables serializing `v8::BigInt` to `num_bigint::BigInt` in Rust. Pre-requisite for sub upcoming feature work. | |||
2023-02-22 | feat(ext/ffi): Replace pointer integers with v8::External objects (#16889) | Aapo Alasuutari | |
2023-02-20 | perf: use ops for node:crypto ciphers (#17819) | Divy Srivastava | |
Towards #17809 | |||
2023-01-14 | chore: use rustfmt imports_granularity option (#17421) | Divy Srivastava | |
Closes https://github.com/denoland/deno/issues/2699 Closes https://github.com/denoland/deno/issues/2347 Uses unstable rustfmt features. Since dprint invokes `rustfmt` we do not need to switch the cargo toolchain to nightly. Do we care about formatting stability of our codebase across Rust versions? (I don't) | |||
2023-01-13 | chore: add `copyright_checker` tool and add the missing copyright (#17285) | Yiyu Lin | |
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-11-30 | chore: upgrade rusty_v8 to 0.58.0 (#16879) | Bartek Iwańczuk | |
2022-11-12 | chore: upgrade rusty_v8 to 0.55.0 (#16604) | Bartek Iwańczuk | |
<!-- Before submitting a PR, please read http://deno.land/manual/contributing 1. Give the PR a descriptive title. Examples of good title: - fix(std/http): Fix race condition in server - docs(console): Update docstrings - feat(doc): Handle nested reexports Examples of bad title: - fix #7123 - update docs - fix bugs 2. Ensure there is a related issue and it is referenced in the PR text. 3. Ensure there are tests that cover the changes. 4. Ensure `cargo test` passes. 5. Ensure `./tools/format.js` passes without changing files. 6. Ensure `./tools/lint.js` passes. --> | |||
2022-10-20 | perf(serde_v8): `serde_v8::StringOrBuffer` return JS ArrayBuffer instead of ↵ | Divy Srivastava | |
Uint8Array (#16360) Towards #16315 | |||
2022-09-13 | perf(serde_v8): remove Mutex from ZeroCopyBuf (#15888) | Divy Srivastava | |
2022-09-01 | fix(serde_v8): update bytes::Bytes layout assumptions (#15718) | Divy Srivastava | |
2022-09-01 | chore(serde_v8): take mutable reference in `ToV8::to_v8` (#15707) | Divy Srivastava | |
2022-08-27 | serde_v8: fix pointer size assumptions (#15613) | Will Glozer | |
2022-08-21 | chore: use Rust 1.63.0 (#15464) | Mathias Lafeldt | |
2022-07-04 | perf(serde_v8): avoid extra is_array_buffer_view check (#15056) | Divy Srivastava | |
2022-07-01 | chore: use Rust 1.62.0 (#15028) | Bartek Iwańczuk | |
2022-06-30 | perf(serde_v8): smallvec ByteString (#15008) | Divy Srivastava | |
2022-06-26 | build: require safety comments on unsafe code (#13870) | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2022-06-19 | feat(serde_v8): add serde_v8::Global (#14761) | Divy Srivastava | |
2022-05-26 | chore(serde_v8): throw error when string buffer exceeds v8 max length (#14588) | Geert-Jan Zwiers | |
2022-05-13 | feat(serde_v8): bytes::Bytes support (#14412) | Aaron O'Mullan | |
2022-05-10 | cleanup(ext/http): simpler http write ops (#14552) | Aaron O'Mullan | |
Facilitates making `op_http_write_headers` sync and thus faster | |||
2022-05-05 | chore(serde_v8): V8Slice SAFETY (#14493) | Aaron O'Mullan | |
2022-04-25 | cleanup(serde_v8): disambiguate ZeroCopyBuf (#14380) | Aaron O'Mullan | |
2022-04-24 | perf(serde_v8): zero-copy StringOrBuffer (#14381) | Aaron O'Mullan | |
2022-04-22 | Reland "perf(http): optimize ReadableStreams backed by a resource" (#14346) | Divy Srivastava | |
2022-04-21 | Revert various PRs related to "ext/http" (#14339) | Bartek Iwańczuk | |
* Revert "feat(ext/http): stream auto resp body compression (#14325)" * Revert "core: introduce `resource.read_return` (#14331)" * Revert "perf(http): optimize `ReadableStream`s backed by a resource (#14284)" | |||
2022-04-20 | feat(ext/http): stream auto resp body compression (#14325) | Luca Casonato | |
This commit adds support for auto response body compression for streaming bodies. | |||
2022-04-20 | core: introduce `resource.read_return` (#14331) | Divy Srivastava | |
2022-04-20 | perf(http): optimize `ReadableStream`s backed by a resource (#14284) | Divy Srivastava | |
2022-04-02 | experiment(serde_v8): derive_more enabled opaque wrappers (#14096) | Aaron O'Mullan | |
2022-04-02 | feat(serde_v8): DetachedBuffer (#14102) | Aaron O'Mullan | |
2022-04-02 | cleanup(serde_v8): simpler ZeroCopyBuf (#14095) | Aaron O'Mullan | |
2022-03-24 | chore: drop src/ in bench_util & serde_v8 (#14097) | Aaron O'Mullan | |
To align with conventions used in our other crates |