Commit Graph

5907 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
e1ad6294bf Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi
Afaict the source lines are not exposed anywhere in the UI.

Differential Revision: https://phabricator.services.mozilla.com/D218115
2024-08-01 17:12:48 +00:00
Jonathan Kew
d0245f450f Bug 1908931 - Add hyphenation patterns for Czech & Slovak. r=layout-reviewers,emilio
The same patterns are used for both languages, so we just add a single copy
under the `hyph_cs` name, and then use a hyphenation-alias pref to apply
the same rules to `sk` as well.

Differential Revision: https://phabricator.services.mozilla.com/D217751
2024-07-26 07:46:16 +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
Eemeli Aro
a0c40505ac Bug 1889417 - Always log localization errors in automated tests r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D206581
2024-07-11 17:06:21 +00:00
Sylvestre Ledru
4bb13cbcb2 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
rustfmt 1.7.0-stable (129f3b9 2024-06-10)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D215916
2024-07-10 11:52:49 +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
Mark Banner
b2ee3ffc88 Bug 1906047 - Move intl/benchmarks/ to be in a test sub-directory. r=hsivonen,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D215735
2024-07-08 08:51:17 +00:00
Jesse Schwartzentruber
5a3734d3ef Bug 1903620 - Calculate jobs using CPU affinity in mach. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D214289
2024-06-25 13:53:13 +00:00
Martin Robinson
878964c6d3 Bug 1903993 - Use the SPDX license format for mozilla-central-managed crates r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D214524
2024-06-24 10:23:39 +00:00
André Bargull
5dec3913a3 Bug 1899177 - Part 1: Enable "icu_calendar" feature from ICU4X. r=spidermonkey-reviewers,supply-chain-reviewers,glandium,sylvestre,mgaudet
Enable the "icu_calendar" feature from ICU4X for use in Temporal.

Differential Revision: https://phabricator.services.mozilla.com/D211762
2024-06-20 17:42:11 +00:00
Makoto Kato
a2774d968f Bug 1902985 - Turn on test_osPreferences.js on GeckoView. r=platform-i18n-reviewers,dminor
Although I turned off this since mobile didn't support ICU and xpcshell
didn't run on Java service. But now, we can run this test even if
GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D213919
2024-06-19 01:37:06 +00:00
Makoto Kato
e4b1d52b85 Bug 1899411 - Part 4. Build fix for ICU4X 1.5. r=TYLin,spidermonkey-reviewers,anba
icu_capi 1.5 has small changes for 8-bit char type.

Differential Revision: https://phabricator.services.mozilla.com/D213009
2024-06-17 02:03:32 +00:00
Makoto Kato
ee41947db3 Bug 1899411 - Part 3. Update ICU4X to 1.5. r=supply-chain-reviewers,platform-i18n-reviewers,firefox-build-system-reviewers,webdriver-reviewers,whimboo,glandium
Test files for icu_segmenter are large, so I add build system reviewers as reviewers.

Differential Revision: https://phabricator.services.mozilla.com/D213008
2024-06-17 02:03:30 +00:00
Makoto Kato
e9f7360507 Bug 1899411 - Part 2. Update icu_capi and icu_segmenter_data to 1.5. r=TYLin
Run `sh update-icu4x.sh https://github.com/unicode-org/icu4x.git icu@1.5.0 45.0.0 release-75-1 1.5.0`.

Differential Revision: https://phabricator.services.mozilla.com/D213007
2024-06-17 02:03:24 +00:00
Makoto Kato
259f753603 Bug 1899411 - Part 1. Update shell script and patch files for ICU4X 1.5. r=TYLin
Update script and patches for ICU4X 1.5

