0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-24 15:19:31 -05:00
Commit graph

1287 commits

Author SHA1 Message Date
Luca Casonato
8baec0f34f
to_rust_cow_lossy 2024-11-11 15:33:50 +01:00
Luca Casonato
ac7fadce6f
add method to ValueView 2024-11-11 11:17:53 +01:00
Luca Casonato
2a2de457ec
try 2024-11-11 11:17:53 +01:00
Luca Casonato
6fcb6a9a0c
perf: speed up v8::String::to_rust_*_lossy()
This commit speeds up this common conversion
method between by 2x for many common cases. Short
one byte ASCII strings are now 20% faster. Longer
one byte ASCII strings are 2.5x faster. Short UTF8
strings are marginally slower (5%) but longer UTF8
strings are upwards of 2x faster.

A follow up will make the short UTF8 strings about
2x faster than the current implementation as well.
2024-11-11 11:17:53 +01:00
Blanky
e67f11bf79
Improves documentation for HostImportModuleDynamicallyCallback (#1658)
Improves documentation for ostImportModuleDynamicallyCallback
2024-11-04 20:51:51 +01:00
snek
a81cafd4cd
bump to 130.0.1 (#1660) 2024-11-04 11:03:41 +00:00
snek
06e98a67d8
fix: glibc version (#1659)
go back to 22.04 to fix glibc version. updates clang for newer features used in v8. also requires a rust toolchain upgrade to build correctly for mysterious and unknown reasons.
2024-11-04 11:08:49 +01:00
Nathan Whitaker
428b1765d2
Update version to 130.0.0 (#1653)
update to 130.0.0
2024-10-29 22:09:18 +00:00
Nathan Whitaker
ee02ebe3a7
chore: bump version to v129.1.0 (#1652)
bump version to 129.1.0
2024-10-29 12:58:46 -07:00
Nathan Whitaker
2509b0ba62
feat: add binding for ResourceConstraints::ConfigureDefaults (#1651)
* add binding for `ResourceConstraints::ConfigureDefaults`

* fmt

* fix types
2024-10-29 10:56:35 -07:00
snek
b0364c0c5e
Track V8 13.1 (#1646) 2024-10-19 00:03:04 +00:00
denobot
76993057fd
Rolling to V8 13.0.245.12 (#1627)
* Rolling to V8 13.0.245.12

Co-authored-by: snek <the@snek.dev>
2024-10-19 00:08:58 +02:00
Nathan Whitaker
a076d03990
Update bindgen to fix builds with LLVM 19.1 (#1639)
Update bindgen
2024-10-09 22:08:57 +00:00
Ryan Dahl
ab019251a4
Stabilize: Release version 129.0.0 of Rusty V8 (#1633) 2024-09-23 17:36:38 -07:00
snek
dd84fa398e
feat: add TransferSharedArrayBuffer (#1619) 2024-09-16 17:03:45 -07:00
snek
42112f0fc3
Track V8 13.0 (#1626) 2024-09-16 23:50:53 +00:00
denobot
a1d7680610
Rolling to V8 12.9.202.18 (#1624) 2024-09-14 10:46:25 -07:00
denobot
b04640d3f6
Rolling to V8 12.9.202.17 (#1621) 2024-09-13 07:07:35 -07:00
snek
a729b2471c
fix cppgc docs (#1618) 2024-09-12 08:23:09 -07:00
denobot
8d5924f48e
Rolling to V8 12.9.202.16 (#1617) 2024-09-11 08:10:13 -07:00
denobot
7bfeb45649
Rolling to V8 12.9.202.15 (#1616) 2024-09-10 09:06:44 -07:00
denobot
8621b19a48
Rolling to V8 12.9.202.14 (#1614) 2024-09-09 16:18:38 +00:00
snek
e5fc768507
upgrade deprecated workflow actions (#1612) 2024-09-06 21:09:04 -07:00
snek
e9f20a2493
Update to v0.106.0 (#1609) 2024-09-06 16:58:11 -07:00
snek
b2ef529146
feat: cppgc NameProvider (#1528) 2024-09-06 22:35:35 +00:00
snek
8a5f484c71
re-add deprecated cppgc api (#1611) 2024-09-06 19:04:19 +00:00
denobot
bca14ac66d
Rolling to V8 12.9.202.13 (#1610) 2024-09-06 10:51:10 -07:00
denobot
b5f6fa5c64
Rolling to V8 12.9.202.12 (#1608) 2024-09-05 10:39:04 -07:00
snek
a97d89614e
feat: add Module::is_graph_async (#1607) 2024-09-04 18:00:29 -07:00
snek
9f37bb80df
download ninja/gn from cipd (#1605) 2024-09-04 17:38:37 -07:00
denobot
243c93d304
Rolling to V8 12.9.202.11 (#1606) 2024-09-04 09:13:18 -07:00
Nathan Whitaker
064606df78
Update to v0.105.1 (#1603)
Bump version to 0.105.1
2024-09-03 13:54:56 -07:00
denobot
14154f314b
Rolling to V8 12.9.202.9 (#1601) 2024-09-02 09:31:04 -07:00
denobot
7b268b92db
Rolling to V8 12.9.202.8 (#1600) 2024-09-01 22:41:54 +00:00
denobot
c01d6a1a4a
Rolling to V8 12.9.202.7 (#1598) 2024-08-30 18:02:28 +00:00
Nathan Whitaker
eb29f6bd8c
fix: Check for null pointer returned by ValueSerializer::Release (#1599)
* Check for null ptr during release

* Add to test

* Reorder
2024-08-29 23:10:06 +00:00
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