28 Commits

Author SHA1 Message Date
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
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
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
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
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
dveditz%netscape.com
ee3cfca304 remove xp_file.h from NSReg.h, required minor tweaking elsewhere to include
now missing NSPR types.


git-svn-id: svn://10.0.0.236/trunk@46020 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 19:46:18 +00:00
dp%netscape.com
9bcdfa7b96 Removing nsIRegistry::GetIntArray() and SetIntArray(). These aren't
being used and block scritability. So if we need then, we will figure
out a way to add them that wont break scritability.


git-svn-id: svn://10.0.0.236/trunk@44644 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 05:11:40 +00:00
dp%netscape.com
c4a39c1bec Removed default parameter to Open() to facilitate IDLification.
git-svn-id: svn://10.0.0.236/trunk@44629 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 03:22:26 +00:00
scc%netscape.com
56d5ad0b43 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
mccabe%netscape.com
f54a574f03 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO.
git-svn-id: svn://10.0.0.236/trunk@44056 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 11:25:50 +00:00
dveditz%netscape.com
8d5c441791 removed redundant registry locking to improve performance
git-svn-id: svn://10.0.0.236/trunk@40343 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 22:50:26 +00:00
dp%netscape.com
e3db628872 Landing XPCOM_M8_PERF_BRANCH. Speeding up GetString().
git-svn-id: svn://10.0.0.236/trunk@38648 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 07:42:03 +00:00
dp%netscape.com
666974771c Caching of node names in nsIRegistryNode
Adding nsIRegistryNode::GetIID()
        - Thanks Dan Veditz


git-svn-id: svn://10.0.0.236/trunk@37955 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 03:34:08 +00:00
dp%netscape.com
4cac2072ff Adding back member to store error for nsRegistryNode and nsRegistryValue. This gets it working again.
git-svn-id: svn://10.0.0.236/trunk@36277 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 13:58:12 +00:00
dp%netscape.com
22530daf99 - Threading fixed. Changed member that stored error from nsRegistry
to be an automatic variable.
- Using XPCOM_ComponentRegistry for OpenWellknownRegistry()


git-svn-id: svn://10.0.0.236/trunk@36156 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 23:40:21 +00:00
dp%netscape.com
8afd0c31d1 Fixed crash due to multi-threading. bug# 7308, bug# 8150
git-svn-id: svn://10.0.0.236/trunk@35882 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 23:27:09 +00:00
dp%netscape.com
aef0c9821c - NS_RegistryGetFactory API Change
- QuickRegister eliminated


git-svn-id: svn://10.0.0.236/trunk@35108 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 02:07:03 +00:00
dp%netscape.com
725b2f99ce Well Known Component Registry in <exedir>/component.reg implemented.
git-svn-id: svn://10.0.0.236/trunk@34441 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:16:38 +00:00
dp%netscape.com
a70c1d486b More threadsafeness.
git-svn-id: svn://10.0.0.236/trunk@25829 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 06:45:50 +00:00
dp%netscape.com
2003680742 Fixed nsIRegistry implementation. ready for use. Thanks to Nicholas Ambrose <nick87@hotmail.com>
git-svn-id: svn://10.0.0.236/trunk@25683 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:28:36 +00:00
dp%netscape.com
587ed6002b InitXPCOM() : For a defined initialization sequence of xpcom global objects and components.
git-svn-id: svn://10.0.0.236/trunk@24915 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:28:32 +00:00
dp%netscape.com
c8ba1ff910 Patch for unsigned vs signed warnings. Thanks to <bruce@cybersight.com>
git-svn-id: svn://10.0.0.236/trunk@24620 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:26:32 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
law%netscape.com
771c27f26f Adding nsRegistry to win32 build
git-svn-id: svn://10.0.0.236/trunk@21950 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:20:39 +00:00
warren%netscape.com
cb10d9f3a0 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
git-svn-id: svn://10.0.0.236/trunk@21585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:10:24 +00:00
mjudge%netscape.com
a811da51ec changing nsIEnumerator to use NS_IMETHOD not virtual nsresult
git-svn-id: svn://10.0.0.236/trunk@21356 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:43:20 +00:00
law%netscape.com
d385a92372 moz->ns
git-svn-id: svn://10.0.0.236/trunk@20305 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 23:27:09 +00:00