benjamin%smedbergs.us
740b1a337e
Bustage fix, bug 338734
2006-05-22 14:56:00 +00:00
benjamin%smedbergs.us
6c4776a2bc
Bug 338734 - Make nsProxyRelease available to frozen-linkage code, r=darin
2006-05-22 14:19:13 +00:00
benjamin%smedbergs.us
6b72733532
friend declarations need the same declspec on windows, so to avoid complexity just make the semi-private data public
2006-05-19 23:00:22 +00:00
benjamin%smedbergs.us
0bca496fd6
Bug 337730 - add additional utilities to nsStringAPI, r=darin
...
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
2006-05-19 22:37:17 +00:00
darin%meer.net
720e8da3b7
fixes bug 337752 "gcc 3.2.2 generates bad code for nsRunnableMethod<T>" r=bsmedberg
2006-05-12 20:18:13 +00:00
darin%meer.net
5546eca278
fixing upload to a file channel and the win32 vc6 build bustage (out with NS_NewRunnableMethod and in with NS_NEW_RUNNABLE_METHOD)
2006-05-10 22:49:04 +00:00
darin%meer.net
d7a07a2772
fixes SunOS (putt) bustage
2006-05-10 18:27:21 +00:00
darin%meer.net
7d3e7d7acd
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
benjamin%smedbergs.us
896debf2b0
Bug 335248 - Add StringBeginsWith and several other functions to the frozen CRTGlue/stringapi, r=darin
2006-05-04 18:34:45 +00:00
benjamin%smedbergs.us
6cb145f253
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
benjamin%smedbergs.us
1da150a196
Bug 333308 - make clean/distclean misses various files, patch by Mike Hommey <mh+mozilla@glandium.org>, r=me
2006-04-28 14:54:54 +00:00
benjamin%smedbergs.us
8018c54539
Bug 335309 - Filehandle leak in XPCOMGlueLoadDependentLibs (found by coverity) - patch by Ryan Flint <rflint@dslr.net>, r=me+darin
2006-04-25 19:04:51 +00:00
benjamin%smedbergs.us
ecd28a8337
Re-land this part of bug 305949 now that I've configure-tested the broken compiler (bug 334866)
2006-04-21 17:16:31 +00:00
benjamin%smedbergs.us
891def4e94
Reverting this to use NS_VISIBILTY_DEFAULT because this exposed GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26905
2006-04-19 20:21:29 +00:00
benjamin%smedbergs.us
06474b13cc
Bug 305949 - Fix various XPCOM macros in preparation for stopping exporting nonfrozen XPCOM functions, r=darin sr=bryner
2006-04-19 16:29:31 +00:00
dbaron%dbaron.org
268a49156c
Make JSDHashTable/PLDHashTable assert when ops or enumeration callbacks mutate the table. b=334180 r=brendan
2006-04-18 18:30:50 +00:00
peterv%propagandism.org
55bc65e960
Fix for bug 333839 (nsTArray::SetLength doesn't increase array's length). r=bsmedberg, sr=darin.
2006-04-17 17:11:14 +00:00
benjamin%smedbergs.us
185c761605
Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin
2006-04-12 15:43:32 +00:00
darin%meer.net
5521781301
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
2006-03-30 18:40:56 +00:00
benjamin%smedbergs.us
c32e8e59af
Bug 325450 - nsGREGlue check of GRE_HOME needs to add /libxpcom.so, r=darin
2006-03-28 18:48:21 +00:00
benjamin%smedbergs.us
5f483e27f3
Bug 326491 - leaked observer service leaks things on shutdown - r=darin
2006-03-21 14:43:56 +00:00
bryner%brianryner.com
41e6c02b2f
Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin.
2006-03-15 04:59:42 +00:00
darin%meer.net
74dd53a91f
backing out bsmedberg's patch for bug 326491 to fix bug 329505.
2006-03-09 03:14:32 +00:00
benjamin%smedbergs.us
05825942c6
Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin
2006-03-04 14:04:05 +00:00
benjamin%smedbergs.us
54a2f1f6b7
Bug 329004 - Local (in-app-bundle) XULRunner framework finding broken, r=darin
2006-03-02 15:23:17 +00:00
cvshook%sicking.cc
e686e7b714
Bug 324918: Make nsHTMLSelectElement deal better with options in unknown children. r=bz sr=jst
2006-03-01 01:10:20 +00:00
darin%meer.net
23f482eaca
fixes bug 305987 "NS_WARN_IF_FALSE asserts" r=bsmedberg
2006-02-28 22:19:55 +00:00
benjamin%smedbergs.us
2cec3b98ff
Backout bug 313309 part 3 again due to gcc2.9x bustage and an ICE on MSVC6
2006-02-23 19:57:50 +00:00
benjamin%smedbergs.us
a33f6180dd
Bug 313309 part 3 - relanding now that all the mac tinderboxen have been upgraded to xcode 1.5+ - use a weak static data symbol for NS_GET_IID instead of an inline function. Have to use templates to trick compilers into emitting a weak symbol. r=shaver
2006-02-23 18:31:02 +00:00
darin%meer.net
2e3869b960
fixes bug 326603 "Enable use of tracerefcnt with derived classes" r=bsmedberg sr=dbaron
2006-02-21 22:49:00 +00:00
cvshook%sicking.cc
c2d3c62680
Bug 327256: Give nsCOMArray ability to preallocate storage space. r/sr=darin
2006-02-18 05:54:47 +00:00
dbaron%dbaron.org
a77c4856a6
Make refcount logging usable from C. b=317481 r=bsmedberg
2006-02-15 20:23:08 +00:00
benjamin%smedbergs.us
10ed2f1d36
Bug 325229 part 2 - Stub out the old exitroutine functions which are fatally flawed, r=darin
2006-02-13 16:08:55 +00:00
benjamin%smedbergs.us
f6933590f5
Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento
2006-02-10 18:23:52 +00:00
benjamin%smedbergs.us
da580e6a3c
Bug 325229 part 1 - standalone glue registers exit routine which is called after module unload; also fixes bug 317481 - C API for nsTraceRefcnt; also fixes bug 318622 - Make nsTraceRefcntImpl::SetActivityIsLegal work properly and turn it on; design review by dbaron, r=darin
2006-02-10 15:00:36 +00:00
darin%meer.net
77549a81cf
fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg (relanding)
2006-02-08 01:23:26 +00:00
darin%meer.net
862be27570
reverting last change since it makes vc6 unhappy.
2006-02-04 01:21:54 +00:00
darin%meer.net
c92881580c
fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg
2006-02-03 21:41:31 +00:00
pedemont%us.ibm.com
6f84983f54
Bug 325260 - On Mac OS X, XPCOMGlueLoadXULFunctions should search library's symbol table, not global symbol table. Also, use snprintf (instead of sprintf) on all platforms. r=bsmedberg, sr=mentovai.
2006-02-01 16:51:12 +00:00
darin%meer.net
944944ce57
fixes bug 324981 "nsTArray crash in RemoveElement" r=bsmedberg
2006-01-30 17:16:50 +00:00
mark%moxienet.com
142f6828fb
323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh
2006-01-23 20:11:08 +00:00
bzbarsky%mit.edu
859f54c998
Remove assertion that unnecessarily makes do_GetInterface less useful. Bug
...
323382, patch by Martijn Wargers <martijn.martijn@gmail.com>, r=darin,
moa=dougt, sr=bzbarsky
2006-01-21 22:24:27 +00:00
jag%tty.nl
71a5554adb
Bug 324124: nsCOMPtr can be constructed with const char* and nsID
...
r=bsmedberg, sr=dbaron
2006-01-21 11:23:32 +00:00
darin%meer.net
1b9df43bad
fixes bug 321997 "Minimize memory footprint of nsTArray object" r=sicking,bsmedberg
2006-01-10 20:38:54 +00:00
darin%meer.net
645a0a885e
fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
2006-01-02 02:30:32 +00:00
bsmedberg%covad.net
16f5e0bb71
Bug 320377 - XPCOM glue linking not enabled for SunOS, patch by Jens Hatlak <jh@junetz.de> r=me r=pete.zha
2005-12-16 15:51:15 +00:00
bsmedberg%covad.net
7e08538022
Bug 320449 - Make properties of GRE_GetGREPathWithProperties useful, r=darin; nsGREGlue.cpp supplementary logic fix r=#developers, earlier testing would have been good :-(
2005-12-16 14:58:57 +00:00
darin%meer.net
437a1f66e7
fixes bug 319068 "problems with older compilers" r=bsmedberg
2005-12-13 18:00:35 +00:00
bsmedberg%covad.net
3417e3d31f
Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732)
2005-12-13 17:55:43 +00:00
gerv%gerv.net
73c5dcdbe9
Bug 236613: change to MPL/LGPL/GPL tri-license. Correctly indent Contributors lines. <yawn>
2005-12-13 14:27:13 +00:00
darin%meer.net
7c63996b9c
fixes bug 319068 "nsTArray::IndexOf and friends should support an argument of another type" r=bsmedberg
2005-12-12 21:28:29 +00:00
bsmedberg%covad.net
0569ce2453
Re-land bug 318625 that was backed out accidentally with bug 316416 (r=darin)
2005-12-12 14:11:01 +00:00
bsmedberg%covad.net
28e61db7cc
Reverting bug 316416 due to Ts regression and mysterious monkey orange :-(
2005-12-03 15:27:17 +00:00
bsmedberg%covad.net
43aed2b3c8
Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin
2005-12-02 16:34:42 +00:00
jst%mozilla.jstenback.com
175fe145fe
Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2005-12-01 19:35:27 +00:00
bryner%brianryner.com
2365e05a33
Fix crashes when dealing with 0-sized arrays (bug 317959). Patch by darin, r+sr=me.
2005-11-28 20:27:42 +00:00
timeless%mozdev.org
3db428f6ac
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
darin%meer.net
22ddfeaaa2
fixes bug 316782 "Provide templatized array class" r=brettw,bsmedberg sr=bryner
2005-11-23 19:44:16 +00:00
pedemont%us.ibm.com
6116765186
Bug 312927 - fix Win32 registry comments in glue code. r=bsmedberg
2005-11-21 19:40:46 +00:00
pedemont%us.ibm.com
60fb3554b7
Bug 316098 - Add 'const' to function impl to fix linking issue and fix error check. r=bsmedberg
2005-11-21 19:36:15 +00:00
mkaply%us.ibm.com
836ec9014a
OS/2 version of 316098
2005-11-18 18:48:45 +00:00
bsmedberg%covad.net
181f10ab85
Bug 316098 - Need standalone glue functions for loading symbols from libxul, r=darin
2005-11-18 17:45:59 +00:00
bsmedberg%covad.net
d611b236bb
Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin
2005-11-18 14:18:49 +00:00
bsmedberg%covad.net
a7747c2992
Backing out bug 313309 part 3 due to various intermingled bustages.
2005-11-14 16:37:43 +00:00
bsmedberg%covad.net
ca0e0a4bd6
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
03ff0b8a3c
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
dff1dea638
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
6280e93a08
Fixing 314997. Fixing Sun Studio 9 bustage from bug 289010
2005-11-10 16:53:25 +00:00
bsmedberg%covad.net
041e5ac68a
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
2005-11-10 15:09:38 +00:00
bsmedberg%covad.net
123e65e0e5
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
2005-11-10 14:43:22 +00:00
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
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
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
bzbarsky%mit.edu
5e587fc996
nsCOMArray_base copy constructor should not assert. Bug 178534,
...
r=dougt, sr=alecf
2005-11-02 16:04:46 +00:00
mkaply%us.ibm.com
f276fcddc9
#177543
...
r=me, sr=bz
OS/2 build bustage - add explicit casts
2005-11-02 16:04:45 +00:00
bzbarsky%mit.edu
32a5133307
Add AppendObjects/InsertObjectsAt to nsCOMArray. Bug 175137,
...
r=timeless, sr=alecf, a=dbaron
2005-11-02 16:04:44 +00:00
bzbarsky%mit.edu
c8bb2ab86d
Make IndexOf a const method. Bug 174940, r=dougt, sr=alecf
2005-11-02 16:04:43 +00:00
varga%netscape.com
6a1573eb45
Fix for bug 174443. nsCOMArray::ApendObject() shouldn't addref
...
r=dougt, sr=alecf, a=asa
2005-11-02 16:04:42 +00:00
mkaply%us.ibm.com
f449844bf0
OS/2 bustage - need PR_CALLBACK
2005-11-02 16:04:41 +00:00
bbaetz%student.usyd.edu.au
cf8fc85bf2
Change the never-defined copy-constructor signature to refer to nsCOMArray<T>
...
instead of nsCOMArray. Should fix OS2 bustage, which noticed this because
it instantiates the function even when its not used
r=sicking, sr=mozbot, a=tinderbox
2005-11-02 16:04:40 +00:00
alecf%netscape.com
12469bd6f6
more work on bug 162115 - use "friend" to allow nsCOMArray<T>'s copy constructor to be protected, but still usable from nsArray
...
not part of build
2005-11-02 16:04:39 +00:00
alecf%netscape.com
d31dfe65d8
add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
...
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115
2005-11-02 16:04:38 +00:00
alecf%netscape.com
e3d65d86d6
- fix ReplaceObjectAt to properly account for existing null entries
...
- make nsCOMArray_base accessible from nsCOMArray<T> so that a nsCOMArray<T> can passed to NS_NewArray
for bug 162115, not part of build
2005-11-02 16:04:37 +00:00
alecf%netscape.com
faf8498d08
not part of build, more for bug 162115:
...
- fix some spelling, add documentation
- add NS_NewArray(), including one that takes an existing nsCOMArray<T>
- implement copy constructor for nsCOMArray_base, so that NS_NewArray can work
not part of build
2005-11-02 16:04:36 +00:00
alecf%netscape.com
08f5ef2664
match up some reviewers comments:
...
- tri-license with MPL, not NPL
- be consistent with policy on null in the array (it is allowed)
- move Clear() into implementation file, and hide static callback there too
- make sure to AddRef() on the way out of nsArray::IndexOf()
- handle failure of ReplaceElementAt more gracefully
bug 162115, not part of build yet
2005-11-02 16:04:35 +00:00
alecf%netscape.com
29453f3e5e
continuing work in progress on nsCOMArray<T> - take darin's suggestion and move all nsISupports-related code into a non-template base class nsCOMArray_base. This allows the generated template to be paper thin (or really, non-existent!)
...
Then, we move some of the non-trivial methods of this class into a .cpp file
2005-11-02 16:04:34 +00:00
waterson%netscape.com
36b5b9814c
Bug 94267. Clean up nsVoidArray::GrowArrayBy(), fixing a couple of crashers. r=rjesup, sr=brendan
2005-11-02 16:04:33 +00:00
waterson%netscape.com
6ad2daa92f
Fix mac bustage.
2005-11-02 16:04:32 +00:00
waterson%netscape.com
966f470745
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
86c2ae006c
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
kandrot%netscape.com
091b65c4da
r=kandrot@netscape.com, sr=waterson@netscape.com, a=asa@mozilla.org
...
removes a memset that sets zero bytes (so it did nothing)
2005-11-02 16:04:29 +00:00
hyatt%netscape.com
f3f52b9c62
Fix bug in void array's assignment operator. r=scc
2005-11-02 16:04:28 +00:00
jst%netscape.com
cb6363f05b
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
alecf%netscape.com
dd48e585b2
continue work-in-progress with freezable array.
...
Also introduce nsCOMArray<nsIFoo>
not part of build
2005-11-02 16:04:26 +00:00
mkaply%us.ibm.com
f25ee1b3f7
#43877
...
r=dougt, a=dougt
Using this pointer rather than other pointer causes crash
2005-11-02 16:04:25 +00:00
waterson%netscape.com
86fb96bdcc
Fix UMRs.
2005-11-02 16:04:24 +00:00
waterson%netscape.com
8e2f748a21
Fix leak I made. r=warren
2005-11-02 16:04:23 +00:00
waterson%netscape.com
af21c27074
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
35be53fca8
# 34082
...
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2005-11-02 16:04:21 +00:00
scc%netscape.com
c0c0a5208d
Fixing runtime assert bustage. r=pinkerton
2005-11-02 16:04:15 +00:00
bsmedberg%covad.net
4ae32201b6
Bug 314015 - nsComponentManagerUtils.h uses the wrong linking macros, SDK 1.8 is broken, r=darin
2005-10-27 19:01:51 +00:00
bsmedberg%covad.net
d6f11c8376
Bug 312569 - nsIVersionComparator doesn't always initialize stack structures properly, r=darin
2005-10-17 20:27:22 +00:00
dougt%meer.net
0e2f0990c3
Bug 307041. Fixing bustage on Solaris Studio 10 build. r=dbaron
2005-10-11 15:08:23 +00:00
bsmedberg%covad.net
ae707517f0
Bug 311253 - XPCOM glue dynamic linking on BSD platforms - patch by Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> r=me
2005-10-10 21:59:39 +00:00
bsmedberg%covad.net
0c417375e7
Bug 311352 - Mac XUL Framework is XUL.framework, not just XUL r=darin
2005-10-09 18:20:03 +00:00
bsmedberg%covad.net
e59ea0da5c
Bug 310976 - Treat 1.5.* as 1.5.infinity r=darin
2005-10-04 02:47:02 +00:00
bsmedberg%covad.net
754bf6d4e1
Additional orange fix for bug 308838 (API mismatch)
2005-09-30 14:35:24 +00:00
bsmedberg%covad.net
1465d42303
Bug 308838 - Seamonkey win32 installer builds fail to launch after installation (GRE badness) r=darin
2005-09-29 20:01:42 +00:00
bsmedberg%covad.net
a57d4a4356
Bug 229589 - nsBaseHashtable documentation obsolete r=dougt
2005-09-26 20:27:36 +00:00
neil%parkwaycc.co.uk
608636276d
Mingw bustage fix for bug 299992 r=bsmedberg,darin
2005-09-22 13:22:52 +00:00
bsmedberg%covad.net
fb6b0c28d6
Bug 299992 - Always return the XPCOM shared-library path when searching for a GRE, not the directory, r=darin
2005-09-15 17:49:51 +00:00
gerv%gerv.net
a656eecc05
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-09-13 18:40:56 +00:00
pkw%us.ibm.com
e897507d07
Bug 307478 - Build failure with syntax error in nsDebug.h - Fixes AIX build bustage.
...
Patch by Rupesh Thota <trupesh@in.ibm.com>
r=benjamin@smedbergs.us
2005-09-08 13:59:09 +00:00
bsmedberg%covad.net
008f048933
Bug 299992 (final patch!) - Allow glue-finding code to specify additional features such as toolkit=gtk r=darin
2005-09-01 12:33:47 +00:00
bsmedberg%covad.net
2beca1c9ce
Bug 306344 bustage fix: NS_COM_GLUE and NS_HIDDEN_() are not compatible, and we wanted NS_COM_GLUE here (verified by mrbkap)
2005-08-31 18:23:36 +00:00
bsmedberg%covad.net
8e7e3173cf
Bug 306334 - XULRunner debug doesn't link on mac r=darin/brendan
2005-08-31 17:20:09 +00:00
bsmedberg%covad.net
c1d0f53f2d
Bug 305992 - nsIVersionComparator broken in some circumstances (UMR) - patch by Justin Bradford <jabradford@gmail.com> r=shaver+me
2005-08-26 14:16:11 +00:00
bsmedberg%covad.net
181c95f971
Followup to bug 300731 - parse negative numbers properly - patch by Justin Bradford <jabradford@gmail.com> r=shaver (+me)
2005-08-25 12:14:13 +00:00
mkaply%us.ibm.com
db32959cb9
305281 r=dougt, a=mkaply - OS/2 Firefox doesn't start
2005-08-20 03:03:30 +00:00
bsmedberg%covad.net
9000da6291
Bug 304874 - Extensions don't work (on trunk) and some profile names don't work - r=dougt
2005-08-18 20:52:43 +00:00
pinkerton%aol.net
bb5f2faf8c
fix camino build bustage
2005-08-16 00:37:15 +00:00
bsmedberg%covad.net
7d3f39cb8b
Bug 299992 followup - open in binary mode on windows, and honor semicolon as a comment marker also r=shaver
2005-08-15 22:13:56 +00:00
bsmedberg%covad.net
b1280c03e0
Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin
2005-08-15 18:29:55 +00:00
bsmedberg%covad.net
4fb9cbf21d
Backout bug 299992 - too much odd platform-specific bustage
2005-08-11 22:07:08 +00:00
bsmedberg%covad.net
e9e90a981a
Bug 299992 - strdup requires <string.h> on windows (why not on mac, hrm?)
2005-08-11 21:17:14 +00:00
bsmedberg%covad.net
05e7df024f
Bug 299992 - On windows, nsINIParser methods must be NS_COM_GLUE (bustage fix)
2005-08-11 21:05:13 +00:00
bsmedberg%covad.net
cbcb043a5e
Bug 299992 - Two additional (forgotten) files - these are moved from xpcom/ds to xpcom/glue
2005-08-11 20:47:03 +00:00
bsmedberg%covad.net
b88aaf3d98
Bug 299992, the part before the actual work: move pldhash and the templatized hashtables into the glue (and drop the minor dependencies on NSPR), and centralize our various in-tree nsINIParser classes into the glue (does not affect the ones used for the various installers) r=brendan/darin a=chase/cbeard
2005-08-11 20:40:53 +00:00
bsmedberg%covad.net
1eecf09f3f
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
brendan%mozilla.org
327f6d529a
Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
2005-08-11 19:43:20 +00:00
cbiesinger%web.de
d26da78177
addressing the reviewer comments
2005-08-11 19:43:19 +00:00
cbiesinger%web.de
fffca884ab
bug 228794, r=bsmedberg sr=alecf
...
add nsInterfaceHashtable::GetWeak
2005-08-11 19:43:18 +00:00
kyle.yuan%sun.com
6e6a4fbd95
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
a6e421cd5a
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
darin%meer.net
496e526f01
fixes bug 241876 "nsIDHashKey does not define a KeyEquals method" r+sr=bsmedberg
2005-08-11 19:43:15 +00:00
bzbarsky%mit.edu
50218dcc9e
Get rid of another nsSupportsHashtable user, moving closer to "no raw addrefed
...
returns" nirvana. Bug 230092, r=bsmedberg, sr=darin
2005-08-11 19:43:14 +00:00
jshin%mailaps.org
c7a6056809
bug 226623: XFT build crashes on PLHashRawAdd. Switch to nsClassHashTable and add a new HashKeyType that duplicates a string in ctor. (r=bsmedberg, sr=bryner, a1.6=tor)
2005-08-11 19:43:13 +00:00
bsmedberg%covad.net
19e1c51b86
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
2005-08-11 19:43:12 +00:00
bsmedberg%covad.net
e845dca755
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
99be4ae677
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
ef5b479ea7
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
32e6ca9d60
Fixing AIX bustage. r=jdunn a=mkaply/ycalonje
2005-08-11 19:43:08 +00:00
bsmedberg%covad.net
e4c8095760
Fix for mac build bustage, with ccarlen. Cleanup from bug 201034.
2005-08-11 19:43:07 +00:00
bsmedberg%covad.net
1ca716e283
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
mkaply%us.ibm.com
68d6d7571d
OK, should be final - need PR_CALLBACK here
2005-08-11 19:43:05 +00:00
mkaply%us.ibm.com
99a0339004
Putting this back because I think it might break stuff - OS/2 will be broke however
2005-08-11 19:43:04 +00:00
mkaply%us.ibm.com
496f017855
One more PR_CALLBACK
2005-08-11 19:43:03 +00:00
mkaply%us.ibm.com
4dc402d077
OS/2 bustage - PR_CALLBACK stuff
2005-08-11 19:43:02 +00:00
bsmedberg%covad.net
8167a5c5f4
bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf
2005-08-11 19:43:01 +00:00
jkeiser%netscape.com
e3af36ec5c
Warning fixes (bug 200709), patch by bsmedberg@covad.net, r=jkeiser@netscape.com, sr=alecf@netscape.com
2005-08-11 19:43:00 +00:00
jkeiser%netscape.com
87a105cef2
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
neil%parkwaycc.co.uk
85c378965a
Bug 230707 nsRefPtrHashtable (like nsInterfaceHashtable but for refcounted objects of concrete types) r=bsmedberg sr=alecf
2005-08-11 19:42:51 +00:00
bsmedberg%covad.net
fb32b10557
Bug 304191 - VersionComparator is wrong comparing "1.2" and "1.2.2" - patch by Dave Townsend (Mossop), r+a=me, sr=shaver
2005-08-11 14:27:20 +00:00
bsmedberg%covad.net
4db8cc849d
Bug 303186 - MSVS2005 compilation error in nsXPCOMGlue.cpp - patch by Michael Moy <mmoy@yahoo.com> r=darin a=me
2005-08-09 21:22:58 +00:00
bsmedberg%covad.net
8c8a099b6d
Bug 303185 - const char* mismatch in VS2005 patch by Michael Moy <mmoy@yahoo.com> r=darin a=me
2005-08-09 19:23:29 +00:00
bsmedberg%covad.net
3c85759d0c
Bustage fix, bug 288954
2005-08-09 14:04:49 +00:00
bsmedberg%covad.net
980052ddf3
Bug 288954 - Make the non-inline members of nsID part of the glue, so that embedders don't link against C++ symbols by accident - r=darin a=shaver
...
This moves nsID.h|cpp from xpcom/base to xpcom/glue (CVS copies were performed)
2005-08-09 13:39:12 +00:00
gerv%gerv.net
bee6c40da9
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-08-09 00:20:35 +00:00