summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-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-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-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-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-27Use alt logos on benchmarks and manual page (#2211)Ryan Dahl
2019-04-27URLSearchParams init with itself (#2218)迷渡
2019-04-27core: add Deps::to_json() (#2223)Greg Altman
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
2019-04-24Fix symlinkSyncNotImplemented (#2198)Ryan Dahl
2019-04-24Upgrade CI to Node v12 (#2193)Ryan Dahl
2019-04-23core: make Isolate concrete, remove Dispatch trait (#2183)Ryan Dahl
Op dispatch is now dynamically dispatched, so slightly less efficient. The immeasurable perf hit is a reasonable trade for the API simplicity that is gained here.
2019-04-23Use tokio_threadpool's new panic_handler (#2188)Ryan Dahl
2019-04-23third_party: upgrade rust cratesBert Belder
2019-04-23symlink: Ignore type parameter on non-Windows platforms (#2185)Yingbo (Max) Wang
Fixes #2169
2019-04-22Simplify logic in URLSearchParams, Buffer, Console (#2174)Tomislav Fabeta
2019-04-21Add Deno.kill(pid, signo) and process.kill(signo) (Unix only) (#2177)Kevin (Kun) "Kassimo" Qian
2019-04-21Fix eslint warnings (#2151)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-21Issue/2170 (#2175)Tomislav Fabeta
* Consistency using requiredArguments method Replaced tuple length check in Headers class with requiredArguments method. * Consistency using requiredArguments method Replaced tuple length check in UrlSearchParams class with requiredArguments method. * fmt
2019-04-21Remove dead code js/compiler_test.ts (#2160)Ryan Dahl
2019-04-21Fix flaky tests (#2164)Ryan Dahl
2019-04-21Fixes #2033, shared queue push bug (#2158)Ryan Dahl
2019-04-21Refactor CLI entry point (#2157)Bartek Iwańczuk
Changes "deno --types" to "deno types" and "deno --prefetch" to "deno prefetch"