[squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

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

[squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

johnmci
I've updated the Macintosh Carbon VM to include the latest changes for  
serial port logic which was driven by changes in the Unix serial port  
plugin.
Plus Bert identified that horizontal wheel scrolling didn't work  
correctly, oddly it's never worked since I think 2002.  People must  
not use those
funky dual touch/action track pads on the macintosh I'd guess.

I've added these changes to the SVN tree on squeakvm.org

I've also uploaded the new VM as Squeak 4.2.2beta1U.app.zip
found via
http://smalltalkconsulting.com/squeak.html

If someone other than Bert confirm the horizontal scrolling works,  
plus I couldn't test the altered serial port logic since I don't have  
a serial like device
around that my mac would talk to. Promptly report any issues...

Hint, don't forget to purchase your copy of ST80Docs or SqueakDocs on  
the iPhone to help defer the costs of my yearly Apple development  
license
as you click thru to download the VM.


4.2.2b1 We update system to 10.6.1 and newest xCode
                        Build powerpc VM with gcc 4.0
                        Run Static Analyser
                        FilePlugin.c
                        SetVMPathFromApplicationDirectory
                        memory leak from vmPathString

                        NSCursorWrappers.m
                        fix memory leak, bitmap, image

                        sqMacMain.c
                        fixupNonAbsolutePath
                        memory leak from resourcePathString

                        sqMacNSPluginUILogic2.c
                        handle_CMD_SHARED_MEMORY
                        memory leak from colorspace

                        sqmacUIEventsUniversal.c
                        Bert reported scroll wheel movement was wrong.
                        We did not get kEventParamMouseWheelAxis correctly
                        This problem oddly has existed for years.

                        SerialPort, use unix serial port logic that now supports named  
ports, instead of older carbon solutions.


--
=
=
=
========================================================================
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: [Pharo-project] Mac carbon VM goes to 4.2.2Beta1U

SergeStinckwich
On Mon, Sep 28, 2009 at 4:49 AM, John M McIntosh
<[hidden email]> wrote:
> I've updated the Macintosh Carbon VM to include the latest changes for
> serial port logic which was driven by changes in the Unix serial port
> plugin.
> Plus Bert identified that horizontal wheel scrolling didn't work
> correctly, oddly it's never worked since I think 2002.  People must
> not use those
> funky dual touch/action track pads on the macintosh I'd guess.


I use them all the time, i never see a problem ...

--
Serge Stinckwich
UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
Smalltalkers do: [:it | All with: Class, (And love: it)]
http://doesnotunderstand.org/

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

Damien Cassou-3
In reply to this post by johnmci
On Sun, Sep 27, 2009 at 11:49 PM, John M McIntosh
<[hidden email]> wrote:
> I've also uploaded the new VM as Squeak 4.2.2beta1U.app.zip
> found via
> http://smalltalkconsulting.com/squeak.html

Just updated the Pharo website http://pharo-project.org/pharo-download

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

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: [Pharo-project] Mac carbon VM goes to 4.2.2Beta1U

Bert Freudenberg
In reply to this post by SergeStinckwich

On 28.09.2009, at 03:27, Serge Stinckwich wrote:

> On Mon, Sep 28, 2009 at 4:49 AM, John M McIntosh
> <[hidden email]> wrote:
>>
>> Plus Bert identified that horizontal wheel scrolling didn't work
>> correctly, oddly it's never worked since I think 2002.  People must
>> not use those
>> funky dual touch/action track pads on the macintosh I'd guess.
>
>
> I use them all the time, i never see a problem ...

For scrolling horizontally in Squeak?

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

Noury Bouraqadi
In reply to this post by Damien Cassou-3

On 28 sept. 09, at 10:12, Damien Cassou wrote:

> On Sun, Sep 27, 2009 at 11:49 PM, John M McIntosh
> <[hidden email]> wrote:
>> I've also uploaded the new VM as Squeak 4.2.2beta1U.app.zip
>> found via
>> http://smalltalkconsulting.com/squeak.html
>
> Just updated the Pharo website http://pharo-project.org/pharo-download
>
It isn't visible yet. There is a link to 4.2.1beta1

BTW, John, why all your VMs are always qualified beta?
 From the outside, it looks strange :-)
I suggest to remove the tag.

Noury
http://vst.ensm-douai.fr/noury/
--------------
-17èmes Journées Francophones sur les Systèmes Multi-Agents  
(JFSMA’09). Lyon, 19-21 Octobre 2009 - http://bat710.univ-lyon1.fr/~sycosma/JFSMA09/

-2nd International Workshop on Agent Technology for Disaster  
Management (ATDM'09), Nagoya, Japan, Dec. 13rd, 2009 - http://doesnotunderstand.org/wikka.php?wakka=ATDM2009

-16ème Conférence francophone sur les Langages et Modèles à Objets  
(LMO). Pau 2010 - http://lmo-conference.org/2010

-ESUG 18th International Smalltalk Conference - Barcelona, Spain 2010
http://www.esug.org/Conferences/2010









Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

johnmci
On 2009-09-28, at 7:28 AM, Noury Bouraqadi wrote:

> BTW, John, why all your VMs are always qualified beta?
> From the outside, it looks strange :-)
> I suggest to remove the tag.

That is a historical feature.

However given the maturity of the macintosh carbon VM code base,
I'll remove the tag on the next iteration!

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





Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

Bert Freudenberg
In reply to this post by johnmci

On 27.09.2009, at 23:49, John M McIntosh wrote:
>
> I've also uploaded the new VM as Squeak 4.2.2beta1U.app.zip
> found via
> http://smalltalkconsulting.com/squeak.html

Is it intentional there is no "Squeak VM Opt.sig" anymore?

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

johnmci
oops

Let me fix that

For the curious that is a PGP signature file for the binary.

On 2009-09-29, at 9:12 AM, Bert Freudenberg wrote:

>
> On 27.09.2009, at 23:49, John M McIntosh wrote:
>>
>> I've also uploaded the new VM as Squeak 4.2.2beta1U.app.zip
>> found via
>> http://smalltalkconsulting.com/squeak.html
>
> Is it intentional there is no "Squeak VM Opt.sig" anymore?
>
> - Bert -
>
>

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





Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

Bert Freudenberg
Curious indeed - what uses that?

- Bert -

On 29.09.2009, at 19:25, John M McIntosh wrote:

> oops
>
> Let me fix that
>
> For the curious that is a PGP signature file for the binary.
>
> On 2009-09-29, at 9:12 AM, Bert Freudenberg wrote:
>
>>
>> On 27.09.2009, at 23:49, John M McIntosh wrote:
>>>
>>> I've also uploaded the new VM as Squeak 4.2.2beta1U.app.zip
>>> found via
>>> http://smalltalkconsulting.com/squeak.html
>>
>> Is it intentional there is no "Squeak VM Opt.sig" anymore?
>>
>> - Bert -
>>
>>




Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

johnmci
The paranoid can use PGP to confirm the binary for the VM is the one  
that I signed via PGP encryption.

On 2009-09-29, at 10:27 AM, Bert Freudenberg wrote:

> Curious indeed - what uses that?
>
> - Bert -
>
> On 29.09.2009, at 19:25, John M McIntosh wrote:
>
>> oops
>>
>> Let me fix that
>>
>> For the curious that is a PGP signature file for the binary.
>>
>> On 2009-09-29, at 9:12 AM, Bert Freudenberg wrote:
>>
>>>
>>> On 27.09.2009, at 23:49, John M McIntosh wrote:
>>>>
>>>> I've also uploaded the new VM as Squeak 4.2.2beta1U.app.zip
>>>> found via
>>>> http://smalltalkconsulting.com/squeak.html
>>>
>>> Is it intentional there is no "Squeak VM Opt.sig" anymore?
>>>
>>> - Bert -
>>>
>>>
>
>
>

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





Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

johnmci
In reply to this post by Bert Freudenberg
Ok, I've altered the master Squeak 4.2.2beta1U.app.zip and added the  
signature file. Also I've attached it.
People who have made copies (like for the pharo site) might want to re-
download it to ensure you've the correct zip file.
found via
http://smalltalkconsulting.com/squeak.html


On 2009-09-29, at 9:12 AM, Bert Freudenberg wrote:

>
> On 27.09.2009, at 23:49, John M McIntosh wrote:
>>
>> I've also uploaded the new VM as Squeak 4.2.2beta1U.app.zip
>> found via
>> http://smalltalkconsulting.com/squeak.html
>
> Is it intentional there is no "Squeak VM Opt.sig" anymore?
>
> - Bert -
>
>
--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================






Squeak VM Opt.sig (92 bytes) Download Attachment
bpi
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

bpi
Hi John,

One very small thing I noticed: I maximize the Squeak window, save the  
image and open it again. Then the window is moved some pixels to the  
right so that it extends under the dock. Maximizing again with the  
green window button fixes it, so it is very minor.

Thanks for your effort building the VMs!

Cheers,
Bernhard

Am 29.09.2009 um 23:02 schrieb John M McIntosh:

> Ok, I've altered the master Squeak 4.2.2beta1U.app.zip and added the  
> signature file. Also I've attached it.
> People who have made copies (like for the pharo site) might want to  
> re-download it to ensure you've the correct zip file.
> found via
> http://smalltalkconsulting.com/squeak.html
>
>
> On 2009-09-29, at 9:12 AM, Bert Freudenberg wrote:
>
>>
>> On 27.09.2009, at 23:49, John M McIntosh wrote:
>>>
>>> I've also uploaded the new VM as Squeak 4.2.2beta1U.app.zip
>>> found via
>>> http://smalltalkconsulting.com/squeak.html
>>
>> Is it intentional there is no "Squeak VM Opt.sig" anymore?
>>
>> - Bert -
>>
>>
>
> --
> =
> =
> =
> =
> =
> ======================================================================
> John M. McIntosh <[hidden email]>   Twitter:  
> squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://
> www.smalltalkconsulting.com
> =
> =
> =
> =
> =
> ======================================================================
>
>
>
> <Squeak VM Opt.sig>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

Andreas Wacknitz

Am 30.09.2009 um 22:03 schrieb Bernhard Pieber:

> Hi John,
>
> One very small thing I noticed: I maximize the Squeak window, save  
> the image and open it again. Then the window is moved some pixels to  
> the right so that it extends under the dock. Maximizing again with  
> the green window button fixes it, so it is very minor.
>
That behavior is not new. I cannot remember when it started but it is  
there for some time now.

Andreas

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

johnmci
In reply to this post by bpi
Ah, yes well the VM has never had a concept of storing the top/left  
position of the window. It does store the width/height.
At the start of time the squeak window was set to
        Rect windowBounds = { 44, 8, 408, 648 };  /* default window bounds */
        //Dec 17th, 1996 9:21 AM


Currently it's
        window = SetUpWindow(44, 8, 44+height,  
8+width,gSqueakWindowType,gSqueakWindowAttributes);

So as you see it's not been an issue for any of the developers to re-
think.
I did make a mantis report http://bugs.squeak.org/view.php?id=7400

To fix we would have to store the top/left somewhere in the image,  
then consider issues about platform dependencies and
when you move between machines that have multiple screens, or single  
screens of different sizes.

On 2009-09-30, at 1:03 PM, Bernhard Pieber wrote:

> Hi John,
>
> One very small thing I noticed: I maximize the Squeak window, save  
> the image and open it again. Then the window is moved some pixels to  
> the right so that it extends under the dock. Maximizing again with  
> the green window button fixes it, so it is very minor.
>
> Thanks for your effort building the VMs!
>
> Cheers,
> Bernhard
>
> Am 29.09.2009 um 23:02 schrieb John M McIntosh:
>
>> Ok, I've altered the master Squeak 4.2.2beta1U.app.zip and added  
>> the signature file. Also I've attached it.
>> People who have made copies (like for the pharo site) might want to  
>> re-download it to ensure you've the correct zip file.
>> found via
>> http://smalltalkconsulting.com/squeak.html
>>
>>
>> On 2009-09-29, at 9:12 AM, Bert Freudenberg wrote:
>>
>>>
>>> On 27.09.2009, at 23:49, John M McIntosh wrote:
>>>>
>>>> I've also uploaded the new VM as Squeak 4.2.2beta1U.app.zip
>>>> found via
>>>> http://smalltalkconsulting.com/squeak.html
>>>
>>> Is it intentional there is no "Squeak VM Opt.sig" anymore?
>>>
>>> - Bert -
>>>
>>>
>>
>> --
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> John M. McIntosh <[hidden email]>   Twitter:  
>> squeaker68882
>> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>>
>>
>>
>> <Squeak VM Opt.sig>
>

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





bpi
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Mac carbon VM goes to 4.2.2Beta1U

bpi
In reply to this post by Andreas Wacknitz
Am 30.09.2009 um 22:22 schrieb Andreas Wacknitz:
> That behavior is not new. I cannot remember when it started but it  
> is there for some time now.
Yes, you a right. I forgot to mention it. Thanks for the comment.

Cheers,
Bernhard

bpi
Reply | Threaded
Open this post in threaded view
|

Re: Mac carbon VM goes to 4.2.2Beta1U

bpi
In reply to this post by johnmci
I just had an idea. Even if we do not store top/left, it might be an  
improvement to use x/0 as top/left, where x would be the menubar height.

What do others think?

Cheers,
Bernhard

Am 30.09.2009 um 22:24 schrieb John M McIntosh:

> Ah, yes well the VM has never had a concept of storing the top/left  
> position of the window. It does store the width/height.
> At the start of time the squeak window was set to
> Rect windowBounds = { 44, 8, 408, 648 };  /* default window bounds */
> //Dec 17th, 1996 9:21 AM
>
>
> Currently it's
> window = SetUpWindow(44, 8, 44+height,  
> 8+width,gSqueakWindowType,gSqueakWindowAttributes);
>
> So as you see it's not been an issue for any of the developers to re-
> think.
> I did make a mantis report http://bugs.squeak.org/view.php?id=7400
>
> To fix we would have to store the top/left somewhere in the image,  
> then consider issues about platform dependencies and
> when you move between machines that have multiple screens, or single  
> screens of different sizes.
>
> On 2009-09-30, at 1:03 PM, Bernhard Pieber wrote:
>
>> Hi John,
>>
>> One very small thing I noticed: I maximize the Squeak window, save  
>> the image and open it again. Then the window is moved some pixels  
>> to the right so that it extends under the dock. Maximizing again  
>> with the green window button fixes it, so it is very minor.
>>
>> Thanks for your effort building the VMs!
>>
>> Cheers,
>> Bernhard