gecko-dev/intl/unicharutil
Zibi Braniecki 3d91da8726 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
..
tables Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
tests Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
tools Bug 1288961 - Update UTR-50 data to version 16, for Unicode 9 support. r=m_kato 2016-11-16 10:04:37 +00:00
util Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
moz.build Bug 728180 - Use ICU normalization functions to implement nsUnicodeNormalizer when ENABLE_INTL_API is defined, in place of our obsolete/unmaintained normalization code. r=emk 2016-09-29 12:27:50 +01:00
normalization_data.h Bug 1038537 - Part 9: Flatten intl/unicharutil/{idl,public,src}/ directories. r=smontagu 2014-07-24 10:56:40 -07:00
nsCaseConversionImp2.cpp Bug 1038537 - Part 9: Flatten intl/unicharutil/{idl,public,src}/ directories. r=smontagu 2014-07-24 10:56:40 -07:00
nsCaseConversionImp2.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsCategoryImp.cpp Bug 1038537 - Part 9: Flatten intl/unicharutil/{idl,public,src}/ directories. r=smontagu 2014-07-24 10:56:40 -07:00
nsCategoryImp.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsEntityConverter.cpp Bug 1003731 - Removal of transliteration. r=hsivonen 2015-04-22 00:21:00 -04:00
nsEntityConverter.h Bug 1003731 - Removal of transliteration. r=hsivonen 2015-04-22 00:21:00 -04:00
nsICaseConversion.h Bug 1038537 - Part 9: Flatten intl/unicharutil/{idl,public,src}/ directories. r=smontagu 2014-07-24 10:56:40 -07:00
nsIEntityConverter.idl Bug 1003731 - Removal of transliteration. r=hsivonen 2015-04-22 00:21:00 -04:00
nsISaveAsCharset.idl Bug 1214619 - Remove nsISaveAsCharset as much as possible without breaking extensions in popular use. r=emk. 2015-10-22 11:18:45 +03:00
nsIUGenCategory.h Bug 1038537 - Part 9: Flatten intl/unicharutil/{idl,public,src}/ directories. r=smontagu 2014-07-24 10:56:40 -07:00
nsIUnicodeNormalizer.idl Bug 1038537 - Part 9: Flatten intl/unicharutil/{idl,public,src}/ directories. r=smontagu 2014-07-24 10:56:40 -07:00
nsSaveAsCharset.cpp Bug 1214619 - Remove nsISaveAsCharset as much as possible without breaking extensions in popular use. r=emk. 2015-10-22 11:18:45 +03:00
nsSaveAsCharset.h Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj. 2016-08-08 10:54:47 +10:00
nsUnicharUtilCIID.h Bug 1038537 - Part 9: Flatten intl/unicharutil/{idl,public,src}/ directories. r=smontagu 2014-07-24 10:56:40 -07:00
nsUnicodeNormalizer.cpp Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
nsUnicodeNormalizer.h Bug 728180 - Use ICU normalization functions to implement nsUnicodeNormalizer when ENABLE_INTL_API is defined, in place of our obsolete/unmaintained normalization code. r=emk 2016-09-29 12:27:50 +01:00
nsUnicodeNormalizer_ICU.cpp Bug 728180 - Use ICU normalization functions to implement nsUnicodeNormalizer when ENABLE_INTL_API is defined, in place of our obsolete/unmaintained normalization code. r=emk 2016-09-29 12:27:50 +01:00
ucdata.c Bug 1038537 - Part 9: Flatten intl/unicharutil/{idl,public,src}/ directories. r=smontagu 2014-07-24 10:56:40 -07:00
ucdata.h Bug 1038537 - Part 9: Flatten intl/unicharutil/{idl,public,src}/ directories. r=smontagu 2014-07-24 10:56:40 -07:00