1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-15 16:43:44 -05:00
Commit graph

3349 commits

Author SHA1 Message Date
Ryan Dahl
40d8ef1ec9 v0.3.10 2019-04-25 13:59:18 -06:00
Bartek Iwańczuk
aa85a4d288 Rename CLI flags to subcommands (#2212) 2019-04-25 12:59:49 -06:00
Ryan Dahl
b426ecce80
compile lib.deno_runtime.d.ts into executable (#2209) 2019-04-25 12:27:30 -06:00
Bartek Iwańczuk
b7d8a0c6f6 Rename deno prefetch to deno fetch (#2210) 2019-04-25 13:47:33 -04:00
David Stone
098d6fffab Fix anchor links and add spinner to the benchmarks page (#2205) 2019-04-25 13:20:10 -04:00
Ryan Dahl
e725b26b28 v0.3.9 2019-04-25 17:44:34 +02:00
迷渡
8578ed4e7f URLSearchParams deleting appended multiple (#2201) 2019-04-25 09:29:50 -04:00
Ryan Dahl
7fc9d7d62a
core: Add test for snapshotting from Rust (#2197) 2019-04-24 21:43:06 -04:00
Ryan Dahl
f694823507
Fix symlinkSyncNotImplemented (#2198) 2019-04-24 20:34:33 -04:00
Ryan Dahl
146928dcf5 Bump CI to v0.3.8 (denoland/deno_std#357)
Original: 4f6a070e1c
2019-04-24 20:34:14 -04:00
Ryan Dahl
6bece270b2
Upgrade CI to Node v12 (#2193) 2019-04-24 20:33:53 -04:00
Vincent LE GOFF
dcd01dd025 Eslint fixes (denoland/deno_std#356)
Make warnings fail
Original: 4543b563a9
2019-04-24 07:41:22 -04:00
Vincent LE GOFF
e1f7a60bb3 http : Add cookie module (denoland/deno_std#338)
Original: 1d85447886
2019-04-24 07:38:52 -04:00
Ryan Dahl
d68b44b6b2
core: make Isolate concrete, remove Dispatch trait (#2183)
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-23 18:58:00 -04:00
Axetroy
0fb83ba0d2 fs utils getFileInfoType() return undefined when not found (denoland/deno_std#341)
Original: 0a61800163
2019-04-23 17:42:02 -04:00
Ryan Dahl
675919e915
Use tokio_threadpool's new panic_handler (#2188) 2019-04-23 16:27:44 -04:00
Bert Belder
6caf865507
third_party: upgrade rust crates 2019-04-23 18:01:57 +02:00
Yingbo (Max) Wang
da64fba046 symlink: Ignore type parameter on non-Windows platforms (#2185)
Fixes #2169
2019-04-23 09:47:29 -04:00
Axetroy
bbdd51574c fs: add ensureLink/ensureLinkSync (denoland/deno_std#353)
Original: 45eebed3bf
2019-04-22 11:35:14 -04:00
Tomislav Fabeta
d940801754 Simplify logic in URLSearchParams, Buffer, Console (#2174) 2019-04-22 10:37:49 -04:00
Dmitry Sharshakov
eff23abc32 Support Sets in asserts.equals (denoland/deno_std#350)
Original: 9432d70329
2019-04-22 09:39:33 -04:00
Axetroy
6df5291818 expose ensureSymlink in fs/mod.ts (denoland/deno_std#354)
Original: d2a558fcbd
2019-04-22 08:18:45 -04:00
Kevin (Kun) "Kassimo" Qian
1d4b92ac85 Add Deno.kill(pid, signo) and process.kill(signo) (Unix only) (#2177) 2019-04-21 21:26:56 -04:00
Ryan Dahl
9dfebbc949
Fix eslint warnings (#2151)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-21 16:40:10 -04:00
Tomislav Fabeta
6cded14bdf Issue/2170 (#2175)
* 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-21 15:40:15 -04:00
Ryan Dahl
f77b112797
Remove dead code js/compiler_test.ts (#2160) 2019-04-21 15:39:27 -04:00
Axetroy
f1469380ab feat: add ensureSymlink/ensureSymlinkSync for fs modules (denoland/deno_std#268)
Original: 8d1b01cfcf
2019-04-21 15:23:44 -04:00
Ryan Dahl
8ba6e4fa13
Fix flaky tests (#2164) 2019-04-21 14:06:57 -04:00
Ryan Dahl
961f87e1c5
Fixes #2033, shared queue push bug (#2158) 2019-04-21 12:16:55 -04:00
Bartek Iwańczuk
cd19da62d9 Refactor CLI entry point (#2157)
Changes "deno --types" to "deno types"
and "deno --prefetch" to "deno prefetch"
2019-04-21 11:34:18 -04:00
Matt Harrison
c08075053f Fix link to http_bench example in core README (#2167) 2019-04-21 10:40:44 -04:00
Narendra Kamath G
14e74b2095 Docs: Added missing example in flags module - README.md (denoland/deno_std#348)
Original: 289e1b110d
2019-04-21 08:59:38 -04:00
Daniel Schildt
df8fb60709 docs: improve clarity of the text (#2165) 2019-04-20 22:48:48 -04:00
Jonathon Orsi
648d2f3ba8 fix typo in permissions explanation (#2162) 2019-04-20 15:12:00 -04:00
Maxim Mazurok
8dc8f22760 Exclude .png files from git auto-EOL (#2161)
Fix #1995 for users with the old git version
2019-04-20 15:11:16 -04:00
Kevin (Kun) "Kassimo" Qian
c8db224efe Make Deno/Deno.core not deletable/writable (#2153) 2019-04-19 20:39:54 -04:00
Ryan Dahl
0796a8f2f7 v0.3.8 2019-04-19 11:41:13 -04:00
Axetroy
b062300270 fix ts warning for http/server_test.ts (denoland/deno_std#342)
Original: f7ff14b6fd
2019-04-19 11:25:44 -04:00
Ryan Dahl
5e5c8553e7
core: test Modules::deps and handle error cases better (#2141) 2019-04-19 11:18:46 -04:00
Ryan Dahl
e026320c73
Improve test slow_never_ready_modules (#2145) 2019-04-19 09:22:46 -04:00
迷渡
d0cd7a39a2 avoid prototype builtin hasOwnProperty (#2144) 2019-04-18 21:56:33 -04:00
Yoshiya Hinosawa
2be7e44403 chore: update eslint plugin (#2146) 2019-04-18 21:54:12 -04:00
Kevin (Kun) "Kassimo" Qian
afabb3f833 Fix redirects under async load (#2133) 2019-04-18 21:33:50 -04:00
Ryan Dahl
f03280ead1
benchmarks: improve syscall and thread count (#2140) 2019-04-17 15:47:07 -04:00
Ryan Dahl
1a69df4a05
Fix flaky tests (#2139) 2019-04-17 13:02:32 -04:00
Ryan Dahl
f20b05af24
benchmarks: fix max_memory and clean up (#2137) 2019-04-17 10:52:36 -04:00
Bert Belder
8477daa8b9
Fix clippy warnings 2019-04-17 15:35:46 +02:00
Bert Belder
90c2b10f47
Add cli dependency on tokio-rustls 2019-04-17 14:02:20 +02:00
Ryan Dahl
79a974229a
Move deno_core_http_bench into examples dir (#2127) 2019-04-16 17:53:43 -04:00
Bert Belder
7807afa972
core: make Isolate use FuturesUnordered to track ops
Additionally, instead of polling ops in a loop until none of them are
ready, the isolate will now yield to the task system after delivering
the first batch of completed ops to the javascript side.

Although this makes performance a bit worse (about 15% fewer
requests/second on the 'deno_core_http_bench' benchmark), we feel that
the advantages are worth it:

* It resolves the extremely high worst-case latency that we were seeing
  on deno_core_http_bench, in particular when using the multi-threaded
  Tokio runtime, which would sometimes exceed a full second.

* Before this patch, the implementation of Isolate::poll() had to loop
  through all sub-futures and poll each one of them, which doesn't scale
  well as the number of futures managed by the isolate goes up. This
  could lead to poor performance when e.g. a server is servicing
  thousands of connected clients.
2019-04-16 22:54:33 +02:00