Re: [Pharo-project] Waste of CPU Power by polling events?

2010-11-23 Thread Henrik Sperre Johansen
On 22.11.2010 22:08, Guido Stepken wrote: Need additional: isOnMouseOverEvent isMouseGestureEvent isTouchGestureEvent You could try checking out how the iOS code does support for complex events. It's of course somewhat apple-specific, but hey, would be nice to have the same image-side

Re: [Pharo-project] Issue 3280 in pharo: Focus indicator for pluggable text morphs not correctly drawn

2010-11-23 Thread pharo
Comment #5 on issue 3280 by gazzaguru2: Focus indicator for pluggable text morphs not correctly drawn http://code.google.com/p/pharo/issues/detail?id=3280 That's deliberate (the list has the focus...)

[Pharo-project] removeSelector:

2010-11-23 Thread Benjamin
Hello guys, regarding that comment of SmalltalkImage#removeSelector: is Safely remove a selector from a class (or metaclass). If the class or the method doesn't exist anymore, never mind and answer nil. This method should be used instead of 'Class removeSelector:

Re: [Pharo-project] Issue 3280 in pharo: Focus indicator for pluggable text morphs not correctly drawn

2010-11-23 Thread pharo
Comment #6 on issue 3280 by aplantec: Focus indicator for pluggable text morphs not correctly drawn http://code.google.com/p/pharo/issues/detail?id=3280 It seems to me that the list get the keyboard focus on a up or down arrow. But while typing in the filter field, this one has the keyboard

Re: [Pharo-project] Issue 3280 in pharo: Focus indicator for pluggable text morphs not correctly drawn

2010-11-23 Thread pharo
Comment #7 on issue 3280 by gazzaguru2: Focus indicator for pluggable text morphs not correctly drawn http://code.google.com/p/pharo/issues/detail?id=3280 Though technically an unrelated issue try the following to see if you like it better ;-) PopupChoiceDialogWindow filter: aString

Re: [Pharo-project] Issue 3282 in pharo: Watery theme minimize/maxmize over forms incorrect

2010-11-23 Thread pharo
Updates: Status: Fixed Comment #1 on issue 3282 by marcus.denker: Watery theme minimize/maxmize over forms incorrect http://code.google.com/p/pharo/issues/detail?id=3282 (No comment was entered for this change.)

[Pharo-project] [ANN 1.2] pre-build Core#12251

2010-11-23 Thread Marcus Denker
https://gforge.inria.fr/frs/download.php/27986/PharoCore-1.2-12251.zip -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.

Re: [Pharo-project] Issue 3280 in pharo: Focus indicator for pluggable text morphs not correctly drawn

2010-11-23 Thread pharo
Comment #8 on issue 3280 by aplantec: Focus indicator for pluggable text morphs not correctly drawn http://code.google.com/p/pharo/issues/detail?id=3280 yes, much better for me. thanks!

[Pharo-project] rename a method programatically

2010-11-23 Thread Cyrille Delaunay
Hello, I would like to know how I can rename a method programatically and safelly (without missing to raise any event that has to be raised)

Re: [Pharo-project] Issue 3280 in pharo: Focus indicator for pluggable text morphs not correctly drawn

2010-11-23 Thread pharo
Comment #9 on issue 3280 by gazzaguru2: Focus indicator for pluggable text morphs not correctly drawn http://code.google.com/p/pharo/issues/detail?id=3280 You'll need this too to allow return key when filter has focus to do the ok action... newFilterEntry Answer a new filter

Re: [Pharo-project] Issue 3282 in pharo: Watery theme minimize/maxmize over forms incorrect

2010-11-23 Thread pharo
Updates: Status: Closed Comment #2 on issue 3282 by marcus.denker: Watery theme minimize/maxmize over forms incorrect http://code.google.com/p/pharo/issues/detail?id=3282 12252

Re: [Pharo-project] Issue 3281 in pharo: IconicButton graphic not centered

2010-11-23 Thread pharo
Updates: Status: Closed Comment #1 on issue 3281 by marcus.denker: IconicButton graphic not centered http://code.google.com/p/pharo/issues/detail?id=3281 12252

Re: [Pharo-project] Renaming a Monticello package

2010-11-23 Thread Stéphane Ducasse
you cannot keep the history as far as I know. Stef On Nov 22, 2010, at 9:48 PM, laurent laffont wrote: Hi, I want to rename ProfStefBrowser package to ProfStef-Browser. Is it possible to do so and keep the package history ? I cannot find how. Cheers, Laurent Laffont Pharo

Re: [Pharo-project] Issue 3278 in pharo: MCWorkingDescription better description

2010-11-23 Thread pharo
Updates: Status: Closed Comment #1 on issue 3278 by marcus.denker: MCWorkingDescription better description http://code.google.com/p/pharo/issues/detail?id=3278 12252

[Pharo-project] SystemOrganizer classify:under: to recategorized a class ?

2010-11-23 Thread Cyrille Delaunay
Hello, I'm looking for the right way to move a class from a category to another category. When I do: Smalltalk organization classify: #AClassName to: #aCategoryName, it does the job. But when I do that, no event is emited to notify that the class has been moved. So I guess I'm using this method

