Commit Graph

39 Commits

Author SHA1 Message Date
Andrew McCreight
ae88d3a894 Bug 782735 - turn nsNodeInfoManager into a non-leaking native CC class. r=smaug 2012-08-24 09:50:06 -07:00
Ehsan Akhgari
0fd9123eac 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
Andrew McCreight
b4633218eb Bug 782677 - Misc. fixes for CHECK_VALID_NODEINFO, and demacro it. r=smaug 2012-08-16 08:07:55 -07:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Bill McCloskey
2fab59d87e Bug 766717 - nsNodeInfoManager needs to be able to add itself to the purple buffer (r=smaug) 2012-06-26 13:35:29 -07:00
Mike Hommey
c533a83b6c Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Mike Hommey
311cae060f Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Mike Hommey
88257ed076 Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Olli Pettay
be29ff2a92 Bug 716006 - Don't traverse NodeInfoManager so much, r=jst, mccr8
--HG--
extra : rebase_source : 34085e6ad2c49a691b18c6fb092db7ae71e2a0f3
2012-01-07 20:57:03 +02:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Olli Pettay
1fb309ad40 bug 335998, strong parentNode, r=peterv 2011-07-26 14:11:14 +03:00
Jonas Sicking
af376eaa98 Bug 659539 Part 5: Speed up nsINodeInfo::GetDocument by caching the nodeinfo managers mDocument pointer. r=bz 2011-06-14 17:58:57 -07:00
Jonas Sicking
e82dadd3d8 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Ms2ger
c665a4e4c0 Bug 664123 - Backout bugs 659053 and 659539 (changesets 9c49f69d8bab-1b11c64ffcdf) 2011-06-14 16:25:51 +02:00
Jonas Sicking
5f95458332 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Boris Zbarsky
19229d0372 Bug 614171 part 1. Switch away from Init() to using a constructor for nodeinfo. r=sicking 2011-05-05 12:26:32 -04:00
Daniel Holbert
8460fa015a Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst 2010-09-04 23:41:17 -04:00
Josh Matthews
2814f869bb Backing out ebce58252cf8, 1f94199af190, 81664d1912ee, 8e95db7adbea, f97a99ad74af, 66d12a1541f2, 6b936d1a9e65 2010-09-04 15:15:31 -04:00
Daniel Holbert
f390399c09 Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
2010-09-03 14:29:00 -04:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Johnny Stenback
c61e5af484 fixing bug 558944. Don't do atomic incr/decr in nsNodeInfoManager, which isn't thread-safe anyways. r=jonas@sicking.cc 2010-04-15 15:18:22 -07:00
Boris Zbarsky
4f3a824bf4 Bug 455540. Eliminate the non-OOM-failures-possible version of GetNodInfo. r+sr=jst 2008-10-07 14:53:22 -04:00
Taras Glek
390adbe464 bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr 2008-09-25 15:46:52 -07:00
Taras Glek
c26ce8e1ab bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
peterv@propagandism.org
14a390a55a Fix for bug 415192 (Crash (within nsCycleCollector::Shutdown and nsXBLBinding::RemoveInsertionParent) with <xul:wizard>, cloneNode). r/sr=sicking. 2008-03-28 07:09:00 -07:00
dbaron@dbaron.org
5977f55665 Add leak logging for node info managers that can be added to leak-gauge. b=414704 r+sr=sicking a=schrep 2008-02-08 11:55:03 -08:00
dwitte@stanford.edu
d9595c6e9e Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep 2008-02-02 15:41:24 -08:00
peterv@propagandism.org
bb5c634c86 Part of fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r/sr=sicking. 2008-01-20 08:56:39 -08:00
Olli.Pettay@helsinki.fi
c32a710c15 Bug 408720, trying to reduce MH/tpbytes, patch 3, r+sr=sicking 2008-01-18 05:24:57 -08:00
Olli.Pettay@helsinki.fi
a853361878 Bug 408720, try to reduce MH, r+sr=sicking 2008-01-01 07:39:03 -08:00
Olli.Pettay@helsinki.fi
436643fa64 Backing out the smaller arena, Bug 408720 2007-12-22 05:58:49 -08:00
Olli.Pettay@helsinki.fi
b80fbe9f88 Testing smaller arena to reduce HM, Bug 408720 2007-12-22 05:20:24 -08:00
Olli.Pettay@helsinki.fi
b6b8ee7724 Bug 408720, Trying to reduce MH regression caused by the content arena, part 1 r+sr=sicking 2007-12-17 16:41:29 -08:00
Olli.Pettay@helsinki.fi
489154b8b5 Bug 403830, arena for content, r=sicking, sr=jst 2007-12-15 01:45:33 -08:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00