[squeak-dev] Mac carbon VM 4.2.1Beta1U posted

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

[squeak-dev] Mac carbon VM 4.2.1Beta1U posted

johnmci
I've posted a macintosh carbon VM 4.2.1Beta1U to the usual places  
found via

http://www.smalltalkconsulting.com/squeak.html

If there are no immediate problems then people should consider using  
this VM for their one-click offerings and
ensuring this is the current default macintosh VM  on Squeak.org.  
Early adopters should email the list right away in
case of problems.

As a reminder the 4.x series of macintosh VM have clean 32bit address  
space support, IPV6, full UTF-8 for file names
and clipboard, Closure support when activated by the image, and BitBlt  
fixes to enable beautiful fonts via Squeak on the macintosh,
plus the VM plugins folder has all the latest plugins.

If you *must* run a 3.8.x flavor of VM (why?) then you should use the  
latest fixed version which is 3.8.21b1
3.8.20 & 3.8.19 both have flaws causing image save failures, and  
3.8.17 or earlier are not 32bit clean hence more probable to crash
  on you.

A warning about BitBltPlugin.bundle distributed as  
"BitBltPlugin.v1.0.0b1.FreeTypePlus.bundle.zip"
This was an override to provide some better font behaviour rendering  
that was done in early 2007.
If you have this on your computer in a Plugins folder or think you  
need it, beware it will override the NEW fixed bitblt and
you wonder why your fonts don't render correctly in the last font  
efforts for Squeak. Therefore you should delete all/any
copies of BitBltPlugin.bundle

Changes:

There are some fixes to enable this VM to run a 64bit based Image,  
this is still a 32bit VM btw, and now
the VM comes with a macintosh QuickLook plugin that renders the  
thumbnail out of newer eToys projects.
Plus it has the Aug fixes for rendering antialiased StrikeFonts.

Other fixes detailed below:

4.2.1b1 We update our VM to VMMaker-dtl.135
                        Fixes
                        Reference Mantis 7260: some Float comparison primitives don't  
handle Nan correctly
                        Enable VM to run 64 bit images as a 32 bit VM
                        Reference Mantis 5238: Integer bug on 64bit image/32bit VM
                        Reference Mantis 7376: Bug in BitBlt (rgbMul sets alpha to 0)
                        Reference Mantis 7377: VM Crashes when setting port on destroyed  
socket (Win32)
                        Reference Mantis 7384: GeniePlugin does not compile on closure-
enabled images

                        Added eToys suggestion for a read only resource directory when  
sandboxed.
                        Info.plist gets a UTI and the SqueakResourceDirectory path
                        Via Bert Freudenberg added QuickLook plugin for rendering eToys  
project image Thumbnail

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





Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Mac carbon VM 4.2.1Beta1U posted

Simon Michael
Thank you John! Re mantis issue 7384: I tried installing Package Universe -> User Interface -> Genie into a current 3.10
trunk image. It fails to compile, as with the 4.1.1 vm. (It does work in the 3.10.2-7179-basic image, which I guess is
not closure-ized, with both vms.)


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Mac carbon VM 4.2.1Beta1U posted

johnmci
Are you saying that if you have  VMMaker-dtl.135 from SqueakSource  
loaded then the Genie plugin still fails to load?


On 20-Aug-09, at 5:35 PM, Simon Michael wrote:

> Thank you John! Re mantis issue 7384: I tried installing Package  
> Universe -> User Interface -> Genie into a current 3.10 trunk image.  
> It fails to compile, as with the 4.1.1 vm. (It does work in the  
> 3.10.2-7179-basic image, which I guess is not closure-ized, with  
> both vms.)
>
>

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





Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Mac carbon VM 4.2.1Beta1U posted

Simon Michael
John M McIntosh wrote:
> Are you saying that if you have  VMMaker-dtl.135 from SqueakSource  
> loaded then the Genie plugin still fails to load?

No, I had not tried that. Loading that now, it fails due to missing classes:

   FFIConstants
   KlattResonatorIndices

(I note only the 3.10.2-7179 image lists these, the trunk image is less helpful here.) So I installed the VMMaker from
package universe to get dependencies, then the .135 version, and then was able to install Genie from PU.

Thanks,
-Simon


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Mac carbon VM 4.2.1Beta1U posted

johnmci
Well "Trunk" is not setup to load VMMaker so you need to also load  
from "SqueakMap"  the Speech and the FFI products.
For FFI and Speech those might also be elsewhere, oh like mmm

MCHttpRepository
location: 'http://www.squeaksource.com/Ladrillos'
user: ''
password: ''
load Speech-Klatt-edc.1
and
FFI-Kernel-ar.7

