Commit Graph

13 Commits

Author SHA1 Message Date
Ryan VanderMeulen
cc01f0f444 Bug 705401 - Remove the rest of TraceVis. r=dvander 2011-11-28 16:08:25 -08:00
Ms2ger
294f8e171a Bug 701467 - Remove JS_TRUE/JS_FALSE from xpconnect; r=bholley 2011-11-26 11:05:59 +01:00
Justin Lebar
f3070c142a Bug 586010 - Send dump() output to Android device log. r=bz 2011-11-09 19:27:08 -05:00
Luke Wagner
9cd47c906a Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin) 2011-07-01 14:11:31 -07:00
Ted Mielczarek
4f1897720b bug 695685 - Make JS module/component dump go to stdout and flush. r=mrbkap 2011-10-19 10:01:24 -04:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Bobby Holley
f4c64adc5a Bug 688012 - Manual fixup of multi-line c++ cast alignment. r=mrbkap 2011-10-14 10:52:49 -07:00
Bobby Holley
6d4a5a196d Bug 688012 - Hoist 'else' clauses to the line of the previous close-curly-brace. r=mrbkap
xpcfix -epc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

This is a conservative pass, which doesn't catch absolutely all cases. But it should be good enough.
2011-10-14 10:52:48 -07:00
Bobby Holley
a5f7d97d7c Bug 688012 - Move the open-brace for if, else, for, while, and switch to the same line as the keyword or condition. r=mrbkap
xpcfix -bpc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

This is a huge, repetitive patch, and I confess having only skimmed a lot of it. I'm reasonably confident in the tool here though.

Updated to fix 'else' as well.
2011-10-14 10:52:48 -07:00
Bobby Holley
374c22c159 Bug 688012 - Fix alignment of arguments and tests relative to parens. r=mrbkap
xpcfix -puc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

Some of these changes aren't quite ideal, but it's the best my tooling can do and I think it's very much a step in the right direction. This is necessary to do first, because doing if(foo) -> if (foo) changes the location of parentheses, which affects how other things should be aligned. So this has to be built into the tooling, and we might as well take care of the pre-existing issues first.
2011-10-14 10:52:48 -07:00
Bobby Holley
6a2deac3e3 Bug 688012 - Move all multi-line continuation backslashes to column 79 (where possible). r=mrbkap
xpcfix -c `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

This isn't a huge deal, but it's necessary for the other style changes we want to make. Specifically, when adding and removing things from lines within macros, xpcfix corrects continuation backslashes by putting them at column 79. If we make sure that this is also the default everywhere, then everything will match up.

git diff -w shows no changes here as well.
2011-10-14 10:52:48 -07:00
Bobby Holley
15bfa97022 Bug 688012 - Remove trailing whitespace within XPConnect. r=mrbkap
xpcfix -w `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

git diff -w verifies that this patch contains no non-whitespace changes.
2011-10-14 10:52:47 -07:00
Bobby Holley
ec90124839 Bug 691411 - Move js/src/xpconnect to js/xpconnect and rename source files while we're at it. r=khuey, sr=mrbkap 2011-10-14 10:52:47 -07:00