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

866 commits

Author SHA1 Message Date
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
Ben Noordhuis
84f1241b68
Fix bad assumption in static_assert (#668)
v8::Location is the size of two ints, not the size of one size_t.

`2 * sizeof(int) == sizeof(size_t)` on 64 bits architectures but not on
32 bits architectures.

Fixes #667.
2021-04-19 16:43:58 +02:00
Bert Belder
2f7809ffe9
v0.22.1 2021-04-13 08:02:35 +00:00
Piotr Sikora
14a3d84576
Upgrade V8 to 9.1.269.5 (#662) 2021-04-13 10:00:14 +02:00
Bert Belder
1ccca7da7c
v0.22.0 2021-04-12 20:53:04 +00:00
Bert Belder
ad07d4170c
Upgrade crates (#661) 2021-04-12 20:51:57 +00:00
Ryan Dahl
2b90712b76
Upgrade V8 to 9.1.269.2 (#657) 2021-04-12 22:42:42 +02:00
Ben Noordhuis
03e74c6f1b
Add new_single_threaded_default_platform() (#659)
This is a v8::Platform implementation that doesn't spawn additional
threads. Useful in combination with the --single_threaded flag.
2021-04-12 21:40:52 +02:00
Bert Belder
de9a7e2698
String::new_external_onebyte_static() should take &[u8] instead of &str (#658) 2021-04-09 19:49:55 +02:00
Ryan Dahl
d78cc3df87
Upgrade V8 to 9.1.246 (#655) 2021-04-03 09:46:38 -04:00
Ryan Dahl
d520fe85bd
Add String::new_from_one_byte (#654) 2021-04-02 16:23:05 -04:00
Ben Noordhuis
3a5ce45245
Remove dead platform code (#653)
The Task struct and Platform::pump_message_loop() method were
non-functional, remove them.
2021-03-30 14:33:39 +02:00
Ryan Dahl
111641361b
Cache should be updated when build or buildtools is changed (#642) 2021-03-27 15:18:37 -04:00
Yusuke Tanaka
3c7ff01ad4
Upgrade Rust to 1.51.0 (#652) 2021-03-27 20:16:35 +01:00
Ben Noordhuis
7d514ae4cb
Add ArrayBuffer::detach() and is_detachable() (#648)
Fixes #646.
2021-03-16 23:35:27 +01:00