Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-02 | refactor(repl): use an inspector session (#7763) | Casper Beyer | |
This ports the REPL over to Rust and makes use of an inspector session to run a REPL on top of any isolate which lets make full use of rustylines various things like validators and completors without having to introduce a bunch of hard to test internal ops and glue code. An accidental but good side effect of this is that the multiple line input we previously had is now an editable multi-line input prompt that is correctly stored in the history as a single entry. | |||
2020-09-28 | refactor: move op state registration to workers (#7696) | Bartek Iwańczuk | |
2020-09-26 | refactor: factor out check_unstable op helper (#7695) | Bartek Iwańczuk | |
2020-09-26 | refactor: use JsRuntime to implement TSC (#7691) | Bartek Iwańczuk | |
This commits removes "CompilerWorker" in favor of using "JsRuntime". "cli/ops/compiler.rs" has been removed in favor of inline registration of ops in "cli/tsc.rs" | |||
2020-09-22 | fix: clearing timers race condition (#7617) | Bartek Iwańczuk | |
2020-09-21 | refactor: use futures and serde_json from deno_core (#7614) | Bartek Iwańczuk | |
2020-09-21 | chore: add copyright (#7593) | tokiedokie | |
2020-09-20 | refactor: remove CliState, use OpState, add CliModuleLoader (#7588) | Bartek Iwańczuk | |
- remove "CliState.workers" and "CliState.next_worker_id", instead store them on "OpState" using type aliases. - remove "CliState.global_timer" and "CliState.start_time", instead store them on "OpState" using type aliases. - remove "CliState.is_internal", instead pass it to Worker::new - move "CliState::permissions" to "OpState" - move "CliState::main_module" to "OpState" - move "CliState::global_state" to "OpState" - move "CliState::check_unstable()" to "GlobalState" - change "cli_state()" to "global_state()" - change "deno_core::ModuleLoader" trait to pass "OpState" to callbacks - rename "CliState" to "CliModuleLoader" | |||
2020-09-18 | refactor: move fields from CliState to OpState (#7558) | Bartek Iwańczuk | |
- move rng to OpState - move GlobalTimer to OpState - move Metrics to OpState | |||
2020-09-18 | refactor: deno_fetch op crate (#7524) | Bartek Iwańczuk | |
2020-09-17 | refactor: Move URL to op_crates/web (#7544) | Bartek Iwańczuk | |
2020-09-17 | refactor: move op_resources and op_close to deno_core (#7539) | Bartek Iwańczuk | |
Moves op_close and op_resources to deno_core::ops and exports them. Adds serde dependency to deno_core and reexports it. Moves JS implementation of those ops to Deno.core and reexports them in Deno. | |||
2020-09-17 | refactor: make fetch use op_fetch_read instead of op_read (#7529) | Ryan Dahl | |
2020-09-16 | Re-export deno_core::url (#7525) | Ryan Dahl | |
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI. | |||
2020-09-16 | Remove unnecessary extern statements | Ryan Dahl | |
2020-09-16 | Remove unnecessary serde_derive dependency | Ryan Dahl | |
2020-09-15 | Remove http_client from CliState, store in OpState directly (#7497) | Ryan Dahl | |
2020-09-14 | Rename deno::state::State to deno::state::CliState (#7480) | Ryan Dahl | |
2020-09-15 | refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476) | Bert Belder | |
2020-09-13 | fix(WebSocket): no panic on failed connect + handle promise rejection via ↵ | Luca Casonato | |
error event (#7437) | |||
2020-09-12 | refactor: improve tsc diagnostics (#7420) | Kitson Kelly | |
2020-09-11 | refactor(core): JsRuntime initialization (#7415) | Bartek Iwańczuk | |
Removes: - "deno_core::StartupData" - "deno_core::Script" - "deno_core::OwnedScript" Changes to "JsRuntime": - remove "new_with_loader()" - remove "with_heap_limits()" - rename "IsolateOptions" to "RuntimeOptions" and make public - "JsRuntime::new()" takes "RuntimeOptions" as a single param | |||
2020-09-10 | Use gotham-like state for ops (#7385) | Ryan Dahl | |
Provides a concrete state type that can be dynamically added. This is necessary for op crates. * renames BasicState to OpState * async ops take `Rc<RefCell<OpState>>` * sync ops take `&mut OpState` * removes `OpRegistry`, `OpRouter` traits * `get_error_class_fn` moved to OpState * ResourceTable moved to OpState | |||
2020-09-10 | feat(unstable): Add Deno.systemMemoryInfo() (#7350) | Akshat Agarwal | |
Co-authored-by: marcopacini <pacinim88@gmail.com> Co-authored-by: Casper Beyer <caspervonb@pm.me> | |||
2020-09-06 | refactor(core): rename CoreIsolate to JsRuntime (#7373) | Bartek Iwańczuk | |
deno_core/ - rename core_isolate.rs to runtime.rs - rename CoreIsolate to JsRuntime - rename JSError to JsError - rename JSStackFrame to JsStackFrame cli/ - update references from deno_core::CoreIsolate to deno_core::JsRuntime - rename deno_core::JSError to deno_core::JsError - rename fmt_errors::JSError to fmt_errors::JsError | |||
2020-09-06 | Move JSON ops to deno_core (#7336) | Bert Belder | |
2020-09-05 | feat: Implement WebSocket API (#7051) | crowlKats | |
2020-09-01 | fix: use millisecond precision for Deno.futime and Deno.utime (#7299) | Casper Beyer | |
2020-08-31 | replace utime crate with filetime (#7268) | Casper Beyer | |
2020-08-31 | feat(unstable): add Deno.futime and Deno.futimeSync (#7266) | Casper Beyer | |
2020-08-28 | refactor: migrate ops to new dispatch wrapper (#7118) | Bartek Iwańczuk | |
2020-08-26 | Simplify ErrBox-to-class mapping & hook it up to core json ops (#7195) | Bert Belder | |
2020-08-26 | Remove some more unnecessary 'to_string()' calls (#7190) | Bert Belder | |
2020-08-26 | refactor: remove OpError, use ErrBox everywhere (#7187) | Bert Belder | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2020-08-19 | Make Rc/Arc wrapper around State/GlobalState visible (#7104) | Bert Belder | |
2020-08-18 | refactor: permissions (#7074) | Nayeem Rahman | |
2020-08-18 | Async op dispatcher support with 'stateful_json_op_(a)sync()' (#7095) | Bert Belder | |
Closes: #7020 | |||
2020-08-12 | Undo JsonOpDispatcher and OpDispatcher traits (#7023) | Ryan Dahl | |
This reverts commit f83d672ffad7afb1473bd4f9b9c645539064c620. This reverts commit d51972377c1325076704d9faec2eee6f0e024496. | |||
2020-08-10 | feat: Stabilize Deno.mainModule (#6993) | Nayeem Rahman | |
2020-08-07 | Encode op errors as strings instead of numbers (#6977) | Bartek Iwańczuk | |
2020-08-05 | feat(cli): custom http client for fetch (#6918) | Luca Casonato | |
2020-07-23 | refactor: remove more compiler runtime code (#6841) | Bartek Iwańczuk | |
2020-07-20 | Remove deno_typescript (#6813) | Ryan Dahl | |
2020-07-18 | Share reqwest client between fetch calls (#6792) | Luca Casonato | |
2020-07-14 | refactor: new trait JsonOpDispatcher (#6742) | Gurwinder Singh | |
2020-07-13 | refactor: Make OpDispatcher a trait (#6736) | Gurwinder Singh | |
2020-07-10 | fix(URL): Implement spec-compliant host parsing (#6689) | Nayeem Rahman | |
2020-07-10 | feat(unstable): add Deno.consoleSize (#6520) | Sebastien Filion | |
2020-07-09 | fix(cli): panic when stdio is null on windows (#6528) | Maayan Hanin | |
Fixes: #6409 | |||
2020-07-08 | BREAKING(core): Remove control slice from ops (#6048) | Valentin Anger | |