6266 Commits

Author SHA1 Message Date
Mozilla Releng Treescript
5a4f7aa7b8 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-09-30 13:32:56 +00:00
Jan Horak
84cd68932c Bug 1751467 Use GAppInfo to open downloaded files; r=stransky,settings-reviewers,mossop,mak,jmaher
The GAppInfo supports starting up flatpak applications where the simple
command does not work.

Differential Revision: https://phabricator.services.mozilla.com/D221792
2024-09-24 15:14:24 +00:00
Mike Hommey
9f3d6d14c7 Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
Disabled by default for now.

Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-09-02 22:49:59 +00:00
Mozilla Releng Treescript
637bd79f43 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-09-02 13:36:39 +00:00
serge-sans-paille
f22bb193a8 Bug 1912993 - Remove reference to autoconfmk in js/src/old-configure.in r=glandium
And accordingly remove reference to autoconfmk now that it's no longer
parametric.

Differential Revision: https://phabricator.services.mozilla.com/D219115
2024-08-28 05:29:28 +00:00
Iulian Moraru
f0f411713a Backed out changeset 2bbc01486e2f (bug 1910796) for causing multiple failures. CLOSED TREE 2024-08-28 04:52:09 +03:00
Mike Hommey
cdbe802fc3 Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
Nightly-only for now.

Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-08-28 00:36:50 +00:00
Cosmin Sabou
72d92c9b70 Backed out changeset fb02d762cca9 (bug 1910796) for causing mass assertion failures on Compression. CLOSED TREE 2024-08-15 15:32:52 +03:00
Mike Hommey
521c4ccf1d Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
Nightly-only for now.

Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-08-15 12:00:33 +00:00
Mike Hommey
b2670930a1 Bug 1913249 - Expand the scope of enabling default linker libraries. r=firefox-build-system-reviewers,sergesanspaille
Rustc passes -nodefaultlibs to the linker (clang) on mac, which prevents
clang from adding the necessary sanitizer runtimes when building with
C/C++ sanitizer but without rust sanitizer. This normally only causes grief
when building a bin crate, but cargo also builds all artifacts of crates with
multiple crate-types, so when adding libz-rs-sys, which has both rlib and
cdylib type, cargo tries to build the cdylib, which can fail to link for the
same reasons. We thus needs to expand the scope of the previous hack to apply
to all targets, not only building bin crates, and to all rustc compilations,
since CARGO_RUSTCFLAGS only applies to the root crate of the cargo invocation.

Differential Revision: https://phabricator.services.mozilla.com/D219212
2024-08-15 11:45:51 +00:00
Iulian Moraru
663e005613 Backed out 3 changesets (bug 1910796) for causing build bustages and mass test failures. CLOSED TREE
Backed out changeset bbcbbe6b247d (bug 1910796)
Backed out changeset adde3a9ee0f7 (bug 1910796)
Backed out changeset 2aac134f145f (bug 1910796)
2024-08-13 19:29:38 +03:00
Mike Hommey
ce3936e0fb Bug 1910796 - Integrate libz-rs-sys as a replacement for zlib. r=supply-chain-reviewers,firefox-build-system-reviewers,nika,sergesanspaille
Nightly-only for now.

Differential Revision: https://phabricator.services.mozilla.com/D218165
2024-08-13 15:03:42 +00:00
André Bargull
bc2f966c34 Bug 1900196: Include RBNF data for Chinese to ICU data file. r=spidermonkey-reviewers,dminor
Add RBNF data for Chinese to ensure the `d=hanidays` override in date-time
patterns works correctly.

Differential Revision: https://phabricator.services.mozilla.com/D218740
2024-08-08 06:51:07 +00:00
Noemi Erli
b41212faf6 Backed out changeset a5615acbb20e (bug 1900196) for causing failures in dateTimeStyle-locale.js 2024-08-07 21:21:26 +03:00
André Bargull
68757beba1 Bug 1900196: Include RBNF data for Chinese to ICU data file. r=spidermonkey-reviewers,dminor
Add RBNF data for Chinese to ensure the `d=hanidays` override in date-time
patterns works correctly.

Differential Revision: https://phabricator.services.mozilla.com/D218740
2024-08-07 17:03:53 +00:00
Nico Grunbaum
054a814d51 Bug 1911869 - add missing aom_codec_enc_config_set symbol to gkcodecs.symbols;r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D218660
2024-08-06 19:53:19 +00:00
pstanciu
8b0666aff1 Merge autoland to mozilla-central. a=merge 2024-08-06 00:57:42 +03:00
Chris Peterson
e4c83ed7e3 Bug 1803234 - Remove gpsd support. r=emilio
Firefox's gpsd support is unmaintained and disabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D218418
2024-08-05 16:04:08 +00:00
Mozilla Releng Treescript
e28bcd7ae5 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-08-05 13:59:10 +00:00
Mike Hommey
e3fddf4ab2 Bug 1908833 - Remove ZLIB_IN_MOZGLUE. r=firefox-build-system-reviewers,ahochheiden
It's not used on Android anymore, which was the last remaining thing
that would set it.

