Commit Graph

830 Commits

Author SHA1 Message Date
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
Ryan Dahl
fe298359d9
Upgrade V8 to 9.2.230.10 (#700)
* We are floating a revert of v8/v8@7f9d7f0 because of the issue described in #694.
* Upgrade ICU 68 -> 69
* Upgrade //build and //buildtools
* set v8_enable_shared_ro_heap = false to fix tests
2021-06-15 11:12:23 -04:00
Ryan Dahl
8c79145f59
v0.22.3 2021-06-08 09:38:42 -04:00
github-actions[bot]
a63de3b8cc
Rolling to V8 9.1.269.35 (#692) 2021-06-08 07:50:20 -04:00
Bert Belder
be1c2073ec
build: add flag to build CRT flavor agnostic Windows libraries (#690)
Fixes: #586
Fixes: denoland/deno#10378
2021-05-11 19:40:54 +02:00
Matthew McAllister
6d25d19b4c
Add ObjectTemplate::set_accessor{_with_setter} (#687) 2021-05-11 16:40:53 +02:00
Yusuke Tanaka
fbd6528e63
chore: upgrade Rust to 1.52.1 (#689) 2021-05-11 15:47:22 +02:00
github-actions[bot]
11fe344231
Rolling to V8 9.1.269.28 (#688) 2021-05-10 16:32:35 +02:00
Ryan Dahl
1b6c9f9a61
v0.22.2 2021-05-07 13:34:27 -04:00
github-actions[bot]
02bd1394f2
Rolling to V8 9.1.269.27 (#685) 2021-05-07 09:50:51 -04:00
github-actions[bot]
e87ba9ae69
Rolling to V8 9.1.269.24 (#683) 2021-05-06 22:57:56 +02:00
Bartek Iwańczuk
3a55341f36
chore: upgrade to Rust 1.52.0 (#684) 2021-05-06 16:36:51 -04:00
Luca Casonato
2c2b1a967c
build: fix autoroller PR title edit (#681) 2021-05-04 19:17:53 +02:00
github-actions[bot]
80cde19102
Rolling to V8 9.1.269.21 (#680) 2021-05-04 15:10:27 +02:00
Ryan Dahl
49c8ecb5e2
Error on warning (#678) 2021-05-03 15:19:03 -04:00
github-actions[bot]
417dedde4a
Rolling to V8 9.1.269.19 (#679) 2021-04-30 13:43:05 +02:00
Nicholas Sielicki
4b7f57081a
Avoid warnings by adding explicit dyns in a few spots (#677) 2021-04-29 22:12:54 +02:00
github-actions[bot]
26427db2a8
Rolling to V8 9.1.269.18 (#676) 2021-04-28 13:07:49 +02:00
Ben Noordhuis
92ea90bdbf
Add ScriptCompiler::compile_function_in_context() (#670) 2021-04-27 20:32:40 +02:00
github-actions[bot]
72749ae4e7
Rolling to V8 9.1.269.17 (#675) 2021-04-27 13:20:58 +02:00
Luca Casonato
e60f12798f
build: fix autoroller (#672) 2021-04-27 11:02:47 +02:00
github-actions[bot]
5de55ce795
Rolling to V8 9.1.269.16 (#674) 2021-04-27 10:58:39 +02:00
Luca Casonato
fce0b02548
chore: set up v8 autoroll script (#663)
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2021-04-26 13:05:18 +02:00
Ben Noordhuis
efa6c71b10
Add Signature::new() (#666)
Refs #478.
2021-04-20 12:48:20 +02:00