Differential Revision: https://phabricator.services.mozilla.com/D213006
2024-06-17 02:03:23 +00:00
Eemeli Aro
c9084532e6 Bug 1900765 - Stop trimming trailing whitespace from .properties values. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D212665
2024-06-15 07:50:50 +00:00
Mark Banner
79e066a24a Bug 1901571 - Rename workers to use the .worker.(m)js pattern for ESLint (intl/). r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D213092
2024-06-11 07:16:02 +00:00
Jonathan Kew
4ccaa40e70 Bug 1899990 - Eliminate dependency on ICU4C's ubidi.h in BidiEmbeddingLevel.cpp. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D212243
2024-05-31 13:13:27 +00:00
Bryan Olsson
7cbbc54c45 Bug 1899905 - Add Saraiki (skr) to language names in mozIntl and language pack metadata, r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212203
2024-05-31 06:06:07 +00:00
Sean
680bd63580 Bug 1895232 - Convert do_GetService to using components::*::service in netwerk/ r=valentin,cookie-reviewers,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209747
2024-05-30 21:18:43 +00:00
Emilio Cobos Álvarez
6df254d7f9 Bug 1898453 - Minor unicode-bidi-ffi clean-ups. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D211329
2024-05-23 09:42:46 +00:00
Iulian Moraru
3d5936348b Backed out changeset 9a295c851c2e (bug 1895232) for causing multiple failures. CLOSED TREE 2024-05-22 21:03:20 +03:00
Sean
3cbf13bd8f Bug 1895232 - Convert do_GetService to using components::*::service in netwerk/ r=valentin,cookie-reviewers,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209747
2024-05-22 17:13:29 +00:00
Mike Hommey
7ce67a74f7 Bug 1897030 - Remove cfg(icu4x_custom_data) check in icu_segmenter_data. r=m_kato
We don't have any facility to set it in the Firefox build, so rather than add a
build.rs to make rustc 1.80 happy, just remove the cfg.

Differential Revision: https://phabricator.services.mozilla.com/D210591
2024-05-16 05:17:26 +00:00
Jonathan Kew
5b3c7e1864 Bug 1896117 - Let the unicode-bidi implementation of the intl::Bidi component ride the train to release. r=platform-i18n-reviewers,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D210039
2024-05-15 10:39:38 +00:00
Joel Maher
64e5693772 Bug 1894551 - remove old win/aarch64 references in gtest moz.build files. r=RyanVM,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209182
2024-05-02 12:17:06 +00:00
Andrew Halberstadt
d68e3340c5 Bug 1868440 - [ci] Upgrade taskcluster-taskgraph to v7.4.0, r=perftest-reviewers,geckoview-reviewers,ci-and-tooling,devtools-reviewers,taskgraph-reviewers,releng-reviewers,mach-reviewers,omc-reviewers,jmaher,hneiva,aminomancer,jari,dom-storage-reviewers,afinder,asuth,bhearsum,owlish
Differential Revision: https://phabricator.services.mozilla.com/D206260
2024-04-18 20:39:09 +00:00
Stanca Serban
f9c5779927 Backed out 2 changesets (bug 1868440) for gecko decision task broken. CLOSED TREE
Backed out changeset 4b22948d849a (bug 1868440)
Backed out changeset 837bdcb3694a (bug 1868440)
2024-04-18 21:25:43 +03:00
Andrew Halberstadt
f33979228a Bug 1868440 - [ci] Upgrade taskcluster-taskgraph to v7.4.0, r=perftest-reviewers,geckoview-reviewers,ci-and-tooling,devtools-reviewers,taskgraph-reviewers,releng-reviewers,mach-reviewers,omc-reviewers,jmaher,hneiva,aminomancer,jari,dom-storage-reviewers,afinder,asuth,bhearsum,owlish
Differential Revision: https://phabricator.services.mozilla.com/D206260
2024-04-18 17:50:50 +00:00
serge-sans-paille
e4be2b91bb Bug 1891796 - Do not force invoking is_combining_diacritic.py r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D207616
2024-04-17 05:37:57 +00:00
Mike Hommey
76963d5972 Bug 1889237 - Remove redundant import from l10nregistry-ffi-gtest. r=eemeli
Differential Revision: https://phabricator.services.mozilla.com/D206424
2024-04-10 05:53:22 +00:00
Amit Prakash Ambasta
1a34bf9361 Bug 1889054 - Fix issues with non-unified builds missing header inclusions. r=emilio
Signed-off-by: Amit Prakash Ambasta <amit.prakash.ambasta@gmail.com>

Differential Revision: https://phabricator.services.mozilla.com/D207004
2024-04-09 12:09:53 +00:00
Makoto Kato
d0af769929 Bug 1880362 - Update line segmenter data file. r=TYLin
Update line segmenter data file to match with Unicode 15.0.

Differential Revision: https://phabricator.services.mozilla.com/D206340
2024-04-05 07:57:14 +00:00
Butkovits Atila
4a357d20b6 Backed out 2 changesets (bug 1880362) for causing failures at line-breaking-013.html. CLOSED TREE
Backed out changeset 7ae70412fd03 (bug 1880362)
Backed out changeset 45b752a869b1 (bug 1880362)
2024-04-04 13:45:37 +03:00
Makoto Kato
2d3c81eb3b Bug 1880362 - Update line segmenter data file. r=TYLin
Update line segmenter data file to match with Unicode 15.0.

