Re: [Pharo-project] Beeper

2012-11-18 Thread Stéphane Ducasse
Hi Stef, firstly I do not understand why we have SoundService at all when we have AbstractSoundSystem. Yes me too :) And why it is a AppRegistry. AppRegistry associates some application, tool. It is very confusing to use it for a sound provider. Then I do not understand why it is named

Re: [Pharo-project] [update 2.0] #20405

2012-11-18 Thread Marcus Denker
On Nov 17, 2012, at 6:12 PM, Pavel Krivanek pavel.kriva...@gmail.com wrote: Thank you, Marcus, we reduced Undeclared in Pharo Kernel to: Very good! WorldState - UIManager-#request:regex: World - DisplayScreen-#fullscreen: - ExternalDropHandler class-#defaultImageHandler -

[Pharo-project] [update 2.0] #20406

2012-11-18 Thread Marcus Denker
20406 - Issue 6995: remove TextStyle class#initDefaultFontsAndStyle http://code.google.com/p/pharo/issues/detail?id=6995 Issue 6482: switch to fullscreen is dependent on Morphic http://code.google.com/p/pharo/issues/detail?id=6482 Diff information:

Re: [Pharo-project] [NativeBoost] calls to munmap always fail on OS X 10.8.2

2012-11-18 Thread Camillo Bruni
most probably this is fine, I would not know why mmap and munmap should use a different lookup... On 2012-11-16, at 10:40, Max Leske maxle...@gmail.com wrote: It seems I found a fix. I simply copied the code from the mmap call over to munmap. Can somebody (Igor?) *please* confirm that this is

[Pharo-project] [Issue Tracker] Status

2012-11-18 Thread Marcus Denker
- Open issues: 385 http://code.google.com/p/pharo/issues/list?can=2 - Tagged for 2.0: 133 http://code.google.com/p/pharo/issues/list?can=2q=milestone%3D2.0 - Tagged for 1.4: 21 http://code.google.com/p/pharo/issues/list?can=2q=milestone%3D1.4 Issues with

Re: [Pharo-project] [NativeBoost] calls to munmap always fail on OS X 10.8.2

2012-11-18 Thread Igor Stasenko
On 16 November 2012 10:11, Max Leske maxle...@gmail.com wrote: A followup on the munmap issue: I think it has something to do with how NativeBoost does the lookup. I looked at the way that mmap is called and noticed that the selector #getGlobalSymbolPointer: is being used. Resolving munmap

Re: [Pharo-project] [NativeBoost] calls to munmap always fail on OS X 10.8.2

2012-11-18 Thread Igor Stasenko
Try loading NativeBoost-Mac-IgorStasenko.7 (and do NBMacConstants initialize, and then restart the image) see if it will fix the issue. On 18 November 2012 12:35, Igor Stasenko siguc...@gmail.com wrote: On 16 November 2012 10:11, Max Leske maxle...@gmail.com wrote: A followup on the munmap

Re: [Pharo-project] [NativeBoost] calls to munmap always fail on OS X 10.8.2

2012-11-18 Thread Igor Stasenko
On 18 November 2012 12:41, Igor Stasenko siguc...@gmail.com wrote: Try loading NativeBoost-Mac-IgorStasenko.7 (and do NBMacConstants initialize, and then restart the image) see if it will fix the issue. oh wait. this won't work.. i really don't like to use signed values for arguments.. --

Re: [Pharo-project] [NativeBoost] calls to munmap always fail on OS X 10.8.2

2012-11-18 Thread Igor Stasenko
On 18 November 2012 12:54, Igor Stasenko siguc...@gmail.com wrote: On 18 November 2012 12:41, Igor Stasenko siguc...@gmail.com wrote: Try loading NativeBoost-Mac-IgorStasenko.7 (and do NBMacConstants initialize, and then restart the image) see if it will fix the issue. oh wait. this won't

Re: [Pharo-project] [NativeBoost] calls to munmap always fail on OS X 10.8.2

2012-11-18 Thread Max Leske
Awesome, thanks Igor! I'll let you know if it works for me. Cheers, Max On 18.11.2012, at 17:14, Igor Stasenko siguc...@gmail.com wrote: On 18 November 2012 12:54, Igor Stasenko siguc...@gmail.com wrote: On 18 November 2012 12:41, Igor Stasenko siguc...@gmail.com wrote: Try loading

Re: [Pharo-project] [NativeBoost] calls to munmap always fail on OS X 10.8.2

