At 17:56 +0100 2002.03.11, Bart Lateur wrote:
> - The above URL at Sourceforge says that you need at least OS 9.

That is the SF Trove classification system, to differentiate "Classic" Mac
OS with Mac OS X.  Mac OS X and Mac OS 9 are the only two options.  I added
the OS version to the front page to make this clear.


> - The old style module StandardFile.pl doesn't appear to be working.
>The newer Mac::StandardFile is a terribly obscure "replacement". That
>doesn't seem to be too backward-compatibility friendly.

The absence of StandardFile.pl *is* noted in macperldelta, under
"Incompatible Changes".

  http://dev.macperl.org/docs/macperldelta.html#Various_pl_and_ph_Libraries_No

So yeah, it is not backward-compatibility friendly; however, moving to
Mac::StandardFile is actually quite easy for most cases, although one does
need to learn how to do it.


>Should I file a proper bug report, or is this a "feature request"?
>
>    # choose not implemented at the moment.
>    File '...:StandardFile.pl' line 48

You can file it, but there's only two ways we could include StandardFile.pl:

        * Choose() is implemented in GUSI 2
        * StandardFile.pl is rewritten to not use Choose()

I can't do the former and am disinclined from doing the latter, unless it
were an entirely transparent functional replacement for the previous
StandardFile.pl, which I don't think is actually possible, since
Mac::StandardFile doesn't support directories.  So I'd do it if it would
work, but I don't think it will.

Although, perhaps Mac::StandardFile could be patched to handle directories
.... there is a StandardGetFolder.  It seems kinda silly to patch
Mac::StandardFile, since it is on its way to deprecation (as StandardFile
itself has been deprecated by Apple) but OTOH, it shouldn't be too
difficult.

What I *would* support, which I started once and never really got around to
completing (barely started it, really) is a simple interface to put/get
files and folder dialogs, which would use Mac::Navigation if available
(which it usually will be, since Navigation is required for the app now),
and Mac::StandardFile otherwise.  Then everyone can switch to these calls,
whatever they are (maybe they would mimic the StandardFile.pl interface,
for simplicity).  Or maybe StandardFile.pl can just call this other module.

Who wants to work on it?  :-)

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to