Commit Graph

6192 Commits

Author SHA1 Message Date
Cristina Horotan
c6f3ba47a6 Backed out 3 changesets (bug 1879975) for causing Valgrind failure. CLOSED TREE
Backed out changeset 5eee9358d22a (bug 1879975)
Backed out changeset d9a53dc2478c (bug 1879975)
Backed out changeset e04956da20c6 (bug 1879975)
2024-04-17 04:03:42 +03:00
Michael Hughes
1546d57b97 Bug 1879975 - Newer versions of Windows disable pinning to the taskbar using older methods r=mpohle,bhearsum,nrishel,glandium
This is adding in the new Windows 11 only version of taskbar pinning. For the new pinning to work, we need to use limited access feature tokens. Those are going to be made private and aren't included with this change.
This change will compile, and will work if built against the correct limited access feature tokens, as specified in developer local machine config files, but for every other build, the new taskbar pinning won't work and will fall back to the old methods.
I will implement the try / release building machines using the secret limited access feature tokens in a follow-up diff.

Differential Revision: https://phabricator.services.mozilla.com/D205004
2024-04-16 23:21:24 +00:00
Mike Hommey
8b85da82ae Bug 1890442 - Remove $topobjdir/.cargo/config when it exists. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D206975
2024-04-15 20:04:34 +00:00
Denis Palmeiro
91cc9e373c Bug 1887068: Add perfetto SDK and build with it when gecko profiling is enabled on Android. r=glandium,smaug,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D205662
2024-04-15 15:34:02 +00:00
Mozilla Releng Treescript
fe2743c6c5 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-04-15 08:26:32 +00:00
Natalia Csoregi
25c98e4d34 Backed out 3 changesets (bug 1879975) for causing bustage while fetching windows-laf-tokens.data CLOSED TREE
Backed out changeset 5e5bc998487f (bug 1879975)
Backed out changeset be268309f0f7 (bug 1879975)
Backed out changeset b2f6d0289dc6 (bug 1879975)
2024-04-12 23:55:45 +03:00
Michael Hughes
b177e861f7 Bug 1879975 - Newer versions of Windows disable pinning to the taskbar using older methods r=mpohle,bhearsum,nrishel,glandium
This is adding in the new Windows 11 only version of taskbar pinning. For the new pinning to work, we need to use limited access feature tokens. Those are going to be made private and aren't included with this change.
This change will compile, and will work if built against the correct limited access feature tokens, as specified in developer local machine config files, but for every other build, the new taskbar pinning won't work and will fall back to the old methods.
I will implement the try / release building machines using the secret limited access feature tokens in a follow-up diff.

Differential Revision: https://phabricator.services.mozilla.com/D205004
2024-04-12 20:19:10 +00:00
Cristina Horotan
fd5658787a Backed out 4 changesets (bug 1887068, bug 1890934) on request by causing build bustages
Backed out changeset 68a7a8a3bb0f (bug 1890934)
Backed out changeset 658f4b57b8ec (bug 1887068)
Backed out changeset 61a9d3a1e592 (bug 1887068)
Backed out changeset efbf5c7065e3 (bug 1887068)
2024-04-12 02:14:44 +03:00
Sandor Molnar
214c8ea2f4 Backed out 3 changesets (bug 1879975) for causing build bustages @ browser/components/shell/Windows11LimitedAccessFeatures.h CLOSED TREE
Backed out changeset 59dafb79d2be (bug 1879975)
Backed out changeset e51e76ec89c5 (bug 1879975)
Backed out changeset 9bcec32fe1ac (bug 1879975)
2024-04-11 00:41:59 +03:00
Michael Hughes
dbbbed9603 Bug 1879975 - Newer versions of Windows disable pinning to the taskbar using older methods r=mpohle,bhearsum,nrishel
This is adding in the new Windows 11 only version of taskbar pinning. For the new pinning to work, we need to use limited access feature tokens. Those are going to be made private and aren't included with this change.
This change will compile, and will work if built against the correct limited access feature tokens, as specified in developer local machine config files, but for every other build, the new taskbar pinning won't work and will fall back to the old methods.
I will implement the try / release building machines using the secret limited access feature tokens in a follow-up diff.

