0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-30 16:41:03 -05:00
Commit graph

1053 commits

Author SHA1 Message Date
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
github-actions[bot]
a0972be7af
Rolling to V8 9.7.106.14 (#844) 2021-12-02 12:54:01 +01:00
Sujay Jayakar
62d33c4d7e
Add Function::GetScript{Line,Column}Number bindings (#843) 2021-11-30 21:55:41 +01:00
github-actions[bot]
ae223c78b4
Rolling to V8 9.7.106.13 (#842) 2021-11-30 11:50:20 +01:00
github-actions[bot]
885d20eb18
Rolling to V8 9.7.106.9 (#841) 2021-11-25 12:35:06 +01:00
github-actions[bot]
b98254c65f
Rolling to V8 9.7.106.8 (#838) 2021-11-22 11:29:32 +01:00
github-actions[bot]
3a728b4192
Rolling to V8 9.7.106.7 (#837) 2021-11-20 13:27:26 +01:00
Bert Belder
2122a69c08
v0.35.0 2021-11-17 11:43:19 -08:00
Bert Belder
e68117c097
chore: upgrade Rust to 1.56.1 (#835) 2021-11-17 11:42:39 -08:00
Bert Belder
c4c48f30b1
v8: fix segfault during concurrent isolate creation/disposal on Windows (#829)
This patch includes a test for this issue.

The V8 patch is intentionally left simple to avoid merge conflicts in
the future. To be landed upstream, the `unwindinfo_use_count_` would
probably have to be made non-atomic and we'd have to add a cctest.

Upstream bug: https://bugs.chromium.org/p/v8/issues/detail?id=12393

Fixes: #714
2021-11-17 09:52:27 -08:00
github-actions[bot]
1d4be506be
Rolling to V8 9.7.106.5 (#834) 2021-11-17 12:14:43 +01:00
Andreu Botella
aac37a6d4f
refactor: Have BackingStore::data return Option<NonNull<c_void>> (#817)
The pointer returned by `BackingStore::data` might be null if the
backing store has zero length, but the return type `*mut c_void` does
not force the user to consider this case. This change makes the return
type `Option<NonNull<c_void>>`, which is semantically equivalent, but
which forces users of the API to handle the `None` case.

This is a breaking API change.
2021-11-17 12:14:03 +01:00
github-actions[bot]
845aced92c
Rolling to V8 9.7.106.4 (#832) 2021-11-14 12:38:39 +01:00
Rafael Ávila de Espíndola
833d558038
chore: Specify the rust toolchain version (#821)
Tests in tests/compile_fail/ depend on a specific toolchain version. For
example, they currently fail with 1.58.0-nightly because of extra
warnings.
2021-11-12 12:59:49 -08:00
github-actions[bot]
87498de644
Rolling to V8 9.7.106.3 (#831) 2021-11-10 13:19:45 -05:00
Rafael Ávila de Espíndola
a043407ae8
Make lifetime in FunctionCallback signature more restrictive (#822)
This makes the callbacks themselves less restrictive. A test is added
the would fail to compile before.
2021-11-08 12:51:53 -08:00
Luca Casonato
6094410c8d
v0.34.0 2021-11-08 11:18:57 +01:00
Luca Casonato
3c07f08fe6
Track V8 9.7 (#826) 2021-11-08 01:24:14 +01:00
github-actions[bot]
7cc28c5e47
Rolling to V8 9.7.106.2 (#827)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-11-08 01:24:05 +01:00
github-actions[bot]
314fe76bf2
Rolling to V8 9.6.180.10 (#824) 2021-11-07 00:48:55 +01:00
Rafael Ávila de Espíndola
f399732ba0
Ignore environment variables set by cargo (#825)
This avoids constant rebuilds when alternating between running

$ cargo build
$ cargo run <something that runs cargo build>

Since the second command will see these environment variables set
during the logic deciding if build.rs should be rerun or not.

Since these are cargo specific variables, hopefully cargo already does
the right thing without our help.
2021-11-04 14:16:05 -04:00
Ryan Dahl
8297216a1c
Narrow dead_code allowance (#818) 2021-10-28 16:29:04 -04:00
Luca Casonato
57a00141d7
0.33.0 2021-10-27 16:54:09 +02:00
github-actions[bot]
c2fdf632c9
Rolling to V8 9.6.180.9 (#815) 2021-10-27 14:32:31 +02:00
Luca Casonato
5ee0a375f2
chore: rename rusty_v8 to v8 (#803) 2021-10-27 14:32:12 +02:00
github-actions[bot]
188105bec7
Rolling to V8 9.6.180.8 (#813) 2021-10-27 11:34:30 +02:00
Rafael Ávila de Espíndola
26d60b7dfe
Add missing cargo:rerun-if-env-changed (#807)
In addition to the problem described in issue #378, we noticed link
error when updating rusty_v8 without doing a clean build. As far as I
can tell, there were two potential bugs:

* Cargo not being informed that it should run build.rs when
  CARGO_PKG_VERSION changed.

* Even if build.rs was rerun, it would not download a new package. It
  seems that build.rs should either verify that the right package was
  downloaded or should just trust cargo to not rerun it when not
  needed.

Fixes: #378
2021-10-25 19:40:09 -04:00
Andreu Botella
2a21f5abf9
fix: Make derefing a zero-size BackingStore no longer UB (#809)
For zero-size `BackingStore`s, it seems like `BackingStore::data` always
returns a null pointer. The `Deref` impl for `BackingStore` called
`std::slice::from_raw_parts` on that pointer, even though it is UB to
call that function on a null pointer even for empty slices. This change
fixes that by obtaining a valid pointer from `NonNull::dangling()` if
the original is null.

Reported in
https://github.com/denoland/rusty_v8/issues/711#issuecomment-950637136.
2021-10-25 22:40:14 +02:00
Rafael Ávila de Espíndola
05b41b8b84
Add support for a RUSTY_V8_ARCHIVE environment variable (#812) 2021-10-25 16:35:19 -04:00
github-actions[bot]
7bf8f01974
Rolling to V8 9.6.180.7 (#811) 2021-10-25 18:19:01 +02:00
Luca Casonato
02426712f6
Track V8 v9.6 (#810) 2021-10-25 18:18:42 +02:00
github-actions[bot]
103a90fe6f
Rolling to V8 9.5.172.22 (#808) 2021-10-22 12:21:17 +02:00
github-actions[bot]
f03cff17e4
Rolling to V8 9.5.172.21 (#805) 2021-10-15 13:10:25 +02:00
Bert Belder
d478c450dd
Rename Handle::get() to Handle::open() instead (#806)
This also adds a deprecated `Global::get()` method to avoid unnecessarily
breaking a lot of users code.

Ref: #799
2021-10-13 21:45:10 +02:00
Rafael Ávila de Espíndola
8285b3da34
Rename Handle::get() to Handle::inner() (#799) 2021-10-13 16:47:34 +02:00
Luca Casonato
a0a0b37dfc
0.32.0 2021-10-11 17:37:51 +02:00
github-actions[bot]
c8e3031cf3
Rolling to V8 9.5.172.19 (#801) 2021-10-07 12:35:27 +02:00
Luca Casonato
85be17feed
Track V8 9.5 (#795) 2021-10-06 01:09:23 +02:00
github-actions[bot]
68b81f7b12
Rolling to V8 9.5.172.17 (#796) 2021-10-06 01:09:14 +02:00
Bartek Iwańczuk
2269bf293a
v0.31.0 2021-10-04 19:28:17 +02:00
github-actions[bot]
65c4a67c2f
Rolling to V8 9.4.146.19 (#793) 2021-10-04 18:48:10 +02:00
Aaron O'Mullan
6ccf15c69d
feat: Function::get/set_name() (#792)
Add bindings for v8::Function::GetName() and v8::Function::SetName()
2021-10-01 22:38:05 +02:00
github-actions[bot]
4e457758fe
Rolling to V8 9.4.146.18 (#791) 2021-09-30 17:27:49 +02:00
github-actions[bot]
469c145059
Rolling to V8 9.4.146.17 (#789) 2021-09-27 12:23:47 +02:00
Andreu Botella
b32d0b0540
feat: WasmStreaming::set_url, CompiledWasmModule::source_url (#786)
Needed for denoland/deno#12151
2021-09-22 14:34:39 -04:00
Aaron O'Mullan
c048052ca6
v0.30.0 (#784) 2021-09-22 12:45:12 +02:00
Aaron O'Mullan
0bd141c78d
Default to linking against release v8 builds (#783)
Unless $V8_FORCE_DEBUG=true to speedup CI for main deno repo
2021-09-22 12:02:55 +02:00
Ryan Dahl
b6537573c4
v0.29.0 2021-09-18 10:46:36 -04:00