298 Commits

Author SHA1 Message Date
dveditz%netscape.com
9d59534945 Added nsIRegistry::Flush (bug 16283, required for 16600), r=shaver
git-svn-id: svn://10.0.0.236/trunk@50960 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 21:45:53 +00:00
jevering%netscape.com
70a261fb73 The nsLeakDetector.cpp file now requires a few extra header files which weren't being exported on win
git-svn-id: svn://10.0.0.236/trunk@50910 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-16 01:44:52 +00:00
scc%netscape.com
38a4215c26 Bug #15292, r=dp. Made the component manager inherit from |nsSupportsWeakReference|, fixed its |QueryInterface()| appropriately, and added casts in two places that became ambiguous now that the component manager had multiple |nsISupports| in it. Now one can hold a weak reference to the component manager using |nsIWeakReference|.
git-svn-id: svn://10.0.0.236/trunk@50853 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 21:14:43 +00:00
shaver%netscape.com
82e40a8366 Fix case and return value in nsIModule.idl.
Add deleteCategoryEntry and deleteCategory to nsICategoryManager.
Update nsCategoryManager.js to use new nsIModule case, and talk to the registry.
r=brendan


git-svn-id: svn://10.0.0.236/trunk@50841 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 20:51:38 +00:00
dp%netscape.com
8b5b037caf bug# 5085 Eliminating some checks at autoreg time to improve startup
performance. r=sfraser


git-svn-id: svn://10.0.0.236/trunk@50803 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 07:12:08 +00:00
dveditz%netscape.com
20b7b8aa72 expose libreg ability to delete named values in nsIRegistry. Patch from
Jonas Utterström <jonas.utterstrom@vittran.norrnod.se>, r=dveditz


git-svn-id: svn://10.0.0.236/trunk@50800 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 06:47:58 +00:00
waterson%netscape.com
e20da712ec Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50413 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:10:08 +00:00
putterman%netscape.com
1ef39b7b56 Create a version of NS_GENERIC_FACTORY_CONSTRUCTOR that lets you pass in
an initialization function.  No bug.  Reviewed by dp.


git-svn-id: svn://10.0.0.236/trunk@50327 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:30:55 +00:00
kipp%netscape.com
a4f420d4fb Fixed up hook to track library loads for refcnt logging
git-svn-id: svn://10.0.0.236/trunk@50277 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:41:18 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
alecf%netscape.com
867ac81c42 add new NS_xxx_MODULE* macros (not used anywhere in the build just yet)
git-svn-id: svn://10.0.0.236/trunk@50177 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 00:12:29 +00:00
dp%netscape.com
c94e8e9c8e Removing ifdef DEBUG_dp.
git-svn-id: svn://10.0.0.236/trunk@50140 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:03:48 +00:00
ramiro%netscape.com
3412f4f935 Take myself out of the "you suck" list. r=dp
git-svn-id: svn://10.0.0.236/trunk@50003 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 20:22:23 +00:00
sfraser%netscape.com
c4429f5066 Change Mac library loading to load using the FSSpec. r=dp
git-svn-id: svn://10.0.0.236/trunk@49919 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 01:09:13 +00:00
kipp%netscape.com
24d8b1eba7 Fixed bug in ReleaseServcie that was recreating the service manager during shutdown
git-svn-id: svn://10.0.0.236/trunk@49493 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:40:27 +00:00
sfraser%netscape.com
ca68584efa Fixing use of obsolete types for shaver.
git-svn-id: svn://10.0.0.236/trunk@49277 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 02:54:18 +00:00
shaver%netscape.com
393d020282 nsIRegistry scriptability and beginning of category support, r=dp,alecf,dveditz a=leaf,chofmann
git-svn-id: svn://10.0.0.236/trunk@49272 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 02:35:42 +00:00
dp%netscape.com
a0850d9ef2 Unloading of dlls on shutdown turned off.
git-svn-id: svn://10.0.0.236/trunk@49231 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 19:42:06 +00:00
dveditz%netscape.com
8964fd9cbf Make sure componentMgr calls NR_ShutdownRegistry(), fixing MLKs and registry corruption from unflushed registry buffers.
r=dp,a=chofmann


git-svn-id: svn://10.0.0.236/trunk@49108 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 21:20:21 +00:00
dp%netscape.com
1743f40da9 Separating dll Shutdown from unload. Calling dll shutdown
unconditionally on NS_Shutdown.


