bsmedberg%covad.net
638b74d7bd
Backing out bug 313309 part 3 due to various intermingled bustages.
2005-11-14 16:37:43 +00:00
bsmedberg%covad.net
107e388551
The XPCOM glue cannot use NSPR, provisional r=bz to fix btek bustage until I can find an XPCOM peer.
2005-11-14 16:36:39 +00:00
bsmedberg%covad.net
afaacd8030
Bug 313309 part 3 - use static data symbol (it's a weak symbol, we're tricking compilers into emitting a weak symbol by using templates) for NS_GET_IID instead of an inline function, r=shaver. This may break some tinderboxen (in which case I'll backout), especially the old mac tinderboxen which haven't yet been upgraded from xcode1.1 to a newer version.
2005-11-14 15:07:07 +00:00
bsmedberg%covad.net
78f6d0683d
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
dougt%meer.net
204561082b
Fixing 314997. Fixing Sun Studio 9 bustage from bug 289010
2005-11-10 16:53:25 +00:00
bsmedberg%covad.net
ff089bf9db
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
2005-11-10 15:09:38 +00:00
bsmedberg%covad.net
a4d3866df3
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
2005-11-10 14:43:22 +00:00
bsmedberg%covad.net
d946f2be32
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
a7253270ad
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
smfr%smfr.org
062098477e
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
bsmedberg%covad.net
acf28ad4d1
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
ea28678a3e
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
1f2c89538d
Bug 312226: Fix minor things i missed in last patch.
...
r/sr=jag
2005-11-02 16:05:26 +00:00
bzbarsky%mit.edu
647141294a
nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
...
r=darin, sr=dbaron
2005-11-02 16:05:25 +00:00
cvshook%sicking.cc
d7faa72532
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
5479d46e5d
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
d19a0f5713
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
414673b72f
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
beabfb9291
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-11-02 16:05:20 +00:00
dbaron%dbaron.org
2904c7e9ed
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
8a516c2bc7
Make ReplaceObjectAt a little safer. Bug 227780, r=timeless, sr=alecf
2005-11-02 16:05:18 +00:00
timeless%mozdev.org
7550832d25
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
0b32a92e64
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
932310909a
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
f777369283
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
c2a2acec18
nsCOMArray should not use nsDerivedSafe. b=221525 r=bryner
2005-11-02 16:05:13 +00:00
bryner%netscape.com
ac7665be59
Correcting the description of the third argument to NS_QuickSort. r=dbaron.
2005-11-02 16:05:12 +00:00
jshin%mailaps.org
88e93316ef
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
4d70c5b7eb
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
d4b748fded
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
2221342506
fix build bustage
2005-11-02 16:05:08 +00:00
jshin%mailaps.org
aa34a67050
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
25c466b97e
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2005-11-02 16:05:06 +00:00
dougt%netscape.com
7bf5cd48d3
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
dc78f1a372
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
718da9b13c
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
7b10e797f3
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
8e7e7a12be
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
4f0357d604
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
dff8a8c59e
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2005-11-02 16:04:59 +00:00
blythe%netscape.com
088cd410a4
Fix bug 107270
...
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2005-11-02 16:04:58 +00:00
rjesup%wgate.com
af94a3aa23
Remove nsVoidArray:: from method defs
2005-11-02 16:04:57 +00:00
rjesup%wgate.com
072f6676ee
Bug 96108: Fix Win32/opt horkage (SizeOf()) in nsSmallVoidArray should be
...
#if dEBUG)
2005-11-02 16:04:56 +00:00
rjesup%wgate.com
3650d4c81e
Bug 96108: Additional assertions requested by jst. sr=jst
2005-11-02 16:04:55 +00:00
rjesup%wgate.com
ddf5c83e3c
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
ef62f4e1c6
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2005-11-02 16:04:53 +00:00
alecf%netscape.com
893b00159a
bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag
2005-11-02 16:04:52 +00:00
gerv%gerv.net
7c65a9b363
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
d96a423534
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
61a735c9a9
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