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
Bartek Iwańczuk
558742e9b5
add test for multiple snapshots 2022-09-28 13:07:20 +02:00
Bartek Iwańczuk
90cd7401de
v8::Context::from_snapshot() 2022-09-28 13:07:19 +02:00
Bartek Iwańczuk
bc41fd3b0d
SnapshotCreator::add_context 2022-09-28 13:07:19 +02:00
Bartek Iwańczuk
25b6329bf5
fmt 2022-09-28 13:07:17 +02:00
crowlkats
6f671c05d0
add from impls for startupdata 2022-09-28 13:05:56 +02:00
crowlkats
fbb081e55f
fix 2022-09-28 13:05:46 +02:00
Bartek Iwańczuk
4196df8b5f
update after merge 2022-09-28 13:05:23 +02:00
Bartek Iwańczuk
dc66ab10fc
temp 2022-09-28 13:05:23 +02:00
crowlkats
15c9a52781
fix & clean 2022-09-28 13:05:23 +02:00
crowlkats
f4a35fe7e5
add existing_blob to SnapshotCreator constructor 2022-09-28 13:05:17 +02:00
Ryan Dahl
4e08bd7917
v0.51.0 2022-09-21 03:29:34 +00:00
Divy Srivastava
9f78b0abe7
Inline API functions (#1078) 2022-09-21 08:15:33 +05:30
Divy Srivastava
6444cb9d61
Add benchmarks for V8 native function calls (#1079) 2022-09-20 18:54:44 +05:30
Divy Srivastava
c549b19df3
fastcall: Fix get_storage_if_aligned for non-uint8arrays (#1077) 2022-09-20 17:55:15 +05:30
Aapo Alasuutari
2ba52ed276
fix(fastcall): Fix options.data representation (#1074) 2022-09-20 09:57:23 +05:30
Ryan Dahl
0d1ada4387
chore: small clean ups (#1073) 2022-09-19 09:33:58 +02:00
Ben Noordhuis
5cc0a8556a
Build with v8_typed_array_max_size_in_heap=0 (#1070)
Ensure allocation of typed arrays and arraybuffers always goes through
the embedder's ArrayBufferAllocator, otherwise small buffers get moved
around by the garbage collector but embedders normally want them to have
fixed addresses.
2022-09-19 00:35:30 +02:00
Ryan Dahl
d41dc37a40
Track 10.7-lkgr (#1071) 2022-09-18 23:50:11 +02:00
denobot
93b31cc254
Rolling to V8 10.7.193.3 (#1072) 2022-09-18 23:49:57 +02:00
Divy Srivastava
fd135e4289
v0.50.0 2022-09-16 13:52:43 +00:00
Divy Srivastava
31291f64a6
Add v8::ArrayBuffer::Data (#1068) 2022-09-16 11:30:05 +02:00
Darshan Sen
780eb7946b
fix: property_attribute operator (#1067)
property_attribute previously had an addition operator overload which
doesn't make much sense in comparison to the corresponding V8
enumeration. This changes that to a bitor overload.

Signed-off-by: Darshan Sen <raisinten@gmail.com>
2022-09-13 08:48:53 -04:00
Darshan Sen
dbf19c8545
Improve Object::get_property_names() and Object::get_own_property_names() (#1049)
This change allows the customization of the behavior of
v8::Object::GetOwnPropertyNames() and v8::Object::GetPropertyNames() by
accepting all the options that the raw V8 API supports.

Signed-off-by: Darshan Sen <raisinten@gmail.com>
2022-09-03 18:11:40 +02:00
Ryan Dahl
1f3e0e1d54
fix: auto_update_v8 README regex (#1061) 2022-08-27 09:44:12 -07:00
Will Glozer
746f7a3a56
Fix creation of invalid librusty_v8.a (#1059) 2022-08-26 10:16:20 -04:00
Ryan Dahl
169d5d6ea0
Remove zlib dependency (#1058)
Deno does its own snapshot compression using lz4 and zstd, so no need to
build zlib into V8. See https://github.com/denoland/deno/pull/13320
2022-08-23 13:52:59 -04:00
Ryan Dahl
88f7055e59
Fix version in readme (#1056) 2022-08-23 06:43:10 -04:00
Bartek Iwańczuk
c395d0eada
v0.49.0 2022-08-22 23:41:35 +02:00
Bartek Iwańczuk
05c3e5584e
Track v8 10.6 (#1054) 2022-08-22 22:07:44 +02:00
denobot
e5d33ba970
Rolling to V8 10.6.194.5 (#1042) 2022-08-22 22:07:29 +02:00
Will Glozer
fa01b39f32
Fix compilation for 32-bit targets (#1050) 2022-08-21 10:16:43 +05:30
Bartek Iwańczuk
a9595da180
v0.48.1 2022-08-14 16:25:21 +02:00
Bartek Iwańczuk
4b3b081c03
Add support for Fast calls with Uint8Array (#1047) 2022-08-13 19:56:29 +02:00
Bartek Iwańczuk
33e426bfe4
Export WasmAsyncSuccess enum, change signature of WasmAsyncResolvePro… (#1046)
Export WasmAsyncSuccess enum, change signature of WasmAsyncResolvePromiseCallback
2022-08-13 17:55:56 +02:00
Divy Srivastava
606fee5ec7
support V8 FastApiCallbackOptions (#1044) 2022-08-03 16:07:18 +05:30
Ryan Dahl
3fbf87aa4b
refactor: remove unnecessary complexity from build.rs (#963)
- remove friendly build script output in favor of brevity
- Revert "Add support for generating a `clangd` compilation database (#823)"
- simplify subprocess invocations
2022-07-26 13:21:23 -04:00
Bartek Iwańczuk
9f8abf5350
v0.48.0 (#1037) 2022-07-25 23:26:23 +02:00
Bartek Iwańczuk
c0e336dabb
Track v8 10.5 (#1034) 2022-07-25 20:14:31 +02:00
denobot
21a8d4a580
Rolling to V8 10.5.218.1 (#1036)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-07-25 19:22:32 +02:00
Bartek Iwańczuk
b178f1faa0
v0.47.0 2022-07-19 19:26:42 +02:00
denobot
7e513711a0
Rolling to V8 10.4.132.20 (#1033) 2022-07-18 14:33:05 +02:00
Divy Srivastava
3be46ecc52
Support Fast API Overloads (#1031) 2022-07-16 19:57:58 +05:30
Ryan Dahl
5c42d601cf
v0.46.0 2022-07-13 14:51:18 -04:00
Divy Srivastava
08e1a1c361
Add v8::Object [Get/Set]AlignedPointer[From/In]InternalField (#1026) 2022-07-13 12:35:31 +05:30
Bartek Iwańczuk
2193d827b9
feat: WasmAsyncResolvePromiseCallback (#1029) 2022-07-13 07:51:10 +02:00
Aapo Alasuutari
d8480fc7ef
Add Uint32 / Int32 Value method bindings (#1030) 2022-07-13 09:33:55 +05:30
denobot
d2db387448
Rolling to V8 10.4.132.16 (#1012) 2022-07-12 22:27:57 +00:00
Ryan Dahl
53299dceb4
Add back gn args --list on build (#1013) 2022-07-08 10:55:58 -04:00
Ryan Dahl
8dfb1e6559
v0.45.0 2022-07-08 07:32:51 -04:00
Divy Srivastava
47a7bece35
V8 Fast API Sequence (#1022)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-07-08 08:54:24 +05:30