Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-22 | refactor: unify JavaScript script execution method (#11043) | Bartek Iwańczuk | |
This commit renames "JsRuntime::execute" to "JsRuntime::execute_script". Additionally same renames were applied to methods on "deno_runtime::Worker" and "deno_runtime::WebWorker". A new macro was added to "deno_core" called "located_script_name" which returns the name of Rust file alongside line no and col no of that call site. This macro is useful in combination with "JsRuntime::execute_script" and allows to provide accurate place where "one-off" JavaScript scripts are executed for internal runtime functions. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2021-06-21 | refactor(core): always attach inspector to isolate (#11042) | Bartek Iwańczuk | |
This commit changes "deno_core::JsRuntime" to always create "deno_core::JsRuntimeInspector" instance. | |||
2021-06-21 | chore: release crates (#11068) | Bartek Iwańczuk | |
2021-06-20 | docs(core): replaces dispatch references with op (#11054) | Max | |
2021-06-19 | fix(core/modules): Prepare modules only once per runtime (#11015) | Nayeem Rahman | |
This commit changes module loading implementation in "deno_core" to call "ModuleLoader::prepare" hook only once per entry point. This is done to avoid multiple type checking of the same code in case of duplicated dynamic imports. Relevant code in "cli/module_graph.rs" was updated as well. | |||
2021-06-19 | chore: upgrade Tokio to 1.7.1 (#11045) | Yusuke Tanaka | |
2021-06-17 | chore: upgrade Rust to 1.53.0 (#11021) | Yusuke Tanaka | |
2021-06-16 | chore: upgrade Tokio to 1.7.0 (#11008) | Yusuke Tanaka | |
2021-06-15 | chore: release crates (#10976) | Bartek Iwańczuk | |
2021-06-09 | chore: move serde_v8 to separate repo (#10909) | Bartek Iwańczuk | |
Now available at https://github.com/denoland/serde_v8 | |||
2021-06-08 | chore: release crates (#10896) | Bartek Iwańczuk | |
2021-06-08 | upgrade: rusty_v8 0.22.3 (#10892) | Bartek Iwańczuk | |
2021-06-06 | tests: run wpt scripts with Deno.core.evalContext (#10852) | Luca Casonato | |
This means wpts are now run in script context, and there are better stack traces. | |||
2021-06-05 | refactor(web): use encoding_rs for text encoding (#10844) | Luca Casonato | |
This commit removes all JS based text encoding / text decoding. Instead encoding now happens in Rust via encoding_rs (already in tree). This implementation retains stream support, but adds the last missing encodings. We are incredibly close to 100% WPT on text encoding now. This should reduce our baseline heap by quite a bit. | |||
2021-05-31 | Merge v1.10.3 into main (#10801) | Bert Belder | |
2021-05-31 | v1.10.3 | Bert Belder | |
2021-05-31 | fix(cli): Don't statically error on dynamic unmapped bare specifiers (#10618) | Nayeem Rahman | |
Fixes #10168 Fixes #10615 Fixes #10616 | |||
2021-05-31 | chore: upgrade Tokio to 1.6.1 (#10782) | Yusuke Tanaka | |
2021-05-31 | fix(cli): Don't statically error on dynamic unmapped bare specifiers (#10618) | Nayeem Rahman | |
Fixes #10168 Fixes #10615 Fixes #10616 | |||
2021-05-29 | core: don't include_str extension js code (#10786) | Luca Casonato | |
This speeds up incremental rebuild when only touching JS files by 13-15% Rebuild time after `touch 01_broadcast_channel.js`: main: run 1 49.18s, run 2 50.34s this: run 1 43.12s, run 2 43.19s | |||
2021-05-29 | chore: upgrade Tokio to 1.6.1 (#10782) | Yusuke Tanaka | |
2021-05-26 | refactor: move JsRuntimeInspector to deno_core (#10763) | Bartek Iwańczuk | |
This commit moves implementation of "JsRuntimeInspector" to "deno_core" crate. To achieve that following changes were made: * "Worker" and "WebWorker" no longer own instance of "JsRuntimeInspector", instead it is now owned by "deno_core::JsRuntime". * Consequently polling of inspector is no longer done in "Worker"/"WebWorker", instead it's done in "deno_core::JsRuntime::poll_event_loop". * "deno_core::JsRuntime::poll_event_loop" and "deno_core::JsRuntime::run_event_loop", now accept "wait_for_inspector" boolean that tells if event loop should still be "pending" if there are active inspector sessions - this change fixes the problem that inspector disconnects from the frontend and process exits once the code has stopped executing. | |||
2021-05-19 | refactor(core): move ModuleMap to separate RefCell (#10656) | Bartek Iwańczuk | |
This commit moves bulk of the logic related to module loading from "JsRuntime" to "ModuleMap". Next steps are to rewrite the actual loading logic (represented by "RecursiveModuleLoad") to be a part of "ModuleMap" as well -- that way we will be able to track multiple module loads from within the map which should help me solve the problem of concurrent loads (since all info about currently loading/loaded modules will be contained in the ModuleMap, so we'll be able to know if actually all required modules have been loaded). | |||
2021-05-19 | tooling: re-enable bench_util (#10674) | Aaron O'Mullan | |
2021-05-18 | cleanup(core.js): make op wrapper arg names generic (#10675) | Aaron O'Mullan | |
These bits were missed in #10448. | |||
2021-05-17 | chore: release crates (#10661) | Luca Casonato | |
For the Deno 1.10.2 release. | |||
2021-05-17 | chore: update dependencies (#10660) | Luca Casonato | |
2021-05-15 | cleanup(core/example/hello_world): use Deno.core.print instead of new op ↵ | Aaron O'Mullan | |
(#10645) | |||
2021-05-15 | cleanup(core): flatten print's op args (#10643) | Aaron O'Mullan | |
2021-05-15 | chore: upgrade Tokio to 1.6.0 (#10637) | Yusuke Tanaka | |
2021-05-11 | chore: release crates (#10596) | Bartek Iwańczuk | |
2021-05-11 | feat(runtime/worker): Structured cloning worker message passing (#9323) | Tim Ramlot | |
This commit upgrade "Worker.postMessage()" implementation to use structured clone algorithm instead of non-spec compliant JSON serialization. | |||
2021-05-10 | upgrade: rusty_v8 0.22.2 (#10551) | Bartek Iwańczuk | |
2021-05-09 | docs: fix a tiny typo (#10535) | heddi.nabbisen | |
2021-05-08 | cleanup(ops): remove unused ZeroCopyBuf arg-types (#10530) | Aaron O'Mullan | |
2021-05-07 | fix: align plugin api with Extension (#10427) | Elias Sjögreen | |
2021-05-06 | refactor(ops): replace `ZeroCopyBuf` arg by 2nd generic deserializable arg ↵ | Aaron O'Mullan | |
(#10448) | |||
2021-05-03 | fix(core): error registration could pollute constructors (#10422) | Aaron O'Mullan | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-05-03 | fix(core/print): flush stderr (#10480) | Aaron O'Mullan | |
2021-05-02 | refactor(core): convert core.print() to a builtin op (#10436) | Aaron O'Mullan | |
2021-05-01 | fix(core): fix typo in error message of print function (#10456) | Aditya Pandit | |
2021-04-30 | cleanup(core): use ZeroCopyBuf for serialize & encode bindings (#10435) | Aaron O'Mullan | |
2021-04-30 | refactor(core): provide builtins as an Extension (#10449) | Aaron O'Mullan | |
2021-04-30 | Rename crate_ops to extensions (#10431) | Andy Hayden | |
2021-04-30 | cleanup(core): replace OpResponse with OpResult (#10434) | Aaron O'Mullan | |
Drop the Value/Buffer enum since #10432 allows buffers to be serialized rust => v8 | |||
2021-04-30 | refactor(core): initialize extensions in runtime constructor (#10421) | Aaron O'Mullan | |
This ensures that provided extensions are all correctly setup and ready to use once the JsRuntime constructor returns Note: this will also initialize ops for to-be-snapshotted runtimes | |||
2021-04-30 | feat(serde_v8): ZeroCopyBuf (#10432) | Aaron O'Mullan | |
Bidirectional zero-copy serialization of buffers between v8 & rust that can be nested in structs/tuples/etc. | |||
2021-04-30 | refactor(core.js): provide window.__bootstrap (#10423) | Aaron O'Mullan | |
2021-04-28 | refactor(extensions): reintroduce builder (#10412) | Aaron O'Mullan | |
2021-04-28 | enable error-on-warning (#10410) | Ryan Dahl | |
Only on linux and osx. Fixes one warning. |