Re: [Pharo-users] Phratch Website + version 3.0 in dev

2014-03-20 Thread Pharo4Stef

> > - version 3.0 is the version in development. What is new here: Before
> > this version Phratch was really slow. I am cleaning the code, and now it
> > begins to be fast, really fast ! We also begun to write tests.
> 
> I am curious. What did you finally find out for speed up?
> 
> Hum, some crappy things.
> For example, to manage the z-index of the bubble talk:
> - a loop to draw all the morph
> - a second loop that select the buuble (isKindOf: bubble !!!) and draw only 
> the bubble.
> These two loops are in the same method and called on each step... for a 
> bubble that appears only 1 or 2 times in an application

no comment!

> 
> Removing the second loop makes Phratch 2x faster.
> 
> I am continuing to clean that.
> I also find the problem with click-event. Now when I click, it works fine !
> 
> Cheers,
> Jannik
> 
> 
> 
>  
> 
> Hilaire
> 
> 
> --
> Dr. Geo http://drgeo.eu
> 
> 
> 
> 
> 
> -- 
> ~~Jannik Laval~~
> École des Mines de Douai
> Enseignant-chercheur
> http://www.jannik-laval.eu
> http://car.mines-douai.fr/
> 



Re: [Pharo-users] What's wrong with this code?

2014-03-20 Thread Sean P. DeNigris
Nicolai Hess wrote
> I think the ProgressNotification was only used in

IIRC we use announcements everywhere now for progress and
ProgressNotification is no longer used. You may have found a reference that
we forgot to remove. In general, progress is handled via aBlock asJob. Maybe
all other methods should be outright removed. There were so many access
points, maybe creating more spaghetti than convenience.

Background: one of my major drivers for revamping progress with Cami at ESUG
a few years ago was that I feel that using exceptions for non-exceptional
conditions smells funny. In particular, if you're interested in being
notified of progress, but the exception was handled already in code which
you don't own, you'll never know. With the announcement approach we take
now, all interested parties can register.





-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/What-s-wrong-whith-this-code-tp4749558p4749960.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] [Pharo-dev] Tiling Window Manager in 3.0: working but still issues with WorldMorph

2014-03-20 Thread Laurent Laffont
Done

Laurent

Le mercredi 19 mars 2014, 17:23:06 p...@highoctane.be a écrit :
> Would you mind putting the configuration in the 3.0 Metarepo?
> 
> Phil
> 
> 
> 
> 
> On Wed, Mar 12, 2014 at 6:52 PM, Laurent Laffont
> wrote:
> 
> > Hi Phil,
> >
> > with latest ConfigurationOfTilingWindow manager World management (almost)
> > works. Still a  little display issue when creating a new world (need to
> > change back and forth, seems to be some World repaint issue).
> >
> > I've also merged some experiments with GrowlMorph.
> >
> > Laurent
> >
> >
> > Le mardi 11 mars 2014, 13:27:57 Laurent Laffont a écrit :
> > > Thanks a lot Phil. I will try to have a look.
> > >
> > > Laurent
> > >
> > >
> > > Le samedi 8 mars 2014, 11:57:30 p...@highoctane.be a écrit :
> > > > TWM works in 3.0 after some work on icons and updating menus.
> > > >
> > > > Gofer new
> > > > smalltalkhubUser: 'LaurentLaffont' project: 'TilingWindowManager';
> > > > configuration;
> > > > load.
> > > >
> > > > ((Smalltalk at:#ConfigurationOfTilingWindowManager) project version:
> > '3.0')
> > > > load
> > > >
> > > > You can also use
> > > >
> > > > ((Smalltalk at:#ConfigurationOfTilingWindowManager) project version:
> > > > #development) load
> > > >
> > > > but this will for sure change over time.
> > > >
> > > > There is the World management icon which is still there and it looks
> > like
> > > > it can create worlds but switching between them just breaks havoc.
> > > >
> > > > Maybe should we just remove that feature from TWM as 3.0 doesn't seem
> > to be
> > > > multiworld friendly.
> > > >
> > > > Nothing done on tests nor themeing (which appears to be not that
> > working
> > > > well in 3.0 either due to theming changes);
> > > >
> > > > At least the thing is back :-) [I missed it...]
> > > >
> > > > Phil
> > >
> > >
> >
> >
> >