Commit Graph

6 Commits

Author SHA1 Message Date
Masayuki Nakano
d69fe178df Bug 1311621 Fix odd indent of editor/composer/nsComposerRegistration.cpp r=smaug
MozReview-Commit-ID: L4y0UNS6xFb
2016-10-25 15:07:42 +09:00
Masayuki Nakano
70065b8279 Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug
Currently, editor code uses following style (or similar style) in a lot of places:

if (foo)
{

}
else
{

}

This patch fixes this as conforming to our coding rules, i.e., it becomes:

if (foo) {

} else {

}

Additionally, this fixes other odd control statements in the files which include above issue because it's difficult to find following issues with searching the files:

* if (foo) bar;
* if (foo) { bar; }
* if (foo)
    bar;

Finally, if it becomes much simpler than current code, this patch rewrites existing code with "early return style". But this case is only a few places because this is risky.

MozReview-Commit-ID: 2Gs26goWXrF
2016-10-24 11:27:45 +09:00
Masayuki Nakano
2f88097a14 Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan 2015-05-29 00:58:42 +09:00
Birunthan Mohanathas
57b5f86039 Bug 1028565 - Part 1: Flatten editor/composer/{public,src}/ directories. r=ehsan 2014-06-25 15:08:20 -07:00
Wes Kocher
777add5c77 Backed out 6 changesets (bug 1028559, bug 1028565) for android mochitest bustage on a CLOSED TREE
Backed out changeset fdd74c065e5d (bug 1028565)
Backed out changeset 5e9777d38052 (bug 1028565)
Backed out changeset 3510bcdba3fc (bug 1028565)
Backed out changeset 62ad3254903e (bug 1028565)
Backed out changeset e7557f70acfe (bug 1028565)
Backed out changeset 5b1b527abe47 (bug 1028559)
2014-06-24 18:32:55 -07:00
Birunthan Mohanathas
cadbbf3a4f Bug 1028565 - Part 1: Flatten editor/composer/{public,src}/ directories. r=ehsan 2014-06-23 16:27:43 -07:00