Граф коммитов

915 Коммитов

Автор SHA1 Сообщение Дата
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
jst%netscape.com 44358c1363 Backing out the change to use memcmp() for comparing ID's. r=jaggernaut@netscape.com, sr=alecf@netscape.com, a=dbaron@dbaron.org. 2005-08-09 00:20:34 +00:00
alecf%netscape.com a3f4aeef98 hmmm...backing out my change on unix only to if memcmp() is actually SLOWER
(its faster on windows!)
2005-08-09 00:20:33 +00:00
alecf%netscape.com 5382e29b03 fix bug 164540 - make nsID::Parse faster by using memcmp
r=bbaetz, sr=darin
2005-08-09 00:20:32 +00:00
dougt%netscape.com f7ab2e0fab 127093. adds nsID.h nsISupportsBase.h nscore.h to sdk. r=seawood, sr=alecf,rpotts, a=shaver 2005-08-09 00:20:31 +00:00
gerv%gerv.net c46834b6b5 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2005-08-09 00:20:30 +00:00
bratell%lysator.liu.se d8507e0dd8 Fixing mac breakage. It seems as if the mac compiler actually follows the C++ standard. 2005-08-09 00:20:29 +00:00
bratell%lysator.liu.se cf2a9ad5c7 Bug 29241, nsID::Parse used scanf to parse UUID:s which was very slow. This custom parsing should shave 1.6% of mozilla startup time. r=jag sr=jband 2005-08-09 00:20:28 +00:00
alecf%netscape.com ba8ce6f2a1 fix purify errors - uninitialized memory on poorly formatted CID strings, and FMM on nsString::fputs
r=waterson, scc a=waterson
2005-08-09 00:20:27 +00:00
dougt%netscape.com 8af42f87e8 Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281 2005-08-09 00:20:25 +00:00
waterson%netscape.com 09af7a5252 Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2005-08-09 00:20:24 +00:00
mkaply%us.ibm.com 508a985ff6 #303623
r/sr/a=mkaply - OS/2 only
From Peter Weilbacher - add a cast so GCC 335 works
2005-08-06 00:53:10 +00:00
bsmedberg%covad.net ffb806ca15 Bug 301043 - SeaMonkey application quits immediately after launch (installer with GRE only), r=darin, self-approved (seamonkey only) 2005-07-26 14:12:38 +00:00
bsmedberg%covad.net be61801fba Bug 299991 - XULRunner stub executable, r=darin a=shaver 2005-07-25 22:16:56 +00:00
bsmedberg%covad.net 4f52d8d473 Bustage fix, remove extra semicolon 2005-07-23 15:35:31 +00:00
bsmedberg%covad.net e373887d61 Bug 300731 - Change app/extension version scheme going forward, r=darin+shaver a=shaver 2005-07-23 14:05:25 +00:00
bsmedberg%covad.net df550d0124 Bug 296561 - rework static component loading so that nsIXULAppInfo/Runtime/etc are available during autoregistration/xpcom-startup notification (and make static component loading saner in general) - r=shaver+dougt, a=asa 2005-07-21 13:33:43 +00:00
pkw%us.ibm.com 070fd5413e Bug 298044 - Dynamically load important dependent libs for embedders so that they don't have to setup the environment - AIX support patch
r=benjamin@smedbergs.us, a=benjamin@smedbergs.us
2005-07-21 03:30:09 +00:00
cbiesinger%web.de 6dd0bb52e9 Bug 301219 Remove rm hack from glue Makefile
r+a=bsmedberg
2005-07-18 19:03:42 +00:00
bsmedberg%covad.net 9bbfb2ed81 Bustage fix from bug 298044 2005-07-15 12:27:13 +00:00
bsmedberg%covad.net 6fa89114cc I forgot two files from bug 298044 yesterday: it is rather amazing that this didn't break anything, still r=darin a=asa 2005-07-15 12:07:47 +00:00
bsmedberg%covad.net 456c4733df Bustage fix from bug 298044 - older and non-GNU toolchains don't define RTLD_DEFAULT and it is not necessary anyway, r=darin 2005-07-15 11:47:42 +00:00
bsmedberg%covad.net 28689c6ab0 Bug 298044 - Dynamically load XPCOM dependent libs as part of the XPCOM standalone glue bootstrap process, r=darin a=asa 2005-07-14 18:42:59 +00:00
bsmedberg%covad.net 579aeb917f Bug 299664 - add support for XPCOM_GLUE_USE_NSPR for various embedders who need to continue using the THREADSAFE_ISUPPORTS macros and don't care about the NSPR dependency, r=darin a=asa 2005-07-07 15:40:24 +00:00
bsmedberg%covad.net e5d57face6 Bug 298047 - Drop the dependencies of the XPCOM standalone glue on NSPR, try #2 - Re-landing this in such a way that we're not going to break non-xulrunner builds on mac with xcode < 1.5 until we have the tinderboxen and official build instructions upgraded properly (see the XXXNote in xpcom/sample/Makefile.in, and the continued ifdef MOZ_ENABLE_LIBXUL hack in config/autoconf.mk.in around MOZ_FIX_LINK_FLAGS). r=darin a=asa 2005-07-01 12:24:07 +00:00
bsmedberg%covad.net a451abf58c Backout bug 298047 per Chase as it breaks some downrev mac systems unexpectedly. 2005-06-30 02:04:23 +00:00
bsmedberg%covad.net cb788637a5 Bug 298047 - bustage fix 2005-06-29 19:08:57 +00:00
bsmedberg%covad.net 94e08bd10b Bug 298047 - Drop the dependencies of the XPCOM standalone glue on NSPR (this patch covers everything except dynamic linking) r=darin a=asa (The file xpcom/sample/nsTestSample.cpp moved to xpcom/sample/program/nsTestSample.cpp) 2005-06-29 18:53:30 +00:00
bsmedberg%covad.net 406f7e41d6 Bug 297923 - Make the standalone glue work on mac, and write GRE-finding code which looks for our new XUL framework, and make our new XUL framework. r=jhpedemonte+darin a=chofmann 2005-06-23 16:55:52 +00:00
bsmedberg%covad.net 95a9d76d3c Bug 224305 part "*nix" - register xulrunner as a GRE with xulrunner -register-global and -register-user - r=darin a=asa 2005-06-16 13:29:45 +00:00
bsmedberg%covad.net 106166389b Re-land bug 224305 part "windows" - Separate GRE (xulrunner) registration from the installer scripts, r=darin a=asa. The first patch accidentally contained some extraneous changes to the static component loader which are for a different bug. 2005-06-13 16:45:22 +00:00
bsmedberg%covad.net 70a510fcfa Backout bug 224305 due to unexplained tbox orange (probably has something to do with static builds?) 2005-06-10 21:01:40 +00:00
bsmedberg%covad.net 5e9acb1dee Use more headers for linux, from bug 224305 2005-06-10 19:38:22 +00:00
bsmedberg%covad.net 7a3de0c3d7 Bug 224305 part "windows" - Separate GRE (xulrunner) registration from the installer scripts, r=darin a=asa 2005-06-10 19:21:27 +00:00
timeless%mozdev.org ceb559d09a Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=timeless rs=brendan a=chofmann
2005-06-03 10:26:28 +00:00
darin%meer.net 5c10186313 fixes bug 288786 "Add BeginWriting equivalent to frozen string API" r=biesi sr=dbaron a=asa 2005-04-27 01:38:35 +00:00
timeless%mozdev.org e7766b3c6f Bug 281692 nsXPCOMGlue.cpp acts incorrectly on Environment Value (XPCOM_SEARCH_KEY)
bugspam.Callek@gmail.com r=shaver sr=shaver a=caillon
2005-04-21 16:48:07 +00:00
bsmedberg%covad.net 564337d16d Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin 2005-04-06 03:35:24 +00:00
dougt%meer.net d258f3e99d bug 280245. WinCE build and support changes. r=darin 2005-01-30 21:33:47 +00:00
cvshook%sicking.cc 0b0ba29712 Bug 234858: Make do_GetWeakReference typesafe.
r=dbaron sr=bryner
2005-01-24 22:59:27 +00:00
silver%warwickcompsoc.co.uk ac97d37458 Bug 278306 - Cleanup comparison in GRE_GetCurrentProcessDirectory.
r=dougt
p=116057@bacon.qcc.mass.edu (Justin Wood)
2005-01-16 18:19:29 +00:00
dougt%meer.net 844beb1e9d Fixes bug 260209: Debug macros (NS_ASSERTION etc.) not followed by a ';' should produce a compiler error also in non-debug builds. Patch by Dr. Hans-Andreas Engel. r=dougt, sr=Henry.Jia@sun.com. 2005-01-14 00:44:46 +00:00
darin%meer.net d341415164 fixes bug 278307 "When GRE_HOME is set, #ifndef XP_WIN32 and #ifndef XP_UNIX we return null unexpectedly" patch by callek, r+sr=darin 2005-01-14 00:02:06 +00:00
darin%meer.net aea7cd21bf fixes bug 278306 "Possible unexpected truncation of path in GRE_GetCurrentProcessDirectory" patch by callek, r+sr=darin 2005-01-14 00:00:56 +00:00
dougt%meer.net 5de22a6f27 Fixing bug 276512. Patch by hhschwab@gmail.com; r=me 2005-01-09 18:45:09 +00:00
brendan%mozilla.org ab41ed5407 Whitespace cleanup (diff -w shows no changes). 2004-12-27 03:23:01 +00:00
bryner%brianryner.com 7aa7175e61 Remove unused labels pointed out by dbaron. 2004-11-24 23:12:18 +00:00
bryner%brianryner.com 1435145ce6 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
darin%meer.net 62c756a89a fixing MingW / GCC 3.4 build bustage 2004-11-23 22:19:13 +00:00
darin%meer.net 373f51f2c6 fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
darin%meer.net b27f57bde0 fixes bug 264274 "support dependent strings in frozen string API" r=biesi sr=bsmedberg 2004-11-16 04:44:57 +00:00
bsmedberg%covad.net a4ecbd3e41 Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver 2004-11-12 19:26:37 +00:00
darin%meer.net fb118993e7 fixes bug 266006 "xpcom/glue should not declare methods with NS_COM" r=bsmedberg 2004-10-29 19:43:51 +00:00
darin%meer.net 1f7e55036d Applying fix for smoketest blocker, bug 266214 "Browser will not start after install (xpcom_core.dll not found)" 2004-10-27 08:10:40 +00:00
neil%parkwaycc.co.uk 170e4b90b8 Bug 253941 Compilers that know about explicit constructors should be able to stop you from assigning nsISupports and derived pointers directly into incompatible nsCOMPtrs r=scc sr=dbaron 2004-10-25 21:45:00 +00:00
darin%meer.net fb3826168b landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
dbaron%dbaron.org 785eebe14f Reduce code size and work done by do_GetInterface by removing unneeded inline nsCOMPtr. Pointed out by Bernard Alleysson <balleysson@bigfoot.com>. b=264456 r=darin 2004-10-15 18:03:35 +00:00
dbaron%dbaron.org 438736696c Reduce code size of do_GetService by moving an nsCOMPtr and QueryInterface out of the part that's done inline. b=264456 r=darin 2004-10-15 17:44:30 +00:00
dbaron%dbaron.org f26ae219a5 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
timeless%mozdev.org dda45f3d1c fixing url. suggested by jw6057@bacon.qcc.mass.edu 2004-08-25 06:38:18 +00:00
darin%meer.net 8cc273cc11 fix uninitialized variable warning (does not correspond to a real bug) 2004-07-29 13:48:08 +00:00
darin%meer.net 512b02924a fix for bug 240986 "XPCOM sample fails to start inside xpcshell" r=bsmedberg,dougt 2004-07-19 19:27:24 +00:00
gerv%gerv.net 7043d82836 Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups. 2004-07-16 19:09:02 +00:00
bryner%brianryner.com 377380315d Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
darin%meer.net 5aab09f9cb landing patch for bug 239716 "inout wstring methods are difficult to implement with nsEmbedString" patch by marco@gnome.org r=darin sr=dbaron 2004-04-20 00:21:34 +00:00
gerv%gerv.net 6f486a3c92 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net 857768dd22 fixes bug 239123 "exported functions in nsStringAPI.h should be frozen for 1.7 final" r=bsmedberg sr=dbaron a=asa 2004-04-11 20:52:32 +00:00
darin%meer.net 736ef23a06 bustage fix for WIN32 debug seamonkey build, see bug 238088 2004-04-02 09:16:36 +00:00
darin%meer.net 90dea5a70d fixes bug 239303 "provide basic string conversion routines for the Gecko SDK" r=bsmedberg sr=dbaron a=chofmann 2004-04-01 20:47:48 +00:00
bsmedberg%covad.net 168f7225da Bug 236101 - flatten the directory structure of the embedding SDK. Consensus from dougt/adamlock/blizzard r=cls a=mkaply 2004-03-23 20:58:21 +00:00
cls%seawood.org d12bd0dac7 Fix mingw 3.3.1/3.3.3 bustage.
Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Remove dllimport/dllexport declarations from all nsXPTCStubBase functions and just export the class itself.
Bug #226609 r=shaver/swalker sr=dbaron a=chofmann
2004-03-16 08:07:25 +00:00
cls%seawood.org b3977b384a Backing out changes from bug 226609. MSVC is being uncharacteristically picky. 2004-03-16 00:59:29 +00:00
cls%seawood.org 19e016c009 Fix mingw 3.3.1/3.3.3 bustage. Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Bug #226609 r=shaver sr=dbaron a=chofmann
2004-03-15 23:47:04 +00:00
bryner%brianryner.com 999f5bfe84 Mark NS_ENSURE_TRUE failure as unlikely. Bug 236753, r+sr=dbaron. 2004-03-09 00:46:55 +00:00
sicking%bigfoot.com c5fc880aab Bug 234725: Make create a special mechanism for nsQueryInterface rather then having it implement nsCOMPtr_helper to save codesize in callers of do_QueryInterface.
r=bryner sr=alecf
2004-03-04 23:04:27 +00:00
darin%meer.net 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com 0cf1253322 Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes. 2004-02-04 04:55:57 +00:00
bryner%brianryner.com 6c7448b0e3 Make NS_IMETHOD set hidden symbol visibility by default on ELF platforms. This is always desirable for virtual methods implemented in XPCOM component libraries, since it's impossible to reference the symbol from outside of the library. The behavior can be overridden as needed, such as a base class in a shared library that's linked against. For more details, see the comments in nscore.h and bug 227537. r=dbaron, sr=darin. 2004-02-03 08:32:33 +00:00
bryner%brianryner.com 8201c0cef1 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
bryner%brianryner.com bc829daafa Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
dbaron%dbaron.org 93497517b6 Remove include of stdio.h from nsTraceRefcnt.h. b=227074 r=dougt sr,a=brendan 2003-12-12 23:02:12 +00:00
dbaron%dbaron.org e20ca858dd Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa 2003-11-29 18:56:10 +00:00
bsmedberg%covad.net 972762c71f Fix build bustage, r=biesi. 2003-11-25 20:12:20 +00:00
bsmedberg%covad.net c91d113e34 Bug 226011 - Stop bogus warning in nsGREDirServiceProvider::GetFile
r=dougt a1.6b=mkaply
2003-11-25 19:42:00 +00:00
timeless%mozdev.org 7c4542d139 Bug 223900 GRE Bustage (AIX, BEOS)
Second attempt
2003-11-17 11:26:07 +00:00
timeless%mozdev.org fa10d70500 Bug 223900 - GRE Bustage (BEOS)
/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp: In function `PRBool GRE_GetCurrentProcessDirectory(char *)':
 /boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: `buf' undeclared (first use this function)
 /boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: (Each undeclared identifier is reported only once
 /boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: for each function it appears in.)
