Closed Bug 28966 Opened 26 years ago Closed 24 years ago

Remove implementation exposing methods from nsILocalFileMac

Categories

(Core :: XPCOM, defect, P3)

PowerPC
Mac System 8.0
defect

Tracking

()

VERIFIED DUPLICATE of bug 100828
mozilla0.9.6

People

(Reporter: dougt, Assigned: ccarlen)

Details

(Keywords: arch, embed)

These functions should not be in the interface as they discuss implementation details: GetInitType SetAppendedPath GetAppendedPath These entry points are confusing to say the least: GetFSSpec GetResolvedFSSpec GetTargetFSSpec
For proper cloning of an nsLocalFileMac you need GetInitType, SetAppendedPath and GetAppendedPath and GetFSSpec. I forget why I added GetResolved and GetTarget but they are potentially useful.
steve, these do not have to be in a public interface. The details of cloning should be left to the implementation.
Private interfaces for an XPCOM object? News to me. I'd say feel free to create one for the methods that offend you but you should be talking to whoever is responsible the Mac impl now.
dougt is saying that these do not need to be in nsILocalFileMac, but can remain in nsLocalFileMac (say, as protected methods)
targeting m16. If you reported this bug, and you would like to have it fixed sooner, please send me email. I will see what I can do. :-)
Target Milestone: M16
scc, could you help out on this?
Assignee: dougt → scc
I'm happy to help with this; but making it fairly low priority. There are several simple but sweeping interface changes that I want to make (this now being one of them) which I'll use as filler in between hard bugs ... so the fact that I'm marking this M20 does not mean I won't be fixing it sooner.
Status: NEW → ASSIGNED
Target Milestone: M16 → M20
mass re-assigning to my new bugzilla account
Assignee: scc → scc
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
The suggestion from macdev was to re-assign this bug to you, conrad. You can decide if it's still valid.
Assignee: scc → ccarlen
Status: ASSIGNED → NEW
I completely agree with the initial claim in this bug. I have wondered why we needed accessors to the appended path. I also think it's questionable to use 3 specs to represent one file internally, but making it public is certainly not good.
Status: NEW → ASSIGNED
Summary: nsILocalFileMac problems → Remove implementation exposing methods from nsILocalFileMac
Setting milestone to mozilla0.9. Hopefully, I can get to this sooner.
Target Milestone: --- → mozilla0.9
QA Contact: leger → kandrot
-> 0.9.1
Target Milestone: mozilla0.9 → mozilla0.9.1
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Moving off again. This should probably wait until the nsIFile API is possibly split and reworked.
Target Milestone: mozilla0.9.3 → mozilla1.0
Working on this along with some other nsILocalFileMac cleanup.
Target Milestone: mozilla1.0 → mozilla0.9.6
This is all fixed in the patch for bug 100828. *** This bug has been marked as a duplicate of 100828 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.