gecko-dev/xpcom/doc/TODO.html

255 lines
5.5 KiB
HTML
Raw Normal View History

1999-03-23 01:53:31 +00:00
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
1999-04-12 12:46:17 +00:00
<meta name="GENERATOR" content="Mozilla/4.51 [en] (WinNT; U) [Netscape]">
1999-03-23 01:53:31 +00:00
<meta name="Author" content="Suresh Duddi">
<title>TODO List for XPCOM</title>
</head>
<body>
<center>
<h1>
TODO List for XPCOM</h1></center>
1999-03-25 09:20:05 +00:00
<center>Last updated: 25 March 1999
1999-03-23 01:59:35 +00:00
<br><a href="mailto:dp@netscape.com">Suresh Duddi</a></center>
1999-03-23 01:53:31 +00:00
1999-03-23 01:59:35 +00:00
<table BORDER WIDTH="100%" NOSAVE >
1999-03-23 01:53:31 +00:00
<tr NOSAVE>
<th NOSAVE>Task</th>
1999-03-25 09:20:05 +00:00
<th NOSAVE><a href="http://bugzilla.mozilla.org/bug_status.html#priority">Priority</a></th>
1999-03-23 01:59:35 +00:00
1999-03-23 01:53:31 +00:00
<th NOSAVE>Owner</th>
<th NOSAVE>MileStone complete/Status</th>
</tr>
1999-04-02 21:43:34 +00:00
<tr BGCOLOR="#33CCFF" NOSAVE>
1999-03-23 01:59:35 +00:00
<td NOSAVE>Move xpcom from using NR_*() functions (modules/libreg) to nsIRegistry
1999-03-23 02:06:31 +00:00
(xpcom/src/nsRegistry.cpp)
<ul>
<li>
1999-03-23 20:11:36 +00:00
Mainly you want to change all the Platform*() functions in nsComponentManager.cpp</li>
1999-03-23 02:06:31 +00:00
<li>
1999-03-23 20:11:36 +00:00
Now we open/close the registry all the time. I want to keep the registry
1999-03-23 02:06:31 +00:00
open all the time. That would get performance up.</li>
<li>
1999-03-23 20:11:36 +00:00
Platform*() functions use the NR_*Raw() functions in some places. I wonder
if the nsRegistry has a equivalent. If not we need to create them.</li>
1999-03-23 02:06:31 +00:00
</ul>
Mostly, there is equivalence between NR_*() calls and nsRegistry calls.&nbsp;</td>
1999-03-23 01:59:35 +00:00
1999-03-25 09:20:05 +00:00
<td>P2</td>
1999-03-23 01:53:31 +00:00
1999-03-23 20:11:36 +00:00
<td>Nick Ambrose &lt;<a href="mailto:nicka87@hotmail.com">nicka87@hotmail.com</a>></td>
1999-03-23 01:53:31 +00:00
1999-03-30 00:41:47 +00:00
<td>3/22/1999 started
<br>3/27/1999 Patch submitted
1999-04-01 07:27:42 +00:00
<br>3/30/1999 landing
<br><b>DONE</b></td>
1999-03-23 01:53:31 +00:00
</tr>
1999-04-12 12:46:17 +00:00
<tr BGCOLOR="#33CCFF">
<td>RegisterFactory() and RegisterComponent(..persist=0) ignoring CONTRACTID.
1999-04-12 12:46:17 +00:00
Needs Fix.</td>
<td>P1</td>
<td>Nick Ambrose &lt;<a href="mailto:nicka87@hotmail.com">nicka87@hotmail.com</a>></td>
<td>4/6/1999 started
<br>4/7/1999 Patch submitted
<br>4/12/1999 Patch Checked in
<br><b>DONE</b></td>
</tr>
1999-03-23 01:53:31 +00:00
<tr>
1999-03-23 20:11:36 +00:00
<td>Startup components: Some components need to be created at startup.
1999-03-23 01:53:31 +00:00
Have a framework for them.</td>
1999-03-25 09:20:05 +00:00
<td>P1</td>
1999-03-23 01:59:35 +00:00
1999-04-12 12:46:17 +00:00
<td><a href="mailto:dp@netscape.com">Suresh Duddi</a></td>
1999-03-23 01:53:31 +00:00
<td></td>
</tr>
<tr>
1999-03-23 01:59:35 +00:00
<td>nsIRegistry access via Javascript.</td>
1999-03-25 09:20:05 +00:00
<td>P1</td>
1999-03-23 01:53:31 +00:00
<td></td>
1999-03-25 09:20:05 +00:00
<td>IDL of nsIRegistry will fix this says <a href="mailto:jband@netscape.com">John
Bandhauer</a></td>
1999-03-23 01:53:31 +00:00
</tr>
1999-04-02 21:43:34 +00:00
<tr BGCOLOR="#33CCFF" NOSAVE>
<td NOSAVE>API changes: Remove all pathlist. XPCOM should support only
paths.</td>
1999-03-23 01:53:31 +00:00
1999-03-25 09:20:05 +00:00
<td>P1</td>
1999-03-23 01:59:35 +00:00
1999-04-02 21:43:34 +00:00
<td><a href="mailto:dp@netscape.com">Suresh Duddi</a></td>
1999-03-23 01:59:35 +00:00
1999-04-02 21:43:34 +00:00
<td>4/2/1999 Checked in
<br><b>DONE</b></td>
1999-03-23 01:59:35 +00:00
</tr>
<tr>
<td>Fix xpcom from being initialized before main from static variables.</td>
1999-03-25 09:20:05 +00:00
<td>P1</td>
1999-03-23 01:59:35 +00:00
1999-03-25 09:20:05 +00:00
<td><a href="mailto:dp@netscape.com">Suresh Duddi</a></td>
1999-03-23 01:59:35 +00:00
1999-03-25 09:20:05 +00:00
<td>3/22/1999 Started.
<br>- checked in a fixed xpcom initialization sequence.
1999-04-05 06:41:12 +00:00
<br>- Now got to fix all code statically calling it. I know Netlib does.
1999-04-12 12:46:17 +00:00
<br>- 4/1/1999 Fixed netlib on unix from static intialization. WIN is left.</td>
1999-03-23 01:59:35 +00:00
</tr>
<tr>
1999-03-23 20:11:36 +00:00
<td>Path handling: Use nsFileSpec instead of file path names. Char * pathnames
are not intl, and cannot be stored in the registry. Plus that wont support
1999-03-30 00:41:47 +00:00
mac aliases.
<ul>
<li>
Possibly move autoreg out of xpcom</li>
</ul>
</td>
1999-03-23 01:59:35 +00:00
<td>P1</td>
1999-03-25 09:20:05 +00:00
<td><a href="mailto:dp@netscape.com">Suresh Duddi</a>
<br><a href="mailto:rjc@netscape.com">Robert Churchill</a></td>
1999-04-02 21:43:34 +00:00
<td>3/24/1999 started
1999-04-12 12:46:17 +00:00
<br><b>Blocked </b>on deciding which solution to pick.</td>
1999-03-25 09:20:05 +00:00
</tr>
<tr>
<td>Registry dump utility (regExport exists on windows) and about:registry
(or) better yet an rdf data source for the registry.</td>
<td>P3</td>
1999-04-05 06:41:12 +00:00
<td><a href="mailto:dp@netscape.com">Suresh Duddi</a></td>
1999-03-23 01:53:31 +00:00
1999-04-05 06:41:12 +00:00
<td>4/5/1999 Fixed regExport to accurately dump the registry on win and
unix.
<br>- regExport needs to be compiled on the mac.</td>
1999-03-30 00:41:47 +00:00
</tr>
<tr>
<td>Replace use of nsVector (PL_Vector) with nsISupportsArray</td>
<td>P3</td>
1999-04-01 07:27:42 +00:00
<td></td>
1999-03-30 00:41:47 +00:00
<td></td>
</tr>
<tr>
1999-04-01 07:27:42 +00:00
<td>PATH argument to NSRegisterSelf() and NSUnregisterSelf() to be a nsISupports</td>
1999-03-30 00:41:47 +00:00
<td>P1</td>
<td></td>
1999-04-01 07:27:42 +00:00
<td></td>
</tr>
1999-04-05 06:41:12 +00:00
<tr BGCOLOR="#33CCFF" NOSAVE>
<td NOSAVE>Code Cleanup:
1999-04-01 07:27:42 +00:00
<ul>
<li>
Registry path strings in nsComponentManager.cpp #defined</li>
</ul>
</td>
<td>P3</td>
<td>Nick Ambrose &lt;<a href="mailto:nicka87@hotmail.com">nicka87@hotmail.com</a>></td>
1999-04-05 06:41:12 +00:00
<td>4/1/1999 started
<br>4/5/1999 Patch submitted and checked in
<br><b>DONE</b></td>
1999-04-01 07:27:42 +00:00
</tr>
1999-04-12 12:46:17 +00:00
<tr BGCOLOR="#33CCFF">
1999-04-01 07:27:42 +00:00
<td>Performance
<ul>
<li>
Cache commonly used registry keys</li>
</ul>
</td>
<td>P1</td>
<td>Nick Ambrose &lt;<a href="mailto:nicka87@hotmail.com">nicka87@hotmail.com</a>></td>
1999-04-12 12:46:17 +00:00
<td>4/1/1999 started
<br>4/5/1999 Patch submitted and checked in
<br><b>DONE</b></td>
</tr>
<tr>
<td>Factories: Use previously created factories for object creation instead
of creating the factory everytime the object needs to be created.
<ul>
<li>
This is very tricky as the factory is owned by the component and when it
decides to unload itself on a CanUnload() call, the factory will be released.
Got to make sure that the component manager gets notified of this if it
caches the factory.</li>
</ul>
</td>
<td>P2</td>
<td></td>
<td></td>
1999-04-01 07:27:42 +00:00
</tr>
1999-04-02 21:43:34 +00:00
<tr BGCOLOR="#33CCFF" NOSAVE>
<td NOSAVE>nsIAllocator: wrap it in a static api</td>
1999-04-01 07:27:42 +00:00
<td>P2</td>
<td><a href="mailto:jband@netscape.com">John Bandhauer</a></td>
1999-04-01 07:27:42 +00:00
<td NOSAVE>3/31/1999 started
1999-04-02 21:43:34 +00:00
<br>4/2/1999 Check in
<br><b>DONE</b></td>
1999-03-23 01:53:31 +00:00
</tr>
</table>
1999-03-25 09:20:05 +00:00
<h2>
Documentation on XPCOM</h2>
<ul>
<li>
<a href="TODO.html">TODO List</a> &lt;<i>this page></i></li>
1999-03-23 01:59:35 +00:00
1999-03-25 09:20:05 +00:00
<li>
XPCOM main page : <a href="http://www.mozilla.org/projects/xpcom">http://www.mozilla.org/projects/xpcom</a></li>
<li>
<a href="xpcom-code-faq.html">Code FAQ</a></li>
<li>
<a href="xpcom-component-registration.html">Component Registration</a></li>
</ul>
1999-03-23 01:59:35 +00:00
1999-03-25 09:20:05 +00:00
<hr WIDTH="100%">
1999-03-23 01:53:31 +00:00
</body>
</html>