Commit Graph

40 Commits

Author SHA1 Message Date
Zibi Braniecki
106e81ac8b Bug 1449505 - Add mozIntl.getLocaleDisplayNames. r=jfkthame
MozReview-Commit-ID: GJroYvSODgh
2018-03-30 20:50:58 +02:00
Andreea Pavel
77554651f5 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
6e2eebe157 Bug 1449505 followup, fix forthcoming xpcshell bustage in test_mozintl.js 2018-04-10 23:35:15 -07:00
Zibi Braniecki
c551bc7696 Bug 1449505 - Add mozIntl.getLocaleDisplayNames. r=jfkthame
MozReview-Commit-ID: GJroYvSODgh
2018-03-30 20:50:58 +02:00
Zibi Braniecki
fb66ddc06f Bug 1407240 - Add mozIntl.RelativeTimeFormat. r=jfkthame
MozReview-Commit-ID: FjqmqNTbbgk
2017-10-10 09:28:39 -07:00
Florian Quèze
f6add2cafd 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
d640df5146 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
2018-02-21 10:30:19 -06:00
Andrew McCreight
272cee1e65 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
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d 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
fd67f090b2 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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb 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
683a97d172 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
2018-01-29 15:20:18 -08:00
Zibi Braniecki
eafb17bb75 Bug 1422658 - Extend mozIntl to handle NumberFormat, PluralRules and Collator. r=jfkthame
MozReview-Commit-ID: Gtnvch5Ict6
2018-01-18 15:37:48 -08:00
Zibi Braniecki
20c66877f9 Bug 1428172 - Align mozIntl with Intl when working with constructors. r=nalexander
MozReview-Commit-ID: 5jGk1jXKkay
2018-01-04 13:01:43 -08:00
Mark Banner
45b0812566 Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 1. r=mossop
MozReview-Commit-ID: BBnacIvRJBR
2017-10-30 16:29:58 +00:00
Zibi Braniecki
5dd802ea19 Bug 1403318 - Remove mozIntl.PluralRules. r=anba
MozReview-Commit-ID: IqkGenuXYrv
2017-09-28 15:00:32 +02:00
Zibi Braniecki
762b28fb77 Bug 1379905 - Switch mozIntl, datetimebox and DateTimeFormat to use GetRegionalPrefsLocales. r=jfkthame,smaug
MozReview-Commit-ID: IqGbT6ZUfuN
2017-07-14 16:47:23 -07:00
Joel Maher
d2be399571 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
01205d9549 Bug 1339650 - Introduce mozIntl.DateTimeFormat. r=jfkthame
MozReview-Commit-ID: 1jnit4IlDN6
2017-03-02 16:39:17 -08:00
Mark Banner
ec9074e132 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
2017-03-20 12:36:37 +01:00
Zibi Braniecki
86a7d9a632 Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame
MozReview-Commit-ID: 2SXD5HaJPXr
2017-03-13 08:31:43 -07:00
Wes Kocher
1ebb5ab61f Bug 1339892 - ESLint fix
MozReview-Commit-ID: 83sxzT9mVfL
2017-02-15 14:55:15 -08:00
Zibi Braniecki
0e13011349 Bug 1339892 - Refactor mozIntl to have a nicer API and thin logic. r=smaug
MozReview-Commit-ID: J4QXXBy7JII
2017-03-01 16:58:11 -08:00
Zibi Braniecki
86035d0f11 Bug 1312053 - Expose an API to get locale information. r=Waldo
MozReview-Commit-ID: LivVJzrb3X1
2017-02-17 20:06:43 -08:00
Mark Banner
55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Jeff Walden
43806afb75 Bug 1325459 - Expose the PluralRules constructor only by explicit action,, for now. r=anba 2016-12-28 15:25:27 -06:00
Jeff Walden
e8021b5f5f Bug 1325675 - Abstract out MozIntl's add-these-functions-to-Intl behavior into a single function usable by all mozIntl functions. r=anba 2016-12-28 15:15:48 -06:00
Mark Banner
fb8a196639 Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
MozReview-Commit-ID: DYJa1uNVagw
2016-12-23 16:00:46 +00:00
Zibi Braniecki
aca36bc80a Bug 1287677 - Add mozIntl.getDisplayNames API. r=Waldo
MozReview-Commit-ID: GYVlvSv3Yd9
2016-11-28 12:06:20 -08:00
Sylvestre Ledru
a15f1c5d08 Bug 1318004 - Replace default bodies of special member functions with = default; r=Ehsan
MozReview-Commit-ID: 33AOhtFrXS8
2016-11-16 18:26:14 +01:00
Wes Kocher
b620596e75 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
eaf1a1bb8c Bug 1318004 - Replace default bodies of special member functions with = default; r=Ehsan
MozReview-Commit-ID: 33AOhtFrXS8
2016-11-16 18:26:14 +01:00
Wes Kocher
13642ca8af 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
c30faf12df Bug 1318004 - Replace default bodies of special member functions with = default; r=Ehsan
MozReview-Commit-ID: 33AOhtFrXS8
2016-11-16 18:26:14 +01:00
Zibi Braniecki
191138efef Bug 1289951 - Add mozIntl toolkit component. r=waldo
MozReview-Commit-ID: Ad73e1XD9VD
2016-09-03 21:10:51 +02:00
Phil Ringnalda
1a5ca1b5aa Back out e8c6d262e4b7 (bug 1289951) for Android failures in test_mozintl.js 2016-09-02 21:14:58 -07:00
Zibi Braniecki
b7bbd8095d Bug 1289951 - Add mozIntl toolkit component. r=waldo
MozReview-Commit-ID: J34WJ9o1BKI
2016-09-03 03:20:14 +02:00
Wes Kocher
0af8ec7d68 Backed out changeset 1ac6a04f5bc7 (bug 1289951) for xpcshell bustage CLOSED TREE a=backout 2016-09-01 16:12:51 -07:00
Zibi Braniecki
647ddb5dc4 Bug 1289951 - Add mozIntl toolkit component. r=waldo
MozReview-Commit-ID: IVrrDSfGY4R
2016-09-01 21:28:44 +02:00