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

256 commits

Author SHA1 Message Date
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
Bartek Iwańczuk
2cfb80e174 Add v8::Function (#57) 2019-12-11 11:43:22 +08:00
Bartek Iwańczuk
b698e2fce3 add v8::Object (#55) 2019-12-10 08:14:07 +08:00
Bartek Iwańczuk
41e1f14ab5 add v8::JSON (#54) 2019-12-10 06:11:31 +08:00
Bartek Iwańczuk
e6e35a57e9 add v8::Exception (#50) 2019-12-09 02:26:58 +01:00
Ryan Dahl
774e34adf1 Deref String to Value 2019-12-09 07:30:20 +08:00
Bert Belder
ada75e81d1
Turn 'symbol_level = 1' back on (#47) 2019-12-08 02:37:20 +01:00
Ryan Dahl
7a233e277e Add Value::{is_undefined, is_null, is_null_or_undefined} 2019-12-06 10:43:22 -05:00
Ryan Dahl
f9a29cf56c Add primitive constructors null, undefined, true, false 2019-12-06 10:43:22 -05:00
Ryan Dahl
e3618f6939 v0.0.10 2019-12-05 22:07:21 -05:00
Ry Dahl
0430c43ec2
status (#43) 2019-12-05 21:03:28 -05:00
Ry Dahl
0219eece69
Prevent gn/ninja downloading if already downloaded (#41) 2019-12-05 17:03:33 -05:00
Ry Dahl
1835207186
Fix script_compile_and_run by adding context.exit() (#40) 2019-12-05 12:55:46 -05:00
Bartek Iwańczuk
91b8a70fd2 Add String::length method (#39) 2019-12-05 18:28:20 +01:00
Ry Dahl
f284905f2e
Fix mac linking problem (#38)
We had is_component_build = false before it was erroneously
removed in f62b338
2019-12-05 12:27:55 -05:00
Ry Dahl
f62b338bf6
Simplify the .gn file (#36) 2019-12-05 04:13:25 -05:00
Ry Dahl
52050d419a
Improve README (#35) 2019-12-04 17:09:45 -05:00
Ryan Dahl
de98cbc746 v0.0.9 2019-12-04 15:29:27 -05:00
Ry Dahl
13c7641581
Fix auto cargo publish (#33) 2019-12-04 14:24:56 -05:00
Bert Belder
f106ab5b10
Running a minimal script (#32) 2019-12-04 19:02:21 +01:00
Ryan Dahl
174ef45a90 v0.0.8 2019-12-04 12:17:34 -05:00
Ryan Dahl
6cf92a7fa3 Upgrade V8 to 8.0.427 2019-12-04 11:29:33 -05:00
Ryan Dahl
d94117882a Move StringBuffer and StringView into inspector namespace 2019-12-04 10:51:46 -05:00
Ryan Dahl
3925b8122c Move v8::string::NewStringType to v8::NewStringType 2019-12-04 10:51:46 -05:00
Bert Belder
d91f0269fa
Basic Local<String> support (#27) 2019-12-04 08:17:13 +01:00
Ry Dahl
cec2467245
add cargo publish github action (#26) 2019-12-04 01:45:50 -05:00
Ryan Dahl
8a191c7ed9 v0.0.7 2019-12-04 01:27:06 -05:00
Ry Dahl
803ae45263
Simplify public API and move tests to tests/test_api.rs (#24) 2019-12-04 00:57:06 -05:00
Bert Belder
b4674c62b8
Basic support for Local<Number> and Local<Integer> (#23) 2019-12-04 01:50:26 +01:00
Ry Dahl
0e02971a35
First pass at test setup function (#22) 2019-12-01 09:19:22 -08:00