Skip to content

Releases: servo/mozjs

mozjs-sys-v0.140.0-3: Add minimal bindings for `Handle<StackGCVector<T>>`. (#620)

09 Sep 07:30
ae642f8
Compare
Choose a tag to compare
* Add minimal bindings for Handle<StackGCVector<T>>.

Signed-off-by: Josh Matthews <[email protected]>

* Add unit test.

Signed-off-by: Josh Matthews <[email protected]>

* Add missing glue wrappers.

Signed-off-by: Josh Matthews <[email protected]>

* Avoid returning non-POD datatypes.

Signed-off-by: Josh Matthews <[email protected]>

* Fix build error.

Signed-off-by: Josh Matthews <[email protected]>

* Remove some raw handle usage.

Signed-off-by: Josh Matthews <[email protected]>

* Fix build error.

Signed-off-by: Josh Matthews <[email protected]>

* Detect gfind/find when generating wrappers.

Signed-off-by: Josh Matthews <[email protected]>

* Format.

Signed-off-by: Josh Matthews <[email protected]>

---------

Signed-off-by: Josh Matthews <[email protected]>

mozjs-sys-v0.140.0-2: Add Cargo Feature for zlib-rs (#619)

23 Aug 12:55
6a966a7
Compare
Choose a tag to compare
* Switched to Using zlib-rs

Signed-off-by: Redfire <[email protected]>

* Added Cargo Feature for zlib-rs

Signed-off-by: Redfire <[email protected]>

* Updated Patches for zlib-rs

Signed-off-by: Redfire <[email protected]>

---------

Signed-off-by: Redfire <[email protected]>

mozjs-sys-v0.140.0-1: Use cargo provided icu_capi (#596)

20 Aug 20:18
af903e0
Compare
Choose a tag to compare
* Use Cargo provided icu_capi headers

Use the headers provided by cargo, instead of our local checkout.
This also revealed that we had been using version 1.5, when
we wanted to use 1.4, to be in sync with upstream.

Signed-off-by: Jonathan Schwender <[email protected]>

* Remove unneeded vendored code

Signed-off-by: Jonathan Schwender <[email protected]>

* try patch

Signed-off-by: Jonathan Schwender <[email protected]>

* replace \ with / in path

Signed-off-by: Jonathan Schwender <[email protected]>

---------

Signed-off-by: Jonathan Schwender <[email protected]>

mozjs-sys-v0.140.0-0: Upgrade to SpiderMonkey 140 (#607)

20 Aug 07:03
518ee8d
Compare
Choose a tag to compare
* Update SpiderMonkey

Signed-off-by: Josh Matthews <[email protected]>

* Update patches.

Signed-off-by: Josh Matthews <[email protected]>

* Apply patches.

Signed-off-by: Josh Matthews <[email protected]>

* Update jsglue.

Signed-off-by: Josh Matthews <[email protected]>

* Update wrappers.

Signed-off-by: Josh Matthews <[email protected]>

* Update README.

Signed-off-by: Josh Matthews <[email protected]>

* Update package version.

Signed-off-by: Josh Matthews <[email protected]>

* Wrap new Dispatchable ownership in a layer of opaque pointers.

Signed-off-by: Josh Matthews <[email protected]>

* Upgrade NDK to 28b.

Signed-off-by: Josh Matthews <[email protected]>

* Format jsglue.

Signed-off-by: Josh Matthews <[email protected]>

* Fetch mozjs source from github release. Reenable integrity check.

Signed-off-by: Josh Matthews <[email protected]>

* Update upgrade steps in README for new integrity job requirements.

Signed-off-by: Josh Matthews <[email protected]>

* Show git diff when integrity check fails.

Signed-off-by: Josh Matthews <[email protected]>

* Remove vendored jinja2 module.

Signed-off-by: Josh Matthews <[email protected]>

* Update jinja2 removal patch to use lowercase directory name.

Signed-off-by: Josh Matthews <[email protected]>

* Address review comments.

Signed-off-by: Josh Matthews <[email protected]>

* Fix documentation.

Signed-off-by: Josh Matthews <[email protected]>

---------

Signed-off-by: Josh Matthews <[email protected]>

mozjs-sys-v0.137.0-3: mozjs_sys: Honor the `CXXSTDLIB` environment variable (#615)

19 Aug 07:21
a51d878
Compare
Choose a tag to compare
`CXXSTDLIB` is an environment variable used by `cc` and many other
crates which lets developers to choose a standard C++ library of their
choice.

Make use of that variable in mozjs_sys's build.rs as well.

One of the use cases is supporting Linux distributions which use LLVM
instead of GCC as the main toolchain (e.g. Chimera, Gentoo musl-llvm
profile, OpenMandriva).

Signed-off-by: Michal Rostecki <[email protected]>

mozjs-sys-v0.137.0-2: Remove unneeded icu_capi features (#608)

14 Aug 13:14
e0a4ee4
Compare
Choose a tag to compare
* Reduce icu_capi features

We don't need all default features, which are quite a few:
https://github.com/unicode-org/icu4x/blob/599f3366f901eb0cc0af9de6c9de99998734bb8a/ffi/capi/Cargo.toml#L38

Co-authored-by: Yao Jian <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>

* windows: Link advapi32

Previously this seems to have been linked in by default
(e.g. on Rust 1.85.0), and also by some optional
feature in `icu_capi`.
Since SM relies on this library, we need to link against it.

Signed-off-by: Jonathan Schwender <[email protected]>

* fix duplicate space and bump mozjs

The bump is needed to make integrity happy

Signed-off-by: Jonathan Schwender <[email protected]>

* Add icu_calender and icu_properties

Co-authored-by: sagudev <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>

---------

Signed-off-by: Jonathan Schwender <[email protected]>
Co-authored-by: Yao Jian <[email protected]>
Co-authored-by: sagudev <[email protected]>

mozjs-sys-v0.137.0-1: fix icu_capi version (#606)

08 Aug 16:07
1410a4b
Compare
Choose a tag to compare
* fix icu_capi version

The vendored version of icu_capi was bumped to 1.5.0 in the SM 137
 update, so we need to update the version in the Cargo.toml too.
Additionally, we use `=1.5.0` to force selecting the same version
as the vendored one.
The vendored icu_capi is never built, only its headers are used.

Signed-off-by: Jonathan Schwender <[email protected]>

* bump mozjs-sys version

Signed-off-by: Jonathan Schwender <[email protected]>

---------

Signed-off-by: Jonathan Schwender <[email protected]>

v140 source

09 Aug 21:00
@jdm jdm
1410a4b
Compare
Choose a tag to compare
v140 source Pre-release
Pre-release

Source code used for the SpiderMonkey 140 upgrade.

mozjs-sys-v0.137.0-0: Upgrade to SpiderMonkey 137 (#584)

07 Aug 07:23
75ba574
Compare
Choose a tag to compare
* Update SpiderMonkey

Signed-off-by: Josh Matthews <[email protected]>

* Update COMMIT.

Signed-off-by: Josh Matthews <[email protected]>

* Update patches.

Signed-off-by: Josh Matthews <[email protected]>

* Apply patches.

Signed-off-by: Josh Matthews <[email protected]>

* Update handwritten glue.

Signed-off-by: Josh Matthews <[email protected]>

* Update jsapi wrappers.

Signed-off-by: Josh Matthews <[email protected]>

* Build fixes.

Signed-off-by: Josh Matthews <[email protected]>

* Formatting.

Signed-off-by: Josh Matthews <[email protected]>

* Set pending exception in panic unit test to avoid assertion.

Signed-off-by: Josh Matthews <[email protected]>

* Expose glue for using EnvironmentChain instances.

Signed-off-by: Josh Matthews <[email protected]>

* Match NDK requirements in CI.

Signed-off-by: Josh Matthews <[email protected]>

* Update mozilla-esr references and package version.

Signed-off-by: Josh Matthews <[email protected]>

* Add more packed attributes.

Signed-off-by: Josh Matthews <[email protected]>

* Work around Android build failure by removing failing static assert.

Signed-off-by: Josh Matthews <[email protected]>

* Display stderr/stdout output when build process fails.

Signed-off-by: Josh Matthews <[email protected]>

* Fix use of temporary file when testing ar support.

Signed-off-by: Josh Matthews <[email protected]>

* Use clang 16.

Signed-off-by: Josh Matthews <[email protected]>

* Ensure sysroot and minimum API level is provided when building on Android.

Signed-off-by: Josh Matthews <[email protected]>

* Comment out assertion that is not a constexpr in debug builds.

Signed-off-by: Josh Matthews <[email protected]>

* Allow integrity check to fail while mozjs source is unavailable.

Signed-off-by: Josh Matthews <[email protected]>

* Don't run patch integraity check.

Signed-off-by: Josh Matthews <[email protected]>

* Don't suppress diff when wrappers don't match.

Signed-off-by: Josh Matthews <[email protected]>

* Install llvm to.temp directory.

Co-authored-by: sagudev <[email protected]>
Signed-off-by: Josh Matthews <[email protected]>

---------

Signed-off-by: Josh Matthews <[email protected]>
Co-authored-by: sagudev <[email protected]>

mozjs-sys-v0.128.13-3: Implement runJobs() for the SpiderMonkey Debugger API (#597)

28 Jul 13:35
4035b0c
Compare
Choose a tag to compare
* Implement runJobs() for the SpiderMonkey Debugger API

Co-authored-by: atbrakhi <[email protected]>
Signed-off-by: Delan Azabani <[email protected]>

* Bump mozjs-sys crate version

Co-authored-by: atbrakhi <[email protected]>
Signed-off-by: Delan Azabani <[email protected]>

---------

Signed-off-by: Delan Azabani <[email protected]>
Co-authored-by: atbrakhi <[email protected]>