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

5044 Коммитов

Автор SHA1 Сообщение Дата
Axel Hecht 595a699c3e Bug 1649441, port ICU update docs into firefox-source-docs, r=jwalden
This is just a copy via pandoc, and some minor fixups. No actual
content changes, aside of linter fixes.

Differential Revision: https://phabricator.services.mozilla.com/D81703
2020-07-07 11:24:08 +00:00
Kris Maglione d09458dc51 Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 17:59:16 +00:00
André Bargull 4d1d96c31a Bug 1534160 - Part 2: Cherry-pick patch for Android time zone detection. r=jwalden
Cherry-pick the commit from <https://github.com/unicode-org/icu/pull/605>.

Depends on D82545

Differential Revision: https://phabricator.services.mozilla.com/D82546
2020-07-09 09:52:26 +00:00
André Bargull dc07d1aa1e Bug 1534160 - Part 1: Re-run ICU updater to pick up latest changes to ICU 67 maintenance branch. r=jwalden
The change itself isn't important for us, because we don't use ICU's make-files,
but avoids confusion why additional changes were applied when running the update
script.

Differential Revision: https://phabricator.services.mozilla.com/D82545
2020-07-07 21:05:03 +00:00
Doug Thayer b274aafa4b Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj
This should be a relatively straightforward patch. Essentially, we implement
a wrapper class (and friends) around nsZipArchive (and friends), which transparently
caches entries from the underlying zip archive in the StartupCache. This will break
without changes to the StartupCache, made in the patch after this, which allow it
to be used off of the main thread, and outside the main process.

Depends on D77635

Differential Revision: https://phabricator.services.mozilla.com/D77634
2020-07-08 02:46:34 +00:00
Narcis Beleuzu a182c015f5 Backed out 6 changesets (bug 1627075) for bustages on startupcache/StartupCache.cpp . CLOSED TREE
Backed out changeset 21605186687e (bug 1627075)
Backed out changeset e29b15980da2 (bug 1627075)
Backed out changeset eb5265addd5e (bug 1627075)
Backed out changeset dfd71f4ecb81 (bug 1627075)
Backed out changeset 13ecd68b3c0d (bug 1627075)
Backed out changeset 333d035afe92 (bug 1627075)
2020-07-07 23:30:48 +03:00
Doug Thayer a2595a8402 Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj
This should be a relatively straightforward patch. Essentially, we implement
a wrapper class (and friends) around nsZipArchive (and friends), which transparently
caches entries from the underlying zip archive in the StartupCache. This will break
without changes to the StartupCache, made in the patch after this, which allow it
to be used off of the main thread, and outside the main process.

Depends on D77635

Differential Revision: https://phabricator.services.mozilla.com/D77634
2020-07-07 17:04:27 +00:00
Axel Hecht ac4d08312c Bug 1614941, add more date formats to dsb and hsb, r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D62732
2020-07-07 11:46:05 +00:00
Axel Hecht d8de3ed277 Bug 1615225, document cross-channel l10n, r=flod
Differential Revision: https://phabricator.services.mozilla.com/D70340
2020-07-07 09:54:00 +00:00
Jonathan Kew b9d874ff7d Bug 1650013 - Strip unexpected leading slash from absolute path on Windows when loading hyphenation resource. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D81980
2020-07-07 04:45:16 +00:00
Mihai Alexandru Michis 87cb0ad6fa Backed out 6 changesets (bug 1627075) for causing bustages in StartupCache.cpp
CLOSED TREE

Backed out changeset fc144caf5d06 (bug 1627075)
Backed out changeset a345e05df151 (bug 1627075)
Backed out changeset 288a67aed661 (bug 1627075)
Backed out changeset 2cb021a493d8 (bug 1627075)
Backed out changeset 920398d1c3d3 (bug 1627075)
Backed out changeset ebdcd96a9d20 (bug 1627075)
2020-07-07 08:47:14 +03:00
Doug Thayer e3f3b7b80b Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj
This should be a relatively straightforward patch. Essentially, we implement
a wrapper class (and friends) around nsZipArchive (and friends), which transparently
caches entries from the underlying zip archive in the StartupCache. This will break
without changes to the StartupCache, made in the patch after this, which allow it
to be used off of the main thread, and outside the main process.

Depends on D77635

Differential Revision: https://phabricator.services.mozilla.com/D77634
2020-07-07 04:36:27 +00:00
Makoto Kato 7472376d24 Bug 1650698 - Convert test_collation.js to gtest. r=jfkthame
test_collation.js uses nsICollation and nsICollationFactory from script, but
I would like to make it non-scriptable. Actually, it is only used from
xpcshell tests.

