github-actions[bot]
c2fdf632c9
Rolling to V8 9.6.180.9 ( #815 )
2021-10-27 14:32:31 +02:00
Luca Casonato
5ee0a375f2
chore: rename rusty_v8 to v8 ( #803 )
2021-10-27 14:32:12 +02:00
github-actions[bot]
188105bec7
Rolling to V8 9.6.180.8 ( #813 )
2021-10-27 11:34:30 +02:00
Rafael Ávila de Espíndola
26d60b7dfe
Add missing cargo:rerun-if-env-changed ( #807 )
...
In addition to the problem described in issue #378 , we noticed link
error when updating rusty_v8 without doing a clean build. As far as I
can tell, there were two potential bugs:
* Cargo not being informed that it should run build.rs when
CARGO_PKG_VERSION changed.
* Even if build.rs was rerun, it would not download a new package. It
seems that build.rs should either verify that the right package was
downloaded or should just trust cargo to not rerun it when not
needed.
Fixes: #378
2021-10-25 19:40:09 -04:00
Andreu Botella
2a21f5abf9
fix: Make derefing a zero-size BackingStore
no longer UB ( #809 )
...
For zero-size `BackingStore`s, it seems like `BackingStore::data` always
returns a null pointer. The `Deref` impl for `BackingStore` called
`std::slice::from_raw_parts` on that pointer, even though it is UB to
call that function on a null pointer even for empty slices. This change
fixes that by obtaining a valid pointer from `NonNull::dangling()` if
the original is null.
Reported in
https://github.com/denoland/rusty_v8/issues/711#issuecomment-950637136 .
2021-10-25 22:40:14 +02:00
Rafael Ávila de Espíndola
05b41b8b84
Add support for a RUSTY_V8_ARCHIVE environment variable ( #812 )
2021-10-25 16:35:19 -04:00
github-actions[bot]
7bf8f01974
Rolling to V8 9.6.180.7 ( #811 )
2021-10-25 18:19:01 +02:00
Luca Casonato
02426712f6
Track V8 v9.6 ( #810 )
2021-10-25 18:18:42 +02:00
github-actions[bot]
103a90fe6f
Rolling to V8 9.5.172.22 ( #808 )
2021-10-22 12:21:17 +02:00
github-actions[bot]
f03cff17e4
Rolling to V8 9.5.172.21 ( #805 )
2021-10-15 13:10:25 +02:00
Bert Belder
d478c450dd
Rename Handle::get() to Handle::open() instead ( #806 )
...
This also adds a deprecated `Global::get()` method to avoid unnecessarily
breaking a lot of users code.
Ref: #799
2021-10-13 21:45:10 +02:00
Rafael Ávila de Espíndola
8285b3da34
Rename Handle::get() to Handle::inner() ( #799 )
2021-10-13 16:47:34 +02:00
Luca Casonato
a0a0b37dfc
0.32.0
2021-10-11 17:37:51 +02:00
github-actions[bot]
c8e3031cf3
Rolling to V8 9.5.172.19 ( #801 )
2021-10-07 12:35:27 +02:00
Luca Casonato
85be17feed
Track V8 9.5 ( #795 )
2021-10-06 01:09:23 +02:00
github-actions[bot]
68b81f7b12
Rolling to V8 9.5.172.17 ( #796 )
2021-10-06 01:09:14 +02:00
Bartek Iwańczuk
2269bf293a
v0.31.0
2021-10-04 19:28:17 +02:00
github-actions[bot]
65c4a67c2f
Rolling to V8 9.4.146.19 ( #793 )
2021-10-04 18:48:10 +02:00
Aaron O'Mullan
6ccf15c69d
feat: Function::get/set_name() ( #792 )
...
Add bindings for v8::Function::GetName() and v8::Function::SetName()
2021-10-01 22:38:05 +02:00
github-actions[bot]
4e457758fe
Rolling to V8 9.4.146.18 ( #791 )
2021-09-30 17:27:49 +02:00
github-actions[bot]
469c145059
Rolling to V8 9.4.146.17 ( #789 )
2021-09-27 12:23:47 +02:00
Andreu Botella
b32d0b0540
feat: WasmStreaming::set_url
, CompiledWasmModule::source_url
( #786 )
...
Needed for denoland/deno#12151
2021-09-22 14:34:39 -04:00
Aaron O'Mullan
c048052ca6
v0.30.0 ( #784 )
2021-09-22 12:45:12 +02:00
Aaron O'Mullan
0bd141c78d
Default to linking against release v8 builds ( #783 )
...
Unless $V8_FORCE_DEBUG=true to speedup CI for main deno repo
2021-09-22 12:02:55 +02:00
Ryan Dahl
b6537573c4
v0.29.0
2021-09-18 10:46:36 -04:00
Ben Noordhuis
09347d32c8
Throw DataCloneError if SAB cannot be cloned ( #781 )
...
Best case, it produces serialized output that cannot be deserialized.
Worst case, it hits this assert in V8:
# Fatal error in v8::FromJust
# Maybe value is Nothing.
2021-09-18 15:21:04 +02:00
github-actions[bot]
0bdeb0c5c4
Rolling to V8 9.4.146.16 ( #779 )
2021-09-17 12:03:15 -04:00
Andreu Botella
babe41a990
feat: Add v8::CompiledWasmModule
( #776 )
...
`v8::CompiledWasmModule` is a representation of a compiled WebAssembly
module, which can be shared by multiple `v8::WasmModuleObject`s.
Closes #759 .
2021-09-17 12:02:40 -04:00
Aaron O'Mullan
8094d5d971
fix(json): relax lifetime for json_object ( #778 )
...
Amongst other things this will enable serde_v8 to print JSON object dumps
2021-09-13 23:34:17 +02:00
Luca Casonato
70b42b2cac
v0.28.0
2021-09-13 12:42:57 +02:00
github-actions[bot]
e5a37ad8c1
Rolling to V8 9.4.146.15 ( #773 )
2021-09-13 12:23:46 +02:00
Yusuke Tanaka
674f44449f
chore: upgrade Rust to 1.55.0 ( #770 )
2021-09-10 12:32:29 +02:00
github-actions[bot]
1b815235a8
Rolling to V8 9.4.146.14 ( #772 )
...
Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
2021-09-10 12:23:36 +02:00
github-actions[bot]
812d4abc47
Rolling to V8 9.4.146.13 ( #767 )
2021-09-09 14:07:47 +02:00
Rami Sabbagh
16708359bc
feat: Implement Isolate::remove_slot ( #769 )
2021-09-09 00:41:50 +02:00
github-actions[bot]
b33d6ff5d3
Rolling to V8 9.4.146.11 ( #766 )
2021-09-03 12:23:16 +02:00
Luca Casonato
2543594fc3
0.27.0
2021-08-30 15:24:26 +02:00
github-actions[bot]
3f86f9043e
Rolling to V8 9.4.146.10 ( #761 )
2021-08-30 14:00:17 +02:00
github-actions[bot]
f23ac49aaf
Rolling to V8 9.4.146.9 ( #760 )
2021-08-27 13:24:30 +02:00
devsnek
ab04be75f3
fix building in the presence of depot_tools ( #757 )
2021-08-21 17:21:08 +02:00
Ben Noordhuis
cb07d4f914
feat: implement counter_lookup_callback ( #756 )
2021-08-19 14:05:48 +02:00
github-actions[bot]
9b5ea3627a
Rolling to V8 9.4.146.8 ( #755 )
2021-08-19 00:34:04 +02:00
Luca Casonato
406f28c69e
Update v8 autoroller to track denoland/v8 ( #754 )
2021-08-15 20:14:14 +02:00
Ben Noordhuis
5a27cb7655
Upgrade V8 to 9.4.146.2 ( #753 )
2021-08-15 15:13:08 +02:00
PerfectLaugh
580a89cf10
Fix x86 build
2021-08-12 06:00:20 +02:00
Ryan Dahl
eeffe1d722
fix: binary publish problem ( #750 )
2021-08-09 20:08:33 +02:00
Luca Casonato
9aadaf5c2c
0.26.0
2021-08-09 17:15:09 +02:00
Luca Casonato
6f2f1d3d81
Roll to V8 9.3.345.11 ( #748 )
2021-08-09 16:24:13 +02:00
Bartek Iwańczuk
c525555e42
feat: add V8InspectorSession::can_dispatch_method ( #746 )
2021-08-09 15:53:30 +02:00
Ben Noordhuis
24bef1e54b
chore: test String object serialization ( #747 )
...
Serializing `new String("")` requires that the wire format header is
written, otherwise V8 assumes an incompatible legacy wire format when
deserializing.
2021-08-07 23:33:53 +02:00