0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-21 15:04:33 -05:00
Commit graph

1252 commits

Author SHA1 Message Date
Bartek Iwańczuk
36cf16b594
refactor: Move set_promise_hooks API to HandleScope (#1186) 2023-02-09 20:38:25 +01:00
Bartek Iwańczuk
3b6d79c0e6
feat: Add bindings for continuation embedder data (#1184)
Adds bindings for:

- v8::Context::GetContinuationPreservedEmbedderData
- v8::Context::SetContinuationPreservedEmbedderData

These APIs are available on the "HandleScope".
---------

Co-authored-by: Bert Belder <bertbelder@gmail.com>
2023-02-09 13:34:28 +01:00
Bartek Iwańczuk
83b54692c1
refactor: v8::Context::set_promise_hooks requires scope (#1185) 2023-02-05 20:14:57 +01:00
denobot
876240bd16 v0.62.2 2023-02-02 11:48:49 +00:00
Andreu Botella
96673943b7
Update and improve documentation about finalizers (#1182)
This change updates the documentation of `Weak::with_finalizer` to
reflect the fact that the previous stricter guarantees were dropped in
#1181. It also adds documentation to `Weak::with_guaranteed_finalizer`
and `Weak::clone_with_guaranteed_finalizer`.
2023-02-02 11:45:22 +00:00
Bartek Iwańczuk
d3fff51d2d
Don't run GC on isolate disposal (#1181)
Removing this garbage collection trigger removes the guarantee that
"regular" FinalizerCallbacks will be called before the isolate goes away.
It is fine as both spec and V8 do not provide this guarantee and we were
overly strict in this case.
2023-02-02 11:59:14 +01:00
denobot
1269ad6ac5 v0.62.1 2023-02-01 16:54:06 +00:00
Bartek Iwańczuk
623c6cd81d
feat: v8::Context::set_promise_hooks accepts None (#1178)
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2023-02-01 17:42:47 +01:00
Bartek Iwańczuk
72216372d5
fix: don't use C++ references for possibly-null pointers (#1179)
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2023-02-01 15:41:52 +00:00
denobot
84f1ec1571
Rolling to V8 11.0.226.13 (#1176) 2023-01-31 13:45:41 +00:00
Bartek Iwańczuk
96d21b995f
v0.62.0 2023-01-25 02:26:20 +01:00
Bert Belder
f7145b9828
build: turn off v8_enable_shared_ro_heap flag again (#1174)
Enabling the shared read-only heap comes with a restriction that all
isolates running at the same time must be created from the same snapshot.
This is problematic for Deno, which has separate "runtime" and "typescript
compiler" snapshots, and sometimes uses them both at the same time.
2023-01-24 21:49:33 +00:00
denobot
0c6b657c32
Rolling to V8 11.0.226.10 (#1173) 2023-01-24 20:49:27 +01:00
Divy Srivastava
55e8a2d60d
feat: Add v8::Object::DefineProperty (#1172) 2023-01-24 21:03:00 +05:30
Spencer Comfort
bc5660b4b2
ci: update python, python setup, cache, and rust version (#1171)
Updated python to 3.11.x, python setup to v3, cache to v3, and rust to version 1.66.1
2023-01-24 10:47:17 +05:30
Mike Mulchrone
7c1b08e6a8
Avoid referencing uninitalized in Inspector API (#1164) 2023-01-15 20:00:38 +05:30
denobot
6c619797a5
Rolling to V8 11.0.226.6 (#1167) 2023-01-10 00:20:04 +01:00
Bartek Iwańczuk
961a4940b5
feat: Add v8::TypedArray::length (#1166) 2023-01-08 15:11:19 +01:00
denobot
4381727867
Rolling to V8 11.0.226.5 (#1165) 2023-01-08 13:20:19 +01:00
denobot
da3d3c976d v0.61.0 2022-12-27 21:07:07 +00:00
Aapo Alasuutari
8d9864c8fc
feat: Add tests for void pointer support in Fast API calls (#1162) 2022-12-27 22:05:50 +01:00
denobot
f5ef59601d
Rolling to V8 11.0.226.3 (#1161) 2022-12-24 12:32:12 +01:00
linbingquan
cb8573dc0d
chore: update to Rust 1.66.0 (#1156) 2022-12-21 00:11:23 +01:00
Bert Belder
9b76cf8fb1 fix: use default value (true) for 'v8_enable_shared_ro_heap' config flag (#1160)
V8 11.0.226.2 can't make snapshots succesfully when
'v8_enable_shared_ro_heap' is set to false.
2022-12-18 22:55:12 +01:00
Bert Belder
da0825bff0 deps: upgrade Ninja and GN (#1160)
Ninja and GN are upgraded to the version specified in V8's `DEPS` file
as of V8 11.0.226.2.

As part of this upgrade, native binaries for linux-arm64 and mac-arm64
were added to the repository, and some directories were renamed to make
the overall naming scheme more consistent.
2022-12-18 22:55:12 +01:00
Bert Belder
0e09f12eca deps: update other submodules with libraries and build tools (#1160)
The following libraries and tools are upgraded to the version specified
in V8's `DEPS` file as of V8 11.0.226.2:
  * build
  * buildtools
  * clang
  * jinja2
  * markupsafe
  * trace_event
  * zlib
2022-12-18 22:55:12 +01:00
Bert Belder
8548b39833 deps: upgrade ICU to 72-1 (#1160)
ICU was upgraded to the version specified in V8's `DEPS` file as of V8
11.0.226.2.
2022-12-18 22:55:12 +01:00
denobot
42dd5390ca deps: upgrade V8 to 11.0.226.2 (#1160) 2022-12-18 22:55:12 +01:00
Bert Belder
b295e4146a chore: run clang-format (#1160) 2022-12-18 22:55:12 +01:00
Bert Belder
eb4fb3be96 chore: bump CI time-out to 3 hours (#1160)
Otherwise MacOS debug builds never make it to the finish line.
2022-12-18 22:55:12 +01:00
Bartek Iwańczuk
38c47a6308
chore: Track v8 11.0 (#1157) 2022-12-18 01:02:39 +01:00
denobot
b7cfc588fd v0.60.0 2022-12-13 01:10:30 +00:00
Bartek Iwańczuk
1874b33eff
ci: update release action (#1154) 2022-12-13 02:07:14 +01:00
Bartek Iwańczuk
b53ecc2f65
chore: Update docstring on v8::Global (#1153) 2022-12-09 15:20:40 +01:00
denobot
dd12978745 v0.59.0 2022-12-07 16:06:42 +00:00
Bartek Iwańczuk
80434ae27b
ci: provide crate name in release script (#1151) 2022-12-07 16:57:20 +01:00
Bartek Iwańczuk
9fc29f439e
feat: v8::Inspector::exception_thrown, v8::Inspector::create_stack_trace (#1149)
Adds APIs required to notify inspector about exceptions raised
by the runtime.
2022-12-07 14:43:55 +01:00
Bartek Iwańczuk
afe76971be
ci: add "release" action workflow (#1150)
This workflow will bump a version and create a tag which will kick-off another
build that will build release binary archives and create a GH release.

Maintainer is still responsible for building artifacts on M1 mac.
2022-12-06 04:21:44 +01:00
Bartek Iwańczuk
3e8a572ceb
feat: Add v8::Isolate::request_garbage_collection_for_testing (#1148) 2022-12-02 21:10:37 +01:00
Bartek Iwańczuk
0f43fc0b58
v0.58.0 2022-11-30 20:39:33 +01:00
Bartek Iwańczuk
caa2ef4510
feat: v8::Isolate::{add,remove}_gc_prologue_callback (#1142) 2022-11-30 19:10:42 +01:00
Ryan Dahl
3783a5c725
feat: Isolate::memory_pressure_notification() (#1139)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-11-30 17:25:10 +01:00
Divy Srivastava
e57c3ec90f
Optional key in v8::ArrayBuffer:detach (#1141) 2022-11-30 15:33:28 +01:00
Divy Srivastava
0b9423a0ee
Fix length type of FastApiOneByteString (#1140) 2022-11-30 15:32:10 +01:00
Bartek Iwańczuk
1bf74cca4a
v0.57.0 2022-11-29 23:36:43 +01:00
Divy Srivastava
f5c9e90c6d
Add SeqOneByteString to fast API calls (#1129) 2022-11-29 22:06:55 +01:00
Bartek Iwańczuk
3603c6e9c5
chore: update v8 submodule to floated patch for string support in Fast API (#1137) 2022-11-29 20:51:37 +01:00
hilldani
d4931dc891
resolve CVE-2022-37434 (#1136)
current zlib 1.2.12 is vulnerable to CVE-2022-37434 as documented on zlib website with details at https://nvd.nist.gov/vuln/detail/CVE-2022-37434. This resolves vulnerability by going to zlib 1.2.13
2022-11-28 21:07:03 +01:00
Jonathan Birk
9a0a6bc570
Meaningful error message if gn can't be run (#1115) 2022-11-27 03:03:24 +01:00
Mike Mulchrone
3c6d259507
Exposing Value::TypeOf (#1133) 2022-11-27 03:02:08 +01:00