Zibi Braniecki
abcd557c95
Bug 1509583 - Migrate region/language names resources to Fluent. r=flod,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D12807
--HG--
extra : moz-landing-system : lando
2019-01-11 00:23:50 +00:00
Zibi Braniecki
9436ebe59a
Bug 1509583 - Refactor mozIntl.getRegions to mozIntl.getAvailableLocaleDisplayNames. r=jfkthame,MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D13188
--HG--
extra : moz-landing-system : lando
2019-01-11 00:25:52 +00:00
Jeff Walden
a128f0c35c
Bug 1517624 - Move JSPropertySpec and JSFunctionSpec definitions into a new js/public/PropertySpec.h header. r=arai
...
--HG--
extra : rebase_source : b80911e01f984ee9f99fbbc6c4552ef3d2178587
2019-01-03 15:37:01 -06:00
Rob Wu
7d113fddff
Bug 1504660 - Implement Xrays for instanceof r=bholley
...
Ensure that "a instanceof b" has Xray semantics, i.e. that when b is a
XrayWrapper, that the wrapped object's getters, `Symbol.hasInstance`
hook and proxy traps are not triggered.
The toolkit/components/mozintl/test/test_mozintlhelper.js test was
updated to explicitly waive Xrays, instead of relying on the previous
behavior where Xrays were automatically waived.
Depends on D11591
Depends on D11591
Differential Revision: https://phabricator.services.mozilla.com/D11592
--HG--
extra : moz-landing-system : lando
2018-12-02 22:21:51 +00: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
André Bargull
6910699710
Bug 1504334 - Let Intl.RelativeTimeFormat ride the trains. r=jwalden, r=gandalf
...
--HG--
extra : rebase_source : eb0f0c26f97f713d8df6a516928bfa634fd00f46
2018-11-02 14:11:14 -07:00
Jared Wein
416ff8c392
Bug 1481972 - Add remaining countries to address autofill countries list. r=MattN
...
Saving and filling the countries via Form Autofill will still be limited to certain countries
but this allows the storage to be useful for Web Payments in other countries.
Differential Revision: https://phabricator.services.mozilla.com/D5194
--HG--
extra : amend_source : c6810478b747cf51aaaafa73f83682cb23711231
2018-09-23 23:50:03 -07:00
Zibi Braniecki
83ea94f5ba
Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
...
Depends on D5924
Differential Revision: https://phabricator.services.mozilla.com/D6339
--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:37 +00:00
Mark Banner
691543ee89
Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
...
Automatic changes by ESLint, except for manual corrections for .xml files.
Differential Revision: https://phabricator.services.mozilla.com/D4439
--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Jeff Walden
ffd93ba761
Bug 1033916 - Move JSAutoByteString out of jsapi.h into js/public/AutoByteString.h, incidentally breaking the jsfriendapi.h -> jsapi.h dependency. r=jandem
...
--HG--
extra : rebase_source : d85baf9b28e632db5669aa3d056cc9744686f5c8
2018-08-20 07:46:08 -07:00
Jan de Mooij
3af36d3d86
Bug 1479363 part 10 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in other directories. r=mrbkap
2018-08-02 19:30:17 +02:00
Jan de Mooij
80adc67aba
Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke
2018-07-28 12:12:26 +02:00
Mark Banner
5d838d18c1
Bug 1463673 - Add the expected argument to Assert.throws/rejects for various tests in toolkit/. r=mossop
...
MozReview-Commit-ID: LsWlHC16145
--HG--
extra : rebase_source : d786176c8a1777e2dfb2ca71476cddf6403f2ec3
2018-05-22 19:25:34 +01:00
Jan de Mooij
80e44e8003
Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke
2018-05-16 10:53:16 +02:00
Kris Maglione
a259026c9d
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Zibi Braniecki
8f66f8f2dc
Bug 1449505 - Add mozIntl.getLocaleDisplayNames. r=jfkthame
...
MozReview-Commit-ID: GJroYvSODgh
--HG--
extra : rebase_source : 5ce2f6ead61b20df2c0cec7e4fae5955f77b7de8
2018-03-30 20:50:58 +02:00
Andreea Pavel
fdfd625082
Backed out 9 changesets (bug 1449505) for failing xpcshell at browser/extensions/formautofill/test/unit/test_addressRecords.js on a CLOSED TREE
...
Backed out changeset e96c92f80c09 (bug 1449505)
Backed out changeset 760e4d29af7e (bug 1449505)
Backed out changeset e82c5152cc17 (bug 1449505)
Backed out changeset 07143ec143ae (bug 1449505)
Backed out changeset 75a7dee8e060 (bug 1449505)
Backed out changeset a58126ed4b3f (bug 1449505)
Backed out changeset f0b4429eedff (bug 1449505)
Backed out changeset 4bf3befa991d (bug 1449505)
Backed out changeset 398d8addfbd8 (bug 1449505)
2018-04-11 10:07:42 +03:00
Phil Ringnalda
183db5cd45
Bug 1449505 followup, fix forthcoming xpcshell bustage in test_mozintl.js
2018-04-10 23:35:15 -07:00
Zibi Braniecki
d673579850
Bug 1449505 - Add mozIntl.getLocaleDisplayNames. r=jfkthame
...
MozReview-Commit-ID: GJroYvSODgh
--HG--
extra : rebase_source : 7b8f44512a18618a3c6fdfc1b7bcd69e3625781e
2018-03-30 20:50:58 +02:00
Zibi Braniecki
2a5bdb3ede
Bug 1407240 - Add mozIntl.RelativeTimeFormat. r=jfkthame
...
MozReview-Commit-ID: FjqmqNTbbgk
--HG--
extra : rebase_source : 05c947e9f4dd9707005ea1ed68160ec4b30bad6c
2017-10-10 09:28:39 -07: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
Jason Orendorff
e7c94fff59
Bug 1439063 - Part 1: Move several public headers from js/src to js/public. r=jandem.
...
js/src/jsalloc.h -> js/public/AllocPolicy.h
jsalloc.cpp -> js/src/util/AllocPolicy.cpp
jsbytecode.h -> merge into js/public/TypeDecls.h
jsprf.h -> js/public/Printf.h
jsprf.cpp -> js/src/util/Printf.cpp
jsprototypes.h -> public/ProtoKey.h
jswrapper.h -> js/Wrapper.h
--HG--
rename : js/src/jsalloc.h => js/public/AllocPolicy.h
rename : js/src/jsprf.h => js/public/Printf.h
rename : js/src/jsprototypes.h => js/public/ProtoKey.h
rename : js/src/jswrapper.h => js/public/Wrapper.h
rename : js/src/jsalloc.cpp => js/src/util/AllocPolicy.cpp
rename : js/src/jsprf.cpp => js/src/util/Printf.cpp
extra : rebase_source : 98b16d94c469202eab0303a8da844f1d0b6aa809
extra : amend_source : e0b16c1077226d6fe240f4d7096537f93b43f2b8
extra : histedit_source : d94e0ba7904a7d66742c7fac43f638aaec4fa4e5
2018-02-21 10:30:19 -06: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
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
c8137ec252
Bug 1422658 - Extend mozIntl to handle NumberFormat, PluralRules and Collator. r=jfkthame
...
MozReview-Commit-ID: Gtnvch5Ict6
--HG--
extra : rebase_source : 4e0e65d7581e67ce5dc3aea8c88fb7297eeb020e
2018-01-18 15:37:48 -08:00
Zibi Braniecki
1a111ee852
Bug 1428172 - Align mozIntl with Intl when working with constructors. r=nalexander
...
MozReview-Commit-ID: 5jGk1jXKkay
--HG--
extra : rebase_source : fc5445104a6d14cbacd417ce9b9b4b0bd0ea8212
2018-01-04 13:01:43 -08:00
Mark Banner
cf372ccd32
Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 1. r=mossop
...
MozReview-Commit-ID: BBnacIvRJBR
--HG--
extra : rebase_source : 10157c319a97b14c9a360a26a56725022df14ad4
2017-10-30 16:29:58 +00:00
Zibi Braniecki
c29fd22d76
Bug 1403318 - Remove mozIntl.PluralRules. r=anba
...
MozReview-Commit-ID: IqkGenuXYrv
--HG--
extra : rebase_source : c03e314f3885c184c6526e79b29af43133fd9898
2017-09-28 15:00:32 +02:00
Zibi Braniecki
cc3d3ab8cd
Bug 1379905 - Switch mozIntl, datetimebox and DateTimeFormat to use GetRegionalPrefsLocales. r=jfkthame,smaug
...
MozReview-Commit-ID: IqGbT6ZUfuN
--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
extra : rebase_source : 3180b337ec33bfc8959d0189c8a53ca2c3306e95
2017-07-14 16:47:23 -07:00
Joel Maher
bc070be3c8
Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop
...
MozReview-Commit-ID: 8mv5Oed68JL
2017-04-09 05:43:43 -04:00
Zibi Braniecki
1f71b79b24
Bug 1339650 - Introduce mozIntl.DateTimeFormat. r=jfkthame
...
MozReview-Commit-ID: 1jnit4IlDN6
--HG--
extra : rebase_source : 2b319acbb9fe1c7bdb3bc555baff8b9030946715
2017-03-02 16:39:17 -08:00
Mark Banner
bd625e4e9f
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Zibi Braniecki
fbfa4998fa
Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame
...
MozReview-Commit-ID: 2SXD5HaJPXr
--HG--
extra : rebase_source : 44404dfd577f13fde722ef5c13a29f853766786d
2017-03-13 08:31:43 -07:00
Wes Kocher
57e033e108
Bug 1339892 - ESLint fix
...
MozReview-Commit-ID: 83sxzT9mVfL
2017-02-15 14:55:15 -08:00
Zibi Braniecki
3613954ec3
Bug 1339892 - Refactor mozIntl to have a nicer API and thin logic. r=smaug
...
MozReview-Commit-ID: J4QXXBy7JII
--HG--
rename : toolkit/components/mozintl/MozIntl.cpp => toolkit/components/mozintl/MozIntlHelper.cpp
rename : toolkit/components/mozintl/MozIntl.h => toolkit/components/mozintl/MozIntlHelper.h
rename : toolkit/components/mozintl/mozIMozIntl.idl => toolkit/components/mozintl/mozIMozIntlHelper.idl
extra : rebase_source : 9753dbeea2e11c7fde550df1a20b1c3d1b2063fe
2017-03-01 16:58:11 -08:00
Zibi Braniecki
27ba812587
Bug 1312053 - Expose an API to get locale information. r=Waldo
...
MozReview-Commit-ID: LivVJzrb3X1
--HG--
extra : rebase_source : a8c566cf918f01216e9f22e953da935ce41b7654
2017-02-17 20:06:43 -08:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Jeff Walden
d090fc1e7c
Bug 1325459 - Expose the PluralRules constructor only by explicit action,, for now. r=anba
...
--HG--
extra : rebase_source : a14878e0281d3ab1302451e41e18e4b9d5b8f5cf
2016-12-28 15:25:27 -06:00
Jeff Walden
6532b37f81
Bug 1325675 - Abstract out MozIntl's add-these-functions-to-Intl behavior into a single function usable by all mozIntl functions. r=anba
...
--HG--
extra : rebase_source : 86bb1fbd3ac2b8025ecced5feeb058cce7b31ed2
2016-12-28 15:15:48 -06:00
Mark Banner
32471628fa
Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
...
MozReview-Commit-ID: DYJa1uNVagw
--HG--
extra : rebase_source : 11649d299fb6654bcadfb0e04bc0d8f19552529e
2016-12-23 16:00:46 +00:00
Zibi Braniecki
6fa9d29045
Bug 1287677 - Add mozIntl.getDisplayNames API. r=Waldo
...
MozReview-Commit-ID: GYVlvSv3Yd9
--HG--
extra : rebase_source : 75f24ca61ab87529f72bcba3aab2157bc29bed98
2016-11-28 12:06:20 -08:00
Sylvestre Ledru
2901996124
Bug 1318004
- Replace default bodies of special member functions with = default; r=Ehsan
...
MozReview-Commit-ID: 33AOhtFrXS8
--HG--
extra : rebase_source : 6541778fe7d44d9b54441108a03d72f3cc8b91ad
2016-11-16 18:26:14 +01:00
Wes Kocher
9cd626a6a3
Backed out 4 changesets (bug 1318004
) for xpcshell failures a=backout CLOSED TREE
...
Backed out changeset a3fe53641526 (bug 1318004
)
Backed out changeset a5d1676b6f88 (bug 1318004
)
Backed out changeset b56b37f0f4d7 (bug 1318004
)
Backed out changeset fb5254baf1cb (bug 1318004
)
2016-11-21 16:15:38 -08:00
Sylvestre Ledru
27d6ef91b6
Bug 1318004
- Replace default bodies of special member functions with = default; r=Ehsan
...
MozReview-Commit-ID: 33AOhtFrXS8
--HG--
extra : rebase_source : 6541778fe7d44d9b54441108a03d72f3cc8b91ad
2016-11-16 18:26:14 +01:00
Wes Kocher
e9f743f2af
Backed out 4 changesets (bug 1318004
) for xpcshell failures a=backout
...
Backed out changeset 6995bd33872b (bug 1318004
)
Backed out changeset 9be5c856bc78 (bug 1318004
)
Backed out changeset 365b0b7f289a (bug 1318004
)
Backed out changeset 2f2ebf176eac (bug 1318004
)
2016-11-21 12:23:17 -08:00
Sylvestre Ledru
3eb68aed36
Bug 1318004
- Replace default bodies of special member functions with = default; r=Ehsan
...
MozReview-Commit-ID: 33AOhtFrXS8
--HG--
extra : rebase_source : 6541778fe7d44d9b54441108a03d72f3cc8b91ad
2016-11-16 18:26:14 +01:00