0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-01 16:51:32 -05:00
Commit graph

1284 commits

Author SHA1 Message Date
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
denobot
b8d49899d3
Rolling to V8 12.7.224.9 (#1508) 2024-06-25 13:46:01 +02:00
denobot
5ca1067013
Rolling to V8 12.7.224.8 (#1506) 2024-06-24 13:50:03 +00:00
Divy Srivastava
a0dc5c1893
Add cppgc::InnerMember::get_mut (#1505) 2024-06-22 08:28:31 -07:00
denobot
425862adbc
Rolling to V8 12.7.224.6 (#1503) 2024-06-19 17:15:30 +02:00
Bartek Iwańczuk
3ec0ad6ea1
v0.94.0 (#1504) 2024-06-14 03:34:43 +02:00
denobot
4f03751d4a
Rolling to V8 12.7.224.1 (#1502)
* Rolling to V8 12.7.224.1

* fix eb0bb2596a

* idk

---------

Co-authored-by: snek <snek@deno.com>
2024-06-12 15:27:05 -07:00
snek
37023e66cc
Update v8 to 12.7 (#1501) 2024-06-12 17:33:26 +00:00
denobot
70f7881d99
Rolling to V8 12.6.228.16 (#1492) 2024-06-11 14:56:34 -04:00
Ryan Dahl
c3687bd565
chore: error on bad c++ formatting in ci (#1499) 2024-06-11 20:40:17 +05:30
Divy Srivastava
def3fd06ec
v0.93.1 (#1498) 2024-06-11 07:36:31 +05:30
Kedas
2bbc9053b5
Add v8::Template::set_intrinsic_data_property (#1496)
* feat: add `v8::Template::set_intrinsic_data_property`

* fix: use assert_eq instead of assert

* fix: cargo fmt
2024-06-10 10:40:14 -07:00
Divy Srivastava
ff92021910
Fix uninitialized context annex slot (#1497) 2024-06-10 20:55:09 +05:30
Bartek Iwańczuk
101be535c8
build: fix publishing step (#1495)
After adding the Android support the CI fails on tags because cargo publish was being run
on linux GNU and linux Android.
2024-06-06 23:02:18 +02:00
Bartek Iwańczuk
0911b83bcd
v0.93.0 (#1494) 2024-06-06 01:07:29 +00:00
Bartek Iwańczuk
74ae0b4712
chore: update dependencies (#1493) 2024-06-06 02:22:42 +02:00
snek
2a8b117c93
feat: add DataView constructor (#1491) 2024-06-03 13:47:57 -07:00
Ryan Dahl
756f47dcb9
v0.92.1 2024-05-29 10:36:40 -04:00
liushuyu
3b4ecfdc6f
fix: fix size checking on 32-bit platforms (#1489)
fix size checking on 32-bit platforms on 32-bit platforms like armv7 or
ppc32, the size of `v8::ScriptCompiler::CompilationDetails` and
`v8::ScriptCompiler::Source` will be different than currently expected.
This is due to how those 32-bit platforms layout the 64-bit elements in
a structure.
2024-05-29 10:32:50 -04:00
denobot
6dc819bba1
Rolling to V8 12.6.228.9 (#1487) 2024-05-25 13:40:26 +00:00
denobot
5ba0f3098c
Rolling to V8 12.6.228.5 (#1484) 2024-05-17 12:40:07 -04:00
Bartek Iwańczuk
cf3f19c512
chore: Update use of deprecated APIs (#1481)
This commit updates APIs related to named and indexed property
handlers to not use deprecated V8 APIs. Main change is the change
of return value in callbacks that now requires to return v8::Intercepted enum.

Towards #1478
2024-05-15 23:21:56 +00:00
Matt Mastracci
f9043140a3
v0.92.0 (#1479) 2024-05-15 20:40:07 +00:00
Matt Mastracci
2686f237f8
fix: Re-enable pointer compression (#1473)
* fix: Re-enable pointer compression

* macos-13

* Add a tight loop test

* Better test

* Update tests/test_api.rs
2024-05-15 15:33:59 +00:00
denobot
d340cd7daf
Rolling to V8 12.6.228.3 (#1466)
* Rolling to V8 12.6.228.3

* [ci]

* -Wdeprecated-declarations

---------

Co-authored-by: Matt Mastracci <matthew@mastracci.com>
2024-05-14 16:23:46 -06:00
Matt Mastracci
de0d9bc9a4
chore: track v8 12.6 (#1477) 2024-05-14 20:10:51 +00:00
Chiichen
4dd87b2dc1
chore: Fixed incorrect use of cfg! macro and update build.rs to support arm target (#1458)
What I've done

    Fixed incorrect use of cfg! macro use the CARGO_CFG_TARGET_<OS/ARCH> macro instead of the original cfg! (target_<os/arch>) This is because The build script is compiled for the host architecture as a separate build phase, as that's where it runs. Since the cfg macro runs at compile time it'll always report the host configuration there.When cargo runs the build script it passes the configuration through environment variables, one of which is CARGO_CFG_TARGET_ARCH. Some dicussions can be found here

    update build.rs to support arm target support arm target. Like the Aarch64 target, we need to additionally install the cross-compilation toolchain and specify the linker in Cargo/config.toml. I can add this part of the work in next pull request if necessary.


Co-authored-by: Matt Mastracci <matthew@mastracci.com>
2024-05-12 11:00:14 -06:00
Matt Mastracci
eb849c3b64
v0.91.1 (#1474) 2024-05-09 14:56:44 -06:00
Ardi
9ae2bc2e78
chore: Update toolchain + cargo update (#1469)
* Update toolchain + cargo update

* Update trybuild

* macos-13

---------

Co-authored-by: Matt Mastracci <matthew@mastracci.com>
2024-05-09 16:27:44 +00:00
Matt Mastracci
3324d5de6f
fix: don't pass refs to DELETE (#1471) 2024-05-03 17:07:20 -06:00
Pg
d11b720654
For #970 & #1303 : Enable build for aarch64-linux-android & x86_64-linux-android (#1468) 2024-04-22 17:16:26 -04:00
denobot
20b2989186
Rolling to V8 12.4.254.13 (#1465) 2024-04-18 23:05:53 +02:00
Bartek Iwańczuk
45a57811f0
v0.91.0 (#1464) 2024-04-17 23:07:34 +02:00
Bartek Iwańczuk
236b4eb881
chore: Update V8 to 12.4 (#1459)
Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
2024-04-16 19:57:04 -06:00
Bartek Iwańczuk
768d64fbd9
v0.90.1 (#1463) 2024-04-15 18:23:22 +00:00
Matt Mastracci
2e381e8f4d
fix: ASAN+OPT_LEVEL check in build.rs was incorrect (#1461) 2024-04-15 20:01:09 +02:00
Bartek Iwańczuk
665d3b2e05
v0.90.0 (#1460) 2024-04-15 17:40:05 +02:00
Matt Mastracci
44ea45d9cb
fix: add const as_str to OneByteConst and make empty slices sound (#1453) 2024-04-15 07:49:32 -06:00
Bartek Iwańczuk
777dfa6ac6
chore: track v8 12.4 (#1454) 2024-04-14 22:10:24 +02:00
Daniel Miller
cdeba6ac57
Refactored OwnedIsolate construction code in prep for lockers (#1442)
Pulled the isolate construction changes from the locker API to a separate PR.

Co-authored-by: Matt Mastracci <matthew@mastracci.com>
2024-04-13 08:08:18 -06:00
Aaron
f42a8e41e0
Add Drop impl for CFunctionInfo (#1451)
This deallocates the C++ allocation, preventing a memory leak

Co-authored-by: Matt Mastracci <matthew@mastracci.com>
2024-04-13 08:07:43 -06:00
Aaron
ab742578f6
Impl Drop for CTypeInfo (#1452)
This deallocates the C++ allocation, preventing a memory leak
2024-04-13 08:07:15 -06:00
Tom Ballinger
57c2338212
Add Isolate::date_time_configuration_change_notification (#1446)
* Add `Isolate::date_time_configuration_change_notification`

* write some C

---------

Co-authored-by: Matt Mastracci <matthew@mastracci.com>
2024-04-12 23:45:46 +00:00
Matt Mastracci
2ce9b4ca09
chore: Allow Rust ASAN flags to propagate into v8 build (#1449) 2024-04-12 15:26:06 -06:00
Bartek Iwańczuk
89fbf2a051
v0.89.0 (#1441) 2024-03-16 22:15:44 +00:00
Bartek Iwańczuk
943cbcb7c1
feat: Add v8::MicrotaskQueue::new() (#1440) 2024-03-16 04:00:57 +00:00