summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-14Add a simple doc generation tool.Ryan Dahl
And website upload tool.
2018-11-14fix code sample in Docs迷渡
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-12Update to TypeScript 3.1.6 (#1177)Kitson Kelly
2018-11-11Use https for the demoSteven Liekens
Without HTTPS it might be possible for a MITM to inject arbitrary code into the "thumb.ts" response which Deno would then execute.
2018-11-09Ensure global type instances are available.Kitson Kelly
2018-11-09Cleanups for runtime lib declarations.Kitson Kelly
2018-11-09Reader/Writer should use Uint8Array not ArrayBufferViewRyan Dahl
Because many Reader/Writer implementations (e.g. bufio) assume their able to use subarray() with byte indexes and often ask for byte values, it makes sense to simply restrict all implementations to Uint8Array.
2018-11-08Local filenames starting with 'http' shouldn't be remote. (#1167)Ryan Dahl
2018-11-08build: Use target/ instead of out/ (#1153)Ryan Dahl
2018-11-08travis should immediately fail when lint or test_format fails (#1172)Aladeen
Fixes #1104
2018-11-07appveyor: place cargo and rustup in the same cacheBert Belder
This avoids the problem that when one of the caches is restored and the other isn't, Rust doesn't get reinstalled, but it also isn't usable, crashing the CI.
2018-11-06Support repl multiline input (#1165)Andy Hayden
2018-11-06Fix many of the clippy::pedantic warningsAndy Hayden
2018-11-06Improve preparing stack tracesKitson Kelly
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-05Omit sources from source maps in bundle.Kitson Kelly
2018-11-05Decode main.js.map during snapshotting.Ryan Dahl
Pro: time ./out/debug/deno tests/error_001.ts 3.0s -> 0.4s Con: time ./tool/build.py snapshot 33s -> 1m52s out/debug/gen/snapshot_deno.bin 39M -> 121M
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-05Fix issue with runtime lib generation.Kitson Kelly
2018-11-04Add deno.Buffer (#1121)Ryan Dahl
Do not confuse this with Node's Buffer. This is a direct port of Go's bytes.Buffer - it allows buffering of Reader and Writer objects.
2018-11-04Improve integration test harness (#1142)Kitson Kelly
2018-11-04Web APIs: `File` and `FormData` (#1056)Kyra
2018-11-04Fix clippy warnings (#1149)Andy Hayden
Run with: cargo clippy https://github.com/rust-lang-nursery/rust-clippy
2018-11-04Improve robustness of lib builder.Kitson Kelly
2018-11-03Add documentation as per #1105 (#1116)Nisheet Sinvhal
2018-11-03third_party: add tokio-process Rust crate and its dependenciesBert Belder
2018-11-03third_party: upgrade Rust cratesBert Belder
2018-11-03third_party: add unwanted crates and cargo caches to .gitignoreBert Belder
And some other minor clean-ups in the same file.
2018-11-03build: infer label name for versioned Rust cratesBert Belder
2018-11-02Move fetch headers into its own file.Ryan Dahl
2018-11-02Rename EnvPair to KeyValue.Ryan Dahl
2018-11-02test_rs needs deno_deps.Ryan Dahl
2018-11-01Fix performance regression with JSON ModulesKitson Kelly
2018-11-01clarify benchmark chart unitsbdistin
Currently, the Travis chart displays "time" as the y-label of the graph, when in fact the unit is in minutes. (makes this consistent with other y-labels being "seconds")
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-11-01cargo: build only necessary Ninja targets when invoked by RLSBert Belder
2018-11-01build: remove absolute pathBert Belder
2018-10-31.gitignore: dedupeBert Belder
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-31Add helper to turn deno.Reader into async iterator (#1130)Bartek Iwańczuk
2018-10-31Mention 'git submodule update' in docs (#1132)Joseph
2018-10-31Upgrade Flatbuffers. (#1127)Ryan Dahl
Use msg_generated.rs as mod instead of crate.
2018-10-30Add ability to load JSON as modules (#1065)Kitson Kelly