1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-11 08:33:43 -05:00
denoland-deno/cli
Bartek Iwańczuk cbdf9c5009
refactor: module loading in EsIsolate (#3615)
* refactored RecursiveLoad - it was renamed to RecursiveModuleLoad, it does not take ownership of isolate anymore - a struct implementing Stream that yields SourceCodeInfo

* untangled module loading logic between RecursiveLoad and isolate - that logic is encapsulated in EsIsolate and RecursiveModuleLoad, where isolate just consumes modules as they become available - does not require to pass Arc<Mutex<Isolate>> around anymore

* removed EsIsolate.mods_ in favor of Modules and moved them inside EsIsolate

* EsIsolate now requires "loader" argument during construction - struct that implements Loader trait

* rewrite first methods on isolate as async
2020-01-08 15:06:04 +01:00
..
compilers Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
js fix: Deno.mkdir should conform to style guide (#3617) 2020-01-07 14:14:33 -05:00
ops error on warnings (#3612) 2020-01-06 11:38:56 -05:00
tests Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
build.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
Cargo.toml Upgrade rust crates and modernize hyper_hello (#3606) 2020-01-05 23:12:35 +01:00
checksum.rs feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
colors.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
deno_dir.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
deno_error.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
diagnostics.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
disk_cache.rs Use async at places, use &self instead of self: &Self (#3594) 2020-01-04 05:20:52 -05:00
file_fetcher.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
flags.rs Upgrade subcommands to 0.28.1 (#3620) 2020-01-08 01:05:52 +01:00
fmt_errors.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
fs.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
global_state.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
global_timer.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
http_util.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
import_map.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
js.rs refactor: module loading in EsIsolate (#3615) 2020-01-08 15:06:04 +01:00
lib.rs refactor: module loading in EsIsolate (#3615) 2020-01-08 15:06:04 +01:00
lockfile.rs feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
main.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
metrics.rs Refactor Worker and ThreadSafeState (#3242) 2019-11-04 10:38:52 -05:00
msg.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
permissions.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
progress.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
repl.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
resolve_addr.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
shell.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
signal.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
source_maps.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
startup_data.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
state.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
test_util.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
tokio_util.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
version.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
worker.rs refactor: module loading in EsIsolate (#3615) 2020-01-08 15:06:04 +01:00