Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: servo/mozjs

Tags

mozjs-sys-v0.140.5-10

Toggle mozjs-sys-v0.140.5-10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Publish and test debugmozjs artifacts (#544)

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-9

Toggle mozjs-sys-v0.140.5-9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Support using rooted macro with vectors. (#697)

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: servo/servo#41921

---------

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

v5

Toggle v5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: make windows-arm64 build (#698)

- 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-8

Toggle mozjs-sys-v0.140.5-8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: make windows-arm64 build (#698)

- 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

Toggle mozjs-sys-v0.140.5-7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update token for github release (#685)

This was missed when refactoring the publish workflow.

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

mozjs-sys-v0.140.5-6

Toggle mozjs-sys-v0.140.5-6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix building with recent python versions. (#674)

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

mozjs-sys-v0.140.5-5

Toggle mozjs-sys-v0.140.5-5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Reapply "Fix OHOS define" (#671)

* 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 dfae36e)

* 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

Toggle mozjs-sys-v0.140.5-4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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]>

mozjs-sys-v0.140.5-3

Toggle mozjs-sys-v0.140.5-3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add default feature for JIT (#589)

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

Toggle mozjs-sys-v0.140.5-2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixup global method on realm and add reborrow variant (#657)

* 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]>