Jonathan Kew
4e5cb484ab
Bug 1404666 - patch 2 - Accelerate DateTimeFormat::FormatUDateTime by caching ICU UDateFormat objects instead of creating them afresh every time. r=gandalf
2018-12-18 11:42:04 +00:00
Jonathan Kew
572203b489
Bug 1404666 - patch 1 - Accelerate OSPreferences::GetDateTimePattern by caching patterns found for particular style/locale combinations. r=gandalf
2018-12-18 11:42:00 +00:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Gabriele Svelto
19e52bebd4
Bug 1510582 - Remove useless inclusions of Services.h r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D13240
--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Jonathan Kew
ed09f75270
Bug 1509849 - Revert the followup from bug 1503157 now that an empty locale string is handled properly by the Locale constructor. r=gandalf
2018-11-26 19:25:28 +00:00
Jonathan Kew
eaf1e90086
Bug 1509849 - Treat an empty string as non-wellformed when creating Locale, but don't throw an assertion. r=gandalf
2018-11-26 19:25:11 +00:00
Jonathan Kew
7d7d23522d
Bug 1503157 followup - don't attempt to create a Locale from an empty lang string. r=me to fix crashtest on a CLOSED TREE
2018-11-26 12:30:53 +00:00
Jonathan Kew
cb635a58c8
Bug 1503157 - Make selection of font preferences respect a script subtag in the lang attribute, if present. r=m_kato
2018-11-26 11:31:37 +00:00
Magnus Melin
5e1f20c4d2
Bug 1507907 - null check result of CFDateFormatterCreate. r=gandalf
2018-11-19 21:55:32 +02:00
Cameron McCormack
4f45ef2141
Bug 1498755 - Part 3: Merge AssertIsMainThreadOrServo{FontMetrics,LangFontPrefsCache}Locked r=emilio
...
Depends on D8644
Differential Revision: https://phabricator.services.mozilla.com/D8645
--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:50 +00:00
Zibi Braniecki
70411b2b33
Bug 1493625 - Make LocaleService::IsAppLocaleRTL react to pseudo. r=flod,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D6689
--HG--
extra : moz-landing-system : lando
2018-09-25 16:48:16 +00:00
Zibi Braniecki
c2634d4438
Bug 1493220 - Migrate mozIOSPreferences to use Array<> interface. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D6524
--HG--
extra : moz-landing-system : lando
2018-09-22 07:49:05 +00:00
Zibi Braniecki
8fdbb6d26b
Bug 1491394 - Migrate mozILocaleService to use Array<> interface. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D5924
--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:24 +00:00
Zibi Braniecki
7775d0c9c9
Bug 1491654 - Add lastFallbackLocale at the end of AppLocales. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D5985
--HG--
extra : moz-landing-system : lando
2018-09-18 08:44:47 +00:00
Zibi Braniecki
3a3372304e
Bug 1491209 - Do not inject last fallback locale into requested locales. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D5839
--HG--
extra : moz-landing-system : lando
2018-09-14 10:15:40 +00:00
Sylvestre Ledru
aa37bde79b
Bug 1489454 - Remove all trailing whitespaces (again) r=Ehsan
...
This also includes moving some files to the regular format.
Differential Revision: https://phabricator.services.mozilla.com/D5249
--HG--
extra : moz-landing-system : lando
2018-09-07 14:47:51 +00:00
Ehsan Akhgari
e85d8f7ebd
Bug 1489018 - Remove the XPCOM component registration for nsCollation; r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D5110
2018-09-06 10:07:12 -04:00
Zibi Braniecki
e689296a8d
Bug 1465042 - Rename Locale::IsValid to ::IsWellFormed. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D4025
--HG--
extra : moz-landing-system : lando
2018-08-23 18:21:38 +00:00
Zibi Braniecki
a0c2cfd168
Bug 1479606 - Sync BCP47 language tags between processes, not lang tags. r=jfkthame
...
Sync BCP47 language tags between processes, not lang tags.
Differential Revision: https://phabricator.services.mozilla.com/D2579
--HG--
extra : moz-landing-system : lando
2018-07-31 21:42:37 +00:00
Sylvestre Ledru
91907444b3
Bug 1468273 - Fix flake8/pep8 in intl/ r=froydnj
...
MozReview-Commit-ID: IDqjd7nBRS
--HG--
extra : rebase_source : 1679528701e0cab59fb827224f19eced9c8fda00
2018-06-10 14:25:47 +02:00
Makoto Kato
128531b424
Bug 1434805 - Use LocaleList on Android N+. r=jchen
...
Android N+ has new Locale mode that selects multiple locale for font selection.
We should support it to be better locale system selection.
MozReview-Commit-ID: HndldWO5yOd
--HG--
extra : rebase_source : b07608b7c51ae530ccb80f79e24aee6eface4712
2018-06-08 17:35:43 +09:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Zibi Braniecki
81ade958bc
Bug 1438687 - Document mozilla::intl::Locale. r=jfkthame,Pike
...
MozReview-Commit-ID: BzGKIfzR63
--HG--
extra : rebase_source : ecb85fd784636ad19ce9a62368c46747cebe0f10
2018-04-26 14:18:08 -07:00
Francesco Lodolo (:flod)
34c68c67c3
Bug 1454573 - Update languageNames.properties with missing locales: crh, mai, meh, mix r=m_kato
...
Also add missing locales to langGroups.properties (an, ast, az, uz) and language.properties (son)
MozReview-Commit-ID: 2dAOly4wxHm
--HG--
extra : rebase_source : 60adf737549f8bcd30bde205c82aa5d783c867d2
2018-04-19 11:50:19 +02:00
Zibi Braniecki
4d776835e7
Bug 1450656 - Canonicalize ja-JP-mac to ja-JP-macos and use BCP47 version in Fluent. r=jfkthame
...
MozReview-Commit-ID: 2UbD2T8yyGm
--HG--
extra : rebase_source : 1e9f9c4ab8c97240edb3eb8e2e9d611fff907d7f
2018-04-10 14:19:05 -07:00
Henri Sivonen
66f351684b
Bug 1448786 - Avoid UTF8ToUnicodeBuffer in OSPreferences_win.cpp. r=gandalf
...
MozReview-Commit-ID: 7a11ogGXo8E
--HG--
extra : rebase_source : b07613849ee7739066314b2b66b01078c8a7beec
2018-03-26 15:42:27 +03:00
Zibi Braniecki
afbdd10615
Bug 1448891 - Lowercase private use tags in MozLocale in accordance with BCP47. r=jfkthame
...
MozReview-Commit-ID: 2mpCbJlevu4
--HG--
extra : rebase_source : d0835bbe17a87f511ede57c114cb4015a7c7bc1d
2018-03-27 07:11:27 +02:00
Zibi Braniecki
c1d66520bf
Bug 1447189 - Support BCP47 private use subtags in MozLocale. r=jfkthame
...
MozReview-Commit-ID: LJSb3vTENR5
--HG--
extra : rebase_source : ec7023f3722b1d925a5b3684852331e5a8e7796f
2018-03-22 15:19:15 -07:00
Zibi Braniecki
bb82a08086
Bug 1345957 - Tighten LocaleService::NegotiateLanguages input handling. r=jfkthame
...
MozReview-Commit-ID: 9ZxHI0RpYpi
--HG--
extra : rebase_source : 1db7f4b41f62acfd8e654fa2bdf9bfabb7350f0a
2018-03-06 18:54:57 -08:00
Florian Quèze
c714053d73
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Florian Quèze
682b1ec3b2
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Dorel Luca
6ad641c5c4
Merge mozilla-inboud to mozilla-central. a=merge
2018-02-22 11:59:54 +02:00
Jason Orendorff
a48654929c
Bug 1439665 - Part 1: #include some headers directly in files that use them. r=sfink.
...
"Include what you use."
--HG--
extra : rebase_source : 2239a380029e0efbc9dd3042459222a67c38d70f
extra : amend_source : 4453c32cc469caa592049167205666997f1a1e7b
extra : histedit_source : a533edd4a4d3d0642b08989e93674661d27baa6a%2C37d27eeef9580381ccc0de8507f60166dabf1730
2018-02-20 11:28:12 -06:00
Zibi Braniecki
5849ff1145
Bug 1431260 - Migrate LocaleService::AvailableLocales from ChromeRegistry to multilocale.txt. r=jfkthame
...
MozReview-Commit-ID: 6S4VaAvDako
--HG--
extra : rebase_source : ea6ae09971a7cbf617081836079cb875ffe4cb18
2018-02-13 23:41:39 -08:00
Andrew McCreight
5dec0e0beb
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Jonathan Kew
1640aa8219
Bug 1434169 - Update expectations in test_localeService_negotiateLanguages.js to NOT expect case/underscore normalization. r=gandalf
2018-01-31 20:28:51 +00:00
Jonathan Kew
12930d0cf2
Bug 1434169 - LocaleService::NegotiateLanguages should return locales in exactly the form they were provided in the availableLocales list, not case-normalized. r=gandalf
2018-01-31 20:28:51 +00:00
Kris Maglione
918ed6c474
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178
Backed out 3 changesets (bug 1431533
) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533
)
Backed out changeset 34c999fa006b (bug 1431533
)
Backed out changeset e2674287e57f (bug 1431533
)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
Backed out 2 changesets (bug 1431533
) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533
)
Backed out changeset 12fc4dee861c (bug 1431533
)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Zibi Braniecki
4bdf6bf95e
Bug 1428698 - Align intl::locale::Locale with BCP47. r=jfkthame
...
MozReview-Commit-ID: AT9MPppx99p
--HG--
extra : rebase_source : ef98f45c430822de0eb400d1256d61988e9cc1f9
2018-01-25 14:50:32 -08:00
Dorel Luca
f0dfa23b9e
Backed out changeset 804f26b2c6b8 (bug 1428698) for xpcshell failure on toolkit/mozapps/extensions/test/xpcshell/test_bug397778.js on a CLOSED TREE
...
--HG--
extra : amend_source : 0a86497ef3fed6c36a638ccc640d1eccbe14bce6
2018-01-26 03:43:51 +02:00
Zibi Braniecki
2f307daaf1
Bug 1428698 - Align intl::locale::Locale with BCP47. r=jfkthame
...
MozReview-Commit-ID: AT9MPppx99p
--HG--
extra : rebase_source : 5086b899f50f29785cfa8c07c6df03bc281e8529
2018-01-25 14:50:32 -08:00
Zibi Braniecki
0d01f18858
Bug 1428530 - Separate out mozilla::intl::Locale. r=jfkthame
...
MozReview-Commit-ID: IELFjNCoJEo
--HG--
extra : rebase_source : 305dfb77cfa071c699ab4a9af38f59bb37c94711
2018-01-06 00:23:09 -08:00
Andreea Pavel
9c23902d5f
Backed out changeset 994e33a96d17 (bug 1428530) for build bustage at z:\build\build\src\intl\locale\locale.h on a CLOSED TREE
2018-01-23 20:43:43 +02:00
Zibi Braniecki
9ca3cdc5a5
Bug 1428530 - Separate out mozilla::intl::Locale. r=jfkthame
...
MozReview-Commit-ID: IELFjNCoJEo
--HG--
extra : rebase_source : a735a893e93669af5b91951519ea9dadeb8123ad
2018-01-06 00:23:09 -08:00