Mark Banner
e7e4bd8568
Bug 693949 - Drop nsCStringArray. r=bsmedberg
2011-10-28 08:35:45 +01:00
Ehsan Akhgari
478ad1a412
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
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Mark Banner
9cc9a9c2c8
Bug 642408 - Drop nsStringArray now that it is no longer used, r=bsmedberg
2011-03-23 15:13:41 -04:00
Ehsan Akhgari
6466627524
Bug 570657 - Make the order of releasing objects and removing them in nsCOMArray's consistent; r=shaver
2010-06-09 14:13:16 -04:00
Jonathan Watt
d11d2e6829
Bug 551299. Add a SetCount() method to nsCOMArray and nsVoidArray. r=bsmedberg.
2010-03-15 11:38:50 +00:00
Fred Jendrzejewski
cbc6639bab
Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
2009-01-22 17:15:34 +13:00
Arpad Borsos
1b55360c07
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
85156f0462
Fix -Wconversion warnings that prevent compiling netwerk/cookie/src/ (which makes warnings fatal) with gcc 4.3 on x86_64. b=409384 r=bsmedberg a=beltzner
2008-03-06 15:03:50 -08:00
a9d45ddcb3
Bug 292940 partial OOM audit for nsStringArray and nsCStringArray r=darin, r=bsmedberg, sr=mrbkap, a=mtschrep thanks to ryanvm@gmail.com for unbitrotting
2008-01-14 13:01:40 -08:00
98de634631
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
jruderman@hmc.edu
dcb7a7a50b
Bug 324911, use different error messages for out-of-range in ElementAt and FastElementAt. r+sr=sicking.
2006-09-06 00:22:52 +00:00
benjamin@smedbergs.us
fa111bf45b
Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
...
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
2006-05-03 16:11:14 +00:00
bsmedberg@covad.net
6413e50e76
Bug 289010 - Move nsVoidArray/nsCOMArray to the XPCOM glue, and a few other things to make the glue easier to use, r=shaver+darin . The following files were CVS-copied from xpcom/ds to xpcom/glue:
...
nsVoidArray.h
nsVoidArray.cpp
nsCOMArray.h
nsCOMArray.cpp
nsQuickSort.h
nsQuickSort.cpp
2005-11-02 20:38:21 +00:00
cvshook@sicking.cc
42011e1e1b
Bug 312226: Fix minor things i missed in last patch.
...
r/sr=jag
2005-11-02 16:05:26 +00:00
cvshook@sicking.cc
2d8c35e22a
Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
...
r=rjesup sr=jst
2005-11-02 16:05:24 +00:00
dbaron@dbaron.org
15baf1bca0
Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin
2005-11-02 16:05:21 +00:00
gerv@gerv.net
f13c2950dc
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-11-02 16:05:20 +00:00
jshin@mailaps.org
9b9859ac69
bug 229705 : CStringArray should accept |nsACString&| instead of |nsCString&|. r=mscott, sr=alecf (with darin, jst, dbaron helping)
2005-11-02 16:05:11 +00:00
jshin@mailaps.org
90e050fe1c
bug 229705: make CStringArray:CStringAt accept nsACString& as out param. (r=alecf, sr=bz)
2005-11-02 16:05:07 +00:00
dbaron@dbaron.org
d28602da60
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2005-11-02 16:05:06 +00:00
dougt@netscape.com
4dbed51d7c
Fixes many compiler warnings from xpcom/ds/nsVoidArray.h. r=dougt, sr=darin, patch=colin@theblakes.com, a=asa, b=166427
2005-11-02 16:05:05 +00:00
dbaron@fas.harvard.edu
bd3a80318c
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2005-11-02 16:05:04 +00:00
racham@netscape.com
d06aae4b90
Fixing bug 122309. Adding a new routine that can take a string and parse it on a delimiter to add elements to the nsCStringArray. r=dougt, sr=jag
2005-11-02 16:05:02 +00:00
dougt@netscape.com
9f26adf57d
1. Converts callers of nsIComponentManagerObsolete to use
...
nsIComponentRegistrar.
2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.
3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.
4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.
5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.
6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl. in
this way, the same base class can support both old style and new style
enumerations.
7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer. Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.
Bug 115853. r=dp@netscape.com , sr=rpotts@netscape.com
2005-11-02 16:05:00 +00:00
blythe@netscape.com
b1e58ee919
Fix bug 107270
...
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2005-11-02 16:04:58 +00:00
rjesup@wgate.com
687bec0781
Remove nsVoidArray:: from method defs
2005-11-02 16:04:57 +00:00
rjesup@wgate.com
0edf923ce9
Bug 96108: Fix Win32/opt horkage (SizeOf()) in nsSmallVoidArray should be
...
#if dEBUG)
2005-11-02 16:04:56 +00:00
rjesup@wgate.com
ea7df30ca7
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
2005-11-02 16:04:54 +00:00
dbaron@fas.harvard.edu
793ceba4e8
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2005-11-02 16:04:53 +00:00
alecf@netscape.com
571b42255b
bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag
2005-11-02 16:04:52 +00:00
gerv@gerv.net
b97050fe91
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2005-11-02 16:04:51 +00:00
waterson@netscape.com
8e353a6990
Bug 90545. nsVoidArray and nsSupportsArray cleanup. Patch submitted by rjesup@wgate.com, r=jst, sr=waterson.
2005-11-02 16:04:31 +00:00
rbs@maths.uq.edu.au
c1507da8f1
Add methods for in-place sorting of nsVoidArray and ns[C]StringArray using caller-provided comparator callback functions. b=88344 r=dbaron sr=scc
2005-11-02 16:04:30 +00:00
jst@netscape.com
03eb7c405d
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2005-11-02 16:04:27 +00:00
waterson@netscape.com
fe9ae268c7
Grow by power of two after reaching 16 elements; factor 'implementation' into a separate struct so the nsVoidArray object is one word when empty.
2005-11-02 16:04:22 +00:00
mkaply@us.ibm.com
a8c681e2b0
# 34082
...
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2005-11-02 16:04:21 +00:00
waterson@netscape.com
12303a6a1d
Bug 9489. Add support for nsAutoVoidArray. r=scc,shaver
1999-12-01 00:37:11 +00:00
dmose@mozilla.org
20621227af
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
valeski@netscape.com
67cca6e526
15590, r=kipp. added a nsCStringArray class so the cool string array functionality could be used for CStrings too. this checkin is *part* of a fix to the bug
1999-10-29 20:47:17 +00:00
kipp@netscape.com
7f5c6bec86
Reworked sizeof api's to be much more useful; updated implementations to match
1999-08-31 03:04:37 +00:00
dp@netscape.com
6dc8a899c6
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
alecf@netscape.com
abf4d72a59
fix virtual constructor problem
1999-05-04 20:50:24 +00:00
peterl@netscape.com
420eec000b
added nsStringArray
1999-01-23 06:58:34 +00:00
troy
e830c3f3e9
Added an additional constructor
1998-06-11 22:48:25 +00:00
kipp
2197fd41a4
Added SizeOf method
1998-06-05 21:38:36 +00:00
peterl
ccb6b73b39
added enumerate methods
1998-05-20 20:31:58 +00:00
kipp
4683c6f4c0
moved to pub
1998-04-13 20:24:54 +00:00