Noemi Erli
27e963773a
Backed out changeset c3e43b7b1376 (bug 1607052) for causing leaks CLOSED TREE
2020-02-20 20:17:46 +02:00
Zibi Braniecki
c7b7faf558
Bug 1607052 - Unify language identifier canonicalization in LocaleService and OSPreferences to use unic_langid, and extend GTK's RegionalPrefs reading to fallback on SystemLocales. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D63393
--HG--
extra : moz-landing-system : lando
2020-02-20 17:35:06 +00:00
Mike Shal
d8e4653d19
Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
...
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.
Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.
Differential Revision: https://phabricator.services.mozilla.com/D60919
--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Cosmin Sabou
ff39f9206d
Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
...
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal
ad0c283ab2
Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
...
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.
Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.
Differential Revision: https://phabricator.services.mozilla.com/D60919
--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Brindusan Cristian
e2fb6b8344
Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE
2020-02-13 23:33:34 +02:00
Mike Shal
e6464dd404
Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
...
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.
Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.
Differential Revision: https://phabricator.services.mozilla.com/D60919
--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Zibi Braniecki
0e3495e946
Bug 1612096 - Update unic-langid && fluent-langneg. r=jfkthame,manishearth
...
Differential Revision: https://phabricator.services.mozilla.com/D61222
--HG--
extra : moz-landing-system : lando
2020-02-06 17:05:32 +00:00
Jonathan Kew
681901607e
Bug 1613350 - Update localized quotation marks data to CLDR release 36.0. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D61675
--HG--
extra : moz-landing-system : lando
2020-02-05 12:49:07 +00:00
Mark Banner
0007396a1a
Bug 1613139 - Enable ESLint for intl/locale and intl/strres (manual changes). r=zbraniecki
...
Depends on D61580
Differential Revision: https://phabricator.services.mozilla.com/D61581
--HG--
extra : moz-landing-system : lando
2020-02-04 15:33:24 +00:00
Mark Banner
c4d713de2b
Bug 1613139 - Enable ESLint for intl/locale and intl/strres (automatic changes). r=zbraniecki
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D61580
--HG--
extra : moz-landing-system : lando
2020-02-05 09:04:33 +00:00
Zibi Braniecki
47a052741f
Bug 1607052 - Cut out the POSIX encoding part from the locale during sanitization. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D60177
--HG--
extra : moz-landing-system : lando
2020-01-22 13:52:23 +00:00
Zibi Braniecki
4fb4f2f900
Bug 1609585 - Migrate all possible uses from AppLocalesAsLangTag(s) to AppLocale(s)AsBCP47. r=marionette-reviewers,jfkthame,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D60096
--HG--
extra : moz-landing-system : lando
2020-01-17 19:29:09 +00:00
Jonathan Kew
72877316d6
Bug 1606744 - Add a default region subtag to the system locale code if GlobalizationPreferences returns a bare language code, to avoid problems with DirectWrite localized font-name API. r=emk
...
Differential Revision: https://phabricator.services.mozilla.com/D58632
--HG--
extra : moz-landing-system : lando
2020-01-03 17:52:27 +00:00
Gabriele Svelto
69790bc62e
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55443
--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
Zibi Braniecki
d50efd5781
Bug 1597822 - Hook up intl.l10n.pseudo in DOM/chrome. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D53892
--HG--
extra : moz-landing-system : lando
2019-11-26 16:41:55 +00:00
Jonathan Kew
828e1b8a82
Bug 1598656 - Ensure RoUninitialize is not called until after the COMPtr<>s have been released. r=emk
...
Differential Revision: https://phabricator.services.mozilla.com/D54505
--HG--
extra : moz-landing-system : lando
2019-11-25 13:55:05 +00:00
Jonathan Kew
fbf91045d0
Bug 1593414 - Try to use the full list of user-preferred languages on Windows to guide CJK font-preference priority. r=emk
...
Differential Revision: https://phabricator.services.mozilla.com/D54043
--HG--
extra : moz-landing-system : lando
2019-11-21 15:42:00 +00:00
Zibi Braniecki
85728020f5
Bug 1581960 - Use fluent-locale-rs for LocaleService::NegotiateLanguages. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D49991
--HG--
extra : moz-landing-system : lando
2019-11-19 23:07:08 +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
Moritz Birghan
975648e245
Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D40614
--HG--
extra : moz-landing-system : lando
2019-11-18 13:03:58 +00:00
Boris Zbarsky
59e9c84c17
Bug 1588260 part 2. Switch nsICollation away from using xpidl [array]. r=peterv,emk
...
Differential Revision: https://phabricator.services.mozilla.com/D49052
--HG--
extra : moz-landing-system : lando
2019-11-11 18:03:42 +00:00
Coroiu Cristina
27a753cc4a
Backed out changeset 96048cce4b80 (bug 1571656) for xpcshell failures at toolkit/components/places/tests/unifiedcomplete/test_autofill_origins.js on a CLOSED TREE
2019-11-06 22:59:45 +02:00
Moritz Birghan
70c7a633fb
Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D40614
--HG--
extra : moz-landing-system : lando
2019-11-06 18:07:54 +00:00
Ricky Stewart
c010710916
Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
...
(Same content as bad revision https://phabricator.services.mozilla.com/D48230 , but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c
Differential Revision: https://phabricator.services.mozilla.com/D48409
--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
Daniel Varga
052ef806b5
Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
...
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00
Ricky Stewart
940d91af38
Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
...
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e
Differential Revision: https://phabricator.services.mozilla.com/D48230
--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
Nick Alexander
c46ec74815
Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
...
This does many things:
1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations
After this commit, the `mobile/android` project/application builds
only GeckoView.
Differential Revision: https://phabricator.services.mozilla.com/D46536
--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
Jonathan Kew
37409d3393
Bug 1563602 - Improve mapping of lang tags to internal langGroup codes for font-prefs selection. r=m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D47639
--HG--
extra : moz-landing-system : lando
2019-10-02 15:33:24 +00:00
Francesco Lodolo (:flod)
b54e3ba68d
Bug 1583177 - Add ca-valencia, trs to languageNames.ftl and language.properties r=m_kato,fluent-reviewers,Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D46772
--HG--
extra : moz-landing-system : lando
2019-09-27 12:10:19 +00:00
Geoff Brown
dcb380399e
Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi
...
Most of these tests have been disabled for a long time; they run well
in the current test environment.
Differential Revision: https://phabricator.services.mozilla.com/D46642
--HG--
extra : moz-landing-system : lando
2019-09-23 22:43:55 +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
Mike Hommey
66d7fe943e
Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D42765
--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Ciure Andrei
9a123fb597
Backed out changeset 81156ff3f4fa (bug 1571656) for causing browser_PageActions.js and test_insertTree_fixupOrSkipInvalidEntries.js to perma fail CLOSED TREE
2019-08-19 13:00:44 +03:00
Moritz Birghan
240771fa29
Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D40614
--HG--
extra : moz-landing-system : lando
2019-08-19 07:17:12 +00:00
Nicholas Nethercote
18fae65f38
Bug 1563139 - Remove StaticPrefs.h. r=glandium
...
This requires replacing inclusions of it with inclusions of more specific prefs
files.
The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.
Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.
Differential Revision: https://phabricator.services.mozilla.com/D39138
--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
Jonathan Kew
b4f5f05fb9
Bug 1421938 - Implement a mozilla::intl::QuotesForLang utility to return localized quotation marks for a given locale, based on CLDR data. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D36428
--HG--
extra : moz-landing-system : lando
2019-07-08 23:56:12 +00:00
shindli
f5dea34efe
Backed out 5 changesets (bug 1421938) for bustages in /builds/worker/workspace/build/src/layout/base/nsQuoteList.cpp CLOSED TREE
...
Backed out changeset 4e25a6db1f5b (bug 1421938)
Backed out changeset 11a8f9bc0418 (bug 1421938)
Backed out changeset f27980997dc5 (bug 1421938)
Backed out changeset adb2e2714c14 (bug 1421938)
Backed out changeset 33e38a62b400 (bug 1421938)
2019-07-09 02:52:38 +03:00
Jonathan Kew
531c3f1fe0
Bug 1421938 - Implement a mozilla::intl::QuotesForLang utility to return localized quotation marks for a given locale, based on CLDR data. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D36428
--HG--
extra : moz-landing-system : lando
2019-07-08 21:47:05 +00:00
shindli
2c12986a7f
Backed out 5 changesets (bug 1421938) for causing a bustage in /builds/worker/workspace/build/src/intl/locale/cldr-quotes.inc:21:448 CLOSED TREE
...
Backed out changeset 3958f2af0e34 (bug 1421938)
Backed out changeset 89a0866d1aa0 (bug 1421938)
Backed out changeset f150702af11f (bug 1421938)
Backed out changeset b8ebd4d241e0 (bug 1421938)
Backed out changeset 1d38eb5eff6e (bug 1421938)
2019-07-08 23:09:34 +03:00
Jonathan Kew
54986d1806
Bug 1421938 - Implement a mozilla::intl::QuotesForLang utility to return localized quotation marks for a given locale, based on CLDR data. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D36428
--HG--
extra : moz-landing-system : lando
2019-07-08 12:13:28 +00:00
Masatoshi Kimura
d729945e0b
Bug 1557930 - Stop using ACString parameters in mozILocaleService and tests. r=zbraniecki
...
* `negotiateLanguages` should not silently truncate non-Latin1 chars.
* `setCharPref` will silently truncate non-Latin1 chars.
* Fixed JS extra warnings while I am here.
Differential Revision: https://phabricator.services.mozilla.com/D34273
--HG--
extra : moz-landing-system : lando
2019-06-08 17:21:58 +00:00
Sylvestre Ledru
993c03acb1
Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31769
--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Sylvestre Ledru
03fc65347c
Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26280
--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Sylvestre Ledru
03c8e8c2dd
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Csoregi Natalia
ba58e936bd
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
24dbe577a5
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Emilio Cobos Álvarez
7d6f6c28d7
Bug 1536582 - Autogenerate Servo_ binding functions with cbindgen. r=boris
...
This depends on https://github.com/eqrion/cbindgen/pull/308 . Other than that,
this should be ready to go.
There's still a bit more magic than what I'd like to eventually. I should be
able to make cbindgen not rename types if it doesn't know about them, or
something.
But this removes most of the manual binding function implementations (all but
the ones that are declared via macros, which cbindgen doesn't see across).
I need to give up on the _Drop functions taking an Owned<T> because of
instantiation order fiasco. In order to define DefaultDelete I need Owned to be
complete, but I cannot do it after including the generated file since some
declarations already instantiate the specialization. Oh well.
Differential Revision: https://phabricator.services.mozilla.com/D24798
--HG--
rename : servo/components/style/cbindgen.toml => servo/ports/geckolib/cbindgen.toml
extra : moz-landing-system : lando
2019-03-30 20:18:33 +00:00
Liang-Heng Chen
624de11cb1
Bug 1492587 - spoof date picker to en-US when pref is set; r=zbraniecki,baku
...
spoof locale on datepicker to English when privacy.spoof_english == 2
Differential Revision: https://phabricator.services.mozilla.com/D19148
--HG--
extra : moz-landing-system : lando
2019-03-29 10:49:58 +00:00
Emilio Cobos Álvarez
3fa7faebf8
Bug 1536176 - Use nsStaticAtom in nsLanguageAtomService. r=jfkthame
...
All lang groups are static, no point in doing refcounting.
Differential Revision: https://phabricator.services.mozilla.com/D23954
--HG--
extra : moz-landing-system : lando
2019-03-19 12:48:31 +00:00
Francesco Lodolo (:flod)
22636d2a89
Bug 1533435 - Create new plural for Slavic languages (bs, hr, sr) to account for different CLDR categories than Russian r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D22535
--HG--
extra : moz-landing-system : lando
2019-03-07 18:56:20 +00:00
Ryan Hunt
62b9ce54b9
Bug 1523969 part 11 - Move method definition inline comments to new line in 'intl/'. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D21111
--HG--
extra : rebase_source : d5c8dc992e78523893b857ec9ebc0cc5b1521b77
2019-02-25 16:08:21 -06:00
Kris Maglione
7adf89ebfb
Bug 1524687: Part 6 - Convert intl modules to static registration. r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D18401
--HG--
extra : rebase_source : 384b14e66d9b12eb123c46edbdd57c5a3ed226fa
extra : source : f4ee175bc5bda170021c09456819bc9daeea6408
2019-01-24 15:58:31 -08:00
Csoregi Natalia
ecd94d6986
Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE
...
Backed out changeset 68a001a42406 (bug 1524687)
Backed out changeset 328de611bcd3 (bug 1524688)
Backed out changeset 68cffca6927a (bug 1524687)
Backed out changeset 81dc12cc9257 (bug 1524688)
Backed out changeset c7c49f64048f (bug 1524688)
Backed out changeset fb23a0271da0 (bug 1524688)
Backed out changeset 0c1d1248e59e (bug 1524688)
Backed out changeset 9e9ec7de4160 (bug 1524688)
Backed out changeset de0b9993bd5d (bug 1524688)
Backed out changeset 92877cf4fe33 (bug 1524688)
Backed out changeset b4938f2ff8fd (bug 1524688)
Backed out changeset 230d2feaf941 (bug 1524688)
Backed out changeset 6c63bc240972 (bug 1524688)
Backed out changeset 0ad5465eace1 (bug 1524688)
Backed out changeset 1e75ce91029b (bug 1524688)
Backed out changeset 34a978503b1d (bug 1524688)
Backed out changeset 183602e8a30b (bug 1524688)
Backed out changeset 12a9135dc005 (bug 1524688)
Backed out changeset 978ef5dac9db (bug 1524688)
Backed out changeset 28105bf7bf6a (bug 1524688)
Backed out changeset a9fb74beaf2b (bug 1524688)
Backed out changeset fe106b369a72 (bug 1524688)
Backed out changeset e657e77d4271 (bug 1524688)
Backed out changeset 09f626870ad0 (bug 1524688)
Backed out changeset fe9b6695212e (bug 1524688)
Backed out changeset 995ea188bc31 (bug 1524688)
Backed out changeset 01c4d3edb1b0 (bug 1524688)
Backed out changeset 1bb7dfbb9f48 (bug 1524688)
Backed out changeset 56c61e0a1f45 (bug 1524688)
Backed out changeset c819943ff466 (bug 1524688)
Backed out changeset a1dd5cec066e (bug 1524688)
Backed out changeset 517838ee0c3c (bug 1524688)
Backed out changeset f509a5759fdf (bug 1524688)
Backed out changeset 56f5c8f0d708 (bug 1524688)
Backed out changeset 5746311ef859 (bug 1524688)
Backed out changeset df02f7d25212 (bug 1524688)
Backed out changeset c9846136d105 (bug 1524688)
Backed out changeset 2bd48db9cd0f (bug 1524688)
Backed out changeset ff120b4eeb79 (bug 1524688)
Backed out changeset fe583e7aae8d (bug 1524688)
Backed out changeset 18f156d6355a (bug 1524688)
Backed out changeset f4eaebbe2e0f (bug 1524688)
Backed out changeset bf6b18e23f69 (bug 1524688)
Backed out changeset dd89eb7e9b0d (bug 1524688)
Backed out changeset 4cbbb367ba0b (bug 1524688)
Backed out changeset 4ed0cf6be580 (bug 1524688)
Backed out changeset d8efb5ed62b1 (bug 1524688)
Backed out changeset ea347d57d73a (bug 1524688)
Backed out changeset 911689ef9f33 (bug 1524688)
Backed out changeset 28670fdc418d (bug 1524688)
Backed out changeset 38e1e42a0fb0 (bug 1524688)
Backed out changeset 35a5f031dd1e (bug 1524688)
Backed out changeset b586d55d76d5 (bug 1524688)
Backed out changeset 6dcacead1746 (bug 1524688)
Backed out changeset 9895239d8ac6 (bug 1524688)
Backed out changeset 25f982fd53bd (bug 1524688)
Backed out changeset 4fb0f0a59fe2 (bug 1524688)
Backed out changeset fdc6c4ed241a (bug 1524688)
Backed out changeset 5ce5986068f0 (bug 1524688)
Backed out changeset ab64ed7388ae (bug 1524688)
Backed out changeset 56607c5a301a (bug 1524688)
Backed out changeset 6b3684e7d8f9 (bug 1524688)
Backed out changeset ee28258a5724 (bug 1524688)
Backed out changeset 9201a7ea3c54 (bug 1524688)
Backed out changeset d5dca413e2da (bug 1524688)
Backed out changeset 68eb174a337b (bug 1524688)
Backed out changeset 625f71135038 (bug 1524687)
Backed out changeset 46e13c453538 (bug 1524687)
Backed out changeset 614be688767f (bug 1524687)
Backed out changeset 9c24919ac5c2 (bug 1524687)
Backed out changeset b9862758b98c (bug 1524687)
Backed out changeset 92d9e927deec (bug 1524687)
Backed out changeset f4ee175bc5bd (bug 1524687)
Backed out changeset 191afe83da2e (bug 1524687)
Backed out changeset c58caf41bb94 (bug 1524687)
Backed out changeset df95a56dae04 (bug 1524687)
Backed out changeset 10c69df4444d (bug 1524687)
Backed out changeset 219b84a58f50 (bug 1524687)
Backed out changeset e96e61bd282f (bug 1524687)
--HG--
rename : browser/components/migration/360seProfileMigrator.jsm => browser/components/migration/360seProfileMigrator.js
rename : browser/components/migration/ChromeProfileMigrator.jsm => browser/components/migration/ChromeProfileMigrator.js
rename : browser/components/migration/EdgeProfileMigrator.jsm => browser/components/migration/EdgeProfileMigrator.js
rename : browser/components/migration/FirefoxProfileMigrator.jsm => browser/components/migration/FirefoxProfileMigrator.js
rename : browser/components/migration/IEProfileMigrator.jsm => browser/components/migration/IEProfileMigrator.js
rename : browser/components/migration/ProfileMigrator.jsm => browser/components/migration/ProfileMigrator.js
rename : browser/components/migration/SafariProfileMigrator.jsm => browser/components/migration/SafariProfileMigrator.js
rename : browser/components/newtab/AboutNewTabService.jsm => browser/components/newtab/aboutNewTabService.js
rename : browser/components/BrowserContentHandler.jsm => browser/components/nsBrowserContentHandler.js
rename : browser/components/BrowserGlue.jsm => browser/components/nsBrowserGlue.js
rename : browser/components/payments/PaymentUIService.jsm => browser/components/payments/paymentUIService.js
rename : browser/components/protocolhandler/WebProtocolHandlerRegistrar.jsm => browser/components/protocolhandler/WebProtocolHandlerRegistrar.js
rename : devtools/startup/AboutDebuggingNewRegistration.jsm => devtools/startup/aboutdebugging-new-registration.js
rename : devtools/startup/AboutDebuggingRegistration.jsm => devtools/startup/aboutdebugging-registration.js
rename : devtools/startup/aboutdevtools/AboutDevToolsRegistration.jsm => devtools/startup/aboutdevtools/aboutdevtools-registration.js
rename : devtools/startup/AboutDevToolsToolboxRegistration.jsm => devtools/startup/aboutdevtoolstoolbox-registration.js
rename : devtools/startup/DevToolsStartup.jsm => devtools/startup/devtools-startup.js
rename : dom/base/ProcessSelector.jsm => dom/base/ProcessSelector.js
rename : dom/base/SlowScriptDebug.jsm => dom/base/SlowScriptDebug.js
rename : dom/base/ContentAreaDropListener.jsm => dom/base/contentAreaDropListener.js
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
rename : dom/console/ConsoleAPIStorage.jsm => dom/console/ConsoleAPIStorage.js
rename : dom/html/HTMLMenuBuilder.jsm => dom/html/htmlMenuBuilder.js
rename : dom/media/PeerConnection.jsm => dom/media/PeerConnection.js
rename : dom/notification/NotificationStorage.jsm => dom/notification/NotificationStorage.js
rename : dom/presentation/PresentationDataChannelSessionTransport.jsm => dom/presentation/PresentationDataChannelSessionTransport.js
rename : dom/presentation/PresentationNetworkHelper.jsm => dom/presentation/PresentationNetworkHelper.js
rename : dom/presentation/provider/AndroidCastDeviceProvider.jsm => dom/presentation/provider/AndroidCastDeviceProvider.js
rename : dom/presentation/provider/PresentationControlService.jsm => dom/presentation/provider/PresentationControlService.js
rename : dom/push/Push.jsm => dom/push/Push.js
rename : dom/push/PushComponents.jsm => dom/push/PushComponents.js
rename : dom/system/NetworkGeolocationProvider.jsm => dom/system/NetworkGeolocationProvider.js
rename : layout/tools/recording/RecordingCmdLine.jsm => layout/tools/recording/recording-cmdline.js
rename : netwerk/dns/mdns/libmdns/DNSServiceDiscovery.jsm => netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.js
rename : netwerk/protocol/http/UAOverridesBootstrapper.jsm => netwerk/protocol/http/UAOverridesBootstrapper.js
rename : netwerk/protocol/http/WellKnownOpportunisticUtils.jsm => netwerk/protocol/http/WellKnownOpportunisticUtils.js
rename : services/fxaccounts/FxAccountsPush.jsm => services/fxaccounts/FxAccountsPush.js
rename : services/settings/RemoteSettingsComponents.jsm => services/settings/RemoteSettingsComponents.js
rename : services/sync/Weave.jsm => services/sync/Weave.js
rename : toolkit/components/asyncshutdown/nsAsyncShutdown.jsm => toolkit/components/asyncshutdown/nsAsyncShutdown.js
rename : toolkit/components/backgroundhangmonitor/BHRTelemetryService.jsm => toolkit/components/backgroundhangmonitor/BHRTelemetryService.js
rename : toolkit/components/captivedetect/CaptiveDetect.jsm => toolkit/components/captivedetect/captivedetect.js
rename : toolkit/components/cleardata/ClearDataService.jsm => toolkit/components/cleardata/ClearDataService.js
rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
rename : toolkit/components/crashes/CrashService.jsm => toolkit/components/crashes/CrashService.js
rename : toolkit/components/crashmonitor/nsCrashMonitor.jsm => toolkit/components/crashmonitor/nsCrashMonitor.js
rename : toolkit/components/downloads/DownloadLegacy.jsm => toolkit/components/downloads/DownloadLegacy.js
rename : toolkit/components/gfx/SanityTest.jsm => toolkit/components/gfx/SanityTest.js
rename : toolkit/components/mozintl/mozIntl.jsm => toolkit/components/mozintl/mozIntl.js
rename : toolkit/components/mozprotocol/MozProtocolHandler.jsm => toolkit/components/mozprotocol/mozProtocolHandler.js
rename : toolkit/components/normandy/ShieldContentProcess.jsm => toolkit/components/normandy/shield-content-process.js
rename : toolkit/components/DefaultCLH.jsm => toolkit/components/nsDefaultCLH.js
rename : toolkit/components/passwordmgr/LoginInfo.jsm => toolkit/components/passwordmgr/nsLoginInfo.js
rename : toolkit/components/passwordmgr/LoginManager.jsm => toolkit/components/passwordmgr/nsLoginManager.js
rename : toolkit/components/passwordmgr/LoginManagerPrompter.jsm => toolkit/components/passwordmgr/nsLoginManagerPrompter.js
rename : toolkit/components/places/ColorAnalyzer.jsm => toolkit/components/places/ColorAnalyzer.js
rename : toolkit/components/places/PageIconProtocolHandler.jsm => toolkit/components/places/PageIconProtocolHandler.js
rename : toolkit/components/places/PlacesCategoriesStarter.jsm => toolkit/components/places/PlacesCategoriesStarter.js
rename : toolkit/components/places/UnifiedComplete.jsm => toolkit/components/places/UnifiedComplete.js
rename : toolkit/components/places/PlacesExpiration.jsm => toolkit/components/places/nsPlacesExpiration.js
rename : toolkit/components/places/TaggingService.jsm => toolkit/components/places/nsTaggingService.js
rename : toolkit/components/processsingleton/ContentProcessSingleton.jsm => toolkit/components/processsingleton/ContentProcessSingleton.js
rename : toolkit/components/processsingleton/MainProcessSingleton.jsm => toolkit/components/processsingleton/MainProcessSingleton.js
rename : toolkit/components/prompts/src/Prompter.jsm => toolkit/components/prompts/src/nsPrompter.js
rename : toolkit/components/remotebrowserutils/RemoteWebNavigation.jsm => toolkit/components/remotebrowserutils/RemoteWebNavigation.js
rename : toolkit/components/satchel/FormHistoryStartup.jsm => toolkit/components/satchel/FormHistoryStartup.js
rename : toolkit/components/satchel/FormAutoComplete.jsm => toolkit/components/satchel/nsFormAutoComplete.js
rename : toolkit/components/satchel/InputListAutoComplete.jsm => toolkit/components/satchel/nsInputListAutoComplete.js
rename : toolkit/components/search/SearchService.jsm => toolkit/components/search/nsSearchService.js
rename : toolkit/components/search/SearchSuggestions.jsm => toolkit/components/search/nsSearchSuggestions.js
rename : toolkit/components/search/Sidebar.jsm => toolkit/components/search/nsSidebar.js
rename : toolkit/components/telemetry/TelemetryStartup.jsm => toolkit/components/telemetry/TelemetryStartup.js
rename : toolkit/components/terminator/TerminatorTelemetry.jsm => toolkit/components/terminator/nsTerminatorTelemetry.js
rename : toolkit/components/thumbnails/PageThumbsStorageService.jsm => toolkit/components/thumbnails/PageThumbsStorageService.js
rename : toolkit/components/timermanager/UpdateTimerManager.jsm => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/components/tooltiptext/TooltipTextProvider.jsm => toolkit/components/tooltiptext/TooltipTextProvider.js
rename : toolkit/components/url-classifier/UrlClassifierHashCompleter.jsm => toolkit/components/url-classifier/nsUrlClassifierHashCompleter.js
rename : toolkit/components/url-classifier/UrlClassifierLib.jsm => toolkit/components/url-classifier/nsUrlClassifierLib.js
rename : toolkit/components/url-classifier/UrlClassifierListManager.jsm => toolkit/components/url-classifier/nsUrlClassifierListManager.js
rename : toolkit/components/urlformatter/URLFormatter.jsm => toolkit/components/urlformatter/nsURLFormatter.js
rename : toolkit/components/utils/SimpleServices.jsm => toolkit/components/utils/simpleServices.js
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/XULStore.js
rename : toolkit/mozapps/downloads/HelperAppDlg.jsm => toolkit/mozapps/downloads/nsHelperAppDlg.js
rename : toolkit/mozapps/extensions/amContentHandler.jsm => toolkit/mozapps/extensions/amContentHandler.js
rename : toolkit/mozapps/extensions/amInstallTrigger.jsm => toolkit/mozapps/extensions/amInstallTrigger.js
rename : toolkit/mozapps/extensions/amWebAPI.jsm => toolkit/mozapps/extensions/amWebAPI.js
rename : toolkit/mozapps/handling/ContentDispatchChooser.jsm => toolkit/mozapps/handling/nsContentDispatchChooser.js
rename : toolkit/mozapps/update/UpdateService.jsm => toolkit/mozapps/update/nsUpdateService.js
rename : toolkit/mozapps/update/UpdateServiceStub.jsm => toolkit/mozapps/update/nsUpdateServiceStub.js
rename : uriloader/exthandler/WebHandlerApp.jsm => uriloader/exthandler/nsWebHandlerApp.js
2019-02-14 11:50:23 +02:00
Kris Maglione
28bef88d35
Bug 1524687: Part 6 - Convert intl modules to static registration. r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D18401
--HG--
extra : rebase_source : 2b2e5c21bbfb2742c2dffa945269f3a233c1fd63
2019-01-24 15:58:31 -08:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
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
Francesco Lodolo (:flod)
653d91c87f
Bug 1263437 - Add missing information for languages shipping in Firefox/Fennec: ach, cak, kab, lij, ltg, zam r=m_kato
...
MozReview-Commit-ID: 7HxOMEUZgyI
--HG--
extra : rebase_source : 28e543c077e3f7b767dda0eb73304fa516b59b97
2018-01-17 09:20:11 +01:00
Francesco Lodolo (:flod)
1d956ff4c6
Bug 1428366 - Add new plural rule (6 forms) for Welsh to PluralForm.jsm r=Pike
...
MozReview-Commit-ID: GJ87J9gtqQt
--HG--
extra : rebase_source : 063da20f9183bad79194af670599310d211ac20e
2018-01-08 08:50:38 +01:00
Florian Quèze
0f55cd45be
Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs.
2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Cosmin Sabou
c191e25cf5
Merge mozilla-inbound to mozilla-central r=merge a=merge
2017-12-08 11:56:44 +02:00
Eric Rahm
07c97a5afe
Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
...
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.
--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Zibi Braniecki
013a1dfb6b
Bug 1423463 - Update the LocaleService to handle ja-JP-mac better. r=jfkthame
...
MozReview-Commit-ID: 9LzDgbIHnhW
--HG--
extra : rebase_source : d007274d6fed77ddb0b53765bb0f2a3abc689185
2017-12-07 11:51:31 -08:00
Bogdan Tara
8c4a5326da
Backed out 1 changesets (bug 1423463) for failing due to syntax errors in /builds/worker/workspace/build/src/intl/locale/LocaleService.cpp r=backout on a CLOSED TREE
...
Backed out changeset 97f4bb99a1a9 (bug 1423463)
2017-12-07 19:43:03 +02:00
Zibi Braniecki
402ccab870
Bug 1423463 - Update the LocaleService to handle ja-JP-mac better. r=jfkthame
...
MozReview-Commit-ID: FdwMLcgdcvx
--HG--
extra : rebase_source : 07cb7739cd189ce49cbbc2520a7e8c2fc10a7b86
2017-12-05 23:10:37 -08:00
Zibi Braniecki
a5600cdb98
Bug 1414390 - Add intl.locale.requested locale list to replace general.useragent.locale. r=jfkthame,mossop
...
This patch moves us from using an old pref `general.useragent.locale`combined
with `intl.locale.matchOS` for retrieving user requested locale, to use a new
preference `intl.locale.requested` which stores a list of well-formed BCP47
language tags. If set to empty, the OS locales are used. If not set at all,
default locale is used.
We are also adding a piece of code to migrate from old to new system.
MozReview-Commit-ID: 854yQ1kC6Ee
--HG--
extra : rebase_source : c4a7171bc026f857f7878ee83d973ec01b536a84
2017-11-01 20:16:21 -07:00
Makoto Kato
fecccc72f6
Bug 943272 - Get rid of nsIPlatformCharset. r=emk
...
MozReview-Commit-ID: DVatkTEYA1q
--HG--
extra : rebase_source : f95d587d3af94c0e058dde5c98ab917d98fcc48a
2017-11-27 12:45:14 +09:00
Francesco Lodolo (:flod)
64e1bd8242
Bug 1415906 - Update references to Macedonian in PluralForm.jsm r=Pike
...
Also marked rule #14 as unused.
MozReview-Commit-ID: GbfHY5NKgms
--HG--
extra : rebase_source : a2bb662155302705e7702e4ef3f6108adf244a2f
2017-12-01 10:13:04 +01:00
Jonathan Kew
f793736782
Bug 1418724 - part 4 - Register for notifications from macOS when the user's locale preferences are updated. r=m_kato
2017-11-21 11:03:30 +00:00
Jonathan Kew
fe16ec91fd
Bug 1418724 - part 3 - Make the OSPreferences service return the user's list of preferred languages from macOS, not just a single locale code. r=m_kato
2017-11-21 11:02:59 +00:00
Zibi Braniecki
fb1208b237
Bug 1418771 - Introduce LocaleService::LastFallbackLocale. r=jfkthame
...
MozReview-Commit-ID: 852mUquHOtW
--HG--
extra : rebase_source : f0ee91283a4a80001049d99d8b203f9c241136be
2017-11-16 00:09:15 -03:00
Francesco Lodolo (:flod)
618992092f
Bug 1415896 - Update plural rule #3 (lv, ltg) for numbers ending in 0 r=Pike
...
MozReview-Commit-ID: IHhE3xg3nb0
--HG--
extra : rebase_source : 3135b6d5c716e1359ad7fc5ae21d6885e9918543
2017-11-17 11:13:47 +05:30
Makoto Kato
717646428c
Bug 1416618 - Cannot show short date format (yy/MM/dd'('ddd')') correctly. r=jfkthame
...
On Windows 7, there is yy/mm/dd'('ddd')' as short date format of Japanese.
When selecting this, ddd isn't converted to day of the week correctly.
FindInReadable will update start position iterator even if not found. So when
using FindInReadable again, we have to reset start position iterator.
MozReview-Commit-ID: AoS1Txq3Twc
--HG--
extra : rebase_source : 2f02189d0288e833debb2d4ca47efbca632924e5
2017-11-14 10:53:51 +09:00
Dylan Roeh
ebd39f9ce0
Bug 1337078 - Improve the use of Android API in OSPreferences r=snorp
...
Add BrowserLocaleManager.refreshLocales, a native function which calls OSPreferences::Refresh, and BrowserLocaleManager.getLocale, which returns the current locale string. Use these in place of observing modification of the intl.locale.os pref.
2017-11-10 09:20:04 -06:00
Francesco Lodolo (:flod)
e16c6fe647
Bug 1396724
- Add plural rule for Shuar language to intl/locale/PluralForm.jsm r=Pike
...
MozReview-Commit-ID: 5HOVoaBHlGu
--HG--
extra : rebase_source : 9e04aa4f2026ac0349cdb1d245f18f8984bf6568
2017-09-05 08:37:55 +02:00
Zibi Braniecki
73ec17fff9
Bug 1414872 - Fix always adding source locale to requested locales fallback chain. r=jfkthame
...
MozReview-Commit-ID: CwvBkEJqQRi
--HG--
extra : rebase_source : 13274b1a6dbe0a7d1538ae42c0c1a2a40af11efa
2017-11-06 09:01:35 -08:00
Zibi Braniecki
d7b8f3b63e
Bug 1414186
- Use GetUserPreferredUILanguages for OSPreferences::SystemLocales. r=jfkthame
...
MozReview-Commit-ID: LId0mLIpfWQ
--HG--
extra : rebase_source : 256e1f5db5a7429e2ef692bb2b9ee818521bb12d
2017-11-03 00:51:05 -07:00
Zibi Braniecki
f50ce10902
Bug 1410733 - Add an en-US locale as a hard fallback for LocaleService::RequestedLocales. r=jfkthame
...
MozReview-Commit-ID: LPS3PaeykEh
--HG--
extra : rebase_source : 5ab83371ccfad13f02bf276055fdf9cba7e80a9e
2017-10-22 11:00:09 -07:00
Sebastian Hengst
3beb11d7e8
Backed out changeset 84f325dfaa00 (bug 1410733) for failing xpcshell's intl/l10n/test/test_localization.js on debug. r=backout
...
--HG--
extra : amend_source : 1567ed5f595a3e725d4003e7897c11ca78d03ee1
2017-10-24 18:57:39 +02:00
Zibi Braniecki
63fc064db9
Bug 1410733 - Add an en-US locale as a hard fallback for LocaleService::RequestedLocales. r=jfkthame
...
MozReview-Commit-ID: LPS3PaeykEh
--HG--
extra : rebase_source : fd2ef3aaa10c809e93d4fe1bf9f962689c1bb9aa
2017-10-22 11:00:09 -07:00
Zibi Braniecki
891932b111
Bug 1409185 - Generalize language-matching for date/time patterns in OSPreferences. r=jfkthame
...
MozReview-Commit-ID: LF98Avi6egj
--HG--
extra : rebase_source : b5e4963685a5e67db460783da304a81e9832ea33
2017-10-16 14:32:29 -07:00
Zibi Braniecki
fc54af78ae
Bug 1410266 - Explicitly include locale.h in OSPreferences_gtk.cpp. r=jfkthame
...
MozReview-Commit-ID: 23Q7xGGBMNT
--HG--
extra : rebase_source : 6cb5bc0284f5212c1289fd5d974ad2c7219878da
2017-10-19 16:51:11 -07:00
Zibi Braniecki
feea53af8e
Bug 1409158 - Use LC_TIME to retrieve OSPreferences::GetRegionalPrefsLocales on Unix. r=jfkthame
...
MozReview-Commit-ID: ImjQCggy8yk
--HG--
extra : rebase_source : 4d943dda3332049bc52c17eca01cf935275897be
2017-10-16 13:55:51 -07:00
Zibi Braniecki
72cc1348b6
Bug 1352343 - Rename LocaleService::On* methods to LocaleService::*. r=jfkthame
...
MozReview-Commit-ID: LvEW9GcOodb
--HG--
extra : rebase_source : b54931ca7f80c4b7bb88255607ac976d9deb0bb8
2017-10-10 10:39:12 -07:00
Zibi Braniecki
fffc0479b7
Bug 1352343 - Bind LocaleService to react to OSPreferences `intl:system-locales-changed`. r=jfkthame
...
MozReview-Commit-ID: Hnhun0bAVSr
--HG--
extra : rebase_source : bbd12e0eca463948bcc7e3cc02d830b83053094a
2017-10-05 18:43:38 +02:00
Sebastian Hengst
512032ece4
Backed out changeset 0699fcfd990f (bug 1352343) for build bustage. r=backout on a CLOSED TREE
2017-10-10 22:05:58 +02:00
Sebastian Hengst
4ae6666726
Backed out changeset 279dc744683e (bug 1352343)
2017-10-10 22:05:03 +02:00
Zibi Braniecki
cfe1556078
Bug 1352343 - Rename LocaleService::On* methods to LocaleService::*. r=jfkthame
...
MozReview-Commit-ID: LvEW9GcOodb
--HG--
extra : rebase_source : dab3af0ef01aeedad9faed4c0999492eef97e684
2017-10-10 10:39:12 -07:00
Zibi Braniecki
e6913c46a1
Bug 1352343 - Bind LocaleService to react to OSPreferences `intl:system-locales-changed`. r=jfkthame
...
MozReview-Commit-ID: Hnhun0bAVSr
--HG--
extra : rebase_source : 4aa553251bde30797de84bd72ef872891d44d1a3
2017-10-05 18:43:38 +02:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Wes Kocher
61c098eae7
Merge inbound to m-c a=merge CLOSED TREE
...
MozReview-Commit-ID: 3pMHYV9oXLm
--HG--
rename : dom/base/nsReferencedElement.cpp => dom/base/IDTracker.cpp
rename : dom/base/nsReferencedElement.h => dom/base/IDTracker.h
2017-09-27 16:51:49 -07:00
Chris Peterson
c4dff4f83d
Bug 1402666 - Part 3: Replace Replace(NS_LITERAL_STRING("")) with ReplaceLiteral(u""). r=erahm
...
MozReview-Commit-ID: Ji6UdG32RF4
--HG--
extra : rebase_source : 1565a1e99f40785dad0d0d7652e42222dcdf8881
extra : source : c57e906ba75fda4745134ef8307589e28f4c8d70
2017-09-15 19:32:55 -07:00
Chris Peterson
14c40f3dac
Bug 1402666 - Part 1: Replace Replace("") with ReplaceLiteral(""). r=erahm
...
MozReview-Commit-ID: s2hrTSkBiJ
--HG--
extra : rebase_source : d3b3551ed7ed1d5c8f70fc98d72510a13868ada1
extra : source : 1c45e10702e7884cd536a25b1d39c3de90fd2914
2017-09-15 19:22:58 -07:00
Nicholas Nethercote
dfd3b7e7aa
Bug 1400459 (part 2) - Devirtualize nsIAtom. r=heycam.
...
This patch merges nsAtom into nsIAtom. For the moment, both names can be used
interchangeably due to a typedef. The patch also devirtualizes nsIAtom, by
making it not inherit from nsISupports, removing NS_DECL_NSIATOM, and dropping
the use of NS_IMETHOD_. It also removes nsIAtom's IIDs.
These changes trigger knock-on changes throughout the codebase, changing the
types of lots of things as follows.
- nsCOMPtr<nsIAtom> --> RefPtr<nsIAtom>
- nsCOMArray<nsIAtom> --> nsTArray<RefPtr<nsIAtom>>
- Count() --> Length()
- ObjectAt() --> ElementAt()
- AppendObject() --> AppendElement()
- RemoveObjectAt() --> RemoveElementAt()
- ns*Hashtable<nsISupportsHashKey, ...> -->
ns*Hashtable<nsRefPtrHashKey<nsIAtom>, ...>
- nsInterfaceHashtable<T, nsIAtom> --> nsRefPtrHashtable<T, nsIAtom>
- This requires adding a Get() method to nsRefPtrHashtable that it lacks but
nsInterfaceHashtable has.
- nsCOMPtr<nsIMutableArray> --> nsTArray<RefPtr<nsIAtom>>
- nsArrayBase::Create() --> nsTArray()
- GetLength() --> Length()
- do_QueryElementAt() --> operator[]
The patch also has some changes to Rust code that manipulates nsIAtom.
MozReview-Commit-ID: DykOl8aEnUJ
--HG--
extra : rebase_source : 254404e318e94b4c93ec8d4081ff0f0fda8aa7d1
2017-09-26 08:33:21 +10:00
Chris Peterson
47e9fa9ec2
Bug 870698 - Part 5: Replace Assign(NS_LITERAL_CSTRING("")) with AssignLiteral(""). r=erahm
...
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.
MozReview-Commit-ID: KXJM13VRTB7
--HG--
extra : rebase_source : 3e50b1b3f23248d668d15310554559c39ff792f7
extra : source : 74f5e05877d50a79ec1e5330c227d2ce576a2d90
2017-09-06 01:35:56 -07:00
Chris Peterson
a0c8081df4
Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
...
MozReview-Commit-ID: G1GhyvD29WK
--HG--
extra : rebase_source : 115842c37a40041bdca7b4e1ff0a5680b02ced15
extra : source : 90bfff9c01d80086cdc17637f310e898fea295ea
2017-09-06 01:13:45 -07:00
Chris Peterson
9f4c1f5278
Bug 870698 - Part 1: Replace Assign("") with AssignLiteral(""). r=erahm
...
MozReview-Commit-ID: A0u9PP49OW3
--HG--
extra : rebase_source : 7d5286959f510eb4b7df1b7e32d5b9b58719c48b
extra : intermediate-source : f552b4a78236c42bc09030b3eb008725a3edb9c8
extra : source : 26ac4a1014f6661a70e3bf9f552407e12c2c3981
2017-09-03 22:12:56 -07:00
Jonathan Kew
87bb287cf3
Bug 1391213 - Make localeService.defaultLocale return the locale of the app package rather than a hard-coded en-US value. r=emk
2017-09-23 12:46:28 +01:00