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

7403 Коммитов

Автор SHA1 Сообщение Дата
bsmedberg%covad.net 448479d2a7 Go back to not-unloading component DLLs because of balsa orange :-( 2005-12-02 20:27:52 +00:00
bsmedberg%covad.net 0064770824 Fix a logic error caught by the MSVC compiler and an initializer error, bug 316416 2005-12-02 17:38:18 +00:00
bsmedberg%covad.net 28e3019754 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 7223904a81 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
dougt%meer.net f9ffa2acdb add option to disable fastload. Bug 194308. r=benjamin 2005-12-01 17:37:21 +00:00
bsmedberg%covad.net 1b077c22fa Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin 2005-11-30 18:51:27 +00:00
bsmedberg%covad.net e59876d64f nsDirectoryServiceUtils.h uses nsIFile without including it, rs=shaver 2005-11-30 18:02:27 +00:00
jst%mozilla.jstenback.com 8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
bryner%brianryner.com 767508e177 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 f175783805 Bug 317962 make stack walking code not reinit in a way that fails and improve stack bottom detection
r=dougt
2005-11-28 17:15:52 +00:00
timeless%mozdev.org 9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org eb9350f619 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
darin%meer.net 2943b93b4b Backing out last change to resolve SunOS bustage (bug 316782) 2005-11-24 08:46:56 +00:00
darin%meer.net ba9e9cba22 prevent "nsTArray< nsAutoPtr<T> >", which could easily lead to problems. bug 316782 r+sr=jag 2005-11-24 00:10:59 +00:00
bsmedberg%covad.net 20b7e83c42 Backing out the rest of 316414 due to persistent orange. 2005-11-23 21:37:16 +00:00
bsmedberg%covad.net a8cdc34752 Backing out even more of bug 316414 to try and fix orange. 2005-11-23 20:21:46 +00:00
darin%meer.net b69c78251e fixes bug 316782 "Provide templatized array class" r=brettw,bsmedberg sr=bryner 2005-11-23 19:44:16 +00:00
bsmedberg%covad.net c7ae450ab8 Reverting part of bug 316414 to see if this fixed tbox orange. 2005-11-23 18:15:42 +00:00
bsmedberg%covad.net 7763650163 Bustage fix, bug 316414 part 1. 2005-11-23 14:41:41 +00:00
bsmedberg%covad.net f53711438a Bug 316414 part 1 - Add "xpcom-shutdown-threads" and "xpcom-shutdown-loaders" notifications during XPCOM Shutdown, r=darin 2005-11-23 14:32:18 +00:00
jshin%mailaps.org 29c5a75f9a bug 317281 : Make UCS4 to High/Low surrogate pair a little bit more efficient (r=smontagu, sr=bz) 2005-11-22 07:48:49 +00:00
mark%moxienet.com 81710bf983 Bug 317345, nsLocalFile(OSX)::IsHidden is broken garbage. Use kFSCatInfoFinderInfo to obtain Finder attributes. r=josh sr=smfr 2005-11-22 05:09:38 +00:00
dougt%meer.net 535f355882 Aaron Reed and I are unsure of this patch, but it does fix a Windows CE bustage. From my reading, arm pushing 4, not 3. Aaron introduce a patch which keyed on 3 instead of four. 2005-11-22 02:39:40 +00:00
vladimir%pobox.com 0c036ccbf2 windows sdk missing include fix 2005-11-21 21:32:36 +00:00
vladimir%pobox.com 5e3e04251d b=279521, add a way to generate UUIDs, r=darin,sr=shaver 2005-11-21 21:01:45 +00:00
pedemont%us.ibm.com e86b1e7d7f Bug 312927 - fix Win32 registry comments in glue code. r=bsmedberg 2005-11-21 19:40:46 +00:00
pedemont%us.ibm.com c8f4c8ee7d 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
timeless%mozdev.org 98c84e24ac Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
bzbarsky%mit.edu 7d7e006845 Make definition match declaration for AppendUCS4ToUTF16. Bug 316859, patch by
Greg Onufer <gonufer@yahoo.com>, r+sr=bzbarsky
2005-11-20 19:21:48 +00:00
bsmedberg%covad.net bc63a700d1 Followup to bug 316732 - impls actually have to QI to the interface (pointed out by bz) 2005-11-18 20:12:46 +00:00
mkaply%us.ibm.com a1636b7734 OS/2 version of 316732 2005-11-18 18:54:19 +00:00
mkaply%us.ibm.com a332149f43 OS/2 version of 316098 2005-11-18 18:48:45 +00:00
bsmedberg%covad.net 9cee99cddd Bug 316098 - Need standalone glue functions for loading symbols from libxul, r=darin 2005-11-18 17:45:59 +00:00
bsmedberg%covad.net c0af4ff1aa 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
ginn.chen%sun.com 54c8b5d7fc Bug 295306 Firefox is unusable in solaris x86 using Sun SOS10 compiler.
patch maker=brian.lu@sun.com r+sr=darin
2005-11-18 03:37:58 +00:00
brettw%gmail.com cf305a077d Bug 316869, r+sr=darin
Convenience function: nsEscape with CString
2005-11-17 19:28:05 +00:00
bzbarsky%mit.edu 11d61012cd Fix stupid mistake in previous commit. Bug 316394, caught by smontagu 2005-11-17 15:13:25 +00:00
dougt%meer.net d5b7ea310f Fixes mem leak in nsPersistentProperties::Enumerate. Bug 305208. r=dougt, sr=bsmedberg, patch=chpe@gnome.org 2005-11-16 21:27:11 +00:00
bzbarsky%mit.edu 776e34abab Fix HashCodeAsUTF8 to work properly for non-BMP stuff, and update it to the
current UTF8 spec.  Bug 316573, r=smontagu, sr=jst
2005-11-16 02:31:54 +00:00
darin%meer.net 51cb6a3b78 fixes bug 315786 "Make the functions defined in nsEscape.h more useful" r=biesi 2005-11-15 21:41:57 +00:00
bsmedberg%covad.net 18f06c31b3 Bug 316558 - Stop implementing a few old nsIComponentManagerObsolete methods, r=darin 2005-11-15 20:15:05 +00:00
bzbarsky%mit.edu add8c53fcc Fix build bustage. Bug 316394 2005-11-15 19:18:26 +00:00
bzbarsky%mit.edu 79da4ded63 Move some basic macros for working with UTF16 from intl to XPCOM; use them in
some places including the HTML parser.  Part of fix for bug 316394; the CSS
parser changes are still coming.  r=smontagu, r=mrbkap on parser changes, sr=dbaron
2005-11-15 18:17:22 +00:00
dbaron%dbaron.org 3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
bsmedberg%covad.net 638b74d7bd Backing out bug 313309 part 3 due to various intermingled bustages. 2005-11-14 16:37:43 +00:00
bsmedberg%covad.net 107e388551 The XPCOM glue cannot use NSPR, provisional r=bz to fix btek bustage until I can find an XPCOM peer. 2005-11-14 16:36:39 +00:00
bsmedberg%covad.net afaacd8030 Bug 313309 part 3 - use static data symbol (it's a weak symbol, we're tricking compilers into emitting a weak symbol by using templates) for NS_GET_IID instead of an inline function, r=shaver. This may break some tinderboxen (in which case I'll backout), especially the old mac tinderboxen which haven't yet been upgraded from xcode1.1 to a newer version. 2005-11-14 15:07:07 +00:00
smfr%smfr.org b04cad0e1a Fix bug 208843: make AddRef and Release of nsPipeInput/OutputStreams threadsafe, so that we don't abort long downloads on fast dual CPU machines. r=dougt, wtchang. sr=darin 2005-11-12 23:31:57 +00:00
dbaron%dbaron.org 733cdc896c Fix bad advice in comment on how to use PL_InitEvent. b=305278 r=dougt 2005-11-12 21:11:33 +00:00
darin%meer.net 697c78f1ea Initial patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky 2005-11-12 18:17:19 +00:00
bsmedberg%covad.net 78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
dougt%meer.net 204561082b Fixing 314997. Fixing Sun Studio 9 bustage from bug 289010 2005-11-10 16:53:25 +00:00
bsmedberg%covad.net caee95c028 Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst 2005-11-10 16:19:44 +00:00
bsmedberg%covad.net ff089bf9db Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver 2005-11-10 15:09:38 +00:00
bsmedberg%covad.net a4d3866df3 Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver 2005-11-10 14:43:22 +00:00
bsmedberg%covad.net d946f2be32 Try to fix brad bustage by backing out these declarations, which aren't on the equivalent nsVoidArray symbols 2005-11-08 20:55:30 +00:00
bsmedberg%covad.net a7253270ad Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree. 2005-11-08 18:17:49 +00:00
bsmedberg%covad.net 33ca187193 Bug 315438 - Want nsTAString const char_type* BeginWriting() const; signature r=darin 2005-11-08 14:16:16 +00:00
dougt%meer.net 5b121a0251 Build/config changes to allow static xpcom link for Minimo. b=314880, r=dveditz. 2005-11-07 20:59:43 +00:00
dougt%meer.net ec9fef2053 Build/config changes to allow static xpcom link for Minimo. b=314880, r=dveditz. 2005-11-07 19:08:03 +00:00
smfr%smfr.org 062098477e Fix bug 315246: nsGetInterface::operator() can use an uninitialized nsresult variable, if the source fails to implement nsIInterfaceRequestor (which fires an assertion in debug builds). r=dougt, sr=bzbarsky. 2005-11-06 18:31:09 +00:00
bzbarsky%mit.edu aee1056ad7 Implement a in-place (no copy) CompareUTF8toUTF16, and use it to make the atom
hashtable lookups zero-copy.  Patch by jst, bug 314465 (with lots of the
discussion in bug 277479), r=bsmedberg,dbaron,brendan (on the PLDHashTable
keyhash value assumptions), sr=bzbarsky, moa=shaver.
2005-11-04 19:52:18 +00:00
bsmedberg%covad.net 7112d805ca Bug 289010 - Move nsVoidArray/nsCOMArray to the XPCOM glue, and a few other things to make the glue easier to use, r=shaver+darin . The following files were CVS-copied from xpcom/ds to xpcom/glue: nsVoidArray.h nsVoidArray.cpp nsCOMArray.h nsCOMArray.cpp nsQuickSort.h nsQuickSort.cpp 2005-11-02 20:39:39 +00:00
bsmedberg%covad.net acf28ad4d1 Bug 289010 - Move nsVoidArray/nsCOMArray to the XPCOM glue, and a few other things to make the glue easier to use, r=shaver+darin . The following files were CVS-copied from xpcom/ds to xpcom/glue:
nsVoidArray.h
nsVoidArray.cpp
nsCOMArray.h
nsCOMArray.cpp
nsQuickSort.h
nsQuickSort.cpp
2005-11-02 20:38:21 +00:00
gerv%gerv.net ea28678a3e Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups. 2005-11-02 16:05:27 +00:00
cvshook%sicking.cc 1f2c89538d Bug 312226: Fix minor things i missed in last patch.
r/sr=jag
2005-11-02 16:05:26 +00:00
bzbarsky%mit.edu 647141294a nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
r=darin, sr=dbaron
2005-11-02 16:05:25 +00:00
cvshook%sicking.cc d7faa72532 Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
r=rjesup sr=jst
2005-11-02 16:05:24 +00:00
caillon%redhat.com 5479d46e5d Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2005-11-02 16:05:23 +00:00
Olli.Pettay%helsinki.fi d19a0f5713 Bug 255792, nsSmallVoidArray::ReplaceElementAt does not work in the same way as nsVoidArray::ReplaceElementAt, r=rjesup,sr=alecf 2005-11-02 16:05:22 +00:00
dbaron%dbaron.org 414673b72f Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin 2005-11-02 16:05:21 +00:00
gerv%gerv.net beabfb9291 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-11-02 16:05:20 +00:00
dbaron%dbaron.org 2904c7e9ed Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin 2005-11-02 16:05:19 +00:00
bzbarsky%mit.edu 8a516c2bc7 Make ReplaceObjectAt a little safer. Bug 227780, r=timeless, sr=alecf 2005-11-02 16:05:18 +00:00
timeless%mozdev.org 7550832d25 Bug 106386 Correct misspellings in source code
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose
2005-11-02 16:05:17 +00:00
seawood%netscape.com 0b32a92e64 Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2005-11-02 16:05:16 +00:00
sicking%bigfoot.com 932310909a Bug 225507: Implement nsCOMArray::SafeObjectAt for out-of-bounds safe access.
r=bryner sr=alecf
2005-11-02 16:05:15 +00:00
bsmedberg%covad.net f777369283 Bug 212222 - Load default prefs from the GRE and from the application. r/sr=alecf/darin
NOTE: This is only the backend work necessary to load prefs. The actual separation of prefs into application/embedding will happen in another bug.
2005-11-02 16:05:14 +00:00
dbaron%dbaron.org c2a2acec18 nsCOMArray should not use nsDerivedSafe. b=221525 r=bryner 2005-11-02 16:05:13 +00:00
bryner%netscape.com ac7665be59 Correcting the description of the third argument to NS_QuickSort. r=dbaron. 2005-11-02 16:05:12 +00:00
jshin%mailaps.org 88e93316ef bug 229705 : CStringArray should accept |nsACString&| instead of |nsCString&|. r=mscott, sr=alecf (with darin, jst, dbaron helping) 2005-11-02 16:05:11 +00:00
dougt%meer.net 4d70c5b7eb add Sort() to nsCOMArray. Patch from ari the_great_spam_bin@yahoo.com. r=alecf, b=211535 2005-11-02 16:05:10 +00:00
neil%parkwaycc.co.uk d4b748fded Bug 198685 need nsCOMArray function like IndexOf that checks COM object identity p=bsmedberg@covad.net r=alecf (no sr needed) 2005-11-02 16:05:09 +00:00
bzbarsky%mit.edu 2221342506 fix build bustage 2005-11-02 16:05:08 +00:00
jshin%mailaps.org aa34a67050 bug 229705: make CStringArray:CStringAt accept nsACString& as out param. (r=alecf, sr=bz) 2005-11-02 16:05:07 +00:00
dbaron%dbaron.org 25c466b97e Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2005-11-02 16:05:06 +00:00
dougt%netscape.com 7bf5cd48d3 Fixes many compiler warnings from xpcom/ds/nsVoidArray.h. r=dougt, sr=darin, patch=colin@theblakes.com, a=asa, b=166427 2005-11-02 16:05:05 +00:00
dbaron%fas.harvard.edu dc78f1a372 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2005-11-02 16:05:04 +00:00
cathleen%netscape.com 718da9b13c eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan 2005-11-02 16:05:03 +00:00
racham%netscape.com 7b10e797f3 Fixing bug 122309. Adding a new routine that can take a string and parse it on a delimiter to add elements to the nsCStringArray. r=dougt, sr=jag 2005-11-02 16:05:02 +00:00
cathleen%netscape.com 8e7e7a12be eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2005-11-02 16:05:01 +00:00
dougt%netscape.com 4f0357d604 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2005-11-02 16:05:00 +00:00
cathleen%netscape.com dff8a8c59e converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2005-11-02 16:04:59 +00:00
blythe%netscape.com 088cd410a4 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2005-11-02 16:04:58 +00:00
rjesup%wgate.com af94a3aa23 Remove nsVoidArray:: from method defs 2005-11-02 16:04:57 +00:00
rjesup%wgate.com 072f6676ee Bug 96108: Fix Win32/opt horkage (SizeOf()) in nsSmallVoidArray should be
#if dEBUG)
2005-11-02 16:04:56 +00:00
rjesup%wgate.com 3650d4c81e Bug 96108: Additional assertions requested by jst. sr=jst 2005-11-02 16:04:55 +00:00
rjesup%wgate.com ddf5c83e3c Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2005-11-02 16:04:54 +00:00
dbaron%fas.harvard.edu ef62f4e1c6 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2005-11-02 16:04:53 +00:00
alecf%netscape.com 893b00159a bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag 2005-11-02 16:04:52 +00:00
gerv%gerv.net 7c65a9b363 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2005-11-02 16:04:51 +00:00
rjesup%wgate.com d96a423534 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2005-11-02 16:04:50 +00:00
alecf%netscape.com 61a735c9a9 fix an assertion from nsCOMArray where ReplaceElementAt() wouldn't property extend the array because we were just using ObjectAt()
residual stuff from bug 197827, which caused an assertion browsing frame
patch by keeda@hotpop.com, r/sr=alecf
2005-11-02 16:04:49 +00:00
sicking%bigfoot.com c2e57a5529 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 12aaff4a3f 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 e6995a227c 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 d38c1db45b #177543
r=me, sr=bz
OS/2 build bustage - add explicit casts
2005-11-02 16:04:45 +00:00
bzbarsky%mit.edu eb48ce7821 Add AppendObjects/InsertObjectsAt to nsCOMArray. Bug 175137,
r=timeless, sr=alecf, a=dbaron
2005-11-02 16:04:44 +00:00
bzbarsky%mit.edu 883abcac44 Make IndexOf a const method. Bug 174940, r=dougt, sr=alecf 2005-11-02 16:04:43 +00:00
varga%netscape.com e7a258a922 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 a5c8ba5fad OS/2 bustage - need PR_CALLBACK 2005-11-02 16:04:41 +00:00
bbaetz%student.usyd.edu.au 2057652c4c 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 822c509c09 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 4bd47b507e 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 21d0af0504 - 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 03048eca48 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 7e5a4b47eb 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 6f3992e110 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 c7d124ba58 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 e0c58f4510 Fix mac bustage. 2005-11-02 16:04:32 +00:00
waterson%netscape.com 6563ff5f12 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 30304c99a7 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 29dbb2527c 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 364a6e9b71 Fix bug in void array's assignment operator. r=scc 2005-11-02 16:04:28 +00:00
jst%netscape.com fee902dd43 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 de820decc7 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 e95ad0f35e #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 6610ace60f Fix UMRs. 2005-11-02 16:04:24 +00:00
waterson%netscape.com 4912139130 Fix leak I made. r=warren 2005-11-02 16:04:23 +00:00
waterson%netscape.com f2637c5ff7 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 4e84e28397 # 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 ba15cfd0a7 Fixing runtime assert bustage. r=pinkerton 2005-11-02 16:04:15 +00:00
bsmedberg%covad.net 5a3dee9942 Bug 307168 - Add configure test for GCC bug that prevent the pragma-visibility stuff from working properly on some configurations, and also clean up usages of HAVE_VISIBILITY_PRAGMA which should really be HAVE_VISIBILITY_ATTRIBUTE r=roc+wolfiR, previous revisions reviewed by bryner 2005-11-02 14:14:18 +00:00
bzbarsky%mit.edu 2d00bdfe52 Make timers a little safer to use from JS. Bug 304669, patch by Giorgio Maone
<g.maone@informaction.com>, r=dougt, sr=dbaron
2005-11-02 00:46:37 +00:00
bsmedberg%covad.net c51d05ec1d Bug 314015 - nsComponentManagerUtils.h uses the wrong linking macros, SDK 1.8 is broken, r=darin 2005-10-27 19:01:51 +00:00
wtchang%redhat.com 40145d9911 Bugzilla Bug 302212: allow Mac OS X x86 builds to target SDKs. The patch
was written by Mark Mentovai <mark@moxienet.com>. r=joshmoz. sr=bryner.
Modified Files:
	configure.in config/autoconf.mk.in config/config.mk
	extensions/java/xpcom/tools/xpidl/Makefile.in
	security/manager/Makefile.in xpcom/typelib/xpidl/Makefile.in
2005-10-26 19:01:18 +00:00
bryner%brianryner.com 5c7b9a7466 Keep an interface pointer to the nsISeekableStream in nsFastLoadFileReader/Writer/Updater to avoid repeated QI (bug 313575). r+sr=brendan. 2005-10-24 18:02:00 +00:00
joshmoz%gmail.com 3404199340 fix stack alignment for Intel Mac builds. took dbaron's suggestion for adding ""addl $0x4, %%esp\n\t" \" from comment #11, it seems to work fine. b=312929 r=dougt sr=dbaron 2005-10-22 01:00:46 +00:00
bryner%brianryner.com b4a806dc9d Enable fastloading of JS components. Bug 279839, r=shaver sr=brendan. 2005-10-20 16:39:24 +00:00
cvshook%sicking.cc d9f7354f6b Bug 312226: Fix minor things i missed in last patch.
r/sr=jag
2005-10-19 00:54:13 +00:00
cvshook%sicking.cc 75d7bc1a39 Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
r=rjesup sr=jst
2005-10-18 23:45:14 +00:00
roc+%cs.cmu.edu f7daaee487 Backing out fix for bug 303484 since it exposed some other issues and doesn't fix any known crashers. 2005-10-18 01:41:11 +00:00
bsmedberg%covad.net 3ad6307655 Bug 312569 - nsIVersionComparator doesn't always initialize stack structures properly, r=darin 2005-10-17 20:27:22 +00:00
bryner%brianryner.com ddd7501923 Don't use memcpy for single-character Replace/Assign since it performs worse than simple assignment. Bug 312681, r+sr=darin. 2005-10-17 16:28:21 +00:00
bsmedberg%covad.net 90820dd572 Bug 310355 - ARM build fails on xptcinvoke_arm: extra ';' r=dougt 2005-10-13 21:31:33 +00:00
bsmedberg%covad.net f9df27e754 Bustage fix, bug 312000 2005-10-12 18:20:44 +00:00
bsmedberg%covad.net 25a4129003 Bug 312000 - XPCOM impl of nsICategoryManager doesn't obey the IDL comments, r=darin 2005-10-12 18:01:03 +00:00
dougt%meer.net 7ecb9f30b4 Bug 307041. Fixing bustage on Solaris Studio 10 build. r=dbaron 2005-10-11 15:08:23 +00:00
bsmedberg%covad.net 40f2e5eb71 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
smontagu%smontagu.org ac5190e61a Bustage fix following bug 311346 2005-10-10 09:15:12 +00:00
bsmedberg%covad.net 4989d9b958 Bug 311346 - Add directory service key for "C:\Program Files" r=darin 2005-10-09 19:00:19 +00:00
bsmedberg%covad.net ac1ec75d5d Bug 311352 - Mac XUL Framework is XUL.framework, not just XUL r=darin 2005-10-09 18:20:03 +00:00
dbaron%dbaron.org abc0ac68ae Back out bug 311456, at least for now, because it caused bug 311676. 2005-10-09 09:48:25 +00:00
darin%meer.net 8dbb1899d0 fixes bug 311456 "Calling Truncate() on an nsAutoString makes next append work hard" r+sr=bzbarsky 2005-10-07 21:52:18 +00:00
bsmedberg%covad.net 14640d7793 Bug 310590 - Expose scriptable nsIINIParser wrapper for nsINIParser r=darin 2005-10-04 17:19:14 +00:00
bsmedberg%covad.net e54a5866ab Bug 310976 - Treat 1.5.* as 1.5.infinity r=darin 2005-10-04 02:47:02 +00:00
timeless%mozdev.org a360ba5dbe Bug 310487 thread leak
patch by colin@theblakes.com r=timeless sr=darin
2005-09-30 20:46:14 +00:00
bsmedberg%covad.net 307ef08c19 Additional orange fix for bug 308838 (API mismatch) 2005-09-30 14:35:24 +00:00
bsmedberg%covad.net 7e4fb43a5d Bug 308838 - Seamonkey win32 installer builds fail to launch after installation (GRE badness) r=darin 2005-09-29 20:01:42 +00:00
peterv%propagandism.org 8702e6b0aa Fix for bug 307713 (Improve and use nsAgg's macros). r=dougt, sr=darin. 2005-09-28 13:13:27 +00:00
dougt%meer.net d5408bd78a Bug 307418. Fails to build on arm with gcc4. r/sr=shaver, a=asa 2005-09-28 05:49:51 +00:00
bsmedberg%covad.net 0b15ba16be Bug 310105 - NS_InitXPCOM2 in libxul should automatically bring in static components r=darin 2005-09-27 19:25:39 +00:00
bsmedberg%covad.net 46015a79e0 Bug 229589 - nsBaseHashtable documentation obsolete r=dougt 2005-09-26 20:27:36 +00:00
neil%parkwaycc.co.uk 3c12b083dc Mingw bustage fix for bug 299992 r=bsmedberg,darin 2005-09-22 13:22:52 +00:00
darin%meer.net 5a1ce3cd19 fixes bug 246085 "fire category manager notifications on the main thread only" patch by chpe@gnome.org, r=dougt, sr=darin 2005-09-19 17:13:32 +00:00
timeless%mozdev.org c81fa7761e Bug 234624 crashes converting \r\r\n input from Iframe into a hidden form field [@ ConvertBreaks]
patch by tor@acm.org r=dougt
2005-09-16 21:06:21 +00:00
timeless%mozdev.org c113ece289 Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin
2005-09-15 23:17:17 +00:00
dougt%meer.net fd375a636c Make XPCOM broadcast any LoadLibrary Load() error failures. b=308716 r=bsmedberg 2005-09-15 19:53:01 +00:00
bsmedberg%covad.net 3c7a35a01a Bug 307168 - Use the XPCOM (NS_COM) declarations for plevent symbols, instead of the NSPR declarations, since NSPR has different configure tests and compile flags r=darin 2005-09-15 18:29:21 +00:00
bsmedberg%covad.net 1f5928ce8f 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
mrbkap%gmail.com 784e8e72cd bug 308418: The windbgdlg pops up even when the debugger is currently active. r=dougt sr=jst 2005-09-14 21:00:37 +00:00
timeless%mozdev.org cba483b7cf Bug 308404 Access violation [@ ntdll!RtlDeleteCriticalSection+0x0000000f]
r=darin sr=darin
2005-09-14 18:18:43 +00:00
darin%meer.net b0aabfef01 fixes bug 308369 "Stop copying stat cache when cloning nsIFile instances" r=josh sr=dougt 2005-09-13 22:08:52 +00:00
gerv%gerv.net 35149ea17d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
pkw%us.ibm.com 128e470add 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
bob%bclary.com a2e1954ed3 Bug 303506 - make xpcom nsDirectoryService assertions more meaningful, r=dougt,sr=shaver 2005-09-04 19:10:10 +00:00
dougt%meer.net e93cdcb4c3 WinCE only. ShellExecute is now in the shunt lib, so I can remove a WINCE #define. Also, for process creation WinCE uses NSPR like a good child.... i wonder why the other platforms don't as well. 2005-09-02 18:00:23 +00:00
bsmedberg%covad.net 61ab58b925 Fixing dlldeps for windows, bug 299992 2005-09-01 12:50:53 +00:00
bsmedberg%covad.net a63c75a8a1 Bug 306615 - Fold PSM into libxul r=darin 2005-09-01 12:43:58 +00:00
bsmedberg%covad.net 26d6dc029c 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 0bb578089d 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 3e2adc9538 Bug 306334 - XULRunner debug doesn't link on mac r=darin/brendan 2005-08-31 17:20:09 +00:00
bsmedberg%covad.net 965bd346b8 From bug 296561 (see bug 302099) - remove old static-build remnants that are no longer used r=darin 2005-08-29 19:24:20 +00:00
bsmedberg%covad.net db1b972744 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 a364b03e82 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
smontagu%smontagu.org 57eb480caf Take surrogate pairs into account in UTF8InputStream::CountValidUTF8Bytes. Bug 299111, r=darin, sr=dbaron 2005-08-22 10:50:49 +00:00
mkaply%us.ibm.com 03064ea2bd 305281 r=dougt, a=mkaply - OS/2 Firefox doesn't start 2005-08-20 03:03:30 +00:00
timeless%mozdev.org 74440aac70 Bug 304900 - comment about moving methods when interface is frozen is stale or was made into a lie
patch by timwatt@gmail.com r=dougt
2005-08-19 09:38:45 +00:00
timeless%mozdev.org e29622310f Bug 304899 comment about QI to the obsolete manager is stale
patch by timwatt@gmail.com r=dougt
2005-08-19 09:37:43 +00:00
bsmedberg%covad.net ad63798518 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
roc+%cs.cmu.edu 8106f0cc5f Bug 303484. Limit the nesting of modal event loops so we avoid overflowing the C++ stack. r+sr=brendan,a=asa 2005-08-16 20:59:39 +00:00
pinkerton%aol.net d867ea6f33 fix camino build bustage 2005-08-16 00:37:15 +00:00
bsmedberg%covad.net a66fd0ca11 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 f0d2e05a7e 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
timeless%mozdev.org aa089c5d09 Bug 304237 Enable xpcom under windows debuggers to filter assertions the way it does without a debugger
to enable this feature,
 set XPCOM_DEBUG_DLG=1, or if you're already in the debugger, just poke the
 static to 2.
r=dougt
2005-08-12 23:11:35 +00:00
bsmedberg%covad.net 00ed92f8a2 Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:19:19 +00:00
bsmedberg%covad.net 8992fb4c7d Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:07:08 +00:00
bsmedberg%covad.net 7c1779e9ce Bug 299992 - strdup requires <string.h> on windows (why not on mac, hrm?) 2005-08-11 21:17:14 +00:00
bsmedberg%covad.net b1c627454a Bug 299992 - On windows, nsINIParser methods must be NS_COM_GLUE (bustage fix) 2005-08-11 21:05:13 +00:00
bsmedberg%covad.net 9d2986bf10 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 e9c48557e9 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 3e7f90b006 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 c43076474d 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 1e677e56f1 addressing the reviewer comments 2005-08-11 19:43:19 +00:00
cbiesinger%web.de 92effd6bae bug 228794, r=bsmedberg sr=alecf
add nsInterfaceHashtable::GetWeak
2005-08-11 19:43:18 +00:00
kyle.yuan%sun.com e614556c54 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 d67dbd48dc 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 069e082aaf fixes bug 241876 "nsIDHashKey does not define a KeyEquals method" r+sr=bsmedberg 2005-08-11 19:43:15 +00:00
bzbarsky%mit.edu 7b445794fb 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 eff0950b95 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 3cda5775e1 Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2005-08-11 19:43:12 +00:00
bsmedberg%covad.net eaf415b72d 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 0c2a7ccbbd 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 da31414079 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 7b548ee7c5 Fixing AIX bustage. r=jdunn a=mkaply/ycalonje 2005-08-11 19:43:08 +00:00
bsmedberg%covad.net c618529560 Fix for mac build bustage, with ccarlen. Cleanup from bug 201034. 2005-08-11 19:43:07 +00:00
bsmedberg%covad.net 6c2bec5913 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 893ea237a7 OK, should be final - need PR_CALLBACK here 2005-08-11 19:43:05 +00:00
mkaply%us.ibm.com af08eb6628 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 9c6d03df68 One more PR_CALLBACK 2005-08-11 19:43:03 +00:00
mkaply%us.ibm.com 0d1563c5c3 OS/2 bustage - PR_CALLBACK stuff 2005-08-11 19:43:02 +00:00
bsmedberg%covad.net bb4d10c5e3 bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf 2005-08-11 19:43:01 +00:00
jkeiser%netscape.com 4e10faa6b1 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 d5274c3743 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 1ccc738a47 Bug 230707 nsRefPtrHashtable (like nsInterfaceHashtable but for refcounted objects of concrete types) r=bsmedberg sr=alecf 2005-08-11 19:42:51 +00:00
cbiesinger%web.de 170136bfb7 bug 63368 adds a "make check" rule to the build system, which currently runs necko unit tests + the version comparator tests
r=cls,bsmedberg a=bsmedberg
2005-08-11 16:41:54 +00:00
bsmedberg%covad.net 388a96ddaf 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 9f6a73b9bb 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 8dbbd37c72 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 3c3704c636 Bustage fix, bug 288954 2005-08-09 14:04:49 +00:00
bsmedberg%covad.net 458cade5ef 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 579b86e193 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-08-09 00:20:35 +00:00
jst%netscape.com b2f64600c8 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 84d3121b6f 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 16414f1627 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 9c74fe8353 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 9127292525 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 ad9700e1e7 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 e9ee9d8e1c 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 300d918454 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 9f1847df93 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 cdfee82708 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 f6353771ac #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
timeless%mozdev.org aaae570aa3 Bug 302698 [@ DumpStackToFileMain64]
r=dougt a=bsmedberg
2005-08-02 22:17:59 +00:00
bzbarsky%mit.edu a08c743c76 Fixing build bustage 2005-07-28 21:40:57 +00:00
bzbarsky%mit.edu a2655625e1 Add some documentation. Bug 292036, patch by gekacheka@yahoo.com, r=darin,
sr=bzbarsky, a=bsmedberg
2005-07-28 21:17:14 +00:00
masayuki%d-toybox.com 8638a80595 Bug 288154 If the path has 0x7c in its name, firefox cannot open the file (Should encode 0x7c to %7C) r+sr=darin, a=benjamin 2005-07-28 14:51:17 +00:00
bsmedberg%covad.net 151a6eac74 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
dougt%meer.net ca0a6271cf Disabling USE_TIMER on windows ce. posting directly to the message queue seams to be far more effective. a=asa. WINCE only change 2005-07-26 04:22:11 +00:00
joshmoz%gmail.com 54646c2f74 xptcall stack alignment fix for x86 Mac OS X. Symptom is usually a crash due to an invalid (truncated SSE3) instruction on the stack with xptcall stuff earlier on. Patch by dbaron, built on a patch by Apple Computer, Inc.. Thanks dbaron! Only affects x86 Mac OS X. b=297326 r=josh sr=dbaron a=asa 2005-07-26 00:59:40 +00:00
bsmedberg%covad.net 515f8c4b69 Bug 299991 - XULRunner stub executable, r=darin a=shaver 2005-07-25 22:16:56 +00:00
bsmedberg%covad.net 137d918e93 --enable-tests bustage from bug 300731, r=cls 2005-07-23 18:44:37 +00:00
bsmedberg%covad.net c9241d2eb2 Bustage fix, remove extra semicolon 2005-07-23 15:35:31 +00:00
bsmedberg%covad.net b3905512fd 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 178f20a738 Bug 297312 - EM gets confused between multiple installations of the same version, r=darin+robstrong, self-approving per deerpark triage meeting. 2005-07-23 14:00:07 +00:00
joshmoz%gmail.com 275e8624be don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg 2005-07-21 19:02:52 +00:00
darin%meer.net c2ff4e354b fixes bug 301521 "nsWindowsRegKey::WriteStringValue is broken" r=jshin a=bsmedberg 2005-07-21 16:54:39 +00:00
bsmedberg%covad.net 0655e1c5e2 Bug 298044 followup, actually generate the dependentlibs.list, r=darin, does not affect anything but xulrunner+seamonkey. 2005-07-21 14:05:54 +00:00
bsmedberg%covad.net 5fba1c6aea 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 5b3a6352db 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
shaver%mozilla.org 63a3c5efc3 Bug 269823: invalid casts prevent compilation on 64-bit platforms with gcc4.
Patch from falk@debian.org, r=darin, sr+a=shaver.
2005-07-20 13:12:13 +00:00
darin%meer.net 6764edca0d fixes bug 300423 "Expose nsIPipe implementation via component factory" r+a=bsmedberg 2005-07-18 23:39:56 +00:00
cbiesinger%web.de 8cb8d3b5e3 Bug 301219 Remove rm hack from glue Makefile
r+a=bsmedberg
2005-07-18 19:03:42 +00:00
bsmedberg%covad.net 7ad2a92071 Bustage fix from bug 298044 2005-07-15 12:27:13 +00:00
bsmedberg%covad.net 74deb70828 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 41533cdc27 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 b9720ffcb9 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
mkaply%us.ibm.com aeb5138c89 #294067
r=mkaply, sr=mkaply (platform specific), a=mkaply (OS/2 only)
Patch from Rich Walsh - rewrite OS/2 file i/o code
2005-07-08 16:18:44 +00:00
bsmedberg%covad.net d4eafe5027 Bug 297312 - nsILocalFile (windows) .equals is case-sensitive, which is causing problems with contains() and relativedescriptors - I'm not going to commit the rest of that patch (nsIPersistentDescriptorService) until the code that uses it is also written r=shaver a=asa 2005-07-07 16:19:20 +00:00
bsmedberg%covad.net 9a61950459 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
joshmoz%gmail.com ffc365fb08 clean up old mac os classic stuff. b=281889 r=smfr sr=bryner a=bsmedberg 2005-07-06 01:23:20 +00:00
dougt%meer.net b0171845f9 make xpcom typelib tools build on wince. r/a=benjamin 2005-07-05 17:02:20 +00:00
dougt%meer.net 02659c3b10 Making directories be created with 0700 permission. r=dougt. Fix for bug 299133. a=uncle sam 2005-07-04 16:46:50 +00:00
bsmedberg%covad.net c212b869b8 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
timeless%mozdev.org ead709b608 Bug 297723 stackwalk code not working for WinXP
patch by colin@theblakes.com r=dougt a=asa
2005-07-01 05:21:02 +00:00
timeless%mozdev.org f7840958e9 Bug 299334 fix windbgdlg support for HKCU
r=dougt a=asa
2005-07-01 04:25:15 +00:00
bsmedberg%covad.net db1091a127 Bug 299051 - Link failure on Alpha Linux: pc-relative relocation against dynamic symbol $invoke_copy_to_stack..ng - patch by Falk Hueffner <falk@debian.org> r+a=shaver 2005-06-30 20:06:20 +00:00
mark%moxienet.com 92b3f50a1c Bug 298529, Core support for Mac 10.4u ("universal") SDK, part 2. Mac alias API update. r=josh sr=smfr a=asa via irc 2005-06-30 04:32:24 +00:00
bsmedberg%covad.net 2f43051925 Revert bug 298047. 2005-06-30 02:06:16 +00:00
bsmedberg%covad.net 9b68fa2754 Backout bug 298047 per Chase as it breaks some downrev mac systems unexpectedly. 2005-06-30 02:04:23 +00:00
dougt%meer.net c7b19d390e fixes a mailnews regression. We need to be able to create a unique directory. sr=dveditz, a=dveditz, bug 299133 2005-06-29 22:23:55 +00:00
bsmedberg%covad.net cda19a1775 Bug 298047 - bustage fix 2005-06-29 19:08:57 +00:00
bsmedberg%covad.net d7b586a56b 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
darin%meer.net 1b8a0df018 landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2005-06-29 18:32:50 +00:00
gerv%gerv.net 9c7b5bdb97 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-06-29 18:32:49 +00:00
dougt%netscape.com b68bf96776 Final fix. This is the way this patch should have landed. including nsXPIDLCString when XPCOM_GLUE is defined is not a good idea 2005-06-29 18:32:48 +00:00
dougt%netscape.com 0edcf0a0a3 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2005-06-29 18:32:47 +00:00
dougt%netscape.com 8fbc00d3ef Damn the nmake build system and the mac. 2005-06-29 18:32:46 +00:00
dougt%netscape.com 8ebc1aac5f More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. 2005-06-29 18:32:45 +00:00
dougt%netscape.com a0af6ae482 adding #include for stdio for printf 2005-06-29 18:32:44 +00:00
dougt%netscape.com bded73c6d5 130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org 2005-06-29 18:32:43 +00:00
dougt%netscape.com 77baa80dad 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-06-29 18:32:42 +00:00
dougt%netscape.com 9e34255b5b nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2005-06-29 18:32:41 +00:00
dougt%netscape.com a0b5e27034 API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2005-06-29 18:32:40 +00:00
gerv%gerv.net 386efdf0f1 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2005-06-29 18:32:39 +00:00
shaver%mozilla.org c346d1b256 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2005-06-29 18:32:38 +00:00
rayw%netscape.com f73c310032 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2005-06-29 18:32:37 +00:00
mang%subcarrier.org 0fc680b42a progid no longer defined in nsISample.idl
Part of previous fix to bug 10904
2005-06-29 18:32:36 +00:00
dp%netscape.com 8148c06a9d Sample XPCOM Application 2005-06-29 18:32:35 +00:00
bienvenu%nventure.com e56010a35b fix 254527 crash when using a symlink to a signature file, r/sr=darin, a=benjamin 2005-06-29 17:25:24 +00:00