Граф коммитов

5702 Коммитов

Автор SHA1 Сообщение Дата
CanadaHonk 91709586ba Bug 1801379 - Migrate Sinon.jsm to an ES module r=extension-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,fxview-reviewers,devtools-reviewers,Standard8,nchevobbe,sclements,dimi,mconley,bytesized,robwu
Migrated `testing/modules/Sinon.sys.mjs` to an ES module.

`testing` should now be 100% ESM 🎉

Differential Revision: https://phabricator.services.mozilla.com/D173643
2023-03-29 07:34:10 +00:00
André Bargull 3e45456337 Bug 1824301: Update time zone data to tzdata2023a. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D173657
2023-03-29 06:17:26 +00:00
Jonathan Kew b3fc2def82 Bug 208789 - patch 1 - Create an intl::GeneralCategory enum for UnicodeProperties::CharType() to return, to avoid directly referring to ICU4C constants or mapping via harfbuzz constants. r=platform-i18n-reviewers,nordzilla
No change in behavior; this just gives us our own version of the general category constants,
so we can avoid depending on ICU's constants elsewhere in the codebase.

Differential Revision: https://phabricator.services.mozilla.com/D173203
2023-03-23 13:54:33 +00:00
André Bargull 32434f8e6b Bug 1818103: Revert date format for en-CA. r=platform-i18n-reviewers,jfkthame
Revert the date format for en-CA per <https://github.com/unicode-org/cldr/pull/2759>.

The actual patch is based on <https://github.com/unicode-org/icu/pull/2368>.

Differential Revision: https://phabricator.services.mozilla.com/D173406
2023-03-23 09:26:42 +00:00
Andi-Bogdan Postelnicu fa5d4cca1f Bug 1660405 - Move away from mozilla::IsFinite in favor of std::isfinite. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173036
2023-03-22 11:35:33 +00:00
Andi-Bogdan Postelnicu 10f49d4180 Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot
Differential Revision: https://phabricator.services.mozilla.com/D173035
2023-03-22 11:35:33 +00:00
Stanca Serban e31a178029 Backed out 7 changesets (bug 1660405) for causing bustages on Linux x64 opt. CLOSED TREE
Backed out changeset ad1a5f59214f (bug 1660405)
Backed out changeset a39e95f0aafe (bug 1660405)
Backed out changeset 48629ee0d70d (bug 1660405)
Backed out changeset 8419b99aab60 (bug 1660405)
Backed out changeset 535cc12c8bed (bug 1660405)
Backed out changeset e27052da4927 (bug 1660405)
Backed out changeset 11b0f9cf8091 (bug 1660405)
2023-03-22 13:05:53 +02:00
Andi-Bogdan Postelnicu 0b692b5a96 Bug 1660405 - Move away from mozilla::IsFinite in favor of std::isfinite. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173036
2023-03-22 09:27:57 +00:00
Andi-Bogdan Postelnicu a5d28acdd6 Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot
Differential Revision: https://phabricator.services.mozilla.com/D173035
2023-03-22 09:27:56 +00:00
Tom Schuster 7b3f9f5ef0 Bug 1822980 - Fix system ICU build error. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D172978
2023-03-21 15:13:23 +00:00
Nika Layzell 3b40268cc1 Bug 1818305 - Part 2: Add a streamStatus method to nsIInputStream, r=xpcom-reviewers,necko-reviewers,geckoview-reviewers,valentin,jesup,m_kato,mccr8
This is semantically similar to the existing available() method, however will
not block, and doesn't need to do the work to actually determine the number of
available bytes.

As part of this patch, I also fixed one available() implementation which was
incorrectly throwing NS_BASE_STREAM_WOULD_BLOCK.

Differential Revision: https://phabricator.services.mozilla.com/D170697
2023-03-15 19:52:34 +00:00
Tom Schuster c46852b04b Bug 1709867 - Add a ICU-only DateTimeInfo::timeZoneId method. r=anba,platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D169611
2023-03-15 13:53:54 +00:00
Jonathan Kew 91152cebf4 Bug 1820504 - Optimize GraphemeClusterBreakIteratorUtf16::Next by making the evaluation of baseIsEmoji lazy. r=TYLin
This doesn't change behavior, but takes the emoji property lookup out of the hot path.

