Joshua Cranmer
c8f20f3eb1
Bug 856108 - Port static analyses to clang, part 2f: use MOZ_STACK_CLASS in xpcom. r=bsmedberg
2013-04-11 22:21:40 -05:00
Kyle Huey
ba85fa63ae
Bug 855804: Add hashtable helpers for cycle collection. r=bz
2013-04-03 09:49:17 -07:00
Boris Zbarsky
7d463ea49d
Bug 815671 part 9. Fix hashtables to take a UserDataType reference on put, so that putting an array works. r=bsmedberg
2012-11-29 11:14:14 -05:00
Ehsan Akhgari
e368dc9c85
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
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Joshua Cranmer
a1186c1020
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Aryeh Gregor
65eef91085
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Nathan Froyd
7a6a991007
Bug 765326 - atom-table numbers should include the static atom table; r=njn
2012-06-15 15:51:42 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Benjamin Smedberg
520acef26d
Bug 734847 - Make nsTHashtable and its derivatives be infallible to OOM by default; code which is prepared to handle OOM conditions must use the explicit fallible_t() methods, r=jlebar
...
--HG--
extra : rebase_source : 4acfaa41aa572c570e4627250f2d3ec2e1817e93
2012-05-18 12:42:01 -04:00
Jonathan Kew
34b9df2a69
bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn
2012-03-23 12:13:56 +00:00
Nicholas Nethercote
bcd2963e13
bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame
2012-03-23 12:13:44 +00:00
Ryan VanderMeulen
554919925b
Backout 1152d14294df, 18c70ab50559, dbd51616925a, 730c2e84247f, and 7beb8fd46629 due to perma-hangs on WinXP debug moth. (test_memoryReporters.xul | application timed out after 330 seconds with no output)
2012-03-23 17:04:28 -04:00
Jonathan Kew
1324886d80
bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn
2012-03-23 12:13:56 +00:00
Nicholas Nethercote
65d37d97ce
bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame
2012-03-23 12:13:44 +00:00
Mounir Lamouri
bb7d3a80d5
Bug 716338 - Use FAIL_ON_WARNINGS in content/html/content/src. r=bz
2012-01-09 18:58:30 +01:00
Nicholas Nethercote
9dc2c72bd7
Bug 697335 - Another memory reporter for the startup cache. r=taras.
2011-12-18 16:20:36 -08:00
Nicholas Nethercote
5f03e241e2
Bug 697335 - Add nsBaseHashtable::SizeOfExcludingThis(). r=bz.
2011-12-18 14:39:47 -08:00
Ehsan Akhgari
92064e6d3f
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
Michael Wu
d2b70213ac
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
Eli Friedman
683883e106
Bug 573210 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron
2010-06-30 23:11:43 +02:00
Benjamin Smedberg
1fc4de7aed
Bug 570488 - Stop reading/writing xpti.dat and incrementally loading XPT files [1/2] r=Mossop
...
--HG--
extra : rebase_source : 9f28729c1032b516e8b950d29d80402e87759fda
2010-06-14 16:05:48 -07:00
Benjamin Smedberg
470d4ccbfb
Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent
2008-12-11 15:13:52 -05:00
Arpad Borsos
c72ef7d248
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
reed@reedloden.com
59d2451ae9
Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer]
2007-10-19 16:26:52 -07:00
reed@reedloden.com
b60e8823f4
Backout taras's check-in for bug 398435 to help find Tp regression.
2007-10-16 17:31:01 -07:00
tglek@mozilla.com
2145eeea65
Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer
2007-10-15 16:40:09 -07:00
jwalden@mit.edu
6d7584839a
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
db48x%yahoo.com
cc270ac04a
bug 356734: nsBaseHashtable.h casts a pointer to a PRBool, which gives an error in 64 bit gcc
...
r=dbradly, sr=biesi
2006-10-17 04:00:01 +00:00
darin%meer.net
20837f71e1
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
2006-03-30 18:40:56 +00:00
bsmedberg%covad.net
46015a79e0
Bug 229589 - nsBaseHashtable documentation obsolete r=dougt
2005-09-26 20:27:36 +00:00
bsmedberg%covad.net
3e7f90b006
Bug 212919 - Fix const issues in nsDataHashtable on MSVC7 (I'm surprised other
...
compilers didn't barf already!) r=swalker sr=scc a=asa
2005-08-11 19:43:21 +00:00
kyle.yuan%sun.com
e614556c54
Bug 209622 nsTHashtable cause bustage on Solaris with F6U2
...
r/sr=bsmedberg
The missed part in nsBaseHashtable.h, patch by harinath@cs.umn.edu
2005-08-11 19:43:17 +00:00
bsmedberg%covad.net
d67dbd48dc
Bug 209622 - bustage fix for stupid compilers (Sun WS and DEC OSF1) -
...
also remove unused configure test. r=dbaron sr=alecf
2005-08-11 19:43:16 +00:00
bsmedberg%covad.net
eaf415b72d
Bug 193031 fix category manager to use aPersist parameter. Bug 54639 Category Manager is not thread-safe. Bug 208437 separate threadsafe nsBaseHashtable into super-class nsBaseHashtableMT. r=dougt/alecf I know Sun Workshop builds are still broken... working on it.
2005-08-11 19:43:11 +00:00
bsmedberg%covad.net
0c2a7ccbbd
bug 206254 allow nsBaseHashtable::IsInitialized() and bug 206528 nsBaseHashtable should initialize mLock. r=alecf
2005-08-11 19:43:10 +00:00
bsmedberg%covad.net
da31414079
Fix ANSI-strict compiler errors using GCC 3.4 (from CVS). bug 201407 r=jkeiser sr=brendan a=sspitzer
2005-08-11 19:43:09 +00:00
bsmedberg%covad.net
7b548ee7c5
Fixing AIX bustage. r=jdunn a=mkaply/ycalonje
2005-08-11 19:43:08 +00:00
bsmedberg%covad.net
6c2bec5913
Bug 201034 non-const enumeration in nsBaseHashtable, add
...
nsTHashtable::RawRemove. Add a hashtable test-suite, and
clean up some codesize issues. Also fixes bug 203030 and
hopefully SunOS build bustage. r=jkeiser sr=alecf a=asa
2005-08-11 19:43:06 +00:00
bsmedberg%covad.net
bb4d10c5e3
bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf
2005-08-11 19:43:01 +00:00
jkeiser%netscape.com
d5274c3743
Templatized hashtable class by bsmedberg@covad.net (bug 180264), r=jkeiser@netscape.com, sr=alecf@netscape.com
2005-08-11 19:42:59 +00:00