Differential Revision: https://phabricator.services.mozilla.com/D217349
2024-07-23 22:05:38 +00:00
Nick Alexander
7c4c8eb597 Bug 1908713 - Fix failing mach build faster. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D217011
2024-07-18 20:00:15 +00:00
Sylvestre Ledru
45030f6970 Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato
This new version of clang 17 also slightly changed the formatting.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D215914
2024-07-17 11:15:31 +00:00
Alex Franchuk
e8aae48787 Bug 1821091 - Send Glean crash pings from the crashreporter r=gsvelto,glandium
Differential Revision: https://phabricator.services.mozilla.com/D214442
2024-07-16 14:08:52 +00:00
Paul Adenot
76c0a48045 Bug 1890370 - Remove libtheora integration. r=media-playback-reviewers,karlt
Differential Revision: https://phabricator.services.mozilla.com/D215396
2024-07-15 14:20:37 +00:00
Paul Adenot
b81bab7544 Bug 1890370 - Remove libtheora from the tree. r=sylvestre,frontend-codestyle-reviewers,zeid
Differential Revision: https://phabricator.services.mozilla.com/D215395
2024-07-15 14:20:37 +00:00
Henri Sivonen
3c60d406b9 Bug 1889536 - Migrate IDNA handling to ICU4X. r=necko-reviewers,geckoview-reviewers,credential-management-reviewers,home-newtab-reviewers,valentin,owlish,dimi,thecount,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206579
2024-07-09 11:26:43 +00:00
Tamas Szentpeteri
18d527a83a Backed out 2 changesets (bug 1889536) for causing bpnu bustages on nsIDNService.cpp. CLOSED TREE
Backed out changeset 87d0e483dd8c (bug 1889536)
Backed out changeset c3d6429d8a59 (bug 1889536)
2024-07-09 14:08:25 +03:00
Henri Sivonen
f4f0304e8c Bug 1889536 - Migrate IDNA handling to ICU4X. r=necko-reviewers,geckoview-reviewers,credential-management-reviewers,home-newtab-reviewers,valentin,owlish,dimi,thecount,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206579
2024-07-09 09:50:38 +00:00
Mozilla Releng Treescript
423918cbc6 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-07-08 15:57:30 +00:00
Alex Franchuk
3283a17bab Bug 1904609 - Provide a function to get the build id r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D214841
2024-06-28 14:55:01 +00:00
André Bargull
b63c49a38f Bug 1899177 - Part 5: Support simple calendar methods calling into ICU4X. r=spidermonkey-reviewers,dminor
Implement the following operations:
- CalendarDateMonth
- CalendarDateDay
- CalendarDateDayOfWeek
- CalendarDateWeekOfYear
- CalendarDateDaysInWeek
- CalendarDateDaysInMonth
- CalendarDateDaysInYear
- CalendarDateMonthsInYear

Calendar arithmetic isn't currently supported in ICU4X through the public
API, so for now we simply default to the ISO calendar operations for:
- CalendarDateAddition
- CalendarDateDifference

---

Calendrical computations are performed through ICU4X instead of ICU4C, as
previously discussed on multiple occasions.

The Temporal spec leaves the concrete semantics of any calendar except the
ISO-8601 calendar as implementation-defined, so we're free to implement things
however we like. For better cross-engine compatibility, certain aspects should
probably clarified, though. For example in the Japanese calendar with its
regnal eras, if the user-supplied `eraYear` exceeds the named era, do we
constrain `eraYear` to the end of the era or do we alternatively switch to the
next era? Bug reports against the Temporal spec repo will be written to clarify
these points.

This patch doesn't perform any caching, so the ICU4X calendar and date types are
created from scratch for all operations. This will likely be too slow (10-100x
slow-downs when compared to using the non-ICU4X based ISO-8601 calendar), so in
a follow-up bug we likely need to investigate how to add some sort of caching.

And just as with `Intl.Segmenter`, we're using the ICU4X C-API instead of the
C++ API, see also <https://github.com/rust-diplomat/diplomat/issues/280>.

Differential Revision: https://phabricator.services.mozilla.com/D211766
2024-06-20 17:42:15 +00:00
serge-sans-paille
4a274096f7 Bug 1903061 - Move objective-C flags settings from old-configure to moz.configure r=glandium
Also get rid of host_* version which got dismissed in bug 1069556.