Differential Revision: https://phabricator.services.mozilla.com/D82310
2020-07-06 07:55:32 +00:00
Noemi Erli b13f2bcb47 Backed out 7 changesets (bug 1627075) for causing @nsZipArchive crashes CLOSED TREE
Backed out changeset 9705b2759d45 (bug 1627075)
Backed out changeset 699212a443c3 (bug 1627075)
Backed out changeset 7ae4df10749c (bug 1627075)
Backed out changeset ece9a4223349 (bug 1627075)
Backed out changeset 6c4eedaa0d04 (bug 1627075)
Backed out changeset f5106898239f (bug 1627075)
Backed out changeset b6029c7c0016 (bug 1627075)
2020-07-02 14:05:53 +03:00
Doug Thayer 3742aac030 Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj
This should be a relatively straightforward patch. Essentially, we implement
a wrapper class (and friends) around nsZipArchive (and friends), which transparently
caches entries from the underlying zip archive in the StartupCache. This will break
without changes to the StartupCache, made in the patch after this, which allow it
to be used off of the main thread, and outside the main process.

Depends on D77635

Differential Revision: https://phabricator.services.mozilla.com/D77634
2020-07-02 02:51:41 +00:00
chocos 6492876c9d Bug 1648959 - Done internal linking in docs in intl Directory DONTBUILD.r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D81461
2020-07-01 19:31:35 +00:00
Mihai Alexandru Michis bab20702a8 Backed out 6 changesets (bug 1627075) for causing failures regarding startupcache.
CLOSED TREE

Backed out changeset cf23b456ba12 (bug 1627075)
Backed out changeset b07887474f51 (bug 1627075)
Backed out changeset 65c0e6790a33 (bug 1627075)
Backed out changeset 6cd31f17a931 (bug 1627075)
Backed out changeset 0f0d1bd2a8ac (bug 1627075)
Backed out changeset 763a5a7b43a0 (bug 1627075)
2020-07-01 22:16:28 +03:00
Doug Thayer ab4b703a53 Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj
This should be a relatively straightforward patch. Essentially, we implement
a wrapper class (and friends) around nsZipArchive (and friends), which transparently
caches entries from the underlying zip archive in the StartupCache. This will break
without changes to the StartupCache, made in the patch after this, which allow it
to be used off of the main thread, and outside the main process.

Depends on D77635

Differential Revision: https://phabricator.services.mozilla.com/D77634
2020-07-01 17:09:53 +00:00
Jon Bauman a415128250 Bug 1649312 - No derogatory language: Remove references to grandfather in comments r=njn,zbraniecki,keeler,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D81628
2020-07-01 15:23:26 +00:00
André Bargull 1f92968bc6 Bug 1496584 - Part 2: Include previously disabled date-interval formatters. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D79318
2020-07-01 11:19:52 +00:00
Simon Giesecke 9364b353d4 Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80631
2020-07-01 08:42:31 +00:00
Simon Giesecke cd8b8939b9 Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Jonathan Kew 66966abc6b Bug 1647377 - Provide basic line-breaking support for Tibetan on Android by treating TSHEG like a hyphen. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D81441
2020-06-30 07:27:00 +00:00
Aaron Klotz 4fe8e48486 Bug 1648631: Part 4 - Update docs to reflect L10nRegistry interface change; r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D81392
2020-06-26 21:04:44 +00:00
Aaron Klotz 5338289548 Bug 1648631: Part 3 - Update tests to work with the revised L10nRegistry API; r=zbraniecki,robwu
Depends on D81390

Differential Revision: https://phabricator.services.mozilla.com/D81391
2020-06-26 20:27:57 +00:00
Aaron Klotz 391ecb8515 Bug 1648631: Part 1 - Make L10nRegistryService._synchronizeSharedData() explicitly flush and convert source registration to accept arrays; r=zbraniecki
Setting a key/value pair on the parent process message manager's `sharedData`
initiates a pending runnable that runs at **idle priority**. If the current
thread never gets a chance to idle, then those registry changes will never be
synchronized.

This patch adds an explicit flush so that `_synchronizeSharedData` does indeed
actually synchronize.

We replace the scalar `registerSource`, `updateSource`, and `removeSource` with
variants that accept arrays instead. This allows us to process multiple
registration changes while deferring the synchronization until the entire list
has been processed. The scalar variants were removed to future-proof against
perf issues.

Differential Revision: https://phabricator.services.mozilla.com/D81243
2020-06-26 21:04:21 +00:00
Emilio Cobos Álvarez 7c995807da Bug 1646936 - Generate a single metadata file in the objdir, and feed it to cbindgen. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D80360
2020-06-26 10:41:26 +00:00
Coroiu Cristina 302c2fa31a Backed out changeset 8f948dd74aba (bug 1646936) for SM and Toolchain failures on a CLOSED TREE 2020-06-26 13:08:09 +03:00
Emilio Cobos Álvarez 9c7c03bf30 Bug 1646936 - Generate a single metadata file in the objdir, and feed it to cbindgen. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D80360
2020-06-26 09:37:16 +00:00
Ricky Stewart 0ba6a8762d Bug 1645779 - Make icu_sources_data.py Python 3-compliant r=jwalden,anba
This removes a dependency on `pymake`, which is Python 2-only, and thoroughly unnecessary since we just use it to find assignments of the form `OBJECTS = ...`. We can replicate this logic by just isolating lines that begin with that literal string, and everything else can stay the same. This is definitionally more brittle than actually using a parser, but it works fine for now, and the original implementation wasn't significantly better (it didn't handle any form of dynamism, anything more complicated than a single unconditional assignment with a space-separated list of literal strings representing outputs, etc.)