2012-11-18 Thread Igor Stasenko
On 18 November 2012 11:16, Camillo Bruni camillobr...@gmail.com wrote: most probably this is fine, I would not know why mmap and munmap should use a different lookup... the explanation is simple: i need to call mmap before finishing bootstrap phase to allocate some memory for gate function and

Re: [Pharo-project] [Pharo-Project] About new TxText text model

2012-11-18 Thread Camillo Bruni
On 2012-11-14, at 17:36, Denis Kudriashov dionisi...@gmail.com wrote: Hello. I look deep at TxText package where Igor and Camillo introduced new text model. Text model based on sequence of span objects. There are now two kind of spans: CharacterSpan and LineSeparator. Each span has

Re: [Pharo-project] Beeper

2012-11-18 Thread Pavel Krivanek
Issue and slice created: http://code.google.com/p/pharo/issues/detail?id=6996 -- Pavel On Sun, Nov 18, 2012 at 9:47 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi Stef, firstly I do not understand why we have SoundService at all when we have AbstractSoundSystem. Yes me too :)

Re: [Pharo-project] [update 2.0] #20404

2012-11-18 Thread Pavel Krivanek
On Sat, Nov 17, 2012 at 9:12 PM, Marcus Denker marcus.den...@inria.fr wrote: 20404 - Issue 6994: move DisplayScreen #defaultCanvasClass to Morphic http://code.google.com/p/pharo/issues/detail?id=6994 This fix has very interesting consequence when loading Morphic. Because

Re: [Pharo-project] [update 2.0] #20404

2012-11-18 Thread Marcus Denker
On Nov 18, 2012, at 3:45 PM, Pavel Krivanek pavel.kriva...@gmail.com wrote: On Sat, Nov 17, 2012 at 9:12 PM, Marcus Denker marcus.den...@inria.fr wrote: 20404 - Issue 6994: move DisplayScreen #defaultCanvasClass to Morphic

[Pharo-project] Canvas repackaging (WAS: Re: [update 2.0] #20404)

2012-11-18 Thread Pavel Krivanek
On Sat, Nov 17, 2012 at 9:12 PM, Marcus Denker marcus.den...@inria.fr wrote: 20404 - Issue 6994: move DisplayScreen #defaultCanvasClass to Morphic http://code.google.com/p/pharo/issues/detail?id=6994 This fix has very interesting consequence when loading Morphic. Because

Re: [Pharo-project] Canvas repackaging (WAS: Re: [update 2.0] #20404)

2012-11-18 Thread Pavel Krivanek
On Sun, Nov 18, 2012 at 8:34 PM, Pavel Krivanek pavel.kriva...@gmail.com wrote: On Sat, Nov 17, 2012 at 9:12 PM, Marcus Denker marcus.den...@inria.fr wrote: 20404 - Issue 6994: move DisplayScreen #defaultCanvasClass to Morphic

[Pharo-project] [update 2.0] #20407

2012-11-18 Thread Marcus Denker
20407 - Issue 6998: remove possilbe defaultCanvasClass recursion http://code.google.com/p/pharo/issues/detail?id=6998 Issue 6997: Cleanup some unuses SystemNavigation methods... http://code.google.com/p/pharo/issues/detail?id=6997 Issue 6946:

Re: [Pharo-project] about sharing class binding and others

2012-11-18 Thread James Foster
I don't see the benefit of the added complexity. As it is now, at compile time the reference is not bound to a global but to an Association holding the global. If you want to change the value of the global you can do so and the method will reference the new value. Also, if you want to do

Re: [Pharo-project] about sharing class binding and others

2012-11-18 Thread Peter Hugosson-Miller
On Sun, Nov 18, 2012 at 10:40 PM, James Foster smallt...@jgfoster.netwrote: I don't see the benefit of the added complexity. As it is now, at compile time the reference is not bound to a global but to an Association holding the global. If you want to change the value of the global you can do

Re: [Pharo-project] about sharing class binding and others

2012-11-18 Thread Stéphane Ducasse
On Nov 18, 2012, at 10:40 PM, James Foster wrote: I don't see the benefit of the added complexity. As it is now, at compile time the reference is not bound to a global but to an Association holding the global. If you want to change the value of the global you can do so and the method will

Re: [Pharo-project] CachedBlockClosure was gone on purpose?

2012-11-18 Thread Eliot Miranda
I replaced the implementation with one based on properties. It's in Squeak trunk and works fine. The VisualWorks style clean-block implementation is more complex but arguably not better, and being based on become: is less well suited to Squeak. On Sat, Nov 17, 2012 at 4:07 AM, Marcus Denker