Differential Revision: https://phabricator.services.mozilla.com/D205004
2024-04-10 21:17:20 +00:00
Denis Palmeiro
2d5b49d322 Bug 1887068: Add perfetto SDK and build with it when gecko profiling is enabled on Android. r=glandium,smaug,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D205662
2024-04-10 17:48:05 +00:00
Natalia Csoregi
5905e649c1 Backed out 3 changesets (bug 1879975) for causing valgrind bustages. CLOSED TREE
Backed out changeset e66749b7e244 (bug 1879975)
Backed out changeset c3ab151d75bd (bug 1879975)
Backed out changeset f9aa23ba9fde (bug 1879975)
2024-04-10 10:13:21 +03:00
Michael Hughes
310d074c86 Bug 1879975 - Newer versions of Windows disable pinning to the taskbar using older methods r=mpohle,bhearsum,nrishel
This is adding in the new Windows 11 only version of taskbar pinning. For the new pinning to work, we need to use limited access feature tokens. Those are going to be made private and aren't included with this change.
This change will compile, and will work if built against the correct limited access feature tokens, as specified in developer local machine config files, but for every other build, the new taskbar pinning won't work and will fall back to the old methods.
I will implement the try / release building machines using the secret limited access feature tokens in a follow-up diff.

Differential Revision: https://phabricator.services.mozilla.com/D205004
2024-04-10 05:19:20 +00:00
Cristian Tuns
8fdef5ff9e Backed out 3 changesets (bug 1887068) for causing build bustages in toolkit/* CLOSED TREE
Backed out changeset c6863f012b03 (bug 1887068)
Backed out changeset 3a4d2b74219e (bug 1887068)
Backed out changeset 90a702920d77 (bug 1887068)
2024-04-09 18:19:08 -04:00
Denis Palmeiro
005976fb2f Bug 1887068: Add perfetto SDK and build with it when gecko profiling is enabled on Android. r=glandium,smaug,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D205662
2024-04-09 19:05:34 +00:00
Randell Jesup
e9292a35d6 Bug 1871963: Import of zstd library r=sylvestre,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D197296
2024-04-09 15:26:45 +00:00
Tamas Szentpeteri
1f27a4022f Backed out 3 changesets (bug 1871963) for causing dt failures on browser_net_copy_as_powershell.js. CLOSED TREE
Backed out changeset 94e286542c9d (bug 1871963)
Backed out changeset dc2ad0369b86 (bug 1871963)
Backed out changeset 9fb8ccb2f305 (bug 1871963)
2024-04-09 17:24:37 +03:00
Randell Jesup
764b8fb01e Bug 1871963: Import of zstd library r=sylvestre,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D197296
2024-04-09 12:31:55 +00:00
Chris Peterson
cb4d8ca3a4 Bug 1880917 - Remove -Wno-c++2a-compat flag in icu r=platform-i18n-reviewers,dminor
Now that -Wc++2a-compat is no longer enabled (bug 1887580), we don't need to -Wc++2a-compat warnings about u8"" string literals' type changing from const char[] in C++17 to const char8_t[] in C++20.

Depends on D206743

Differential Revision: https://phabricator.services.mozilla.com/D206744
2024-04-08 20:03:25 +00:00
serge-sans-paille
2bcbdeff34 Bug 1889043 - Add missing closefd named argument to mocking of python open r=ahochheiden
Also reorder the named arguments in case they are not passed by keyword

Differential Revision: https://phabricator.services.mozilla.com/D206310
2024-04-04 12:58:18 +00:00
Mike Hommey
26df6afc74 Bug 1888321 - Rename .cargo/config.in to .cargo/config.toml.in. r=firefox-build-system-reviewers,webdriver-reviewers,ahochheiden
Cargo 1.79 is emitting a warning when using .cargo/config.
.cargo/config.toml has been supported since cargo 1.39.

Differential Revision: https://phabricator.services.mozilla.com/D205974
2024-04-01 21:26:49 +00:00
Andrew McCreight
565e20c574 Bug 1888842 - Fix typos in MPL source code notices. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D206241
2024-04-01 18:07:23 +00:00
Paul Adenot
d96ebfc92b Bug 1749046 - Vendor libopusenc.c and libvorbisenc.c and support files in ffvpx. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D199524
2024-03-27 14:16:31 +00:00
Alex
fc141d95e9 Bug 1884770 - Fix RUST_PROGRAMS-related rules on Windows r=firefox-build-system-reviewers,glandium
Account for long path prefixes.

Differential Revision: https://phabricator.services.mozilla.com/D204295
2024-03-19 12:40:21 +00:00
Mozilla Releng Treescript
f48faf3284 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-03-18 09:11:14 +00:00
Paul Adenot
d2f6ed95cf Bug 1878503 - Remove MOZ_FFVPX and the associated pref. r=glandium,media-playback-reviewers,geckoview-reviewers,alwu
ffvpx is now always compiled in, this is part a rationalization of the codec
libraries we're using.

Differential Revision: https://phabricator.services.mozilla.com/D202813
2024-03-05 16:06:49 +00:00
Gabriele Svelto
aa43fa218e Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro
This changes comes with several different refactorings all rolled into one,
unfotunately I couldn't find a way to pull them apart:
- First of all annotations now can either recorded (that is, we copy the value
  and have the crash reporting code own the copy) or registered. Several
  annotations are changed to use this functionality so that we don't need to
  update them as their value change.
- The code in the exception handler is modified to read the annotations from
  the mozannotation_client crate. This has the unfortunate side-effect that
  we need three different bits of code to serialize them: one for annotations
  read from a child process, one for reading annotations from the main process
  outside of the exception handler and one for reading annotations from the
  main process within the exception handler. As we move to fully
  out-of-process crash reporting the last two methods will go away.
- The mozannotation_client crate now doesn't record annotation types anymore.
  I realized as I was working on this that storing types at runtime has two
  issues: the first one is that buggy code might change the type of an
  annotation (that is record it under two different types at two different
  moments), the second issue is that types might become corrupt during a
  crash, so better enforce them at annotation-writing time. The end result is
  that the mozannotation_* crates now only store byte buffers, track the
  format the data is stored in (null-terminated string, fixed size buffer,
  etc...) but not the type of data each annotation is supposed to contain.
- Which brings us to the next change: concrete types for annotations are now
  enforced when they're written out. If an annotation doesn't match the
  expected type it's skipped. Storing an annotation with the wrong type will
  also trigger an assertion in debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D195248
2024-03-04 10:24:43 +00:00
Robin Steuber
acf0a2f044 Bug 1882322 - Prevent macOS channel frameworks from being in precomplete file r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D203054
2024-02-29 08:23:07 +00:00
Mike Hommey
7e3d0bd409 Bug 1834947 - Divert xcrun so that it outputs the build system's chosen iOS SDK. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D179033
2024-02-29 00:59:09 +00:00
Mike Hommey
434c5a4b41 Bug 1834908 - Reintroduce iOS support in the build system. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D178998
2024-02-29 00:49:10 +00:00
Paul Adenot
34060626a5 Bug 1879873 - Remove MOZ_LIBAV_FFT. r=karlt
We have some time to use av_fft.h, after which we'll have to use tx.h directly.
It's not hard to update.

Differential Revision: https://phabricator.services.mozilla.com/D201601
2024-02-28 12:50:26 +00:00
Paul Adenot
d309b4eb34 Bug 1879873 - Remove kiss fft and openmax dl. r=karlt,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D201600
2024-02-28 12:50:26 +00:00
Cristian Tuns
48a036458a Backed out 5 changesets (bug 1879873) for causing reftest failures in asan_malloc_win.cpp CLOSED TREE
Backed out changeset e519654e5d8b (bug 1879873)
Backed out changeset 9b17ac4800c6 (bug 1879873)
Backed out changeset 2e5121a988a8 (bug 1879873)
Backed out changeset 9973c75413d6 (bug 1879873)
Backed out changeset 7c947114da80 (bug 1879873)
2024-02-27 10:39:59 -05:00
Paul Adenot
555a8424d6 Bug 1879873 - Remove MOZ_LIBAV_FFT. r=karlt
We have some time to use av_fft.h, after which we'll have to use tx.h directly.
It's not hard to update.

Differential Revision: https://phabricator.services.mozilla.com/D201601
2024-02-27 12:40:22 +00:00
Paul Adenot
a71183d09c Bug 1879873 - Remove kiss fft and openmax dl. r=karlt,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D201600
2024-02-27 12:40:22 +00:00
Stanca Serban
612f98281b Backed out 5 changesets (bug 1879873) for causing bustages in FFmpegLibWrapper.h. CLOSED TREE
Backed out changeset 1d36088485a4 (bug 1879873)
Backed out changeset 13edc1b203a7 (bug 1879873)
Backed out changeset 71824d88e1cd (bug 1879873)
Backed out changeset 5147903580b8 (bug 1879873)
Backed out changeset 0aad3393b572 (bug 1879873)
2024-02-26 20:08:18 +02:00
Paul Adenot
3120d5f251 Bug 1879873 - Remove MOZ_LIBAV_FFT. r=karlt
We have some time to use av_fft.h, after which we'll have to use tx.h directly.
It's not hard to update.

Differential Revision: https://phabricator.services.mozilla.com/D201601
2024-02-26 16:07:08 +00:00
Paul Adenot
033e7db684 Bug 1879873 - Remove kiss fft and openmax dl. r=karlt,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D201600
2024-02-26 16:07:07 +00:00
Mozilla Releng Treescript
d948d6d14d Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-02-19 09:55:58 +00:00
Sandor Molnar
b09e6c0f3f Backed out changeset 344524bd7c75 (bug 1872242) for causing bug 1879519 CLOSED TREE 2024-02-15 23:04:14 +02:00
André Bargull
f6b3782bbd Bug 1879488: Update time zone data to tzdata2024a. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D201196
2024-02-14 13:25:29 +00:00
ahochheiden
7e336ed365 Bug 1872242 - Change how the last segment of milestone_winversion is generated to improve uniqueness r=firefox-build-system-reviewers,RyanVM,glandium
The previous implementation used days since Jan 1 2000 for the last
16-bit segment. This was not unique enough and caused issues with
Antivirus software if two different channels were built on the same day.

The new approach uses hours since the last milestone bump and uses the
VCS to determine how long ago that was relative to the build time. This
means it will always reset when a new cycle begins, but still be unique
since the digits in the first 3 segments have incremented.

We also now use two of the 16-bits to encode the channel (nightly, beta,
ESR, and release). So two channels built within the same hour will still
be unique.

Using only 14-bits to store the 'hours since version bump', we have
about ~682 days from a version bump before we reach the maximum value we
can store. If a build is done after that point, the segment value will
always be the maximum value for that channel.

Differential Revision: https://phabricator.services.mozilla.com/D200989
2024-02-08 07:00:48 +00:00
Jan de Mooij
26af0c8ab8 Bug 1877193 part 1 - Make JS prefs in StaticPrefList.yaml available in SpiderMonkey. r=mgaudet,KrisWright
Adding a new pref for a new SpiderMonkey feature or optimization requires a lot of boilerplate code.

This patch stack lets us eliminate almost all of this boilerplate by parsing `StaticPrefList.yaml`
at SpiderMonkey build time and generating code to automatically expose the `javascript.options.*`
prefs that have the `set_spidermonkey_pref` attribute.

Both JS shell and browser builds will default to the pref value in `StaticPrefList.yaml`.
In the JS shell, it'll be possible to set a pref value with `--setpref` or a custom shell flag.
Code for this will be added in later patches.

Differential Revision: https://phabricator.services.mozilla.com/D199992
2024-02-06 12:51:27 +00:00
ahochheiden
2914ac37f8 Bug 1875052 - Change various RegEx patterns to raw strings to remove syntax warnings on Python 3.12 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D199946
2024-02-02 20:52:24 +00:00
Mozilla Releng Treescript
f09efbd67f Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-01-22 12:30:54 +00:00
Paul Adenot
2aa8541d0c Bug 1868615 - Only expect aom_winx64_fstcw on win64.
Differential Revision: https://phabricator.services.mozilla.com/D199083
2024-01-19 11:06:51 +00:00
Paul Adenot
ac92666979 Bug 1868615 - Adjust symbol list for newer libaom version. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D198363
2024-01-19 10:35:19 +00:00
Steve Fink
ba7d3327fc Bug 1790873 - Move printf_stderr() to mozglue so it can be used within js/src r=glandium,nika
Differential Revision: https://phabricator.services.mozilla.com/D157354
2024-01-11 02:09:30 +00:00
Stanca Serban
94288d3f1e Backed out 5 changesets (bug 1794063, bug 1790873) for causing Linux spidermonkey builds bustages in Printer.h. CLOSED TREE
Backed out changeset c729aa80e73e (bug 1794063)
Backed out changeset 442a0de27b61 (bug 1790873)
Backed out changeset 6934f2978802 (bug 1790873)
Backed out changeset 296f6da7b6ed (bug 1790873)
Backed out changeset 01ddb562d770 (bug 1790873)
2024-01-10 01:18:55 +02:00
Steve Fink
fab3527be1 Bug 1790873 - Move printf_stderr() to mozglue so it can be used within js/src r=glandium,nika
Differential Revision: https://phabricator.services.mozilla.com/D157354
2024-01-09 22:46:00 +00:00