Yoshiya Hinosawa
9c22961b6a
feat(website/benchmark): enable zoom of charts ( #2668 )
2019-07-21 18:19:37 -04:00
andy finch
c98d9bf709
removed unnecessary implementation from SourceFileFetcher ( #2670 )
2019-07-20 11:02:54 -04:00
Bartek Iwańczuk
34f212f257
fix: bring back --no-fetch flag ( #2671 )
2019-07-20 09:19:06 -04:00
Ryan Dahl
a00d087b39
Improve example on homepage ( #2667 )
2019-07-19 14:59:41 -04:00
andy finch
621af21e6e
only use Locker when calling into js ( #2665 )
2019-07-18 20:23:14 -04:00
andy finch
042484d45a
remove v8::Locker from deno_respond ( #2664 )
2019-07-18 18:40:46 -04:00
andy finch
056c146175
Fix expected dyn before AnyError trait ( #2663 )
2019-07-18 23:48:44 +02:00
Ryan Dahl
a37bc0088f
Remove hacky normalize_path ( #2660 )
2019-07-18 15:01:44 -04:00
Ryan Dahl
55ca0f09cb
REPL shouldn't panic when it gets SIGINT ( #2662 )
2019-07-18 15:01:15 -04:00
Ryan Dahl
bc12a3ba56
Reorder tools/format.py so slowest are last ( #2661 )
2019-07-18 15:00:50 -04:00
迷渡
ac98bd8a7c
fix timer's params length ( #2655 )
2019-07-18 06:09:32 -04:00
迷渡
a0b8f13f18
Rename powershell highlighting to shell ( #2654 )
2019-07-18 05:03:02 -04:00
Bartek Iwańczuk
8214b686ce
Refactor DenoDir ( #2636 )
...
* rename `ModuleMetaData` to `SourceFile` and remove TS specific
functionality
* add `TsCompiler` struct encapsulating processing of TypeScript files
* move `SourceMapGetter` trait implementation to `//cli/compiler.rs`
* add low-level `DiskCache` API for general purpose caches and use it in
`DenoDir` and `TsCompiler` for filesystem access
* don't use hash-like filenames for compiled modules, instead use
metadata file for storing compilation hash
* add `SourceFileCache` for in-process caching of loaded files for fast
subsequent access
* define `SourceFileFetcher` trait encapsulating loading of local and
remote files and implement it for `DenoDir`
* define `use_cache` and `no_fetch` flags on `DenoDir` instead of using
in fetch methods
2019-07-17 18:15:30 -04:00
Ryan Dahl
faf2cd92fc
Bump CI to v0.12.0 ( denoland/deno_std#541 )
...
Original: 86675d2634
2019-07-17 16:49:09 -04:00
Ryan Dahl
481a82c983
Edits to manual ( #2646 )
2019-07-17 10:23:07 -04:00
迷渡
181cfc9fb5
Adjust console constructor ( #2649 )
...
https://github.com/denoland/deno/pull/2073#discussion_r303401539
2019-07-17 09:42:04 -04:00
Ryan Dahl
4e248ecda9
v0.12.0
2019-07-16 16:08:50 -04:00
Yoshiya Hinosawa
9c45499864
Support window.onload ( #2643 )
2019-07-16 00:19:26 -04:00
Ryan Dahl
bd6ebb32df
hyper_hello should be in its own crate ( #2641 )
...
So that "cargo build" will build it when the gn frontend is eventually
removed.
2019-07-15 14:00:27 -04:00
Ryan Dahl
1fde15c0bc
Fix REPL when it receives EOF ( #2638 )
2019-07-12 10:23:08 -04:00
Bert Belder
abe8a113ad
Refactor error to use dynamic dispatch and traits
...
This is in preperation for dynamic import (#1789 ), which is more easily
implemented when errors are dynamic.
2019-07-11 14:37:00 -04:00
Bert Belder
db5c66a638
Upgrade rust to v1.36.0
2019-07-11 14:37:00 -04:00
Lucas Caro
0d5d949887
add link to uuid in README ( denoland/deno_std#536 )
...
Original: 14fefcba15
2019-07-11 10:23:14 -04:00
Bartek Iwańczuk
f549392fb6
Rename catjson.ts to catj.ts ( denoland/deno_std#533 )
...
Original: 2f4846fc3e
2019-07-11 05:58:18 -04:00
Bartek Iwańczuk
963d56fc5e
fix for '-' arg after script name ( #2631 )
2019-07-10 20:26:01 -04:00
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