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

885 commits

Author SHA1 Message Date
Ry Dahl
7cb6623488
Add Isolate::throw_exception (#123) 2019-12-23 08:16:01 -05:00
Ry Dahl
1d027f08c5
Add Value::strict_equals and Value::same_value (#121) 2019-12-23 07:32:45 -05:00
Ry Dahl
3ec3b07638
first pass implementation for v8::Module (#120)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-12-23 07:12:52 -05:00
Bert Belder
ac8aec9c8f
Invert the TryCatch/TryCatchScope relationship (#118) 2019-12-22 20:53:45 +01:00
Bert Belder
6d30c77116
Set up test harness for verifying safety constraints (#117) 2019-12-22 20:02:25 +01:00
Bert Belder
71d74205c2
Run 'cargo fmt' and add it to CI (#116) 2019-12-22 17:04:33 +01:00
Bartek Iwańczuk
25c4f7f4d0
add v8::EscapableHandleScope (#113) 2019-12-22 15:05:39 +01:00
Bert Belder
c107eb871f
Add global (a.k.a Persistent) handles (#112) 2019-12-22 01:30:22 +01:00
Ry Dahl
f36e74a648
First pass at BackingStore (#108) 2019-12-21 11:05:51 -05:00
Ry Dahl
153018b41b
Add ArrayBuffer, move ArrayBuffer::Allocator to root namespace (#106) 2019-12-21 08:50:59 -05:00
Ry Dahl
99baef0169
Add PrimitiveArray and ScriptOrModule (#105) 2019-12-21 06:38:26 -05:00
Bert Belder
c361ee2faf
v0.0.14 2019-12-21 06:27:47 +01:00
Bert Belder
196b5f60e4
Fix more mutability and lifetime issues (#103) 2019-12-21 06:11:12 +01:00
Bert Belder
fab24e032e
Make TryCatchScope public, improve doc strings (#102) 2019-12-21 06:11:06 +01:00
Bert Belder
52da1f3216
Upgrade crates (#100) 2019-12-21 03:24:53 +01:00
Bert Belder
6124554651
Remove 'type' param from v8::String::new() convenience function (#99) 2019-12-21 03:23:56 +01:00
Ry Dahl
32fc7e7bef
add v8::Module::instantiate_module (#98)
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2019-12-20 20:54:14 -05:00
Bert Belder
f839aa221a
Add TryCatch (#97) 2019-12-21 02:12:11 +01:00
Bert Belder
331582561b
Add Local lifetimes back (#95) 2019-12-21 02:11:54 +01:00
Ry Dahl
bbfaacfe56
Add v8::ScriptCompiler::compile_module (#96) 2019-12-20 14:54:20 -05:00
Bert Belder
450afc3dd6
Add note about libglib2.0-dev dependency to README (#94) 2019-12-20 18:17:09 +01:00
Bartek Iwańczuk
85229bdd8a add v8::PropertyCallbackInfo (#68) 2019-12-20 18:16:44 +01:00
Ry Dahl
9e30db08ce
Remove 'using namespace v8' from binding.cc (#93) 2019-12-20 11:26:33 -05:00
Bartek Iwańczuk
beb9272f38 stub out v8::Module (#69) 2019-12-20 08:56:32 -05:00
Ry Dahl
e89a968ff2
add more docs and clean up exception, json modules (#92) 2019-12-20 08:47:20 -05:00
Ryan Dahl
8810789f78 v0.0.13 2019-12-20 00:45:43 -05:00
Ry Dahl
68742be011
Remove lifetimes from Local, HandleScope, Locker (#90)
add v8_str
2019-12-19 23:36:29 -05:00
Ry Dahl
b610e7cda9
Add v8::Isolate::add_message_listener (#89) 2019-12-19 21:34:07 -05:00
Ryan Dahl
887af28790 Remove LockedIsolate 2019-12-19 20:32:47 -05:00
Ryan Dahl
71140b4cc4 Change HandleScope::enter to take &Isolate, make v8::Locker into opaque blob 2019-12-19 20:32:47 -05:00
Ry Dahl
11ba352065
Rename CxxIsolate to Isolate and Isolate to OwnedIsolate (#85) 2019-12-19 19:15:52 -05:00
Ry Dahl
d2d8c64785
Upgrade to Rust 1.40.0 (#86) 2019-12-19 19:02:19 -05:00
Bartek Iwańczuk
54a7c0ff33
add docs to various structs (#82) 2019-12-19 14:14:19 +01:00
Bartek Iwańczuk
cb0d2e3bec
add v8::PromiseRejectMessage (#65) 2019-12-19 14:13:33 +01:00
Ry Dahl
52b323e802
Add rustdoc for v8::Local (#81) 2019-12-19 07:34:12 -05:00
Bert Belder
1e86b84a3b
Assert that Option<Local<T>> is the same size as *const T (#79) 2019-12-19 00:43:55 +01:00
Ryan Dahl
9443b1475b Add .clang-format 2019-12-18 17:40:45 -05:00
Ryan Dahl
24ca978b33 Add v8::Isolate::set_capture_stack_trace_for_uncaught_exceptions 2019-12-18 17:40:45 -05:00
Bert Belder
0a855e2a64
Move all support functions inside 'namespace support' (#76) 2019-12-18 18:14:28 +01:00
Bert Belder
150c27e4c8
Represent v8::Maybe<bool> in rust as Option<bool> (#73) 2019-12-18 18:02:46 +01:00
Ryan Dahl
df691b6f38 v0.0.12 2019-12-18 10:18:56 -05:00
Ryan Dahl
e0753e557f v0.0.11 2019-12-18 08:54:48 -05:00
Bert Belder
ff843d6e18
Run clang-format (#72) 2019-12-18 14:37:33 +01:00
Ry Dahl
7acbb85398
Move all cc code to binding.cc (#70) 2019-12-18 07:37:13 -05:00
Ry Dahl
a2f9b6bc11
Add v8::ScriptOrigin (#46) 2019-12-18 05:46:36 -05:00
Bartek Iwańczuk
48f8a000cf add implementation for v8::ReturnValue (#67) 2019-12-17 19:19:40 +01:00
Bartek Iwańczuk
7b094328ea add v8::ReturnValue (#66) 2019-12-15 06:14:09 +08:00
Andy Finch
f37085c370 automatically convert from Local<T> to Local<Value> (#61) 2019-12-14 10:40:54 +08:00
Bartek Iwańczuk
a6caa5a42d add v8::Promise (#56) 2019-12-14 09:18:30 +08:00
Andy Hayden
7fd3bc56d6 Exit with status 1 if build.rs fails (#62) 2019-12-14 09:17:45 +08:00