Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-16 | remove more calls to futures::executor::block_on (#4775) | Bartek Iwańczuk | |
2020-04-15 | remove calls to futures::executor::block_on (#4760) | Bartek Iwańczuk | |
2020-04-15 | Make writeSync, readSync, seekSync, openSync, isatty proper synchronous ↵ | Ryan Dahl | |
syscalls (#4762) | |||
2020-04-14 | fix(worker): make worker name spec compliant (#4746) | Bartek Iwańczuk | |
2020-04-13 | refactor(core/js_error): Align JSStackFrame with CallSite (#4715) | Nayeem Rahman | |
Renames and adds missing fields to JSStackFrame from CallSite. Fixes #4705. Cleans up base changes for line and column numbers. | |||
2020-04-10 | Replace panic with invalid_utf8 OpError (#4704) | gewoonwoutje | |
Co-authored-by: Wout Elstgeest <w.elstgeest@inepro.com> | |||
2020-04-10 | implement Worker.terminate() and self.close() (#4684) | Bartek Iwańczuk | |
2020-04-03 | clippy (#4618) | Kitson Kelly | |
2020-04-03 | Properly handle invalid utf8 in paths (#4609) | dubiousjim | |
2020-04-03 | adjust docs for Deno.seek (#4610) | dubiousjim | |
2020-03-31 | Properly track isFile, isSymlink, isDirectory (#4541) | dubiousjim | |
* Properly track isFile, isSymlink, isDirectory These don't exhaust all the possibilities, so none of them should be defined as "neither of the others". * empty | |||
2020-03-27 | feat: Support Inspector / Chrome Devtools (#4484) | Ryan Dahl | |
This is a first pass implementation which is still missing several important features: - support for --inspect-brk (#4503) - support for source maps (#4501) - support for piping console.log to devtools console (#4502) Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Matt Harrison <mt.harrison86@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2020-03-23 | feat: Support Unix Domain Sockets (#4176) | João Souto | |
2020-03-21 | BREAKING CHANGE Rename Deno.run's args to cmd (#4444) | Akshat Agarwal | |
This is to avoid confusion with Deno.args which does not include the executable to be run. | |||
2020-03-20 | chmod should throw on Windows (#4446) | dubiousjim | |
2020-03-20 | use prebuilt "not implemented" error (#4442) | dubiousjim | |
2020-03-20 | refactor: move code from fs.rs into ops/fs.rs (#4428) | dubiousjim | |
This a complex boring PR that shifts around code (primarily) in cli/fs.rs and cli/ops/fs.rs. The gain of this refactoring is to ease the way for #4188 and #4017, and also to avoid some future development pain. Mostly there is no change in functionality. Except: * squashed bugs where op_utime and op_chown weren't using `resolve_from_cwd` * eliminated the use of the external `remove_dir_all` crate. * op_chmod now only queries metadata to verify file/dir exists on Windows (it will already fail on Unix if it doesn't) * op_chown now verifies the file/dir's existence on Windows like chmod does. | |||
2020-03-18 | Provide compiled JSON to TypeScript compiler. (#4404) | Kitson Kelly | |
Fixes #4101 Previously, we would just provide the raw JSON to the TypeScript compiler worker, but TypeScript does not transform JSON. This caused a problem when emitting a bundle, that the JSON would just be "inlined" into the output, instead of being transformed into a module. This fixes this problem by providing the compiled JSON to the TypeScript compiler, so TypeScript just sees JSON as a "normal" TypeScript module. | |||
2020-03-16 | Add mode option to open/create (#4289) | dubiousjim | |
2020-03-16 | refactor: remove an unsafe and some boxing (#4398) | Gurwinder Singh | |
2020-03-14 | BREAKING CHANGE FileInfo.len renamed to FileName.size (#4338) | dubiousjim | |
2020-03-12 | upgrade: Rust 1.42.0 (#4331) | Ryan Dahl | |
2020-03-11 | Add waker to StreamResource to fix hang on close bugs (#4293) | João Souto | |
2020-03-11 | support permission mode in mkdir (#4286) | dubiousjim | |
2020-03-10 | refactor(cli/js/net): Cleanup iterable APIs (#4236) | Nayeem Rahman | |
Listener and UDPConn are AsyncIterables instead of AsyncIterators. The [Symbol.asyncIterator]()s are defined as generators and the next() methods are gone. "Listener/Socket has been closed" errors are now BadResource. | |||
2020-03-10 | Add Deno.umask (#4290) | dubiousjim | |
2020-03-07 | refactor: remove cli/ops/files.rs (#4246) | Bartek Iwańczuk | |
* "op_close" - moved to "cli/ops/resources.rs" * "op_seek", "op_open" - moved to "cli/ops/fs.rs" Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-03-06 | Rename name/filename arguments to path (#4227) | dubiousjim | |
There's a lot of variation in doc comments and internal code about whether the first parameter to file system calls is `path` or `name` or `filename`. For consistency, have made it always be `path`. | |||
2020-03-05 | fix: call unwatch when dropping FsEventsResource (#4266) | Ryan Dahl | |
2020-03-05 | Allow BadResource errors to take a custom message (#4251) | Ryan Dahl | |
2020-03-04 | Remove unnecessary macro from cli/ops/tty.rs (#4254) | Bert Belder | |
It contains a clippy issue, and there's no need for this macro anyway. | |||
2020-03-02 | Do not convert exceptions to JSON and back (#4214) | Bert Belder | |
2020-03-02 | feat: update metrics to track different op types (#4221) | Bartek Iwańczuk | |
2020-03-02 | refactor: rename structures related to Modules (#4217) | Bartek Iwańczuk | |
* rename structures related to ES Modules; add "Modules" prefix * remove unneeded Unpin trait requirement for "ModuleLoader" | |||
2020-03-02 | seek should return cursor position (#4211) | bartOssh | |
2020-03-02 | Cleanup comments and internal variables (#4205) | dubiousjim | |
2020-03-01 | feat(std/node): add os.tmpdir() implementation (#4213) | ecyrbe | |
2020-02-27 | replace impl Future with poll_fn for net.rs, process.rs, tls.rs (#4158) | Bartek Iwańczuk | |
2020-02-26 | rewrite normalize_path (#4143) | Bartek Iwańczuk | |
Rewrite "normalize_path()" to remove all intermediate components from the path, ie. "./" and "../". It's very similar in functionality to fs::canonicalize(), however "normalize_path() doesn't resolve symlinks. | |||
2020-02-26 | remove Read/Write futures, use poll_fn instead (#4150) | Bartek Iwańczuk | |
2020-02-26 | tty: Deno.setRaw(rid, mode) to turn on/off raw mode (#3958) | Kevin (Kun) "Kassimo" Qian | |
2020-02-25 | Remove _async from method names since _sync are gone (#4128) | Ryan Dahl | |
2020-02-25 | fix: Resolve makeTemp* paths from CWD (#4104) | Nayeem Rahman | |
2020-02-25 | Clean up how we use opIds (#4118) | Ryan Dahl | |
2020-02-24 | feat: Add Deno.formatDiagnostics (#4032) | Kitson Kelly | |
2020-02-24 | Add missing node os.release() implementation (#4065) | ecyrbe | |
2020-02-23 | refactor: use OpError instead of ErrBox for errors in ops (#4058) | Bartek Iwańczuk | |
To better reflect changes in error types in JS from #3662 this PR changes default error type used in ops from "ErrBox" to "OpError". "OpError" is a type that can be sent over to JSON; it has all information needed to construct error in JavaScript. That made "GetErrorKind" trait useless and so it was removed altogether. To provide compatibility with previous use of "ErrBox" an implementation of "From<ErrBox> for OpError" was added, however, it is an escape hatch and ops implementors should strive to use "OpError" directly. | |||
2020-02-23 | fetch: proper error for unsupported protocol (#4085) | Kevin (Kun) "Kassimo" Qian | |
2020-02-22 | feat(std/node): add os.loadavg() (#4075) | ecyrbe | |
2020-02-21 | feat: Deno.fsEvents() (#3452) | Bartek Iwańczuk | |