Kris Maglione
5ae4ea4f07
Bug 1663747: Part 1 - Fix sCurrentShutdownPhase and add PastShutdownPhase() API. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D89809
2020-09-21 19:18:43 +00:00
Doug Thayer
025f5fb9f0
Bug 1656261 - Back out all recent StartupCache work r=RyanVM
...
This backs out all work from bug 1627075 as well as all of its
descendents. There were a few conflicts when backing this out but
overall it was pretty clean, so I would say it's a fairly mild
level of risk. Historically Nathan Froyd has reviewed these patches,
but he is no longer at Mozilla, and no one else is particularly
familiar with the code, so I am passing this off to RyanVM who has
at least been familiar with the history of the bug.
Differential Revision: https://phabricator.services.mozilla.com/D90096
2020-09-14 17:00:53 +00:00
Alexis Beingessner
e5dd298d13
Bug 1654807 - update thin-vec to 0.2.1 for potential endianess fix. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D87019
2020-09-14 17:32:40 +00:00
Sylvestre Ledru
ba8d39bfb3
Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
...
# ignore-this-changeset
Depends on D89392
Differential Revision: https://phabricator.services.mozilla.com/D89393
2020-09-07 19:57:24 +00:00
Zibi Braniecki
51dd2eebad
Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish
...
Differential Revision: https://phabricator.services.mozilla.com/D88942
2020-09-02 20:06:41 +00:00
Nathan Froyd
cfb8fb313f
Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg
...
This patch was generated by running:
```
perl -p -i \
-e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF8toUTF16\((.*)\);/\1CopyUTF8toUTF16(\3, \2);/;' \
-e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF16toUTF8\((.*)\);/\1CopyUTF16toUTF8(\3, \2);/;' \
$FILE
```
against every .cpp and .h in mozilla-central, and then fixing up the
inevitable errors that happen as a result of matching C++ expressions with
regexes. The errors fell into three categories:
1. Calling the convert functions with `std::string::c_str()`; these were
changed to simply pass the string instead, relying on implicit conversion
to `mozilla::Span`.
2. Calling the convert functions with raw pointers, which is not permitted
with the copy functions; these were changed to invoke `MakeStringSpan` first.
3. Other miscellaneous errors resulting from over-eager regexes and/or the
replacement not being type-aware. These changes were reverted.
Differential Revision: https://phabricator.services.mozilla.com/D88903
2020-09-02 09:54:37 +00:00
Butkovits Atila
c09561678c
Backed out changeset 1ea91616c192 (bug 1662309) for reftest failures. CLOSED TREE
2020-09-01 23:38:36 +03:00
Zibi Braniecki
f8a2cef646
Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish
...
Differential Revision: https://phabricator.services.mozilla.com/D88942
2020-09-01 17:47:26 +00:00
Bogdan Tara
84922363f4
Backed out changeset ad6c81e11152 (bug 1662309) for CheckCapacity assertion failures CLOSED TREE
2020-09-01 09:40:56 +03:00
Zibi Braniecki
f16141c258
Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish
...
Differential Revision: https://phabricator.services.mozilla.com/D88942
2020-09-01 04:15:51 +00:00
Jonathan Kew
3c2cb7fd1a
Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D87304
2020-08-26 09:31:58 +00:00
Mihai Alexandru Michis
b162701621
Backed out changeset 0cad1ef724ee (bug 1371386) for causing failures in emoji-fallback-3.html
...
CLOSED TREE
2020-08-24 21:02:10 +03:00
Jonathan Kew
ba87878325
Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D87304
2020-08-24 14:24:12 +00:00
James Willcox
c5e63477e0
Bug 1656515 - Decompress multilocale.txt if necessary r=dthayer
...
Differential Revision: https://phabricator.services.mozilla.com/D86604
2020-08-14 18:51:13 +00:00
Butkovits Atila
9801725ac6
Backed out changeset c36827e81a7a (bug 1656515) for causing Bug 1659045. CLOSED TREE
2020-08-14 10:23:11 +03:00
James Willcox
3b1e388971
Bug 1656515 - Decompress multilocale.txt if necessary r=dthayer
...
Differential Revision: https://phabricator.services.mozilla.com/D86604
2020-08-13 15:01:42 +00:00
Razvan Maries
656ca00b4c
Backed out changeset 1835ac58c617 (bug 1656515) for multiple perma failures on Linux 18.04 x64 asan. CLOSED TREE
2020-08-11 00:52:58 +03:00
James Willcox
cc22204d9d
Bug 1656515 - Decompress multilocale.txt if necessary r=dthayer
...
Differential Revision: https://phabricator.services.mozilla.com/D86604
2020-08-10 20:44:56 +00:00
Simon Giesecke
1e02318b49
Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D83817
2020-08-07 07:49:47 +00:00
Nika Layzell
f60ca8ca4d
Bug 1656307 - Clean up some do_ImportModule calls with new overload, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D85449
2020-08-04 21:39:52 +00:00
Mike Hommey
bd7b38f8ce
Bug 1654094 - Update ICU care-and-feeding docs for automatic big-endian support. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D85358
2020-07-31 18:58:05 +00:00
Jonathan Kew
1fb489dfe7
Bug 1654470 - Improve font selection heuristics for character sequences that should get emoji-style presentation. r=m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D84703
2020-07-28 07:40:54 +00:00
Mike Hommey
7eb905c213
Bug 1264836 - Automatically convert the little-endian ICU data file for big-endian builds. r=firefox-build-system-reviewers,rstewart
...
Differential Revision: https://phabricator.services.mozilla.com/D83857
2020-07-17 22:25:57 +00:00
Butkovits Atila
1b5a008148
Backed out changeset cfaeba06ee87 (bug 1264836) for bustages at AccessibleRole.h. CLOSED TREE
2020-07-18 02:57:28 +03:00
Mike Hommey
7661e8879a
Bug 1264836 - Automatically convert the little-endian ICU data file for big-endian builds. r=firefox-build-system-reviewers,rstewart
...
Differential Revision: https://phabricator.services.mozilla.com/D83857
2020-07-17 22:25:57 +00:00
Narcis Beleuzu
bef8fd0583
Backed out changeset d3004626988d (bug 1264836) for breaking the Gecko Decision Task. CLOSED TREE
2020-07-18 00:42:05 +03:00
Mike Hommey
f1ffe803dd
Bug 1264836 - Automatically convert the little-endian ICU data file for big-endian builds. r=firefox-build-system-reviewers,rstewart
...
Differential Revision: https://phabricator.services.mozilla.com/D83857
2020-07-17 20:06:42 +00:00
userid007
f84fd23ecb
Bug 1622662
- Remove the } else { after a return to simplify code. r=m_kato
...
As said in llvm coding standard else should not be used after interrupts statements.
It is my first time contribution for open source.
Differential Revision: https://phabricator.services.mozilla.com/D82743
2020-07-09 16:22:24 +00:00
Frederik Braun
a7153982e8
Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Kagami Sascha Rosylight
5052c19940
Bug 1637624 - Part 2: Use StaticPrefs for layout.word_select.* r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D83090
2020-07-10 21:21:30 +00:00
André Bargull
9f3944b5b4
Bug 1645459: Add numbering systems processing to the standard Intl python script. r=jwalden
...
Handle numbering systems similar to measurement units:
- Add a central list of all supported numbering systems in a yaml file.
- Verify these numbering systems are supported by ICU.
- Also verify ICU supports no additional simple numbering systems. (ECMA-402
should support all numbering systems with simple digit mappings defined in
CLDR.)
- Generate source and test files from this list of numbering systems.
Differential Revision: https://phabricator.services.mozilla.com/D81717
2020-07-10 17:19:42 +00:00
Kris Maglione
6a39211860
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 21:42:25 +00:00
Axel Hecht
915204d819
Bug 1649441, remove icu/README.md now that it is in docs, r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D82984
2020-07-09 20:38:57 +00:00
Csoregi Natalia
b355fcc4bf
Backed out 6 changesets (bug 1464542) for xpcshell failures on test_Services.js. CLOSED TREE
...
Backed out changeset b50af9005851 (bug 1464542)
Backed out changeset 9d3a0ea2cf65 (bug 1464542)
Backed out changeset 71c3475fcbc2 (bug 1464542)
Backed out changeset 51ff93220a95 (bug 1464542)
Backed out changeset e84de1547c09 (bug 1464542)
Backed out changeset bbecc16d08eb (bug 1464542)
2020-07-09 23:19:26 +03:00
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