0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-25 15:29:43 -05:00
Commit graph

769 commits

Author SHA1 Message Date
Ryan Dahl
111641361b
Cache should be updated when build or buildtools is changed (#642) 2021-03-27 15:18:37 -04:00
Yusuke Tanaka
3c7ff01ad4
Upgrade Rust to 1.51.0 (#652) 2021-03-27 20:16:35 +01:00
Ben Noordhuis
7d514ae4cb
Add ArrayBuffer::detach() and is_detachable() (#648)
Fixes #646.
2021-03-16 23:35:27 +01:00
Ben Noordhuis
25608cc000
build: upgrade Rust to 1.50.0 (#645) 2021-03-16 21:05:14 +01:00
Ryan Dahl
a71575af81
v0.21.0 2021-03-08 18:49:27 -05:00
Aaron O'Mullan
f2766ed1af
Support for external v8 strings (#641) 2021-03-07 10:21:59 -05:00
Heyang Zhou
a6d36d1193
Add more ScriptCompiler APIs (#638) 2021-03-07 08:05:50 -05:00
Aaron O'Mullan
e4308bb0bd
build: patch GN's host_cpu detection on Apple Silicon (#640) 2021-03-06 20:17:33 -05:00
Heyang Zhou
be89cfc131
Add code cache API (#635) 2021-03-05 05:26:37 -05:00
Ryan Dahl
4937855c0c v0.20.0 2021-02-25 14:43:55 -05:00
Ryan Dahl
a62eb64405 Upgrade V8 to 9.0.257.3 2021-02-25 14:43:55 -05:00
Kohei Ueno
dcca57b986
chore: add tests for return values of a function (#634) 2021-02-25 10:18:06 -05:00
Ryan Dahl
5927d6070c upgrade to v8 9.0.217 2021-02-20 09:41:26 -05:00
Ryan Dahl
83052c4535 Enter isolate on construction, exit on drop
Fixes #626
2021-02-20 09:41:26 -05:00
Luke Channings
f796c17791
Re-enable aarch64 builds (#628) 2021-02-19 05:56:11 -05:00
Bartek Iwańczuk
33f8a7d12c
v0.19.0 2021-02-15 14:49:11 +01:00
Bartek Iwańczuk
8551c62511
Add Module::source_offset_to_location, deprecate old APIs (#624) 2021-02-15 12:08:39 +01:00
Bartek Iwańczuk
ec54f28bfd
feat: Add ModuleRequest (#623) 2021-02-14 19:49:37 +01:00
Luca Casonato
78fa07387c
chore: switch default branch to main (#622) 2021-02-14 16:15:49 +01:00
Ryan Dahl
50a15085f7
update copyrights to 2021 (#620) 2021-02-13 07:31:18 -05:00
Ryan Dahl
753b92fd96
ICU data must be 16-bit aligned (#617) 2021-02-12 05:45:02 -05:00
Ryan Dahl
b7bffb83ac
update buildtools submodule (#618) 2021-02-11 18:34:36 -05:00
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