bsmedberg%covad.net
be9a220c32
Try to fix brad bustage by backing out these declarations, which aren't on the equivalent nsVoidArray symbols
2005-11-08 20:55:30 +00:00
bsmedberg%covad.net
1172c33dfc
Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree.
2005-11-08 18:17:49 +00:00
bsmedberg%covad.net
f863dad70b
Bug 315438 - Want nsTAString const char_type* BeginWriting() const; signature r=darin
2005-11-08 14:16:16 +00:00
dougt%meer.net
f5f736b3bd
Build/config changes to allow static xpcom link for Minimo. b=314880, r=dveditz.
2005-11-07 20:59:43 +00:00
dougt%meer.net
1e937de1a3
Build/config changes to allow static xpcom link for Minimo. b=314880, r=dveditz.
2005-11-07 19:08:03 +00:00
smfr%smfr.org
2254bafe1b
Fix bug 315246: nsGetInterface::operator() can use an uninitialized nsresult variable, if the source fails to implement nsIInterfaceRequestor (which fires an assertion in debug builds). r=dougt, sr=bzbarsky.
2005-11-06 18:31:09 +00:00
bzbarsky%mit.edu
e64707f230
Implement a in-place (no copy) CompareUTF8toUTF16, and use it to make the atom
...
hashtable lookups zero-copy. Patch by jst, bug 314465 (with lots of the
discussion in bug 277479), r=bsmedberg,dbaron,brendan (on the PLDHashTable
keyhash value assumptions), sr=bzbarsky, moa=shaver.
2005-11-04 19:52:18 +00:00
bsmedberg%covad.net
ea1cb71f29
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:39:39 +00:00
bsmedberg%covad.net
fabafe8410
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
gerv%gerv.net
080496ae3e
Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups.
2005-11-02 16:05:27 +00:00
cvshook%sicking.cc
e8546826a1
Bug 312226: Fix minor things i missed in last patch.
...
r/sr=jag
2005-11-02 16:05:26 +00:00
bzbarsky%mit.edu
b3322114f4
nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
...
r=darin, sr=dbaron
2005-11-02 16:05:25 +00:00
cvshook%sicking.cc
9553d3277e
Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
...
r=rjesup sr=jst
2005-11-02 16:05:24 +00:00
caillon%redhat.com
496208d872
Kill off nsComObsolete.h
...
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2005-11-02 16:05:23 +00:00
Olli.Pettay%helsinki.fi
dd0fbf625f
Bug 255792, nsSmallVoidArray::ReplaceElementAt does not work in the same way as nsVoidArray::ReplaceElementAt, r=rjesup,sr=alecf
2005-11-02 16:05:22 +00:00
dbaron%dbaron.org
c431366ba0
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
38ff5d49ce
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-11-02 16:05:20 +00:00
dbaron%dbaron.org
82cc7e433d
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:19 +00:00
bzbarsky%mit.edu
b04d4ee164
Make ReplaceObjectAt a little safer. Bug 227780, r=timeless, sr=alecf
2005-11-02 16:05:18 +00:00
timeless%mozdev.org
dfe35fbcbf
Bug 106386 Correct misspellings in source code
...
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose
2005-11-02 16:05:17 +00:00
seawood%netscape.com
726e8be040
Remove xp_core.h & xp_mem.h and all build references to them.
...
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2005-11-02 16:05:16 +00:00
sicking%bigfoot.com
e6a66af666
Bug 225507: Implement nsCOMArray::SafeObjectAt for out-of-bounds safe access.
...
r=bryner sr=alecf
2005-11-02 16:05:15 +00:00
bsmedberg%covad.net
21c841ce0f
Bug 212222 - Load default prefs from the GRE and from the application. r/sr=alecf/darin
...
NOTE: This is only the backend work necessary to load prefs. The actual separation of prefs into application/embedding will happen in another bug.
2005-11-02 16:05:14 +00:00
dbaron%dbaron.org
58618cb325
nsCOMArray should not use nsDerivedSafe. b=221525 r=bryner
2005-11-02 16:05:13 +00:00
bryner%netscape.com
549507b762
Correcting the description of the third argument to NS_QuickSort. r=dbaron.
2005-11-02 16:05:12 +00:00
jshin%mailaps.org
67638ecdf3
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
dougt%meer.net
562bac8f06
add Sort() to nsCOMArray. Patch from ari the_great_spam_bin@yahoo.com. r=alecf, b=211535
2005-11-02 16:05:10 +00:00
neil%parkwaycc.co.uk
100f075a91
Bug 198685 need nsCOMArray function like IndexOf that checks COM object identity p=bsmedberg@covad.net r=alecf (no sr needed)
2005-11-02 16:05:09 +00:00
bzbarsky%mit.edu
b0a45e4a36
fix build bustage
2005-11-02 16:05:08 +00:00
jshin%mailaps.org
0433a8ff30
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
e1d666b76b
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2005-11-02 16:05:06 +00:00
dougt%netscape.com
c7b7d950ac
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
fbcc0ac4be
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
cathleen%netscape.com
3ad3d60c41
eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
2005-11-02 16:05:03 +00:00
racham%netscape.com
38678fcafb
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
cathleen%netscape.com
8d57d8c401
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
2005-11-02 16:05:01 +00:00
dougt%netscape.com
03d8aa909c
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
cathleen%netscape.com
76d0de1185
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2005-11-02 16:04:59 +00:00
blythe%netscape.com
00e4d1adc5
Fix bug 107270
...
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2005-11-02 16:04:58 +00:00
rjesup%wgate.com
3e60b6f7c1
Remove nsVoidArray:: from method defs
2005-11-02 16:04:57 +00:00
rjesup%wgate.com
585c87203b
Bug 96108: Fix Win32/opt horkage (SizeOf()) in nsSmallVoidArray should be
...
#if dEBUG)
2005-11-02 16:04:56 +00:00
rjesup%wgate.com
5bf52466e2
Bug 96108: Additional assertions requested by jst. sr=jst
2005-11-02 16:04:55 +00:00
rjesup%wgate.com
e779a74a25
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
0978688333
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2005-11-02 16:04:53 +00:00
alecf%netscape.com
69c4f40601
bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag
2005-11-02 16:04:52 +00:00
gerv%gerv.net
846e640dde
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2005-11-02 16:04:51 +00:00
rjesup%wgate.com
8712de15d3
Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
...
r=pierre r=jband/dbradley Also fixes some whitespace issues.
2005-11-02 16:04:50 +00:00
alecf%netscape.com
4678c4c82b
fix an assertion from nsCOMArray where ReplaceElementAt() wouldn't property extend the array because we were just using ObjectAt()
...
residual stuff from bug 197827, which caused an assertion browsing frame
patch by keeda@hotpop.com , r/sr=alecf
2005-11-02 16:04:49 +00:00
sicking%bigfoot.com
33ca821d9e
Bug 162115: Make nsCOMArray return nsDeriviedSafes to avoid bad addrefs/releases
...
r=bz sr=alecf
2005-11-02 16:04:48 +00:00
bzbarsky%mit.edu
44aca08ea8
Make the nsCOMArray destructor release all the objects. Bug 178813,
...
r=bbaetz, sr=rpotts
2005-11-02 16:04:47 +00:00