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

474 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com 832eb52a1a Attempting to fix osX bustage. 2003-01-16 23:57:55 +00:00
dougt%netscape.com 9d56c19334 Removing comment about NS_ASSERTION being deprecated. r=me. b=188925 2003-01-15 22:27:10 +00:00
dougt%netscape.com 6508e0713e move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood. 2003-01-15 20:40:06 +00:00
dougt%netscape.com 95d416f010 Add .gre.conf test for debugging. 2003-01-15 00:17:17 +00:00
dougt%netscape.com b18c9c6f3d removing nsEmbedString from this directory. It has been moved to mozilla/string/embed. r=cls 2003-01-14 07:22:46 +00:00
dougt%netscape.com aa97f212b1 Moving nsEmbedString to mozilla/string. r=cls. 2003-01-14 03:41:52 +00:00
dbaron%dbaron.org bc98f431d6 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. sr=jag 2003-01-10 20:02:04 +00:00
seawood%netscape.com c6e456c48d Fix IRIX bustage.
Thanks to Doug Turner <dougt@netscape.com> for the patch.
Bug #185681 r=cls
2003-01-10 08:32:46 +00:00
dbaron%dbaron.org b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
seawood%netscape.com 60e790cacd Do not declare empty EXPORTS variables as it breaks 'make install'
Thanks to Aleksey Nogin <mozilla-bugs@nogin.org> for the patch.
Bug #185681 r=cls
2003-01-03 08:00:49 +00:00
dougt%netscape.com 4686cece52 Fixing OS2 build. XP_PC -> XP_WIN32 2003-01-03 01:39:01 +00:00
dougt%netscape.com 7cd70969a2 Adding generic support for the GRE in the xpcom glue. r=chak, sr=darin, b=185681 2003-01-02 23:09:30 +00:00
dbaron%fas.harvard.edu a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
dougt%netscape.com dd3b6ee5f7 Fixes crash caused by bug 184548. r=adamlock, sr=darin 2002-12-16 19:26:58 +00:00
seawood%netscape.com 58004c4a48 Add SRCS_IN_OBJDIR variable to workaround requirement introduced by bug 141834 that srcfiles must be in the srcdir.
Bug #171753 r=bryner
2002-12-13 02:36:06 +00:00
dougt%netscape.com 294e77fa7c Fixes XPCOM glue leaving behind exit routine after DLL is unloaded. r=adamlock sr=darin, a=asa, b=184548 2002-12-10 01:37:56 +00:00
seawood%netscape.com f9959bc296 Fix pointer casting for AIX 64-bit builds.
Thanks to Philip K. Warren <pkw@us.ibm.com> for the patch.
Bug #177906 r=cls sr=scc
2002-11-06 21:07:23 +00:00
dbaron%fas.harvard.edu 39ce4eeae8 Make NS_INIT_ISUPPORTS empty by moving NS_INIT_OWNINGTHREAD into the constructor of a new class, |nsAutoOwningThread|. Deprecate NS_INIT_ISUPPORTS. b=174225 r=dougt sr=alecf 2002-11-06 13:09:20 +00:00
dougt%netscape.com afbded917d 177063. Linux segmentation fault at startup using xpcom glue. r=alecf, sr=jag, a=roc+moz@cs.cmu.edu 2002-10-30 14:13:00 +00:00
dougt%netscape.com e575b3a03a Attempting to fix the bustage on os2, beos, linux/ppc 2002-10-18 13:36:32 +00:00
dougt%netscape.com 1c09d9410c Backing out my last attempt since I believe that the problem is with the cvs mirrors 2002-10-18 02:36:28 +00:00
dougt%netscape.com f586f1a0ff Adding nsReadableUtils.cpp to the string glue code. This is required for StringAllocator. Fix for linux build bustage 2002-10-18 02:08:14 +00:00
dougt%netscape.com 20cb222459 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2002-10-17 23:41:47 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
jkeiser%netscape.com 35c5cded43 Backing out bug 107291 due to OS/2 having a crappy compiler. 2002-10-08 09:30:40 +00:00
jkeiser%netscape.com 53ea2dfc93 Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu 2002-10-08 06:19:10 +00:00
dougt%netscape.com 2e18d2c1d3 Provides support for a conditional interface map entry 172833, r=bzbarsky@mit.edu, sr=darin@netscape.com 2002-10-07 18:52:27 +00:00
dougt%netscape.com c5ba8c43ce backing out nsGenericFactory.cpp 2002-10-04 23:23:51 +00:00
dougt%netscape.com 0cabe78b54 First cut of the nsIStringService. 172512. r=jag, sr=alecf 2002-10-04 22:25:41 +00:00
dbaron%fas.harvard.edu 29c30c5f3e Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf 2002-09-30 14:18:27 +00:00
dbaron%fas.harvard.edu 26706fbf58 Fix additional typos (and Linux/Mac bustage) from dougt's checkin. b=157133 r=gcc-3.2 2002-09-27 20:35:33 +00:00
dougt%netscape.com e9c1ddd8c5 missing arg 2002-09-27 20:31:19 +00:00
dougt%netscape.com 1566417aaf move contentEncodings and applyConversion to a new interface. r=neeti@netscape.com, sr=darin@netscape.com, b=157133 2002-09-27 19:23:21 +00:00
dougt%netscape.com 4c78893d1b Fixes XPCOM Glue on linux, b=168584, sr=rpotts, r=alec 2002-09-27 13:07:01 +00:00
dougt%netscape.com 77888f84c2 More on XPCOM Glue Is broken on linux. r=rpotts@netscape.com, sr=alecf@netscape.com, b=168584 2002-09-20 22:23:24 +00:00
alecf%netscape.com b15e45e72d re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +00:00
dougt%netscape.com 2764a9a972 nsCOMPtr.h needs nsISupportsUtils.h. b=169049, r=rpotts, sr=alecf 2002-09-17 02:32:00 +00:00
alecf%netscape.com 7c03517f4d backing out my fix to 166147 to see if it fixes orange 2002-09-16 23:48:12 +00:00
alecf%netscape.com 5af36705e8 fix for bug 166147 - autoinitialize mRefCnt to 0 by using a wrapper class, a la Don Box
also clean up consumers which were using postfix decrement
r=dougt, sr=jag
2002-09-16 20:59:52 +00:00
law%netscape.com 42869354c5 Backing out timeless's change (plus mine that fixed the build bustage); hopefully will clear orange on Linux builds 2002-09-14 00:18:33 +00:00
law%netscape.com 6969e15595 Fixing build bustage 2002-09-13 23:06:10 +00:00
timeless%mac.com 525d336040 Bug 155413 nsIClassInfo crash [@nsGenericFactory::GetHelperForLanguage] mInfo is null
r=dougt sr=dveditz
2002-09-13 22:36:48 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
timeless%mac.com 43e442ad09 Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
bryner%netscape.com 5f5aeaab1a Ignore copied source files. 2002-08-26 09:02:31 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
dougt%netscape.com a6b4b1a6c0 Fixes HP bustage in xpcom. patch by pkw@austin.ibm.com, r=dougt, sr=alecf 2002-08-08 04:58:54 +00:00
bryner%netscape.com d0cfcc1da2 Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa. 2002-07-30 21:30:05 +00:00
dougt%netscape.com 8f56f8da5a backout out change 2002-07-18 07:19:45 +00:00
dougt%netscape.com fe02c02f52 Dynamic loading is failing on linux. disabling 2002-07-18 06:49:48 +00:00
dougt%netscape.com 25bdc78b8e Fixing bug 157192. r=me, sr=dbaron, a=asa. 2002-07-15 23:32:36 +00:00
dougt%netscape.com c327e1c6c3 More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. 2002-07-01 20:37:17 +00:00
dougt%netscape.com 9effd97abe 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf 2002-06-21 19:58:54 +00:00
seawood%netscape.com 6de5b59159 Fixing win32 gmake builds lack of debugging information problem by working around a combination MSVC & cygwin make deficiencies:
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd.  This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall.  nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive.	(I'll have to check  the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs.  Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs
2002-06-17 17:09:57 +00:00
dougt%netscape.com 147e826332 fixes hp bustage. r=jdunn 2002-06-11 22:35:10 +00:00
dougt%netscape.com 2e70ad3106 fixing makefile.win bustage. 2002-06-11 20:54:30 +00:00
dougt%netscape.com e202a87635 Fix for 149754. cleaner xpcom shutdown. r=rpotts, sr=shaver 2002-06-11 19:38:41 +00:00
dougt%netscape.com a92c2a61bd adding nsIIneterfaceRequestorUtils.cpp to glue. 149715. r=rpotts@netscape.com, sr=shaver 2002-06-11 19:36:42 +00:00
dougt%netscape.com 913bbb6f6c Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org 2002-06-11 19:26:04 +00:00
dougt%netscape.com abfcec9dad support for OS2 XPCOM_DEBUG_BREAK env. r=dougt, sr=jband, patch by mkaply, b=148127 2002-05-30 21:27:53 +00:00
dougt%netscape.com f0bba96f81 fixing up line parameter from last checkin. 2002-05-12 18:31:17 +00:00
dougt%netscape.com 81a78ba374 Adding XPCOM_DEBUG_BREAK back to windows. 2002-05-12 04:03:36 +00:00
dougt%netscape.com dd9c87c52a fixing a comment. 2002-05-11 21:52:14 +00:00
dougt%netscape.com a54b6aec9e synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver 2002-05-11 21:15:06 +00:00
bryner%netscape.com 9ad697d61e adding doxygen.cfg to config/.cvsignore; add missing .cvsignore files. a=asa. 2002-04-07 06:01:22 +00:00
dougt%netscape.com 8fffaf3949 Fixes 132705. nsComponentManagerUtils error handling is incorrect. fix by dbaron, r=dougt, sr=rpotts, a=asa@mozilla.org 2002-04-04 21:35:32 +00:00
dbaron%fas.harvard.edu 48e1bd36b3 Fix orange by removing shadowing declaration of |nsresult status|. 2002-03-22 02:08:38 +00:00
seawood%netscape.com ed2322fc69 Fixing objdir bustage.
Added hack to remove .o from srcdir during export
2002-03-22 01:44:26 +00:00
scc%mozilla.org 0b992232af bug #132278, r=dbaron, sr=vidur, a=asa, make |nsCOMPtr::operator&()| legal again 2002-03-22 00:05:16 +00:00
dougt%netscape.com c956bbd484 130405. Committing new files. r=alec, sr=brendan@mozilla.org, a=asa@mozilla.org 2002-03-21 23:47:46 +00:00
dougt%netscape.com 40642fc34c 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 2002-03-21 23:43:21 +00:00
seawood%netscape.com c780c0c080 Oops. Missed a file. 2002-03-21 10:33:54 +00:00
seawood%netscape.com e1fb9d3dce Move the following files into the xpcom/glue dir:
nsGenericFactory.cpp
nsIGenericFactory.h
nsIInterfaceRequestorUtils.h
nsISupportsImpl.h
nsISupportsutils.h
nsIWeakReferenceUtils.h
Bug #120474 r=dougt a=asa
2002-03-21 09:36:47 +00:00
dougt%netscape.com 4d309f05f8 PL_strcmp to strcmp. 129973. r=dougt, sr=alecf, a=shaver 2002-03-11 20:54:11 +00:00
dougt%netscape.com ac4c06738b Make generic module support usable by component and plugin developers. This patch removes the dependency on nsHashtable. bug 108233. sr=alecf@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org 2002-03-06 04:22:27 +00:00
dougt%netscape.com 0e918a76c3 127093. adds nsID.h nsISupportsBase.h nscore.h to sdk. r=seawood, sr=alecf,rpotts, a=shaver 2002-02-27 00:35:06 +00:00
dougt%netscape.com 874111f277 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa 2002-02-25 23:20:01 +00:00
alecf%netscape.com 8c0ab1d965 remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
r=jag, sr=shaver
2002-02-18 22:57:47 +00:00
seawood%netscape.com 4ee30c8ab4 Update manifest files in attempt to quell mac bustage.
Bug #120474
2002-02-08 08:04:34 +00:00
seawood%netscape.com 57c7da4bc0 Move nsDebug.* & nsWeakReference.* into xpcom glue lib.
Bug #120474 r=dougt
2002-02-08 06:35:15 +00:00
dougt%netscape.com 3a76d52712 Fix for 103518. Call module destructor function *after* destroying factories. submitted by Henry.Jia@sun.com, r=dp/dougt, sr=alecf 2002-02-06 20:47:37 +00:00
dougt%netscape.com b5aa797464 Fixing calling conventions of NS_IMPL_THREADSAFE_RELEASE. Submitted by Tobias Oberstein. r=me, sr=jband@netscape.com. 2002-02-05 03:34:44 +00:00
cathleen%netscape.com 740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
dougt%netscape.com 1c3dc6d749 Adding comments to the nsIGenericFactory file. bug 123442. r=gagan@netscape.com, sr=alecf@netscape.com 2002-02-05 01:38:43 +00:00
sfraser%netscape.com dd30842c5a Chamnges to allow for making every module's nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 04:05:47 +00:00
dougt%netscape.com c50ca402ad 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
2002-01-29 21:22:13 +00:00
mkaply%us.ibm.com 5550d64b88 OS/2 code only - make it easier to turn off popup asserts if necessary by restructuring code 2002-01-28 23:26:31 +00:00
jdunn%netscape.com cd34d9887d Change certain AIX ifdefs to AIX_XLC_364 since these ifdefs are only
needed for AIX's xlC 3.6.4 compiler.  Add test to configure to check
compiler version.  NOTE: also adding hpux and aix check for keyboardutils.
r=cls@seawood.org
# 119179
2002-01-25 15:07:38 +00:00
jst%netscape.com 74b270f1db Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-24 09:20:51 +00:00
dougt%netscape.com e779f53edb fixing build bustage. there is another nsMemory.h in xpcom/base which overwrote this copy 2002-01-11 21:05:08 +00:00
jdunn%netscape.com 061ee47034 AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
a function prototype.  So we have to decare the function and then
declare it a friend.  When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
2002-01-10 14:16:05 +00:00
mcafee%netscape.com 0ff7ca1b24 Ignore generated files 2001-12-29 03:21:06 +00:00
danm%netscape.com 6af254041c additional macros to support aggregation. bug 113664 r=alecf,dougt 2001-12-26 21:30:20 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
dougt%netscape.com ba4a1e2256 fixing build bustage 2001-12-19 00:59:25 +00:00
dougt%netscape.com 849d297364 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
2001-12-19 00:12:41 +00:00
seawood%netscape.com 33ab7a9398 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
dougt%netscape.com 5cca684efc Bug 112262. Move nsMemory into the glue library. sr=rpotts, sr=jband. 2001-12-07 19:54:16 +00:00
timeless%mac.com 8eccbe5de9 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
r=axel@pike.org sr=kin
2001-11-22 15:12:51 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00