0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-27 01:29:19 -05:00
Commit graph

880 commits

Author SHA1 Message Date
Ben Noordhuis
84f1241b68
Fix bad assumption in static_assert (#668)
v8::Location is the size of two ints, not the size of one size_t.

`2 * sizeof(int) == sizeof(size_t)` on 64 bits architectures but not on
32 bits architectures.

Fixes #667.
2021-04-19 16:43:58 +02:00
Bert Belder
2f7809ffe9
v0.22.1 2021-04-13 08:02:35 +00:00
Piotr Sikora
14a3d84576
Upgrade V8 to 9.1.269.5 (#662) 2021-04-13 10:00:14 +02:00
Bert Belder
1ccca7da7c
v0.22.0 2021-04-12 20:53:04 +00:00
Bert Belder
ad07d4170c
Upgrade crates (#661) 2021-04-12 20:51:57 +00:00
Ryan Dahl
2b90712b76
Upgrade V8 to 9.1.269.2 (#657) 2021-04-12 22:42:42 +02:00
Ben Noordhuis
03e74c6f1b
Add new_single_threaded_default_platform() (#659)
This is a v8::Platform implementation that doesn't spawn additional
threads. Useful in combination with the --single_threaded flag.
2021-04-12 21:40:52 +02:00
Bert Belder
de9a7e2698
String::new_external_onebyte_static() should take &[u8] instead of &str (#658) 2021-04-09 19:49:55 +02:00
Ryan Dahl
d78cc3df87
Upgrade V8 to 9.1.246 (#655) 2021-04-03 09:46:38 -04:00
Ryan Dahl
d520fe85bd
Add String::new_from_one_byte (#654) 2021-04-02 16:23:05 -04:00
Ben Noordhuis
3a5ce45245
Remove dead platform code (#653)
The Task struct and Platform::pump_message_loop() method were
non-functional, remove them.
2021-03-30 14:33:39 +02:00
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