Emilio Cobos Álvarez
d3853cf882
Bug 1675069 - Use nsDependentCSubstring rather than ptr+length in unic-langid-ffi. r=zbraniecki
...
Turns out we have `nsCStr` just for this already. I wrote this to
confirm it works as expected and it does, so...
The code doesn't deal with raw pointers anymore so we can remove the
helpers module and so on.
Differential Revision: https://phabricator.services.mozilla.com/D95866
2020-11-04 16:17:30 +00:00
Zibi Braniecki
dcb4bfbaa7
Bug 1616999 - Rename MozLocale::AddLikelySubtags to Maximize following ECMA402 Intl.Locale convention. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D63561
--HG--
extra : moz-landing-system : lando
2020-02-21 21:03:15 +00:00
Zibi Braniecki
39cfaa9784
Bug 1571915 - Switch MozLocale to use unic-langid. r=emilio,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D49668
--HG--
extra : moz-landing-system : lando
2019-11-19 23:04:06 +00:00
Henri Sivonen
c193518677
Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D43957
--HG--
extra : moz-landing-system : lando
2019-09-18 08:26:34 +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
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
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
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
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
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
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
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