summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-03-20cleanup(core): drop op_void_async's state arg (#14045)Aaron O'Mullan
2022-03-20chore(core): update deno_core README (#14042)Divy Srivastava
Co-authored-by: Andreu Botella <andreu@andreubotella.com>
2022-03-19fix(ops): throw TypeError on op return failure (#14033)Aaron O'Mullan
Fixes #14028
2022-03-19chore(core,ext): minor JS optimisations (#13950)Aapo Alasuutari
2022-03-16v1.20.1Ryan Dahl
2022-03-16v1.20.0Ryan Dahl
2022-03-16cleanup(core): recursive get & ensure helpers (#13972)Aaron O'Mullan
2022-03-16feat(ops): optional OpState (#13954)Aaron O'Mullan
2022-03-16perf(web): Optimize `TextDecoder` by adding a new `U16String` type (#13923)Andreu Botella
2022-03-15cleanup(core): OpPair => OpDecl (#13952)Aaron O'Mullan
2022-03-15cleanup(core): remove void_op_a?sync (#13953)Aaron O'Mullan
In favour of `op_void_sync` & `op_void_async`
2022-03-15fix(core): nuke Deno.core.ops pre-snapshot (#13970)Aaron O'Mullan
To avoid OOB & other ExternalReference snapshot serialization issues Co-authored-by: Bert Belder <bertbelder@gmail.com>
2022-03-14feat(ops): custom arity (#13949)Aaron O'Mullan
Also cleanup & drop ignored wildcard op-args
2022-03-14fix(core): Don't override structured clone error messages from V8 (#13942)Andreu Botella
In the implementation of structured serialization in `Deno.core.serialize`, whenever there is a serialization error, an exception will be thrown with the message "Failed to serialize response", even though V8 provides a message to use in such cases. This change instead throws an exception with the V8-provided message, if there is one.
2022-03-14feat(core): codegen ops (#13861)Divy Srivastava
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-12refactor(core): validate promise id in refOp (#13905)Yoshiya Hinosawa
2022-03-11chore: update rusty_v8 to 0.41.0 (#13909)Divy Srivastava
2022-03-10v1.19.3Yoshiya Hinosawa
2022-03-08feat(core): Event loop middlewares for Extensions (#13816)Divy Srivastava
2022-03-08perf(core): micro-optimize OpsTracker (#13868)Aaron O'Mullan
2022-03-05chore: update deps (#13821)Satya Rohith
2022-03-03chore: bump crate version for 1.19.2 (#13824)Satya Rohith
2022-02-25feat: deno test --trace-ops (#13770)Bartek Iwańczuk
This commit adds "--trace-ops" flag to "deno test" subcommand. This flag enables saving of stack traces for async ops, that before were always saved. While the feature proved to be very useful it comes with a significant performance hit, it's caused by excessive source mapping of stack frames.
2022-02-24chore: upgrade to Rust 1.59 (#13767)David Sherret
2022-02-24chore: bump crate versions for 1.19.1 (#13760)David Sherret
2022-02-24chore: upgrade swc_ecmascript to 0.114 (#13758)David Sherret
2022-02-17chore: release crates for v1.19.0 (#13698)Bartek Iwańczuk
2022-02-16feat(test): improved op sanitizer errors + traces (#13676)Luca Casonato
This commit improves the error messages for the `deno test` async op sanitizer. It does this in two ways: - it uses handwritten error messages for each op that could be leaking - it includes traces showing where each op was started This "async op tracing" functionality is a new feature in deno_core. It likely has a significant performance impact, which is why it is only enabled in tests.
2022-02-16chore: update v8 (#13680)Luca Casonato
2022-02-07refactor: factor out CDP message types (#13551)Leo Kettmeir
2022-02-04chore: forward v1.18.2 to main (#13595)Bartek Iwańczuk
2022-02-02chore: upgrade crates (#13560)Bartek Iwańczuk
2022-02-02chore: update rusty_v8 (#13575)Luca Casonato
2022-02-01refactor: primordials for instanceof (#13527)Bartek Iwańczuk
2022-01-31Revert "refactor: factor out CDP message types (#13501)" (#13540)Bartek Iwańczuk
This reverts commit 382a978859a7a7a4351542be818bb2e59523429c.
2022-01-31example(core): Add example for TypeScript transpiling via deno_ast (#13545)Andreu Botella
2022-01-27chore: forward v1.18.1 to main (#13514)Bartek Iwańczuk
2022-01-27Revert "refactor: update runtime code for primordial checks for "instanceof" ↵Bartek Iwańczuk
(#13497)" (#13511) This reverts commit 884143218fad0e18f7553aaf079d52de703f7601.
2022-01-27refactor: factor out CDP message types (#13501)Leo Kettmeir
2022-01-27refactor: update runtime code for primordial checks for "instanceof" (#13497)Bartek Iwańczuk
2022-01-24refactor(core): Extract JsRuntime::poll_value out of ↵Rafael Ávila de Espíndola
JsRuntime::resolve_value (#13461)
2022-01-20chore: bump crate version for 0.18.0 (#13441)Divy Srivastava
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2022-01-19chore: update v8 to 0.38.1 (#13415)Luca Casonato
2022-01-15chore: upgrade to rust 1.58 (#13377)David Sherret
2022-01-13chore: forward v1.17.3 to main (#13364)Bartek Iwańczuk
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-06chore: forward 1.17.2 to main (#13295)Bartek Iwańczuk
2022-01-06fix: Get lib.deno_core.d.ts to parse correctly (#13238)Rafael Ávila de Espíndola
2022-01-04refactor(core): InspectorSession implements Stream (#13270)Bartek Iwańczuk
This commit rewrites "InspectorSession" to no longer implement "Future" trait but instead implement "Stream" trait. "Stream" trait is implemented by yielding a raw pointer to the "v8::inspector::V8InspectorSession" and received message. In effect received messages are no longer dispatched from within the future, but are explicitly dispatched by the caller. This change should allow us to dispatch a message to the session when another message is being dispatched, ie. "V8InspectorSesssion::dispatch_protocol_message" is already on the call stack.