Bartek Iwańczuk
459162fc6e
add --no-fetch CLI flag to prevent remote downloads ( #2213 )
2019-05-03 11:09:51 -04:00
Ryan Dahl
d68b44b6b2
core: make Isolate concrete, remove Dispatch trait ( #2183 )
...
Op dispatch is now dynamically dispatched, so slightly less efficient.
The immeasurable perf hit is a reasonable trade for the API simplicity
that is gained here.
2019-04-23 18:58:00 -04:00
Bartek Iwańczuk
cd19da62d9
Refactor CLI entry point ( #2157 )
...
Changes "deno --types" to "deno types"
and "deno --prefetch" to "deno prefetch"
2019-04-21 11:34:18 -04:00
Kevin (Kun) "Kassimo" Qian
afabb3f833
Fix redirects under async load ( #2133 )
2019-04-18 21:33:50 -04:00
Bert Belder
8477daa8b9
Fix clippy warnings
2019-04-17 15:35:46 +02:00
Ryan Dahl
1bfb443369
Implement async module loading in CLI ( #2084 )
2019-04-16 15:13:42 -04:00
Ryan Dahl
c7e1f8fabd
Fix silent error, add custom panic handler ( #2098 )
...
This is to work around Tokio's panic recovery feature.
Ref https://github.com/tokio-rs/tokio/issues/495
Ref https://github.com/tokio-rs/tokio/issues/209
Ref https://github.com/denoland/deno/issues/1311
Fixes #2097
2019-04-14 16:07:24 -04:00
andy finch
d3bd5879c3
better wait for removed_from_resource_table_on_close test ( #2104 )
2019-04-12 18:39:31 -04:00
andy finch
960ee5257a
Improve op dispatch ( #2088 )
2019-04-11 10:58:31 -04:00
Ryan Dahl
d2579f4564
core: Rename Behavior to Dispatch ( #2082 )
...
And rename IsolateState to ThreadSafeState.
Also make ThreadSafeState directly implement Dispatch. This is simpler.
2019-04-09 13:11:25 -04:00
Ryan Dahl
2debbdacb9
Merge Worker and Isolate types ( #2078 )
...
Reduces generics.
2019-04-08 17:10:00 -04:00