350 Commits

Author SHA1 Message Date
dougt%netscape.com
8bf05e3815 PL_strcmp to strcmp. 129973. r=dougt, sr=alecf, a=shaver
git-svn-id: svn://10.0.0.236/trunk@116340 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 20:54:11 +00:00
dougt%netscape.com
32fbf8f488 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
git-svn-id: svn://10.0.0.236/trunk@115929 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 04:22:27 +00:00
dougt%netscape.com
83898a9eec 127093. adds nsID.h nsISupportsBase.h nscore.h to sdk. r=seawood, sr=alecf,rpotts, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115386 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:35:06 +00:00
dougt%netscape.com
ffacd7bc78 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa
git-svn-id: svn://10.0.0.236/trunk@115326 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:20:01 +00:00
alecf%netscape.com
057eaef9e2 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


git-svn-id: svn://10.0.0.236/trunk@114820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:57:47 +00:00
seawood%netscape.com
891eda7906 Update manifest files in attempt to quell mac bustage.
Bug #120474


git-svn-id: svn://10.0.0.236/trunk@114011 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 08:04:34 +00:00
seawood%netscape.com
379dadb57c Move nsDebug.* & nsWeakReference.* into xpcom glue lib.
Bug #120474 r=dougt


git-svn-id: svn://10.0.0.236/trunk@114006 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 06:35:15 +00:00
dougt%netscape.com
408ba7a40c Fix for 103518. Call module destructor function *after* destroying factories. submitted by Henry.Jia@sun.com, r=dp/dougt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113819 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:47:37 +00:00
dougt%netscape.com
1f176a9aaf Fixing calling conventions of NS_IMPL_THREADSAFE_RELEASE. Submitted by Tobias Oberstein. r=me, sr=jband@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@113672 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 03:34:44 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
dougt%netscape.com
37a71e53f5 Adding comments to the nsIGenericFactory file. bug 123442. r=gagan@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113657 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:38:43 +00:00
sfraser%netscape.com
a58abd053a Chamnges to allow for making every module's nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113190 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 04:05:47 +00:00
dougt%netscape.com
011f9b10e5 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


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
mkaply%us.ibm.com
e5bf74f1f0 OS/2 code only - make it easier to turn off popup asserts if necessary by restructuring code
git-svn-id: svn://10.0.0.236/trunk@113060 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 23:26:31 +00:00
jdunn%netscape.com
d63561e2e5 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


git-svn-id: svn://10.0.0.236/trunk@112859 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 15:07:38 +00:00
jst%netscape.com
b9772d48fe 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
git-svn-id: svn://10.0.0.236/trunk@112678 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:20:51 +00:00
dougt%netscape.com
031dee4c73 fixing build bustage. there is another nsMemory.h in xpcom/base which overwrote this copy
git-svn-id: svn://10.0.0.236/trunk@111968 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 21:05:08 +00:00
jdunn%netscape.com
01a246e76f 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


git-svn-id: svn://10.0.0.236/trunk@111825 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:16:05 +00:00
danm%netscape.com
4c65ec4c3d additional macros to support aggregation. bug 113664 r=alecf,dougt
git-svn-id: svn://10.0.0.236/trunk@111087 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 21:30:20 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
dougt%netscape.com
3a75e78750 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@110761 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:59:25 +00:00
dougt%netscape.com
c01e94cad7 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


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
seawood%netscape.com
88b23adbf4 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner


git-svn-id: svn://10.0.0.236/trunk@110113 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 07:05:12 +00:00
dougt%netscape.com
a15e804a22 Bug 112262. Move nsMemory into the glue library. sr=rpotts, sr=jband.
git-svn-id: svn://10.0.0.236/trunk@110020 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 19:54:16 +00:00
timeless%mac.com
38c8443ca8 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
r=axel@pike.org sr=kin


git-svn-id: svn://10.0.0.236/trunk@108804 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 15:12:51 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
timeless%mac.com
7b921259da 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


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
dougt%netscape.com
b3c5359358 107630 Removing C++ cruft from nsIWeakReference.idl. Adding nsIWeakReferenceUtils.h. r=alecf@netscape.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106731 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 23:18:51 +00:00
seawood%netscape.com
4551221bef Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106461 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:38:18 +00:00
dougt%netscape.com
337217beaa backing out changes to 104172. r=ccarlen@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106023 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 03:50:24 +00:00
dougt%netscape.com
62a8215278 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
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
jaggernaut%netscape.com
5e4f75c9bf Bug 81444: Remove deprecated null_nsCOMPtr(), r=mozbot, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@105025 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 07:51:08 +00:00
jaggernaut%netscape.com
5bcb5cf396 Clean up REQUIRES lines.
git-svn-id: svn://10.0.0.236/trunk@104763 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:35:41 +00:00
dbaron%fas.harvard.edu
bdcc8caee8 Fix typo in include guard. r=jag
git-svn-id: svn://10.0.0.236/trunk@104397 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:18:12 +00:00
dbaron%fas.harvard.edu
c7ecd0425e 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
git-svn-id: svn://10.0.0.236/trunk@104396 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:18:08 +00:00
dougt%netscape.com
e791d31d3d fixed 102460. Make NS_IMPL_THREADSAFE_ISUPPORTS work again sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104332 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:44:27 +00:00
seawood%netscape.com
e4bb761af1 Split xpcom into separate xpcomglue library starting with nsCOMPtr.*
Bug #99698 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104232 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 23:03:39 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dougt%netscape.com
997cb851e1 Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281
git-svn-id: svn://10.0.0.236/trunk@103919 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 03:43:00 +00:00
cls%seawood.org
bc0787adda Initial version. Added nsCOMPtr.h
Bug #99698 not part of build (yet)


git-svn-id: svn://10.0.0.236/trunk@103296 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 10:08:33 +00:00
cls%seawood.org
42546073fd Initial version of libxpcomglue win32 makefile. not part of build (yet)
Bug #99698


git-svn-id: svn://10.0.0.236/trunk@103190 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 08:09:04 +00:00
cls%seawood.org
cc13fa6484 Initial version for bug 99698. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102958 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 23:50:59 +00:00
valeski%netscape.com
5bca1cb1dd fixing IRIX bustage. win line endings wound up in the new .h file. this diff converts them to raw line ending chars
git-svn-id: svn://10.0.0.236/trunk@102335 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 22:52:43 +00:00
valeski%netscape.com
8db35965a8 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.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
waterson%netscape.com
42e83067a0 Bug 96910. Restore NS_NewGenericModule() entry point for backwards compatibility. r=dougt, sr=jband, a=asa
git-svn-id: svn://10.0.0.236/trunk@101976 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 21:59:43 +00:00
vidur%netscape.com
bf7046a35b Fix for bug 96517. Fixing typo in NS_ISUPPORTS_IMPL_CI macros. r/sr=jband, brendan
git-svn-id: svn://10.0.0.236/trunk@101780 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 23:59:59 +00:00
waterson%netscape.com
4e63322b10 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
git-svn-id: svn://10.0.0.236/trunk@101447 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 00:55:20 +00:00
brendan%mozilla.org
50f90d9eeb Restore scriptable nsIClassInfo.classID but add fast/C++-only classIDNoAlloc; define and use nsIClassInfo::EAGER_CLASSINFO in caps (93792, sr=waterson&jst).
git-svn-id: svn://10.0.0.236/trunk@100464 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 03:59:29 +00:00