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