Commit Graph

1173 Commits

Author SHA1 Message Date
Ryan Dahl
857cf52856 chore: don't ignore deprecated declarations 2024-06-11 23:53:35 -04: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
Bartek Iwańczuk
91bec8216a
fix: mispelling in C binding (#1439)
Fixing a mistake I made in #1428.

Added some tests as well.
2024-03-16 03:32:28 +00:00
Matt Mastracci
66bb1716a8
chore: Release v0.88.0 (#1436) 2024-03-16 00:07:47 +00:00
Matt Mastracci
4332833a4c
chore: update README with cache info (#1435) 2024-03-15 23:47:15 +00:00
Matt Mastracci
d863782ed6
feat: .gz compress release artifacts (#1434) 2024-03-15 23:30:37 +00:00
Matt Mastracci
93682e95c0
feat: use .cargo/.rusty_v8/<file> for caching downloads manually (#1433) 2024-03-15 22:16:44 +00:00
Matt Mastracci
b6a4b61903
feat: aarch64 for macos (#1429) 2024-03-15 13:45:16 -07:00
Bartek Iwańczuk
596e8159f7
v0.87.0 (#1432) 2024-03-14 23:40:38 +00:00
Bartek Iwańczuk
10d12a450e
feat: Add "v8::Object::get_real_named_property_*" methods (#1428) 2024-03-15 00:20:03 +01:00
Divy Srivastava
69bac645e0
Add v8::MicrotaskQueue bindings (#1423) 2024-03-14 15:37:01 +00:00
Igor Zinkovsky
e511fc59f2
fix: update README with release instructions (#1431) 2024-03-13 21:30:21 -07:00
Igor Zinkovsky
45d3b80ada
v0.86.0 (#1430) 2024-03-13 18:25:02 -07:00