[squeak-dev] [ANN] Diff Tools

Sebastian Sastre ssastre at seaswork.com
Wed Apr 30 10:44:49 UTC 2008


Hi Gary!

	I've aready tried a hack like:

	(leftMorphs isNil or:[overMorphs isNil]) ifTrue: [^nil]. "handle
non-synced error case"

	and is not enough. Is very strange because happen sometimes I catch of
this dnus and #leftMorphs and/or #overMorphs are nil but it is after the
injected isNil control. Like it happening to be modified from another process
while executing just those lines.

	I confirm you about eCompletion. I'm using it, is very important to
icrease usability. My actual workarround was to use the more processes/debugs
stressed image without your enhancements and use it in the other images with
smaller chance of getting stressed.

	Most probably event handlers aren't properly unsubscribed and certainly
they are not a null idempotent when they are in an invalid state. I don't
evidence of your enhanced events envolved on this but is certainly not happening
in the non enhanced images (which also have ecompletion, shout and others).

	cheers,

Sebastian Sastre


> -----Mensaje original-----
> De: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] En 
> nombre de Gary Chambers
> Enviado el: Miércoles, 30 de Abril de 2008 07:26
> Para: The general-purpose Squeak developers list
> Asunto: RE: [squeak-dev] [ANN] Diff Tools
> 
> Though it doesn't address the root cause of the problem you 
> are having, the
> following is a modification we use for deployment images 
> "just in case":
> 
> In MouseOverEventHandler
> 
> noticeMouseOver: aMorph event: anEvent
> 	"Remember that the mouse is currently over some morph"
> 
> 	leftMorphs ifNil: [^nil]. "handle non-synced error case"
> 	(leftMorphs includes: aMorph)
> 		ifTrue:[leftMorphs remove: aMorph]
> 		ifFalse:[enteredMorphs nextPut: aMorph].
> 	overMorphs nextPut: aMorph.
> 
> As for the root cause, do you use eCompletion? I have found 
> many, many event
> handlers hanging around (in EventManager) that has caused us 
> problems with
> Shout in the past.
> 
> Regards,
> Gary
> 
> 
> > -----Original Message-----
> > From: squeak-dev-bounces at lists.squeakfoundation.org
> > [mailto:squeak-dev-bounces at lists.squeakfoundation.org]On Behalf Of
> > Sebastian Sastre
> > Sent: 29 April 2008 9:35 PM
> > To: 'The general-purpose Squeak developers list'
> > Subject: RE: [squeak-dev] [ANN] Diff Tools
> >
> >
> > Are those patches already in your code? I'm having right now lots
> > of problematic
> > "noticeMouseOver: aMorph event: anEvent" (the inst vars are nil)
> > and I stopped
> > all services in that image. Process browser shows only the normal
> > processes
> > running.
> > I closed all tools then when opening a shout workspace as 
> soon as I type a
> > couple of chars this mouse events start to pop. Anything I can do
> > ? Any info  I
> > can provide?
> >
> > 	Cheers,
> >
> > Sebastian
> >
> > > -----Mensaje original-----
> > > De: squeak-dev-bounces at lists.squeakfoundation.org
> > > [mailto:squeak-dev-bounces at lists.squeakfoundation.org] En
> > > nombre de Gary Chambers
> > > Enviado el: Martes, 29 de Abril de 2008 14:35
> > > Para: The general-purpose Squeak developers list
> > > Asunto: RE: [squeak-dev] [ANN] Diff Tools
> > >
> > > More than likely. Haven't seen problems with the mouse over
> > > handler for a
> > > while. Of course we have patched up the worst of it in
> > > addition to having
> > > other extensions where the UI must be updated asynchronously (at a
> > > particular moment rather then deferred).
> > >
> > > Gary.
> > >
> > > > -----Original Message-----
> > > > From: squeak-dev-bounces at lists.squeakfoundation.org
> > > > 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org]On Behalf Of
> > > > Sebastian Sastre
> > > > Sent: 29 April 2008 5:52 PM
> > > > To: 'The general-purpose Squeak developers list'
> > > > Subject: RE: [squeak-dev] [ANN] Diff Tools
> > > >
> > > >
> > > > You asumption is right. I'm using other processes in that image
> > > > but they are not
> > > > supposed to do things with UI. Those images has seaside and
> > > rST which are
> > > > process intensive and in development there are a lot of using
> > > > debugger. I'm
> > > > feeling that change of UI no UI process is "making noise" there.
> > > >
> > > > Sebastian Sastre
> > > >
> > > >
> > > >
> > > > > -----Mensaje original-----
> > > > > De: squeak-dev-bounces at lists.squeakfoundation.org
> > > > > [mailto:squeak-dev-bounces at lists.squeakfoundation.org] En
> > > > > nombre de Gary Chambers
> > > > > Enviado el: Martes, 29 de Abril de 2008 11:37
> > > > > Para: The general-purpose Squeak developers list
> > > > > Asunto: RE: [squeak-dev] [ANN] Diff Tools
> > > > >
> > > > > Should be OK with 3.10.
> > > > >
> > > > > I assume the errors you are getting are coming from
> > > > > MouseOverHandler. If so,
> > > > > that is normally an indication of things that affect the
> > > UI that are
> > > > > triggered from a process that is not the UI Process.
> > > > >
> > > > > Gary
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: squeak-dev-bounces at lists.squeakfoundation.org
> > > > > >
> > > [mailto:squeak-dev-bounces at lists.squeakfoundation.org]On Behalf Of
> > > > > > Sebastian Sastre
> > > > > > Sent: 29 April 2008 2:45 PM
> > > > > > To: 'The general-purpose Squeak developers list'
> > > > > > Subject: RE: [squeak-dev] [ANN] Diff Tools
> > > > > >
> > > > > >
> > > > > > Hi Gary,
> > > > > >
> > > > > > 	usability is improved with your packages. I'm
> > > using them on a
> > > > > > Squeak3dot10.7159 and from time to time I receive 
> errors about
> > > > > > mouse events. Is
> > > > > > it prepared for 3.10?
> > > > > >
> > > > > > 	cheers,
> > > > > >
> > > > > > Sebastian
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > > -----Mensaje original-----
> > > > > > > De: squeak-dev-bounces at lists.squeakfoundation.org
> > > > > > > [mailto:squeak-dev-bounces at lists.squeakfoundation.org] En
> > > > > > > nombre de Gary Chambers
> > > > > > > Enviado el: Viernes, 18 de Abril de 2008 19:16
> > > > > > > Para: The general-purpose Squeak developers list
> > > > > > > Asunto: [squeak-dev] [ANN] Diff Tools
> > > > > > >
> > > > > > > Diff Tools are now available via the dev Universe and/or
> > > > > SqueakSource.
> > > > > > >
> > > > > > > Details can be browsed here:
> > > http://wiki.squeak.org/squeak/6046
> > > > > > >
> > > > > > > Regards, Gary.
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> 
> 




More information about the Squeak-dev mailing list