Commit Graph

5935 Commits

Author SHA1 Message Date
Alex Franchuk
3606f72bc2 Bug 1454816 - Replace uses of base::SharedMemory r=ipc-reviewers,media-playback-reviewers,padenot,nika
Differential Revision: https://phabricator.services.mozilla.com/D224153
2024-10-21 18:43:25 +00:00
Sandor Molnar
dfc3050503 Backed out 4 changesets (bug 1454816) for causing build bustages. CLOSED TREE
Backed out changeset 3e8d2c47138c (bug 1454816)
Backed out changeset 80ff20241831 (bug 1454816)
Backed out changeset 28c2d6d2a683 (bug 1454816)
Backed out changeset 236943ab4142 (bug 1454816)
2024-10-21 20:15:13 +03:00
Alex Franchuk
5d0a7d72b3 Bug 1454816 - Replace uses of base::SharedMemory r=ipc-reviewers,media-playback-reviewers,padenot,nika
Differential Revision: https://phabricator.services.mozilla.com/D224153
2024-10-21 13:08:44 +00:00
Cristina Horotan
7394b3a37f Backed out 4 changesets (bug 1454816) for causing build bustages at nsIStringBundle.h CLOSED TREE
Backed out changeset bed340babebd (bug 1454816)
Backed out changeset f7499fb49eb0 (bug 1454816)
Backed out changeset 9a82c5828c53 (bug 1454816)
Backed out changeset efe7bc48a16d (bug 1454816)
2024-10-18 23:41:27 +03:00
Alex Franchuk
ef04432fae Bug 1454816 - Replace uses of base::SharedMemory r=ipc-reviewers,media-playback-reviewers,padenot,nika
Differential Revision: https://phabricator.services.mozilla.com/D224153
2024-10-18 16:58:45 +00:00
Jonathan Kew
7413e4d960 Bug 1921477 - patch 2 - Cache results from ICU4X line-segmenter because it may be slow for complex writing systems. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D225461
2024-10-16 14:47:50 +00:00
Jonathan Kew
b5a9a91233 Bug 1921477 - patch 1 - Convert the line-break cache in ComplexBreaker from a pair of hashtables to MruCache, and expose as its own class. r=layout-reviewers,emilio
This does not change user-visible behavior, though the MruCache may perform slightly better
than the previous hashtable implementation. Primarily this is preparation for using the same
cache in conjunction with the new ICU4X-based line segmenter.

Differential Revision: https://phabricator.services.mozilla.com/D225460
2024-10-16 14:47:49 +00:00
Adi
21915134df Backed out 3 changesets (bug 1921477) for causing Base-toolchains bustage.
Backed out changeset 77085e6f34d6 (bug 1921477)
Backed out changeset 409220c5c38e (bug 1921477)
Backed out changeset 78c35db99a38 (bug 1921477)
2024-10-16 16:33:35 +03:00
Jonathan Kew
313366a44b Bug 1921477 - patch 2 - Cache results from ICU4X line-segmenter because it may be slow for complex writing systems. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D225461
2024-10-16 12:25:55 +00:00
Jonathan Kew
a08bcd5ea4 Bug 1921477 - patch 1 - Convert the line-break cache in ComplexBreaker from a pair of hashtables to MruCache, and expose as its own class. r=layout-reviewers,emilio
This does not change user-visible behavior, though the MruCache may perform slightly better
than the previous hashtable implementation. Primarily this is preparation for using the same
cache in conjunction with the new ICU4X-based line segmenter.

Differential Revision: https://phabricator.services.mozilla.com/D225460
2024-10-16 12:25:54 +00:00
André Bargull
a9e722191a Bug 1922503: Update to tzdata 2024b. r=spidermonkey-reviewers,dminor
"PST8PDT" is a link in tzdata, but since we still use `backzone` entries, it's
rewritten to a zone in "TimeZoneDataGenerated.h". This will change when we
implement <https://github.com/tc39/ecma402/pull/877>.

