summaryrefslogtreecommitdiff
path: root/cli/ops
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-10feat(unstable): Add Deno.systemMemoryInfo() (#7350)Akshat Agarwal
Co-authored-by: marcopacini <pacinim88@gmail.com> Co-authored-by: Casper Beyer <caspervonb@pm.me>
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-06Move JSON ops to deno_core (#7336)Bert Belder
2020-09-05feat: Implement WebSocket API (#7051)crowlKats
2020-09-01fix: use millisecond precision for Deno.futime and Deno.utime (#7299)Casper Beyer
2020-08-31replace utime crate with filetime (#7268)Casper Beyer
2020-08-31feat(unstable): add Deno.futime and Deno.futimeSync (#7266)Casper Beyer
2020-08-28refactor: migrate ops to new dispatch wrapper (#7118)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-19Make Rc/Arc wrapper around State/GlobalState visible (#7104)Bert Belder
2020-08-18refactor: permissions (#7074)Nayeem Rahman
2020-08-18Async op dispatcher support with 'stateful_json_op_(a)sync()' (#7095)Bert Belder
Closes: #7020
2020-08-12Undo JsonOpDispatcher and OpDispatcher traits (#7023)Ryan Dahl
This reverts commit f83d672ffad7afb1473bd4f9b9c645539064c620. This reverts commit d51972377c1325076704d9faec2eee6f0e024496.
2020-08-10feat: Stabilize Deno.mainModule (#6993)Nayeem Rahman
2020-08-07Encode op errors as strings instead of numbers (#6977)Bartek Iwańczuk
2020-08-05feat(cli): custom http client for fetch (#6918)Luca Casonato
2020-07-23refactor: remove more compiler runtime code (#6841)Bartek Iwańczuk
2020-07-20Remove deno_typescript (#6813)Ryan Dahl
2020-07-18Share reqwest client between fetch calls (#6792)Luca Casonato
2020-07-14refactor: new trait JsonOpDispatcher (#6742)Gurwinder Singh
2020-07-13refactor: Make OpDispatcher a trait (#6736)Gurwinder Singh
2020-07-10fix(URL): Implement spec-compliant host parsing (#6689)Nayeem Rahman
2020-07-10feat(unstable): add Deno.consoleSize (#6520)Sebastien Filion
2020-07-09fix(cli): panic when stdio is null on windows (#6528)Maayan Hanin
Fixes: #6409
2020-07-08BREAKING(core): Remove control slice from ops (#6048)Valentin Anger
2020-07-08feat(unstable): Deno.ppid (#6539)uki00a
2020-07-06feat: Deno.chown() make uid, gid args optional (#4612)dubiousjim
2020-06-27fix(cli): change seek offset type from i32 to i64 (#6518)Casper Beyer
2020-06-26Fix clippy warning (#6503)Bert Belder
2020-06-26feat(unstable): add Deno.fdatasyncSync and fdatasync (#6403)Casper Beyer
2020-06-25fix: panic when process stdio rid is 0 or invalid (#6405)Luca Casonato
2020-06-22feat(unstable): add Deno.fstatSync and fstat (#6425)Casper Beyer
2020-06-21feat(unstable): add Deno.fsyncSync and fsync (#6411)Casper Beyer
2020-06-20Remove Deno.dir and dirs dependency (#6385)Ryan Dahl
2020-06-20feat(unstable): add Deno.ftruncate and ftruncateSync (#6243)Casper Beyer
2020-06-19refactor(compiler): split code paths for compile and bundle (#6304)Bartek Iwańczuk
* refactor "compile" and "runtimeCompile" in "compiler.ts" and factor out separate methods for "compile" and "bundle" operations * remove noisy debug output from "compiler.ts" * provide "Serialize" implementations for enums in "msg.rs" * rename "analyze_dependencies_and_references" to "pre_process_file" and move it to "tsc.rs" * refactor ModuleGraph to use more concrete types and properly annotate locations where errors occur * remove dead code from "file_fetcher.rs" - "SourceFile.types_url" is no longer needed, as type reference parsing is done in "ModuleGraph" * remove unneeded field "source_path" from ".meta" files stored for compiled source file (towards #6080)
2020-06-15unixpacket should also return byte length on send (#6291)Peter Evers
2020-06-13fix: DatagramConn.send should return bytes sent (#6265)Kermit Xuan
2020-06-12Revert "feat: add Deno.osName()" (#6261)Ryan Dahl
Deno.build.os provides the same functionality This reverts commit 6ccf9037a6b36c81ea0e6ac12d0e2dbd793f6114.
2020-06-11feat: add Deno.osName() (#5714)Rubin Bhandari
2020-06-10feat: Add Deno.mainModule (#6180)John Gardner
2020-06-10fix udp BorrowMutError (#6221)Ryan Dahl
2020-06-09fix: Deno.readSync on stdin (#6126)Casper Beyer
Currently sync operations on stdin are failing because tokio::Stdin cannot be converted to a std::File. This commit replaces tokio::stdin with a raw file descriptor wrapped in a std::fs::File which can be converted to a tokio::File and back again making the synchronous version of op_read actually work.
2020-06-09feat(cli): Add Deno.env.delete() (#5859)Tuan Le
2020-06-09fix(cli/js/web/worker): Disable relative module specifiers (#5266)Nayeem Rahman
2020-06-01feat(core): Ops can take several zero copy buffers (#4788)Valentin Anger