Credit to the Betterbird project for noting this in their profiling work, as recorded in
https://bugzilla.mozilla.org/show_bug.cgi?id=1812386#c7

Differential Revision: https://phabricator.services.mozilla.com/D171698
2023-03-07 09:51:12 +00:00
Emilio Cobos Álvarez f3f4f3270c Bug 1819664 - Notify chrome docs when async translation work is done. r=smaug,Gijs
This prototypes the proposal in bug 1738056 comment 22.

Depends on D171359

Differential Revision: https://phabricator.services.mozilla.com/D171360
2023-03-04 00:04:21 +00:00
Emilio Cobos Álvarez 3d49ec4825 Bug 1819664 - Fix unsettled promise handling in Localization. r=smaug
Otherwise we have some promises that may never resolve. This causes
issues in
toolkit/content/tests/widgets/test_videocontrols_jsdisabled.html with
the previous patch, for example.

Differential Revision: https://phabricator.services.mozilla.com/D171564
2023-03-03 22:18:11 +00:00
serge-sans-paille 9b1f15288f Bug 1819822 - Make intl buildable outside of a unified build environment r=andi
Depends on D171428

Differential Revision: https://phabricator.services.mozilla.com/D171429
2023-03-02 07:44:31 +00:00
Jonathan Kew 81d930a594 Bug 1819025 - Don't consider following join-controls when determining whether a space is collapsible. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D171061
2023-02-28 09:58:36 +00:00
serge-sans-paille 81dddc58d9 Bug 1818441 - Make intl/locale/tests/gtest buildable outside of a unified build environment r=andi
Depends on D170723

Differential Revision: https://phabricator.services.mozilla.com/D170724
2023-02-27 13:42:58 +00:00
serge-sans-paille ef6c3eca15 Bug 1818439 - Make intl/gtest buildable outside of a unified build environment r=andi
Depends on D170721

Differential Revision: https://phabricator.services.mozilla.com/D170722
2023-02-27 13:42:58 +00:00
serge-sans-paille 32390506b8 Bug 1817716 - Make intl/uconv buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D170321
2023-02-21 18:57:45 +00:00
Marian-Vasile Laza 3db46c3cc3 Backed out 9 changesets (bug 1817715, bug 1817721, bug 1817716, bug 1817719, bug 1817720, bug 1817722, bug 1817718, bug 1817714, bug 1817717) for BP-hybrid bustages on PacketDumper.h.
Backed out changeset b582db8692bb (bug 1817722)
Backed out changeset f1d37a26a9ea (bug 1817721)
Backed out changeset f0991bfb779c (bug 1817720)
Backed out changeset 42c27b8d075b (bug 1817719)
Backed out changeset 67f07f966ef3 (bug 1817718)
Backed out changeset 408aa730ae68 (bug 1817717)
Backed out changeset 708b5529e7da (bug 1817716)
Backed out changeset f0a3ca660b68 (bug 1817715)
Backed out changeset 36af23356e21 (bug 1817714)
2023-02-21 17:57:00 +02:00
serge-sans-paille bf8cd83254 Bug 1817716 - Make intl/uconv buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D170321
2023-02-21 13:12:26 +00:00
Stanca Serban 771d982cfc Backed out 9 changesets (bug 1817714, bug 1817722, bug 1817721, bug 1817719, bug 1817717, bug 1817720, bug 1817715, bug 1817716, bug 1817718) for causing bp-hybrid bustages in nsFind.cpp. CLOSED TREE
Backed out changeset 8acd5a2263f9 (bug 1817722)
Backed out changeset 299f412fa933 (bug 1817721)
Backed out changeset 345907a5a764 (bug 1817720)
Backed out changeset d710584cc1ee (bug 1817719)
Backed out changeset 7a581148ea00 (bug 1817718)
Backed out changeset 0b9d922e895a (bug 1817717)
Backed out changeset 2878e5488069 (bug 1817716)
Backed out changeset 97b49222483f (bug 1817715)
Backed out changeset a556e575cc13 (bug 1817714)
2023-02-21 11:06:43 +02:00
serge-sans-paille 94eb48d31d Bug 1817716 - Make intl/uconv buildable outside of a unified build environment r=andi
Depends on D170320

