99 Commits

Author SHA1 Message Date
Erich Gubler
d58d10bee0 Bug 1961207 - build(rust): shim-upgrade itertools 0.10.0 → 0.14.0 r=supply-chain-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D245935
2025-04-22 12:03:45 +00:00
Dana Keeler
f5eea27271 Bug 1958095 - convert pkcs11testmodule to rust to simplify implementing additional features r=nkulatova,glandium
Differential Revision: https://phabricator.services.mozilla.com/D244252
2025-04-08 15:45:12 +00:00
Butkovits Atila
b74789cbe7 Backed out changeset 390256672eac (bug 1958095) for causing bustages at libpkcs11testmodule.so. CLOSED TREE 2025-04-07 21:26:19 +03:00
Dana Keeler
5ef9879ac1 Bug 1958095 - convert pkcs11testmodule to rust to simplify implementing additional features r=nkulatova,glandium
Differential Revision: https://phabricator.services.mozilla.com/D244252
2025-04-07 15:38:47 +00:00
Anna
20ceb96c36 Bug 1942805 - Builtins: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,nalexander,owlish,jschanck
Differential Revision: https://phabricator.services.mozilla.com/D234953
2025-02-21 12:49:03 +00:00
Goloman Adrian
7a6f0dd01d Backed out 10 changesets (bug 1942805, bug 1620998) for causing grandle and ui failures.
Backed out changeset b840c4565b11 (bug 1942805)
Backed out changeset 7acecab7051d (bug 1620998)
Backed out changeset bad9fd65a113 (bug 1620998)
Backed out changeset 11b93a07b5b1 (bug 1620998)
Backed out changeset c6e1addf36e0 (bug 1620998)
Backed out changeset be300aa07606 (bug 1620998)
Backed out changeset fb9daf29a61a (bug 1620998)
Backed out changeset 2ee28adc6f8e (bug 1620998)
Backed out changeset ef24c2b9784c (bug 1620998)
Backed out changeset 8f5c82b3dbe5 (bug 1620998)
2025-02-19 21:24:01 +02:00
Anna
42368e5466 Bug 1942805 - Builtins: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,nalexander,owlish
Differential Revision: https://phabricator.services.mozilla.com/D234953
2025-02-19 15:16:38 +00:00
Gabriele Svelto
5b7d8fdf9a 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-19 12:58:34 +00:00
Butkovits Atila
e172dc8166 Backed out changeset 252a1b94c754 (bug 1942805) for causing failures at test_builtins.js. CLOSED TREE 2025-02-19 13:39:27 +02:00
Anna
9d12ca5e71 Bug 1942805 - Builtins: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,nalexander,owlish
Differential Revision: https://phabricator.services.mozilla.com/D234953
2025-02-19 10:12:11 +00:00
Max Inden
f55183dd58 Bug 1942325 - update neqo to v0.12.2 r=kershaw,necko-reviewers,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D234901
2025-02-14 14:32:02 +00:00
Stanca Serban
4b816a2102 Backed out 10 changesets (bug 1620998, bug 1565033) for causing xpcshell failures.
Backed out changeset b2a854b53890 (bug 1565033)
Backed out changeset 72e6d58417a6 (bug 1620998)
Backed out changeset 36cbb4c4de20 (bug 1620998)
Backed out changeset 26b4bd0a30fe (bug 1620998)
Backed out changeset 5f24f386b12c (bug 1620998)
Backed out changeset 954fcb2f8ae1 (bug 1620998)
Backed out changeset 48a67f641eff (bug 1620998)
Backed out changeset e342d2531f46 (bug 1620998)
Backed out changeset 1be788431dae (bug 1620998)
Backed out changeset bcb528abe29d (bug 1620998)
2025-02-13 04:18:34 +02:00
Gabriele Svelto
e2f7a6a1c8 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-12 14:06:10 +00:00
Sandor Molnar
77eb9e958e Backed out 9 changesets (bug 1620998) for causing multiple xpc failures. CLOSED TREE
Backed out changeset d261d33c1778 (bug 1620998)
Backed out changeset 159fa2982a24 (bug 1620998)
Backed out changeset 7b2fd4d66216 (bug 1620998)
Backed out changeset 81bf2c760466 (bug 1620998)
Backed out changeset bd4719db23d2 (bug 1620998)
Backed out changeset 074b06a16323 (bug 1620998)
Backed out changeset 0d6ef1c8e871 (bug 1620998)
Backed out changeset 0a7a0876a987 (bug 1620998)
Backed out changeset fe27920e71da (bug 1620998)
2025-02-11 19:23:09 +02:00
Gabriele Svelto
849a598e7b 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-11 13:46:06 +00:00
Alexandru Marc
e3b8358964 Backed out 9 changesets (bug 1620998) for causing multiple failures
Backed out changeset fbdd468c1a87 (bug 1620998)
Backed out changeset 186864c03143 (bug 1620998)
Backed out changeset 76fdeb0d5f29 (bug 1620998)
Backed out changeset 948a12c0b735 (bug 1620998)
Backed out changeset d851c9093643 (bug 1620998)
Backed out changeset cd9fd4003d4c (bug 1620998)
Backed out changeset 285a2c5f5da3 (bug 1620998)
Backed out changeset 63b77e1967fb (bug 1620998)
Backed out changeset e15cdf03ffee (bug 1620998)
2025-02-10 13:36:08 +02:00
Gabriele Svelto
c1aedcc20f 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-10 09:17:47 +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
Anna
2504ff7b8e Bug 1938312 - IPCClientCerts: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,m_kato,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D232620
2025-02-03 09:40:15 +00:00
Goloman Adrian
bae3b38b18 Backed out changeset f3cca9b9f4b9 (bug 1942325) for causing xpcshell failures @est_close.js. CLOSED TREE 2025-01-30 21:28:48 +02:00
Max Inden
134a60e9fa Bug 1942325 - update neqo to v0.12.2 r=kershaw,necko-reviewers,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D234901
2025-01-30 09:16:28 +00:00
Anna Weine
d010e93c00 Bug 1937808 - Export OSClientCerts in libxul instead of shared library r=keeler,glandium
Differential Revision: https://phabricator.services.mozilla.com/D230412
2025-01-15 19:46:29 +00:00
Mike Hommey
05055e2777 Bug 1940864 - Refresh rust workspace hack. r=firefox-build-system-reviewers,sergesanspaille
Notes:
- because minidump-analyzer is not a root crate, it doesn't need the
workspace hack.
- allocator-api2 was added in bug 1912019, we don't need to work around
its use in hashbrown anymore.

