summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-03fixes body formData tests disabled in #2268 (#2274)Kurt Mackey
2019-05-03Optimize read and write ops (#2259)Ryan Dahl
2019-05-03ci: run clippyBert Belder
2019-05-03core,cli: fix clippy warningsBert Belder
2019-05-02Re-enable networking unit tests (#2268)Ryan Dahl
The following tests were commented out in order to get this to go green : - bodyMultipartFormData - bodyURLEncodedFormData - fetchRequestInitStringBody - netConcurrentAccept - netListenAsyncIterator
2019-05-02Work around Windows-only V8 concurrent initialization crashBert Belder
This patch provides a work-around for an apparent V8 bug where initializing multiple isolates concurrently leads to a crash on Windows. At the time of writing the cause of this crash is not exactly understood, but it seems to be related to the V8 internal function win64_unwindinfo::RegisterNonABICompliantCodeRange(), which didn't exist in older versions of V8.
2019-05-02core: remove support for moving deno_buf ownership from C++ to JavaScriptBert Belder
The functionality hasn't been in use for a long time. Without this feature, the `alloc_ptr` and `alloc_len` fields are no longer necessary.
2019-05-01Add Request global constructor (#2253)Kurt Mackey
2019-05-01doc: add long about messages for subcommands (#2264)Kevin (Kun) "Kassimo" Qian
Type deno <subcommand> -h to view descriptions.
2019-05-01core: express op as enum (#2255)Ryan Dahl
2019-05-01docs(fs): fix async iterator (denoland/deno_std#366)Alvaro
Original: https://github.com/denoland/deno_std/commit/aa9446390230da43d5ac6dcdcf8c355e1deedb12
2019-05-01Async iterator for listener (#2263)andy finch
2019-05-01Refactor zero-copy buffers for performance and to prevent memory leaksBert Belder
* In order to prevent ArrayBuffers from getting garbage collected by V8, we used to store a v8::Persistent<ArrayBuffer> in a map. This patch introduces a custom ArrayBuffer allocator which doesn't use Persistent handles, but instead stores a pointer to the actual ArrayBuffer data alongside with a reference count. Since creating Persistent handles has quite a bit of overhead, this change significantly increases performance. Various HTTP server benchmarks report about 5-10% more requests per second than before. * Previously the Persistent handle that prevented garbage collection had to be released manually, and this wasn't always done, which was causing memory leaks. This has been resolved by introducing a new `PinnedBuf` type in both Rust and C++ that automatically re-enables garbage collection when it goes out of scope. * Zero-copy buffers are now correctly wrapped in an Option if there is a possibility that they're not present. This clears up a correctness issue where we were creating zero-length slices from a null pointer, which is against the rules.
2019-05-01core: remove unused function StrBufNullAllocPtr()Bert Belder
2019-05-01textproto: fix invalid header error and move tests (denoland/deno_std#369)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/b6aaddbcc060287e8c349a875a19df8fcd0620f3
2019-05-01Rename test targets (#2262)Bartek Iwańczuk
2019-05-01fs: add Deno.utime/Deno.utimeSync (#2241)Kevin (Kun) "Kassimo" Qian
2019-04-30Make error in ast_util more informative. (#2252)andy finch
2019-04-30Make `atob` follow the spec (#2242)迷渡
2019-04-30Fix another flaky assert (#2246)Ryan Dahl
2019-04-30Fix max_latency benchmark on zero value (#2247)Ryan Dahl
2019-04-30docs(log): fix docs mistake (denoland/deno_std#372)梨子(Riko)
Original: https://github.com/denoland/deno_std/commit/a9c41417234e5042050f2c7169d2ef754730eb05
2019-04-29Upgrade V8 to 7.6.53Ryan Dahl
2019-04-29flags: fix merge error (#2244)Ryan Dahl
2019-04-29removes ? from URL when deleting all params (#2217)迷渡
2019-04-29Rewrite flags.rs::parse_flags (#2237)Bartek Iwańczuk
2019-04-29Add support for custom tsconfig.json (#2089)Kitson Kelly
Use `--config`
2019-04-29remove dead code from log/test.ts (denoland/deno_std#370)Bartek Iwańczuk
Original: https://github.com/denoland/deno_std/commit/e2c187003d1d18920a9c5bdb72b2664a730542fd
2019-04-29http/cookie: fixing equal character split (denoland/deno_std#368)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/8503efc8f729cf152a2b03471b3a9d6d93c31197
2019-04-28Disable flaky assert in killSuccess (#2230)Ryan Dahl
2019-04-28Revert "recover: #1517 Kill all pending accepts when TCP listener is closed ↵Ryan Dahl
(#2224)" (#2239) Crashes while running wrk against js/deps/https/deno.land/std/http/http_bench.ts This reverts commit 972ac03858cc11e8b6bb759ee69640d17235580d.
2019-04-28fix test description for `atob` (#2232)迷渡
2019-04-27http: Cookie improvements (denoland/deno_std#359)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/f1114691038888fc3d8995b64a8028f072569672
2019-04-27recover: #1517 Kill all pending accepts when TCP listener is closed (#2224)Yusuke Sakurai
2019-04-27disable --version flag from deno version (#2226)Bartek Iwańczuk
2019-04-27Update TS version on pipeline (denoland/deno_std#364)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/1504894a69dad520311413e8003257d69ae51c9c
2019-04-27Use alt logos on benchmarks and manual page (#2211)Ryan Dahl
2019-04-27URLSearchParams init with itself (#2218)迷渡
2019-04-27fs: fix ensureLink broken (denoland/deno_std#360)Axetroy
Fixes denoland/deno_std#358 Original: https://github.com/denoland/deno_std/commit/d9a64c0a145c46d8611f3fc8295c70e4f32fdc6d
2019-04-27core: add Deps::to_json() (#2223)Greg Altman
2019-04-26Bump CI to v0.3.10 (denoland/deno_std#362)Ryan Dahl
Original: https://github.com/denoland/deno_std/commit/ec70367e5b32083aeb66716065d74b723f835fe8
2019-04-25toml: remove parseFile (denoland/deno_std#361)Jimmy Cao
Original: https://github.com/denoland/deno_std/commit/0431b2f92fba69582f4412bfe9ad138838f46275
2019-04-25v0.3.10Ryan Dahl
2019-04-25Rename CLI flags to subcommands (#2212)Bartek Iwańczuk
2019-04-25compile lib.deno_runtime.d.ts into executable (#2209)Ryan Dahl
2019-04-25Rename deno prefetch to deno fetch (#2210)Bartek Iwańczuk
2019-04-25Fix anchor links and add spinner to the benchmarks page (#2205)David Stone
2019-04-25v0.3.9Ryan Dahl
2019-04-25`URLSearchParams` deleting appended multiple (#2201)迷渡
2019-04-24core: Add test for snapshotting from Rust (#2197)Ryan Dahl