Bert Belder
0d1cea92cb
Upgrade crates ( #369 )
2020-05-06 07:45:05 +02:00
Bert Belder
12f444841b
Update V8 version in readme ( #369 )
2020-05-06 07:45:05 +02:00
Bert Belder
9ad0d35718
Upgrade V8 to 8.4.300 ( #368 )
2020-05-06 03:48:19 +02:00
Bert Belder
041bcd1797
Use a Github Actions cache version that works ( #368 )
2020-05-06 03:48:19 +02:00
Ryan Dahl
11340c9ca3
There should be a single entry point for creating IsolateHandle ( #361 )
2020-04-23 16:46:53 -04:00
Bert Belder
db5bbf6e43
Move 'create_param_allocations' from OwnedIsolate to IsolateAnnex ( #365 )
2020-04-23 20:15:39 +02:00
Bert Belder
cc626550b1
Explicitly drop slots when disposing an isolate ( #364 )
2020-04-23 19:48:07 +02:00
Bert Belder
ce54d39929
Clarify the purpose of the mutex in struct IsolateAnnex ( #363 )
2020-04-23 19:22:05 +02:00
Bartek Iwańczuk
3aa1c961dc
upgrade: rust 1.43.0 ( #362 )
2020-04-23 19:21:22 +02:00
Bert Belder
0d636de447
Add safe alternative to get_data/set_data ( #360 )
2020-04-23 03:34:28 -04:00
Bert Belder
92389f3321
v0.4.0
2020-04-22 19:24:18 +02:00
Bert Belder
8dfbd3d34c
Upgrade crates ( #358 )
2020-04-22 19:22:34 +02:00
Bert Belder
05782b846f
Make Isolate take ownership of CreateParams ( #357 )
2020-04-20 21:18:03 +02:00
Bert Belder
fc582316db
Refactor C++ shared pointer wrappers ( #355 )
...
* Add `SharedPtr` as a nullable sibling to `SharedRef`.
* Add `Borrow`, `AsRef` and `AsMut` implementations as appropriate.
* `SharedRef<T>` now derefs to `T` rather than to `UnsafeCell<T>`.
* `array_buffer::BackingStore` now derefs to `[Cell<u8>]`.
2020-04-20 19:38:08 +02:00
Bert Belder
d3a6c1403b
Fix race condition in v8::platform::Task tests ( #355 )
2020-04-20 19:19:00 +02:00
Bert Belder
3d0a90c1c8
Clippy ( #354 )
2020-04-16 15:35:27 +02:00
Bert Belder
b85346047e
Remove the 'Delete' trait, use regular 'Drop' instead ( #353 )
2020-04-16 05:24:07 +02:00
Bert Belder
256b6710d0
Remove transmutes from UniquePtr/UniqueRef implementation ( #352 )
2020-04-16 03:21:11 +02:00
Bert Belder
9ef9c5f871
Make all V8 heap object types subtypes of v8::Data ( #351 )
...
In v8.h, not all heap object classes actually derive from `v8::Data`,
but this seems to be a mistake, because this hierarchy does definitely
exists in V8's internal source code.
2020-04-15 23:56:59 +02:00
Bert Belder
16d6ca2398
Re-generate data.rs from the latest version of v8.h ( #351 )
2020-04-15 23:23:20 +02:00
Bert Belder
bb448d3e00
Upgrade dependencies ( #350 )
2020-04-15 20:57:25 +02:00
Bert Belder
79d0bca2c7
Add 'restore-keys' to Github Actions config to avoid unnecessary recompilation ( #350 )
2020-04-15 20:37:53 +02:00
Bert Belder
d1ac68f0c8
Always use raw pointers to send V8 handles between C++ and Rust ( #349 )
...
And other pointer usage touch-ups on the C++ side:
- const parameters are passed by & reference.
- mutable parameters are passed by * pointer.
2020-04-14 00:34:32 +02:00
Bert Belder
675d585977
Add binding for v8__internal__GetIsolateFromHeapObject() ( #348 )
2020-04-13 02:18:05 +02:00
Bert Belder
2b08fd1651
Format source code ( #348 )
2020-04-13 00:48:59 +02:00
Ryan Dahl
7b1cd84f4f
v0.3.11
2020-04-09 14:26:31 -04:00
Bert Belder
4a870fcccd
Re-enable AArch64/ARM64 builds on Github Actions ( #343 )
2020-04-05 06:44:11 +02:00
Bert Belder
fb08c1bf22
Use 'use_sysroot=false' by default, override only for ARM64 builds ( #342 )
2020-04-05 04:57:20 +02:00
laiso
858335663d
Fix retry process in tools/download_file.py ( #336 )
2020-04-05 04:46:53 +02:00
Bert Belder
26cda9305e
Format .github/workflows/ci.yml ( #241 )
2020-04-05 04:18:52 +02:00
Bert Belder
be179154a4
Fix CI, simplify workflow, and use Github Actions cache instead of S3 ( #340 )
2020-04-05 03:14:32 +02:00
Ryan Dahl
054f6daae2
fix: double rebuild when running ui tests ( #338 )
2020-04-04 22:11:29 +02:00
FrankBlue
5a5bad9adf
add Map::size and Map::as_array ( #333 )
2020-04-02 13:37:13 -04:00
Ryan Dahl
5e879cfa04
v0.3.10
2020-04-01 20:24:39 -04:00
Ryan Dahl
fc948f4983
Merge all inspector bindings into one file ( #331 )
...
The file naming in the current src/inspector/ directory is inconsistent and difficult to
navigate. It will be simpler if we just put them all in one place since they're rather
interconnected.
2020-04-01 20:19:07 -04:00
Michał Sabiniarz
bb0be74b0b
add v8::Proxy ( #330 )
2020-04-01 17:47:19 -04:00
Ryan Dahl
7b5e4e99d0
Revert commit in //build which break Mac High Sierra build ( #329 )
...
ref https://github.com/denoland/rusty_v8/issues/328#issuecomment-605701164
2020-03-29 20:45:10 -04:00
Ryan Dahl
4e7f6ac8b1
v0.3.9
2020-03-27 17:53:34 -04:00
Ryan Dahl
c7262e8994
Default to binary build, instead of from source ( #325 )
2020-03-27 16:17:19 -04:00
Max Bruce
6bf57abb5c
Implement GetPrototype and SetPrototype on objects ( #321 )
2020-03-23 11:39:43 -04:00
Ryan Dahl
c9b820894e
Simplify .gn file ( #315 )
2020-03-22 00:09:24 +01:00
Bert Belder
7a15b5e286
Enable clang flag '-gno-inline-line-tables' on all platforms ( #320 )
2020-03-18 15:13:36 -07:00
Ryan Dahl
d70088fa06
ci: Use github action's cache ( #319 )
...
We don't have many crate deps, but this is free and reduces sccache load slightly.
2020-03-18 10:48:34 -04:00
Ryan Dahl
27307515e2
v0.3.8
2020-03-17 20:32:21 -04:00
Ryan Dahl
e13567d89f
Use env var V8_BINARY instead of cargo feature
2020-03-17 20:32:21 -04:00
Ryan Dahl
323f5ee3e7
v0.3.7
2020-03-17 18:12:45 -04:00
Ryan Dahl
51d4e6b740
Support binary downloads ( #316 )
...
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-03-17 17:59:37 -04:00
Ryan Dahl
97088f4eb1
v0.3.6
2020-03-16 16:14:47 -04:00
Ryan Dahl
35cc92caab
ci: push librusty_v8.a binaries to github releases ( #311 )
...
Also enable release builds for linux and mac.
2020-03-16 15:42:51 -04:00
Kevin (Kun) "Kassimo" Qian
747f513cba
Add v8::Function::new_with_data to attach associated data ( #310 )
2020-03-14 22:42:18 -04:00