Polymorph changes

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

Polymorph changes

Gary Chambers-4
Before I forget...
A few changes to Polymorph and fixes for a few other packages attached.
 
AlphaImageMorph supports #scaledAspect layout option (scales the image to fit whilst retaining aspect ratio)
    also class side accessor to set DefaultImage (I use the Pharo logo, appears in #exampleOtherControls)
DialogItemsChooserUI centering rounded to avoid layout anomalies
EditorFindReplaceDialogWindow initialized to position within usable area of display so not obscured by docks etc.
GeneralScrollPane minWidth/minHeight when shrinkWrapping to target
LazyListMorph mouse down row indication fixed
PluggableListMorph fix for startDragExtended: mouse focus and wrapItem (when wrapSelector takes 0 args)
ScrollPane will ignore mouse wheel iv not vertically scrollable (allows owners to handle)
SystemWindow basicActivate no longer passivates old top window if no longer in world
UITheme expander color no longer set to white by default
    nil labels for label groups now allow the associated control to fill whole width
 
 
Also I've noticed that in latest updates, corner rounding no longer functions (affects scrollbars etc. in Watery 2 theme).

Regards, Gary

PolymorphImprovements2.1.cs (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Stéphane Ducasse
tx gary
is this for 1.4 (I guess).
I will integrate them.

Stef

On Aug 30, 2011, at 2:29 PM, Gary Chambers wrote:

> Before I forget...
> A few changes to Polymorph and fixes for a few other packages attached.
>  
> AlphaImageMorph supports #scaledAspect layout option (scales the image to fit whilst retaining aspect ratio)
>     also class side accessor to set DefaultImage (I use the Pharo logo, appears in #exampleOtherControls)
> DialogItemsChooserUI centering rounded to avoid layout anomalies
> EditorFindReplaceDialogWindow initialized to position within usable area of display so not obscured by docks etc.
> GeneralScrollPane minWidth/minHeight when shrinkWrapping to target
> LazyListMorph mouse down row indication fixed
> PluggableListMorph fix for startDragExtended: mouse focus and wrapItem (when wrapSelector takes 0 args)
> ScrollPane will ignore mouse wheel iv not vertically scrollable (allows owners to handle)
> SystemWindow basicActivate no longer passivates old top window if no longer in world
> UITheme expander color no longer set to white by default
>     nil labels for label groups now allow the associated control to fill whole width
>  
>  
> Also I've noticed that in latest updates, corner rounding no longer functions (affects scrollbars etc. in Watery 2 theme).
>
> Regards, Gary
> <PolymorphImprovements2.1.cs>


Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Gary Chambers-4
Yes Stef, for 1.4 (bravely using it for our OCR development!)
Ta

Regards, Gary

----- Original Message -----
From: "Stéphane Ducasse" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, August 30, 2011 1:42 PM
Subject: Re: [Pharo-project] Polymorph changes


tx gary
is this for 1.4 (I guess).
I will integrate them.

Stef

On Aug 30, 2011, at 2:29 PM, Gary Chambers wrote:

> Before I forget...
> A few changes to Polymorph and fixes for a few other packages attached.
>
> AlphaImageMorph supports #scaledAspect layout option (scales the image to
> fit whilst retaining aspect ratio)
>     also class side accessor to set DefaultImage (I use the Pharo logo,
> appears in #exampleOtherControls)
> DialogItemsChooserUI centering rounded to avoid layout anomalies
> EditorFindReplaceDialogWindow initialized to position within usable area
> of display so not obscured by docks etc.
> GeneralScrollPane minWidth/minHeight when shrinkWrapping to target
> LazyListMorph mouse down row indication fixed
> PluggableListMorph fix for startDragExtended: mouse focus and wrapItem
> (when wrapSelector takes 0 args)
> ScrollPane will ignore mouse wheel iv not vertically scrollable (allows
> owners to handle)
> SystemWindow basicActivate no longer passivates old top window if no
> longer in world
> UITheme expander color no longer set to white by default
>     nil labels for label groups now allow the associated control to fill
> whole width
>
>
> Also I've noticed that in latest updates, corner rounding no longer
> functions (affects scrollbars etc. in Watery 2 theme).
>
> Regards, Gary
> <PolymorphImprovements2.1.cs>



Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Stéphane Ducasse
:) you are probably really crazy.

Moose migration from 1.2 to 1.3 took one afternoon or two.

> Yes Stef, for 1.4 (bravely using it for our OCR development!)
> Ta
>
> Regards, Gary
>
> ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]>
> To: <[hidden email]>
> Sent: Tuesday, August 30, 2011 1:42 PM
> Subject: Re: [Pharo-project] Polymorph changes
>
>
> tx gary
> is this for 1.4 (I guess).
> I will integrate them.
>
> Stef
>
> On Aug 30, 2011, at 2:29 PM, Gary Chambers wrote:
>
>> Before I forget...
>> A few changes to Polymorph and fixes for a few other packages attached.
>>
>> AlphaImageMorph supports #scaledAspect layout option (scales the image to fit whilst retaining aspect ratio)
>>    also class side accessor to set DefaultImage (I use the Pharo logo, appears in #exampleOtherControls)
>> DialogItemsChooserUI centering rounded to avoid layout anomalies
>> EditorFindReplaceDialogWindow initialized to position within usable area of display so not obscured by docks etc.
>> GeneralScrollPane minWidth/minHeight when shrinkWrapping to target
>> LazyListMorph mouse down row indication fixed
>> PluggableListMorph fix for startDragExtended: mouse focus and wrapItem (when wrapSelector takes 0 args)
>> ScrollPane will ignore mouse wheel iv not vertically scrollable (allows owners to handle)
>> SystemWindow basicActivate no longer passivates old top window if no longer in world
>> UITheme expander color no longer set to white by default
>>    nil labels for label groups now allow the associated control to fill whole width
>>
>>
>> Also I've noticed that in latest updates, corner rounding no longer functions (affects scrollbars etc. in Watery 2 theme).
>>
>> Regards, Gary
>> <PolymorphImprovements2.1.cs>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Tudor Girba-2
Actually, the only reason why the development of Moose is not on 1.4 is that we did not release the current version yet, due to a couple of issues still open in Moose. As soon as we release it, we move to 1.4.

Cheers,
Doru



On 30 Aug 2011, at 20:38, Stéphane Ducasse wrote:

> :) you are probably really crazy.
>
> Moose migration from 1.2 to 1.3 took one afternoon or two.
>
>> Yes Stef, for 1.4 (bravely using it for our OCR development!)
>> Ta
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]>
>> To: <[hidden email]>
>> Sent: Tuesday, August 30, 2011 1:42 PM
>> Subject: Re: [Pharo-project] Polymorph changes
>>
>>
>> tx gary
>> is this for 1.4 (I guess).
>> I will integrate them.
>>
>> Stef
>>
>> On Aug 30, 2011, at 2:29 PM, Gary Chambers wrote:
>>
>>> Before I forget...
>>> A few changes to Polymorph and fixes for a few other packages attached.
>>>
>>> AlphaImageMorph supports #scaledAspect layout option (scales the image to fit whilst retaining aspect ratio)
>>>   also class side accessor to set DefaultImage (I use the Pharo logo, appears in #exampleOtherControls)
>>> DialogItemsChooserUI centering rounded to avoid layout anomalies
>>> EditorFindReplaceDialogWindow initialized to position within usable area of display so not obscured by docks etc.
>>> GeneralScrollPane minWidth/minHeight when shrinkWrapping to target
>>> LazyListMorph mouse down row indication fixed
>>> PluggableListMorph fix for startDragExtended: mouse focus and wrapItem (when wrapSelector takes 0 args)
>>> ScrollPane will ignore mouse wheel iv not vertically scrollable (allows owners to handle)
>>> SystemWindow basicActivate no longer passivates old top window if no longer in world
>>> UITheme expander color no longer set to white by default
>>>   nil labels for label groups now allow the associated control to fill whole width
>>>
>>>
>>> Also I've noticed that in latest updates, corner rounding no longer functions (affects scrollbars etc. in Watery 2 theme).
>>>
>>> Regards, Gary
>>> <PolymorphImprovements2.1.cs>
>>
>>
>>
>
>

--
www.tudorgirba.com

"No matter how many recipes we know, we still value a chef."







Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Gary Chambers-4
In reply to this post by Stéphane Ducasse
Seems some stuff got missed out... attached .cs with remainder

Also, if Igor is interested, I have some things to make corner rounding and
shadows work properly (whilst still in the vein of the cleanup)...

Regards, Gary

----- Original Message -----
From: "Stéphane Ducasse" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, August 30, 2011 1:42 PM
Subject: Re: [Pharo-project] Polymorph changes


tx gary
is this for 1.4 (I guess).
I will integrate them.

Stef

On Aug 30, 2011, at 2:29 PM, Gary Chambers wrote:

> Before I forget...
> A few changes to Polymorph and fixes for a few other packages attached.
>
> AlphaImageMorph supports #scaledAspect layout option (scales the image to
> fit whilst retaining aspect ratio)
>     also class side accessor to set DefaultImage (I use the Pharo logo,
> appears in #exampleOtherControls)
> DialogItemsChooserUI centering rounded to avoid layout anomalies
> EditorFindReplaceDialogWindow initialized to position within usable area
> of display so not obscured by docks etc.
> GeneralScrollPane minWidth/minHeight when shrinkWrapping to target
> LazyListMorph mouse down row indication fixed
> PluggableListMorph fix for startDragExtended: mouse focus and wrapItem
> (when wrapSelector takes 0 args)
> ScrollPane will ignore mouse wheel iv not vertically scrollable (allows
> owners to handle)
> SystemWindow basicActivate no longer passivates old top window if no
> longer in world
> UITheme expander color no longer set to white by default
>     nil labels for label groups now allow the associated control to fill
> whole width
>
>
> Also I've noticed that in latest updates, corner rounding no longer
> functions (affects scrollbars etc. in Watery 2 theme).
>
> Regards, Gary
> <PolymorphImprovements2.1.cs>


MorePolymorphChanges.1.cs (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Stéphane Ducasse
thank I will integrate it.
http://code.google.com/p/pharo/issues/detail?id=4781
Stef

On Sep 9, 2011, at 4:52 PM, Gary Chambers wrote:

> Seems some stuff got missed out... attached .cs with remainder
>
> Also, if Igor is interested, I have some things to make corner rounding and shadows work properly (whilst still in the vein of the cleanup)...
>
> Regards, Gary
>
> ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]>
> To: <[hidden email]>
> Sent: Tuesday, August 30, 2011 1:42 PM
> Subject: Re: [Pharo-project] Polymorph changes
>
>
> tx gary
> is this for 1.4 (I guess).
> I will integrate them.
>
> Stef
>
> On Aug 30, 2011, at 2:29 PM, Gary Chambers wrote:
>
>> Before I forget...
>> A few changes to Polymorph and fixes for a few other packages attached.
>>
>> AlphaImageMorph supports #scaledAspect layout option (scales the image to fit whilst retaining aspect ratio)
>>    also class side accessor to set DefaultImage (I use the Pharo logo, appears in #exampleOtherControls)
>> DialogItemsChooserUI centering rounded to avoid layout anomalies
>> EditorFindReplaceDialogWindow initialized to position within usable area of display so not obscured by docks etc.
>> GeneralScrollPane minWidth/minHeight when shrinkWrapping to target
>> LazyListMorph mouse down row indication fixed
>> PluggableListMorph fix for startDragExtended: mouse focus and wrapItem (when wrapSelector takes 0 args)
>> ScrollPane will ignore mouse wheel iv not vertically scrollable (allows owners to handle)
>> SystemWindow basicActivate no longer passivates old top window if no longer in world
>> UITheme expander color no longer set to white by default
>>    nil labels for label groups now allow the associated control to fill whole width
>>
>>
>> Also I've noticed that in latest updates, corner rounding no longer functions (affects scrollbars etc. in Watery 2 theme).
>>
>> Regards, Gary
>> <PolymorphImprovements2.1.cs>
>
> <MorePolymorphChanges.1.cs>


Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Gary Chambers-4
In reply to this post by Gary Chambers-4
Just for reference, after (temporarily) fixing the system softowrare update
issue (14023 ish) we have managed to get our product-under-development
working with the latest updates. For anyone that is interested I can
describe the potential issues and resloutions.

Regards, Gary

----- Original Message -----
From: "Gary Chambers" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 09, 2011 3:52 PM
Subject: Re: [Pharo-project] Polymorph changes


> Seems some stuff got missed out... attached .cs with remainder
>
> Also, if Igor is interested, I have some things to make corner rounding
> and
> shadows work properly (whilst still in the vein of the cleanup)...
>
> Regards, Gary
>
> ----- Original Message -----
> From: "Stéphane Ducasse" <[hidden email]>
> To: <[hidden email]>
> Sent: Tuesday, August 30, 2011 1:42 PM
> Subject: Re: [Pharo-project] Polymorph changes
>
>
> tx gary
> is this for 1.4 (I guess).
> I will integrate them.
>
> Stef
>
> On Aug 30, 2011, at 2:29 PM, Gary Chambers wrote:
>
>> Before I forget...
>> A few changes to Polymorph and fixes for a few other packages attached.
>>
>> AlphaImageMorph supports #scaledAspect layout option (scales the image to
>> fit whilst retaining aspect ratio)
>>     also class side accessor to set DefaultImage (I use the Pharo logo,
>> appears in #exampleOtherControls)
>> DialogItemsChooserUI centering rounded to avoid layout anomalies
>> EditorFindReplaceDialogWindow initialized to position within usable area
>> of display so not obscured by docks etc.
>> GeneralScrollPane minWidth/minHeight when shrinkWrapping to target
>> LazyListMorph mouse down row indication fixed
>> PluggableListMorph fix for startDragExtended: mouse focus and wrapItem
>> (when wrapSelector takes 0 args)
>> ScrollPane will ignore mouse wheel iv not vertically scrollable (allows
>> owners to handle)
>> SystemWindow basicActivate no longer passivates old top window if no
>> longer in world
>> UITheme expander color no longer set to white by default
>>     nil labels for label groups now allow the associated control to fill
>> whole width
>>
>>
>> Also I've noticed that in latest updates, corner rounding no longer
>> functions (affects scrollbars etc. in Watery 2 theme).
>>
>> Regards, Gary
>> <PolymorphImprovements2.1.cs>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Stéphane Ducasse
please let us know :)


On Sep 9, 2011, at 5:02 PM, Gary Chambers wrote:

> Just for reference, after (temporarily) fixing the system softowrare update issue (14023 ish) we have managed to get our product-under-development working with the latest updates. For anyone that is interested I can describe the potential issues and resloutions.
>
> Regards, Gary
>
> ----- Original Message ----- From: "Gary Chambers" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, September 09, 2011 3:52 PM
> Subject: Re: [Pharo-project] Polymorph changes
>
>
>> Seems some stuff got missed out... attached .cs with remainder
>>
>> Also, if Igor is interested, I have some things to make corner rounding and
>> shadows work properly (whilst still in the vein of the cleanup)...
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]>
>> To: <[hidden email]>
>> Sent: Tuesday, August 30, 2011 1:42 PM
>> Subject: Re: [Pharo-project] Polymorph changes
>>
>>
>> tx gary
>> is this for 1.4 (I guess).
>> I will integrate them.
>>
>> Stef
>>
>> On Aug 30, 2011, at 2:29 PM, Gary Chambers wrote:
>>
>>> Before I forget...
>>> A few changes to Polymorph and fixes for a few other packages attached.
>>>
>>> AlphaImageMorph supports #scaledAspect layout option (scales the image to
>>> fit whilst retaining aspect ratio)
>>>    also class side accessor to set DefaultImage (I use the Pharo logo,
>>> appears in #exampleOtherControls)
>>> DialogItemsChooserUI centering rounded to avoid layout anomalies
>>> EditorFindReplaceDialogWindow initialized to position within usable area
>>> of display so not obscured by docks etc.
>>> GeneralScrollPane minWidth/minHeight when shrinkWrapping to target
>>> LazyListMorph mouse down row indication fixed
>>> PluggableListMorph fix for startDragExtended: mouse focus and wrapItem
>>> (when wrapSelector takes 0 args)
>>> ScrollPane will ignore mouse wheel iv not vertically scrollable (allows
>>> owners to handle)
>>> SystemWindow basicActivate no longer passivates old top window if no
>>> longer in world
>>> UITheme expander color no longer set to white by default
>>>    nil labels for label groups now allow the associated control to fill
>>> whole width
>>>
>>>
>>> Also I've noticed that in latest updates, corner rounding no longer
>>> functions (affects scrollbars etc. in Watery 2 theme).
>>>
>>> Regards, Gary
>>> <PolymorphImprovements2.1.cs>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Gary Chambers-4
Well, for a start...

Canvas hierarchy changes (removal of NullEncoder/FlattenEncoder) required
some rework due to missing "target", not a big deal for our PDF generation
though probably means that PostScript output would be a headache (if trying
to re-import PostScriptCanvas support)...

More later.

Regards, Gary

----- Original Message -----
From: "Stéphane Ducasse" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 09, 2011 4:11 PM
Subject: Re: [Pharo-project] Polymorph changes


please let us know :)


