summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2018-10-23Enforce media typesKitson Kelly
2018-10-20v0.1.9Ryan Dahl
- Performance and stability improvements on all platforms. - Add cwd() and chdir() #907 - Specify deno_dir location with env var DENO_DIR #970 - Make fetch() header compliant with the current spec #1019 - Upgrade TypeScript to 3.1.3 - Upgrade V8 to 7.1.302.4
2018-10-20Optimization: eager acceptRyan Dahl
2018-10-20Optimization: eager writeRyan Dahl
2018-10-20Optimization: eager readRyan Dahl
TCP sockets should attempt the non-blocking read in the main thread.
2018-10-20Allow partial writes.Ryan Dahl
Do not use tokio_io::io:write_all(). Adds src/tokio_write.rs
2018-10-19Sort ops.Ryan Dahl
2018-10-19Add missing copyrights (#1024)ztplz
2018-10-19formatBert Belder
2018-10-18add test case for metricsBartek Iwańczuk
2018-10-18fix metrics logicBartek Iwańczuk
2018-10-17Optimization: Reuse ArrayBuffer during serialization.Ryan Dahl
2018-10-17Fix a bug that copyFile reports different error codesJinho Bang
This is a workaroud. Once the issue is resolved in Rust side, we should remove it. Fixes #895
2018-10-16FormatRyan Dahl
2018-10-15`deno -v` should report typescript versionJinho Bang
Fixes #993
2018-10-15Exit cleanly on unrecognized arguments (#990)Andy Hayden
Refactor set_flags to return a Result
2018-10-15Specify deno_dir location with env var DENO_DIR (#970)Amos Lim
(Use C:\deno instead of c:\deno in appveyor config because it's cloned to c:\ by clone_folder variable in .appveyor.yml. On the other hand, build directory is pointed to C:\ by $(APPVEYOR_BUILD_FOLDER) so that test targets are placed on separated partitions.)