2003-11-17 10:27:12 +00:00
timeless%mozdev.org 83ea87b978 Bug 223900 GRE Bustage (AIX, BEOS)
"/usr/include/sys/param.h", line 91.9: 1540-0848 (S) The macro name "MAXPATHLEN" is already defined with a diff
erent definition.
 "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.h", line 47.
9: 1540-0425 (I) "MAXPATHLEN" is defined on line 47 of "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpco
m/glue/standalone/nsGREDirServiceProvider.cpp".
 gmake[5]: *** [nsGREDirServiceProvider.o] Error 1
2003-11-17 10:25:46 +00:00
bsmedberg%covad.net d9ee8f8de4 Bug 223900 - Clean up MFCEmbed to use the GRE properly (don't link against xpcom.dll), and make the GRE glue libs more embedder-friendly and flexible. r=adamlock/dougt sr=dougt 2003-11-17 06:13:49 +00:00
bryner%brianryner.com c0856a8b98 Re-enable nsCOMPtr_base on gcc 3.x, and use the may_alias attribute for mRawPtr to avoid strict aliasing problems on gcc 3.3+. Bug 212082, r=darin, sr=dbaron. 2003-11-13 07:37:14 +00:00
dbaron%dbaron.org cb8ec8781a QueryInterface implementations shouldn't null-check out parameter. b=215352 r=dougt 2003-11-11 21:51:02 +00:00
dbaron%dbaron.org 29bd71c3c0 Incorrect test in previous checkin. b=220291 2003-10-23 02:29:47 +00:00
dbaron%dbaron.org 41fea65961 Combine NSCAP_FEATURE_FACTOR_DESTRUCTOR and NSCAP_FEATURE_DEBUG_PTR_TYPES into NSCAP_FEATURE_USE_BASE to fix leaks when mixing builds compiled in different ways. b=220291 r=scc sr=bryner a=asa 2003-10-22 23:29:00 +00:00
pkw%us.ibm.com ae2df495d0 Bug 221422 - Unix builds after 2003/09/13 don't start when run with a
relative path.
r=darin@meer.net, sr=dougt@meer.net
2003-10-20 17:57:52 +00:00
bryner%brianryner.com 60df7932e0 Make nsCOMPtr operator== work correctly with multiple inheritance (bug 221316). r=dbaron, sr=darin. 2003-10-07 20:43:34 +00:00
dbaron%dbaron.org 2c61e556f4 Do not use nsCOMPtr_base with gcc3, since doing so violates aliasing rules. b=212082 r=scc sr=bryner 2003-09-25 05:43:42 +00:00
bsmedberg%covad.net 3c7f6e517d Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
dougt%meer.net 2457226054 Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron 2003-08-05 05:29:10 +00:00
cls%seawood.org fa583876c2 Fix VPATH build problem with cygwin make 3.80:
* Force use of native cygwin paths & cygwin_wrapper
* Remove _NO_AUTO_VARS mess
* Use full source path when calling win32 compiler so debugging info shows up
* Change DEPENDENT_LIBS to use an intermediate header file instead of commandline define
Bug #210393 r=leaf sr=bryner
2003-08-05 04:43:49 +00:00
mkaply%us.ibm.com 56dc425c51 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-22 18:38:01 +00:00
dougt%meer.net 430d565fb2 Missing control path return value 2003-07-08 20:03:35 +00:00
dougt%meer.net 4a0222e731 Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron. 2003-07-07 22:11:36 +00:00