0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-29 16:31:01 -05:00
Commit graph

277 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
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
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
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
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
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
Bartek Iwańczuk
91b8a70fd2 Add String::length method (#39) 2019-12-05 18:28:20 +01:00
Bert Belder
f106ab5b10
Running a minimal script (#32) 2019-12-04 19:02:21 +01: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
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
Ryan Dahl
517c213f1e minor clean ups 2019-11-30 09:34:41 -08:00
Ryan Dahl
0a256461e2 Rename src/v8.rs to src/V8.rs 2019-11-30 09:34:41 -08:00
Ryan Dahl
5866aedb30 make internal symbols private 2019-11-30 09:34:41 -08:00
Bert Belder
011b9f31a7 First pass at HandleScope (#18) 2019-11-27 07:14:39 -08:00
Bert Belder
0339c5f3b3
Create first isolate (#17) 2019-11-20 13:36:15 -08:00
Ry Dahl
3fa1cbcc5e
Refactor build / enable 'cargo package' (#15) 2019-11-19 17:48:50 -05:00
Bert Belder
7df96332ad
Add binding for ArrayBuffer::Allocator::NewDefaultAllocator (#13) 2019-11-18 15:03:12 -08:00
Bert Belder
37a656014b
Work towards creating first Isolate (#12) 2019-11-18 13:43:53 -08:00
Ry Dahl
643e1956a1
Rename mod v8 to V8 (#11) 2019-11-15 15:57:10 -05:00
Ry Dahl
05ce4006c0
bind v8::V8::Initialize and v8::V8::Dispose (#10) 2019-11-15 14:29:19 -05:00
Ry Dahl
3f6812ee60
bind v8::V8::GetVersion (#9) 2019-11-15 13:16:49 -05:00
Ry Dahl
c025a918c0
Add binding to v8::V8::SetFlagsFromCommandLine (#8) 2019-11-15 12:57:34 -05:00
Ry Dahl
0463a8bbfb
clean up (#4) 2019-11-01 13:50:12 -04:00
Ry Dahl
7846160a63
clean up (#3)
Use .cc instead of .cpp
2019-11-01 00:54:54 -04:00
Ryan Dahl
6bdbe7041a Fix v8_inspector__StringBuffer__string 2019-10-31 18:55:52 -04:00
Ryan Dahl
fd6f0785a2 First pass at build with cargo_gn 2019-10-31 18:38:14 -04:00
Bert Belder
ca9193fcd7
Remove junk 2019-10-23 00:45:37 -07:00
Bert Belder
0fdeed7c67
wip 2019-10-22 23:14:05 -07:00
Bert Belder
edebd3b10d
WIP 2019-10-22 22:58:11 -07:00
Bert Belder
5b9b9bcea1
idiomacy: 2019-10-22 20:26:13 -07:00
Bert Belder
96e202505f
wip 2019-10-22 20:10:40 -07:00
Bert Belder
6fa76841ce
WIP 2019-10-22 18:59:34 -07:00
Bert Belder
5b927b82af
wip 2019-10-22 15:46:42 -07:00
Bert Belder
c7eb95df04
Remove debug stuff 2019-10-22 15:31:00 -07:00
Bert Belder
9a6e90be38
Add Task 2019-10-22 14:52:43 -07:00
Bert Belder
c3f0fbbeb4
wip 2019-10-21 20:54:21 -07:00
Bert Belder
6a24523334
wip 2019-10-20 16:48:12 -07:00
Bert Belder
0e86101ed9
wip 2019-10-20 16:10:40 -07:00
Bert Belder
1e3f137cc2
wip 2019-10-20 14:22:18 -07:00
Bert Belder
7b8e882546
Client binding + clean-ups 2019-10-19 17:15:23 -07:00
Bert Belder
a291feb5f1
ugly, but works 2019-10-18 16:59:38 -07:00
Bert Belder
8d2d3697f8
Add depot_tools and v8 2019-10-18 16:52:12 -07:00
Bert Belder
5bca90b074
wip 2019-10-17 18:01:55 -07:00
Bert Belder
1764355b5c
wip 2019-10-17 17:58:31 -07:00
Bert Belder
8d97e79d46
wip 2019-10-17 16:46:54 -07:00
Bert Belder
c4a7c969ba
wip 2019-10-16 15:47:34 -07:00
Bert Belder
f9d0a6ba77
works 2019-10-15 18:31:05 -07:00
Bert Belder
f6bc61ec11
x 2019-10-15 13:10:52 -07:00
Bert Belder
1b7422f6cb
yes 2019-10-08 02:51:48 +02:00
Bert Belder
20f5884b50
update 2019-10-08 02:50:18 +02:00
Bert Belder
12a439e55d
clean up 2019-10-08 02:40:03 +02:00
Bert Belder
5931696251
polish 2019-10-08 02:37:30 +02:00
Bert Belder
1b61d2c4da
wip 2019-10-08 02:32:58 +02:00
Bert Belder
16e82f13a0
polish more 2019-10-08 02:13:18 +02:00
Bert Belder
48db2272ca
update 2019-10-08 02:06:48 +02:00
Bert Belder
fdfa52f4bf
initial 2019-10-08 01:56:41 +02:00