Re: Slow application startup when using a theme

2012-01-09 Thread Eric Wasylishen
Hi Fred, On 2012-01-09, at 2:26 PM, Fred Kiefer wrote: > On 09.01.2012 20:59, Eric Wasylishen wrote: >>> That would probably works but what about changing how +imageNamed: >>> works ? >>> >>> When this method is called with a image name lacking an extension >>> (ie 'GNUstep' or 'common_arrowLeft

Re: Multiple _OBJC_Module in the same shared library/framework, not so good

2012-01-09 Thread Nat!
Am 08.01.2012 um 15:48 schrieb Richard Frith-Macdonald: Hi Richard >> >> --- >> A class’s +load method is called after all of its superclasses' +load >> methods. >> A category +load method is called after the class's own +load method. >> In a +load method, you can therefore safely message other

Re: Slow application startup when using a theme

2012-01-09 Thread Philippe Roussel
Le lundi 09 janvier 2012 à 22:18 +0100, Philippe Roussel a écrit : > Le lundi 09 janvier 2012 à 20:51 +, Richard Frith-Macdonald a > écrit : > > On 9 Jan 2012, at 19:59, Eric Wasylishen wrote: > > > > > How about adding caching to NSBundle? It already caches the budle > > info.plist, why not

Re: Slow application startup when using a theme

2012-01-09 Thread Fred Kiefer
On 09.01.2012 20:59, Eric Wasylishen wrote: That would probably works but what about changing how +imageNamed: works ? When this method is called with a image name lacking an extension (ie 'GNUstep' or 'common_arrowLeft'), it tries to find a existing file by adding any know extension and calling

Re: Slow application startup when using a theme

2012-01-09 Thread Philippe Roussel
Le lundi 09 janvier 2012 à 20:51 +, Richard Frith-Macdonald a écrit : > On 9 Jan 2012, at 19:59, Eric Wasylishen wrote: > > > How about adding caching to NSBundle? It already caches the budle > info.plist, why not the directory listing of the resource directory? > > I hacked in some quick/di

Re: Slow application startup when using a theme

2012-01-09 Thread Eric Wasylishen
>> How about adding caching to NSBundle? It already caches the budle >> info.plist, why not the directory listing of the resource directory? > > I hacked in some quick/dirty cacheing in NSBundle. Does it make enough > difference to be worth doing properly rather than reverting? > Yes, it mak

Re: Slow application startup when using a theme

2012-01-09 Thread Philippe Roussel
Le lundi 09 janvier 2012 à 12:59 -0700, Eric Wasylishen a écrit : > Hi, > Thanks for the report, Philippe; this is indeed a fairly serious problem. :-( > > > > > That would probably works but what about changing how +imageNamed: > > works ? > > > > When this method is called with a image name la

Re: Slow application startup when using a theme

2012-01-09 Thread Richard Frith-Macdonald
On 9 Jan 2012, at 19:59, Eric Wasylishen wrote: > Hi, > Thanks for the report, Philippe; this is indeed a fairly serious problem. :-( > >> >> That would probably works but what about changing how +imageNamed: >> works ? >> >> When this method is called with a image name lacking an extension (i

Re: Slow application startup when using a theme

2012-01-09 Thread Eric Wasylishen
Hi, Thanks for the report, Philippe; this is indeed a fairly serious problem. :-( > > That would probably works but what about changing how +imageNamed: > works ? > > When this method is called with a image name lacking an extension (ie > 'GNUstep' or 'common_arrowLeft'), it tries to find a exis