Граф коммитов

599 Коммитов

Автор SHA1 Сообщение Дата
Sammy Khamis bbbee19545 Bug 1818349 Part 1: Vendor new version of application-services r=markh
Differential Revision: https://phabricator.services.mozilla.com/D171181
2023-03-07 07:42:14 +00:00
Teodor Tanasoaia 9e00f679fd Bug 1818748 - Vendor wgpu changes. r=webgpu-reviewers,jimb
Depends on D170906

Differential Revision: https://phabricator.services.mozilla.com/D170907
2023-03-06 17:00:16 +00:00
Ryan VanderMeulen 76b958d3b3 Backed out changesets b05343a5b533 and 57b2cda7e0db (bug 1818349) for causing bug 1819723. 2023-03-01 17:52:01 -05:00
Cristina Horotan 7bd3967451 Backed out 2 changesets (bug 1816835, bug 1817043) for causing multiple bc tests to timeout
Backed out changeset 78d5cd985e6f (bug 1817043)
Backed out changeset 9613b1bcc57c (bug 1816835)
2023-02-28 15:26:31 +02:00
Sammy Khamis 8c8c25f26b Bug 1818349 Part 1: Vendor new version of application-services r=markh
Differential Revision: https://phabricator.services.mozilla.com/D171181
2023-02-28 05:14:29 +00:00
Matthew Gregan 10ea15f976 Bug 1816835 - Update AudioIPC macOS branch to 89de5602. r=cubeb-reviewers,glandium,supply-chain-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D169877
2023-02-27 22:28:08 +00:00
Tiaan Louw 6fe94c07e9 Bug 1813481 - Use abstract color parser r=emilio,supply-chain-reviewers
In stead of having the css parser construct a color in it's own format
and then converting it to what Gecko needs to perform operations, we now
construct a Gecko friendly color type directly.

Differential Revision: https://phabricator.services.mozilla.com/D170187
2023-02-26 11:11:21 +00:00
Nicolas Silva 7e1172fe66 Bug 1817829 - Vendor wgpu changes. r=webgpu-reviewers,teoxoy
Depends on D170494

Differential Revision: https://phabricator.services.mozilla.com/D170495
2023-02-21 22:36:52 +00:00
Nicolas Silva ac992fe0e2 Bug 1816781 - Vendor wgpu changes. r=webgpu-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D169868
2023-02-15 16:45:33 +00:00
Nicolas Silva 42b65ab53d Bug 1816480 - Vendor wgpu changes. r=webgpu-reviewers,jimb
Depends on D169827

Differential Revision: https://phabricator.services.mozilla.com/D169828
2023-02-14 20:55:40 +00:00
Kershaw Chang b49bc6bc2d Bug 1816660 - Update neqo to v0.6.4, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D169809
2023-02-14 19:35:24 +00:00
zaggy1024 7217f6c812 Bug 1814736 - Update mp4parse to fix a crash on files with invalid box sizes. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D169163
2023-02-08 01:36:17 +00:00
Nicolas Silva 38ad8da4eb Bug 1814848 - Vendor wgpu changes. r=webgpu-reviewers,jimb CLOSED TREE
Depends on D168929

Differential Revision: https://phabricator.services.mozilla.com/D168930
2023-02-07 18:08:30 +00:00
Csoregi Natalia 435547cbe3 Backed out 3 changesets (bug 1814848) for causing address sanitizer fails in MOZ_Crash. CLOSED TREE
Backed out changeset 38ecc5076ab3 (bug 1814848)
Backed out changeset 7dd5ce12c5f3 (bug 1814848)
Backed out changeset 5c42f3352b26 (bug 1814848)
2023-02-07 23:10:17 +02:00
Nicolas Silva 720ce2d73f Bug 1814848 - Vendor wgpu changes. r=webgpu-reviewers,jimb
Depends on D168929

Differential Revision: https://phabricator.services.mozilla.com/D168930
2023-02-07 18:08:30 +00:00
zaggy1024 72068f13d2 Bug 1810613 - Part 1 - Update mp4parse to 40763b6. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D168344
2023-02-01 09:45:40 +00:00
Nika Layzell 8d5ea433cf Bug 1810615 - Update the async-task crate, r=supply-chain-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D168175
2023-01-31 20:35:32 +00:00
Nicolas Silva b9a14703be Bug 1813547 - Vendor wgpu changes. r=webgpu-reviewers,jimb
Differential Revision: https://phabricator.services.mozilla.com/D168303
2023-01-31 18:29:10 +00:00
Jan-Erik Rediger 5cd8c5650a Bug 1812615 - Update to Glean v52.2.0, glean_parser 7.0.0 and UniFFI 0.23. r=chutten,markh,glandium,supply-chain-reviewers
The in-tree UniFFI bindings were regenerated with:

    ./mach uniffi generate

