Commit Graph

345 Commits

Author SHA1 Message Date
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
timeless%mac.com
060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
alecf%netscape.com
d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
dougt%netscape.com
be63c1df0a 107630 Removing C++ cruft from nsIWeakReference.idl. Adding nsIWeakReferenceUtils.h. r=alecf@netscape.com, sr=scc@mozilla.org 2001-10-30 23:18:51 +00:00
seawood%netscape.com
9b5ae05e33 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
dougt%netscape.com
91b4b36d52 backing out changes to 104172. r=ccarlen@netscape.com 2001-10-23 03:50:24 +00:00
dougt%netscape.com
b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
dougt%netscape.com
4f3a44d63b API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2001-10-16 03:35:52 +00:00
jaggernaut%netscape.com
dc31b7e710 Bug 81444: Remove deprecated null_nsCOMPtr(), r=mozbot, sr=scc. 2001-10-10 07:51:08 +00:00
jaggernaut%netscape.com
c39b98b2a4 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
dbaron%fas.harvard.edu
180cc29e43 Fix typo in include guard. r=jag 2001-10-02 03:18:12 +00:00
dbaron%fas.harvard.edu
9a4acbab7a Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf 2001-10-02 03:18:08 +00:00
dougt%netscape.com
7418239098 fixed 102460. Make NS_IMPL_THREADSAFE_ISUPPORTS work again sr=rpotts@netscape.com 2001-10-01 19:44:27 +00:00
seawood%netscape.com
6c557adaaf Split xpcom into separate xpcomglue library starting with nsCOMPtr.*
Bug #99698 sr=alecf
2001-09-29 23:03:39 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dougt%netscape.com
8d512061e8 Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281 2001-09-27 03:43:00 +00:00
cls%seawood.org
6792a96782 Initial version. Added nsCOMPtr.h
Bug #99698 not part of build (yet)
2001-09-20 10:08:33 +00:00
cls%seawood.org
3ce1d55dc1 Initial version of libxpcomglue win32 makefile. not part of build (yet)
Bug #99698
2001-09-19 08:09:04 +00:00
cls%seawood.org
cf14958a6c Initial version for bug 99698. Not part of the build. 2001-09-14 23:50:59 +00:00
valeski%netscape.com
d018a1c80c fixing IRIX bustage. win line endings wound up in the new .h file. this diff converts them to raw line ending chars 2001-09-05 22:52:43 +00:00
valeski%netscape.com
93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
waterson%netscape.com
fe14ff8338 Bug 96910. Restore NS_NewGenericModule() entry point for backwards compatibility. r=dougt, sr=jband, a=asa 2001-08-29 21:59:43 +00:00
vidur%netscape.com
42b0b59ad3 Fix for bug 96517. Fixing typo in NS_ISUPPORTS_IMPL_CI macros. r/sr=jband, brendan 2001-08-24 23:59:59 +00:00
waterson%netscape.com
b2442974aa Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf 2001-08-21 00:55:20 +00:00
brendan%mozilla.org
49c0102cdf Restore scriptable nsIClassInfo.classID but add fast/C++-only classIDNoAlloc; define and use nsIClassInfo::EAGER_CLASSINFO in caps (93792, sr=waterson&jst). 2001-08-07 03:59:29 +00:00
waterson%netscape.com
9abf7984af Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan 2001-08-07 02:55:54 +00:00
vidur%netscape.com
c8aff8704f Temporary fix for bug 92859. Components can now be registered with the generic module macros to have class info, but not be instantiable via the component manager. Currently, the class object of such components are created eagerly at module initialization time. A future fix might create them lazily. r/sr=jband, jst 2001-08-06 07:05:22 +00:00
brendan%mozilla.org
dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
mstoltz%netscape.com
ca2851af9b Whoops, accidentally checked something that shouldn't be. Uncommenting-out
the break call in Assertion() (backing out earlier checkin)
2001-07-18 21:46:18 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00