Differential Revision: https://phabricator.services.mozilla.com/D224469
2024-10-03 14:16:24 +00:00
Makoto Kato
0911b1580e Bug 1906998 - Part 2. Re-build unicode data without vertical orientation. r=jfkthame
The vertical orientation data is unnecessary now, so let's remove it.

Differential Revision: https://phabricator.services.mozilla.com/D223673
2024-09-30 11:58:37 +00:00
Makoto Kato
3196156eb0 Bug 1906998 - Part 1. Use ICU4C to get vertical orientation properties. r=jfkthame
Our ICU's system requirement is 73.1 or higher, so we can use ICU API to
get vertical orientation properties.

Differential Revision: https://phabricator.services.mozilla.com/D223672
2024-09-30 11:58:36 +00:00
Cristian Tuns
5f82b0e5a2 Backed out changeset 78d0a0c70d7c (bug 1918411) for causing bc failures in browser_quicksuggest_fakespot.js CLOSED TREE 2024-09-13 10:43:48 -04:00
Francesco Lodolo (:flod)
cd4219cfed Bug 1918411 - Use explicit NUMBER() in Fluent plurals, update docs, r=bolsson,credential-management-reviewers,devtools-reviewers,places-reviewers,omc-reviewers,urlbar-reviewers,nchevobbe,daisuke,dimi,mviar
Differential Revision: https://phabricator.services.mozilla.com/D221992
2024-09-13 13:34:52 +00:00
Francesco Lodolo (:flod)
d0059173bd Bug 1917163 - Update rstcheck to 6.2.4, fix resulting errors in documents, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D221287
2024-09-06 15:04:10 +00:00
Cristina Horotan
c6ba4c0134 Backed out changeset 4e2df2c48e4b (bug 1917163) for causing mozlint failure. CLOSED TREE 2024-09-06 16:57:11 +03:00
Francesco Lodolo (:flod)
fd657600c1 Bug 1917163 - Update rstcheck to 6.2.4, fix resulting errors in documents, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D221287
2024-09-06 12:17:06 +00:00
Bryan Olsson
22d6e6784a Bug 1915749 - Update Localization documentation post GitHub transition, r=flod
Differential Revision: https://phabricator.services.mozilla.com/D220638
2024-09-04 05:28:00 +00:00
Gregory Pappas
429a8e1651 Bug 1912853 - Remove network.IDN.* prefs r=necko-reviewers,hsivonen,valentin
Differential Revision: https://phabricator.services.mozilla.com/D219081
2024-08-13 21:12:55 +00:00
Makoto Kato
fcedf0237c Bug 1863770 - Check locale string whether it has null character. r=platform-i18n-reviewers,dminor
If locale string has null character, we should ignore it. Because it is
invalid tag.

Differential Revision: https://phabricator.services.mozilla.com/D218807
2024-08-13 09:12:05 +00:00
Peter Van der Beken
834db6cfe8 Bug 1906744 - Check if constructor is enabled before installing named property. r=mccr8,dom-storage-reviewers,janv,asuth,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D216671
2024-08-08 16:35:19 +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
Narcis Beleuzu
f1d110fa32 Backed out changeset 393ab27c060b (bug 1906744) for Hazard bustages on Localization.cpp 2024-08-07 00:57:51 +03:00
Peter Van der Beken
931e7dd36c Bug 1906744 - Check if constructor is enabled before installing named property. r=mccr8,dom-storage-reviewers,janv,asuth,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D216671
2024-08-06 15:29:04 +00:00
Kavin Gnanapandithan
ba0b2b57c8 Bug 1868305 - Fix some minor clippy warnings fluent-ffi r=sylvestre
Made the necessary modifications to remove the following clippy warnings

intl/l10n/rust/fluent-ffi/src/text_elements.rs
  28:13  warning  redundant field names in struct initialization  clippy::redundant_field_names (clippy)
  90:38  warning  redundant closure                               clippy::redundant_closure (clippy)
  94:38  warning  redundant closure                               clippy::redundant_closure (clippy)

Differential Revision: https://phabricator.services.mozilla.com/D218546
2024-08-06 08:32:11 +00:00
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