summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-12-03Avoid memory leak (#1265)F001
2018-12-03Use include_bytes! instead of incbin.Ryan Dahl
This is the second attempt at this patch. The first version was reverted in 2ffd78daf9956a24098d1f959f21882e350e9d37 The problem, I suspect, was that the snapshot was represented as a source_set, which inserted a node into the dependency tree. include_bytes does properly insert the snapshot into rustc's depfile but the use of source_set confused gn. Now the that the deno executable has the create_deno_snapshot as a direct dependency, changes will be propagated.
2018-11-30v0.2.1Ryan Dahl
- Allow async functions in REPL (#1233) - Handle Location header relative URI (#1240) - Add deno.readAll() (#1234) - Add Process.output (#1235) - Upgrade to TypeScript 3.2.1 - Upgrade crates: tokio 0.1.13, hyper 0.12.16, ring 0.13.5
2018-11-30clippy fixes (#1250)Andy Hayden
2018-11-29Replace mutex by atomics (#1238)F001
2018-11-29Handle Location header relative URI (#1240)Kevin (Kun) "Kassimo" Qian
2018-11-28REPL unblock event loop AND fix REPL setTimeout fire problemsKevin (Kun) "Kassimo" Qian
2018-11-27Don't use snapshot for src/isolate.rs tests.Ryan Dahl
2018-11-23Revert "Use include_bytes! instead of incbin. (#1182)"Ryan Dahl
Reverting because this is causing Appveyor to be red. However I hope we can reintroduce include_bytes! soon in a way that works on windows. Fixes #1208. This reverts commits 96c3641fffe8509af9351cec4580861e76d89cc9 and 92e404706b0b1a26cdaf6f8cf81aac148292557f.
2018-11-16v0.2.0Ryan Dahl
Changes since v0.1.12: - First pass at running subprocesses (#1156) - Improve flag parsing (#1200) - Improve fetch() (#1194 #1188 #1102) - Support shebang (#1197)
2018-11-16First pass at running subprocesses (#1156)Bert Belder
2018-11-16improve flag parsingBartek Iwańczuk
2018-11-16Support uploading data from fetch()Ryan Dahl
Does not yet support streaming, only strings and TypedArrays for now.
2018-11-16Lift snapshot to be an argument of Isolate::new().Ryan Dahl
2018-11-16Support shebangRyan Dahl
2018-11-16Simplify NotFound code.Ryan Dahl
2018-11-14Support request method and headers in fetch() (#1188)Ryan Dahl
Adds a general HttpHeader flatbuffer message for serializing requests and responses.
2018-11-13Support streaming response bodies from fetch()Ryan Dahl
Also Buffer.readFrom in fetch() to buffer response.
2018-11-13Wrapper around hyper::Body so it can be used as AsyncReadRyan Dahl
2018-11-12Use include_bytes! instead of incbin. (#1182)Ryan Dahl
2018-11-12v0.1.12Ryan Dahl
- Update to TypeScript 3.1.6 (#1177) - Fixes Headers type not available. (#1175) - Reader/Writer to use Uint8Array not ArrayBufferView (#1171) - Fixes importing modules starting with 'http'. (#1167) - build: Use target/ instead of out/ (#1153) - Support repl multiline input (#1165)
2018-11-08Local filenames starting with 'http' shouldn't be remote. (#1167)Ryan Dahl
2018-11-06Fix many of the clippy::pedantic warningsAndy Hayden
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-05v0.1.11Ryan Dahl
- Performance and stability improvements on all platforms. - Add repl (#998) - Add deno.Buffer (#1121) - Support cargo check (#1128) - Upgrade Rust crates and Flatbuffers. (#1145, #1127) - Add helper to turn deno.Reader into async iterator (#1130) - Add ability to load JSON as modules (#1065) - Add deno.resources() (#1119) - Add application/x-typescript mime type support (#1111)
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-11-01cargo: build in Cargo's out dir if DENO_BUILD_PATH is not setBert Belder
Plus some minor improvements and clean-ups: * Resolve DENO_BUILD_PATH to an absolute path if necessary. * Rename DENO_BUILD_PATH to GN_OUT_DIR in places where it is supposed to be set by the build system (and not a user configuration variable). * Output Cargo `rerun-if-*-changed` instructions first, so even if the build itself fails, configuration changes will still trigger a re-run of build.rs. * Remove TODOs that are impossible. * Re-run build.rs when the flatbuffer definition file changes.
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-30Rename FetchReq op to Fetch.Ryan Dahl
2018-10-30Add resources op (#1119)Bartek Iwańczuk
2018-10-29Separate source map from output code.Kitson Kelly
2018-10-28Add application/x-typescript mime type supportKevin (Kun) "Kassimo" Qian
2018-10-27v0.1.10Ryan Dahl
- Add URLSearchParams (#1049) - Implement clone for FetchResponse (#1054) - Use content-type headers when importing from URLs. (#1020) - Use checkJs option, JavaScript will be type checked and users can supply JSDoc type annotations that will be enforced by Deno (#1068) - Add separate http/https cache dirs to DENO_DIR (#971) - Support https in fetch. (#1100) - Add chmod/chmodSync on unix (#1088) - Remove broken features: --deps and trace() (#1103) - Ergonomics: Prompt TTY for permission escalation (#1081)
2018-10-27Minor sorting not handled by format.Ryan Dahl
2018-10-27Ergonomics: Prompt TTY for permission escalation (#1081)Ryan Dahl
2018-10-26Remove broken feature: --depsRyan Dahl
2018-10-26Add chmod/chmodSync on unix (and fix Cargo.toml) (#1088)Kevin (Kun) "Kassimo" Qian
Initial implementation by Srijan Reddy (@srijanreddy98, #672).
2018-10-26Support https in fetch.Ryan Dahl
fetch should use same hyper connector as import.
2018-10-26Add separate http/https cache dirs to DENO_DIR (#971)Kevin (Kun) "Kassimo" Qian
Also change remote relative import logic.
2018-10-24Add libdeno.shared global shared ArrayBuffer.Ryan Dahl
2018-10-24libdeno: deno_new should take a snapshot parameter.Ryan Dahl
2018-10-24fix typos (#1083)Joseph
2018-10-24Move eager functions into eager_unix.rsBert Belder
2018-10-24Refactor eager_{read,write,accept}_tcp into separate functionsBert Belder
2018-10-23Switch to getopts for flag parsing (#1080)Kevin (Kun) "Kassimo" Qian