0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-12 02:27:50 -05:00
Commit graph

1285 commits

Author SHA1 Message Date
denobot
2476ea4a7c v0.70.0 2023-04-25 22:40:43 +00:00
Bartek Iwańczuk
8975023421
chore: Track v8 11.4 (#1216) 2023-04-26 00:19:11 +02:00
Eric Long
10861ab9f5
Support for unconventional builds (#1209)
We may build rusty_v8 on platforms other than the common ones (for
example, linux/riscv64), though they are not officially supported and
prebuilt binaries are not available. This patch adds several
environment variables:

- `DISABLE_CLANG`: use `is_clang=false` and disables Clang-specific
options for building with GCC, etc.
- `EXTRA_GN_ARGS`: allow to pass extra GN arguments, such as custom
toolchain
- `NO_PRINT_GN_ARGS`: Disables printing GN arguments to stdout. GN
currently segfaults on riscv64 when printing arguments. Since it is
trivial, we can have an option to simply disable it.

Also added fallback `arch` and `os` declaration in `platform()` to
remove compile-time error.
2023-04-25 16:22:01 -04:00
Bartek Iwańczuk
07f2e9f3b6
chore: disable V8 pointer compression (#1214) 2023-04-25 22:17:27 +02:00
denobot
64c26f853b v0.69.0 2023-04-21 22:39:00 +00:00
Bartek Iwańczuk
f049ad0229
feat: Add v8::Object::get_constructor_name (#1212) 2023-04-21 23:53:51 +02:00
denobot
2c45f72d20
Rolling to V8 11.2.214.15 (#1207) 2023-04-21 23:53:43 +02:00
Bartek Iwańczuk
48c2ac89db
feat: Add v8::StackTrace::current_script_name_or_source_url (#1211) 2023-04-21 19:09:56 +02:00
Bartek Iwańczuk
9394983d15
refactor: migrate from lazy_static to once_cell (#1210) 2023-04-21 15:01:27 +05:30
Divy Srivastava
5dce1eaeef
Update to Ubuntu-22.04-XL runners (#1208) 2023-03-31 19:39:56 +05:30
denobot
1f5aa8a0c8 v0.68.0 2023-03-31 10:19:42 +00:00
Divy Srivastava
fe7610aa4a
FastApiOneByteString is not always utf-8 (#1206) 2023-03-31 12:02:47 +02:00
denobot
a07c222ae3 v0.67.0 2023-03-27 17:39:35 +00:00
Levente Kurusa
cb8bcb4f1b
ArrayBuffer: add binding for IsResizableByUserJavaScript (#1205) 2023-03-27 19:33:58 +02:00
Divy Srivastava
49c77327a6
New const evaluated FastFunction API (#1201) 2023-03-22 20:37:48 +05:30
denobot
8e6b67a38b v0.66.0 2023-03-21 22:31:33 +00:00
denobot
70ecb6b4a8
Rolling to V8 11.2.214.9 (#1204)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-03-21 22:59:42 +01:00
Bartek Iwańczuk
98853f44f0
chore: Track v8 11.2 (#1203) 2023-03-21 20:10:32 +01:00
Levente Kurusa
af75d6d8a2
build: add PYTHON envvar to specify your python binary (#1202) 2023-03-21 17:11:44 +01:00
denobot
8216c9e435 v0.65.0 2023-03-16 16:10:45 +00:00
Divy Srivastava
1088a9f349
Use dsherret/rust-toolchain-file@v1 for release CI (#1200) 2023-03-16 21:38:21 +05:30
Aapo Alasuutari
57c5d93d29
Add tests for invalid UTF-8 sequences in v8::String::new_from_utf8 (#1190) 2023-03-16 09:25:52 -04:00
Divy Srivastava
54bdfe722e
Inline hint for default FastFunction trait methods (#1199) 2023-03-16 18:33:21 +05:30
Bartek Iwańczuk
b1884eb1f5
Change signature of FunctionTemplate::build_fast (#1197)
Changes signature of "FunctionTemplate::build_fast" to allow
to pass "CFunctionInfo" explicitly. If it's not passed explicitly,
it's still autogenerated.
2023-03-16 08:23:04 +01:00
Giovanny Gutiérrez
c58f4c08d9
feat: Expose the security token API from V8 (#1192) 2023-03-10 08:31:13 -05:00
denobot
c2ec15f046 v0.64.0 2023-03-09 13:04:24 +00:00
Divy Srivastava
a2f0e764a5
Disable snapshot checksum verification (#1195) 2023-03-09 18:30:32 +05:30
Bartek Iwańczuk
831f6e9bf1
test: fix flaky cached_data_version_tag test (#1194) 2023-03-07 07:44:16 +01:00
denobot
6dd892b111
Rolling to V8 11.0.226.19 (#1191) 2023-02-28 17:16:30 -04:00
denobot
cb9b32753c
Rolling to V8 11.0.226.16 (#1189) 2023-02-12 16:50:02 +01:00
Divy Srivastava
6043e7d49e
Explicitly set v8_enable_handle_zapping to false (#1188) 2023-02-11 22:52:04 +05:30
Divy Srivastava
ffb875d5ae
Add PropertyDescriptor::new_from_value_writable and new_from_value (#1187) 2023-02-11 22:51:51 +05:30
denobot
cb5216ba64 v0.63.0 2023-02-09 20:41:34 +00:00
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