Differential Revision: https://phabricator.services.mozilla.com/D170321
2023-02-21 08:05:45 +00:00
serge-sans-paille f44c2c4e4d Bug 1817309 - Make intl/hyphenation/glue buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D170129
2023-02-19 21:40:38 +00:00
Norisz Fay d85572c196 Backed out 11 changesets (bug 1817309, bug 1817315, bug 1817313, bug 1817317, bug 1817310, bug 1817314, bug 1817308, bug 1817312, bug 1817311, bug 1817316, bug 1817318) for causing build bustages on nss_secutil.h CLOSED TREE
Backed out changeset 288b4848b023 (bug 1817308)
Backed out changeset 6ac5107e1c81 (bug 1817309)
Backed out changeset 6f6e7a258930 (bug 1817310)
Backed out changeset 32cadd62fec3 (bug 1817311)
Backed out changeset 5bfcee2bfb8b (bug 1817312)
Backed out changeset bfd59ae03c4f (bug 1817313)
Backed out changeset 0080bdd6ab3f (bug 1817314)
Backed out changeset e1e81a3a933d (bug 1817315)
Backed out changeset 151d9b5d1883 (bug 1817316)
Backed out changeset 1b03cabc6e5a (bug 1817317)
Backed out changeset 52b44c5d4b08 (bug 1817318)
2023-02-19 18:37:26 +02:00
serge-sans-paille 5031b976cd Bug 1817309 - Make intl/hyphenation/glue buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D170129
2023-02-19 15:33:56 +00:00
Csoregi Natalia 41e332d499 Backed out 11 changesets (bug 1817308, bug 1817311, bug 1817317, bug 1817310, bug 1817309, bug 1817314, bug 1817316, bug 1817318, bug 1817313, bug 1817312, bug 1817315) for causing hybrid bustage on WrapperFactory.cpp. CLOSED TREE
Backed out changeset 1fb2fdbeecec (bug 1817308)
Backed out changeset 7153cb681119 (bug 1817309)
Backed out changeset 44e4198e2cdc (bug 1817310)
Backed out changeset ef9b097a07c4 (bug 1817311)
Backed out changeset e6f4e9a4cfc6 (bug 1817312)
Backed out changeset 4fa0b794c1e1 (bug 1817313)
Backed out changeset 13841a7b93a6 (bug 1817314)
Backed out changeset af16df862459 (bug 1817315)
Backed out changeset a157a7c3146f (bug 1817316)
Backed out changeset f9048fa7e1d9 (bug 1817317)
Backed out changeset 10219437a634 (bug 1817318)
2023-02-18 01:58:57 +02:00
serge-sans-paille bb77b1790c Bug 1817309 - Make intl/hyphenation/glue buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D170129
2023-02-17 22:17:45 +00:00
Andi-Bogdan Postelnicu d7e8a09c21 Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium
Updated with clang-format version 15.0.5 (taskcluster-MKK8dHUpQkGfPLA793lizg)
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D168658
2023-02-13 15:02:07 +00:00
Eemeli Aro 47c30f3625 Bug 1815410 - Add documentation for fluent.migrate TransformPattern. r=flod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D169058
2023-02-07 17:44:10 +00:00
Bob Owen 72886c7966 Bug 1809657: Start next line break chunk from start of previous search when no breaks found. r=jfkthame
This means that we start from a known non-break and that we shouldn't be in any
danger of causing false breaks once Uniscribe gets to unprocessed characters.

This also makes the crash tests manual and debug only.
Manual because now that the win32k pref is default on and not dynamic the tests
will not run on try any more.
Debug only so that we don't include code in opt builds that is only for manual
tests.

Differential Revision: https://phabricator.services.mozilla.com/D167271
2023-01-20 13:12:06 +00:00
Emilio Cobos Álvarez 46df319668 Bug 1805939 - Have a central source of truth for desktop environment detection. r=stransky,jld
Gfx blocklist doesn't actually use the desktop environment filter so
remove that functionality. We can reintroduce it in the future if we
need it.

Differential Revision: https://phabricator.services.mozilla.com/D166090
2023-01-20 11:26:11 +00:00
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