Although development on my browser ('Morinfo') has only barely started,
enough parts are working that some of you might find it interesting. I
would also appreciate helpful advice on OO plumbing, etc. So, I've put
up a copy for your edification and amusement:
The tarball is available at http://www.cfcl.com/rdm/Morinfo_001.tgz
The app (specifically, files_metadata.pl) uses a few CPAN modules:
use Mac::Files;
use Mac::Resources;
use MacOSX::File::Info;
Of course, it also uses [CIP]B...
Here is a rundown on what version 0.0.1 is supposed to do:
* When the browser comes up, you should see an NSTabView with six
tabs (Files, ...). Only the first tab is real at this point;
the others just display static messages saying what they are
(eventually) supposed to cover.
* On the Files tab, you should see an NSTextField, an NSBrowser,
and another NSTabView.
The NSTextField and the NSBrowser start up at the current working
directory. Eventually, they will start up at a location specified
in the command line (and, thereby, from a contextual menu item). I
have most of the needed infrastructure for this, but I still have
to bolt it all together.
The NSTabView has six tabs, four of which do _something_:
+ Access
The Access tab contains an NSTableView and an NSTextView. The
NSTableView displays file system access information for the node
specified above, and for each node in the path leading to it.
Try pointing it at /tmp.
The NSTextView displays a (somewhat) customized exegesis of the
currently-selected row in the NSTableView. The idea is that the
user shouldn't have to memorize the ls(1) manual page in order to
find out what's going on with a file's permissions.
+ Links
The Links tab contains an NSTableView and an NSTextView. There
isn't any model code for it yet, however.
+ Metadata
The Metadata tab contains an NSTableView and an NSTextView. The
NSTableView displays a variety of (non-access) file metadata; the
NSTextView provides an explanation for the currently-selected row
in the NSTableView.
+ Versions
The Versions tab contains an NSOutlineView. The model code is
faked up, so that I could get the UI working.
-r
--
email: [EMAIL PROTECTED]; phone: +1 650-873-7841
http://www.cfcl.com/rdm - my home page, resume, etc.
http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection