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
Bert Belder
1cedb0eb21
fix: re-enable v8 snapshot compression ( #864 )
...
It was disabled upstream¹, citing a minimal size bump of ~400 kB.
However Deno got ~24 MB bigger, which is unacceptable.
¹ https://chromium-review.googlesource.com/c/v8/v8/+/3275554
2022-01-07 16:29:12 -08:00
github-actions[bot]
bab4467e4d
Rolling to V8 9.8.177.5 ( #863 )
2022-01-07 11:56:29 +01:00
Divy Srivastava
a29740df6b
Add aarch64-linux-android support ( #860 )
2022-01-04 21:32:48 +01:00
Aaron O'Mullan
b3e09e69a0
feat: v8::StackTrace::CurrentStackTrace() bindings ( #800 )
2021-12-28 16:52:12 +01:00
github-actions[bot]
d43c4a95ac
Rolling to V8 9.8.177.4 ( #859 )
2021-12-28 11:26:03 +01:00
github-actions[bot]
df789e451d
Rolling to V8 9.8.177.3 ( #858 )
2021-12-20 11:49:58 +01:00
Bert Belder
fd7f3abf44
v0.37.0
2021-12-14 21:26:29 -08:00
Bert Belder
65e78fd960
chore: upgrade Rust to 1.57.0 ( #856 )
2021-12-14 21:25:10 -08:00
Rafael Ávila de Espíndola
9a80684b03
Fix the build with python 3.10 ( #855 )
...
This updates jinja2 to ee69aa00ee8536f61db6a451f3858745cf587de6, which
is the version in v8's DEPS. This version is compatible with python
3.10.
2021-12-14 14:35:38 -05:00
Andreu Botella
06648dd1bd
fix: segfault when dropping BackingStore
constructed from empty slice ( #851 )
...
This fixes in a segmentation fault when dropping a `BackingStore`
constructed through `ArrayBuffer::new_backing_store_from_boxed_slice()`
from an empty slice, since zero length boxed slices are invalid
(dangling) pointers, while Rust expects a `Box<c_void>` to always be a
valid pointer.
Fixes: #849
2021-12-13 15:37:59 -08:00
Bert Belder
251f1e9ac9
fix: url
param to v8::WasmStreaming::SetUrl()
must be null terminated ( #854 )
2021-12-12 21:25:11 -08:00
Bert Belder
b6a16916ce
test: don't use --harmony-top-level-await
flag ( #854 )
...
Top level await is now enabled by default and the flag no longer exists.
2021-12-12 21:25:01 -08:00
denobot
cd5b2fa148
Rolling to V8 9.8.177.2 ( #854 )
2021-12-12 20:01:45 -08:00
Bert Belder
b5555e804b
Track V8 9.8 ( #853 )
2021-12-12 18:35:29 -08:00
github-actions[bot]
ed1bf3a48d
Rolling to V8 9.7.106.17 ( #850 )
2021-12-11 07:23:43 -05:00
Andreu Botella
8bea9b1f40
Add support for generating a clangd
compilation database ( #823 )
...
This will help with IDE integration of the C++ part of the code.
Ref: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/clangd.md
2021-12-11 11:16:43 +01:00
github-actions[bot]
b09f6400b7
Rolling to V8 9.7.106.16 ( #847 )
...
Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
2021-12-06 11:35:27 +01:00
Luca Casonato
034bee69e1
0.36.0
2021-12-03 14:21:45 +01:00
github-actions[bot]
0fb1ad288e
Rolling to V8 9.7.106.15 ( #845 )
2021-12-03 14:00:42 +01:00