[squeak-dev] macintosh carbon VM 4.0.1b1U

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] macintosh carbon VM 4.0.1b1U

johnmci
I've pushed out a 4.0.1b1U macintosh carbon VM that is Closure  
compiler aware with Alien Support.

It can be found via
http://smalltalkconsulting.com/squeak.html


I also reviewed updated, and added the majority of the plugins that  
have built over the years to support the VM and Sophie
since the Pharo team is now using the extended clipboard plugin for  
unicode aware clipboard logic and there has been confusing
about where the plugin is.

The ones I added are:

ClipboardExtendedPlugin.bundle Extended clipboard support so you can  
fetch anything from the mac os-x clipboard if you can interpreter the  
bytes.
CurlPlugin.bundle Curl Support
KedamaPlugin.bundle
KedamaPlugin2.bundle
OggPlugin.bundle Ogg Support
RomePlugin.bundle
SerialExtendedUnixPlugin.bundle Extended os-x serial port support
SparklePlugin.bundle http://en.wikipedia.org/wiki/Sparkle_(software)


On the VM side  the changes are:

(a) Reference Mantis 0006987: signed32BitValueOf:, signed64BitValueOf:  
etc. broken
However I had earlier patched that code base in the 3.8.21x series so  
the issues involved have been fixed for some time.

(b) Updated SocketPlugin for IPv6 primitives.

(c) Reference Mantis 0007327: Bug in BitBlt: rgbMin and other set  
alpha to 0

(d) Changes to how SqueakUnTrustedDirectory and SqueakTrustedDirectory  
path names are resolved to support EToys On A Stick

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================




Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] macintosh carbon VM 4.0.1b1U

Randal L. Schwartz
>>>>> "John" == John M McIntosh <[hidden email]> writes:

John> I've pushed out a 4.0.1b1U macintosh carbon VM that is Closure  compiler aware
John> with Alien Support.

Does this vm work with a stock 3.10.2 image?  If I want closures,
is it a matter of just loading the right thing from Squeaksource?

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: macintosh carbon VM 4.0.1b1U

Andreas.Raab
Randal L. Schwartz wrote:
>>>>>> "John" == John M McIntosh <[hidden email]> writes:
>
> John> I've pushed out a 4.0.1b1U macintosh carbon VM that is Closure  compiler aware
> John> with Alien Support.
>
> Does this vm work with a stock 3.10.2 image?  If I want closures,
> is it a matter of just loading the right thing from Squeaksource?

There is a bit more involved than that. You need to run Eliot's
conversion scripts available at

   http://www.mirandabanda.org/cogblog/downloads

Or alternatively you just grab the image that I prepared here:

   http://squeakvm.org/win32/release/Squeak-3.10.2-Closures.zip

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] macintosh carbon VM 4.0.1b1U

johnmci
In reply to this post by Randal L. Schwartz
It's backward compatible to images long ago, for example when I do my  
final bytecode/second speed test, did I break anything smoke test  
before shipping, I do that with a squeak 3.0 Feb 4th 2001 image.

As for loading the closure changes, well the Pharo folks are busy  
working on and supporting a Pharo Closure image
http://gforge.inria.fr/frs/?group_id=1299

For the squeak stuff, a 3.11
http://ftp.squeak.org/3.11/

I don't think it's as simple as going to squeakssource and doing a load.


On 9-Apr-09, at 3:14 PM, Randal L. Schwartz wrote:

>>>>>> "John" == John M McIntosh <[hidden email]>  
>>>>>> writes:
>
> John> I've pushed out a 4.0.1b1U macintosh carbon VM that is  
> Closure  compiler aware
> John> with Alien Support.
>
> Does this vm work with a stock 3.10.2 image?  If I want closures,
> is it a matter of just loading the right thing from Squeaksource?
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503  
> 777 0095
> <[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.vox.com/ for Smalltalk and Seaside  
> discussion

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================




Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] macintosh carbon VM 4.0.1b1U

Randal L. Schwartz
>>>>> "John" == John M McIntosh <[hidden email]> writes:

John> It's backward compatible to images long ago, for example when I do my  final
John> bytecode/second speed test, did I break anything smoke test  before shipping,
John> I do that with a squeak 3.0 Feb 4th 2001 image.

John> As for loading the closure changes, well the Pharo folks are busy  working on
John> and supporting a Pharo Closure image
John> http://gforge.inria.fr/frs/?group_id=1299

John> For the squeak stuff, a 3.11
John> http://ftp.squeak.org/3.11/

John> I don't think it's as simple as going to squeakssource and doing a load.

Thanks for both of the followups.  Might want to snip this as stock text for
the next time you announce a vm... because I remember something vagule similar
to this the last time you announced a vm, and couldn't remember.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] macintosh carbon VM 4.0.1b1U

Damien Cassou-3
In reply to this post by johnmci
On Fri, Apr 10, 2009 at 12:00 AM, John M McIntosh
<[hidden email]> wrote:
> I've pushed out a 4.0.1b1U macintosh carbon VM that is Closure compiler
> aware with Alien Support.
>
> It can be found via
> http://smalltalkconsulting.com/squeak.html

I've updated http://pharo-project.org/download to point to this new
VM. Thank you John.

--
Damien Cassou
http://damiencassou.seasidehosting.st

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] macintosh carbon VM 4.0.1b1U

