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

3677 commits

Author SHA1 Message Date
Jimmy Cao
fb6d57a281 fix: run blocking function on a different task (#2570)
This avoids freezing the current task if the fn blocks indefinitely
2019-06-26 19:12:11 -04:00
Bartek Iwańczuk
6906a2f75e feat: deno completions command (#2577) 2019-06-26 03:02:13 -07:00
Ryan Dahl
5bf765b1b4 ci: bump deno to v0.10.0
Original: 53949c1eb6
2019-06-26 02:47:35 -07:00
Evgeniy Karagodin
d089f97978 Add homeDir to Deno namespace (#2578) 2019-06-25 09:05:41 -07:00
Ryan Dahl
c56df45355 v0.10.0 2019-06-25 07:09:46 -07:00
Ryan Dahl
3a4d88475b Port code from Cargo and use for progress
A lot of its functionality is unused still, but the goal it to slowly
migrate logging functionality to it. There is also a useful progress bar
which can be ported over later - it depends on this module.

4c1fa54d10/src/cargo/util/progress.rs
2019-06-25 06:32:28 -07:00
Bert Belder
89216c7baa third_party: add rust crate 'termcolor' 2019-06-25 06:32:28 -07:00
Ryan Dahl
046cbef4f0 simplify check_net test 2019-06-25 06:32:28 -07:00
Ryan Dahl
d1482c6b8a
Upgrade deno_std (#2565) 2019-06-24 12:41:50 -07:00
Bartek Iwańczuk
70a9859adc refactor: use Path/PathBuf in deno dir (#2559) 2019-06-24 10:10:21 -07:00
Bartek Iwańczuk
3c81cca037 fix: prevent multiple downloads of modules (#2477) 2019-06-24 09:04:06 -07:00
Evgeniy Karagodin
58bac5dc29 Add userHomeDir (denoland/deno_std#521)
Original: ff7fb5a5d6
2019-06-24 08:08:06 -07:00
Long(Tony) Lian
1d0d54247c feat: fetch() now handles redirects (#2561) 2019-06-24 06:34:09 -07:00
Rong Sen Ng
69d4d88b4f typo
Original: ba4210cdb9
2019-06-24 06:08:14 -07:00
JaePil Jung
d82089ca35 Update manual.md (#2571) 2019-06-23 07:01:49 -07:00
Gurwinder Singh
6fa6828e5f Minor tweaks (#2569)
1. Separate Snapshot and Script StartupData functions based on cfg "no-snapshot-init"
2. Replace deprecated Once::ONCE_INIT with Once::new (https://github.com/rust-lang/rust/pull/61757)
3. Elide lifetime
4. Fix typos
2019-06-23 04:49:49 -07:00
Bartek Iwańczuk
b9fbd55214 feat: log permission access (#2518)
Replaces -D/--log-debug flag with --log-level=debug

--log-level=info displays permission access
2019-06-22 09:02:51 -07:00
Axetroy
cd7ed28c36 file server should order filenames (denoland/deno_std#511)
Original: 1365d287bc
2019-06-22 07:52:56 -07:00
Yoshiya Hinosawa
988bcbb884 fetch: make body async iterable (#2563) 2019-06-22 07:22:27 -07:00
Yoshiya Hinosawa
201ddd29a7 fmt_test: resolve old absolute path issue (#2562) 2019-06-22 07:21:39 -07:00
Bartek Iwańczuk
a7dbd39270 feat: add catjson example (denoland/deno_std#517)
Original: d99c15448d
2019-06-22 04:54:17 -07:00
Bartek Iwańczuk
b6ad0df64f fix: pin eslint version for CI (denoland/deno_std#518)
https://github.com/typescript-eslint/typescript-eslint/issues/637

Original: 4772c34521
2019-06-22 04:53:43 -07:00
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