Pending Mac Carbon VM 3.8.17b3

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

Pending Mac Carbon VM 3.8.17b3

johnmci
I've pushed out a 3.8.17b3 VM that includes Bert Freudenberg's work  
on large cursor support for OLPC, plus it includes a bug fix for  
cursor tracking.

This VM does work on os-x 10.2.8 forward, however 10.2 does not  
actually support cursors bigger than 16x16 in case anyone in the  
world still uses 10.2.8 and tries a
OLPC image.

The 3.8.17b3 VM is in the experimental directory at.

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


For the curious I'll note the OLPC image is at.

http://etoys.laptop.org/src/etoys-image-and-pr.zip


3.8.17b3 Oops no-one check large cursors on powerpc.
                        NSCursorWrappers.m Ensure works on powerpc, also confirm does not  
work on 10.2.x (not supported)

3.8.17b2 bug fix cursor tracking was not correct, used local  
coordinates, needed global.
                        Add large cursor support via unix code for OLPC image
                       
                        sqMacUIEventsUniversal.c large cursor support, switch cursors back  
on window entry and app activation.
                        sqMacHostWindow.c Fix cursor tracking
                        sqMacWIndowUniversal.c small cursor logic has to set flag that  
it's not large cursor so reset cursor knows which
                                          cursor to use
                        NSCursorWrappers.m new
                        NSCursorWrappers.h new


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



Reply | Threaded
Open this post in threaded view
|

Re: Pending Mac Carbon VM 3.8.17b3

Karl-19
The big cursor works great. Thanks
Karl

John M McIntosh wrote:

> I've pushed out a 3.8.17b3 VM that includes Bert Freudenberg's work on
> large cursor support for OLPC, plus it includes a bug fix for cursor
> tracking.
>
> This VM does work on os-x 10.2.8 forward, however 10.2 does not
> actually support cursors bigger than 16x16 in case anyone in the world
> still uses 10.2.8 and tries a
> OLPC image.
>
> The 3.8.17b3 VM is in the experimental directory at.
>
> http://www.smalltalkconsulting.com/squeak.html
>
>
> For the curious I'll note the OLPC image is at.
>
> http://etoys.laptop.org/src/etoys-image-and-pr.zip
>
>
> 3.8.17b3    Oops no-one check large cursors on powerpc.
>             NSCursorWrappers.m        Ensure works on powerpc, also
> confirm does not work on 10.2.x (not supported)
>
> 3.8.17b2    bug fix cursor tracking was not correct, used local
> coordinates, needed global.
>             Add large cursor support via unix code for OLPC image
>            
>             sqMacUIEventsUniversal.c    large cursor support, switch
> cursors back on window entry and app activation.
>             sqMacHostWindow.c        Fix cursor tracking
>             sqMacWIndowUniversal.c    small cursor logic has to set
> flag that it's not large cursor so reset cursor knows which
>                                      cursor to use
>             NSCursorWrappers.m        new
>             NSCursorWrappers.h        new
>
>
> --
> ===========================================================================
>
> John M. McIntosh <[hidden email]>
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Pending Mac Carbon VM 3.8.17b3

Bert Freudenberg
Yeah, thanks! The colors are wrong on Intel Mac, though you wouldn't  
notice with the black-and-white OLPC cursor.

in the OLPC image, press Cmd-Shift-W and try

        CursorWithAlpha fromUser show

to get a nice large colorful cursor. Or this:

        | c |
        c := CursorWithAlpha fromUser.
        c copyBits: c boundingBox from: c at: 0@0 colorMap:
                (ColorMap shifts: #(-1 -1 -1 -1) masks: #(16rFE000000 16rFE0000  
16rFE00 16rFE)).
        c show

to make that transparent :)

- Bert -

On Apr 27, 2007, at 8:17 , Karl wrote:

> The big cursor works great. Thanks
> Karl
>
> John M McIntosh wrote:
>> I've pushed out a 3.8.17b3 VM that includes Bert Freudenberg's  
>> work on large cursor support for OLPC, plus it includes a bug fix  
>> for cursor tracking.
>>
>> This VM does work on os-x 10.2.8 forward, however 10.2 does not  
>> actually support cursors bigger than 16x16 in case anyone in the  
>> world still uses 10.2.8 and tries a
>> OLPC image.
>>
>> The 3.8.17b3 VM is in the experimental directory at.
>>
>> http://www.smalltalkconsulting.com/squeak.html
>>
>>
>> For the curious I'll note the OLPC image is at.
>>
>> http://etoys.laptop.org/src/etoys-image-and-pr.zip
>>
>>
>> 3.8.17b3    Oops no-one check large cursors on powerpc.
>>             NSCursorWrappers.m        Ensure works on powerpc,  
>> also confirm does not work on 10.2.x (not supported)
>>
>> 3.8.17b2    bug fix cursor tracking was not correct, used local  
>> coordinates, needed global.
>>             Add large cursor support via unix code for OLPC image
>>                        sqMacUIEventsUniversal.c    large cursor  
>> support, switch cursors back on window entry and app activation.
>>             sqMacHostWindow.c        Fix cursor tracking
>>             sqMacWIndowUniversal.c    small cursor logic has to  
>> set flag that it's not large cursor so reset cursor knows which
>>                                      cursor to use
>>             NSCursorWrappers.m        new
>>             NSCursorWrappers.h        new
>>