Differential Revision: https://phabricator.services.mozilla.com/D168060
2023-01-31 11:12:05 +00:00
zaggy1024 3a3cae761c Bug 1788119 - Part 4 - Update mp4parse-rust for AVIS support. r=kinetik,glandium,supply-chain-reviewers
Depends on D156652

Differential Revision: https://phabricator.services.mozilla.com/D156653
2023-01-27 21:25:51 +00:00
Butkovits Atila 2e5eede2fe Backed out 5 changesets (bug 1788119) for causing bustages complaining about AVIFDecodedData. CLOSED TREE
Backed out changeset 430e71478ff5 (bug 1788119)
Backed out changeset 9493029c76b9 (bug 1788119)
Backed out changeset 7d5cc211e3f5 (bug 1788119)
Backed out changeset 3eaac75dde3c (bug 1788119)
Backed out changeset 1f8eacf96c71 (bug 1788119)
2023-01-27 22:54:08 +02:00
zaggy1024 6e1edc99bb Bug 1788119 - Part 4 - Update mp4parse-rust for AVIS support. r=kinetik,glandium,supply-chain-reviewers
Depends on D156652

Differential Revision: https://phabricator.services.mozilla.com/D156653
2023-01-27 19:54:29 +00:00
Norisz Fay 58c65f7c8f Backed out 5 changesets (bug 1788119) for causing build bustages on DecoderData.cpp CLOSED TREE
Backed out changeset 56abc66f7e84 (bug 1788119)
Backed out changeset 00d82acfaa2f (bug 1788119)
Backed out changeset 4ba88410cdf6 (bug 1788119)
Backed out changeset eeb1461933aa (bug 1788119)
Backed out changeset 8dce9350abb8 (bug 1788119)
2023-01-27 21:11:42 +02:00
zaggy1024 2628afb491 Bug 1788119 - Part 4 - Update mp4parse-rust for AVIS support. r=kinetik,glandium,supply-chain-reviewers
Depends on D156652

Differential Revision: https://phabricator.services.mozilla.com/D156653
2023-01-27 18:35:14 +00:00
Tiaan Louw 86d43cae15 Bug 1128204 - Implement color() function from CSS specification r=emilio,supply-chain-reviewers
Colors can now be defined in different color spaces with the color()
function.

https://w3c.github.io/csswg-drafts/css-color-4/#predefined

Differential Revision: https://phabricator.services.mozilla.com/D164866
2023-01-27 12:44:18 +00:00
Jeff Muizelaar 3a46da3d80 Bug 1803375. Use different coordinates when running on AMD. r=lsalzman,jgilbert
This updates the version wpf-gpu-raster which adds support for
GPUs/drivers that use truncation instead of rounding when converting
vertices to fixed point.

It also adds the GL vendor to InitContextResult so that we can detect
AMD on macOS and tell wpf-gpu-raster that truncation is going to happen.

Differential Revision: https://phabricator.services.mozilla.com/D167503
2023-01-27 01:45:17 +00:00
Nicolas Silva aae0495a42 Bug 1811284 - Vendor wgpu changes. r=webgpu-reviewers,ErichDonGubler"
Differential Revision: https://phabricator.services.mozilla.com/D167277
2023-01-24 09:24:03 +00:00
Nicolas Silva 03eaaeceaf Bug 1811284 - Update wgpu to 24a904256e225b20b11fb30f914ef53212a2909e. r=webgpu-reviewers,ErichDonGubler,jimb
Differential Revision: https://phabricator.services.mozilla.com/D167276
2023-01-24 09:24:03 +00:00
Sammy Khamis e87e5cf1c9 Bug 1800186 - Part 1: Vendor new version of application-services r=markh,bdk
Differential Revision: https://phabricator.services.mozilla.com/D167219
2023-01-23 19:15:40 +00:00
Chris H-C af3328afcc Bug 1765921 - Rename `fog` crate to `firefox-on-glean` r=TravisLong,supply-chain-reviewers
This matches the empty-and-published-to-crates.io crate, which should allow for
easier optional dependencies in Rust.

