On Fri, 21 May 2004 at 12:34:33 -0700, Pete Kirkham wrote:
> OS X lists the year for not-this-year's files.
> line 107 of Directory.java can be modified to include a
> regex for OS X
> // --time-style=Mac OSX
> // -rw-r--r-- 1 pete pete 6065 23 Oct 2003
> // -rw-r--r-- 1 pete pete 75350 21 May 19:58
> String osX = "[0-9]+ +[0-9]+ ([A-Z][a-z]+)
> (([0-2][0-9]:[0-9][0-9])|( [0-2][0-9][0-9][0-9])) ";
> nativeMoveToFilenameRegExp =
> new UncheckedRE("(" + traditional + ")|(" + iso +
> ")|(" + osX + ")", 0, syntax);
I've committed a slightly-easier-to-read version of this change, which
I hope is identical in effect to the original above. Please let me know
if this does or doesn't work on Mac OS X; I don't have a Mac to test on.
> You can quite easily find the main class (and move it to
> the default package and call it ArmedBearJ.java so the
> application name looks nice) and set system properties
> // OS X properties
> System.setProperty("apple.laf.useScreenMenuBar", "true");
Are we talking about moving src/Main.java to src/ArmedBearJ.java?
I'm also not sure what you mean by "move it to the default package".
What's the default package?
In principle I wouldn't mind doing something like this, but I'd
probably be inclined to call it simply "J.java".
> That will put the menus on the screen menu bar, but the mode
> menu get fixed on whatever mode the editor starts up in. I
> spent a while thinking how to fix that, but as I use
> keyboard shortcuts all the time I didn't bother.
I think I'd rather have menus that work correctly as part of the
application window as opposed to broken menus on the screen menu bar,
so I haven't done anything to set the aforementioned system properties.
Since, as mentioned, I don't have a Mac, I'm not going to be the one to
work on this, but if anyone can figure out how to do it without
breaking anything I'd be glad to consider a well-tested patch.