summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-09-11refactor(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-10Use 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-09fix(core): panic on big string allocation (#7395)Bartek Iwańczuk
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-09-08feat(console): print proxy details (#7139)uki00a
2020-09-07feat(info): Dependency count and sizes (#6786)KrisChambers
This commit changes "deno info" subcommand logic. - Modules are no longer loaded into V8 isolate - analysis is done using ModuleGraph. - Removed deno_core::Deps structure. - Modules are no longer type-checked and transpiled - "compiled" file is shown only if it is already available. - Added number of unique dependencies for root module. - Changed tree output: - file size is shown next to the dependency - repeated dependencies are marked with "*" - used less spaces in prefix to save terminal width
2020-09-06refactor(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-06refactor(core): merge CoreIsolate and EsIsolate (#7370)Bartek Iwańczuk
2020-09-06Move JSON ops to deno_core (#7336)Bert Belder
2020-09-04v1.3.3Bartek Iwańczuk
2020-09-01Remove unused crate_modules feature (#7311)Ryan Dahl
2020-08-29v1.3.2Bartek Iwańczuk
2020-08-29upgrade: rusty_v8 0.9.1 / V8 8.6.334 (#7243)Bartek Iwańczuk
2020-08-26Simplify ErrBox-to-class mapping & hook it up to core json ops (#7195)Bert Belder
2020-08-26Remove some more unnecessary 'to_string()' calls (#7190)Bert Belder
2020-08-26refactor: remove OpError, use ErrBox everywhere (#7187)Bert Belder
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-08-21Split core http benchmark into 'bin_ops' and 'json_ops' variants (#7147)Bert Belder
2020-08-21v1.3.1Bartek Iwańczuk
2020-08-21Convert the remaining http_bench ops to json ops (#7143)Bert Belder
2020-08-20First pass at json ops in core (#7033)Ryan Dahl
Adds Deno.core.jsonOpSync and Deno.core.jsonOpAsync
2020-08-18Async op dispatcher support with 'stateful_json_op_(a)sync()' (#7095)Bert Belder
Closes: #7020
2020-08-18Fix nightly and Windows-only clippy warnings (#7095)Bert Belder
2020-08-17Simplify deno_core_http_bench op state (#7038)Ryan Dahl
Removes unnecessary wrappers around ResourceTable and CoreIsolate. Importantly: now uses the resource table inside CoreIsolateState rather than a different one. Removes derive_deref dependency
2020-08-14Enable WebAssembly.instantiateStreaming (#7043)Casper Beyer
2020-08-14Add missing export of HeapLimits (#7047)Moritz Gunz
Currently this blocks using the ::with_heap_limits constructor of CoreIsolate, because you cannot access the struct.
2020-08-13v1.3.0Bartek Iwańczuk
2020-08-12unify path normalization utility (#6865)Divy Srivastava
2020-08-12upgrade: Rust cratesBert Belder
The following crates were _not_ upgraded to avoid having multiple versions of the same crate in the dependency tree: * tokio-tungstenite v0.10.1 -> v0.11.0 * swc_common v0. 8.0 -> v0. 9.1 * swc_ecmascript v0. 1.0 -> v0. 3.0 * webpki-roots v0.19.0 -> v0.20.0 * nix v0.17.0 -> v0.18.0
2020-08-12Undo JsonOpDispatcher and OpDispatcher traits (#7023)Ryan Dahl
This reverts commit f83d672ffad7afb1473bd4f9b9c645539064c620. This reverts commit d51972377c1325076704d9faec2eee6f0e024496.
2020-08-12Remove previous heap limit callback when registering (#7025)Marcus Weiner
2020-08-12core: memory limits & callbacks (#6914)Marcus Weiner
2020-08-08v1.2.3Ryan Dahl
2020-08-08upgrade: rusty_v8 0.8.1 / V8 8.6.334 (#6980)Bert Belder
2020-08-07Encode op errors as strings instead of numbers (#6977)Bartek Iwańczuk
2020-07-31v1.2.2Ryan Dahl
2020-07-28chore: use matches macro for bool matches (#6904)Kitson Kelly
2020-07-24v1.2.1Ryan Dahl
2020-07-23Align cargo dependency features (#6860)Ryan Dahl
2020-07-23upgrade: tokio 0.2.22 (#6838)Bartek Iwańczuk
2020-07-19Upgrade to rusty_v8 0.7.0 (#6801)Bert Belder
2020-07-16fix: ModuleSpecifier removes relative path parts (#6762)Bartek Iwańczuk
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-14refactor: new trait JsonOpDispatcher (#6742)Gurwinder Singh
2020-07-13refactor: Make OpDispatcher a trait (#6736)Gurwinder Singh
2020-07-13v1.2.0Bartek Iwańczuk
2020-07-08BREAKING(core): Remove control slice from ops (#6048)Valentin Anger
2020-07-08feat(cli): json option for "deno info" (#6372)Emmanuel
2020-07-06chore: Only use one set of tokio features (#6655)Ryan Dahl
2020-07-03v1.1.3Bartek Iwańczuk
2020-06-26v1.1.2Bartek Iwańczuk
2020-06-26Upgrade to rusty_v8 0.4.2 / V8 8.5.216 (#6503)Bert Belder