On Sep 9, 2011, at 5:02 PM, Gary Chambers wrote:

> Just for reference, after (temporarily) fixing the system softowrare
> update issue (14023 ish) we have managed to get our
> product-under-development working with the latest updates. For anyone that
> is interested I can describe the potential issues and resloutions.
>
> Regards, Gary
>
> ----- Original Message ----- From: "Gary Chambers"
> <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, September 09, 2011 3:52 PM
> Subject: Re: [Pharo-project] Polymorph changes
>
>
>> Seems some stuff got missed out... attached .cs with remainder
>>
>> Also, if Igor is interested, I have some things to make corner rounding
>> and
>> shadows work properly (whilst still in the vein of the cleanup)...
>>
>> Regards, Gary
>>
>> ----- Original Message ----- From: "Stéphane Ducasse"
>> <[hidden email]>
>> To: <[hidden email]>
>> Sent: Tuesday, August 30, 2011 1:42 PM
>> Subject: Re: [Pharo-project] Polymorph changes
>>
>>
>> tx gary
>> is this for 1.4 (I guess).
>> I will integrate them.
>>
>> Stef
>>
>> On Aug 30, 2011, at 2:29 PM, Gary Chambers wrote:
>>
>>> Before I forget...
>>> A few changes to Polymorph and fixes for a few other packages attached.
>>>
>>> AlphaImageMorph supports #scaledAspect layout option (scales the image
>>> to
>>> fit whilst retaining aspect ratio)
>>>    also class side accessor to set DefaultImage (I use the Pharo logo,
>>> appears in #exampleOtherControls)
>>> DialogItemsChooserUI centering rounded to avoid layout anomalies
>>> EditorFindReplaceDialogWindow initialized to position within usable area
>>> of display so not obscured by docks etc.
>>> GeneralScrollPane minWidth/minHeight when shrinkWrapping to target
>>> LazyListMorph mouse down row indication fixed
>>> PluggableListMorph fix for startDragExtended: mouse focus and wrapItem
>>> (when wrapSelector takes 0 args)
>>> ScrollPane will ignore mouse wheel iv not vertically scrollable (allows
>>> owners to handle)
>>> SystemWindow basicActivate no longer passivates old top window if no
>>> longer in world
>>> UITheme expander color no longer set to white by default
>>>    nil labels for label groups now allow the associated control to fill
>>> whole width
>>>
>>>
>>> Also I've noticed that in latest updates, corner rounding no longer
>>> functions (affects scrollbars etc. in Watery 2 theme).
>>>
>>> Regards, Gary
>>> <PolymorphImprovements2.1.cs>
>>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Igor Stasenko
On 9 September 2011 18:31, Gary Chambers <[hidden email]> wrote:
> Well, for a start...
>
> Canvas hierarchy changes (removal of NullEncoder/FlattenEncoder) required
> some rework due to missing "target", not a big deal for our PDF generation
> though probably means that PostScript output would be a headache (if trying
> to re-import PostScriptCanvas support)...
>
Yes. The 'target' in base class has no uses, so it should be
introduced in subclasses, which using it.

P.S. btw we have to clean the protocol(s) which were used by these
encoders from Collection/dictionary,
if they are there. I remember there was messages like storeCollection... etc.



--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: Polymorph changes

Gary Chambers-4
For reference, temporary corner/shadow fixup attached...

Regards, Gary

----- Original Message -----
From: "Igor Stasenko" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 09, 2011 5:46 PM
Subject: Re: [Pharo-project] Polymorph changes


> On 9 September 2011 18:31, Gary Chambers <[hidden email]>
> wrote:
>> Well, for a start...
>>
>> Canvas hierarchy changes (removal of NullEncoder/FlattenEncoder) required
>> some rework due to missing "target", not a big deal for our PDF
>> generation
>> though probably means that PostScript output would be a headache (if
>> trying
>> to re-import PostScriptCanvas support)...
>>
> Yes. The 'target' in base class has no uses, so it should be
> introduced in subclasses, which using it.
>
> P.S. btw we have to clean the protocol(s) which were used by these
> encoders from Collection/dictionary,
> if they are there. I remember there was messages like storeCollection...
> etc.
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>

ShadowCorners.1.cs (6K) Download Attachment