0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-29 02:29:10 -05:00
Commit graph

1075 commits

Author SHA1 Message Date
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
Ryan Dahl
d3bbd05634
Add new terminate_execution test (#288) 2020-02-19 22:55:44 -05:00
Ryan Dahl
2aeb4e0cef
Disable broken aarch64 CI build (#289) 2020-02-19 22:37:25 -05:00
Ryan Dahl
9b83495976
don't publish from arm64 build (#286)
fixing https://github.com/denoland/rusty_v8/runs/454491681
2020-02-19 00:45:10 -05:00
Ryan Dahl
fd286aaf34 v0.3.1 2020-02-19 00:01:22 -05:00
Ryan Dahl
457f7ae779
Add ability to attach arbitrary state to Isolate (#282) 2020-02-18 23:46:00 -05:00
Ben Noordhuis
5d0b9fd760
Add some Array methods (#283) 2020-02-14 09:42:54 -05:00
Ryan Dahl
554f06f6bc
Fix get_slot and set_slot (#281) 2020-02-13 15:03:25 -05:00
Bert Belder
3dacbd396e
Fix use-after-free bug in IsolateHandle::dispose_isolate() (#280)
This function acquires a mutex lock which, prior to this patch, would be
unlocked _after_ releasing the IsolateAnnex memory allocation where the
mutex was stored.
2020-02-13 02:56:19 -08:00
Bert Belder
ddc8062644
Move get_*_context() methods to scope::Entered, remove InContext trait (#279)
The `get_current_context()` and `get_entered_or_microtask_context()`
methods now return `Option<Local<Context>>` to reflect that an isolate
may not have entered any context.

They're also moved from `Isolate` to `struct Entered` because it turns
out that the underlying V8 API calls actually create new local handles,
hence they should only be used inside an active HandleScope.

The `InContext` trait has been removed.

A test exercising `ContextScope` and the `get_*_context()` methods
mentioned above was added.

Closes: #248.
2020-02-12 22:00:31 -08:00
Andy Finch
ffdf69bd00
Add AArch64/ARM64 builds and tests (#266) 2020-02-12 18:43:38 -08:00
Bert Belder
432edd9f24
Split compile_fail tests to have only one error in each test (#277) 2020-02-12 15:21:02 -08:00
Ryan Dahl
47aafbc62e
Add compile_fail test for boxed Local (#275) 2020-02-12 14:45:14 -08:00
Ryan Dahl
d893a050c0 v0.3.0 2020-02-12 11:46:28 -05:00