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

1251 commits

Author SHA1 Message Date
snek
909f6d3afa
Update to v0.105.0 (#1597) 2024-08-28 14:15:41 -07:00
Nathan Whitaker
5989346753
Allow ValueSerializerImpl and ValueDeserializerImpl impls to be re-entrant (#1591)
Currently, if you were to call (for instance) write_value as part of a custom write_host_object implementation, you would be forced to create aliased exclusive references to the serializer (which is instant UB).

The underlying v8 de/serializers are re-entrant, so for the most part we simply need to pass around shared references instead of exclusive references.

Also adds some bindings to some missing functions, and makes ValueSerializer (and deserializer) garbage collectable.
2024-08-28 12:44:40 -07:00
snek
6a6064d9ff
remove unused submodule (#1596) 2024-08-28 02:56:46 +02:00
snek
48800f8216
disable pointer compression (#1593) 2024-08-27 17:52:27 -07:00
snek
df6b8092cc
Backport ESM TLA fixes (#1594) 2024-08-27 12:48:51 -07:00
denobot
d32ce5dcf8
Rolling to V8 12.9.202.5 (#1592) 2024-08-27 09:07:24 -07:00
snek
9f9367eafa
feat: add InspectorClient::ensureDefaultContextInGroup (#1590) 2024-08-26 10:16:41 -07:00
cions
b32f8e39d2
chore: respect explicitly set RUSTY_V8_SRC_BINDING_PATH (#1588) 2024-08-25 21:52:39 -07:00
Divy Srivastava
15b2ad2826
Disable relative vtable on Android (#1581) 2024-08-26 09:32:33 +05:30
denobot
e22578dbe1
Rolling to V8 12.9.202.4 (#1586) 2024-08-24 19:52:17 -07:00
snek
1915374c5c
version 0.104.0 (#1585) 2024-08-21 15:26:21 +00:00
denobot
9744de48f6
Rolling to V8 12.9.202.2 (#1584) 2024-08-21 07:36:48 -07:00
snek
58559436bd
Rolling V8 for backport (#1582) 2024-08-20 19:09:52 +00:00
denobot
3d29396d72
Rolling to V8 12.9.202.1 (#1579)
* Rolling to V8 12.9.202.1

* initial changes for 12.9

* CallbackScope for fast fns

* disable broken thing by default

* use windows 2022 runner

---------

Co-authored-by: snek <the@snek.dev>
2024-08-20 07:48:10 -07:00
snek
1f5ebd9c4e
Update V8 to 12.9 (#1578) 2024-08-19 20:00:10 +05:30
snek
32158eb66b
version 0.103.0 (#1577) 2024-08-17 12:21:19 +00:00
denobot
a24a17cb9b
Rolling to V8 12.8.374.16 (#1573) 2024-08-17 11:02:05 +00:00
snek
ee7ab5465e
fix: ensure /Zl flag (#1572) 2024-08-16 18:55:37 +02:00
Divy Srivastava
733f79a08b
Revert "Add "to Rust string" benchmarks" (#1576)
Revert "Add "to Rust string" benchmarks (#1566)"

This reverts commit fa9db41e55.
2024-08-16 16:11:36 +05:30
Divy Srivastava
fa9db41e55
Add "to Rust string" benchmarks (#1566) 2024-08-16 09:45:12 +05:30
denobot
2116b671da
Rolling to V8 12.8.374.13 (#1570) 2024-08-15 07:07:46 +00:00
snek
68b96d1cae
feat: expose v8 version constants (#1569) 2024-08-13 22:01:04 +00:00
snek
82301490d5
feat: add UseCounterCallback (#1567) 2024-08-13 19:19:27 +02:00
snek
70e18db2ff
update fast calls api (#1564) 2024-08-13 18:15:34 +02:00
denobot
0d57670bac
Rolling to V8 12.8.374.10 (#1565) 2024-08-13 12:13:29 +00:00
denobot
c0285f9b53
Rolling to V8 12.8.374.8 (#1562) 2024-08-07 11:39:08 +00:00
snek
f4a706fc49
chore: update all v8 deps (#1554)
chore: track upstream buildtools
2024-08-07 12:17:50 +02:00
denobot
c6e5da196e
Rolling to V8 12.8.374.7 (#1561) 2024-08-06 14:06:00 +02:00
snek
ab06789237
version 0.102.0 (#1560) 2024-08-05 10:17:05 +00:00
denobot
f6eadc7b6e
Rolling to V8 12.8.374.6 (#1559) 2024-08-05 09:37:19 +00:00
snek
adf56a4f0f
feat: changes for vm (#1557) 2024-08-05 11:15:56 +02:00
denobot
654341e1bb
Rolling to V8 12.8.374.5 (#1555) 2024-08-02 17:07:59 +00:00
snek
47e30bb8dd
chore: disable android in ci (#1558) 2024-08-02 07:14:07 -07:00
Satya Rohith
93d18d3eb8
chore: upgrade to rust 1.80 (#1553) 2024-07-30 06:03:27 +00:00
snek
65bee4d15e
version 0.101.0 (#1552) 2024-07-27 18:33:57 +01:00
snek
0a478a0b2a
chore: binding cleanup (#1551) 2024-07-26 13:37:39 -07:00
snek
d22c1f9a3c
feat: upgrade ScriptOrigin (#1550) 2024-07-25 22:32:11 +00:00
snek
97291d7290
Roll V8 to include new patches (#1549) 2024-07-25 20:34:26 +00:00
snek
83573e5cff
add embedder suffix to v8 version (#1548) 2024-07-25 11:25:31 -07:00
denobot
7de48e7aa6
Rolling to V8 12.8.374.3 (#1547) 2024-07-25 08:33:55 -07:00
snek
fc864eaa64
v0.100.0 (#1546) 2024-07-24 21:22:09 +00:00
snek
d5da421046
feat: access with receiver (#1542) 2024-07-24 19:08:16 +00:00
snek
c9383c2184
fix: QueryCallback should use Integer (#1545) 2024-07-24 11:39:30 -07:00
denobot
634b1b99d9
Rolling to V8 12.8.374.2 (#1544) 2024-07-24 09:59:31 -07:00
snek
39631b31d6
feat: add String::ValueView (#1543) 2024-07-24 07:59:18 -07:00
snek
1e4b691905
feat: V8 12.8 (#1539) 2024-07-23 19:43:32 +00:00
Ryan Dahl
979f3d87d1
set v8_enable_private_mapping_fork_optimization = true (#1535) 2024-07-23 10:07:07 -04:00
snek
18c633d567
Update V8 to 12.8 (#1538) 2024-07-22 19:59:26 +00:00
Bartek Iwańczuk
f78694aefd
v0.98.2 (#1536) 2024-07-22 05:18:41 +02:00
Aapo Alasuutari
7b6451aed4
fix: ExternalOneByteStringResource is not guaranteed to be valid UTF-8 (#1532)
A subtle unsoundness / undefined behaviour made its way into the fairly recently added ExternalOneByteStringResource object: The as_str API is not sound as the data inside may be be Latin-1, not ASCII.

As the API was not used anywhere in deno or deno_core, I opted to simply remove it and replace it with an as_bytes API. I also modified the test to showcase the Latin-1 string case and added copious notes and explanations around the code to make sure this doesn't accidentally happen again. The likely reason why the API originally slipped in is because the OneByteConst has this API where it is safe because the OneByteConst creation checks the data for ASCII-ness.

I also tried to add an API to extract an Option<&'static OneByteConst> from an &ExternalOneByteStringResource but run into rust-lang/rust#119618 ie. OneByteConst is actually duplicating the vtables... which is not great.
2024-07-21 01:09:30 +02:00