Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-14 | fix(runtime/fs): preserve permissions in copyFileSync for macOS (#17412) | Divy Srivastava | |
Fixes https://github.com/denoland/deno/issues/16921 | |||
2023-01-08 | feat(core): allow specifying name and dependencies of an Extension (#17301) | Leo Kettmeir | |
2023-01-07 | refactor(permissions): add PermissionsContainer struct for internal ↵ | Bartek Iwańczuk | |
mutability (#17134) Turns out we were cloning permissions which after prompting were discarded, so the state of permissions was never preserved. To handle that we need to store all permissions behind "Arc<Mutex<>>" (because there are situations where we need to send them to other thread). Testing and benching code still uses "Permissions" in most places - it's undesirable to share the same permission set between various test/bench files - otherwise granting or revoking permissions in one file would influence behavior of other test files. | |||
2023-01-05 | refactor(cli,core,ext,rt): remove some unnecessary `clone` or `malloc` (#17274) | Yiyu Lin | |
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-12-17 | chore: update to Rust 1.66.0 (#17078) | linbingquan | |
2022-12-15 | Revert "feat(ops): Fast zero copy string arguments (#16777)" (#17063) | Bartek Iwańczuk | |
This reverts commit 9b2b8df927ac23cfa99016a684179f2a3198ba2e. Closes https://github.com/dsherret/ts-morph/issues/1372 Closes https://github.com/denoland/deno/issues/16979 | |||
2022-12-13 | feat: support `createNew` in `Deno.writeFile` (#17023) | Leo Kettmeir | |
2022-12-02 | feat(ops): Fast zero copy string arguments (#16777) | Divy Srivastava | |
Uses SeqOneByteString optimization to do zero-copy `&str` arguments in fast calls. - [x] Depends on https://github.com/denoland/rusty_v8/pull/1129 - [x] Depends on https://chromium-review.googlesource.com/c/v8/v8/+/4036884 - [x] Disable in async ops - [x] Make it work with owned `String` with an extra alloc in fast path. - [x] Support `Cow<'_, str>`. Owned for slow case, Borrowed for fast case ```rust #[op] fn op_string_len(s: &str) -> u32 { str.len() as u32 } ``` | |||
2022-11-18 | chore: fix windows-only clippy errors (#16703) | David Sherret | |
2022-11-18 | chore: use Rust 1.65.0 (#16688) | Aaron O'Mullan | |
2022-10-25 | feat: stabilize Deno.utime() and Deno.utimeSync() (#16421) | Colin Ihrig | |
2022-10-25 | feat: stabilize Deno.futime() and Deno.futimeSync() (#16415) | Colin Ihrig | |
2022-09-27 | feat: Add requesting API name to permission prompt (#15936) | Bartek Iwańczuk | |
Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com> | |||
2022-09-23 | perf: use fast ops for tty (#15976) | Divy Srivastava | |
2022-09-22 | chore: fix recent windows only clippy issues (#15993) | David Sherret | |
2022-09-22 | perf: fs optimizations - part 1 (#15873) | Divy Srivastava | |
2022-09-05 | perf(runtime): flatten arguments for write_file ops (#15776) | Divy Srivastava | |
2022-08-19 | perf(runtime): optimize Deno.file open & stream (#15496) | Divy Srivastava | |
2022-07-13 | fix(cli): synchronize async stdio/file reads and writes (#15092) | David Sherret | |
Fixes a regression where async writes and reads could get out of order. | |||
2022-05-11 | fix: stdout and stderr encoding on Windows (#14559) | David Sherret | |
2022-05-10 | refactor: remove unused `Option`s on `StdFileResource.fs_file` (#14549) | David Sherret | |
2022-05-01 | fix(runtime): lossy utf8 readTextFile (#14456) | Aaron O'Mullan | |
2022-04-27 | perf(runtime): read entire files in single ops (#14261) | Aaron O'Mullan | |
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2022-04-19 | perf(runtime): bypass tokio file and bump op buffer size to 64K (#14319) | Divy Srivastava | |
2022-04-18 | perf: move Deno.writeTextFile and like functions to Rust (#14221) | David Sherret | |
Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2022-03-14 | feat(ops): custom arity (#13949) | Aaron O'Mullan | |
Also cleanup & drop ignored wildcard op-args | |||
2022-03-14 | feat(core): codegen ops (#13861) | Divy Srivastava | |
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com> | |||
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-10-29 | fix(runtime): require full read and write permissions to create symlinks ↵ | David Sherret | |
(#12554) | |||
2021-10-11 | feat(runtime): improve error messages of runtime fs (#11984) | Feng Yu | |
This commit annotates errors returned from FS Deno APIs to include paths that were passed to the API calls. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-10-05 | chore: various op cleanup (#12329) | Leo K | |
2021-08-24 | feat(unstable): Add file locking APIs (#11746) | Tilman Roeder | |
This commit adds following unstable APIs: - Deno.flock() - Deno.flockSync() - Deno.funlock() - Deno.funlockSync() | |||
2021-08-15 | refactor(ops): return BadResource errors in ResourceTable calls (#11710) | Aaron O'Mullan | |
* refactor(ops): return BadResource errors in ResourceTable calls Instead of relying on callers to map Options to Results via `.ok_or_else(bad_resource_id)` at over 176 different call sites ... | |||
2021-07-30 | chore: upgrade Rust to 1.54.0 (#11554) | Yusuke Tanaka | |
2021-06-15 | Remove various unnecessary allow(clippy) declarations (#10971) | Ryan Dahl | |
2021-05-08 | cleanup(ops): remove unused ZeroCopyBuf arg-types (#10530) | Aaron O'Mullan | |
2021-05-02 | refactor(runtime): use Extensions (#10461) | Aaron O'Mullan | |
2021-04-12 | refactor(deno): remove concept of bin & json ops (#10145) | 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. | |||
2021-04-12 | feat(runtime/permissions): prompt fallback (#9376) | crowlKats | |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-04-11 | feat: stabilize Deno.ftruncate and Deno.ftruncateSync (#10126) | Casper Beyer | |
This stabilizes Deno.ftruncate and Deno.ftruncateSync. This is a well known system call and the interface is not going to change. Implicitly requires write permissions as the file has to be opened with write to be truncated. | |||
2021-04-06 | refactor: rewrite "net" ops to use serde_v8 (#10028) | Aaron O'Mullan | |
2021-04-05 | refactor: 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-02 | refactor(ops): remove variadic buffers (#9944) | Aaron O'Mullan | |
2021-03-26 | remove macro_use (#9884) | Ryan Dahl | |
2021-03-19 | chores: enforce type ResourceId across codebase (#9837) | Divy Srivastava | |
2021-03-18 | normalize rids (#9832) | crowlKats | |
2021-03-18 | move runtime ops to serde ops (#9828) | crowlKats | |