[Pharo-project] [update 1.2] #12252

2010-11-23 Thread Marcus Denker
12252 - Issue 3282: Watery theme minimize/maxmize over forms incorrect Issue 3281: IconicButton graphic not centered Issue 3278: MCWorkingDescription better description -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.

[Pharo-project] Fwd: [squeak-dev] Re: New macintosh vm builder maintainer: Esteban Lorenzano

2010-11-23 Thread Stéphane Ducasse
1) Create a hudson configuration for the vms, so it can be built automatically. Of course, there are two problems here: a) we need a good test batery, and the vm has not. To solve this, I think the pharo tests will ne a good starting vm suite: If the tests succed, we can hope the vm

Re: [Pharo-project] removeSelector:

2010-11-23 Thread Stéphane Ducasse
On Nov 23, 2010, at 12:48 PM, Benjamin wrote: Hello guys, regarding that comment of SmalltalkImage#removeSelector: is Safely remove a selector from a class (or metaclass). If the class or the method doesn't exist anymore, never mind and answer nil. This method should

Re: [Pharo-project] Issue 3254 in pharo: [Repackage] Regular expressions should be well structured

2010-11-23 Thread pharo
Updates: Cc: marcus.denker Comment #10 on issue 3254 by torsten@astares.de: [Repackage] Regular expressions should be well structured http://code.google.com/p/pharo/issues/detail?id=3254 So stef integrated the latest version available on lukas repository. Ready for inclusion in

Re: [Pharo-project] removeSelector:

2010-11-23 Thread Benjamin
On Nov 23, 2010, at 4:00 PM, Stéphane Ducasse wrote: On Nov 23, 2010, at 12:48 PM, Benjamin wrote: Hello guys, regarding that comment of SmalltalkImage#removeSelector: is Safely remove a selector from a class (or metaclass). If the class or the method doesn't exist anymore, never

[Pharo-project] Symbol and Scanner

2010-11-23 Thread Benjamin
Hello, I wonder why the method isLiteralSymbol: is in the Scanner methodDict instead of the Symbol (or maybe String) one ? Moreover there is no reference to self or variable in this method ... And due to this method, there is a dependence between Symbol and Scanner (and then the

Re: [Pharo-project] rename a method programatically

2010-11-23 Thread Igor Stasenko
This is good question! Behavior and ClassDescription is where you should look at. I don't remember the details, but i could say that its hard to find what is an 'official' way to do that. API is messy. We need to improve the SystemNotification and system changes layer to make everything clear. On

[Pharo-project] Issue 3283 in pharo: Symbol dependencie

2010-11-23 Thread pharo
Status: Fixed Owner: Benjamin.VanRyseghem.Pharo New issue 3283 by Benjamin.VanRyseghem.Pharo: Symbol dependencie http://code.google.com/p/pharo/issues/detail?id=3283 Attached : a change sort which fix a dependencie between Symbol and Scanner Attachments: SymbolClassReadFrom.1.cs 532

Re: [Pharo-project] Fwd: [Pharo-users] TestMock: a full featured mock testing framework now available in SqueakSource

2010-11-23 Thread Luc Fabresse
Hi Dennis, Yes, TDD is highly popular and encouraged in the Smalltalk community. And mocks are not necessary in most cases. #Luc 2010/11/23 Dennis Schetinin chae...@gmail.com How is it compared to Mocketry (http://www.squeaksource.com/Mocketry.html)? SMock? BTW, isn't TDD without mocks

Re: [Pharo-project] rename a method programatically

2010-11-23 Thread jaayer
On Tue, 23 Nov 2010 05:17:05 -0800 Cyrille Delaunay wrote Hello, I would like to know how I can rename a method programatically and safelly (without missing to raise any event that has to be raised) I don't believe there is any simple way to do this. Basically, to rename a

Re: [Pharo-project] rename a method programatically

2010-11-23 Thread Mariano Martinez Peck
Cyrille I don't know why you need that but take into account that RB split their packages even more in the last months. So maybe it is easier for you to directly use RB and load with your code, the RB core or the specific package that you need. Mostly if you need some other similar

Re: [Pharo-project] is there an easy way to know the SmallInteger instances?

2010-11-23 Thread csrabak
Mariano, Your post has made think. . . for the final user this would put this method farther from OO as possible, wouldn't it?

Re: [Pharo-project] Fwd: [Pharo-users] TestMock: a full featured mock testing framework now available in SqueakSource

2010-11-23 Thread laurent laffont
On Tue, Nov 23, 2010 at 5:39 PM, Luc Fabresse luc.fabre...@gmail.comwrote: Hi Dennis, Yes, TDD is highly popular and encouraged in the Smalltalk community. And mocks are not necessary in most cases. Hi Luc, why Mocks are less necessary in Smalltalk than in other

[Pharo-project] Issue 3284 in pharo: Renaming a Monticello package should keep history

2010-11-23 Thread pharo
Status: Accepted Owner: laurent.laffont Labels: Type-RequestForEnhancement New issue 3284 by laurent.laffont: Renaming a Monticello package should keep history http://code.google.com/p/pharo/issues/detail?id=3284 Laurent: I want to rename ProfStefBrowser package to ProfStef-Browser. Is it

[Pharo-project] shout in pharo core 1.2

2010-11-23 Thread Tudor Girba
Hi, In the Moose configuration we are trying to make Shout work in PharoCore 1.2, but we still do not manage to do it properly. Does anybody knows what version works? Cheers, Doru -- www.tudorgirba.com From an abstract enough point of view, any two things are similar.

Re: [Pharo-project] shout in pharo core 1.2

2010-11-23 Thread Francisco Ortiz Peñaloza
I comited new working versions for Shout and a new ConfigurationOfShout to metacello repository. Try, ConfigurationOfShout project load: '1.2.2' Cheers, Francisco On Tue, Nov 23, 2010 at 6:24 PM, Tudor Girba tudor.gi...@gmail.com wrote: Hi, In the Moose configuration we are trying to make

[Pharo-project] Issue 3285 in pharo: Obsolete ConfigurationOfRFB

2010-11-23 Thread pharo
Status: New Owner: New issue 3285 by gaston.dalloglio: Obsolete ConfigurationOfRFB http://code.google.com/p/pharo/issues/detail?id=3285 Pharo image: Pharo-core Pharo core version: Pharo1.2a I have installed RFBServer following this guide

[Pharo-project] Much better issues feed from Google

2010-11-23 Thread Stephan Eggermont
Would be to have it in a browser in the image. An early experiment with the current Moose daily build shows it can be done: http://www.squeaksource.com/GoogleIssuesFeed Stephan

[Pharo-project] script language=smalltalk

2010-11-23 Thread Torsten Bergmann
How easy/hard to integrate smalltalk VM into browsers? It it feasible? You need to run as a plugin in the browser, so the VM has to be in process (DLL on windows instead of exe for instance) I know, there is (or was) a Squeak browser plugin. Yes there was/is a Squeak ActiveX control for

Re: [Pharo-project] shout in pharo core 1.2

2010-11-23 Thread Tudor Girba
Thanks, it seems to go better. Cheers, Doru On 23 Nov 2010, at 22:34, Francisco Ortiz Peñaloza wrote: I comited new working versions for Shout and a new ConfigurationOfShout to metacello repository. Try, ConfigurationOfShout project load: '1.2.2' Cheers, Francisco On Tue, Nov

Re: [Pharo-project] Much better issues feed from Google

2010-11-23 Thread Tudor Girba
Indeed, it looks quite nice. It would be great to have the issues inside the image. To make it great, we would just need the tiny feature of affecting the issues (replying, creating) :) Cheers, Doru On 23 Nov 2010, at 23:46, Stephan Eggermont wrote: Would be to have it in a browser in the