Differential Revision: https://phabricator.services.mozilla.com/D165317
2023-01-20 23:14:03 +00:00
Nicolas Silva db956b65c9 Bug 1810495 - Update wgpu to fac4731288117d951d0944d96cf0b00fa006dd6c. r=webgpu-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D166916
2023-01-20 15:39:41 +00:00
Tiaan Louw 5b5450146f Bug 1352757 - Add lab(), lch(), oklab(), oklch() to specified colors. r=supply-chain-reviewers,emilio
Use new changes from cssparser and use the new lab/lch/oklab/oklch color
formats.

Introduced a new color type AbsoluteColor.  It represents any kind of
color that has absolute numerical values.  It is also tied to a color
space and therefore can be trivially converted to another color space.

Differential Revision: https://phabricator.services.mozilla.com/D163579
2023-01-20 10:55:51 +00:00
Cosmin Sabou c5cbcf0a2e Backed out changeset 218b12b92ccb (bug 1352757) for causing failures on test_transitions_per_property.html. 2023-01-19 19:34:50 +02:00
Tiaan Louw bb0657c1b2 Bug 1352757 - Add lab(), lch(), oklab(), oklch() to specified colors. r=supply-chain-reviewers,emilio
Use new changes from cssparser and use the new lab/lch/oklab/oklch color
formats.

Introduced a new color type AbsoluteColor.  It represents any kind of
color that has absolute numerical values.  It is also tied to a color
space and therefore can be trivially converted to another color space.

Differential Revision: https://phabricator.services.mozilla.com/D163579
2023-01-19 16:17:15 +00:00
Iulian Moraru f2db3a5e51 Backed out 2 changesets (bug 1810495) for causing rust linting failures.
Backed out changeset 8e353f0600a8 (bug 1810495)
Backed out changeset d75d527cdeee (bug 1810495)
2023-01-19 00:27:26 +02:00
Nicolas Silva 32ec025d52 Bug 1810495 - Update wgpu to fac4731288117d951d0944d96cf0b00fa006dd6c. r=webgpu-reviewers,teoxoy
Depends on D166915

Differential Revision: https://phabricator.services.mozilla.com/D166916
2023-01-18 21:58:49 +00:00
Matthew Gregan 886d44aef1 Bug 1801049 - Update AudioIPC macOS branch to 73c8a02d. r=cubeb-reviewers,padenot
Picks up a single fix to address a deadlock triggered when attempting to
configure an audio device that has been removed.

Differential Revision: https://phabricator.services.mozilla.com/D166736
2023-01-17 00:35:51 +00:00
Gabriele Svelto 2075a2a0a9 Bug 1793784 - Replace the minidump_writer_linux crate with the minidump-writer crate r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158669
2023-01-10 22:14:30 +00:00
Mike Hommey f26e1e9273 Bug 1807884 - Update warp to 0.3.3. r=webdriver-reviewers,supply-chain-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D165651
2023-01-10 00:50:06 +00:00
Nicolas Silva 7b36cb3adb Bug 1808331 - Update wgpu. r=#webgpu-reviewers CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D165962
2023-01-04 16:22:30 +00:00
Stanca Serban d46c924b0b Backed out changeset e0a5ed021a2c (bug 1808331) for causing linting failures. 2023-01-04 18:36:53 +02:00
Nicolas Silva 8db661cfd8 Bug 1808331 - Update wgpu. r=webgpu-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D165869
2023-01-04 13:19:44 +00:00
Ben Dean-Kawamura 79c4dcd5b0 Bug 1788306: UniFFI callback interfaces, r=nika
Started callback interface functionality to UniFFI.  Currently this only
supports the async fire-and-forget use case, where Rust queues a JS
function to run, but doesn't wait (or `await`) for the response.

The basic system is:

  - The JS code registers a callback interface handler with the C++
    code.  This handler is responsible for the specifics of invoking the
    callback.
  - The C++ code defines a function to call a JS handler.  Once the JS
    handler registers itself with C++, the C++ registers it's function
    with Rust.
  - The C++ code queues the call to the JS main thread.
  - Because of how UniFFI handles callback interfaces, the C++ code can
    be "dumb".  UniFFI sends a object id, method id, and RustBuffer
    encoding all arguments.  This means C++ doesn't need to care about
    the specific arguments, they get unpacked by JS.

