1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
Commit graph

2555 commits

Author SHA1 Message Date
Kitson Kelly
a02c3bd388 bundle/run handles Deno.args better. (denoland/deno_std#514)
Original: 02262c6161
2019-06-21 17:02:53 -07:00
Bartek Iwańczuk
642eaf97c6 feat: redirect process stdio to file (#2554) 2019-06-21 16:00:14 -07:00
andy finch
eb93dc58a1 add encodeInto to TextEncoder (#2558) 2019-06-21 15:32:14 -07:00
Amen
684805919a typo (denoland/deno_std#515)
Original: 4804e50b23
2019-06-21 08:36:39 -07:00
Matt Harrison
20f41e719d Fix comment (#2555) 2019-06-21 08:21:13 -07:00
Bartek Iwańczuk
77a00aef4c feat: upgrade installer and add docs (#2551) 2019-06-20 11:25:13 -07:00
Ryan Dahl
f2c50fae84
Fix silent failure of WebAssembly.instantiate() (#2548)
By making WASM compilation synchronous. We'll have to do more work to
make it properly async.
2019-06-20 09:04:34 -07:00
Bartek Iwańczuk
575bdb8451 improve installer (denoland/deno_std#512)
- remove uninstall command
- add --reload to deno fetch - to ensure subsequent installation 
  upgrades script and deps
- fix executable shebang
- fix prompt for subsequent installation
- support custom installation dir via -d/--dir flag
Original: b13441fe8a
2019-06-20 07:52:18 -07:00
迷渡
6a5177dc11 event isTrusted is enumerable (#2543) 2019-06-20 05:21:43 -07:00
Kitson Kelly
425df50484 Combine CLI Errors (#2487) 2019-06-19 19:07:01 -07:00
Jed Fox
43f48386d7 website: use css variables and prefers-color-scheme (#2547)
This uses `prefers-color-scheme: dark` to automatically switch 
to dark mode if the user specifies it in their system settings. 
Dark mode is supported in Firefox 67, Chrome 76, Safari 12.1,
and iOS 13 as of this commit, but the current status can be 
checked here: https://caniuse.com/#feat=prefers-color-scheme

Additionally, this uses CSS Variables to implement the color-switching
mechanism. This isn’t supported in IE, but the site degrades
reasonably well with them disabled.
Support table: https://caniuse.com/#feat=css-variables
2019-06-19 16:53:07 -07:00
Axetroy
33ffb89f5c installer: quote commands correctly (denoland/deno_std#510)
Original: 4317af11d1
2019-06-19 07:16:34 -07:00
Vincent LE GOFF
57edeacaa5 Testing: Pretty output + Silent mode (denoland/deno_std#314)
Original: d44a47a08d
2019-06-19 05:43:49 -07:00
Axetroy
c85b1c06a9 lint: add max line length rules (denoland/deno_std#507)
Original: b04fda30c8
2019-06-18 21:22:01 -07:00
Axetroy
d6e92582cc Installer: support windows (denoland/deno_std#499)
Original: a68527f3fe
2019-06-18 09:25:53 -07:00
Bartek Iwańczuk
01858f115a fix: use Loader::resolve in op_fetch_module_meta_data (#2519) 2019-06-18 07:23:06 -07:00
Kitson Kelly
ed390a51ca Add dyn to be rust nightly compatible (#2538) 2019-06-18 06:28:56 -07:00
迷渡
d5e80ad677 fix clearTimeout.name / clearInterval.name (#2540) 2019-06-18 06:24:20 -07:00
andy finch
76d51b0f9a refactor dispatch take 2 (#2533) 2019-06-17 18:02:08 -07:00
迷渡
9ad5b0653e clearTimeout should convert to number (#2539) 2019-06-17 10:42:20 -07:00
Axetroy
f430df5619 add encoding/hex module (denoland/deno_std#434)
Original: 418cdff25d
2019-06-17 10:19:56 -07:00
迷渡
a953190742 fix urlSearchParams custom symbol iterator (#2537) 2019-06-17 08:39:23 -07:00
Axetroy
ba180f3460 fix installer readme (denoland/deno_std#495)
Original: aa628cb926
2019-06-16 08:45:40 -07:00
Ryan Dahl
82884fecd5 ci: bump version to v0.9.0 (denoland/deno_std#493)
Original: 33bc3db001
2019-06-15 14:12:33 -07:00
David Stone
76329cf610 Fixes benchmark page spinner on Edge #2508 (#2525) 2019-06-15 11:22:27 -07:00
Ryan Dahl
7b06aa3734 v0.9.0 2019-06-15 09:04:57 -07:00
Ryan Dahl
9142a7df46
Upgrade INSTALLER_URL to include fixes (#2532)
denoland/deno_std#492
2019-06-15 07:50:36 -07:00
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