1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli
Bartek Iwańczuk 79b3bc05d6
workers: basic event loop (#3828)
* establish basic event loop for workers
* make "self.close()" inside worker
* remove "runWorkerMessageLoop() - instead manually call global function 
  in Rust when message arrives. This is done in preparation for structured clone
* refactor "WorkerChannel" and use distinct structs for internal 
  and external channels;  "WorkerChannelsInternal" and "WorkerHandle"
* move "State.worker_channels_internal" to "Worker.internal_channels"
* add "WorkerEvent" enum for child->host communication; 
  currently "Message(Buf)" and  "Error(ErrBox)" variants are supported
* add tests for nested workers
* add tests for worker throwing error on startup
2020-02-11 10:04:59 +01:00
..
compilers workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
js workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
ops workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
tests workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
build.rs feat: support crate imports in deno_typescript (#3814) 2020-02-01 12:02:23 +01:00
Cargo.toml upgrade: dprint-plugin-typescript 0.5.0 (#3952) 2020-02-10 19:08:49 +01:00
checksum.rs feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
colors.rs Remove dead code in cli/shell.rs (#3792) 2020-01-26 11:40:28 -05:00
deno_dir.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
deno_error.rs refactor: reduce number of ErrorKind variants (#3662) 2020-01-20 10:50:16 -05:00
diagnostics.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
disk_cache.rs Do not panic and improve error message on cache failure (#3784) 2020-01-24 17:16:31 -05:00
file_fetcher.rs Do not encode files loaded from network as utf8 (#3856) 2020-02-04 11:27:50 -05:00
flags.rs fmt: deno fmt - formats stdin and print to stdout (#3920) 2020-02-09 11:19:05 +01:00
fmt.rs fmt: deno fmt - formats stdin and print to stdout (#3920) 2020-02-09 11:19:05 +01:00
fmt_errors.rs workers: minimal error handling and async module loading (#3665) 2020-01-17 18:43:53 -05:00
fs.rs refactor: reduce number of ErrorKind variants (#3662) 2020-01-20 10:50:16 -05:00
global_state.rs Rename ThreadSafeGlobalState to GlobalState (#3907) 2020-02-06 23:05:02 -05:00
global_timer.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
http_util.rs Do not encode files loaded from network as utf8 (#3856) 2020-02-04 11:27:50 -05:00
import_map.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
installer.rs install: add --force flag and remove yes/no prompt (#3917) 2020-02-08 09:49:55 +01:00
js.rs workers: proper TS libs, more spec-compliant APIs (#3812) 2020-01-29 18:54:23 +01:00
lib.rs fmt: deno fmt - formats stdin and print to stdout (#3920) 2020-02-09 11:19:05 +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 refactor: reduce number of ErrorKind variants (#3662) 2020-01-20 10:50:16 -05:00
permissions.rs dx: descriptive permission errors (#3808) 2020-01-27 21:13:17 -05:00
progress.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
README.md update readmes (#3765) 2020-01-23 22:32:52 +01: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 refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
signal.rs Add signal handlers (#3757) 2020-01-24 08:15:31 -05:00
source_maps.rs Remove //tests symlink (#3849) 2020-02-02 16:55:22 -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 workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
test_util.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
tokio_util.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
version.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
web_worker.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
worker.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00

Deno CLI Crate

crates docs

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core and deno_typescript to provide the executable.