Reply | Threaded
Open this post in threaded view
|

Re: Pending Mac Carbon VM 3.8.17b3

Tetsuya HAYASHI
In reply to this post by johnmci
Hi,

Thanks for a new vm, however I remember that I've posted a patch to vm-dev ML. It's for filename normalization when using UTF-8 encoding.

http://lists.squeakfoundation.org/pipermail/vm-dev/2007-March/001042.html
and followed messages.

I know UTF-8 is an optional function, but it needs for multi-byte-lang users and me too :-)

Regards,
--

On 2007/04/27, at 12:54, John M McIntosh wrote:

> I've pushed out a 3.8.17b3 VM that includes Bert Freudenberg's work on large cursor support for OLPC, plus it includes a bug fix for cursor tracking.
>
> This VM does work on os-x 10.2.8 forward, however 10.2 does not actually support cursors bigger than 16x16 in case anyone in the world still uses 10.2.8 and tries a
> OLPC image.
>
> The 3.8.17b3 VM is in the experimental directory at.
>
> http://www.smalltalkconsulting.com/squeak.html
>
>
> For the curious I'll note the OLPC image is at.
>
> http://etoys.laptop.org/src/etoys-image-and-pr.zip
>
>
> 3.8.17b3 Oops no-one check large cursors on powerpc.
> NSCursorWrappers.m Ensure works on powerpc, also confirm does not work on 10.2.x (not supported)
>
> 3.8.17b2 bug fix cursor tracking was not correct, used local coordinates, needed global.
> Add large cursor support via unix code for OLPC image
>
> sqMacUIEventsUniversal.c large cursor support, switch cursors back on window entry and app activation.
> sqMacHostWindow.c Fix cursor tracking
> sqMacWIndowUniversal.c small cursor logic has to set flag that it's not large cursor so reset cursor knows which
> cursor to use
> NSCursorWrappers.m new
> NSCursorWrappers.h new
>
>
> --
> ===========================================================================
> John M. McIntosh <[hidden email]>
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Pending Mac Carbon VM 3.8.17b3

johnmci
I've not lost track of this, however it impacted Sophie, one of the  
issue was that if you reach in and grab the path name from the
drag and drop logic it does not come back in the same character form  
as the directory entires, so I had deferred this change as I was
addressing more pressing issues with Sophie and with the browser  
plugin support.

However I dedicate some hours on the weekend now to see if I can get  
Sophie to live with the change.

On Apr 27, 2007, at 6:21 AM, Tetsuya HAYASHI wrote:

> Hi,
>
> Thanks for a new vm, however I remember that I've posted a patch to  
> vm-dev ML. It's for filename normalization when using UTF-8 encoding.
>
> http://lists.squeakfoundation.org/pipermail/vm-dev/2007-March/ 
> 001042.html
> and followed messages.
>
> I know UTF-8 is an optional function, but it needs for multi-byte-
> lang users and me too :-)
>
> Regards,
> --
--
========================================================================
===
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
========================================================================
===



Reply | Threaded
Open this post in threaded view
|

Re: Pending Mac Carbon VM 3.8.17b3

Tetsuya HAYASHI
I see.
I did't know such a situation.
I'm going to use Sophie, and test it.

Many thanks,

On 2007/04/28, at 2:58, John M McIntosh wrote:

> I've not lost track of this, however it impacted Sophie, one of the issue was that if you reach in and grab the path name from the
> drag and drop logic it does not come back in the same character form as the directory entires, so I had deferred this change as I was
> addressing more pressing issues with Sophie and with the browser plugin support.
>
> However I dedicate some hours on the weekend now to see if I can get Sophie to live with the change.
>
> On Apr 27, 2007, at 6:21 AM, Tetsuya HAYASHI wrote:
>
>> Hi,
>>
>> Thanks for a new vm, however I remember that I've posted a patch to vm-dev ML. It's for filename normalization when using UTF-8 encoding.
>>
>> http://lists.squeakfoundation.org/pipermail/vm-dev/2007-March/001042.html
>> and followed messages.
>>
>> I know UTF-8 is an optional function, but it needs for multi-byte-lang users and me too :-)
>>
>> Regards,
>> --
> --
> ===========================================================================
> John M. McIntosh <[hidden email]>
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================
>
>
>
>
>