0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-30 16:41:03 -05:00
Commit graph

1053 commits

Author SHA1 Message Date
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
Yusuke Tanaka
245c7b2b8e
chore: upgrade Rust to 1.54.0, apply clippy fixes (#744) 2021-07-29 19:40:16 -07:00
Luca Casonato
b7abe60108
Rolling V8 to 9.3.345.3 (#739) 2021-07-19 16:23:59 +02:00
Ryan Dahl
6a81d042a7
v0.25.3 2021-07-12 10:08:01 -07:00
Ben Noordhuis
b56902c306
fix: remove race in terminate_execution test (#736)
The test started a new thread that slept for a bit, then terminated the
isolate, assuming that the delay was long enough for the isolate and the
context to get fully initialized. It wasn't.

Fixes #710.
2021-07-11 22:32:34 +02:00
Ben Noordhuis
d0da52a0ea
chore: downgrade to ubuntu-18.04 ci image (#734)
denoland/rusty_v8 uses ubuntu-latest-xl, which is still at 18.04. Use a
compatible image for third-party forks.

Third-party builds failed trying to install the gcc-5 cross-compiler
toolchain, which indeed is no longer available in 20.04.

Fixes #733.
2021-07-11 17:47:43 +02:00
Ryan Dahl
5ca1964824
disable siphash, v8 now uses 64-bit hash seed (#731) 2021-07-10 10:05:38 -07:00
Luca Casonato
5c5474ceae
0.25.2 2021-07-08 12:28:23 +02:00
Luca Casonato
b98e0d7ed7
Rolling V8 to 9.2.230.14 (#728) 2021-07-07 16:06:01 +02:00
Bert Belder
d264699785 v0.25.1 2021-07-02 21:42:51 +02:00
Bert Belder
fcf616dc30
Exclude unnecessary ICU data files from crate (#726) 2021-07-02 21:40:14 +02:00
Bartek Iwańczuk
817069ff56
v0.25.0 2021-07-02 20:34:22 +02:00
Bartek Iwańczuk
45006fb7e7
Add Isolate::has_pending_background_tasks (#724) 2021-07-02 20:17:48 +02:00
Ryan Dahl
1e533a152e
Include ICU data file in crate (#722) 2021-07-02 20:06:51 +02:00
Ryan Dahl
de1c4327d1
v0.24.0 2021-07-01 15:48:42 -04:00
Bert Belder
0bc6ea49f9
chore: clang-format (#719) 2021-07-01 19:03:21 +02:00
Tim Ramlot
14bcf04bef
Add support for Platform::pump_message_loop and Platform::run_idle_tasks (#706)
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2021-07-01 16:05:07 +02:00
Jomer
89c8ae8af3
feat: add various FunctionTemplate methods (#718)
This commit adds the following methods:
* `FunctionTemplate::inherit()`
* `FunctionTemplate::prototype_template()`
* `FunctionTemplate::read_only_prototype()`
* `FunctionTemplate::remove_prototype()`
2021-06-30 16:55:14 +02:00
Luca Casonato
f5add72f09
0.23.0 2021-06-24 20:36:02 +02:00
Luca Casonato
cfa5d7060f
fix: pass serializer helpers as mut refs (#712)
They are only useful in read_host_object and write_host_object if
the helpers are available as a mut ref.
2021-06-24 15:59:03 +02:00
Luca Casonato
ed106ac9b3
Rolling to V8 9.2.230.12 (#709) 2021-06-22 15:09:32 +02:00
Maxime Guerreiro
e3ea921bd6
Enable v8's siphash for hash seed creation (#707)
Enable the v8_use_siphash flag. This flag is enabled since Node.js
v11.12.0 (2019-03-15), see linked PR, release notes, and the blog post
detailing the attack.

Ref: https://github.com/nodejs/node/pull/26367
Ref: https://nodejs.org/gl/blog/release/v11.12.0/
Ref: https://darksi.de/12.hashwick-v8-vulnerability/
2021-06-22 08:34:52 -04:00
Andreu Botella
dfd5842913
Add missing methods for one- and two-byte strings (#704)
Fixes #703.
2021-06-22 14:11:38 +02:00
Yusuke Tanaka
f85508868e
chore: upgrade Rust to 1.53.0 (#705) 2021-06-18 11:35:53 -04:00
Ryan Dahl
fca78fb0c1
Rename set_common_data to set_common_data_69 (#702) 2021-06-18 06:55:38 -04:00
Ryan Dahl
3c22821499
CreateParams cleanup (#701) 2021-06-15 12:05:53 -04:00