Differential Revision: https://phabricator.services.mozilla.com/D79896
2020-06-18 21:01:49 +00:00
Sylvestre Ledru 4b7c742212 Bug 1646405 - update the code using pyyaml to use the new path r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D80025
2020-06-18 19:40:28 +00:00
André Bargull 3a33d76bdf Bug 1642934: Automatically determine current CLDR version when updating langtags. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D78021
2020-06-12 11:19:50 +00:00
André Bargull 3d23887ba7 Bug 1636984 - Part 2: Reimport ICU to generate the data file. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D74682
2020-06-12 12:50:04 +00:00
André Bargull 0b50093518 Bug 1636984 - Part 1: Add patches to workaround ICU/CLDR issues with display names and append items. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D74681
2020-06-12 12:47:43 +00:00
Zibi Braniecki 1722cb0755 Bug 1645045 - Don`t assume the last fallback is the last locale in gtest. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D79313
2020-06-11 18:40:35 +00:00
Dave Townsend 155fe87ea2 Bug 1642423: document.l10n.formatValues should accept simple strings as well as L10nKeys. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D77857
2020-06-08 18:11:00 +00:00
Butkovits Atila a561ed634b Backed out changeset 3b5928fd85e5 (bug 1642423) for causing failure at test_getAttributes.html. CLOSED TREE 2020-06-06 00:32:42 +03:00
Dave Townsend 67bca5c4f4 Bug 1642423: document.l10n.formatValues should accept simple strings as well as L10nKeys. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D77857
2020-06-05 19:57:05 +00:00
Zibi Braniecki 065441a790 Bug 1631593 - Lazify JSM initialization. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71834
2020-06-04 17:02:01 +00:00
Zibi Braniecki 79c24a615e Bug 1631593 - Cache bundles in Localization C++. r=jfkthame,smaug
Differential Revision: https://phabricator.services.mozilla.com/D71815
2020-05-31 07:12:31 +00:00
Zibi Braniecki 12279c73a3 Bug 1631593 - Move generateBundles to be stored on Localization C++. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71814
2020-05-31 07:12:33 +00:00
Zibi Braniecki df730b0525 Bug 1631593 - Move aIsSync to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71679
2020-05-31 07:12:35 +00:00
Zibi Braniecki 099f8774bd Bug 1631593 - Move resourceIds to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71677
2020-05-31 07:12:38 +00:00
Zibi Braniecki d8983ea51c Bug 1631593 - Remove unused observers from JSM. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D71676
2020-05-31 07:12:40 +00:00
Jeff Walden 5104a36433 Bug 1642505 - Add an ICU README file describing what ICU does, how to use it, and how to use and update Gecko's imported copy of it. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D77719
2020-06-03 17:49:26 +00:00
Jonathan Kew 1cd6eafa23 Bug 1640408 - Check Unicode general category to identify punctuation marks in word-breaker. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D77655
2020-06-03 15:24:29 +00:00
Sylvestre Ledru 7de68c2cea Bug 1642898 - Remove most of the references of black/whitelist within the doc r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D78000
2020-06-03 09:34:12 +00:00
Jeff Walden e637e26a50 Bug 1642176 - Make intl/icu_sources_data.py itself Python 3-compatible. (Its dependencies, however, remain not fully Python 3-compatible.) r=anba
Differential Revision: https://phabricator.services.mozilla.com/D77605
2020-06-02 20:26:38 +00:00
Jeff Walden a297854ec6 Bug 1642176 - Hard-code python2 into update-icu.sh to run icu_sources_data.py, because it doesn't fully work with Python 3 yet. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D77604
2020-06-02 20:14:10 +00:00
bharath bmsce 498fc0d0dc Bug 1626761 - Fixing readability-else-after-return bug, found by clang-tidy. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D77591
2020-06-01 11:48:19 +00:00
Razvan Maries 5e4d4827aa Backed out 6 changesets (bug 1631593) for perma failures on browser_aboutCertError_exception. CLOSED TREE
Backed out changeset f176af77900a (bug 1631593)
Backed out changeset 74b6fa2a1409 (bug 1631593)
Backed out changeset 7fbc8e2c4a4a (bug 1631593)
Backed out changeset 77ff0aee23f6 (bug 1631593)
Backed out changeset 90bde53721ac (bug 1631593)
Backed out changeset ea777b1a9380 (bug 1631593)
2020-05-31 09:58:41 +03:00
Zibi Braniecki f549a16cc7 Bug 1631593 - Lazify JSM initialization. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71834
2020-05-30 09:37:15 +00:00
Zibi Braniecki 2a163b0aca Bug 1631593 - Cache bundles in Localization C++. r=jfkthame,smaug
Differential Revision: https://phabricator.services.mozilla.com/D71815
2020-05-30 09:37:02 +00:00
Zibi Braniecki b99acebc08 Bug 1631593 - Move generateBundles to be stored on Localization C++. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71814
2020-05-30 09:36:50 +00:00
Zibi Braniecki 780f61eb15 Bug 1631593 - Move aIsSync to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71679
2020-05-30 09:36:37 +00:00
Zibi Braniecki b7cc044565 Bug 1631593 - Move resourceIds to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71677
2020-05-30 09:36:25 +00:00
Zibi Braniecki 8c851dc5cb Bug 1631593 - Remove unused observers from JSM. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D71676
2020-05-30 09:36:17 +00:00
Emilio Cobos Álvarez 54fd961a29 Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin
There's no use case for stateful comparators, so they can be just plain
function pointers.

This is used in some hot places like CSS selector matching.

Differential Revision: https://phabricator.services.mozilla.com/D77084
2020-05-27 18:11:12 +00:00
Jonathan Kew 9a57c26cee Bug 1616379 - Weaken the MOZ_ASSERT on failing to load a hyphenation resource to an NS_ASSERTION. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D76110
2020-05-20 12:01:50 +00:00
Dorel Luca 134e648c76 Backed out 6 changesets (bug 1631593) for Assertion failure in xpcom/base/nsCycleCollector.cpp. CLOSED TREE
Backed out changeset 35b4cd4bb12a (bug 1631593)
Backed out changeset a20b9fb485fc (bug 1631593)
Backed out changeset 8ade55be1042 (bug 1631593)
Backed out changeset ee3255e55ab3 (bug 1631593)
Backed out changeset 7d5a3d1035dc (bug 1631593)
Backed out changeset 90972e768c33 (bug 1631593)
2020-05-19 20:02:59 +03:00
Zibi Braniecki 3e0c621a68 Bug 1631593 - Lazify JSM initialization. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71834
2020-05-19 16:28:28 +00:00
Zibi Braniecki a621e98eac Bug 1631593 - Cache bundles in Localization C++. r=jfkthame,smaug
Differential Revision: https://phabricator.services.mozilla.com/D71815
2020-05-19 16:28:13 +00:00
Zibi Braniecki 907ab624b4 Bug 1631593 - Move generateBundles to be stored on Localization C++. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71814
2020-05-19 16:28:05 +00:00
Zibi Braniecki f6d6adc6b3 Bug 1631593 - Move aIsSync to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71679
2020-05-19 16:27:58 +00:00
Zibi Braniecki 1b6968ba58 Bug 1631593 - Move resourceIds to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71677
2020-05-19 16:30:42 +00:00
Zibi Braniecki e014d9fa76 Bug 1631593 - Remove unused observers from JSM. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D71676
2020-05-19 16:27:36 +00:00
André Bargull b029ce9ac8 Bug 1557727 - Part 1: Add resources for Intl.DisplayNames to ICU data file. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D52163
2020-05-19 11:17:21 +00:00
Aaron Klotz 87ce5afbf3 Bug 1637452: Part 16 - Fix JNI includes in intl; r=zbraniecki
In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.

Differential Revision: https://phabricator.services.mozilla.com/D75379
2020-05-15 17:06:15 +00:00
Stas Malolepszy dd59a74cce Bug 1637254 - Update docs about fluent.migrate 0.9. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D75108
2020-05-14 06:30:05 +00:00
Nathan Froyd d196dbda07 Bug 1636571 - use GeneratedFile template in intl/; r=firefox-build-system-reviewers,rstewart
The template is slightly nicer and slightly more modern.

Differential Revision: https://phabricator.services.mozilla.com/D74461
2020-05-08 20:36:10 +00:00
André Bargull 57a5eb29e7 Bug 1632434 - Part 1: Update in-tree ICU to release 67.1. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D72908
2020-04-29 23:47:31 +00:00
Simon Giesecke 844c8bce2a Bug 1626570 - Improve handling of copying arrays in intl/. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D72350
2020-05-05 10:42:23 +00:00
Razvan Maries c2b627950c Backed out 10 changesets (bug 1626570) for build bustages. CLOSED TREE
Backed out changeset a3f17d392234 (bug 1626570)
Backed out changeset 5247e1ddd5d6 (bug 1626570)
Backed out changeset c339fd44c9f8 (bug 1626570)
Backed out changeset 4c69a4c013b3 (bug 1626570)
Backed out changeset e85450d69351 (bug 1626570)
Backed out changeset 793f978248b3 (bug 1626570)
Backed out changeset 68b4c2418d83 (bug 1626570)
Backed out changeset 52d0911d4ad3 (bug 1626570)
Backed out changeset a7d4e3a59ee3 (bug 1626570)
Backed out changeset 6c06d397a5d2 (bug 1626570)
2020-05-05 13:37:08 +03:00
Simon Giesecke ce0c1f66e6 Bug 1626570 - Improve handling of copying arrays in intl/. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D72350
2020-05-05 09:46:19 +00:00
Zibi Braniecki fe12cd1036 Bug 1627809 - Add Localization::AddResourceId and Localization::RemoveResourceId for DOM to use. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D70975
2020-04-30 17:56:24 +00:00
Zibi Braniecki 1427870732 Bug 1627809 - Move Localization.jsm construction to Localization constructor. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D70973
2020-04-30 18:22:38 +00:00
Zibi Braniecki 9211c5cc8a Bug 1627809 - Remove unncessary eager attribute from Localization API. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D70972
2020-04-30 17:55:38 +00:00
Emilio Cobos Álvarez d55b448a0c Bug 1633675 - Avoid various string copies in FluentBundle constructor. r=zbraniecki
We were copying the string in C++, then again in Rust...

Differential Revision: https://phabricator.services.mozilla.com/D73034
2020-04-29 20:11:30 +00:00
André Bargull 1265aecea0 Bug 1633331: Update tzdata in ICU data files to 2020a. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D72588
2020-04-28 08:47:11 +00:00
Simon Giesecke 191a830575 Bug 1628715 - Part 7: Add MOZ_NONNULL_RETURN to infallible nsTArray::AppendElements. r=xpcom-reviewers,necko-reviewers,nika,valentin
Differential Revision: https://phabricator.services.mozilla.com/D70831
2020-04-24 13:31:14 +00:00
Jonathan Kew 3751d26654 Bug 425915 - Use complex line breaker to identify word boundaries in SEAsian languages without interword spaces. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D71206
2020-04-23 14:18:08 +00:00
Jonathan Kew db407a2c45 Bug 1618034 - Strip private subtags in nsLanguageAtomService::GetUncachedLanguageGroup so that we can parse the standard subtags and use the proper font prefs. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D72050
2020-04-23 10:04:18 +00:00
MHD d93413f35e Bug 1629435 - Using bool literals instead of integer literals. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D70825

--HG--
extra : moz-landing-system : lando
2020-04-14 15:17:44 +00:00
Sylvestre Ledru 51ca3d607b no bug - lint doc: Update some old links r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D70576

--HG--
extra : moz-landing-system : lando
2020-04-13 19:48:48 +00:00
Zibi Braniecki cd914eae85 Bug 1621674 - Settle on returning null for missing values/messages out of Localization. r=smaug,stas
Differential Revision: https://phabricator.services.mozilla.com/D70250

--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:58 +00:00
Zibi Braniecki a7712e985a Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D66549

--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:58 +00:00
Zibi Braniecki fcdb32de94 Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66531

--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:03 +00:00
Stefan Hindli 37b364e264 Backed out 3 changesets (bug 1621674) for causing xpcshell permafailures in browser/extensions/formautofill/test/unit/test_createRecords.js CLOSED TREE
Backed out changeset f45de944f20a (bug 1621674)
Backed out changeset 0b2fdf331bce (bug 1621674)
Backed out changeset 2f7e9c807020 (bug 1621674)
2020-04-08 00:49:16 +03:00
Zibi Braniecki 2f35997cd0 Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D66549

--HG--
extra : moz-landing-system : lando
2020-04-07 20:12:21 +00:00
Zibi Braniecki 7510f5c207 Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66531

--HG--
extra : moz-landing-system : lando
2020-04-07 18:03:46 +00:00
Razvan Maries 24116686ba Backed out 3 changesets (bug 1621674) for newtab perma failures. CLOSED TREE
Backed out changeset f197d83fd8a1 (bug 1621674)
Backed out changeset 939beec809c1 (bug 1621674)
Backed out changeset a657cda5467e (bug 1621674)
2020-04-07 21:00:15 +03:00
Zibi Braniecki 401872b352 Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D66549

--HG--
extra : moz-landing-system : lando
2020-04-07 16:28:23 +00:00
Zibi Braniecki 804246b7c6 Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66531

--HG--
extra : moz-landing-system : lando
2020-04-07 16:28:12 +00:00
Jonathan Kew aceaf80ca1 Bug 1595428 - Allow potential line-break after fullwidth comma and period. r=m_kato
(Also fixes the handling of FULLWIDTH OPEN/CLOSE WHITE PARENTHESIS, which do not
map directly to ASCII counterparts.)

Differential Revision: https://phabricator.services.mozilla.com/D69646

--HG--
extra : moz-landing-system : lando
2020-04-07 01:01:58 +00:00
Eric Rahm 832dbc65d1 Bug 1626454 - Remove nsAutoPtr usage from intl/uconv/. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D69125

--HG--
extra : moz-landing-system : lando
2020-04-03 21:05:34 +00:00
sonakshi a6f08454e0 Bug 1622619 - Replace URIParams with nsIURI in PContent.ipdl r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67729

--HG--
extra : moz-landing-system : lando
2020-03-31 18:47:30 +00:00
Razvan Maries 40412d7928 Backed out changeset 2515c5b5a0d2 (bug 1622619) for build bustages. CLOSED TREE 2020-03-31 17:18:38 +03:00
sonakshi fc4a38cd03 Bug 1622619 - Replace URIParams with nsIURI in PContent.ipdl r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67729

--HG--
extra : moz-landing-system : lando
2020-03-31 13:38:55 +00:00
Jonathan Kew 4a5876c846 Bug 1624244 - Exclude Japanese characters KATAKANA-HIRAGANA [SEMI-]VOICED SOUND MARK from the diacritics that can be ignored during search. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D67834

--HG--
extra : moz-landing-system : lando
2020-03-30 13:53:20 +00:00
Sylvestre Ledru 504c3243d5 Bug 1617369 - Reformat intl/l10n/rust/fluent-ffi/ using rustfmt r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D68019

--HG--
extra : moz-landing-system : lando
2020-03-24 16:45:42 +00:00
Alex Henrie 0c84c81f97 Bug 812837 - Define the folded case of Turkish variants of "I" to be simply "i". r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D67092

--HG--
extra : moz-landing-system : lando
2020-03-23 16:57:08 +00:00
Zibi Braniecki 626c2efa7d Bug 1623778 - Improve error reporting for AddResource. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D67695

--HG--
extra : moz-landing-system : lando
2020-03-21 04:05:33 +00:00
Mihai Alexandru Michis 63f586a915 Backed out changeset 41722eea7dd5 (bug 1623778) for causing failures in l10n/test/mochitest/localization/test_format
CLOSED TREE
2020-03-21 04:28:33 +02:00
Zibi Braniecki 7f4b927d9e Bug 1623778 - Improve error reporting for AddResource. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D67695

--HG--
extra : moz-landing-system : lando
2020-03-21 01:13:28 +00:00
Simon Giesecke 7e9a7de895 Bug 1620632 - Rename confusingly named types/macros for relocation handling of nsTArray. r=froydnj
Specifically, this renames
* nsTArray_CopyChooser to nsTArray_RelocationStrategy
* the Copy template argument of nsTArray_base to RelocationStrategy
* nsTArray_CopyWithConstructors to nsTArray_RelocateUsingMoveConstructor
* nsTArray_CopyWithMemutils to nsTArray_RelocateUsingMemutils
* DECLARE_USE_COPY_CONSTRUCTORS to MOZ_DECLARE_RELOCATE_USING_MOVE_CONSTRUCTOR

Differential Revision: https://phabricator.services.mozilla.com/D66243

--HG--
extra : moz-landing-system : lando
2020-03-20 17:04:27 +00:00
Masatoshi Kimura 3df19bc1d4 Bug 1623222 - Remove the charset parameter from nsITextToSubURI::UnEscapeURIForUI. r=hsivonen
Only 3 callers are using a non-UTF-8 charset as the first parameter.
* MediaDocument.cpp: This does not make sense because the "filename" part of
  URLs will always be encoded with UTF-8.
* nsContextMenu.js: This is wrong because "mailto:" URLs don't care about the
  document charset.
* Finder.jsm: This caused bug 1623222.

Differential Revision: https://phabricator.services.mozilla.com/D67386

--HG--
extra : moz-landing-system : lando
2020-03-19 10:45:28 +00:00
André Bargull 55764bc9be Bug 1610512 - Part 4: Update Gecko to Unicode 13. r=jfkthame
Add generated files to "Generated.txt" to exclude them from being linted to
avoid a "trailing whitespace" error in a comment copied over from the original
Unicode files.

Depends on D66557

Differential Revision: https://phabricator.services.mozilla.com/D66558

--HG--
extra : moz-landing-system : lando
2020-03-17 14:09:20 +00:00
André Bargull 5020091e8c Bug 1610512 - Part 1: Update in-tree ICU to release 66.1. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66555

--HG--
extra : moz-landing-system : lando
2020-03-19 01:09:56 +00:00
Sylvestre Ledru c5ea8090c4 Bug 1622328 - L10nRegistry.jsm: Add the license r=fluent-reviewers,zbraniecki
Depends on D66807

Differential Revision: https://phabricator.services.mozilla.com/D66808

--HG--
extra : moz-landing-system : lando
2020-03-13 19:10:53 +00:00
Zibi Braniecki 3fa4afd67f Bug 1621024 - Skip reporting errors if the file is not found in the L10nRegistry.loadSync. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D66538

--HG--
extra : moz-landing-system : lando
2020-03-16 15:49:58 +00:00
Zibi Braniecki 3f8c67d7fd Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Zibi Braniecki e137e48a88 Bug 1560038 - Use i64 for storing epoch instead of usize. r=emilio
epoch is stored as double in ICU. Storing it as usize caused overflow on 32-bit Windows 7
which resulted in dates being formatted to epoch=0.
This patch switches to use f64 on the Rust side.

Depends on D66504

Differential Revision: https://phabricator.services.mozilla.com/D66872

--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Zibi Braniecki ea853ecb4b Bug 1560038 - Align FluentDateTime skeleton construction with Intl.DateTimeFormat. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D66504

--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Razvan Maries a34f5e0ded Backed out 2 changesets (bug 1560038) for perma failures on browser_application_panel_list-single-worker.js. CLOSED TREE
Backed out changeset 7cd88f40fc85 (bug 1560038)
Backed out changeset 54dbe282c9ac (bug 1560038)
2020-03-14 00:43:41 +02:00
Zibi Braniecki 44eca5f333 Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-11 23:29:05 +00:00
Zibi Braniecki 8334ed0644 Bug 1560038 - Align FluentDateTime skeleton construction with Intl.DateTimeFormat. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D66504

--HG--
extra : moz-landing-system : lando
2020-03-13 19:02:21 +00:00
Mihai Alexandru Michis a3ed8c38b3 Backed out changeset 396cfd215808 (bug 1560038) for causing dt failures in browser_application_panel_list-single-worker.js
CLOSED TREE
2020-03-12 00:32:24 +02:00
Zibi Braniecki 7c466415ee Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:07 +00:00
Zibi Braniecki 97c1c396b4 Bug 1560038 - Add FluentDateTime. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61048

--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:07 +00:00
Zibi Braniecki 18b3cdb6e8 Bug 1560038 - Add NumberFormat bindgen for Fluent. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57402

--HG--
extra : moz-landing-system : lando
2020-03-11 15:38:12 +00:00
Zibi Braniecki 4cf04c19e6 Bug 1560038 - Add FluentBundle. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54325

--HG--
extra : moz-landing-system : lando
2020-03-11 15:37:39 +00:00
Zibi Braniecki 312c9d7359 Bug 1560038 - Add FluentMessage and FluentPattern. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54324

--HG--
extra : moz-landing-system : lando
2020-03-11 15:36:56 +00:00
Zibi Braniecki 51c9856f7e Bug 1560038 - Add FluentResource. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54323

--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:33 +00:00
Zibi Braniecki 275c56f717 Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58858

--HG--
extra : moz-landing-system : lando
2020-03-11 07:17:07 +00:00
Zibi Braniecki be99e44ab9 Bug 1560038 - Fix tests in preparation for the swap to fluent-rs. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D57401

--HG--
extra : moz-landing-system : lando
2020-03-11 04:29:26 +00:00
Daniel Varga a2cbf61a81 Backed out 9 changesets (bug 1560038) for causing build bustage
CLOSED TREE

Backed out changeset 12069dae9b8d (bug 1560038)
Backed out changeset a0845cf79487 (bug 1560038)
Backed out changeset dc2406d01a63 (bug 1560038)
Backed out changeset 1b11616a5ee5 (bug 1560038)
Backed out changeset 06cdc27a39a7 (bug 1560038)
Backed out changeset a390456d9d26 (bug 1560038)
Backed out changeset 7e3d839a3e9d (bug 1560038)
Backed out changeset 0678db762fed (bug 1560038)
Backed out changeset 3b9b16532bf3 (bug 1560038)
2020-03-11 04:53:10 +02:00
Zibi Braniecki 4d2733ee86 Bug 1560038 - Switch uses of FluentBundle to use fluent-rs.
Differential Revision: https://phabricator.services.mozilla.com/D57403

Depends on D61048

--HG--
extra : rebase_source : 0be62fa98f0a91274c96a509eeafceb6da667894
2020-03-10 20:03:59 +02:00
Zibi Braniecki aeceebc56b Bug 1560038 - Add FluentDateTime.
Differential Revision: https://phabricator.services.mozilla.com/D61048

Depends on D57402

--HG--
extra : rebase_source : 5c400a6d96622aa4249eb4df6d6350298d692993
2020-03-10 20:03:59 +02:00
Zibi Braniecki f3fb7c3716 Bug 1560038 - Add NumberFormat bindgen for Fluent.
Differential Revision: https://phabricator.services.mozilla.com/D57402

Depends on D54325

--HG--
extra : rebase_source : aa280aafee4f860bc597e43da29e9baff660e7bb
2020-03-10 20:30:09 +02:00
Zibi Braniecki 0114269ceb Bug 1560038 - Add FluentBundle.
Differential Revision: https://phabricator.services.mozilla.com/D54325

Depends on D54324

--HG--
extra : rebase_source : 1e5118fcdaba1121b775c9afdee8264212c3a5e3
2020-03-10 14:16:07 +02:00
Zibi Braniecki 3d02e9e6cf Bug 1560038 - Add FluentMessage and FluentPattern.
Differential Revision: https://phabricator.services.mozilla.com/D54324

Depends on D54323

--HG--
extra : rebase_source : 24e514ce2b188735a869584e140bc8334d4ab5a6
2020-03-10 14:15:33 +02:00
Zibi Braniecki 8b91a599a2 Bug 1560038 - Add FluentResource.
Differential Revision: https://phabricator.services.mozilla.com/D54323

Depends on D56641

--HG--
extra : rebase_source : 1087ad4b1f401d942f3be65a1a215b0ef7d1a10e
2020-03-10 20:05:06 +02:00
Zibi Braniecki 42a7b711f8 Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs
Differential Revision: https://phabricator.services.mozilla.com/D58858

Depends on D57401

--HG--
extra : rebase_source : 83e372046314c15b34b96ae354838910fd3f17f5
2020-03-10 20:04:55 +02:00
Zibi Braniecki cd3c354a56 Bug 1560038 - Fix tests in preparation for the swap to fluent-rs.
Differential Revision: https://phabricator.services.mozilla.com/D57401

--HG--
extra : rebase_source : aa3cff839e85e22e26209e89126d0af01c3ff5c5
2020-03-10 14:11:03 +02:00
Daniel Varga 22ab1c2ce6 Backed out 9 changesets (bug 1560038) for causing build bustages.
CLOSED TREE

Backed out changeset 350df98095f8 (bug 1560038)
Backed out changeset 56dd15fbeced (bug 1560038)
Backed out changeset 570aa7aaceb5 (bug 1560038)
Backed out changeset fc4da4a1c192 (bug 1560038)
Backed out changeset 7c69b0e5fd93 (bug 1560038)
Backed out changeset 1caf41590caf (bug 1560038)
Backed out changeset b4bf28bec6a8 (bug 1560038)
Backed out changeset e923de659c2b (bug 1560038)
Backed out changeset 7f1be4424898 (bug 1560038)
2020-03-10 22:22:40 +02:00
Zibi Braniecki e61d360bfc Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-10 18:03:59 +00:00
Zibi Braniecki b0cb42b186 Bug 1560038 - Add FluentDateTime. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61048

--HG--
extra : moz-landing-system : lando
2020-03-10 18:03:59 +00:00
Zibi Braniecki 9f8601dc40 Bug 1560038 - Add NumberFormat bindgen for Fluent. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57402

--HG--
extra : moz-landing-system : lando
2020-03-10 18:30:09 +00:00
Zibi Braniecki fed784dcef Bug 1560038 - Add FluentBundle. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54325

--HG--
extra : moz-landing-system : lando
2020-03-10 12:16:07 +00:00
Zibi Braniecki 9cffa798e1 Bug 1560038 - Add FluentMessage and FluentPattern. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54324

--HG--
extra : moz-landing-system : lando
2020-03-10 12:15:33 +00:00
Zibi Braniecki 288da34db6 Bug 1560038 - Add FluentResource. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54323

--HG--
extra : moz-landing-system : lando
2020-03-10 18:05:06 +00:00
Zibi Braniecki 603fc09fd5 Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58858

--HG--
extra : moz-landing-system : lando
2020-03-10 18:04:55 +00:00
Zibi Braniecki ee47c3b078 Bug 1560038 - Fix tests in preparation for the swap to fluent-rs. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D57401

--HG--
extra : moz-landing-system : lando
2020-03-10 12:11:03 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Simon Giesecke 65378eb4e0 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in intl. r=hsivonen
Depends on D65290

Differential Revision: https://phabricator.services.mozilla.com/D65291

--HG--
extra : moz-landing-system : lando
2020-03-04 09:11:10 +00:00
Sylvestre Ledru 82b428a40f Bug 1617369 - Reformat intl/ using rustfmt r=zbraniecki,hsivonen
Depends on D64875

Differential Revision: https://phabricator.services.mozilla.com/D64876

--HG--
extra : moz-landing-system : lando
2020-03-03 08:21:47 +00:00
Mike Shal bdf30a6e22 Bug 1618620 - Convert props2arrays.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D64622

--HG--
extra : moz-landing-system : lando
2020-02-28 00:28:24 +00:00
Tooru Fujisawa 9939f785e0 Bug 1612515 - Part 4: Move RunCBindgen.py to /build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D64541

--HG--
rename : layout/style/RunCbindgen.py => build/RunCbindgen.py
extra : moz-landing-system : lando
2020-02-28 14:07:15 +00:00
Kris Maglione c31aa68fb4 Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8
This covers most cycle collected objects which support weak references, but
not the ones which inherit from a cycle collected class and don't do any cycle
collection on their own.

Differential Revision: https://phabricator.services.mozilla.com/D63962

--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:39 +00:00