Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-04 | Rename handler.rs to ops.rs | Ryan Dahl | |
2018-10-03 | First pass at support for TCP servers and clients. (#884) | Ryan Dahl | |
Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn. | |||
2018-10-03 | Implemented readDirSync, readDir | J2P | |
2018-10-03 | timers: remove the old timer implementation | Bert Belder | |
Fixes #878. | |||
2018-10-03 | timers: implement timers in javascript | Bert Belder | |
2018-10-01 | Adjust how handle_read handle_write function. | Ryan Dahl | |
Use tokio_io::io::read() and tokio_io::io::write_all() instead of poll_fn() as suggested in the Tokio gitter. | |||
2018-10-01 | Rename FdTable to ResourceTable. | Ryan Dahl | |
Add docs to src/resources.rs. | |||
2018-09-30 | Add copyFile/copyFileSync (#863) | Kevin (Kun) "Kassimo" Qian | |
2018-09-30 | Add deno.truncate (#805) | ztplz | |
2018-09-28 | Adds basic File I/O and FD table. | Ryan Dahl | |
Adds deno.stdin, deno.stdout, deno.stderr, deno.open(), deno.write(), deno.read(), deno.Reader, deno.Writer, deno.copy(). Fixes #721. tests/cat.ts works. | |||
2018-09-27 | Support zero-copy data in libdeno.send(). (#838) | Ryan Dahl | |
This is a large API refactor of deno.h which replaces deno_send() and deno_set_response() with deno_respond(). It also adds a req_id parameter to the deno_recv_cb. Make writeFile/writeFileSync use it. | |||
2018-09-26 | Use the thread pool for blocking I/O | Ryan Dahl | |
2018-09-25 | Add SetGlobalTimeout(). | Ryan Dahl | |
To be used for a timers implementation soon. | |||
2018-09-25 | Make Deno multithreaded. | Ryan Dahl | |
By using the tokio default runtime. This patch makes all of the ops thread safe. Adds libdeno to JS globals to make for easier testing. Preliminary work for #733. | |||
2018-09-25 | Use lazy_static for HttpsConnector | Ryan Dahl | |
And rename net.rs to http.rs Share HTTP connection. | |||
2018-09-25 | Implement deno.readlink() (#797) | Mani Maghsoudlou | |
2018-09-24 | Add flag --recompile (#801) | Bartek IwaĆczuk | |
2018-09-22 | Rename deno.argv, libdeno::DenoC and deno_set_flags (#796) | ztplz | |
2018-09-18 | Implement deno.symlink() (#742) | Mani Maghsoudlou | |
2018-09-17 | Rename Deno to Isolate and move to own file. | Ryan Dahl | |
2018-09-17 | Make mode always u32 and switch to has_mode for StatRes fbs (#761) | Kevin (Kun) "Kassimo" Qian | |
2018-09-16 | format | Bert Belder | |
2018-09-16 | Remove remove_timer asserts (#760) | Kevin (Kun) "Kassimo" Qian | |
* Remove remove_timer asserts * Add clearTimeout invalid id no-panic test * Move timer test to its file AND some lint side-effects | |||
2018-09-14 | [fs] Enable mode for `mkdir` on unix (#746) | Kevin (Kun) "Kassimo" Qian | |
2018-09-12 | Small handers.rs cleanup (#735) | JaePil Jung | |
2018-09-12 | Add support for fetch() headers (#727) | qti3e | |
2018-09-12 | Implement deno.rename() (#731) | Mani Maghsoudlou | |
2018-09-12 | Add unix-only `mode` for FileInfo (#732) | Kevin (Kun) "Kassimo" Qian | |
2018-09-12 | Add remove(), removeAll(). | Kevin (Kun) "Kassimo" Qian | |
and removeSync(), removeAllSync(). | |||
2018-09-11 | Implement deno.stat() and deno.lstat() | Sajjad Hashemian | |
2018-09-11 | Move writeFileSync to write_file.ts, add writeFile and tests (#728) | Kevin (Kun) "Kassimo" Qian | |
2018-09-10 | Implement deno.mkdir() | Sajjad Hashemian | |
2018-09-10 | Support async futures that have empty response. | Ryan Dahl | |
2018-09-10 | Implement deno.readFile() | Ryan Dahl | |
As an example of how to implement ops that have both sync and async versions. | |||
2018-09-10 | create_msg -> serialize_response | Ryan Dahl | |
2018-09-10 | Remove null_buf() | Ryan Dahl | |
2018-09-09 | Remove namespace from src/msg.fbs | Ryan Dahl | |
2018-09-09 | Map promises onto futures. | Ryan Dahl | |
Refactors handlers.rs The idea is that all Deno "ops" (aka bindings) should map onto a Rust Future. By setting the "sync" flag in the Base message users can determine if the future is executed immediately or put on the event loop. In the case of async futures, a promise is automatically created. Errors are automatically forwarded and raised. TODO: - The file system ops in src/handler.rs are not using the thread pool yet. This will be done in the future using tokio_threadpool::blocking. That is, if you try to call them asynchronously, you will get a promise and it will act asynchronous, but currently it will be blocking. - Handlers in src/handler.rs returned boxed futures. This was to make it easy while developing. We should try to remove this allocation. | |||
2018-09-06 | Check allow-net in fetch | Parsa Ghadimi | |
2018-09-06 | Implementing --deps flag | Mirko Jotic | |
- Adding a ModuleId type alias to specify original url or local file of dependency - Modifying ModuleMetaData class to contain ModuleId - Adding a --deps flag | |||
2018-09-05 | Rename src/binding.rs -> src/libdeno.rs | Ryan Dahl | |
2018-09-05 | Format | Ryan Dahl | |
2018-09-04 | Implement renameSync | Mani Maghsoudlou | |
2018-09-03 | Implement mkdirSync | Sajjad Hashemian | |
2018-09-03 | Clean up handlers. | Ryan Dahl | |
2018-09-03 | Upgrade flatbuffers | Ryan Dahl | |
2018-09-03 | Format. | Ryan Dahl | |
2018-08-31 | Implemented deno.env and refactored flags.rs | Aaron Power | |
2018-08-30 | format | Ryan Dahl | |
2018-08-30 | Implemented statSync and lStatSync | Aaron Power | |