Ryan Dahl
7190049eec
v0.18.3
2021-02-10 18:08:42 -05:00
Ryan Dahl
2ef37e3a0e
Exclude more unnecessary bits of ICU
...
19.5M -> 14M
2021-02-10 18:08:42 -05:00
Ryan Dahl
ec03165154
v0.18.1
2021-02-10 17:06:26 -05:00
Ryan Dahl
be90543ecd
change third_party/icu to point to denoland's github fork
2021-02-10 17:06:26 -05:00
Bartek Iwańczuk
9f71bb1a5c
ci: exclude .dat files from cargo publish ( #613 )
2021-02-10 11:45:50 -05:00
Ryan Dahl
d6aca0534d
include v8/tools/gen-v8-gn.py in package ( #611 )
2021-02-10 08:27:01 -05:00
Bartek Iwańczuk
7552d56333
v0.18.0
2021-02-10 14:02:08 +01:00
Ben Noordhuis
5dc6117dd7
Fix ValueDeserializer::read_value() lifetime ( #609 )
...
The return value should have the lifetime of the context, not the
deserializer.
Fixes #607 .
2021-02-10 07:27:27 +01:00
Ben Noordhuis
9a8f6443fe
Fix doc comment in src/icu.rs ( #608 )
...
Rustdoc interprets code snippets as Rust unless told otherwise.
Tell it otherwise because this particular snippet is C++.
2021-02-09 23:12:42 +01:00
Bartek Iwańczuk
4ef7ab3fd6
docs: add info about settings --harmony-import-assertions flag ( #606 )
2021-02-09 23:03:25 +01:00
Ryan Dahl
d60489c395
Support ICU ( #603 )
...
Co-authored-by: Kunihiro Ishiguro <kunihiro@zebra.dev>
2021-02-09 09:17:02 -05:00
Ryan Dahl
c22b0d3e38
Revert "upgrade sccache ( #592 )"
...
Doesn't work correctly on windows.
This reverts commit c623c451b1
.
2021-02-08 16:03:23 -05:00
Ryan Dahl
3d26ffbf17
Merge cargo_gn into this crate ( #604 )
2021-02-08 14:57:55 -05:00
Ben Noordhuis
64aa11e34d
Add Isolate::set_prepare_stack_trace_callback() ( #594 )
...
Refs: https://github.com/denoland/deno/issues/7644
2021-02-08 13:11:48 +01:00
Ben Noordhuis
8809068f01
build: upgrade Rust to 1.49.0 ( #601 )
2021-02-07 23:49:07 +01:00
Bartek Iwańczuk
5cf215e829
v0.17.0
2021-02-05 14:30:41 +01:00
Bartek Iwańczuk
d6be279a06
Add support for import assertions ( #598 )
...
This commit adds support for import assertions.
Major changes include:
- removal of "ResolveCallback" (deprecated in V8)
in favor of "ModuleResolveCallback"
- removal of "HostImportModuleDynamicallyCallback" (deprecated in V8)
in favor of "HostImportModuleDynamicallyWithImportAssertionsCallback"
2021-02-05 00:22:26 +01:00
Ben Noordhuis
1fb0e9436c
Exclude tools/clang from publish ( #593 )
...
The only file that is actually needed is tools/clang/scripts/update.py
and that's already explicitly excluded from the exclude list.
Shrinks the (unpacked) crate size by 2.4 MB.
2021-02-03 15:17:40 -08:00
Bartek Iwańczuk
f218b4cc58
Upgrade V8 to 9.0.123 ( #597 )
2021-02-03 21:50:10 +01:00
Ryan Dahl
c623c451b1
upgrade sccache ( #592 )
2021-01-21 10:07:01 +01:00
Ben Noordhuis
30ad399f9b
Add V8InspectorClientImpl::generate_unique_id() ( #590 )
2021-01-21 10:06:34 +01:00
Ryan Dahl
09defbdcb1
v0.16.0
2021-01-18 18:10:59 -05:00
Ben Noordhuis
0d093a02f6
Upgrade V8 to 8.9.255.3 ( #567 )
...
This floats https://chromium-review.googlesource.com/c/v8/v8/+/2608209
because it just missed the merge window for 8.9.
2021-01-18 21:46:44 +01:00
Heyang Zhou
bcbe7e9348
Support setting OOM callback on Isolate
( #585 )
2021-01-16 10:30:38 +01:00
Heyang Zhou
3fd7cae994
Expose ArrayBuffer::Allocator interface ( #578 )
2021-01-14 23:29:06 +01:00
Ben Noordhuis
5cb14847aa
Expose v8::WriteOptions ( #583 )
...
Without it, v8::String::write_utf8() is pretty much unusable.
2021-01-13 00:49:59 +01:00
Heyang Zhou
584a037800
Add Script::get_unbound_script() and UnboundScript::bind_to_current_context() ( #572 )
2021-01-11 19:39:51 -08:00
Daniel Bevenius
d78dcd087f
Fix typo in examples/process.rs comment ( #580 )
2021-01-11 19:38:39 -08:00
Bert Belder
7a480fd563
Run clang-format ( #582 )
2021-01-11 19:38:20 -08:00
Bert Belder
3a8cafb882
Disable broken aarch64-unknown-linux-gnu build ( #581 )
2021-01-11 16:33:30 -08:00
Daniel Bevenius
54a72d7628
Remove set_flags_from_command_line_with_usage test ( #570 )
...
This commit removes the set_flags_from_command_line_with_usage and puts
it in an example code section instead.
The motivation for doing this is that the test output currently contains
the usage string and all the V8 options which creates a lot of output
when the tests is run regardless if --nocapture is used or not.
2021-01-07 22:42:30 +01:00
Bert Belder
b19d0dc349
Sync third-party dependencies and build tools with Chromium ( #568 )
2021-01-01 18:02:58 -08:00
Bert Belder
52ef869de7
Sync libc++ and libc++abi revision with upstream ( #568 )
2021-01-01 18:02:51 -08:00
Ben Noordhuis
ea412d0554
Add Isolate::set_wasm_streaming_callback() ( #560 )
...
Add the hook necessary to implement `WebAssembly.compileStreaming()`.
Fixes #556
2020-12-31 16:06:29 +01:00
Bartek Iwańczuk
41f29a19c4
Isolate::thread_safe_handle() no longer requires mutable reference ( #562 )
2020-12-30 23:30:30 -08:00
Bartek Iwańczuk
f22a00e726
Revert "Use "include" to specify kept files ( #559 )" ( #565 )
...
This reverts commit e057d096fd
.
2020-12-28 12:07:22 +01:00
Bartek Iwańczuk
25622e306a
v0.15.0
2020-12-28 01:19:24 +01:00
Bartek Iwańczuk
fff1010d1e
v8 8.8.294 ( #563 )
2020-12-27 23:07:17 +01:00
mash-graz
6c54f184cb
use lockfile to prevent linking of partially downloaded lib ( #543 )
2020-12-27 17:37:14 +01:00
Bartek Iwańczuk
cf7bb2d001
Add methods for termination to Isolate ( #561 )
...
This commit adds following methods to Isolate:
- terminate_execution
- cancel_terminate_execution
- is_execution_terminating
2020-12-25 22:45:57 +01:00
Avindra Goolcharan
810c108170
Improve ninja/gn detection ( #558 )
...
This should allow people to build without explicitly setting GN and
NINJA env vars.
If the tool(s) are detected, the build will continue without trying to
download the binaries.
2020-12-25 10:20:53 +01:00
Avindra Goolcharan
e057d096fd
Use "include" to specify kept files ( #559 )
2020-12-25 10:15:35 +01:00
Daniel Bevenius
756388c140
typo ( #554 )
2020-12-10 06:47:32 -05:00
Ryan Dahl
3c5f7976b9
v0.14.0
2020-12-07 18:09:47 -05:00
Ben Noordhuis
f37601cab2
Add FunctionBuilder ( #512 )
...
v8::Function and v8::FunctionTemplate have a lot of options that can be
configured. The builder() associated functions on those types help with
that.
2020-12-07 17:03:46 -05:00
Ben Noordhuis
530c876aff
Make Private work with context-less HandleScope ( #549 )
...
v8::Private is like v8::String and other primitives, it doesn't need an
active v8::Context.
2020-12-07 16:48:51 -05:00
Daniel Bevenius
4e8eaf94c3
Add set_flags_from_command_line_with_usage ( #536 )
...
The motivation for this is to enable embedders of rusty_v8 to
pass their own usage string and have their usage printed before V8's
options.
2020-12-07 16:46:38 -05:00
Daniel Bevenius
98bb4506d9
typo ( #540 )
2020-12-07 16:42:37 -05:00
Daniel Bevenius
29396ed40a
typo ( #542 )
2020-12-07 15:32:09 -05:00
Ben Noordhuis
343d7f2800
Make Symbol work with context-less HandleScope ( #550 )
...
v8::Symbol is like v8::String and other primitives, it doesn't need an
active v8::Context.
2020-12-04 13:56:55 +01:00