757 Commits

Author SHA1 Message Date
Mark Banner
e89a00ba39 Bug 1946118 - Vendor new application-services search component into mozilla-central. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D236887
2025-02-06 07:42:20 +00:00
Ray Kraesig
431bd3e287 Bug 1945218 - [1/1] silence unused HasFloat warning r=glandium
This will go away once we update to bindgen 0.70 or greater. For now,
though, slap an `#[allow(dead_code)]` on it to get rid of the warning.

Differential Revision: https://phabricator.services.mozilla.com/D236239
2025-02-05 23:03:55 +00:00
Butkovits Atila
9868b151e8 Backed out 9 changesets (bug 1620998) for causing failures at basicWindowDotPrintTest. CLOSED TREE
Backed out changeset de1e828b253c (bug 1620998)
Backed out changeset ef91568228cc (bug 1620998)
Backed out changeset e0f97d7fe45c (bug 1620998)
Backed out changeset 7c45366aff86 (bug 1620998)
Backed out changeset c75348ac4b7f (bug 1620998)
Backed out changeset 0745243849c4 (bug 1620998)
Backed out changeset 56f508d896f8 (bug 1620998)
Backed out changeset 312a462ada77 (bug 1620998)
Backed out changeset fa59ccaa08b8 (bug 1620998)
2025-02-04 19:11:50 +02:00
Gabriele Svelto
648fede404 Bug 1620998 - Out-of-process crash generation for child processes r=afranchuk,geckoview-reviewers,glandium,browser-installer-reviewers,nalexander,owlish
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.

Differential Revision: https://phabricator.services.mozilla.com/D231083
2025-02-04 14:37:02 +00:00
Butkovits Atila
97942d0763 Backed out 9 changesets (bug 1620998) for causing bustages. CLOSED TREE
Backed out changeset cc1abb70a660 (bug 1620998)
Backed out changeset b7e67d55d83b (bug 1620998)
Backed out changeset dc2b27fce35f (bug 1620998)
Backed out changeset 4b2403fe71c0 (bug 1620998)
Backed out changeset e935faca4155 (bug 1620998)
Backed out changeset 18c68507ca1f (bug 1620998)
Backed out changeset 0d751b3fa172 (bug 1620998)
Backed out changeset 62a35ddaa958 (bug 1620998)
Backed out changeset bde29ceab1b2 (bug 1620998)
2025-02-04 14:21:32 +02:00
Gabriele Svelto
21fb9231d1 Bug 1620998 - Out-of-process crash generation for child processes r=afranchuk,geckoview-reviewers,glandium,browser-installer-reviewers,nalexander,owlish
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.

Differential Revision: https://phabricator.services.mozilla.com/D231083
2025-02-04 11:24:18 +00:00
Jan-Erik Rediger
a7c967f3d0 Bug 1944884 - Land Glean v63.1.0 r=TravisLong,supply-chain-reviewers,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D236194
2025-02-04 10:25:32 +00:00
Goloman Adrian
d11736cb29 Backed out changeset cc6c49efcb3d (bug 1945020) for causing build bustages. CLOSED TREE 2025-01-31 05:21:08 +02:00
Erich Gubler
fa7ea54aad Bug 1945020 - build(rust): bump minimum Rust version 1.76 → 1.82 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D236028
2025-01-31 03:02:53 +00:00
Ben Dean-Kawamura
25e192ccd7 Bug 1942391 - Vendor in app-services 25934715ecc08fc922c80797c637dea64ee742d1, r=adw
Differential Revision: https://phabricator.services.mozilla.com/D234778
2025-01-18 05:59:07 +00:00
Mike Hommey
9ff04b3b5a Bug 1940857 - Make cargo aware of our MSRV. r=firefox-build-system-reviewers,sergesanspaille
without a rust-version somewhere, cargo thinks it can just bump
everything it can, and bumps the Cargo.lock version to 4 when vendoring
new crates, which  doesn't work with our MSRV.

As far as experimentation goes, it doesn't seem we need rust-version set
in all our root crates.

Differential Revision: https://phabricator.services.mozilla.com/D233802
2025-01-14 21:20:01 +00:00
Erich Gubler
6e2875ea7c Bug 1939787 - build(rust): migrate thiserror 1 → 2 r=glandium,webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D233191
2025-01-10 22:29:57 +00:00
Erich Gubler
fc9ac9cdaf Bug 1939787 - build(webgpu): update WGPU to 5543961a71cc8e5399b696fae3f6aae82c019717 r=glandium,webgpu-reviewers,supply-chain-reviewers,jimb
This migration was non-trivial!

