Closed
Bug 21628
Opened 26 years ago
Closed 26 years ago
Implement nsIDirectoryService
Categories
(Core :: XPCOM, defect, P3)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
M14
People
(Reporter: dougt, Assigned: dougt)
References
Details
(Whiteboard: "fixed, reviewed and tested" - dougt)
Need a service to replace nsSpecialSystemDirectory and nsFileLocations for use
with nsIFile.
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M13
| Assignee | ||
Comment 1•26 years ago
|
||
got first cut of it implemented and checked into our branch. Further work is
needed to support everything that nsSpecialSystemDirectory and nsFileLocations
did.
| Assignee | ||
Updated•26 years ago
|
Target Milestone: M13 → M14
| Assignee | ||
Comment 2•26 years ago
|
||
moving into the m14 bucket.
Comment 4•26 years ago
|
||
Suresh Duddi wrote:
Warren Harris wrote:
> 3. The "special" directory service implementations are indeed special
> (as in "special education"). We saw one call to
> nsSpecialSystemDirectory::nsSpecialSystemDirectory make 16 calls to
> nsSpecialSystemDirectory::=, and most of the time there went to
> GetWindowsFolder and then to GetCurrentProcessDirectory. These should
> probably be called on demand and cached since I don't think they ever
> change. I think the new directory service provider architecture (with
> callbacks) should help here considerably.
I agree. You should file a bug on this if this needs to get fixed for
beta.
| Assignee | ||
Comment 5•26 years ago
|
||
I have changes which will make this an extendable service. I have tested on
linux and the mac, and have been running this on windows for at least two weeks.
It cleans up a memory leak as well. needs pdt+ approval.
Keywords: beta1
Target Milestone: M15 → M9
Comment 6•26 years ago
|
||
I think you wanted TFV to be M14 not M9. Changing...
Target Milestone: M9 → M14
| Assignee | ||
Comment 8•26 years ago
|
||
every Set() a nsLocalFile is lost. which is not that much. The bug for this
leak was written up by beard:
http://bugzilla.mozilla.org/show_bug.cgi?id=25584
I change how it all works, and I this is the bug for the new implementation.
| Assignee | ||
Comment 9•26 years ago
|
||
Fixed checked in.,
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•