Mark Banner
d5029e0dae
Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D23850
2019-03-28 09:38:14 +00:00
Nicholas Nethercote
e2bb468069
Bug 1535226 - Remove uses of XP_WIN32 in Gecko. r=glandium
...
The definitions can't be entirely removed yet because NSS still needs them.
Differential Revision: https://phabricator.services.mozilla.com/D23454
2019-03-21 01:28:50 +00:00
Dave Townsend
920aaaa961
Bug 1518639: Remove some unused functionality from the remote service. r=Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D19065
2019-02-08 21:00:08 +00:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Ehsan Akhgari
f9231bc798
Bug 1491560 - Remove the XPCOM registration for nsCommandLine; r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D5944
2018-09-15 12:16:39 -04:00
Kris Maglione
edfa25a364
Bug 1486182: Follow-up: Fix straggler nsIUTF8StringEnumerator references. r=bustage CLOSED TREE
2018-08-28 14:29:16 -07:00
Kris Maglione
b399327a89
Bug 1486182: Part 1 - Include both category names and values in category enumerator. r=froydnj
...
Nearly all of the consumers of category enumerators require the entry value,
either along with or instead of the name. Including both by default simplifies
things considerably for most consumers, and allows us to remove the XPCOMUtils
wrapper that JS callers typically use to enumerate category entries.
Differential Revision: https://phabricator.services.mozilla.com/D4277
2018-08-24 22:22:07 -07:00
Kris Maglione
03b182d3da
Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj
...
Much like the component manager, many of the strings that we use for category
manager entries are statically allocated. There's no need to duplicate these
strings.
This patch changes the category manager APIs to take nsACStrings rather than
raw pointers, and to pass literal nsCStrings when we know we have a literal
string to begin with. When adding the category entry, it then skips making
copies of any strings with the LITERAL flag.
MozReview-Commit-ID: EJEcYSdNMWs
***
amend-catman
2018-07-23 17:41:06 -07:00
Brindusan Cristian
52e593c35b
Backed out 3 changesets (bug 1477579) for build bustages on xpcshell\selftest.py and crashtest failures on /components/nsComponentManager.cpp. CLOSED TREE
...
Backed out changeset aa9a8f18e98f (bug 1477579)
Backed out changeset 5fb0b7746a5d (bug 1477579)
Backed out changeset 8359f8fe4184 (bug 1477579)
2018-07-24 04:55:03 +03:00
Kris Maglione
49963c786f
Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj
...
Much like the component manager, many of the strings that we use for category
manager entries are statically allocated. There's no need to duplicate these
strings.
This patch changes the category manager APIs to take nsACStrings rather than
raw pointers, and to pass literal nsCStrings when we know we have a literal
string to begin with. When adding the category entry, it then skips making
copies of any strings with the LITERAL flag.
MozReview-Commit-ID: EJEcYSdNMWs
***
amend-catman
2018-07-23 17:41:06 -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
Florian Quèze
082ca8b2a3
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Myk Melez
d430b61149
Bug 1410564 - support double-dash args on Windows in nsCommandLine; r=mossop
2017-10-23 12:54:13 -07:00
Myk Melez
d0ecb4b4c9
Bug 1406590 - support single-dash arguments with values; r=mossop
2017-10-23 12:54:13 -07:00
Tom Tromey
917fa8e294
Bug 1388789 - make va_list nsTextFormatter private; r=froydnj
...
The runtime type-checking rewrite of nsTextFormatter will not support
va_list uses. So, make these functions private and fix the sole user.
MozReview-Commit-ID: IBWALVzIcHC
2017-08-31 15:21:37 -06:00
Nicholas Nethercote
848397a70b
Bug 1390428 (part 4) - Remove still more nsXPIDLCString local variables. r=erahm.
...
These are all easy cases where an nsXPIDLCString local variable is set via
getter_Copies() and then is null checked. The patch uses IsVoid() to replace
the null checks (and get() and EqualsLiteral() calls to replace any implicit
conversions).
2017-08-16 13:58:55 +10:00
Nicholas Nethercote
d634dfac08
Bug 1388253 - Convert nsTextFormatter:[v]smprintf() use to [v]ssprintf(). r=erahm.
...
[v]ssprintf() is just a better way of doing things.
2017-08-09 10:41:14 +10:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
L. David Baron
8250722e62
Bug 1363262 - Don't call First() on empty strings in nsCommandLine::HandleFlagWithParam. r=bsmedberg
...
MozReview-Commit-ID: 91J55PjzwmF
2017-05-11 15:41:41 -07: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
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
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
Dave Townsend
12596ced47
Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
...
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Sebastian Hengst
6cf65ed900
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: toolkit. r=RyanVM
...
MozReview-Commit-ID: I5LuDjnM7By
2016-11-05 11:29:22 +01:00
Mark Banner
233309fbe2
Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
...
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Nicholas Nethercote
cc4d39daaa
Bug 1297300 - Add missing checks to GetSpec() calls in toolkit/. r=froydnj.
2016-09-08 14:32:20 +10:00
Jared Wein
4518d81cb5
Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
...
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Chris Peterson
6c0f810682
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Chris Peterson
1e35dbdf75
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Chris Manchester
a3478d13f6
Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
...
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.
MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Dave Townsend
a2ba043d69
Bug 1245649: Turn on no-trailing-spaces. r=Gijs
2016-02-03 14:22:33 -08:00
Dave Townsend
8dc7f59eb3
Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
2015-11-30 13:05:00 -08:00
Chris Peterson
752223fd52
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Nicholas Nethercote
12fec02dfb
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Mike Hommey
4d93988786
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Nathan Froyd
023e3d5c3f
Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan
2015-03-31 10:03:49 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Sebastian Hengst
e35e29ccdb
Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin
2015-03-15 19:36:24 +01:00
Chris Peterson
9d7fef134d
Bug 1095883 - Mark toolkit/components directories as FAIL_ON_WARNINGS. r=Mossop
2014-11-08 00:41:17 -08:00
Nicholas Nethercote
fc9811215d
Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium.
2014-10-23 17:35:27 -07:00
Andrew Halberstadt
11b824f09b
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Jim Blandy
0fcaa49b3b
Bug 800200: Delete all references to the obsolete Venkman chrome debugger from the tree. r=ted
2014-06-27 11:05:07 -07:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00