0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-28 16:21:04 -05:00
Commit graph

1279 commits

Author SHA1 Message Date
snek
82301490d5
feat: add UseCounterCallback (#1567) 2024-08-13 19:19:27 +02:00
snek
70e18db2ff
update fast calls api (#1564) 2024-08-13 18:15:34 +02:00
denobot
0d57670bac
Rolling to V8 12.8.374.10 (#1565) 2024-08-13 12:13:29 +00:00
denobot
c0285f9b53
Rolling to V8 12.8.374.8 (#1562) 2024-08-07 11:39:08 +00:00
snek
f4a706fc49
chore: update all v8 deps (#1554)
chore: track upstream buildtools
2024-08-07 12:17:50 +02:00
denobot
c6e5da196e
Rolling to V8 12.8.374.7 (#1561) 2024-08-06 14:06:00 +02:00
snek
ab06789237
version 0.102.0 (#1560) 2024-08-05 10:17:05 +00:00
denobot
f6eadc7b6e
Rolling to V8 12.8.374.6 (#1559) 2024-08-05 09:37:19 +00:00
snek
adf56a4f0f
feat: changes for vm (#1557) 2024-08-05 11:15:56 +02:00
denobot
654341e1bb
Rolling to V8 12.8.374.5 (#1555) 2024-08-02 17:07:59 +00:00
snek
47e30bb8dd
chore: disable android in ci (#1558) 2024-08-02 07:14:07 -07:00
Satya Rohith
93d18d3eb8
chore: upgrade to rust 1.80 (#1553) 2024-07-30 06:03:27 +00:00
snek
65bee4d15e
version 0.101.0 (#1552) 2024-07-27 18:33:57 +01:00
snek
0a478a0b2a
chore: binding cleanup (#1551) 2024-07-26 13:37:39 -07:00
snek
d22c1f9a3c
feat: upgrade ScriptOrigin (#1550) 2024-07-25 22:32:11 +00:00
snek
97291d7290
Roll V8 to include new patches (#1549) 2024-07-25 20:34:26 +00:00
snek
83573e5cff
add embedder suffix to v8 version (#1548) 2024-07-25 11:25:31 -07:00
denobot
7de48e7aa6
Rolling to V8 12.8.374.3 (#1547) 2024-07-25 08:33:55 -07:00
snek
fc864eaa64
v0.100.0 (#1546) 2024-07-24 21:22:09 +00:00
snek
d5da421046
feat: access with receiver (#1542) 2024-07-24 19:08:16 +00:00
snek
c9383c2184
fix: QueryCallback should use Integer (#1545) 2024-07-24 11:39:30 -07:00
denobot
634b1b99d9
Rolling to V8 12.8.374.2 (#1544) 2024-07-24 09:59:31 -07:00
snek
39631b31d6
feat: add String::ValueView (#1543) 2024-07-24 07:59:18 -07:00
snek
1e4b691905
feat: V8 12.8 (#1539) 2024-07-23 19:43:32 +00:00
Ryan Dahl
979f3d87d1
set v8_enable_private_mapping_fork_optimization = true (#1535) 2024-07-23 10:07:07 -04:00
snek
18c633d567
Update V8 to 12.8 (#1538) 2024-07-22 19:59:26 +00:00
Bartek Iwańczuk
f78694aefd
v0.98.2 (#1536) 2024-07-22 05:18:41 +02:00
Aapo Alasuutari
7b6451aed4
fix: ExternalOneByteStringResource is not guaranteed to be valid UTF-8 (#1532)
A subtle unsoundness / undefined behaviour made its way into the fairly recently added ExternalOneByteStringResource object: The as_str API is not sound as the data inside may be be Latin-1, not ASCII.

As the API was not used anywhere in deno or deno_core, I opted to simply remove it and replace it with an as_bytes API. I also modified the test to showcase the Latin-1 string case and added copious notes and explanations around the code to make sure this doesn't accidentally happen again. The likely reason why the API originally slipped in is because the OneByteConst has this API where it is safe because the OneByteConst creation checks the data for ASCII-ness.

I also tried to add an API to extract an Option<&'static OneByteConst> from an &ExternalOneByteStringResource but run into rust-lang/rust#119618 ie. OneByteConst is actually duplicating the vtables... which is not great.
2024-07-21 01:09:30 +02:00
Nathan Whitaker
6385bd6f32
chore: Add a couple convenience casting functions to v8::Local (#1533)
* Rename cast -> cast_unchecked

* Add cast helpers

* Change a couple tests to use it

* Add some small docs

* Fmt

* Add inline hint

* Address comments
2024-07-20 01:34:32 +00:00
David Sherret
b590c12fe9
chore(build): try remove_file on windows (#1529) 2024-07-15 17:30:58 +00:00
snek
7107d4869e
rust 1.79.0 (#1527) 2024-07-12 09:30:31 -07:00
snek
8cdd3de9f4
v0.98.0 (#1526) 2024-07-11 11:15:59 -07:00
David Sherret
b23a399ff3
chore: output more information in build (#1521) 2024-07-11 18:05:15 +00:00
snek
815125e0b0
fix: put fslock around entire build process (#1525) 2024-07-11 10:00:13 -07:00
denobot
736ae93ee1
Rolling to V8 12.7.224.13 (#1524) 2024-07-11 09:59:53 -07:00
snek
57fb97a43b
feat: cppgc::Ptr (#1523) 2024-07-10 22:03:49 -07:00
snek
2c5db866a2
fix publish ci (#1522) 2024-07-10 14:13:25 -07:00
Bartek Iwańczuk
5666d81c7b
v0.97.1 (#1520) 2024-07-10 00:28:14 +02:00
Bartek Iwańczuk
6178f6a8e8
v0.97.0 (#1519) 2024-07-08 23:58:16 +00:00
denobot
47a5210826
Rolling to V8 12.7.224.12 (#1513) 2024-07-08 15:08:40 -07:00
snek
db047c1e47
feat: enable maglev (#1517) 2024-07-08 07:48:50 -07:00
Divy Srivastava
8820e5b4ee
Use &mut Isolate in Object::wrap and Object::unwrap (#1518) 2024-07-06 19:22:45 -07:00
Bartek Iwańczuk
0c7be7285c
build: remove symlink on Windows before creating it (#1516) 2024-07-05 23:23:09 +00:00
Bartek Iwańczuk
06c7eb0e81
v0.96.0 (#1515) 2024-07-04 16:18:11 -07:00
Bartek Iwańczuk
49b92c1e76
feat: Add Source Maps APIs (#1514)
This commit adds bindings for:

- v8::UnboundScript::get_source_mapping_url
- v8::UnboundScript::get_source_url
- v8::UnboundModuleScript::get_source_mapping_url
- v8::UnboundModuleScript::get_source_url
2024-07-04 22:13:11 +00:00
denobot
8df8a1a7cb
Rolling to V8 12.7.224.10 (#1509) 2024-07-02 21:37:11 +00:00
Nathan Whitaker
6bac39b579
Add non-static external onebyte string (#1511)
* Rename existing method

* Enable getting external onebyte resource + fix encoding

* Enable creating an external onebyte string that's freed by v8

* Add basic test

* Boxed str, fix as_str, doc comments

* Cleanup binding + fix adjust memory

* Use bindgen + raw api

* Rm unnecessary cast

* Rm unnecessary lines

* Revert "Use bindgen + raw api"

This reverts commit 8ea00476b6.

* Add raw api, cleanup

* Fix unnecessary conversion

* Address comments

* Trying to retrigger CI
2024-06-28 15:39:23 -07:00
snek
04dd49291a
v0.95.0 (#1510) 2024-06-27 10:49:55 -07:00
snek
e747f405a4
fix: remove use of deprecated apis (#1488) 2024-06-27 08:29:46 -07:00
snek
0b440db772
feat: rust bindgen and publish flow (#1507) 2024-06-27 02:49:06 +00:00