0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-24 08:09:16 -05:00
Commit graph

769 commits

Author SHA1 Message Date
Aaron O'Mullan
7772779210
feat: v8::ArrayBuffer::new_backing_store_from_vec (#946)
So we can avoid `.into_boxed_slice()` calls which may require a (costly) memmove when instantiating from a Vec
2022-04-20 19:36:10 +02:00
Bert Belder
7a5d1cd10c
Rolling to V8 10.0.139.17 (#944)
Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
2022-04-20 11:52:46 -04:00
DjDeveloper
aa9f78e09c
feat: ArrayBuffer::new_backing_store_from_ptr (#926) 2022-04-05 15:55:25 +02:00
Eliaz Bobadilla
b01e9de8c1
chore: bump actions/checkout (#928)
https://github.com/actions/checkout\#checkout-v3
2022-03-30 22:24:54 +05:30
github-actions[bot]
4256f960d5
Rolling to V8 10.0.139.7 (#930) 2022-03-25 16:40:25 +01:00
Bert Belder
48cc6cb791
Sync V8 heap object type hierarchy with C++ (#929) 2022-03-25 03:15:30 +01:00
Bert Belder
25dd770570
perf: avoid double boxing of Arc/Box/Rc in Isolate slot (#925) 2022-03-21 11:50:45 +01:00
Arthur Silva
43893f726d
Add crate feature that controls whether custom libcxx is used (#924)
The `use_custom_libcxx` feature is enabled by default. When this feature
is disabled, the crate will link with the system libcxx instead.
2022-03-16 16:20:09 +01:00
Luca Casonato
0c43be27a1
Ignore more unnecessary ICU data (#923) 2022-03-11 13:39:35 +01:00
Luca Casonato
0e3f9c574a
v0.41.0 2022-03-10 23:54:15 +01:00
Aaron O'Mullan
aaacaa292f
feat: raw APIs to build v8::Functions from ptrs (#917)
Unblocks https://github.com/denoland/deno/pull/13861

The MapFnTo trait is quite contrived and can't be turned into a trait object thus blocking declarative ops
2022-03-10 23:04:48 +01:00
Ryan Dahl
184467a9cc
Upgrade to ICU 70 (#919) 2022-03-10 09:27:22 -08:00
Luca Casonato
15bf751387
chore: track v8 10.0 (#914) 2022-03-09 14:42:04 +01:00
github-actions[bot]
b91d363d2f
Rolling to V8 10.0.139.6 (#915)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-03-09 14:41:46 +01:00
github-actions[bot]
482bf615e3
Rolling to V8 9.9.115.9 (#913) 2022-03-08 11:44:18 +01:00
Divy Srivastava
2d01b02591
v0.40.2 2022-03-03 08:28:08 +05:30
github-actions[bot]
9b7780da1d
Rolling to V8 9.9.115.8 (#907) 2022-03-02 17:16:07 -08:00
Divy Srivastava
6b0dcdb440
chore: upgrade Rust to 1.59.0 (#909) 2022-03-02 17:30:58 +05:30
Divy Srivastava
90f2f79c42
Add ObjectTemplate::set_accessor_property (#908) 2022-03-02 15:40:54 +05:30
Bert Belder
0ce68a675f
fix: Global::from_raw() should not create a new Global (#906) 2022-02-24 18:15:54 -08:00
Divy Srivastava
07bd917803
v0.40.1 2022-02-23 13:13:03 +05:30
Romain Marcadier
2404d208f5
feat: add bindings for String::kMaxLength and TypedArray::kMaxLength (#904) 2022-02-22 21:23:28 -08:00
Divy Srivastava
fe447c88df
feat: support adding raw pointers to ExternalReferences (#901) 2022-02-18 16:08:54 -08:00
Bartek Iwańczuk
da7ef32ead
feat: v8::Global::from_raw, v8::Global::into_raw (#902)
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2022-02-18 01:26:00 +01:00
Luca Casonato
4c0ee77600
v0.40.0 2022-02-16 11:57:00 +01:00
Divy Srivastava
41003d097d
Add v8::FunctionCallbackInfo::NewTarget bindings (#898) 2022-02-11 20:51:13 +05:30
Divy Srivastava
378631e793
Add v8::Object::HasOwnProperty bindings (#897) 2022-02-11 10:04:14 +05:30
Divy Srivastava
0f34359fb4
Add v8::Value::InstanceOf bindings (#879) 2022-02-11 08:27:56 +05:30
github-actions[bot]
cc41870e68
Rolling to V8 9.9.115.7 (#896) 2022-02-09 12:48:41 +01:00
Divy Srivastava
c211abe618
chore: don't run auto update on forks (#891) 2022-02-07 08:39:30 +05:30
github-actions[bot]
ffb5967dfb
Rolling to V8 9.9.115.6 (#890) 2022-02-05 12:52:34 +01:00
Romain Marcadier
db7229ef14
Add bindings for v8::ScriptCompiler::CreateCodeCacheForFunction (#888) 2022-02-04 06:29:53 -08:00
Luca Casonato
8b90dfd2f4
v0.39.0 2022-02-02 12:44:32 +01:00
github-actions[bot]
b12987ac81
Rolling to V8 9.9.115.5 (#887)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-02-02 00:51:14 +01:00
Luca Casonato
11f633927b
Track V8 9.9 (#886) 2022-02-02 00:46:33 +01:00
Romain Marcadier
a09d392711
Make v8::script_compiler::Source.get_cached_data return Option (#885)
The `cached_data` property of `Source` is optional, so reading the value
should return `Option<&CachedData>`.
2022-02-01 01:15:49 +01:00
github-actions[bot]
e791bf1ef0
Rolling to V8 9.8.177.9 (#883) 2022-01-27 12:16:52 +01:00
Romain Marcadier
729c5b323f
Add support for v8::Object.set_integrity_level (#874)
This allows making objects frozen or sealed from rust code. This is
useful to control mutations that are allowed to happen in JS on the
given object.
2022-01-24 11:09:05 +01:00
Divy Srivastava
4b5514711a
Add v8::Isolate:AdjustAmountOfExternalAllocatedMemory bindings (#880) 2022-01-23 22:49:29 +05:30
github-actions[bot]
e7e8ada2be
Rolling to V8 9.8.177.8 (#878) 2022-01-22 12:37:05 +01:00
Ben Noordhuis
8e9fd60e79
Fix unused import warning (#875) 2022-01-22 04:10:38 +01:00
Ben Noordhuis
f77ab69834
chore: remove "stop sscache" ci step (#876)
Fails regularly and inexplicably even though installing and starting
sscache works just fine:

    /home/runner/work/_temp/c2b88417-fdca-4378-b8c3-66cea7ddc094.sh:
    line 1: sccache: command not found

It's probably a path issue but as there doesn't seem to be much point in
stopping it explicitly, I'm opting to simply remove that CI build step
altogether.
2022-01-22 04:10:00 +01:00
github-actions[bot]
4cf2f55d43
Rolling to V8 9.8.177.7 (#873) 2022-01-21 12:25:08 +01:00
Romain Marcadier
2180716923
Add v8::Map bindings (#872)
Support v8::Map operations (`new`, `clear`, `get`, `set`, `has`,
and `delete`).
2022-01-19 19:01:55 +01:00
Luca Casonato
a4db61ae50
v0.38.1 2022-01-19 12:06:56 +01:00
Divy Srivastava
d171fbb890
fix: separate out android example into crate (#871) 2022-01-19 16:09:07 +05:30
Luca Casonato
107c11905c
v0.38.0 2022-01-18 19:55:42 +01:00
github-actions[bot]
2fdcc0c629
Rolling to V8 9.8.177.6 (#868) 2022-01-13 20:42:59 +01:00
Bartek Iwańczuk
c3fbccf674
ci: update runner from ubuntu-latest-xl to ubuntu-20.04-xl (#867)
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2022-01-12 16:01:55 -08:00
Bert Belder
3315ccd4e9
Disable snapshot compression on all platforms (#865)
It turns out that the embedder can selectively compress snapshots,
resulting in better startup performance and a smaller binary size.

See https://github.com/denoland/deno/pull/13320.
2022-01-10 09:48:58 -08:00