Re: [Pharo-dev] encodings and regex clash?

2014-11-02 Thread Max Leske
On 01.11.2014, at 22:07, stepharo steph...@free.fr wrote: Hi guys I'm doing a small variable expansion to relocate my webpage. I want to expand -base- into basehttp://sdmeta.gforge.inria.fr/base Now it works when I test with some strings inside the image trying self new trying

Re: [Pharo-dev] encodings and regex clash?

2014-11-02 Thread stepharo
On 2/11/14 12:37, Max Leske wrote: On 01.11.2014, at 22:07, stepharo steph...@free.fr wrote: Hi guys I'm doing a small variable expansion to relocate my webpage. I want to expand -base- into basehttp://sdmeta.gforge.inria.fr/base Now it works when I test with some strings inside the image

Re: [Pharo-dev] Trouble while defining a customized tab in GT inspector

2014-11-02 Thread Luc Fabresse
Hi Doru, Thanks for your answer. It worked as you suggested, but I had to copy three methods of ObjectVariablesBrowser (evaluatorIn:, printStringOf: and stringWithoutInitialCommentFrom:) to reproduce the evaluator part of the tab. I am not really happy with that but perhaps there is no other way.

Re: [Pharo-dev] encodings and regex clash?

2014-11-02 Thread Max Leske
On 02.11.2014, at 14:59, stepharo steph...@free.fr wrote: On 2/11/14 12:37, Max Leske wrote: On 01.11.2014, at 22:07, stepharo steph...@free.fr wrote: Hi guys I'm doing a small variable expansion to relocate my webpage. I want to expand -base- into

[Pharo-dev] Failing #obsoleteClasses test

2014-11-02 Thread Max Leske
I spent a couple of hours trying to find out why the #obsoleteClasses test sporadically fails. I’ve found one candidate that fixes all the failures that I could produces. Simply put, any test that does something AST related (e.g. runs critics) *has to* reset the ASTCache during #tearDown:

Re: [Pharo-dev] Unpackaged code

2014-11-02 Thread Max Leske
On 29.10.2014, at 10:00, Marcus Denker marcus.den...@inria.fr wrote: On 29 Oct 2014, at 09:54, Max Leske maxle...@gmail.com mailto:maxle...@gmail.com wrote: On 29.10.2014, at 09:45, Marcus Denker marcus.den...@inria.fr mailto:marcus.den...@inria.fr wrote: @free.fr

[Pharo-dev] ImageCleaner interaction with Delay

2014-11-02 Thread Ben Coman
ImageCleanercleanUpForRelease calls cleanUpMethods which calls Delay classstartTimerEventLoop. I thought this would have started with a clean/empty suspended delays heap, but it carries forward the old SuspendedDelays. So if there happened to be a suspended delay expiring in a month's time,

Re: [Pharo-dev] Failing #obsoleteClasses test

2014-11-02 Thread Max Leske
On 02.11.2014, at 18:28, Eliot Miranda eliot.mira...@gmail.com wrote: Hi Max, could the cache be reimplemented using WeakArray? Stuff like this is a drag. eg in Squeak the Windows menu holds onto all the windows that were open when last the menu was opened. So to get a window

Re: [Pharo-dev] encodings and regex clash?

2014-11-02 Thread Sven Van Caekenberghe
Stéph, For me all this works and gives the same result: 'head -BASE- titleDr. Steacute;phane Ducasse/title /head' copyWithRegex: '-BASE-' matchesReplacedWith: 'pFoo/p'. 'foo.html' asFileReference writeStreamDo: [ :out | out 'head -BASE- titleDr. Steacute;phane Ducasse/title /head' ].

Re: [Pharo-dev] Make Nautilus to automatically categorize new methods (if needed) and remove empty protocols

2014-11-02 Thread stepharo
Thanks Hi, cf. https://pharo.fogbugz.com/default.asp?14376 to eventually integrate. Cheers, #Luc

Re: [Pharo-dev] [Vm-dev] Re: Super fast delay

2014-11-02 Thread Eliot Miranda
Hi Ben, On Nov 2, 2014, at 6:06 AM, Ben Coman b...@openinworld.com wrote: Eliot Miranda wrote: On Wed, Oct 29, 2014 at 12:14 PM, Ben Coman b...@openinworld.com mailto:b...@openinworld.com wrote: Holger Hans Peter Freyther wrote: On Wed, Oct 29, 2014 at 06:54:57PM +0100, Holger

[Pharo-dev] NAtiveBoost error

2014-11-02 Thread Alain Rastoul
Hi, I have a problem with a nativeboost call, but I don't see what I do wrong. library function prototype is: int zmq_getsockopt (void *socket, int option_name, void *option_value, size_t *option_len); my calling method in pharo is: zmq_getsockopt: socket option_name: option_name

Re: [Pharo-dev] NAtiveBoost error

2014-11-02 Thread Igor Stasenko
NBExternalArray instances cannot be passed directly to functions expecting pointers. use 'myarray address' for arguments. On 3 November 2014 00:20, Alain Rastoul alf.mmm@gmail.com wrote: Hi, I have a problem with a nativeboost call, but I don't see what I do wrong. library function