Commit Graph

28 Commits

Author SHA1 Message Date
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04: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
Nicholas Nethercote
b11348dae9 Bug 687724 (part 3) - Report JS memory consumption for compartments that are associated with |window| objects under "window-objects". r=bholley,jlebar,luke. 2012-07-05 21:12:37 -07:00
Nicholas Nethercote
54bbaf2638 Bug 711130 (part 1) - Fix "window-objects" measurement inconsistency. r=nfroyd. 2012-06-25 17:06:50 -07: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
Nicholas Nethercote
d7233fe6da Bug 760352 (part 2) - Treeify non-JS-compartment KIND_OTHER memory reports where appropriate. r=jlebar. 2012-06-11 20:32:26 -07:00
Nicholas Nethercote
17b0d1a081 Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar. 2012-06-11 20:29:12 -07:00
Nathan Froyd
e5bbedfffe Bug 674922 - report on most common objects allocated in a PresShell's arena; r=roc,njn 2012-06-06 13:35:40 -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
81b1c1cd8a Bug 754241 - add window-objects-layout-pres-contexts to about:memory; r=njn 2012-05-11 09:23:07 -04:00
Nathan Froyd
293a874576 Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Patrick Wong
c9bcb02a6e Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -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
7d318857cf Bug 713799 - Rearrange the "window-objects" sub-tree in about:memory to make per-tab memory usage more obvious. r=jst. 2012-03-12 23:00:18 -07:00
Nicholas Nethercote
73c5289a1c Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar. 2012-03-04 15:26:30 -08:00
Nicholas Nethercote
63485d3bd7 Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey. 2012-02-23 18:43:33 -08:00