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
Lilian Saget-Lethias
5671d38d8f
feat: Add std/encoding/yaml module ( #3361 )
2019-11-18 09:39:32 -05:00
Bartek Iwańczuk
a2f5bccad7
fix deno_core_http_bench ( #3364 )
2019-11-17 09:44:22 -05:00
Bartek Iwańczuk
f356b2bd5e
refactor: fixes for futures ( #3363 )
...
After landing #3358 the benchmarks exploded indicating problems with workers and deno_core_http_bench.
This PR dramatically fixes thread/syscall count that showed up on benchmarks. Thread count is not back to previous levels but difference went from hundreds/thousands to about ~50.
2019-11-17 08:14:50 -05:00
Kevin (Kun) "Kassimo" Qian
2b3afda625
Use async to replace FutureExt in lib.rs ( #3359 )
2019-11-16 23:25:12 -05:00
Bartek Iwańczuk
8f9a942cb9
Use futures 0.3 API ( #3358 )
2019-11-16 19:17:47 -05:00
罗文
cb00fd6e98
fmt: respect prettierrc and prettierignore ( #3346 )
2019-11-16 11:48:45 -05:00
Leo Chandra
26bf928d28
fix: std/datetime toIMF bug ( #3357 )
2019-11-16 08:24:07 -05:00
Bartek Iwańczuk
34ed16ed3a
run std test with cargo test ( #3344 )
...
Removes three CI jobs
2019-11-15 13:31:53 -05:00
Andy Hayden
411f53f7bb
Add wasm example to manual ( #3353 )
2019-11-15 12:42:40 -05:00
Kevin (Kun) "Kassimo" Qian
306ab015e8
Fix remote .wasm import content type issue ( #3351 )
2019-11-15 00:14:08 -05:00
Ryan Dahl
0fffef8e5a
v0.24.0
2019-11-14 22:52:58 -05:00
Nayeem Rahman
7901038458
fix: error handling in std/fs/walk() ( #3318 )
...
- Make assertThrows() return the Error
- Remove WalkOptions::onError()
2019-11-14 22:22:33 -05:00
Ry Dahl
4902a1cacb
Turn on TS strict mode for deno_typescript ( #3330 )
2019-11-14 15:05:36 -05:00