0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-26 16:09:37 -05:00
Commit graph

229 commits

Author SHA1 Message Date
Bert Belder
6925e78819
Do not export Isolate::enter() and Isolate::exit() methods (#217) 2020-01-17 08:57:27 +01:00
Bert Belder
fb19eecc31
Rename new_null() to null() and new_undefined() to undefined() (#216)
This is more consistent with V8's C++ API.
2020-01-17 08:34:48 +01:00
Bert Belder
d4cd5d2733
Move error constructors and helper functions under v8::Exception (#215)
* The purpose of this change is to match the C++ API more closely.
* This patch also increases consistency between the 'extern "C"'
  function definitions on the Rust side with those on the C++ side.
* The 'message' parameter (a v8::String) to the various error
  constructors no longer needs to be mutable.
2020-01-17 08:22:16 +01:00
Bert Belder
bed0088550
Make function signature of 'AccessorNameGetterCallback' match C++ (#214) 2020-01-17 07:39:05 +01:00
Bert Belder
7862af65e0
Make Function::call() more efficient and more idiomatic (#213) 2020-01-17 03:59:42 +01:00
Bert Belder
1a65b6cf6b
Format binding.cc (#213) 2020-01-17 03:56:04 +01:00
Bert Belder
b09df9b552
Fix bug in v8::create_message() argument lifetimes (#212) 2020-01-17 02:24:41 +01:00
Bartek Iwańczuk
f650abe44e stub out inspector APIs (#206) 2020-01-16 18:12:25 -05:00
Bert Belder
22bf9c6a39
v0.1.0 2020-01-16 23:05:01 +01:00
Bert Belder
2e66329666
Upgrade dependencies (#211) 2020-01-16 23:04:54 +01:00
Bert Belder
a230735902
Refactor scopes and callbacks so users don't need to transmute (#183) 2020-01-16 22:48:27 +01:00
Ry Dahl
9d24f58765
Move clang download to target/debug/clang (#210)
To prevent rebuilds due to the compiler being in random directories.
2020-01-16 14:20:57 -05:00
Ry Dahl
03cab59c5c
Add Isolate::request_interrupt (#208) 2020-01-15 15:33:47 -05:00
Ry Dahl
125d88ffc6
ci: disable cargo package (#209) 2020-01-15 15:14:39 -05:00
Bert Belder
e6fb4d1a65
Reimplement Module::ResolveCallback ABI fix without global variables (#207) 2020-01-14 21:15:06 +01:00
Bert Belder
bf28a6b2e3
Remove rust-abi wrapper for v8::ResolveCallback (#204)
It will be back, but in a different form.
2020-01-13 06:58:26 +01:00
Bert Belder
ff423d85bd
Format test_api.rs: use 'v8::' prefix consistently (#203) 2020-01-13 05:46:04 +01:00
Bert Belder
fe2a158fad
Format test_api.rs: break up overlong JS source string (#203) 2020-01-13 05:45:21 +01:00
Bert Belder
2ad44ae0a3
v0.0.25 2020-01-10 06:53:18 +01:00
Bert Belder
b48c0a6e48
Pass '-gno-inline-line-tables' to clang to limit debuginfo size on Linux (#200)
Ref: https://github.com/denoland/deno/issues/3599
2020-01-10 06:28:53 +01:00
Bert Belder
bbc1d56d25
v0.0.24 2020-01-08 02:19:03 +01:00
Bert Belder
76a423be1c
Upgrade V8 to 8.1.108 (#197) 2020-01-08 01:40:25 +01:00
Bert Belder
164b3a6ff6
Clean up github actions config and run 'cargo package' (#196) 2020-01-07 06:36:52 +01:00
Ry Dahl
63673c3740
Remove unnecessary derive(Debug) (#195) 2020-01-06 14:57:15 -05:00
Bert Belder
f43c33737a
Write a gcc-style depfile when using clang-cl on Windows (#194) 2020-01-05 23:36:08 +01:00
Ryan Dahl
0cad8f33a1
Exclude most files in v8/tools again (#192) 2020-01-05 22:47:23 +01:00
Bert Belder
78f3577c06
Don't build V8 if the rust language server is running (#193) 2020-01-05 19:52:23 +01:00
Bartek Iwańczuk
bddefbc2b2 Implicitly enter Isolate in v8::error (#191) 2020-01-05 18:07:50 +01:00
Bert Belder
a76339a59c
v0.0.23 2020-01-05 06:32:03 +01:00
Bert Belder
92419f2252
Upgrade to cargo_gn v0.0.15 (#188) 2020-01-05 06:21:33 +01:00
Bert Belder
db1c44c9be
Fix: Global::get() now actually creates a new Local handle (#187)
Closes: #182
2020-01-05 06:08:21 +01:00
Ry Dahl
dc81cac357
v0.0.22 2020-01-04 21:17:36 -05:00
Bert Belder
4fd4d5c6c2
v0.0.21 2020-01-05 00:08:47 +01:00
Bert Belder
2f46023e08
Upgrade crates cargo_gn and trybuild (#185) 2020-01-05 00:08:47 +01:00
Bartek Iwańczuk
2aaa62ae41 Add v8::Boolean::new() (#184) 2020-01-05 00:08:27 +01:00
Bert Belder
bd598fe8dc
Improve generated v8::Data type hierarchy and add tests (#180) 2020-01-04 03:27:43 +01:00
Ryan Dahl
5bb13e2243 v0.0.20 2020-01-03 19:45:28 -05:00
Bert Belder
e0b8f2d02c
Fix some issues with v8::StartupData (#178) 2020-01-04 01:26:27 +01:00
Bartek Iwańczuk
2d77996467 add v8::Module::get_module_namespace (#177) 2020-01-03 18:12:45 -05:00
Ry Dahl
19398816ab
SnapshotCreator changes for libdeno (#176) 2020-01-03 16:52:05 -05:00
Ry Dahl
dbeeace93c
v0.0.19 2020-01-03 12:37:03 -05:00
Ry Dahl
a4f519c643
Add Value::{number_value, integer_value, uint32_value, int32_value}
#174
2020-01-03 12:17:11 -05:00
Ry Dahl
8adf85ea89
add to_uint32, to_int32, to_integer, to_detail_string, to_big_int (#173) 2020-01-03 11:14:50 -05:00
Bartek Iwańczuk
4ffbb7a00b InIsolate for PromiseRejectMessage (#172) 2020-01-03 08:49:43 -05:00
Bert Belder
64136e684e Add safe downcasts for Local<Value> with TryFrom (#166) (#166) 2020-01-03 08:41:16 -05:00
Bartek Iwańczuk
5c9effbeb1 add SharedArrayBuffer deprecated constructor (#171)
needed temporarily for porting deno
2020-01-03 08:40:39 -05:00
Bert Belder
e409030541 Create CallbackScope from Promise and PromiseRejectMessage (#168) 2020-01-02 16:22:33 -05:00
Ry Dahl
45b766c01f
happy new year (#170) 2020-01-02 13:57:00 -05:00
Bartek Iwańczuk
6c5f189063
add Object::get_identity_hash (#169) 2020-01-02 19:56:28 +01:00
Ry Dahl
65f12fbdc0
Add Object::set_accessor (#167) 2020-01-02 12:01:36 -05:00