Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2021-04-28 | core: introduce extensions (#9800) | Aaron O'Mullan | |
Extensions allow declarative extensions to "JsRuntime" (ops, state, JS or middleware). This allows for: - `op_crates` to be plug-and-play & self-contained, reducing complexity leaked to consumers - op middleware (like metrics_op) to be opt-in and for new middleware (unstable, tracing,...) - `MainWorker` and `WebWorker` to be composable, allowing users to extend workers with their ops whilst benefiting from the other infrastructure (inspector, etc...) In short extensions improve deno's modularity, reducing complexity and leaky abstractions for embedders and the internal codebase. | |||
2021-04-28 | refactor(core): simplify module loading code (#10385) | Bartek Iwańczuk | |
General cleanup of module loading code, tried to reduce indentation in various methods on "JsRuntime" to improve readability. Added "JsRuntime::handle_scope" helper function, which returns a "v8::HandleScope". This was done to reduce a code pattern that happens all over the "deno_core". Additionally if event loop hangs during loading of dynamic modules a list of currently pending dynamic imports is printed. | |||
2021-04-28 | chore: upgrade dprint plugins (#10397) | Satya Rohith | |
2021-04-26 | fix(tls): throw meaningful error when hostname is invalid (#10387) | Bert Belder | |
`InvalidDNSNameError` is thrown when a string is not a valid hostname, e.g. it contains invalid characters, or starts with a numeric digit. It does not involve a (failed) DNS lookup. | |||
2021-04-26 | feat(core): enable wasm threading support (#10116) | Casper Beyer | |
2021-04-26 | remove #![deny(warnings)] (#10376) | Ryan Dahl | |
Prefer RUSTFLAGS="-D warnings" to prevent warnings, but cannot enable yet due to #10378. | |||
2021-04-25 | refactor(core): move op cache sync responsibility to rust space (#10340) | Aaron O'Mullan | |
Even if bootstrapping the JS runtime is low level, it's an abstraction leak of core to require users to call `Deno.core.ops()` in JS space. So instead we're introducing a `JsRuntime::sync_ops_cache()` method, once we have runtime extensions a new runtime will ensure the ops cache is setup (for the provided extensions) and then loading/unloading plugins should be the only operations that require op cache syncs | |||
2021-04-25 | refactor(core): move builtin ops to their own file (#10336) | Aaron O'Mullan | |
2021-04-25 | feat(core): allow async opcalls in snapshots (#10308) | Aaron O'Mullan | |
2021-04-24 | docs: updated link (#10345) | Anssi Eteläniemi | |
2021-04-23 | refactor(core): rename send() to opcall() (#10307) | Aaron O'Mullan | |
I think it's a better fit since recv() was killed and opcall <> syscall (send/recv was too reminiscent of request/response and custom payloads) | |||
2021-04-23 | chore: release crates (#10327) | Luca Casonato | |
Release crates for the cli 1.9.2 release. | |||
2021-04-23 | chore: remove dead code (#10321) | Ryan Dahl | |
2021-04-21 | refactor(core): simplify error handling (#10297) | Aaron O'Mullan | |
- register builtin v8 errors in core.js so consumers don't have to - remove complexity of error args handling (consumers must provide a constructor with custom args, core simply provides msg arg) | |||
2021-04-21 | refactor(core): kill recv() and init() (#10299) | Aaron O'Mullan | |
`init()` was previously needed to init the shared queue, but now that it's gone `init()` only registers the async msg handler which is snapshot safe and constant since the op layer refactor. | |||
2021-04-21 | chore: release crates (#10269) | Bartek Iwańczuk | |
* Revert "tooling(bench_util): benching and profiling utilities (#10223)" This reverts commit 733a00030582375c43fa156e978f25df6ecc9e9a. * Upgrade notify | |||
2021-04-20 | chore: update copyright headers (#10243) | Yoshiya Hinosawa | |
2021-04-19 | refactor(core): move SerializablePkg to serde_v8 (#10231) | Aaron O'Mullan | |
2021-04-18 | cleanup(core): simplify op_async(), drop need for try_dispatch_op() (#10240) | Aaron O'Mullan | |
2021-04-18 | tooling(bench_util): benching and profiling utilities (#10223) | Aaron O'Mullan | |
2021-04-18 | refactor(core): remove ZeroCopyBuf's dep on the bindings mod (#10232) | Aaron O'Mullan | |
Also cleanup `bindings::deserialize()/decode()` so they use the `ZeroCopyBuf` abstraction rather than reimplementing it. This cleanup will facilitate moving `ZeroCopyBuf` to `serde_v8` since it's now self contained and there are no other `get_backing_store_slice()` callers. | |||
2021-04-14 | fix(core): better "missing type" GothamState error (#10189) | Ben Noordhuis | |
Include the type name in the error message so you know what to look for. | |||
2021-04-13 | chore: release crates (#10164) | Bartek Iwańczuk | |
2021-04-13 | fix(core): remove wasm-test-streaming flag (#10158) | Casper Beyer | |
2021-04-13 | upgrade: rusty_v8 0.22.1 (V8 9.1.269.5) (#10159) | Bert Belder | |