Differential Revision: https://phabricator.services.mozilla.com/D213978
2024-06-20 14:12:26 +00:00
Stanca Serban
4521510921 Backed out changeset d61e206198fe (bug 1903061) for causing python failures. CLOSED TREE 2024-06-20 09:57:23 +03:00
serge-sans-paille
cd00162fdd Bug 1903061 - Move objective-C flags settings from old-configure to moz.configure r=glandium
Also get rid of host_* version which got dismissed in bug 1069556.

Differential Revision: https://phabricator.services.mozilla.com/D213978
2024-06-20 06:31:44 +00:00
Chun-Min Chang
67506e8f54 Bug 1900590 - Suppress undefined aom_codec_control symbol on Solaris SPARC r=glandium
This patch fixes the undefined `aom_codec_control` symbol on Solaris
SPARC and i386 Solaris by adding "aom/aomcx.h" to
to `config/system-headers.mozbuild`. Thanks to Petr Sumbera
(petr.sumbera@oracle.com) for identifying and solving the issue [1].

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1900590#c16

Differential Revision: https://phabricator.services.mozilla.com/D214204
2024-06-19 15:20:09 +00:00
Mike Hommey
57b7567b51 Bug 1903168 - Properly copy host rust programs to $DIST. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D214059
2024-06-18 05:10:54 +00:00
Mike Hommey
c2c8a213f6 Bug 1903167 - Remove remains from the WASM_LIBRARY target. r=firefox-build-system-reviewers,nalexander
The target was removed in bug 1735455.

Differential Revision: https://phabricator.services.mozilla.com/D214058
2024-06-18 03:29:28 +00:00
Mozilla Releng Treescript
ff4f11849b Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-06-10 16:25:58 +00:00
serge-sans-paille
ba312a93d5 Bug 1899098 - No longer use GNU_CC, CLANG_CC and the likes in moz.build r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211720
2024-06-04 09:42:12 +00:00
serge-sans-paille
1c4dbd7ed5 Bug 1899485 - Remove obsolete build/unix/run-mozilla.sh file r=glandium
It is no longer needed, commands should now be able to run without
environment manipulation.

Differential Revision: https://phabricator.services.mozilla.com/D212089
2024-06-04 08:49:54 +00:00
Mike Hommey
42354bc6ca Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-23 04:28:37 +00:00
Cristina Horotan
22fa3c4f67 Backed out 2 changesets (bug 1849075, bug 1878764) for causing remote failures at remote/shared/messagehandler/test/browser/*
Backed out changeset 0dbba1a7b5ab (bug 1878764)
Backed out changeset 86555ffb064f (bug 1849075)
2024-05-22 03:34:48 +03:00
Mike Hommey
d5182ee779 Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-21 07:24:02 +00:00
Ryan VanderMeulen
c84d3db8d7 Backed out 3 changesets (bug 1849075, bug 1897015, bug 1878764) for causing Android arm32 startup crashes (bug 1897635).
Backed out changeset 916680b7cdce (bug 1897015)
Backed out changeset c6dd0210975b (bug 1878764)
Backed out changeset c9e28db916e5 (bug 1849075)
2024-05-20 12:54:45 -04:00
serge-sans-paille
a1106cbc85 Bug 1883720 - (re)Move checks for socket, gethostbyname_r and demangle to moz.configure r=glandium
Actually remove the check for demangle, no supported target need that
check.

Also make library dependencies explicit instead of relying on "$LIBS".

Differential Revision: https://phabricator.services.mozilla.com/D203637
2024-05-17 07:35:09 +00:00
serge-sans-paille
b9f78f0cc2 Bug 1883615 - Move libdl checks to moz.configure and make libdl dependencies explicit r=glandium
The -ldl flag was previously set globally, it's now set for the libs
that use it.

Also rationalize the difference between HAVE_DLOPEN and HAVE_DLFCN_H.

Differential Revision: https://phabricator.services.mozilla.com/D203594
2024-05-15 20:29:07 +00:00
Mike Hommey
eaa48cfb89 Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-15 19:38:32 +00:00
ahochheiden
55089cab2f Bug 1872242 - Change how the last segment of milestone_winversion is generated to improve uniqueness r=firefox-build-system-reviewers,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-05-15 16:00:33 +00:00
Tamas Szentpeteri
22c92af506 Backed out 3 changesets (bug 1883720, bug 1883719, bug 1883615) for causing multiple failures. CLOSED TREE
Backed out changeset 495b9e84ba9d (bug 1883720)
Backed out changeset 5a89cbc54dd2 (bug 1883615)
Backed out changeset 9d075e352b0e (bug 1883719)
2024-05-15 13:30:17 +03:00
serge-sans-paille
ceff7deb44 Bug 1883720 - (re)Move checks for socket, gethostbyname_r and demangle to moz.configure r=glandium
Actually remove the check for demangle, no supported target need that
check.

Also make library dependencies explicit instead of relying on "$LIBS".

Differential Revision: https://phabricator.services.mozilla.com/D203637
2024-05-15 07:47:56 +00:00