Bug 1035570 (part 1) - DMD: Rename TraceRecord as Record. r=erahm.

DMD used to have "stack trace records" and "stack frame records". Bug 1013011
removed the latter, and now "stack trace record" and |TraceRecord| are a bit
unwieldy. This patch changes them to "heap block record" and |Record|.

--HG--
extra : rebase_source : 1d674db9866221f6a170d0eb05aa77fc9f4a1924
Bug 1035570 (part 2) - DMD: make output easier for machines to parse. r=erahm.

There are likely to be post-processing scripts for DMD added in the future. In
anticipation, this patch tweaks DMD's output to be a little more conducive to
machine parsing.

The basic idea is this:

- Lines beginning with '#' are comments and can be ignored, as can blank lines.

- All top level blocks consist of a string ending with '{', and then one or
  more indented lines, and then a closing '}' on its own line. Any multi-line
  things within a block are themselves enclosed in braces.

The diff for memory/replace/dmd/test-expected.dmd shows what this looks like in
practice.

It's a long way from a formal grammar or anything like that, but that would be
overkill. In this form it's quite easy to parse with simple scripts that just
do line-based regexp matching, rather than proper parsing. And it's still very
readable to humans, so I think it's a reasonable balance overall.

--HG--
extra : rebase_source : 64085babd79de3cce13295aa5f16a34dc3ad7697
Bug 1035570 (part 3) - DMD: Add DMDAnalyzeHeap(), a heap snapshot function. r=erahm,mccr8.

The patch also adds DMDAnalyzeReports() as a synonym for DMDReportAndDump(),
and deprecates the latter.

--HG--
extra : rebase_source : 651246aa7a0a301f804c124f25beb0e8ed6cd67f
Bug 789096 patch 9: use logical coordinates in nsHTMLReflowState available size. r=jfkthame
Bug 789096 patch 10: make Reflow set nsHTMLReflowMetrics.ISize and BSize instead of Width and Height. r=jfkthame
Bug 1031529 part 1 - Add a --no-threads shell flag. r=bhackett
Bug 1031529 part 2 - Remove JS_THREADSAFE #ifdefs everywhere. r=bhackett
Bug 1031529 part 3 - Step defining JS_THREADSAFE, remove --disable-threadsafe. r=glandium
Bug 1031529 part 4 - Remove getBuildConfiguration().threadsafe. r=bhackett
Bug 1039607 - Scalar Replacement support dynamic slots. r=h4writer
Bug 1043022 - Back out bug 1016481 for making it hard to click things in the browser. r=me
Bug 1026310, disable this test again
Bug 1041530. Be more careful about contributing opaque areas to the window region. r=mattwoodrow

--HG--
extra : rebase_source : 23f51dfbf716357310ac708a396b325864e41a67
Bug 1042327. Use a more narrow workaround for pixman bug. r=jrmuizel

--HG--
extra : rebase_source : 4631ea06598c681a5729e225d4e2f495fbb2622b
Bug 1042771 - Fix TextureClientPool::ReturnDeferredClients() r=nical
Merge mozilla-central to mozilla-inbound
Bug 1042946 - Discard back buffer on error in ClientTiledLayerBuffer::ValidateTile() r=nical
Bug 1042884 - Do nothing in AudioStream::OpenCubeb() after shutdown. r=kinetik
Bug 1043015 - running mochitest-remote without ssltunnel gives bizarre errors.  r=jgraham
Bug 1039542 - TraceLogger: Reset the lastChildId when resuming the tracelogger, r=bbouvier