I think it's be noted in the past what version of FFI and Klatt used  
is not particular important, rather finding them is the issue.


On 20-Aug-09, at 6:08 PM, Simon Michael wrote:

> John M McIntosh wrote:
>> Are you saying that if you have  VMMaker-dtl.135 from SqueakSource  
>> loaded then the Genie plugin still fails to load?
>
> No, I had not tried that. Loading that now, it fails due to missing  
> classes:
>
>  FFIConstants
>  KlattResonatorIndices
>
> (I note only the 3.10.2-7179 image lists these, the trunk image is  
> less helpful here.) So I installed the VMMaker from package universe  
> to get dependencies, then the .135 version, and then was able to  
> install Genie from PU.
>
> Thanks,
> -Simon
>
>

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





Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Mac carbon VM 4.2.1Beta1U posted

Simon Michael
Yes, I took the route of loading VMMaker from package universe first. This led to success, and now I can navigate with
mouse gestures again. Thanks!


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM 4.2.1Beta1U posted

Edgar J. De Cleene
In reply to this post by johnmci



On 8/20/09 9:10 PM, "John M McIntosh" <[hidden email]>
wrote:

> full UTF-8 for file names

I download and I still have troubles whit non - ascii.
I keep the old mac convention of italic f forl folder like naming cs Ÿ or st
Ÿ.
This show well in Finder and not in Squeak.
I attach picture

Image is Squeak3.10.2-trunkClosures.image up to date.

Edgar




Picture 1.png (16K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Mac carbon VM 4.2.1Beta1U posted

Edgar J. De Cleene
In reply to this post by johnmci



On 8/20/09 10:38 PM, "John M McIntosh" <[hidden email]>
wrote:

> Well "Trunk" is not setup to load VMMaker so you need to also load
> from "SqueakMap"  the Speech and the FFI products.
> For FFI and Speech those might also be elsewhere, oh like mmm
>
> MCHttpRepository
> location: 'http://www.squeaksource.com/Ladrillos'
> user: ''
> password: ''
> load Speech-Klatt-edc.1
> and
> FFI-Kernel-ar.7
>
> I think it's be noted in the past what version of FFI and Klatt used
> is not particular important, rather finding them is the issue.

Glad to know you use "Ladrillos" repository.
Ladrillos is bricks in Spanish and I say current packages is more like
pre-fabricated structures and could be break in smaller ones.
This was a example, you don't need all Speech and all FFI for have VMMaker.

Edgar




Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM 4.2.1Beta1U posted

Edgar J. De Cleene
In reply to this post by johnmci
John:

Still remains the trouble when you copy and paste from external places like
Finder, etc

Seems this Vm keeps his own clipboard, see
http://bugs.squeak.org/view.php?id=7364

Edgar






Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM 4.2.1Beta1U posted

johnmci
In reply to this post by Edgar J. De Cleene
Ok, well the 4.x series of macintosh VM work with UTF8 file names. I  
believe *all* the latest VM of
any platform flavour default to UTF8 for file names & paths.

What is going on here is the File Browser likely thinks the file names  
are macroman and not handling
the UTf8 characters properly. The AE[] is 2 byte UTF8 sequence for the ƒ

You should make a bug report, then someone can look at Pharo and  
understand what they did to fix the FileBrowser code.







On 21-Aug-09, at 3:09 AM, Edgar J. De Cleene wrote:

>
>
>
> On 8/20/09 9:10 PM, "John M McIntosh"  
> <[hidden email]>
> wrote:
>
>> full UTF-8 for file names
>
> I download and I still have troubles whit non - ascii.
> I keep the old mac convention of italic f forl folder like naming cs  
> ƒ or st
> ƒ.
> This show well in Finder and not in Squeak.
> I attach picture
>
> Image is Squeak3.10.2-trunkClosures.image up to date.
>
> Edgar
>
> <Picture 1.png>
--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================







pastedGraphic.tiff (28K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM 4.2.1Beta1U posted

johnmci
In reply to this post by Edgar J. De Cleene
In the 4.x series of macintosh carbon VMs I used code supplied by qwaq  
to pull back data from the clipboard.
It appears to be limited  in it's ability to properly handle different  
data types on the clipboard.

For Pharo I'm in the middle of extending the clipboard logic to use  
the macintosh extended clipboard plugin
so that you get the proper data, either text, or image data.

On 21-Aug-09, at 3:51 AM, Edgar J. De Cleene wrote:

> John:
>
> Still remains the trouble when you copy and paste from external  
> places like
> Finder, etc
>
> Seems this Vm keeps his own clipboard, see
> http://bugs.squeak.org/view.php?id=7364
>
> Edgar
>
>
>
>
>

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