Differential Revision: https://phabricator.services.mozilla.com/D233788
2025-01-14 01:00:49 +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
Alex Franchuk
a0ca1d43b3 Bug 1521450 - Enable per-monitor DPI scaling V2 in the Windows GUI r=gsvelto,glandium
This is quite an improvement on the quirks of the previous GDI scaling.

It also mostly supports the windows 10+ "Make text bigger" setting: it
reads the value from the registry (albeit at an unofficial location),
but doesn't register a key change listener to update the value if it
changes while the application is open. I think this is very, very likely
to be good enough; I will be surprised if someone notices this
deficiency! The official API is part of UWP and is accessible through
C++ libraries, but not conveniently through win32 APIs, which is why I
use the registry.

Differential Revision: https://phabricator.services.mozilla.com/D221544
2024-09-27 17:18:58 +00:00
Alex Franchuk
02822fce86 Bug 1743983 pt1 - Audits and vendoring for minidump-analyzer r=glandium,supply-chain-reviewers,profiler-reviewers,aabh
Differential Revision: https://phabricator.services.mozilla.com/D208390
2024-09-24 13:36:20 +00:00
Norisz Fay
70233c5bb2 Backed out 6 changesets (bug 1743983) for causing xpcshell failures on test_crash_exc_guard.js
Backed out changeset 4c18ba39bd29 (bug 1743983)
Backed out changeset d752fefce387 (bug 1743983)
Backed out changeset 85fe08447584 (bug 1743983)
Backed out changeset 777d22bbe805 (bug 1743983)
Backed out changeset 60b418a167d7 (bug 1743983)
Backed out changeset a46c460ecb3a (bug 1743983)
2024-09-24 00:17:08 +03:00
Alex Franchuk
2d47639665 Bug 1743983 pt1 - Audits and vendoring for minidump-analyzer r=glandium,supply-chain-reviewers,profiler-reviewers,aabh
Differential Revision: https://phabricator.services.mozilla.com/D208390
2024-09-23 19:55:01 +00:00
Ben Dean-Kawamura
98d9c11242 Bug 1915426 - Update clap/heck/darling/anstyle/strsim, r=glandium,supply-chain-reviewers
Updated:
  - heck 0.4.1 -> 0.5.0
  - clap 4.4.5 -> 4.5.16
  - darling v0.20.1 -> v0.20.10
  - strsim 0.10.0 -> 0.11.1
  - anstyle 1.0.3 -> 1.0.8

This is in preparation of the UniFFI 0.28 upgrade:
https://bugzilla.mozilla.org/show_bug.cgi?id=1914241

Differential Revision: https://phabricator.services.mozilla.com/D220437
2024-09-09 15:42:31 +00:00
Jan-Erik Rediger
dd6ebab429 Bug 1911767 - Update to Glean v60.5.0 r=chutten,glandium,supply-chain-reviewers,mach-reviewers,android-reviewers,twhite,ahal
Differential Revision: https://phabricator.services.mozilla.com/D218649
2024-08-08 14:58:04 +00:00
Mike Hommey
bc5b1e741e Bug 1911708 - Add missing serde feature to hex that gets pulled in via gkrust-gtest. r=firefox-build-system-reviewers,sergesanspaille
Also enable the default feature for indexmap.