On the WebGPU side, a change in how load and store operations in render
attachments were represented meant that we needed to re-work FFI for
`RenderPassDepthStencilAttachment` and `RenderPassColorAttachment`, with
most of the effort going towards the former. These types, along with
`Option`, needed FFI-friendly replacements for `Option` and the related
types in `wgpu-core`.

There was also some housekeeping done to avoid duplicate dependencies:

* Create `thiserror` shim that downgrades v2 → v1. Otherwise, v2 would
  be brought in by the new WGPU. We can't go in the opposite direction
  yet, because `bitsclient` has code that breaks on upgrade. The next
  patch in this series addresses this, and reverses the direction of the
  shim.
* Also remove the now-unused shim adapting from `cfg_aliases` 0.1 to
  0.2.

Co-Authored-By: Jim Blandy <jimb@red-bean.com>

Differential Revision: https://phabricator.services.mozilla.com/D233192
2025-01-10 22:29:56 +00:00
Alexandru Marc
7bd67e126f Backed out 2 changesets (bug 1939787) for causing BR bustages @ rust.mk CLOSED TREE
Backed out changeset 8d3e2a8a98d3 (bug 1939787)
Backed out changeset d2074191b678 (bug 1939787)
2025-01-10 23:47:52 +02:00
Erich Gubler
303a20a350 Bug 1939787 - build(rust): migrate thiserror 1 → 2 r=glandium,webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D233191
2025-01-10 20:15:31 +00:00
Erich Gubler
c7b29db5f0 Bug 1939787 - build(webgpu): update WGPU to 5543961a71cc8e5399b696fae3f6aae82c019717 r=glandium,webgpu-reviewers,supply-chain-reviewers,jimb
This migration was non-trivial!

On the WebGPU side, a change in how load and store operations in render
attachments were represented meant that we needed to re-work FFI for
`RenderPassDepthStencilAttachment` and `RenderPassColorAttachment`, with
most of the effort going towards the former. These types, along with
`Option`, needed FFI-friendly replacements for `Option` and the related
types in `wgpu-core`.

There was also some housekeeping done to avoid duplicate dependencies:

* Create `thiserror` shim that downgrades v2 → v1. Otherwise, v2 would
  be brought in by the new WGPU. We can't go in the opposite direction
  yet, because `bitsclient` has code that breaks on upgrade. The next
  patch in this series addresses this, and reverses the direction of the
  shim.
* Also remove the now-unused shim adapting from `cfg_aliases` 0.1 to
  0.2.

Differential Revision: https://phabricator.services.mozilla.com/D233192
2025-01-10 20:15:30 +00:00
Mike Hommey
2cc39f81bb Bug 1940184 - Apply objc upstream fix that silences a cargo warning as a side effect. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D233321
2025-01-07 23:56:01 +00:00
lougeniac64
9a886f3c69 Bug 1888472 - Refactored webext-storage sync logic with uniffied component API r=markh,extension-reviewers,sync-reviewers,robwu,lina
Differential Revision: https://phabricator.services.mozilla.com/D213094
2024-12-21 21:16:44 +00:00
Alexandru Marc
bd468e7d39 Backed out changeset 706e9934d689 (bug 1888472) for causing build bustages @ Cargo.lock CLOSED TREE 2024-12-20 23:46:32 +02:00
lougeniac64
db17fa2d43 Bug 1888472 - Refactored webext-storage sync logic with uniffied component API r=markh,extension-reviewers,sync-reviewers,robwu,lina
Differential Revision: https://phabricator.services.mozilla.com/D213094
2024-12-20 20:42:46 +00:00
Benjamin Beurdouche
3bef7df577 Bug 1883321 - Part 1: Messaging Layer Security module, prefs and FFI. r=mt,glandium,nika,emilio
Messaging Layer Security (RFC 9420) rust module, prefs and FFI from Rust to C++.

This patch implements mls_gk which is a thin wrapper on the external mls-platform-api rust crate.

Differential Revision: https://phabricator.services.mozilla.com/D203680
2024-12-18 14:04:18 +00:00
Sandor Molnar
6b61a5aad4 Backed out 4 changesets (bug 1900537, bug 1883321) for causing build bustages. CLOSED TREE
Backed out changeset 560116c848c7 (bug 1900537)
Backed out changeset 519f2beaa972 (bug 1900537)
Backed out changeset be1b3bcbf647 (bug 1883321)
Backed out changeset fb2f38746d3f (bug 1883321)
2024-12-18 14:43:51 +02:00
Benjamin Beurdouche
ccadf64350 Bug 1883321 - Part 1: Messaging Layer Security module, prefs and FFI. r=mt,glandium,nika,emilio
Messaging Layer Security (RFC 9420) rust module, prefs and FFI from Rust to C++.

This patch implements mls_gk which is a thin wrapper on the external mls-platform-api rust crate.

