[Pharo-project] Polymorph changes
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
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>
Yes Stef, for 1.4 (bravely using it for our OCR development!) Ta Regards, Gary ----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> 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>
:) 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" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> 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>
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" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> 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."
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" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> 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>
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" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> 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>
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" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> 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" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> 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>
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" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> 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" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> 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>
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" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> 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" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> 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" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> 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>
On 9 September 2011 18:31, Gary Chambers <gazzaguru2@btinternet.com> 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.
For reference, temporary corner/shadow fixup attached... Regards, Gary ----- Original Message ----- From: "Igor Stasenko" <siguctua@gmail.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Friday, September 09, 2011 5:46 PM Subject: Re: [Pharo-project] Polymorph changes
On 9 September 2011 18:31, Gary Chambers <gazzaguru2@btinternet.com> 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.
participants (4)
-
Gary Chambers -
Igor Stasenko -
Stéphane Ducasse -
Tudor Girba