Masatoshi Kimura
79423c52bd
Bug 1789556 - Tests for bug 1787633. r=m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D156638
2023-01-17 16:16:02 +00:00
Julian Seward
d71b143fb3
Bug 1808182 - Use of uninitialised values originating from NS_GetComplexLineBreaks (in nsPangoBreaker.cpp). r=jfkthame.
...
NS_GetComplexLineBreaks (in nsPangoBreaker.cpp) adds elements of type
`PangoLogAttr` to an array with `attrBuffer.AppendElements(aLength + 1);`.
However, `PangoLogAttr` doesn't have a default constructor, so those elements
are uninitialised, and that eventually leaks back to the the caller,
`ComplexBreaker::GetBreaks` and are used in a couple of different places after
that. This patch fixes that by manually zeroing out the new area.
Differential Revision: https://phabricator.services.mozilla.com/D165846
2023-01-03 10:40:34 +00:00
Sylvestre Ledru
dcc6c87d78
no bug - remove +x on dic files r=platform-i18n-reviewers,jfkthame DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D165680
2022-12-30 18:46:07 +00:00
Sylvestre Ledru
e2b52a1324
Bug 1807899 - Remove the trailing whitespace and Windows CR on md files r=linter-reviewers,necko-reviewers,marco,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D165662
2022-12-30 15:23:21 +00:00
Jonathan Kew
859eb99179
Bug 1806042 - Update tests to expect normal spaces rather than U+202F/2009 in formatted date/time strings. r=gregtatum
...
We'll need to revert this when we're ready to disable the workaround.
Depends on D165408
Differential Revision: https://phabricator.services.mozilla.com/D165409
2022-12-24 10:35:10 +00:00
Jonathan Kew
34a08b7422
Bug 1806042 - Replace Narrow No-Break Space (U+202F) and Thin Space (U+2009) in DateTimeFormat/DateTimeIntervalFormat output with regular Space to mitigate breakage on fragile websites. r=anba
...
The data for a bunch of locales was updated in ICU 72 to use U+202F and U+2009 in places where previously it had regular Space characters.
Unfortunately, this breaks some sites that attempt to parse the formatted output using naive regular expressions (or similar)
that just expect space, rather than "any whitespace", and fail to match against the new formatted output.
To mitigate this, until more browsers update to the newer ICU/CLDR data and pressure builds on sites to fix such fragile scripts,
we can post-process the formatted output from ICU to replace these "special" spaces with standard ASCII space characters.
This workaround is designed to be easily disabled at build time by just changing the DATE_TIME_FORMAT_REPLACE_SPECIAL_SPACES #define,
when we're ready to try re-enabling the updated formats.
Differential Revision: https://phabricator.services.mozilla.com/D165408
2022-12-24 10:35:10 +00:00
Marco Castelluccio
f69e697461
Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Andrew McCreight
ce28c41da0
Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug
...
As of the prior patch, these are no longer needed. I removed
these with a script, then ran clang-format on the files, then
manually reverted a few unrelated changed from the formatter.
Differential Revision: https://phabricator.services.mozilla.com/D164829
2022-12-15 19:45:01 +00:00
Sylvestre Ledru
baca9eb94e
Bug 1802689 - cargo.toml: more consistency in the author names
...
Differential Revision: https://phabricator.services.mozilla.com/D163769
2022-12-13 09:14:44 +00:00
Sylvestre Ledru
04363d3827
Bug 1802689 - Add missing licenses info in Cargo.toml r=mhoye,necko-reviewers,kershaw,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D163157
2022-12-13 09:14:44 +00:00
Yoshi Cheng-Hao Huang
c19e34d15c
Bug 1797506 - Add EnsureAndLoadStringBundle to preload the string bundle on main thread. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D163309
2022-12-12 13:25:09 +00:00
Eemeli Aro
f08c01b802
Bug 1804404 - Update l10n documentation due to DTD & .inc removal. r=flod
...
Differential Revision: https://phabricator.services.mozilla.com/D164047
2022-12-07 11:50:39 +00:00
Mark Banner
ff47c36f9b
Bug 1803914
- Automatically replace Cu.reportError with console.error (misc). r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D163772
2022-12-06 14:34:57 +00:00
Greg Tatum
d3921e547e
Bug 1685180 - Debug assert Fluent strings where replaced variables are not provided; r=nordzilla
...
Differential Revision: https://phabricator.services.mozilla.com/D161996
2022-12-01 21:40:56 +00:00
André Bargull
5e2b3f9f08
Bug 1803516: Update time zone data to tzdata2022g. r=platform-i18n-reviewers,gregtatum
...
Differential Revision: https://phabricator.services.mozilla.com/D163568
2022-12-01 14:05:39 +00:00
André Bargull
86a29191ae
Bug 1792775 - Part 11.1: Update expected test results in non-SpiderMonkey files. r=platform-i18n-reviewers,gregtatum
...
Differential Revision: https://phabricator.services.mozilla.com/D162707
2022-11-23 17:56:18 +00:00
André Bargull
ff0958538f
Bug 1792775 - Part 8: Remove no longer needed ICU draft API guards. r=platform-i18n-reviewers,jfkthame
...
`UDAT_STANDALONE_NARROW_QUARTERS` has been promoted from draft to stable.
Differential Revision: https://phabricator.services.mozilla.com/D160186
2022-11-23 17:56:16 +00:00
André Bargull
c79afec58b
Bug 1792775 - Part 7: Update Gecko to Unicode 15. r=platform-i18n-reviewers,jfkthame
...
Update Gecko to Unicode 15 by running `genUnicodePropertyData.pl` and
`genSpecialCasingData.pl`.
Differential Revision: https://phabricator.services.mozilla.com/D160185
2022-11-23 17:56:16 +00:00
André Bargull
44945dd321
Bug 1792775 - Part 3: Update language tag mappings. r=platform-i18n-reviewers,dminor
...
Update language tags by running `./make_intl_data.py langtags`.
Differential Revision: https://phabricator.services.mozilla.com/D160181
2022-11-23 17:56:14 +00:00
André Bargull
450cd2c190
Bug 1792775 - Part 2: Update in-tree ICU to 72. r=platform-i18n-reviewers,dminor
...
Update to ICU 72 by running `./update-icu.sh https://github.com/unicode-org/icu.git maint/maint-72`.
Differential Revision: https://phabricator.services.mozilla.com/D160180
2022-11-23 17:56:04 +00:00
André Bargull
c527db03ac
Bug 1792775 - Part 1.1: Remove unused "personNames" table from ICU data file. r=platform-i18n-reviewers,gregtatum
...
We don't use the "personNames" data, so let's filter it out to reduce the ICU data file size.
Depends on D160179
Differential Revision: https://phabricator.services.mozilla.com/D162706
2022-11-23 17:56:04 +00:00
André Bargull
7a825e75ec
Bug 1792775 - Part 1: Update or remove ICU patches. r=platform-i18n-reviewers,dminor
...
Remove the patch for bug 1766220 because the local patch was just a backport
from the ICU development branch.
And update the local patches for Sorbian and WASI integration to apply cleanly
on ICU 72.
Differential Revision: https://phabricator.services.mozilla.com/D160179
2022-11-23 17:56:03 +00:00
Noemi Erli
57fbfda9e8
Backed out 16 changesets (bug 1792775) for causing build bustage in TestDateIntervalFormat.cpp CLOSED TREE
...
Backed out changeset 240681aef215 (bug 1792775)
Backed out changeset e15aea6bb46b (bug 1792775)
Backed out changeset ee9cd4c8d5cd (bug 1792775)
Backed out changeset 0be61a39756f (bug 1792775)
Backed out changeset 7db4fb376f48 (bug 1792775)
Backed out changeset 7009b35a05a0 (bug 1792775)
Backed out changeset 5abc2704004e (bug 1792775)
Backed out changeset 6d76fe50cf35 (bug 1792775)
Backed out changeset d6300cbbf628 (bug 1792775)
Backed out changeset 8f5e0e60d195 (bug 1792775)
Backed out changeset 0b9cf0354dc0 (bug 1792775)
Backed out changeset 7136c85641b7 (bug 1792775)
Backed out changeset 486778427d64 (bug 1792775)
Backed out changeset 7acee89c2699 (bug 1792775)
Backed out changeset 654c5f659fed (bug 1792775)
Backed out changeset a60b1bc33f91 (bug 1792775)
2022-11-23 17:18:45 +02:00
Marco Castelluccio
04f9d27771
Bug 1790816 - Reformat intl/ with isort. r=linter-reviewers,Standard8 DONTBUILD
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D162645
2022-11-23 12:59:26 +00:00
André Bargull
0fedffe9f5
Bug 1792775 - Part 11.1: Update expected test results in non-SpiderMonkey files. r=platform-i18n-reviewers,gregtatum
...
Differential Revision: https://phabricator.services.mozilla.com/D162707
2022-11-23 10:42:45 +00:00
André Bargull
4a0ac37d47
Bug 1792775 - Part 8: Remove no longer needed ICU draft API guards. r=platform-i18n-reviewers,jfkthame
...
`UDAT_STANDALONE_NARROW_QUARTERS` has been promoted from draft to stable.
Differential Revision: https://phabricator.services.mozilla.com/D160186
2022-11-23 10:42:43 +00:00
André Bargull
8fb15ffe9d
Bug 1792775 - Part 7: Update Gecko to Unicode 15. r=platform-i18n-reviewers,jfkthame
...
Update Gecko to Unicode 15 by running `genUnicodePropertyData.pl` and
`genSpecialCasingData.pl`.
Differential Revision: https://phabricator.services.mozilla.com/D160185
2022-11-23 10:42:43 +00:00
André Bargull
645f61adee
Bug 1792775 - Part 3: Update language tag mappings. r=platform-i18n-reviewers,dminor
...
Update language tags by running `./make_intl_data.py langtags`.
Differential Revision: https://phabricator.services.mozilla.com/D160181
2022-11-23 10:42:41 +00:00
André Bargull
902df0f4d2
Bug 1792775 - Part 2: Update in-tree ICU to 72. r=platform-i18n-reviewers,dminor
...
Update to ICU 72 by running `./update-icu.sh https://github.com/unicode-org/icu.git maint/maint-72`.
Differential Revision: https://phabricator.services.mozilla.com/D160180
2022-11-23 10:42:32 +00:00
André Bargull
644f1b673d
Bug 1792775 - Part 1.1: Remove unused "personNames" table from ICU data file. r=platform-i18n-reviewers,gregtatum
...
We don't use the "personNames" data, so let's filter it out to reduce the ICU data file size.
Depends on D160179
Differential Revision: https://phabricator.services.mozilla.com/D162706
2022-11-23 10:42:31 +00:00
André Bargull
271e5e44f0
Bug 1792775 - Part 1: Update or remove ICU patches. r=platform-i18n-reviewers,dminor
...
Remove the patch for bug 1766220 because the local patch was just a backport
from the ICU development branch.
And update the local patches for Sorbian and WASI integration to apply cleanly
on ICU 72.
Differential Revision: https://phabricator.services.mozilla.com/D160179
2022-11-23 10:42:31 +00:00
Noemi Erli
d26dc9e9e0
Backed out 13 changesets (bug 1792775) for causing bustages
...
Backed out changeset f2c8e2200194 (bug 1792775)
Backed out changeset 3392ce042fb6 (bug 1792775)
Backed out changeset f5461baa7c5a (bug 1792775)
Backed out changeset d810c2b2d0bd (bug 1792775)
Backed out changeset af6164024ade (bug 1792775)
Backed out changeset 8c97026ef2b5 (bug 1792775)
Backed out changeset d396bec29ac2 (bug 1792775)
Backed out changeset a9aaa2387313 (bug 1792775)
Backed out changeset a4461db138b7 (bug 1792775)
Backed out changeset a7b39a5105a9 (bug 1792775)
Backed out changeset 5e746d85926a (bug 1792775)
Backed out changeset 3ea531c10813 (bug 1792775)
Backed out changeset 78811cdadd63 (bug 1792775)
2022-11-23 11:48:28 +02:00
Noemi Erli
001626e217
Backed out 3 changesets (bug 1792775) for causing build bustages in dateTimeField.js CLOSED TREE
...
Backed out changeset afc4c848f6cd (bug 1792775)
Backed out changeset 3ad9903f28d8 (bug 1792775)
Backed out changeset 838947448110 (bug 1792775)
2022-11-23 11:19:20 +02:00
André Bargull
995289f140
Bug 1792775 - Part 11.1: Update expected test results in non-SpiderMonkey files. r=platform-i18n-reviewers,gregtatum
...
Differential Revision: https://phabricator.services.mozilla.com/D162707
2022-11-23 08:43:23 +00:00
André Bargull
ff7bda35a3
Bug 1792775 - Part 8: Remove no longer needed ICU draft API guards. r=platform-i18n-reviewers,jfkthame
...
`UDAT_STANDALONE_NARROW_QUARTERS` has been promoted from draft to stable.
Differential Revision: https://phabricator.services.mozilla.com/D160186
2022-11-23 08:43:21 +00:00
André Bargull
52649f0d2a
Bug 1792775 - Part 7: Update Gecko to Unicode 15. r=platform-i18n-reviewers,jfkthame
...
Update Gecko to Unicode 15 by running `genUnicodePropertyData.pl` and
`genSpecialCasingData.pl`.
Differential Revision: https://phabricator.services.mozilla.com/D160185
2022-11-23 08:43:20 +00:00
André Bargull
70aaaa7f06
Bug 1792775 - Part 3: Update language tag mappings. r=platform-i18n-reviewers,dminor
...
Update language tags by running `./make_intl_data.py langtags`.
Differential Revision: https://phabricator.services.mozilla.com/D160181
2022-11-23 08:43:19 +00:00
André Bargull
409ed6f810
Bug 1792775 - Part 2: Update in-tree ICU to 72. r=platform-i18n-reviewers,dminor
...
Update to ICU 72 by running `./update-icu.sh https://github.com/unicode-org/icu.git maint/maint-72`.
Differential Revision: https://phabricator.services.mozilla.com/D160180
2022-11-23 08:38:46 +00:00
André Bargull
aa4f2ac584
Bug 1792775 - Part 1.1: Remove unused "personNames" table from ICU data file. r=platform-i18n-reviewers,gregtatum
...
We don't use the "personNames" data, so let's filter it out to reduce the ICU data file size.
Depends on D160179
Differential Revision: https://phabricator.services.mozilla.com/D162706
2022-11-23 08:38:45 +00:00
André Bargull
8c5fcbaa08
Bug 1792775 - Part 1: Update or remove ICU patches. r=platform-i18n-reviewers,dminor
...
Remove the patch for bug 1766220 because the local patch was just a backport
from the ICU development branch.
And update the local patches for Sorbian and WASI integration to apply cleanly
on ICU 72.
Differential Revision: https://phabricator.services.mozilla.com/D160179
2022-11-23 08:38:45 +00:00
Butkovits Atila
6ded0f39e9
Backed out 2 changesets (bug 1685180) for causing Xpcshell failures at test_l10nCache.js. CLOSED TREE
...
Backed out changeset c05d7c567c19 (bug 1685180)
Backed out changeset be4603eff17c (bug 1685180)
2022-11-21 19:51:30 +02:00
Greg Tatum
be1aa4d51d
Bug 1685180 - Debug assert Fluent strings where replaced variables are not provided; r=nordzilla
...
Differential Revision: https://phabricator.services.mozilla.com/D161996
2022-11-21 16:14:06 +00:00
Sylvestre Ledru
97f4c646c8
Bug 1801196 - remove unused crates r=xpcom-reviewers,nika,gregtatum
...
Differential Revision: https://phabricator.services.mozilla.com/D162334
2022-11-18 16:31:05 +00:00
Greg Tatum
24751e2521
Bug 1755216 - Vendor in fluent-fallback@0.7.0; r=nordzilla
...
Depends on D161733
Differential Revision: https://phabricator.services.mozilla.com/D161734
2022-11-17 16:00:17 +00:00
Csoregi Natalia
9550c6467f
Bug 1800902 - Fix trailing whitespace. r=fix CLOSED TREE
2022-11-17 15:28:47 +02:00
Francesco Lodolo (:flod)
3c01cd430a
Bug 1800902 - Remove comm-central from cross-channel generation, r=eemeli DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D162201
2022-11-17 12:11:40 +00:00
André Bargull
7d0125b8c7
Bug 1799859: Add support for "microsecond" and "nanosecond" units. r=dminor
...
Steps performed:
- Add "microsecond" and "nanosecond" to "intl/icu/data_filter.json".
- Run "icu_sources_data.py" to update the ICU data file.
- Run "update-tzdata.sh" to reapply the tzdata 2022f changes.
- Add "microsecond" and "nanosecond" to "SanctionedSimpleUnitIdentifiers.yaml".
- Run "make_intl_data.py units" to regenerate additional SpiderMonkey files.
Spec PR: https://github.com/tc39/ecma402/pull/708
Differential Revision: https://phabricator.services.mozilla.com/D161676
2022-11-09 16:45:43 +00:00
Dan Minor
d6d0fb6210
Bug 1799250 - Don't use extractOrCopyRawBuffer in Locale.cpp; r=anba
...
Differential Revision: https://phabricator.services.mozilla.com/D161471
2022-11-08 17:41:49 +00:00
André Bargull
83b9a93f65
Bug 1798623: Update time zone data to tzdata2022f. r=platform-i18n-reviewers,dminor
...
Differential Revision: https://phabricator.services.mozilla.com/D161007
2022-11-04 06:57:16 +00:00
Valentin Gosu
f4e5d22860
Bug 1793521 - Make sure URLs with invalid IDNA labels parse the same round-trip r=necko-reviewers,kershaw
...
This was regressed by bug 1788115, which allowed us to parse ASCII labels
again to enforce they're valid. However, the existing code only checked for
invalid punycode (that fails decoding), not ACE labels that are invalid.
If we don't check for this condition uidna_labelToUnicode will add a U+FFFD
character to the end of the label, making us encode it again, changing the URL.
When that happens, the principal's origin may change between serializations,
which is not OK.
Depends on D159373
Differential Revision: https://phabricator.services.mozilla.com/D160785
2022-11-01 09:50:18 +00:00