0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-21 15:04:33 -05:00
denoland-rusty-v8/src
Nathan Whitaker 5989346753
Allow ValueSerializerImpl and ValueDeserializerImpl impls to be re-entrant (#1591)
Currently, if you were to call (for instance) write_value as part of a custom write_host_object implementation, you would be forced to create aliased exclusive references to the serializer (which is instant UB).

The underlying v8 de/serializers are re-entrant, so for the most part we simply need to pass around shared references instead of exclusive references.

Also adds some bindings to some missing functions, and makes ValueSerializer (and deserializer) garbage collectable.
2024-08-28 12:44:40 -07:00
..
array_buffer.rs feat: add DataView constructor (#1491) 2024-06-03 13:47:57 -07:00
array_buffer_view.rs feat: add get_backing_store to ArrayBufferView (#1342) 2023-10-03 15:23:59 +00:00
bigint.rs Fix misleading BigInt rustdoc (#1379) 2024-02-03 17:44:56 +00:00
binding.cc Allow ValueSerializerImpl and ValueDeserializerImpl impls to be re-entrant (#1591) 2024-08-28 12:44:40 -07:00
binding.hpp Rolling to V8 12.9.202.1 (#1579) 2024-08-20 07:48:10 -07:00
binding.rs update fast calls api (#1564) 2024-08-13 18:15:34 +02:00
context.rs feat: changes for vm (#1557) 2024-08-05 11:15:56 +02:00
cppgc.rs chore: binding cleanup (#1551) 2024-07-26 13:37:39 -07:00
data.rs fix: put fslock around entire build process (#1525) 2024-07-11 10:00:13 -07:00
date.rs Inline API functions (#1078) 2022-09-21 08:15:33 +05:30
exception.rs feat: Add v8::StackTrace::current_script_name_or_source_url (#1211) 2023-04-21 19:09:56 +02:00
external.rs chore: update to Rust 1.66.0 (#1156) 2022-12-21 00:11:23 +01:00
external_references.rs update fast calls api (#1564) 2024-08-13 18:15:34 +02:00
fast_api.rs Rolling to V8 12.9.202.1 (#1579) 2024-08-20 07:48:10 -07:00
fixed_array.rs Inline API functions (#1078) 2022-09-21 08:15:33 +05:30
function.rs fix: QueryCallback should use Integer (#1545) 2024-07-24 11:39:30 -07:00
gc.rs Improved ObjectTemplate::set_*_handlers (#1237) 2023-05-26 13:14:18 +02:00
get_property_names_args_builder.rs Improved ObjectTemplate::set_*_handlers (#1237) 2023-05-26 13:14:18 +02:00
handle.rs chore: binding cleanup (#1551) 2024-07-26 13:37:39 -07:00
icu.rs Rolling to V8 11.7.439.1 (#1296) 2023-08-08 23:29:54 +00:00
inspector.rs feat: add InspectorClient::ensureDefaultContextInGroup (#1590) 2024-08-26 10:16:41 -07:00
isolate.rs feat: add UseCounterCallback (#1567) 2024-08-13 19:19:27 +02:00
isolate_create_params.rs fix: remove use of deprecated apis (#1488) 2024-06-27 08:29:46 -07:00
json.rs Inline API functions (#1078) 2022-09-21 08:15:33 +05:30
lib.rs feat: expose v8 version constants (#1569) 2024-08-13 22:01:04 +00:00
microtask.rs feat: Add v8::MicrotaskQueue::new() (#1440) 2024-03-16 04:00:57 +00:00
module.rs V8 12.3.219.9 (#1419) 2024-03-08 23:52:23 +05:30
name.rs Inline API functions (#1078) 2022-09-21 08:15:33 +05:30
number.rs Inline API functions (#1078) 2022-09-21 08:15:33 +05:30
object.rs feat: changes for vm (#1557) 2024-08-05 11:15:56 +02:00
platform.rs fix: crash on x86_64 systems that support memory protection keys (#1318) 2023-09-12 23:26:42 +00:00
primitive_array.rs chore: update to Rust 1.70.0 (#1277) 2023-07-11 12:50:03 -06:00
primitives.rs use Isolate for creating primitives (#1082) 2022-10-06 20:44:16 +02:00
private.rs chore: update Rust to 1.65.0 (#1116) 2022-11-25 14:32:52 +01:00
promise.rs chore: update Rust to 1.65.0 (#1116) 2022-11-25 14:32:52 +01:00
property_attribute.rs Improved ObjectTemplate::set_*_handlers (#1237) 2023-05-26 13:14:18 +02:00
property_descriptor.rs Improved ObjectTemplate::set_*_handlers (#1237) 2023-05-26 13:14:18 +02:00
property_filter.rs Improved ObjectTemplate::set_*_handlers (#1237) 2023-05-26 13:14:18 +02:00
property_handler_flags.rs Remove AllCanRead flag from PropertyHandlerFlags (#1387) 2024-01-10 08:21:04 +05:30
proxy.rs chore: update Rust to 1.65.0 (#1116) 2022-11-25 14:32:52 +01:00
scope.rs Rolling to V8 12.9.202.1 (#1579) 2024-08-20 07:48:10 -07:00
script.rs chore: binding cleanup (#1551) 2024-07-26 13:37:39 -07:00
script_compiler.rs feat: changes for vm (#1557) 2024-08-05 11:15:56 +02:00
script_or_module.rs Inline API functions (#1078) 2022-09-21 08:15:33 +05:30
shared_array_buffer.rs fix: arraybuffer init from vec was broken if vec reallocated to box (#1341) 2023-10-03 09:17:18 -06:00
snapshot.rs fix: remove use of deprecated apis (#1488) 2024-06-27 08:29:46 -07:00
string.rs chore: binding cleanup (#1551) 2024-07-26 13:37:39 -07:00
support.h chore: binding cleanup (#1551) 2024-07-26 13:37:39 -07:00
support.rs fix: put fslock around entire build process (#1525) 2024-07-11 10:00:13 -07:00
symbol.rs fix(Symbol): deprecate for_global in favour of for_key and for_api (#1324) 2023-09-18 17:48:13 -06:00
template.rs update fast calls api (#1564) 2024-08-13 18:15:34 +02:00
typed_array.rs chore: binding cleanup (#1551) 2024-07-26 13:37:39 -07:00
unbound_module_script.rs feat: Add Source Maps APIs (#1514) 2024-07-04 22:13:11 +00:00
unbound_script.rs feat: Add Source Maps APIs (#1514) 2024-07-04 22:13:11 +00:00
V8.rs chore: Allow Rust ASAN flags to propagate into v8 build (#1449) 2024-04-12 15:26:06 -06:00
value.rs feat: Add v8::Value::type_repr() (#1285) 2023-07-21 09:42:18 -06:00
value_deserializer.rs Allow ValueSerializerImpl and ValueDeserializerImpl impls to be re-entrant (#1591) 2024-08-28 12:44:40 -07:00
value_serializer.rs Allow ValueSerializerImpl and ValueDeserializerImpl impls to be re-entrant (#1591) 2024-08-28 12:44:40 -07:00
wasm.rs chore: bump rust-toolchain (#1408) 2024-03-01 17:28:17 +00:00