Re: [Pharo-project] rename a method programatically

2010-11-23 Thread Tudor Girba
Definitely use the RB for any code transformations. Cheers, Doru On 23 Nov 2010, at 19:01, Mariano Martinez Peck wrote: Cyrille I don't know why you need that but take into account that RB split their packages even more in the last months. So maybe it is easier for you to directly use RB

Re: [Pharo-project] rename a method programatically

2010-11-23 Thread Igor Stasenko
On 24 November 2010 01:43, Tudor Girba tudor.gi...@gmail.com wrote: Definitely use the RB for any code transformations. I don't think it's a good option for meta-programming. For meta-programming, basic interface in Behavior or ClassDescription should be enough for manipulating with methods,

Re: [Pharo-project] rename a method programatically

2010-11-23 Thread Tudor Girba
Well, as long as you want to perform a refactoring I believe that RB provides the API in question. Doru On 24 Nov 2010, at 00:52, Igor Stasenko wrote: On 24 November 2010 01:43, Tudor Girba tudor.gi...@gmail.com wrote: Definitely use the RB for any code transformations. I don't think

Re: [Pharo-project] Fwd: [Pharo-users] TestMock: a full featured mock testing framework now available in SqueakSource

2010-11-23 Thread Dennis Schetinin
As for me, I'm simply unable to establish smooth test-driven process without Mocks. I think it does not depend on language at all. Without mocks I have to divide the task I have into smaller independent parts. It's actually an up-front design. I can make a mistake (I usually do); even worse it's

Re: [Pharo-project] removeSelector:

2010-11-23 Thread Noury Bouraqadi
No, it is an ill-named method. The argument is not a selector, but an array. First argument is a class and the second. Noury On 23 nov. 2010, at 12:48, Benjamin wrote: Hello guys, regarding that comment of SmalltalkImage#removeSelector: is Safely remove a selector from a class (or

Re: [Pharo-project] Fwd: [Pharo-users] TestMock: a full featured mock testing framework now available in SqueakSource

2010-11-23 Thread laurent laffont
I agree with you Dennis. TDD practices are far ahead in Ruby / Java / Python world. BUT IMHO can be a real cool neaty great platform for TDD because we have: dynamic development. What I think we miss: - put a Mock framework in PharoCore - Mocks should be a standard tool even for low-level stuff