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

186 commits

Author SHA1 Message Date
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
Bartek Iwańczuk
7b139afbc4 add v8::Array::new() (#165) 2020-01-02 10:41:40 -05:00
Ry Dahl
53fd83a6fa
Add Isolate::RunMicrotasks and Isolate::EnqueueMicrotask (#164) 2020-01-02 10:15:31 -05:00
EnokMan
8d6ad51662 add all value checkers (#163) 2020-01-01 09:56:59 -05:00
Ry Dahl
e501f6d854
Add Value::{ToString, ToNumber, ToObject} (#162) 2019-12-31 15:17:52 -05:00
Ry Dahl
8f9aafe764
add impl_from and impl_deref macros for data.rs (#161) 2019-12-31 13:39:01 -05:00
Bert Belder
c205e73138
Generate Deref implementations for subtypes of v8::Data (#160) 2019-12-31 18:33:45 +01:00
Ry Dahl
1f610ba5a5
Add StackFrame (#159) 2019-12-31 11:17:26 -05:00
Ry Dahl
5467ca9295
Improve v8::Message (#158) 2019-12-31 09:40:34 -05:00
Bartek Iwańczuk
23a49d0fd1 add Isolate::get_current_context() (#155) 2019-12-31 14:07:42 +01:00
Kevin (Kun) "Kassimo" Qian
d31960342f isolate: add termination related methods (#157) 2019-12-31 06:11:43 -05:00
Bert Belder
24286a4d71
Add StartupData constructor (#156) 2019-12-31 02:43:27 +01:00
Ry Dahl
7b28a18097
v0.0.18 2019-12-30 16:48:37 -05:00
Bartek Iwańczuk
6ea175c065 add FunctionCallbackInfo.get_argument() (#150) 2019-12-30 16:48:23 -05:00
Bartek Iwańczuk
233160f926 add Send impl for SharedRef<BackingStore> (#154) 2019-12-30 16:48:08 -05:00
Ry Dahl
b7fa3341cb
Replace transmute in example with cast (#153) 2019-12-30 15:54:24 -05:00
Ry Dahl
38057132cc
get_module_requests_length should return usize (#151) 2019-12-30 15:11:50 -05:00
Bert Belder
9a72f62bd6
Add complete V8 type hierarchy (#148) 2019-12-30 19:06:45 +01:00
Ry Dahl
43b3438cb1
Simplify Object constructor (#149) 2019-12-30 12:14:06 -05:00
Andy Finch
00d592cd4d add v8::SharedArrayBuffer (#134) 2019-12-28 16:29:42 -05:00
Ryan Dahl
5284abdab0 v0.0.17 2019-12-27 12:04:28 -05:00
Ryan Dahl
61c74ec0e7 clean up example in docs 2019-12-27 12:04:28 -05:00
Ryan Dahl
eee7f98108 Fix up build
Remove regex build dependency; otherwise dependent crates get

  error: crate `regex_syntax` required to be available in rlib format,
        but was not found in this form

And don't default to system clang on OSX
2019-12-27 12:04:28 -05:00
Ryan Dahl
e24c3aee7d v0.0.16 2019-12-27 09:48:37 -05:00
Ry Dahl
6f953179ba
External references for snapshots (#141) 2019-12-27 09:12:16 -05:00
EnokMan
f2cc688439 add hello world example (#142) 2019-12-27 06:41:44 -05:00
Ry Dahl
29fa5388f5
Fix some docs (#140) 2019-12-26 21:14:59 -05:00
Ry Dahl
822b6e7025
Add Object::set (#138) 2019-12-26 14:38:16 -05:00
Bert Belder
76a480e6ff
Add ArrayBuffer::get_backing_store() and new_with_backing_store() (#135) 2019-12-26 18:06:43 +01:00
Ry Dahl
a2196a7248
Clean up internal slots (#137) 2019-12-26 11:53:06 -05:00
Ry Dahl
ce38f674f7
Support dynamic import (#136) 2019-12-26 10:45:55 -05:00
Christian Moritz
0303984286 allow building with compatible system clang (#109) 2019-12-26 09:43:39 -05:00
Andy Finch
6cdb55ed62 add v8::Uint8Array (#133) 2019-12-25 20:37:25 -05:00
Ry Dahl
877c22b075
Move new_default_allocator to root namespace (#132)
And add Isolate::set_data, Isolate::get_data, Isolate::get_number_of_data_slots
2019-12-25 10:56:27 -05:00
Ry Dahl
ce1f74221c
Fix StartupData memory leak (#131) 2019-12-25 08:14:55 -05:00
Bert Belder
934dd16e89
Clean up and remove AsRef/AsMut implementations (#130) 2019-12-25 12:40:14 +01:00
Bert Belder
ae4b48eb22
Get rid of HandleScope closure, add CallbackScope (#119) 2019-12-25 00:31:36 +01:00
Ry Dahl
57d13f7622
support for import.meta (#128) 2019-12-24 16:40:41 -05:00
Ry Dahl
d65c604f3a
Add Object::create_data_property, Object::get, Value::is_array, Value::is_object, Value::is_function (#129) 2019-12-24 16:10:40 -05:00
Ry Dahl
b00ef1ea3c
Move docs for global to struct (#127) 2019-12-24 09:44:44 -05:00
Bartek Iwańczuk
1507a897de first pass at snapshots (#122)
Creating a snapshot leaks memory. We will address this in future work.
2019-12-24 08:03:32 -05:00
Ryan Dahl
b21b67d5ae v0.0.15 2019-12-24 07:22:59 -05:00
Andy Finch
37a13ae18c add v8::ArrayBufferView (#101) 2019-12-24 05:50:30 -05:00
Ry Dahl
b97abb17b9
default options for v8::script_compiler::compile_module (#125)
And other clean ups
2019-12-23 20:23:55 -05:00