Ya it's my bug, however it's way too late tonight for me to tackle it.
The problem is that if the menu contains (x) and we attempt to convert
that into a macintosh menu the older os-9 menu logic
has specialized meanings for character strings of the form (x) so we
attempt to fix it.
http://developer.apple.com/documentation/mac/Toolbox/Toolbox-144.html
I think in this case the morphic menus use (x) to mean x is a command
key, but that would disable the menu on the macintosh.
So I was fixing up usages of (x)
Obviously not correctly since it fails on strings of the form (x1...)
On 19-Nov-08, at 1:13 AM, David Röthlisberger wrote:
Hmm, an image, which you just sent me (10157ready.image), starts
without any problems on my windoze box. No 100% CPU load, all is
just
working as always.
Looks like the bug is VM/platform dependent, or you gave me wrong
image?.
The only platform dependend thing I added is the native menu on mac
(for mac users: try to
click on the "File" menu in the mac meny bar...).
The problem of Simon indeed seems to be related to this change.
He gets an endless loop in HostSystemMenusMacOSX >>
modifySqueakMenu: aString. When 'results' points to 'Universe
Browser (basic)', 'fixIndex' is always greater than 0, so the
whileTrue: loop will never end. The problem seems to be the $( in
this menu entry.
It's no clear to me what this method is supposed to do? Replacing
the character between '(x)' with '/X '? But for what reason? This
code obviously doesn't work when x is more than one character long.
This problem probably happened because when Simon loaded OB, it
changes the menu, although the defect entry is not one added by OB,
but by the Universe Browser. Adding any new entry probably triggers
in any case the new generation of this menu.
Cheers,
David
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
=
=
=
========================================================================
John M. McIntosh <[EMAIL PROTECTED]>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
=
=
=
========================================================================
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project