Damien Cassou-3
In reply to this post by johnmci
On Fri, Apr 10, 2009 at 12:58 AM, John M McIntosh
<[hidden email]> wrote:
> As for loading the closure changes, well the Pharo folks are busy working on
> and supporting a Pharo Closure image
> http://gforge.inria.fr/frs/?group_id=1299

Please use the pharo-project links instead of the gforge ones because
users don't have to know about GForge (implementation detail :-)).

http://pharo-project.org/download

--
Damien Cassou
http://damiencassou.seasidehosting.st

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: macintosh carbon VM 4.0.1b1U

Michael Haupt-3
In reply to this post by Andreas.Raab
Hi Andreas,

On Fri, Apr 10, 2009 at 12:33 AM, Andreas Raab <[hidden email]> wrote:
> Or alternatively you just grab the image that I prepared here:
>
>  http://squeakvm.org/win32/release/Squeak-3.10.2-Closures.zip

thanks. :-)

Using this image, a "MessageNotUnderstood:
UndeclaredVariableWarning>>name:" occurs when loading the Alien-Core
mcz package (after Alien-Core-First). The stack trace is attached...

It's probably just me missing something, but I'd nevertheless like to
ask for advice.

Best,

Michael



Squeak VM Schnappschuss002.png (19K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: macintosh carbon VM 4.0.1b1U

Eliot Miranda-2
Hi Michael,

    you're missing at least the correct definition of Encoder>>undeclared: which should send #name:selector:class: to initialize an UndeclaredVariableWarning, not just name:.  The method should have a stamp of eem 7/27/2008 17:41.

HTH

On Sun, Apr 12, 2009 at 3:43 PM, Michael Haupt <[hidden email]> wrote:
Hi Andreas,

On Fri, Apr 10, 2009 at 12:33 AM, Andreas Raab <[hidden email]> wrote:
> Or alternatively you just grab the image that I prepared here:
>
>  http://squeakvm.org/win32/release/Squeak-3.10.2-Closures.zip

thanks. :-)

Using this image, a "MessageNotUnderstood:
UndeclaredVariableWarning>>name:" occurs when loading the Alien-Core
mcz package (after Alien-Core-First). The stack trace is attached...

It's probably just me missing something, but I'd nevertheless like to
ask for advice.

Best,

Michael






Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: macintosh carbon VM 4.0.1b1U

Michael Haupt-3
Hi Eliot,

On Mon, Apr 13, 2009 at 8:41 PM, Eliot Miranda <[hidden email]> wrote:
>     you're missing at least the correct definition of Encoder>>undeclared:
> which should send #name:selector:class: to initialize an
> UndeclaredVariableWarning, not just name:.  The method should have a stamp
> of eem 7/27/2008 17:41.

I've got precisely that method in my image (I took the image Andreas provided).

Best,

Michael

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: macintosh carbon VM 4.0.1b1U

Eliot Miranda-2


On Mon, Apr 13, 2009 at 12:47 PM, Michael Haupt <[hidden email]> wrote:
Hi Eliot,

On Mon, Apr 13, 2009 at 8:41 PM, Eliot Miranda <[hidden email]> wrote:
>     you're missing at least the correct definition of Encoder>>undeclared:
> which should send #name:selector:class: to initialize an
> UndeclaredVariableWarning, not just name:.  The method should have a stamp
> of eem 7/27/2008 17:41.

I've got precisely that method in my image (I took the image Andreas provided).

Then the question is how is it sending name: when that method doesn't include a send of name:?

(Encoder>>#undeclared:) messages asSortedCollection asArray #(#asSymbol #associationAt: #at:put: #error: #global:name: #interactive #key: #name:selector:class: #new #notify: #requestor #signal #==)



Best,

Michael




Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: macintosh carbon VM 4.0.1b1U

Michael Haupt-3
In reply to this post by Michael Haupt-3
Hi Eliot,

some more info... running the tests in Compiler-Tests yields 2
failures and 7 errors (see attachment) - this is in Andreas' image,
without having loaded any Alien packages yet. (The image has only been
facelifted.)

I can provide you with details on the failures and errors (the first
of the errors is due to a MessageNotUnderstood: Interval>>frameSize).

Best,

Michael



Squeak VM Schnappschuss004.png (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: macintosh carbon VM 4.0.1b1U

Michael Haupt-3
In reply to this post by Eliot Miranda-2
Hi Eliot,

On Mon, Apr 13, 2009 at 10:12 PM, Eliot Miranda <[hidden email]> wrote:
> Then the question is how is it sending name: when that method doesn't
> include a send of name:?

hmmm... perhaps the conversion scripts haven't all been run?

Best,

Michael

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: macintosh carbon VM 4.0.1b1U

Eliot Miranda-2


On Mon, Apr 13, 2009 at 1:14 PM, Michael Haupt <[hidden email]> wrote:
Hi Eliot,

On Mon, Apr 13, 2009 at 10:12 PM, Eliot Miranda <[hidden email]> wrote:
> Then the question is how is it sending name: when that method doesn't
> include a send of name:?

hmmm... perhaps the conversion scripts haven't all been run?

I would look at the method in the debugger (via explore thisContext) and check if it is the method you think it is.

best
Eliot