Differential Revision: https://phabricator.services.mozilla.com/D206340
2024-04-04 04:37:13 +00:00
Dave Townsend
f35244e188 Bug 1864896: Autofix unused function arguments (general). r=nika,jfkthame,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D203007
2024-03-19 14:59:22 +00:00
Mark Banner
268dc80fa1 Bug 1885723 - Fix more jsm references in misc code. r=Gijs,necko-reviewers,dom-storage-reviewers,janv,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D204845
2024-03-19 08:59:11 +00:00
Mark Banner
3d5bb40f49 Bug 1884623 - Update more jsm references in production code and docs in misc code. r=mossop,necko-reviewers,profiler-reviewers,julienw,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D204185
2024-03-14 17:42:28 +00:00
Sandor Molnar
09d9822ba8 Backed out 3 changesets (bug 1884623) for causing multiple failures CLOSED TREE
Backed out changeset 3a264233ce8e (bug 1884623)
Backed out changeset acdf8a83a49c (bug 1884623)
Backed out changeset de64ce832b8a (bug 1884623)
2024-03-14 17:03:37 +02:00
Mark Banner
fcaf27c6e1 Bug 1884623 - Update more jsm references in production code and docs in misc code. r=mossop,necko-reviewers,profiler-reviewers,julienw,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D204185
2024-03-14 12:18:01 +00:00
Gregory Pappas
ea69b62538 Bug 1883217 - Remove unused defines in IDL files r=webdriver-reviewers,necko-reviewers,credential-management-reviewers,places-reviewers,dom-core,Standard8,valentin,mccr8,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D203347
2024-03-06 19:04:25 +00:00
Mike Hommey
700c39e80b Bug 1883570 - Build OSPreferences for iOS. r=platform-i18n-reviewers,dminor
We can use the same as the one for mac, as long as we use the headers
their SDKs have in common.

Differential Revision: https://phabricator.services.mozilla.com/D203562
2024-03-05 21:03:15 +00:00
Emilio Cobos Álvarez
d39e78a02e Bug 1883435 - Don't include GleanMetrics.h from Document.h. r=chutten,necko-reviewers,valentin
In bug 1883435 comment 2 chutten mentions that including
nsGlobalWindowInner.h from GleanMetrics.h causes a stylo build failure.

This is because nsGlobalWindowInner.h itself brings a bunch of DOM
bindings template soup that bindgen isn't great at dealing with.

That can be fixed in various ways. However, there is a simpler fix,
which is not including GleanMetrics at all.

It's trivial to do, and given it's a massive autogenerated file, and
Document.h is a very common header, it's worth doing this if only for
build times.

Fix a bunch of unused includes while at it.

Differential Revision: https://phabricator.services.mozilla.com/D203625
2024-03-05 17:54:14 +00:00
Jonathan Kew
b5eda7e86d Bug 1881487 - Update unicode-bidi to pick up newly-added smallvec support. r=platform-i18n-reviewers,supply-chain-reviewers,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D202415
2024-02-22 19:47:54 +00:00
Jonathan Kew
67a3110855 Bug 1881232 - Restrict use of the Rust unicode-bidi implementation to Nightly builds for now. r=emilio
There are a few testcases that were affected by the switch in bidi implementations
(see patches 5 and 6 in bug 1824671), so we need to update the metadata to reflect
the differing behavior between Nightly and Beta/Release builds. These changes will
be reverted when we allow unicode-bidi to ride the train to Release.

Differential Revision: https://phabricator.services.mozilla.com/D202305
2024-02-21 15:19:54 +00: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
Jonathan Kew
213ad19af0 Bug 1824671 - patch 10 - Switch unicode-bidi-ffi to use icu_properties as data source. r=platform-i18n-reviewers,dminor
Looking up the BidiClass property via icu_properties is more efficient than the
built-in version provided in unicode-bidi.

Differential Revision: https://phabricator.services.mozilla.com/D198449
2024-02-06 11:41:12 +00:00
Jonathan Kew
5941b4e7cd Bug 1824671 - patch 8 - Add icu_properties as a dependency to unicode-bidi-ffi. r=platform-i18n-reviewers,dminor
This will cause `./mach vendor rust` to pull it into the tree.

Note that actually running `./mach vendor rust` requires the file-size limit in vendor_rust.py
to be temporarily raised (from 100K to 300K is enough) because of large files in the icu_properties
crate. This does not contribute significant bloat to the binary, though, because only actually-used
data ends up in the build.

Differential Revision: https://phabricator.services.mozilla.com/D198446
2024-02-06 11:41:11 +00:00