Commit Graph

20 Commits

Author SHA1 Message Date
Nicholas Nethercote
ef63d8fa25 Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz. 2013-01-17 21:21:43 -08:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ehsan Akhgari
744e754a48 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky 2012-06-14 22:31:55 -04:00
Nathan Froyd
8639810ade Bug 752952 - account for nsIDocument's property tables in about:memory; r=njn,f=smaug 2012-06-15 00:10:08 -04:00
Nathan Froyd
56bc58bdb8 Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc 2012-06-06 13:29:16 -04:00
Nathan Froyd
68040a6240 Bug 760831 - split out per-node type stats in about:memory; r=njn, bz 2012-06-05 10:49:48 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd
293a874576 Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Justin Lebar
dc2f7d85f9 Bug 737857 - Report number of ghost windows in telemetry. r=njn 2012-04-02 22:28:13 -04:00
Justin Lebar
030aab0e88 Bug 738624 - Add ghost windows to about:compartments. r=njn 2012-04-02 22:28:05 -04:00
Justin Lebar
87198a806f Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8 2012-04-02 22:28:04 -04:00
Matt Brubeck
9de3488b77 Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors 2012-04-02 12:44:31 -07:00
Justin Lebar
f1f8615014 Bug 737857 - Report number of ghost windows in telemetry. r=njn 2012-04-02 10:37:04 -04:00
Justin Lebar
9190422ed9 Bug 738624 - Add ghost windows to about:compartments. r=njn 2012-04-02 10:37:04 -04:00
Justin Lebar
6bbad8f5f3 Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8 2012-04-02 10:37:04 -04:00
Ed Morley
03c3de4ed0 Backout 9e4d09efa335 (bug 737857), bd73daadcfe9 (bug 738624), 110338618465 (bug 738011) for mochitest-oth orange 2012-04-01 03:58:06 +01:00
Justin Lebar
95c37af45a Bug 737857 - Report number of ghost windows in telemetry. r=njn 2012-03-31 15:39:31 -07:00
Justin Lebar
b10eb78968 Bug 738624 - Add ghost windows to about:compartments. r=njn 2012-03-31 15:39:31 -07:00
Justin Lebar
f6d0e02d3a Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8 2012-03-31 15:39:31 -07:00
Nicholas Nethercote
63485d3bd7 Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey. 2012-02-23 18:43:33 -08:00