Differential Revision: https://phabricator.services.mozilla.com/D218609
2024-08-07 01:38:17 +00:00
Iulian Moraru
c45f0adda5 Backed out 4 changesets (bug 1743983) for causing multiple failures. CLOSED TREE
Backed out changeset ace3ac2e2e26 (bug 1743983)
Backed out changeset 5da5022a4f08 (bug 1743983)
Backed out changeset 7c90923fce11 (bug 1743983)
Backed out changeset b476928598ab (bug 1743983)
2024-08-06 01:49:21 +03:00
Alex Franchuk
57d641c8d1 Bug 1743983 pt1 - Audits and vendoring for minidump-analyzer r=glandium,supply-chain-reviewers,profiler-reviewers,aabh
Differential Revision: https://phabricator.services.mozilla.com/D208390
2024-08-05 19:59:06 +00:00
Mike Hommey
4cccef47db Bug 1910513 - Update tokio to 1.39.2. r=nika,supply-chain-reviewers
This also update mio to 1.0.1 and tokio-macros to 2.4.0

Differential Revision: https://phabricator.services.mozilla.com/D218157
2024-07-31 02:53:18 +00:00
Mike Hommey
64cb1d6e6c Bug 1909574 - Refresh rust workspace hack. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D217772
2024-07-26 19:42:26 +00:00
Mike Hommey
c50e9a12e3 Bug 1904479 - Refresh rust workspace hack. r=firefox-build-system-reviewers,ahochheiden
This removes about 15 (duplicate) crate compilations from the build.

Differential Revision: https://phabricator.services.mozilla.com/D214784
2024-06-25 20:23:38 +00:00
Alex Franchuk
cab53ccfc3 Bug 1903829 - Update zip crate and use new features for omnijar reading r=gsvelto,webdriver-reviewers,glandium,supply-chain-reviewers,whimboo
Replaces the patched zip crate that was previously used.

Differential Revision: https://phabricator.services.mozilla.com/D214617
2024-06-25 13:58:40 +00:00
John Schanck
0484b7070a Bug 1899656 - add a mock builtins module for tests. r=glandium,keeler
Differential Revision: https://phabricator.services.mozilla.com/D212066
2024-06-03 18:08:05 +00:00
Norisz Fay
c7088bb18a Backed out 2 changesets (bug 1899656, bug 1893335) for causing build bustages
Backed out changeset 4cb2f1a1280b (bug 1893335)
Backed out changeset d5833f6d4c07 (bug 1899656)
2024-06-01 03:09:13 +03:00
John Schanck
8a473289ba Bug 1899656 - add a mock builtins module for tests. r=glandium,keeler
Differential Revision: https://phabricator.services.mozilla.com/D212066
2024-05-31 19:47:01 +00:00
Mike Hommey
c1c74373e9 Bug 1896792 - Refresh rust workspace hack. r=firefox-build-system-reviewers,nalexander
With this refresh, we get from 620 crates compilations down to 565 on a
local Linux opt build.

Differential Revision: https://phabricator.services.mozilla.com/D210394
2024-05-15 02:35:30 +00:00
Mike Hommey
643347a670 Bug 1894830 - Upgrade fallible_collections to 0.4.9 for soundness fixes. r=supply-chain-reviewers
Because fallible_collections pulls hashbrown 0.13, we also upgrade
hashlink to 0.8.2, which updates to that version as well. Those were the
last two uses of hashbrown 0.12, so we can update the fake hashbrown
0.12 to 0.13.

We could skip the upgrade of hashlink, but that would leave us with two
fake hashbrowns, and we'd hit https://github.com/rust-lang/cargo/issues/13405

Differential Revision: https://phabricator.services.mozilla.com/D209317
2024-05-04 19:59:52 +00:00
Mike Hommey
10dbba38e7 Bug 1459764 - Build libraries in their FINAL_TARGET location rather than installing them during the build. r=firefox-build-system-reviewers,ahochheiden
Like bug 1255485, but for libraries.

Original patch by Chris Manchester.

Differential Revision: https://phabricator.services.mozilla.com/D63281
2024-04-30 23:29:46 +00:00
Alex Franchuk
5fee231fbf Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174916
2024-03-20 14:59:43 +00:00
Nipun Shukla
5865af2fb3 Bug 1881567 - Added Rust application to read and launch Firefox upon receiving native messages r=mhughes,nrishel,glandium,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D202467
2024-03-13 19:01:05 +00:00