summaryrefslogtreecommitdiff
path: root/src/main.rs
AgeCommit message (Collapse)Author
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.
2018-07-20Use 2 space indent.Ryan Dahl
Apologies for the churn, but my screen is small. rustfmt assumes big monitors.
2018-07-20Wrap rust at 80 columns.Ryan Dahl
2018-07-19cleanup: Move C extern code to src/binding.rsRyan Dahl
2018-07-18Better exception output.Ryan Dahl
2018-07-18Execute JS for the first time in Rust rewrite.Ryan Dahl
Implements code_fetch handler in Rust. Add ability to embed string assets (for typescript declaration files) Remove deno_cc and deno_cc_nosnapshot targets.
2018-07-13Run tools/format.pyRyan Dahl
2018-07-12Move buffers between V8 and nativeBert Belder
* send()/recv() now operate on TypedArrays rather than ArrayBuffers. * Remove a copy (through ArrayBuffer.slice()) from the send path. * Remove a copy (through v8::ArrayBuffer::New()) from the return path. * After moving a buffer from JS to native, the ArrayBuffer object and it's views are made inaccessible ('neutered'). * `struct deno_buf` now holds two [ptr, length] tuples, one for the actual memory allocation, and one for the logical data contained therein. This is necessary because flatbuffers fills it's buffer bottom-up, so the serialized blob doesn't start at beginning of the buffer, but somewhere in the middle.
2018-07-12Remove channel argument from Rust message callbackBert Belder
This makes `deno` not crash any more.
2018-07-04Replace protobufs with flatbuffersRyan Dahl
2018-07-03Switch back to recv/send instead of pub/sub for low-level API.Ryan Dahl
2018-07-03Rustify Deno APIRobby Madruga
2018-07-03Call into JS from rustRyan Dahl
2018-06-22Move `deno2` folder to `src` (#277)Tristan Marion