I'm playing with some of the code from "A Taste of Smalltalk" and have a
comment and question.
First off it seems that Squeak doesn't implement the white: black: gray:
etc. rectangle filling methods.
I've gotten around this by just calling fillWhite:, etc from the
DisplayMedium class. If anyone wants to
pass on the actual definitions of white:, etc. I'd appreciate it.
My question is why does 'invert'ing a white display (on the Windows version
of Squeak) produce pink?
I haven't looked into this yet, figured I'd ask if anyone knows...I was sort
of expecting black.
Cheers,
S
-------------------------------------------------------------------
VisualNewt Software: http://www.VisualNewt.com/
Makers of Newt'sPaper(tm), the premiere news reader
for the Apple Newton(R) MessagePad(tm).
-------------------------------------------------------------------
Attachment converted: Cog:Serg Koren (E-mail).vcf (TEXT/ttxt) (0000A1F4)
> > As Einstein once said: Simplify things as much as possible, but not too
>> much.
>
> Urf. I believe that was "Make things as simple as possible, but no
>simpler." Half the fun of quotes is the delivery. :)
>
> As Graham Chapman once said, whilst impersonating Oscar Wilde (or
>was it George Bernard Shaw? :), "I wish I had said that."
>
>
>-C
>
>
>
>--
>Craig Latta
>composer and computer scientist
>craig.latta(a)netjam.org
>www.netjam.org
>latta(a)interval.com
>Smalltalkers do: [:it | All with: Class, (And love: it)]
The correct story about Wilde was that he heard someone else make a witty
comment, and remarked "I wish I had said that", whereupon his companion
replied, "You will, Oscar, you will!" - so perhaps it IS still applicable
:-)
N.
Work email: N.Moray(a)surrey.ac.uk
Home email: nmoray(a)globalnet.co.uk
send messages to both if Urgent
Work address:
DERA Professor of Applied Cognitive Psychology,
Department of Psychology,
University of Surrey,
Guildford,
Surrey GU2 5XH
United Kingdom.
Phone number: +44-(0)1483-300-800 and ask for extension 2865
Fax: +44-(0)1483-32813
Home address:
10a Hampstead Hill Gardens,
London NW3 2PL.
Phone: +44-(0)171-431-4813
"Be well, do good work, and keep in touch" (Garrison Keiler)
Hi,
I'm finishing up an upgrade to the Mac version of Squeak's VM application
and am trying to figure out how the bytestream for the included *.sit file
was created. I've cleaned up the code and made it compatible
with CodeWarrior Pro 2 version and have figured out how to get my code to
generate cleanly (and recompile cleanly), but need to incorporate the Stuffit
project file. To do this I need to convert the Stuffit file into a bytestream
that Squeak can use. Anyone know how this was done? Once I can do this,
I'll post the update on my web site.
FYI the changes include:
- Clean compile and build under CW Pro2
- Real resource file in the VM...it now has a real Squeak icon, etc.
- Real About box.
- A couple of Smalltalk examples (mostly from "A Taste of Smalltalk")
Thanks,
S
-------------------------------------------------
VisualNewt Software: http://www.VisualNewt.com/
Maker of Newt'sPaper(tm) the Premier Newton(R)
MessagePad(tm) News Reader.
-----------Sent by BeOS--------------------------
Hi,
This is to let everyone know I've set up a couple of web pages related to
two Squeak projects I've undertaken. The first is to upgrade the
Macintosh Squeak VM application to be more Mac like and to get it to compile
cleanly under the latest version of CodeWarrior; I've actually done
this already.
In addition, I've started porting Squeak to BeOS (http://www.be.com/).
I'm currently in the process of porting the platform specific portions of
the code.
For more info, feel free to check out the following URLs:
Mac Squeak 1.24SK - http://www.VisualNewt.com/Mac/Squeak124.html
BeSqueak - http://www.VisualNewt.com/BeOS/Squeak.html
Also, if anyone wants to contribute good Smalltalk examples (with
significant comments) for inclusion, feel free to submit them to me
for inclusion.
I'll make sure you get credit in the code and readme files.
For more info you can email me at Serg(a)VisualNewt.com
Thanks,
Serg Koren
VisualNewt Software
-------------------------------------------------
VisualNewt Software: http://www.VisualNewt.com/
Maker of Newt'sPaper(tm) the Premier Newton(R)
MessagePad(tm) News Reader.
-----------Sent by BeOS--------------------------
On Sun 28 Dec, William O. Dargel wrote:
> Leandro Caniglia wrote:
>
> > Could someone try to reproduce the VM crash I'm experiencing by
> > repeating the steps bellow? Thank you.
> >
> > 1. Open a workspace and evaluate: " self halt error: 'An error
> > message...' "
> > 2. When the 'Halt encountered' window pops up, select debug.
> > 3. From the debbuger menu, select 'step' (stepping the #halt)
> > 4. Then select 'step' one more time (trying to step the #error:).
> > 5. Wait to see if the VM crashes...
> >
> > I'm using Squeak 1.23 on NT 4.0
>
Happens on my Acorn as well. Some more details:-
if you proceed at 2. , all is well.
if you debug at 2. and then step over the halt but proceed from there, all is well
if you you debug, step, then send the error: and proceed from the first message there in, all is well.
if you go the same route but keep stepping, the system dies when stepping over the DebuggerView>openContext:label:contents: message.
if you send this message instead of stepping over it, you can eventually get all the way down to ControlManager>scheduleActiveNoTerminate: and thence to scheduled:from: where stepping over 'self activeController: aController' crashes you
.. This tallies reasonably well with observed behaviour when trying some of the earlier routes, since the debugger deEmphasises just before the crash.
Since William sees an apparent failure on prim 88 (suspend) and I get to where a resume is sent, I have some suspicions about some sort of clash between suspend and resume when the process involved has been molested by the debugger.
That's all I have time to spend digging for now, but hopefully it
might help someone.
tim
--
Fractured Idiom:- RIGOR MORRIS - The cat is dead
Tim Rowledge: rowledge(a)interval.com (w) +1 (650) 856-7230 (w)
tim(a)sumeru.stanford.edu (h) <http://sumeru.stanford.edu/tim>