Ryan Dahl
d7fa8c3207
Update deno.land links v0.11 ( #2628 )
2019-07-09 18:59:13 -04:00
Mark Tiedemann
953a5a31db
Adjust powershell installer commands ( #2627 )
2019-07-09 14:48:15 -04:00
Ryan Dahl
52c0764e4f
Upgrade v8 to 7.7.200 ( #2624 )
2019-07-09 14:03:06 -04:00
Bartek Iwańczuk
d641782c82
Rewrite snapshot_creator in Rust
2019-07-08 18:18:28 -04:00
Bert Belder
79c3439f26
Pass env vars through in build_extra/rust/run.py
...
This fixes an appveyor issue that arrises when implementing
snapshot_creator in Rust.
2019-07-08 18:18:28 -04:00
Bert Belder
958a80e6db
rustfmt: disable format_macro_bodies
...
It doesn't work since we're not using rustfmt-nightly.
2019-07-08 23:06:30 +02:00
Bert Belder
afd66bb010
cli: generate default file name for bundle when URL ends in a slash
2019-07-08 23:05:00 +02:00
Bert Belder
f4c9b31405
core: replace ModuleSpecifier::to_url() by as_url()
2019-07-08 23:04:07 +02:00
Vincent LE GOFF
1a42695beb
fix emptydir on windows ( denoland/deno_std#531 )
...
Original: 67641b8ea5
2019-07-08 11:09:23 -04:00
Bartek Iwańczuk
72d9045528
cli: refactor deno_dir to use Url instead of String
2019-07-08 13:07:32 +02:00
Bert Belder
9b1997b8b6
core: clearly define when module lookup is path-based vs URL-based
...
The rules are now as follows:
* In `import` statements, as mandated by the WHATWG specification,
the import specifier is always treated as a URL.
If it is a relative URL, it must start with either / or ./ or ../
* A script name passed to deno as a command line argument may be either
an absolute URL or a local path.
- If the name starts with a valid URI scheme followed by a colon, e.g.
'http:', 'https:', 'file:', 'foo+bar:', it always interpreted as a
URL (even if Deno doesn't support the indicated protocol).
- Otherwise, the script name is interpreted as a local path. The local
path may be relative, and operating system semantics determine how
it is resolved. Prefixing a relative path with ./ is not required.
2019-07-08 13:07:32 +02:00
Evgeniy Karagodin
c08a27de9a
Remove os.userHomeDir in favor of Deno.homeDir ( denoland/deno_std#523 )
...
Original: 88b4894579
2019-07-07 15:41:09 -04:00
Yoshiya Hinosawa
9a01d6455e
Upgrade to v0.11.0 (update Reader interface) ( denoland/deno_std#527 )
...
Original: 3ea90d54f6
2019-07-07 15:20:41 -04:00
Ryan Dahl
92ac616708
v0.11.0
2019-07-07 12:17:46 -04:00
Yoshiya Hinosawa
a948f9ff54
io: change Reader interface ( #2591 )
...
Instead of returning { nread: number, eof: bool }, read() returns EOF | number.
2019-07-06 10:16:03 -04:00
Ryan Dahl
33cb79d24c
Fix links ( #2614 )
2019-07-05 07:37:11 -04:00
Lucas Caro
6a0858bd5d
add UUID module ( denoland/deno_std#479 )
...
Original: f52b3ec002
2019-07-03 11:13:22 -04:00
Bert Belder
32cde32e54
core: return useful error when import path has no prefix like ./
2019-06-30 19:46:32 +02:00
Bartek Iwańczuk
9d18f97327
fix: normalize Deno.execPath ( #2598 )
2019-06-30 13:32:24 -04:00
Axetroy
78a9a27e6f
prettier: support reading code from stdin ( denoland/deno_std#498 )
...
Original: 85db520b60
2019-06-30 11:10:00 -04:00
Yoshiya Hinosawa
1068b4848c
ts_library_builder: update README ( #2604 )
2019-06-30 10:52:28 -04:00
Bartek Iwańczuk
5a4bebb770
fix: test output for completions ( #2597 )
2019-06-29 18:35:56 -04:00
Bartek Iwańczuk
38cf346d5c
feat: parse flags after script name ( #2596 )
2019-06-29 18:32:54 -04:00
Ryan Dahl
cde81c6a53
manual: adjust windows build instructions ( #2601 )
2019-06-29 14:30:21 -04:00
Phil Rukin
6d4473324f
Update instructions to install file server ( denoland/deno_std#526 )
...
Original: 9e5473a502
2019-06-29 10:30:01 -04:00
matzkoh
1b48d67fbb
docs(style_guide): fix typoFixes a small syntax error ( #2567 )
2019-06-28 18:49:03 -04:00
andy finch
83fe397016
update rust version for ci ( #2599 )
2019-06-28 16:26:54 -04:00
迷渡
a5441003fe
rename shellsession to shell ( #2583 )
2019-06-27 11:30:59 -04:00
Gurwinder Singh
d7d3e9f9de
Fix multiple error messages for a missing file ( #2587 )
2019-06-27 09:34:12 -04:00
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