Differential Revision: https://phabricator.services.mozilla.com/D203680
2024-12-18 12:06:51 +00:00
Sandor Molnar
ce80797adc Backed out 4 changesets (bug 1883321, bug 1900537) for causing build bustages. CLOSED TREE
Backed out changeset 3d59c5411aa5 (bug 1900537)
Backed out changeset 54ff63eb9703 (bug 1900537)
Backed out changeset a6bddc58d43f (bug 1883321)
Backed out changeset 7e51eb2e066b (bug 1883321)
2024-12-18 13:49:19 +02:00
Benjamin Beurdouche
3163fd4456 Bug 1883321 - Part 1: Messaging Layer Security module, prefs and FFI. r=mt,glandium,nika,emilio
Messaging Layer Security (RFC 9420) rust module, prefs and FFI from Rust to C++.

This patch implements mls_gk which is a thin wrapper on the external mls-platform-api rust crate.

Differential Revision: https://phabricator.services.mozilla.com/D203680
2024-12-18 10:07:41 +00:00
Norisz Fay
19bdbcffd4 Backed out 4 changesets (bug 1883321, bug 1900537) for causing bustages on Cargo.lock
Backed out changeset 7085f64159d1 (bug 1900537)
Backed out changeset b9db0177b920 (bug 1900537)
Backed out changeset b027ce53bfee (bug 1883321)
Backed out changeset b26c29557d77 (bug 1883321)
2024-12-17 22:01:52 +02:00
Benjamin Beurdouche
0326d5f701 Bug 1883321 - Part 1: Messaging Layer Security module, prefs and FFI. r=mt,glandium,nika,emilio
Messaging Layer Security (RFC 9420) rust module, prefs and FFI from Rust to C++.

This patch implements mls_gk which is a thin wrapper on the external mls-platform-api rust crate.

Differential Revision: https://phabricator.services.mozilla.com/D203680
2024-12-17 18:45:26 +00:00
Jan-Erik Rediger
20737aee41 Bug 1933939 - Update to Glean v63.0.0 r=supply-chain-reviewers,mach-reviewers,android-reviewers,twhite,chutten
Differential Revision: https://phabricator.services.mozilla.com/D230526
2024-12-13 16:07:35 +00:00
Alexandru Marc
1867c6e79e Backed out 4 changesets (bug 1933939, bug 1936835) for causing xpcshell failures @ test_ExperimentAPI_ExperimentFeature.js
Backed out changeset 429debfba4ad (bug 1936835)
Backed out changeset f121c08017a5 (bug 1933939)
Backed out changeset a0c962daf339 (bug 1933939)
Backed out changeset ba2d50ad9ad5 (bug 1933939)
2024-12-13 17:06:38 +02:00
Jan-Erik Rediger
d98ae58c1c Bug 1933939 - Update to Glean v63.0.0 r=supply-chain-reviewers,mach-reviewers,android-reviewers,twhite,chutten
Differential Revision: https://phabricator.services.mozilla.com/D230526
2024-12-13 13:50:28 +00:00
Norisz Fay
42e0f733c1 Backed out 4 changesets (bug 1933939, bug 1936835) for causing bc failures on browser_default_webprotocol_handler_mailto.js CLOSED TREE
Backed out changeset 4eed339b1621 (bug 1936835)
Backed out changeset 0828c8ab28ef (bug 1933939)
Backed out changeset 9847c76b664e (bug 1933939)
Backed out changeset 3b3c94c4b26e (bug 1933939)
2024-12-13 00:02:14 +02:00
Jan-Erik Rediger
82b5eb9dff Bug 1933939 - Update to Glean v63.0.0 r=supply-chain-reviewers,mach-reviewers,android-reviewers,twhite,chutten
Differential Revision: https://phabricator.services.mozilla.com/D230526
2024-12-12 20:14:32 +00:00
Narcis Beleuzu
ede7c3b640 Backed out 2 changesets (bug 1883321) for bc failure browser_bouncetracking_webAuthUserActivation.js . CLOSED TREE
Backed out changeset 42090e488c32 (bug 1883321)
Backed out changeset 59a0cec68243 (bug 1883321)
2024-12-07 11:03:22 +02:00
Benjamin Beurdouche
cbffa55b1a Bug 1883321 - Part 1: Messaging Layer Security module, prefs and FFI. r=mt,glandium,nika,emilio
Messaging Layer Security (RFC 9420) rust module, prefs and FFI from Rust to C++.

This patch implements mls_gk which is a thin wrapper on the external mls-platform-api rust crate.

