Commit Graph

580 Commits

Author SHA1 Message Date
timeless%mac.com
dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +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
jband%netscape.com
ececdc7506 Replace NS_REINTERPRET_CAST with an NS_STATIC_CAST so that the wrong interface on the enumerator is not returned to callers. Fixes bug 128858. r=rginda sr=shaver a=dbaron (on trunk and 0.9.9 branch) 2002-03-05 08:06:25 +00:00
peterv%netscape.com
f0ea3558c8 Fix for bug 5794 ([MAC]Aliasing NGLayoutConfigInclude.h to MacConfigInclude.h is evil). sr=sfraser, a=dbaron. 2002-03-03 10:57:06 +00:00
dougt%netscape.com
030416d58c Disables NSGetFactory support from XPCOM. sr=shaver@mozilla.org, r=dp@netscape.com, a=shaver@mozilla.org 2002-03-01 00:06:35 +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
cathleen%netscape.com
8baf662f08 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +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
neeti%netscape.com
d4f5ed4527 fix for bug 122438 - ConvertContractIDKeyToString(...) optimization, r=dougt,sr=alecf 2002-02-13 20:34:14 +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
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
alecf%netscape.com
5483b6f627 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
dougt%netscape.com
8165e8283e adding @return comments. 2002-01-30 21:56:34 +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
seawood%netscape.com
7cb3b6dd58 Use .get() when assigning nsXPIDLCString to const char*. Fixing OS/2 & AIX bustage. 2002-01-30 03:51: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
pete%alphanumerica.com
b0aca6b298 reverting back to original
define is not needed here

--pete
2002-01-27 18:56:02 +00:00
pete%alphanumerica.com
b7e75c570b seeing if this fixes the linux bustage
--pete
2002-01-27 18:47:17 +00:00
waterson%netscape.com
148a6b34f1 Fix static build bustage. 2002-01-24 21:45:46 +00:00
dougt%netscape.com
0d29a55b5a Adding nsIComponentRegistrar interface to the build. See 115853. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:50:35 +00:00
dougt%netscape.com
994af73b5d Cleanup of nsIModule. See 99154. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:29:40 +00:00
dougt%netscape.com
e99ddaaeee Removing monitor from FreeService() call. See bug 117218 for details, but basically we can run into a deadlock at shutdown. This patch assumes that (a) gXPCOMShuttingDown is set only by the UI thread during xpcom shutdown and (b) that all public API's check this flag before calling into the hashtable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-12 23:35:57 +00:00
cathleen%netscape.com
92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
jaggernaut%netscape.com
7fe1a20d15 Duh. Made a thinko on commenting out the ifdef. 2002-01-10 06:55:18 +00:00
jaggernaut%netscape.com
d4e8a91886 Bug 115854: Clean up shutdown warnings in service manager, add IID, CID and ContractID info. r=dougt, sr=alecf 2002-01-10 02:10:37 +00:00
ccarlen%netscape.com
525230cf76 Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +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
kmcclusk%netscape.com
d63ec3efab Backing out the fix for Bad use of nsIFile in component manager to fix spell checker. bug 106949 r=jband a=brendan 2001-12-14 01:27:16 +00:00
pete%alphanumerica.com
7c2ab7cf47 b=106949, r=ccarlen, sr=jband
Bad use of nsIFile in component manager

--pete
2001-12-11 03:25:32 +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
dveditz%netscape.com
44bcc01fd8 Free bloated component registry buffer after XPCOM init (bug 76329)
r=dougt, sr=shaver
2001-11-30 07:50:03 +00:00
dbaron%fas.harvard.edu
2d9af9f029 Make XPCOM_BREAK_ON_LOAD work on mach-o build. b=111519 r=beard sr=sfraser 2001-11-28 03:52:34 +00:00
dougt%netscape.com
0afe20e5ae remove nsIShutdownListener. r=dbaron, sr=alecf, bug 99152 2001-11-28 00:57:53 +00:00
dp%netscape.com
c76ccb2f79 Removing timeline marks. These dont provide much information 2001-11-27 01:55:55 +00:00
timeless%mac.com
51a4520c4a Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +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
dougt%netscape.com
cde157b545 fixing bug 108573. Calling AutoRegisterComponents when any registered loaders do not exists will crash. r=dp,sr=rpotts 2001-11-18 20:19:44 +00:00
neeti%netscape.com
0edebe6c41 bug 106466 - Removed nsServiceEntry from ComponentManager, r=dougt, sr=brendan 2001-11-16 13:53:04 +00:00
dp%netscape.com
c093068018 Satisfying compilers... 2001-11-16 03:37:15 +00:00
dp%netscape.com
f9950de713 bug 108071 Eliminate 4000 calls to malloc by using copy getters of
registry. r=dveditz, sr=sfraser
2001-11-16 02:38:23 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
pete%alphanumerica.com
b52992027b b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
rginda%netscape.com
1d47cc3acb Bug 104168, "xpcom-autoregistration notification never fires"
r=dougt, sr=brendan
notify category observers when xpcom registration occurs
2001-10-31 23:17:30 +00:00
dougt%netscape.com
80a163df0e ugh. I did not mean to commit these changes. Backing out 2001-10-30 22:19:32 +00:00
dougt%netscape.com
e03c679302 Moving nsISimpleEnumeratory interface into a seperate idl file. bug 99136. r=alecf@netscape.com, sr=rpotts@netscape.com 2001-10-30 22:03:05 +00:00
dbradley%netscape.com
1b2af580fb Bug 106671 - PLDHashTableEnumeratorImpl::IsDone will never return true, patch makes mCurrent == mCount the done condition. r=dougt, sr=jband 2001-10-29 22:08:42 +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