Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
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
Ehsan Akhgari 6099c9f67b Bug 1508472 - Part 1: First batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

Differential Revision: https://phabricator.services.mozilla.com/D13046

--HG--
extra : moz-landing-system : lando
2018-11-27 10:08:58 +00:00
Mark Banner ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Mark Banner 21e6e270a4 Bug 1438489 - Enable ESLint rule mozilla/use-services for devtools/. r=jdescottes
MozReview-Commit-ID: FZscEA6Q3Kb

--HG--
extra : rebase_source : b1b8699288a3595e52bcff3c7684bfe095f41dd1
2018-02-15 12:00:17 +00: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 e0f995ea08 Bug 1421992 - hand written cleanup patch to make xpcshell tests pass after replacing do_check_* with Assert.*, r=Gijs. 2017-12-21 11:08:19 +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
Sebastian Hengst 205843f800 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Julian Descottes df95b72117 Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t

--HG--
extra : rebase_source : 05d41abb69a34f0f5b8241c26684ed53a88b6df5
2017-07-11 12:30:22 +02:00
Alexandre Poirot 51fbee878f Bug 1363533 - Move nsIJSInspector from devtools/server/ to devtools/platform/. r=gps,jryans
MozReview-Commit-ID: 3ry7pRiqNWv

--HG--
rename : devtools/server/moz.build => devtools/platform/moz.build
rename : devtools/server/nsIJSInspector.idl => devtools/platform/nsIJSInspector.idl
rename : devtools/server/nsJSInspector.cpp => devtools/platform/nsJSInspector.cpp
rename : devtools/server/nsJSInspector.h => devtools/platform/nsJSInspector.h
rename : devtools/server/tests/unit/test_nsjsinspector.js => devtools/platform/tests/unit/test_nsjsinspector.js
extra : rebase_source : 1df23f9247d9202fc7022ae73f8bf4bcf262410b
2017-05-15 18:53:19 +02:00