git-svn-id: svn://10.0.0.236/trunk@49102 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 18:06:41 +00:00
dp%netscape.com
24f11a016d Passing down NS_Shutdown to Unloading of libraries.
git-svn-id: svn://10.0.0.236/trunk@49101 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 18:04:27 +00:00
dp%netscape.com
8845dc6f01 Adding NS_Shutdown.
git-svn-id: svn://10.0.0.236/trunk@49100 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 18:02:52 +00:00
dp%netscape.com
d399f0104e UnloadAll() on non-native loaders.
git-svn-id: svn://10.0.0.236/trunk@48882 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 00:14:00 +00:00
dp%netscape.com
7eab9cadfe Enabling xpcom shutdown to call NSCanUnload() on every component.
git-svn-id: svn://10.0.0.236/trunk@48880 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 00:01:53 +00:00
shaver%netscape.com
845c94e8fb add componentType to nsIModule::RegisterSelf
git-svn-id: svn://10.0.0.236/trunk@48763 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 03:18:27 +00:00
shaver%netscape.com
ec0efdd4c6 need to use different module names to avoid overwriting xpcom.xpt
git-svn-id: svn://10.0.0.236/trunk@48570 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:12:26 +00:00
waterson%netscape.com
ecac83d9d2 Fix backwards return values on nsIEnumerator::IsDone().
git-svn-id: svn://10.0.0.236/trunk@48471 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:28:18 +00:00
warren%netscape.com
4a5f6f43ca fixed ReleaseService and UnregisterService to work during shutdown
git-svn-id: svn://10.0.0.236/trunk@48372 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:09 +00:00
warren%netscape.com
dca5e1f9ba fixed circular references in nsNativeComponentLoader
git-svn-id: svn://10.0.0.236/trunk@48371 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:04 +00:00
warren%netscape.com
bc71cc93e8 freed mComponentsDir in nsComponentManager
git-svn-id: svn://10.0.0.236/trunk@48370 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:53:57 +00:00
briano%netscape.com
945d83af9f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:12:56 +00:00
dveditz%netscape.com
e0efc09bf1 match buffered i/o registry change in XP_MAC section
git-svn-id: svn://10.0.0.236/trunk@47942 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 07:00:55 +00:00
dp%netscape.com
6cbbd59105 Caching of what registry was opened to improve performance of multiple
opens on the same registry file.


git-svn-id: svn://10.0.0.236/trunk@47927 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 05:46:25 +00:00
dp%netscape.com
103414ae51 Ability for XPCOM to use non-default component registry and component directory
git-svn-id: svn://10.0.0.236/trunk@47809 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:28:57 +00:00
dp%netscape.com
1e513637f0 NS_ADDREF() instead of calling it directly
git-svn-id: svn://10.0.0.236/trunk@47805 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:20:18 +00:00
dp%netscape.com
5fd25d3296 Removing DEBUG_dp
git-svn-id: svn://10.0.0.236/trunk@47802 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:11:00 +00:00
dveditz%netscape.com
1653f8692f expose whether the registry is already open or not, which enables the profile
manager to avoid opening and closing the registry ~20 times at startup.


git-svn-id: svn://10.0.0.236/trunk@47736 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 05:32:28 +00:00
shaver%netscape.com
d13e0a7104 lose some DEBUG_shaver debugging noise
git-svn-id: svn://10.0.0.236/trunk@47584 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 14:45:29 +00:00
ramiro%netscape.com
9af4d29353 Fix for the loser linux tinderbox compiler.
git-svn-id: svn://10.0.0.236/trunk@47349 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 15:16:31 +00:00
ramiro%netscape.com
0e5bece386 Add support for demangling undefined symbols.
git-svn-id: svn://10.0.0.236/trunk@47342 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 13:40:22 +00:00
warren%netscape.com
4659a90837 Don't hold the service manager lock around CreateInstance -- deadlock potential.
git-svn-id: svn://10.0.0.236/trunk@47282 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 04:50:48 +00:00
shaver%netscape.com
19896c4e17 fix UMR
git-svn-id: svn://10.0.0.236/trunk@47189 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 22:34:42 +00:00
dp%netscape.com
1f56932ae0 Implemented dll enumeration and prepopulation. Improves startup performance.
git-svn-id: svn://10.0.0.236/trunk@46953 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 14:49:55 +00:00
dp%netscape.com
84052dc693 Typo fixed. AutoRegisterComponent works again.
git-svn-id: svn://10.0.0.236/trunk@46939 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 07:23:28 +00:00
dveditz%netscape.com
04940aa5cb speed startup by avoiding registry look ups that are guaranteed to fail, eliciting worst-case behavior
git-svn-id: svn://10.0.0.236/trunk@46709 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 05:27:23 +00:00
shaver%netscape.com
d28ae6ecaf fix memory leaks (eep) and add some debugging noise for myself
git-svn-id: svn://10.0.0.236/trunk@46470 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:48:30 +00:00
toshok%hungry.com
a998b7c38e remove the dll from mDllStore if we're about to delete it. keeps us from crashing if we try to load a dll after we fail once.
git-svn-id: svn://10.0.0.236/trunk@46469 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:47:22 +00:00
shaver%netscape.com
b052c8e4df fix MLK bugs 13285 and 13286 and prevent repeated PrePopulateRegistry calls
git-svn-id: svn://10.0.0.236/trunk@46297 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 04:22:37 +00:00
shaver%netscape.com
e40893df46 teach component manager that there are non-native entries in the registry
git-svn-id: svn://10.0.0.236/trunk@46237 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 23:18:47 +00:00
shaver%netscape.com
955b7a1d60 Moved abs:/rel: handling to ComponentManager.
Made nsIModule::GetClassObject and nsIFactory scriptable for JS components.
Added registryLocation param to nsIModule::(Un)RegisterSelf.


git-svn-id: svn://10.0.0.236/trunk@46161 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 05:06:37 +00:00