Re: [Pharo-project] Morphic Cleanup Status
Differently from what i've shown you at ESUG, i didn't reify the events. The vm announces a new event to the GUserInterface, who dispatches the event to the mouse or the keyboard. Which in turn, according to its inner state (modeled using a fsm), sends a message to the user interface, such as #clickedAt: , #secondaryClickedAt: , #move: #moveDragging:, #keystroke: aGKeystroke, etc.. The following diagram depicts the scheme. Fernando On Fri, Nov 25, 2011 at 10:38 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
On Nov 25, 2011, at 11:08 AM, Fernando Olivero wrote:
Hi Sean, i got overwhelmed last year with the task of porting CUIS Morphic, to Pharo. There's just to much differences on several common classes, it's hard to fully understand how to merge both ui frameworks.
Even though i believe Juan has a did an excellent work in simplifying Morphic, and adding simpler code, like for example his new layouts (download CUIS and try them out).
But my overall impression , was that we need to stop being backward compatible in order to create a simple Morphic-like framework for Pharo, and start from scratch. Fixing current Morphic is also a humongous  task, for example see Stef's nice work on cleaning the event handling mechanism.
BTW you should be able to use the new event hierarchy: it is clean (no first secondâ¦..) and a nice support for double dispatch. I hope that next week I can sit with igor and we finish our journey. How do you deal with event in Gaucho.
Stef
Fernando
On Fri, Nov 25, 2011 at 9:38 AM, Alain Plantec <alain.plantec@yahoo.com> wrote:
Le 25/11/2011 07:39, Sean P. DeNigris a écrit :
What's currently in progress? SimpleMorphic? CUIS related? Other?
I was pulling my hair out with Morphic layouts yesterday and started to clean, but I don't want to duplicate efforts on things already being worked on. There are a bunch of open issues and discussions on the list. What's actively being done right now? Hi Sean, AFAIK, no deep cleaning action. nothing from my side for now. I think they have done some refactoring around layout managing in CUIS (SimpleMorphic). btw, **thanks a lot** for all you are doing. Cheers Alain
Thanks. Sean
-- View this message in context: http://forum.world.st/Morphic-Cleanup-Status-tp4106566p4106566.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
I hope that we will be able to integrate our new nice event model (it may check a bit the system). Stef
Differently from what i've shown you at ESUG, i didn't reify the events.
The vm announces a new event to the GUserInterface, who dispatches the event to the mouse or the keyboard. Which in turn, according to its inner state (modeled using a fsm), sends a message to the user interface, such as #clickedAt: , #secondaryClickedAt: , #move: #moveDragging:, #keystroke: aGKeystroke, etc..
The following diagram depicts the scheme.
Fernando
On Fri, Nov 25, 2011 at 10:38 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
On Nov 25, 2011, at 11:08 AM, Fernando Olivero wrote:
Hi Sean, i got overwhelmed last year with the task of porting CUIS Morphic, to Pharo. There's just to much differences on several common classes, it's hard to fully understand how to merge both ui frameworks.
Even though i believe Juan has a did an excellent work in simplifying Morphic, and adding simpler code, like for example his new layouts (download CUIS and try them out).
But my overall impression , was that we need to stop being backward compatible in order to create a simple Morphic-like framework for Pharo, and start from scratch. Fixing current Morphic is also a humongous task, for example see Stef's nice work on cleaning the event handling mechanism.
BTW you should be able to use the new event hierarchy: it is clean (no first secondâ¦..) and a nice support for double dispatch. I hope that next week I can sit with igor and we finish our journey. How do you deal with event in Gaucho.
Stef
Fernando
On Fri, Nov 25, 2011 at 9:38 AM, Alain Plantec <alain.plantec@yahoo.com> wrote:
Le 25/11/2011 07:39, Sean P. DeNigris a écrit :
What's currently in progress? SimpleMorphic? CUIS related? Other?
I was pulling my hair out with Morphic layouts yesterday and started to clean, but I don't want to duplicate efforts on things already being worked on. There are a bunch of open issues and discussions on the list. What's actively being done right now? Hi Sean, AFAIK, no deep cleaning action. nothing from my side for now. I think they have done some refactoring around layout managing in CUIS (SimpleMorphic). btw, **thanks a lot** for all you are doing. Cheers Alain
Thanks. Sean
-- View this message in context: http://forum.world.st/Morphic-Cleanup-Status-tp4106566p4106566.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
<GauchoEvents-1.pdf>
participants (2)
-
Fernando Olivero -
Stéphane Ducasse