Differential Revision: https://phabricator.services.mozilla.com/D203680
2024-12-07 07:23:00 +00:00
Stanca Serban
fb7afe8d4a Backed out 2 changesets (bug 1883321) for causing build bustages.
Backed out changeset 7804bdae9d6a (bug 1883321)
Backed out changeset c7ab54fa41bc (bug 1883321)
2024-12-07 08:51:21 +02:00
Benjamin Beurdouche
80d47ae907 Bug 1883321 - Part 1: Messaging Layer Security module, prefs and FFI. r=mt,glandium,nika,emilio
Messaging Layer Security (RFC 9420) rust module, prefs and FFI from Rust to C++.

This patch implements mls_gk which is a thin wrapper on the external mls-platform-api rust crate.

Differential Revision: https://phabricator.services.mozilla.com/D203680
2024-12-07 06:23:31 +00:00
Goloman Adrian
813cf9e0cb Backed out 4 changesets (bug 1883321, bug 1900537) for causing multiple failures. CLOSED TREE
Backed out changeset 7b1ab2c1bfb6 (bug 1900537)
Backed out changeset 1306fe3ef6d3 (bug 1900537)
Backed out changeset e83b4e090bc0 (bug 1883321)
Backed out changeset b9e50942a0cd (bug 1883321)
2024-12-07 02:50:49 +02:00
Benjamin Beurdouche
138e729ca3 Bug 1883321 - Part 1: Messaging Layer Security module, prefs and FFI. r=mt,glandium,nika,emilio
Messaging Layer Security (RFC 9420) rust module, prefs and FFI from Rust to C++.

This patch implements mls_gk which is a thin wrapper on the external mls-platform-api rust crate.

Differential Revision: https://phabricator.services.mozilla.com/D203680
2024-12-06 20:50:41 +00:00
Drew Willcoxon
cfe03e1d83 Bug 1932496 - Vendor application-services 3303de1 for suggest weather, geonames, and Yelp. r=nanj,bdk
3303de12a0

Differential Revision: https://phabricator.services.mozilla.com/D229698
2024-11-20 23:47:31 +00:00
Jan-Erik Rediger
be4a49db49 Bug 1928630 - Vendor Glean SDK v62.0.0 r=janerik,supply-chain-reviewers,mach-reviewers,android-reviewers,ahal,boek
Differential Revision: https://phabricator.services.mozilla.com/D228093
2024-11-11 13:07:47 +00:00
Drew Willcoxon
7e68562e68 Bug 1929475 - Vendor application-services 6a7df1d54b34579cbb2fbca257b5b11d40ab4ea2 for city-based weather. r=nanj
This vendoring only includes [one commit](6a7df1d54b) since the last vendor.

Differential Revision: https://phabricator.services.mozilla.com/D228136
2024-11-06 02:50:00 +00:00
Drew Willcoxon
e3f7e215f0 Bug 1929082 - Vendor application-services df8c16859ebeff46cb4fcfb65d7ca9dd6d4fa6d3 for city-based weather. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D227858
2024-11-05 00:12:03 +00:00
Alex Franchuk
5d203253d6 Bug 1923782 - Include minidump-analyzer library on android r=glandium,geckoview-reviewers,owlish,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D225787
2024-10-30 16:54:27 +00:00
Cristian Tuns
f3cde99407 Backed out changeset cd086554b496 (bug 1923782) for causing build bustages in /lib.cpp CLOSED TREE 2024-10-29 23:48:27 -04:00
Alex Franchuk
a4725f578c Bug 1923782 - Include minidump-analyzer library on android r=glandium,geckoview-reviewers,owlish,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D225787
2024-10-30 03:05:37 +00:00
Drew Willcoxon
05a523652a Bug 1927876 - Vendor application-services 892d31a9cbc3d3fff30fb70f63beacb92f0157ce for city-based weather. r=nanj
There were trivial failures in some urlbar tests due to the weather suggestions
changes that are the reason for this vendor, plus some ingest metrics changes in
this revision:

7e71b6a672

Differential Revision: https://phabricator.services.mozilla.com/D227271
2024-10-29 23:19:53 +00:00
Alex Franchuk
5e374731ed Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225234
2024-10-23 13:58:12 +00:00
Drew Willcoxon
6a92258ac9 Bug 1926112 - Vendor application-services a0121f35125bd61ebd10fab969f6cfcc02f94d5a for city-based weather. r=bdk,nanj,supply-chain-reviewers
I had to also bump `uniffi` and `uniffi_bindgen` from 0.28.1 to 0.28.2.

Differential Revision: https://phabricator.services.mozilla.com/D226381
2024-10-22 03:45:18 +00:00
Sandor Molnar
d5a787c761 Backed out changeset bb90d095b8b8 (bug 1917685) for causing xpc failures @ test_crash_exc_guard / test_crash_service CLOSED TREE 2024-10-22 01:46:53 +03:00
Alex Franchuk
8b1591e0b5 Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225234
2024-10-21 16:46:06 +00:00