summaryrefslogtreecommitdiff
path: root/src/main.rs
AgeCommit message (Collapse)Author
2018-11-13Wrapper around hyper::Body so it can be used as AsyncReadRyan Dahl
2018-11-06Remove flags::processAndy Hayden
It was doing two independent things: - print help and exit - set log level It's better to do those explicitly in main.rs
2018-11-05Add repl (#998)Andy Hayden
- Running repl from js side. - Add tests for repl behavior. - Handle ctrl-C and ctrl-D.
2018-11-04Fix clippy warnings (#1149)Andy Hayden
Run with: cargo clippy https://github.com/rust-lang-nursery/rust-clippy
2018-11-03third_party: add tokio-process Rust crate and its dependenciesBert Belder
2018-11-02Rename EnvPair to KeyValue.Ryan Dahl
2018-10-31Support cargo check (#1128)Ryan Dahl
- Based on code from @qti3e and @piscisaureus in #724 and #1125 respectively. - TODO The DENO_BUILD_PATH env var must be supplied and must be an absolute path, this restriction should be removed in future work.
2018-10-31Better output on panic (#1129)Joseph
2018-10-31Upgrade Flatbuffers. (#1127)Ryan Dahl
Use msg_generated.rs as mod instead of crate.
2018-10-27Minor sorting not handled by format.Ryan Dahl
2018-10-27Ergonomics: Prompt TTY for permission escalation (#1081)Ryan Dahl
2018-10-24libdeno: deno_new should take a snapshot parameter.Ryan Dahl
2018-10-24Move eager functions into eager_unix.rsBert Belder
2018-10-23Switch to getopts for flag parsing (#1080)Kevin (Kun) "Kassimo" Qian
2018-10-20Allow partial writes.Ryan Dahl
Do not use tokio_io::io:write_all(). Adds src/tokio_write.rs
2018-10-15Exit cleanly on unrecognized arguments (#990)Andy Hayden
Refactor set_flags to return a Result
2018-10-10src/http.rs -> src/http_util.rsRyan Dahl
So as not to conflict with http crate.
2018-10-05Always die on panic.Ryan Dahl
2018-10-04Rename msg_from_js() to dispatch().Ryan Dahl
2018-10-04Rename handler.rs to ops.rsRyan Dahl
2018-10-03First pass at support for TCP servers and clients. (#884)Ryan Dahl
Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn.
2018-10-01Rename FdTable to ResourceTable.Ryan Dahl
Add docs to src/resources.rs.
2018-09-28Adds 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-26Use the thread pool for blocking I/ORyan Dahl
2018-09-25Make 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-25Use lazy_static for HttpsConnectorRyan Dahl
And rename net.rs to http.rs Share HTTP connection.
2018-09-25Clean up flags.Ryan Dahl
2018-09-17Rename Deno to Isolate and move to own file.Ryan Dahl
2018-09-16Use `dirs::home_dir` to replace deprecated `std::env::home_dir`Kevin (Kun) "Kassimo" Qian
2018-09-12Add remove(), removeAll().Kevin (Kun) "Kassimo" Qian
and removeSync(), removeAllSync().
2018-09-09Remove namespace from src/msg.fbsRyan Dahl
2018-09-05Rename src/binding.rs -> src/libdeno.rsRyan Dahl
2018-09-02Log level code refactoringJ2P
2018-08-30Support https imports.Ryan Dahl
Adds hyper-rustls to the build. Use ring for sha1 instead of "ssh1" crate. Fixes #528.
2018-08-30Downgrading tokio to registry version.Ryan Dahl
Prep for rustls.
2018-08-29Implement makeTempDirSync()Bert Belder
2018-08-23First pass at HTTP importsRyan Dahl
Implement --reload Integrate hyper errors into DenoError In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
2018-08-21Better error handling in src/handlers.rsRyan Dahl
Introduces error codes that are shared between JS/RS Fixes #526.
2018-08-20First pass at fetch()Ryan Dahl
With help from Thomas Ghysels <info@thomasg.be>
2018-08-17Command line flag parsing (#524)Ryan Dahl
In particular this allow -D for logging debug output.
2018-08-16Implement deno_handle_msg_from_js in RustRyan Dahl
Fixes #419, #414.
2018-08-09Change Deno::new to return an owned BoxRobby Madruga
2018-08-09First pass at setTimeout with Tokio (#434)Ryan Dahl
2018-08-08Fix rust logger.Ryan Dahl
2018-07-29Implement CodeCacheRyan Dahl
2018-07-29Add sha1 and tempfile crates.Ryan Dahl
2018-07-29Add from_c() to get a Deno object from ptr.Ryan Dahl
This is a utility function for CodeCache and other handlers.
2018-07-29Implement a logger so we can get logging output.Ryan Dahl
2018-07-25Add --v8-options flag (#405)robbym
2018-07-24Remove handlers crate target.Ryan Dahl
- Add build scripts for Rust flatbuffers. - Rewrites some reply.cc methods in Rust. - Changes some struct elements to table in msg.fbs (rust flatbuffers lacks support currently) - Renames handlers_test to test_rs. - This reorg is needed to make progress on the code cache handler.