1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-13 16:26:08 -05:00
Commit graph

7678 commits

Author SHA1 Message Date
Bartek Iwańczuk
061f6dd483 fix deno install (#2529) 2019-06-15 07:08:11 -07:00
Ryan Dahl
fccfaeea3c installer: Print name of installed file (denoland/deno_std#492)
Original: 1679ba0b57
2019-06-15 06:51:11 -07:00
Bert Belder
77737707e4
third_party: upgrade rust crates 2019-06-15 15:20:02 +02:00
Ryan Dahl
1361e30223 Revert "Refactor dispatch handling (#2452)"
Due to performance regression:
dc60fe9f30 (commitcomment-33943711)

This reverts commit dc60fe9f30.
2019-06-14 13:56:36 -07:00
Bartek Iwańczuk
3dff147d0c feat: add deno install command (#2522) 2019-06-14 10:05:06 -07:00
迷渡
52448f351d feat: URLSearchParams should work with custom iterator (#2512) 2019-06-14 08:46:07 -07:00
Bartek Iwańczuk
d00a4beec4 feat: installer (denoland/deno_std#489)
Original: a3015be141
2019-06-14 08:43:06 -07:00
Sam Reghenzi
926594c53c fix wrong field name in example code (denoland/deno_std#490)
Original: 3ec3a8b4f1
2019-06-14 07:57:30 -07:00
andy finch
dc60fe9f30 Refactor dispatch handling (#2452)
Promise id is now created in core and passed back to JS.
2019-06-13 20:43:54 -07:00
Bartek Iwańczuk
fdd2eb5383 expose window.Response (#2515) 2019-06-13 19:53:30 -07:00
迷渡
42d1024cd9 forbidden to set this for setTimeout (#2511) 2019-06-13 08:08:27 -07:00
Bartek Iwańczuk
bca5cc5041 Move ModuleSpecifier to //core (#2509) 2019-06-12 16:55:59 -07:00
Bartek Iwańczuk
b3c4307d02 Refactor module resolving (#2493)
Adds ModuleSpecifier, which wraps a URL. This is now passed around instead of
specifier and resolver strings.
2019-06-12 12:00:08 -07:00
Ryan Dahl
2a5138a516
Remove Config struct from core (#2502)
It's unnecessary indirection and is preventing the ability to easily
pass isolate references into the dispatch and dyn_import closures.

Note: this changes how StartupData::Script is executed. It's no longer done
during Isolate::new() but rather lazily on first poll or execution.
2019-06-12 10:53:24 -07:00
Ryan Dahl
8693d0e0a7 Split up tools/sync_third_party
This is just encoding my actual workflow; not suggesting that this
workflow is ideal. Previously I would edit sync_third_party.py each time
I ran it.
2019-06-12 10:57:58 -04:00
Kurt Mackey
7bdeee8997 makes global request type an interface (#2503) 2019-06-11 21:32:49 -04:00
Bert Belder
878d092df9
Revert "Work around Windows-only V8 concurrent initialization crash"
This fix is no longer necessary as the underlying V8 bug has been
fixed upstream.

This reverts commit 48bcfce09e.
2019-06-11 23:17:41 +02:00
Gurwinder S
7fc3d5ed8b Removed unused method and update docs (#2499) 2019-06-11 16:09:31 -04:00
Ryan Dahl
912e4f7177
feat: default output filename for deno bundle (#2484)
And improve bundle docs
2019-06-11 14:38:19 -04:00
Ryan Dahl
de8c85f8f2
Move Modules to ThreadSafeState (#2498) 2019-06-11 14:35:03 -04:00
Ryan Dahl
508e9849ff
Move TestFmt to end of tests (#2491) 2019-06-11 11:11:12 -04:00
Matt Harrison
d82c1991cf Add --seed for setting RNG seed (#2483) 2019-06-11 10:34:39 -04:00
justjavac
cb58162052 set setTimeout callback's this to window object 2019-06-11 10:09:33 -04:00
迷渡
0efb7c2ab7 fix bug in URL (#2495) 2019-06-10 23:55:38 -04:00
Ryan Dahl
523ab6a929
Upgrade V8 to 7.7.37 (#2492) 2019-06-10 18:49:30 -04:00
Ryan Dahl
e043697521
Expose dynamic import in core (#2472) 2019-06-10 15:27:34 -04:00
Yoshiya Hinosawa
88b0c8756e website: use pre-wrap (#2486) 2019-06-10 11:03:51 -04:00
Kitson Kelly
0ed3046a9a Add bundle loader (denoland/deno_std#480)
Original: fe7f6e117f
2019-06-10 10:34:43 -04:00
Neil Richter
163d60bf16 typo (#2489) 2019-06-10 09:20:19 -04:00
迷渡
5871d22d9b check URLSearchParams.constructor's params (#2488) 2019-06-10 07:20:59 -04:00
Ryan Dahl
87d3b9b5cc upgrade: deno to v0.8.0 (denoland/deno_std#487)
Original: 86b7499e65
2019-06-09 21:42:06 -04:00
Bartek Iwańczuk
a115340288 feat: Import maps (#2360) 2019-06-09 09:08:20 -04:00
Ryan Dahl
8ec5276d30
Add asserts checking that async ops return null (#2463) 2019-06-08 18:11:47 -04:00
Ryan Dahl
d60bdb6350 v0.8.0 2019-06-08 15:16:34 -04:00
Kitson Kelly
307e092753 Add 'bundle' subcommand. (#2467) 2019-06-08 14:42:28 -04:00
gurv-s
35f879ad32 Remove tokio_util::block_on dep in compile_async and other cleanup 2019-06-08 10:59:20 -04:00
gurv-s
95eac608a6 Make print_file_info async 2019-06-08 10:59:20 -04:00
gurv-s
564222bc10 make op_create_worker async internally 2019-06-08 10:59:20 -04:00
gurv-s
c0b28dc224 Use static dispatch 2019-06-08 10:59:20 -04:00
Andy Hayden
5960e398ec make tests quieter (#2468)
Don't mix every http request in with the tests output.
Don't print that the file servers are starting unless
-vv flag is passed.

Capture the output of run with run_output which returns
stdout, stderr and exit_code. Test against this rather
than relying on sys.exit.
2019-06-08 07:46:57 -04:00
Kurt Mackey
4ea2df6759 http benchmarks with unique ports (#2471) 2019-06-07 15:36:26 -04:00
Kurt Mackey
9a6cfd653d add tcp proxy benchmarks + split out website section for proxy req/s (#2464) 2019-06-06 22:46:18 -04:00
Michał Sabiniarz
9bea576f3e Deno.core.evalContext & Deno.core.print fix (#2465) 2019-06-06 21:51:04 -04:00
Kitson Kelly
e3b2205eba Cleanup compiler API (#2466) 2019-06-06 20:37:26 -04:00
Ryan Dahl
cbcb78f188
libdeno: expose dynamic import (#2461) 2019-06-06 19:07:47 -04:00
Xin Du (Clark)
2e0ab295a3 use unknown instead of any (denoland/deno_std#486)
Original: c64734cbd9
2019-06-06 12:56:33 -04:00
Kurt Mackey
341150266e add http proxy benchmark (#2462) 2019-06-06 12:44:35 -04:00
Kitson Kelly
8e8f936e40 Remove console.error from asserts. (denoland/deno_std#483)
Original: 2292fbe6b1
2019-06-06 10:27:55 -04:00
Ryan Dahl
e152dae006
RecursiveLoad shouldn't own the Isolate (#2453)
This patch makes it so that RecursiveLoad doesn't own the Isolate, so
Worker::execute_mod_async does not consume itself.

Previously Worker implemented Loader, but now ThreadSafeState does.

This is necessary preparation work for dynamic import (#1789) and import
maps (#1921)
2019-06-05 16:35:38 -04:00
Xin Du (Clark)
33b6055f5f datetime: use assertThrows in test (denoland/deno_std#473)
Original: 3041edb152
2019-06-05 14:35:35 -04:00