Skip to content

Releases: servo/mozjs

mozjs-sys-v0.140.5-9: Support using rooted macro with vectors. (#697)

18 Jan 08:39
48bf97d

Choose a tag to compare

We created our `RootedVec` type back before we supported storing
arbitrary traceable types in SpiderMonkey's `Rooted` class. Now that we
can do that, we can replicate SpiderMonkey's `RootedVec`, which is just
a Rooted wrapper around a vector.

Testing: New unit test added.
Servo PR: https://github.com/servo/servo/pull/41921

---------

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

mozjs-sys-v0.140.5-10: Publish and test debugmozjs artifacts (#544)

18 Jan 10:29
125b5ab

Choose a tag to compare

With this PR we also generate debugmozjs artifacts (for windows, mac and
linux; mobile platforms were skipped). Such artifacts are now loaded by
same mechanism as normal ones, so for servo developers it's just matter
of switching debugmozjs on and this will now avoid SM compilation.
Debugmozjs artifacts are not stripped, as it's users will likely need
them for debugging.

Switching between features works because `target/build/mozjs_sys-hash`,
where hash depends on features (so we get different folder for
debugmozjs \o/).

Fix #541

---------

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

mozjs-sys-v0.140.5-8: fix: make windows-arm64 build (#698)

17 Jan 16:26
78f08ed

Choose a tag to compare

- enable aarch64 on windows on arm

---------

Signed-off-by: Burhan Khanzada <[email protected]>
Signed-off-by: Burhan Khanzada <[email protected]>

mozjs-sys-v0.140.5-7: Update token for github release (#685)

18 Dec 02:52
9a4fbd9

Choose a tag to compare

This was missed when refactoring the publish workflow.

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

mozjs-sys-v0.140.5-6: Fix building with recent python versions. (#674)

27 Nov 13:25
0a22be6

Choose a tag to compare

mozjs-sys-v0.140.5-5: Reapply "Fix OHOS define" (#671)

26 Nov 14:55
256cc57

Choose a tag to compare

* Fix OHOS define (#666)

* Fix OHOS define

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

* Fix indentation

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

* Avoid name collision by not importing header

Assertions .h is also included in `c` files, so using namespaces
is not an option to avoid the collision.
js::LogLevel, collides with the hilog LogLevel enum.

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

* Fix vprintf impl

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

* Update patches

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

* Bump mozjs version

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

* Completely inline function declaration

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

* ohos: Add debug-mozjs ci configuration

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

---------

Signed-off-by: Jonathan Schwender <[email protected]>
(cherry picked from commit dfae36e63e69db694f5dc80639ff452d15b94b10)

* Fix visibility in declaration

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

* Add a CI test that ensures ohos binaries can link

Compiling the unit-tests assures, that linking succeeds.
Signed-off-by: Jonathan Schwender <[email protected]>

* Bump version again

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

* Remove system headers patch

Not needed anymore, since we don't include this file.

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

---------

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

mozjs-sys-v0.140.5-4: Fix OHOS define (#666)

25 Nov 07:16
dfae36e

Choose a tag to compare

* Fix OHOS define

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

* Fix indentation

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

* Avoid name collision by not importing header

Assertions .h is also included in `c` files, so using namespaces
is not an option to avoid the collision.
js::LogLevel, collides with the hilog LogLevel enum.

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

* Fix vprintf impl

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

* Update patches

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

* Bump mozjs version

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

* Completely inline function declaration

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

* ohos: Add debug-mozjs ci configuration

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

---------

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

mozjs-sys-v0.140.5-3: Add default feature for JIT (#589)

20 Nov 20:27
e1f9c3a

Choose a tag to compare

When building servo on Linux with the profile `production-stripped`,
disabling JIT with this change shaves off 9MiB from the servo binary
size, which is around 10%.

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

mozjs-sys-v0.140.5-2: Fixup global method on realm and add reborrow variant (#657)

16 Nov 07:42
16e1e3a

Choose a tag to compare

* currentglobal

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

* wrappers2

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

* fmt

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

* Apply suggestions from code review

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

---------

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

mozjs-sys-v0.140.5-1: build: Remove deprecated static_flag(true) call. (#651)

11 Nov 20:12
b4c210b

Choose a tag to compare

This method has been deprecated in cc-rs, since cc-rs
will only build static libraries. See the deprecation notice
in the latest version:
https://docs.rs/cc/latest/cc/struct.Build.html#method.static_flag

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