Closed
Bug 21628
Opened 25 years ago
Closed 25 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•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M13
Assignee | ||
Comment 1•25 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•25 years ago
|
Target Milestone: M13 → M14
Assignee | ||
Comment 2•25 years ago
|
||
moving into the m14 bucket.
Comment 4•25 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•25 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•25 years ago
|
||
I think you wanted TFV to be M14 not M9. Changing...
Target Milestone: M9 → M14
Assignee | ||
Comment 8•25 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•25 years ago
|
||
Fixed checked in.,
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•