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
Ryan Dahl
c5348817b7
Update V8 version in README ( #309 )
2020-03-14 20:10:12 -04:00
Bert Belder
bd8adcbf05
v0.3.5
2020-03-13 22:34:48 -07:00
Bert Belder
8a3c19ece4
Upgrade V8 to 8.2.308 ( #306 )
2020-03-13 22:05:16 -07:00
Bert Belder
3e63d63223
Download ninja and gn binaries from github ( #307 )
2020-03-13 21:52:35 -07:00
Bert Belder
eedcb91e92
Upgrade dependencies ( #305 )
2020-03-13 17:59:54 -07:00
Ryan Dahl
cf86bd77e1
Upgrade to rust 1.42.0 ( #305 )
2020-03-13 17:59:48 -07:00
Ben Noordhuis
0df04f2129
Add Isolate::take_heap_snapshot() ( #302 )
...
This doesn't really follow the current V8 API (it's pretty close to how
V8 used to be back in 2012 though.) However:
1. The C++ API is very C++-y and doesn't carry over well to Rust, and
2. It addresses the immediate need of being able to take heap snapshots.
Refs #298
2020-03-09 10:30:25 -07:00
Bert Belder
e1b59ec736
Implement 'Eq' and 'PartialEq' traits for local handles ( #301 )
2020-03-05 19:37:58 -08:00
Bert Belder
926f3a19da
Update generated types/traits, and generate more types ( #300 )
2020-03-05 17:42:55 -08:00
Ryan Dahl
d42099f9cc
Add comments to make_pod ( #295 )
...
Remove unused padding.
2020-02-28 17:48:59 -08:00
Bert Belder
5e99489c3b
Use make_pod to convert Global<T> to T* ( #297 )
2020-02-28 17:31:22 -08:00
Ryan Dahl
1f0d6e8f68
v0.3.4
2020-02-28 18:57:39 -05:00
Ryan Dahl
816b6ad537
Fix BackingStore segfault ( #294 )
2020-02-28 18:40:48 -05:00
Bert Belder
26cee7e327
v0.3.3
2020-02-25 17:24:59 -08:00
Bert Belder
3803e07065
Revert "Add HandleScope::new2 hack to construct from const ref ( #290 )"
...
It's not pretty, and we currently don't need it in Deno.
This reverts commit 4f0662ed57
.
2020-02-25 17:22:05 -08:00
Bert Belder
eba98e7a5e
Revert "Add ability to attach arbitrary state to Isolate ( #282 )"
...
This patch introduces a bug that breaks Deno.
This reverts commit 457f7ae779
.
2020-02-25 17:21:55 -08:00
Bert Belder
552ba261e2
v0.3.2
2020-02-24 18:47:21 -08:00
Bert Belder
155a5ed455
Upgrade crates ( #291 )
2020-02-24 18:47:11 -08:00
Ryan Dahl
4f0662ed57
Add HandleScope::new2 hack to construct from const ref ( #290 )
2020-02-20 03:14:19 -05:00