summaryrefslogtreecommitdiff
path: root/core/bindings.rs
AgeCommit message (Collapse)Author
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-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-08-21Convert the remaining http_bench ops to json ops (#7143)Bert Belder
2020-07-19Upgrade to rusty_v8 0.7.0 (#6801)Bert Belder
2020-07-08BREAKING(core): Remove control slice from ops (#6048)Valentin Anger
2020-06-26Upgrade to rusty_v8 0.4.2 / V8 8.5.216 (#6503)Bert Belder
2020-06-03upgrade: rusty_v8 0.5.0 (#6070)Ryan Dahl
2020-06-02Fix REPL BorrowMutError panic (#6055)Ryan Dahl
2020-06-01feat(core): Ops can take several zero copy buffers (#4788)Valentin Anger
2020-05-29refactor: Split isolate and state using safe get_slot() (#5929)Ryan Dahl
2020-05-28tidy up deno_core modules (#5923)Ryan Dahl
2020-05-11fix: source maps in inspector (#5223)Bartek Iwańczuk
This commit fixes problems with source maps in Chrome Devtools by substituting source map URL generated by TS compiler with actual file URL pointing to DENO_DIR. Dummy value of "source_map_url" has been removed from "ScriptOrigin". Also fixes lock file which used compiled source code to generate lock hash; it now uses source code of the file that is being compiled.
2020-04-26core: add id field to RecursiveModuleLoad (#4905)Bartek Iwańczuk
This commit unifies handling of ids for main module/dynamic import loads in EsIsolate.
2020-04-23Rename deno_core::Isolate to deno_core::CoreIsolate (#4851)Ryan Dahl
2020-04-23Upgrade to rusty_v8 v0.4.0 (#4856)Bert Belder
2020-03-30console: print promise details (#4524)Michał Sabiniarz
2020-03-19perf: Optimize TextEncoder and TextDecoder (#4430)Bartek Iwańczuk
* add tests for "Deno.core.encode" and "Deno.core.decode" for empty inputs * use "Deno.core.encode" in "TextEncoder" * use "Deno.core.decode" in "TextDecoder" * remove "core_decode" and "core_encode" benchmarks
2020-03-19Simplify timer with macrotask callback (#4385)Kevin (Kun) "Kassimo" Qian
2020-03-19fix: stack traces for modules imported via std/node's require (#4035)Nikolai Vavilov
2020-03-15feat: Deno.core.{encode,decode}; standalone UTF-8 encoding/decoding (#4349)Bartek Iwańczuk
This commits add two new methods to "Deno.core" namespace: "encode" and "decode". Those methods are bound in Rust to provide a) fast b) generally available of encoding and decoding UTF-8 strings. Both methods are now used in "cli/js/dispatch_json.ts".
2020-03-02Do not convert exceptions to JSON and back (#4214)Bert Belder
2020-02-29Refactor exception handling, remove message listener callback (#4198)Bert Belder
2020-02-26Upgrade to rusty_v8 v0.3.3 (#4119)Bert Belder
2020-02-25Clean up how we use opIds (#4118)Ryan Dahl
2020-01-25Refactor error tracking and scope juggling in deno_core (#3783)Bert Belder
2020-01-24s/PinnedBuf/ZeroCopyBuf (#3782)Ryan Dahl
2020-01-24Fix: take control buffer offset/length into account again (#3769)Bert Belder
2020-01-23Upgrade rusty_v8 to 0.2.0 (#3764)Ryan Dahl
2020-01-23refactor: remove Isolate.shared_response_buf optimization (#3759)Bartek Iwańczuk
Op return values are no zero copied from Rust to JS.
2020-01-21Upgrade to rusty_v8 v0.1.1 (#3741)Bert Belder
2020-01-17Upgrade to rusty_v8 v0.1.0 (#3691)Bert Belder
2020-01-11refactor: remove Isolate.current_send_cb_info and DenoBuf, port ↵Bartek Iwańczuk
Isolate.shared_response_buf (#3643) * remove Isolate.current_send_cb_info * remove DenoBuf * remove Isolate.shared_ab * port Isolate.shared_response_buf (last bit not ported from libdeno) * add some docs for Isolate and EsIsolate
2020-01-08refactor: module loading in EsIsolate (#3615)Bartek Iwańczuk
* 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-07core: factor out EsIsolate from Isolate (#3613)Bartek Iwańczuk
2020-01-06refactor: remove core/libdeno.rs (#3611)Bartek Iwańczuk
2020-01-06merge libdeno::DenoIsolate into core::Isolate (#3605)Bartek Iwańczuk