木杉
7f27f649cc
fix: file_server swallowing permission errors ( #3467 )
2019-12-12 13:05:26 +08:00
Kevin (Kun) "Kassimo" Qian
d146d45861
benchmark: align deno_http and node_http response ( #3484 )
2019-12-12 13:02:23 +08:00
dnalborczyk
ef17488398
fix v8-flags example to manual ( #3470 )
2019-12-12 13:02:07 +08:00
Kevin (Kun) "Kassimo" Qian
c3c69aff7e
fix(std/http): close connection on .respond() error ( #3475 )
2019-12-12 08:46:03 +08:00
Nayeem Rahman
407195ea87
fix: Only swallow NotFound errors in std/fs/expandGlob() ( #3479 )
2019-12-12 08:42:21 +08:00
Andy Hayden
c93ae0b05a
Fix release assets not being executable ( #3480 )
2019-12-11 13:48:53 +08:00
AleksandrukTad
31ddfd5a42
fix: decoding uri in file_server ( #3187 )
2019-12-10 20:11:55 +08:00
Kevin (Kun) "Kassimo" Qian
ec7f3ce1c2
timer: due/now Math.max instead of min ( #3477 )
2019-12-10 12:21:30 +01:00
Ry Dahl
4b9953b6ac
Disable flaky plugin test on windows ( #3474 )
2019-12-10 12:20:08 +01:00
木杉
90c5aadbca
fix(installer): installs to the wrong directory on Windows ( #3462 )
...
Close: #3443
2019-12-08 14:59:27 +01:00
Kevin (Kun) "Kassimo" Qian
50b6907bc3
Replace deprecated GetContent with GetBackingStore ( #3458 )
2019-12-08 05:25:40 +08:00
Luca Casonato
7144bbed34
fix: plugin ops should change op count metrics ( #3455 )
2019-12-08 04:09:09 +08:00
Bartek Iwańczuk
e02029c602
fix isolate tests ( #3459 )
...
Some tests were silently failing after #3358 and #3434 because pool.spawn_ok
was used which doesn't panic on errors. For reference, the failure looked like this:
thread '<unnamed>' panicked at 'assertion failed: match isolate.poll_unpin(cx) { Poll::Ready(Ok(_)) => true, _ => false, }', core/isolate.rs:1408:7
2019-12-08 04:04:17 +08:00
Ryan Dahl
0ce9011edc
v0.26.0
2019-12-05 21:41:16 -05:00
Ry Dahl
e6228bc3c4
Revert "Synchronize deno and deno_std versions" ( #3446 )
...
Preventing release v0.26.0
This reverts commit 81efa9d938
.
2019-12-05 21:14:46 -05:00
Andy Finch
7c3b9b4f4f
feat: first pass at native plugins ( #3372 )
2019-12-05 15:30:20 -05:00
Christian Moritz
214b3eb29a
fix depot_tools on macOS Catalina by upgrading it to 23247b9 ( #3441 )
...
Fixes: #3440
Fixes: #3153
2019-12-04 18:16:39 -05:00
Kevin (Kun) "Kassimo" Qian
3293725131
Timer/microtask ordering fix ( #3439 )
2019-12-03 22:19:03 -05:00
Nayeem Rahman
91da410fc3
feat: Add --no-remote, rename --no-fetch to --cached-only ( #3417 )
2019-12-03 17:48:53 -05:00
Ry Dahl
ee013102ff
remove duplicated argv member from ThreadSafeGlobalState ( #3433 )
2019-12-03 17:23:10 -05:00
Andy Finch
00844b4142
fix some typos in permissions ( #3436 )
2019-12-03 12:22:51 -05:00
木杉
cfa4f540ba
better html for file_server ( #3423 )
2019-12-02 16:14:25 -08:00
Bartek Iwańczuk
136b5e3da2
disable eager polling for ops ( #3434 )
2019-12-02 12:21:32 -08:00
Vincent LE GOFF
2ed3592def
Update .gitignore
2019-12-02 08:05:29 -08:00
木杉
537c6b3ed9
fix realpath behavior in windows ( #3425 )
2019-12-01 11:23:35 -08:00
Axetroy
81efa9d938
synchronize deno and deno_std versions ( #3415 )
2019-11-29 19:03:55 -08:00
Ry Dahl
a537c03df7
Revert "update deno_core_http_bench to Tokio 0.2 ( #3408 )"
...
It seems this has caused CI to go red for an unknown reason.
This reverts commit 866dba8aa1
.
2019-11-27 08:03:58 -08:00
Kevin (Kun) "Kassimo" Qian
3451c5fb55
Tweaks to arg_hacks and add v8-flags to repl ( #3409 )
2019-11-26 20:25:14 -08:00
Bartek Iwańczuk
866dba8aa1
update deno_core_http_bench to Tokio 0.2 ( #3408 )
2019-11-26 18:07:40 -08:00
Ryan Dahl
2cd22b5437
v0.25.0
2019-11-26 10:01:59 -08:00
Bartek Iwańczuk
9712e0c315
better error messages for 'relative import path not prefixed with / or ./ or ../' ( #3405 )
2019-11-26 09:14:04 -08:00
Axetroy
2a348144c6
feat: add ignore parser for std/prettier ( #3399 )
2019-11-26 08:07:39 -08:00
Ry Dahl
c016684653
refactor: reorganize flags ( #3389 )
...
- Remove ability to specify run arguments like `--allow-net` after the
script argument. It's too hacky to make work with clap.
- Remove `--v8-options`, instead use `--v8-flags=--help`
- Give more descriptive names to unit tests in flags.rs
- Assume argv and subcommand into DenoFlags struct so the output of
flags module is only DenoFlags rather than the tuple (subcommand, flags,
argv).
- Improve CLI help text
- Make `deno run` specific args like `--allow-net` only show up in 'deno
help run' instead of as global flags in `deno help`.
- Removes `deno version` to simplify our implementation and be closer to
clap defaults. `deno -V` now only shows Deno's version and not V8's nor
TypeScript. `Deno.versions` can be used to see that information.
- Prevent clap from auto-detecting terminal width and attempting to wrap
text.
2019-11-26 08:06:32 -08:00
Kevin (Kun) "Kassimo" Qian
f88dc4e197
Add Deno.realpath ( #3404 )
2019-11-26 00:40:57 -08:00
Bartek Iwańczuk
658ec2aaf9
better error message for missing module ( #3402 )
2019-11-25 09:33:23 -05:00
Kevin (Kun) "Kassimo" Qian
bca23e6433
refactor: Elevate DenoPermissions lock to top level ( #3398 )
2019-11-24 10:42:30 -05:00
Kitson Kelly
9e97eb2879
Make private namespaces in lib.deno_runtime.d.ts more private ( #3400 )
2019-11-24 10:36:49 -05:00
Bartek Iwańczuk
c6bb3d5a10
remove tokio_util::block_on ( #3388 )
...
This PR removes tokio_util::block_on - refactored compiler and file
fetcher slightly so that we can safely block there - that's because
only blocking path consist of only synchronous operations.
Additionally I removed excessive use of tokio_util::panic_on_error
and tokio_util::run_in_task and moved both functions to cli/worker.rs,
to tests module.
Closes #2960
2019-11-22 12:46:57 -05:00
Bartek Iwańczuk
363b968bfc
minor clean ups in TS compiler ( #3394 )
2019-11-22 12:14:34 -05:00
Kitson Kelly
8d977d0117
feat: Support named exports on bundles. ( #3352 )
2019-11-20 11:02:08 -05:00
Bartek Iwańczuk
1912ed6740
remove tokio_util::block_on from ops/workers.rs ( #3381 )
2019-11-19 19:17:05 -05:00
Kevin (Kun) "Kassimo" Qian
6708fcc386
std/node: add some Node.js polyfill to require() ( #3382 )
2019-11-19 16:44:59 -05:00
Bartek Iwańczuk
2ac107f548
fix: use AF_INET6 in ./tools/http_server.py ( #3374 )
2019-11-19 12:56:37 -05:00
Kevin (Kun) "Kassimo" Qian
e73a82dc42
feat(std/node) add CommonJS require ( #3380 )
2019-11-19 01:54:20 -05:00
Ry Dahl
e6fdb2628f
chore: improve examples ( #3377 )
2019-11-18 22:07:13 -08:00
罗文
00aa409ff2
support load yaml/yml prettier config ( #3370 )
2019-11-18 21:15:52 -05:00
Andy Finch
b6b813cbfc
feat: op registration during calls ( #3375 )
2019-11-18 21:13:04 -05:00
Bartek Iwańczuk
f437521afb
chore: remove unneeded tokio deps ( #3376 )
2019-11-18 21:11:50 -05:00
Rafał Pocztarski
4ca624a355
feat: std/node/process ( #3368 )
2019-11-18 18:30:24 -05:00
罗文
542ec461c4
feat: add --check for deno fmt ( #3369 )
2019-11-18 13:19:59 -05:00