I don't think we need to do much more interface factoring, but we do need
to clean up what interfaces we have.

Issues I care about, in relative order:

 - breaking the xpcom dependency on the necko URL parser. If you want to
get an nsIFile for your file: URL, necko should provide a mechanism.  We
don't need that stuff in xpcom proper, for the same reason that we don't
want to depend on the i18n services.

 - use of UTF-8 in our path-fu, so that we don't pay the downsampling and
storage costs all the time. If someone has a UCS-2 path and they need to
talk to us, they can UTF-8-encode it themselves, or pull in the i18n
services and use them directly.

 - meaningful access to unix file things like the link target, perhaps
through an nsIUnixFile additional interface.

I think our path-manipulation semantics could use some scrubbing too, since
the append-as-subpath vs. set-as-new-leafname rules are a little baroque.

Mike

Reply via email to