Bert Belder
|
b1a4dfea8b
|
Remove 'context' param from (almost) all public methods (#406)
|
2020-06-26 03:00:06 +02:00 |
|
Bert Belder
|
3b6ed67f5e
|
Rewrite the scope system from scratch (#406)
|
2020-06-26 01:42:00 +02:00 |
|
Bert Belder
|
8a4dc30445
|
Rename to_local() to cast_local(), use a closure (#406)
This makes it possible to add a run-time check that verifies that the
specified closure is actually the one that contains the local handle.
|
2020-06-19 20:18:07 +02:00 |
|
Bert Belder
|
405a874c36
|
Fix remaining Local::from_raw() misuse, and correct some lifetimes (#388)
|
2020-05-31 19:00:04 +02:00 |
|
Bert Belder
|
c114c46e15
|
Fix incorrect function signatures in module.rs (#388)
* `usize` and `int` are not equivalent or interchangeable at any level.
* Removed an unnecessary mutable borrow.
|
2020-05-31 19:00:01 +02:00 |
|
Bert Belder
|
d1ac68f0c8
|
Always use raw pointers to send V8 handles between C++ and Rust (#349)
And other pointer usage touch-ups on the C++ side:
- const parameters are passed by & reference.
- mutable parameters are passed by * pointer.
|
2020-04-14 00:34:32 +02:00 |
|
Ben Noordhuis
|
52b8bbaf82
|
Fix Module::get_module_namespace() doc comment (#219)
|
2020-01-17 08:01:19 -05:00 |
|
Bert Belder
|
e6fb4d1a65
|
Reimplement Module::ResolveCallback ABI fix without global variables (#207)
|
2020-01-14 21:15:06 +01:00 |
|
Bert Belder
|
bf28a6b2e3
|
Remove rust-abi wrapper for v8::ResolveCallback (#204)
It will be back, but in a different form.
|
2020-01-13 06:58:26 +01:00 |
|
Bartek Iwańczuk
|
2d77996467
|
add v8::Module::get_module_namespace (#177)
|
2020-01-03 18:12:45 -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
|
29fa5388f5
|
Fix some docs (#140)
|
2019-12-26 21:14:59 -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
|
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
|
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 |
|
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
|
331582561b
|
Add Local lifetimes back (#95)
|
2019-12-21 02:11:54 +01:00 |
|
Bartek Iwańczuk
|
beb9272f38
|
stub out v8::Module (#69)
|
2019-12-20 08:56:32 -05:00 |
|