I tried to keep the generated code as simple as possible by moving the
complexity to static code.  For JS this meant writing a generic
`UniFFICallbackHandler` class in the static code that the generated code
constructs.  For C++ this meant the generated code defines a
`UniFFIGetCallbackInterfaceInfo` function that returns a struct with all
the data specific to a callback interface (it's name, the UniFFI
scaffolding init function, etc).  The static code can then define a
generic `QueueCallback` function that looks up the callback interface
info using the interface ID and then makes the call.

Allow UniFFI functions to run on the main thread rather than always
being dispatched to a worker thread.  This allows us to test invoking
callback interfaces from the main thread thread. I don't think we will
use this much currently, since we don't want to block the main thread
for any significant amount of time. However, this will pair well with
the next step in the project which is async -- allowing async Rust
functions to call async JS functions. In that scenario, dispatching to
the worker thread is unnecessary.

Callback interface objects present a potential memory leak, since you
can easily create a cycle between a JS Callback object and a UniFFIed
Rust object, and the GC has no way of detecting it.  To try to detect
these there's some shutdown code that checks that there are no callbacks
registered during shutdown and prevents any future callbacks from being
registered.

Added a `config.toml` file and code to parse it.  This is needed to
specify which functions should run on the main thread.

Updated the git commits for the several UniFFI examples/fixtures.

Differential Revision: https://phabricator.services.mozilla.com/D156116
2023-01-03 20:57:53 +00:00
Kershaw Chang 1a5d5eb1c9 Bug 1805652 - neqo v0.6.3, r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D164657
2022-12-23 10:16:53 +00:00
Mike Hommey 87f22a6c1d Bug 1806764 - Update mapped_hyph to current master. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D165251
2022-12-21 08:53:26 +00:00
Ray Kraesig 665483f331 Bug 1804178 - [4/6] Remove pytoml output postprocessing r=glandium
The postprocessing phase that cleaned up `pytoml`'s output has little
effect on `toml`'s output, which is already largely clean. Remove the
additional code.

Differential Revision: https://phabricator.services.mozilla.com/D164153
2022-12-20 23:01:25 +00:00
Ray Kraesig 2ba26991d4 Bug 1804178 - [3/6] Remove explicit sorting of TOML output r=glandium
Remove explicit sorting, as this is no longer needed to guarantee
determinism as of Python 3.6 (our minimum-supported version).

(This is a separate commit solely to make it clear that the reordering
of `.cargo/config.in` is indeed merely a reordering and contains no
hidden functional changes.)

Differential Revision: https://phabricator.services.mozilla.com/D164152
2022-12-20 23:01:25 +00:00
Jim Blandy dde6692f0e Bug 1806166: Update wgpu to f14bee67 (2022-12-16) r=nical,supply-chain-reviewers
This brings in various bugfixes and improvements from upstream,
including the fix for bug 1791809 and a workaround for bug 1804530.

In this update, `wgpu_core` leaves the selection of backends to its
users, rather than trying to guess which backends to use itself, based
on the target architecture and operating system. For Firefox, this
means that `gfx/wgpu_bindings/Cargo.toml` is now responsible for
selecting back ends.

Firefox's WebGPU implementation should never use `wgpu`'s GLES
backend. Firefox can now explain this to `wgpu-core`, causing it to
drop its dependency on `glow`, `bitflags_serde_shim` and `slotmap`.
These are no longer vendored, and their exemptions in
`supply-chain/config.toml` can be dropped.

The new `wgpu-core` updates to version 0.37.1+1.3.235 of the `ash`
crate, and this patch moves ash's supply-chain exemption forward to
the new version. We expect to finish vetting that next week, but
because this `wgpu-core` update is urgently needed, we want to extend
the exemption for the time being.

The dependency on `slotmap` had been patched to an empty file in
`build/rust/dummy-web`, which can now be removed.

The new `wgpu-core` no longer uses `cfg_aliases`, so Firefox no longer
needs to vendor that.

Differential Revision: https://phabricator.services.mozilla.com/D164928
2022-12-17 22:25:49 +00:00
Mark Hammond 8fd66feff0 Bug 1801295 (part 2) - vendor new application-services with the fix. r=skhamis
Depends on D164781

Differential Revision: https://phabricator.services.mozilla.com/D164782
2022-12-15 22:51:51 +00:00
Csoregi Natalia ffeed88c2a Backed out changeset e6becf16d643 (bug 1788306) for causing bustage on UniFFICallbacks.cpp. CLOSED TREE 2022-12-15 01:16:12 +02:00