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
Ry Dahl
51737506dd
make InstantiateModule work ( #124 )
2019-12-23 18:09:03 -05:00
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