Re: [Pharo-project] new template for class empty comments for OB

2011-04-25 Thread Lukas Renggli
Hi Alexandre, But this is not incompatible. The IVs may still be listed, the template can be adjusted for that Yes, this is true and the proposed change takes the IVs into account. The only problem is that I have to scroll to the bottom in 90% of the cases as the variables are a couple of

Re: [Pharo-project] new template for class empty comments for OB

2011-04-25 Thread laurent laffont
Why not a Please comment this class. Look at class for a good example of comment. Replace XXX with a class you like. Laurent On Sun, Apr 24, 2011 at 7:39 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi lukas could you add the following in OB for missing template

[Pharo-project] [update 1.3] #13172

2011-04-25 Thread Marcus Denker
13172 - Issue 3088: MNU TextwithBlanksTrimmed Issue 4091: Remove Socket primitiveOnlySupportsOneSemaphore Issue 4084: Adding comments to announcer Issue 4083: fix full image text search (typo) Issue 4068: SubscriptOutOfBounds Issue 4081: MessageNotUnderstood:

[Pharo-project] Better debugging...

2011-04-25 Thread Stéphane Ducasse
Hi guys I'm chasing a strange bug since a couple of hours and what I would love to have is the possibility to change an instance variable into an object that says stop each time you are changed from this flow. Stef

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Max Leske
@Adrian Lienhard Does that ring a bell? :D - Object Flow VM... On 25.04.2011, at 10:34, Stéphane Ducasse wrote: Hi guys I'm chasing a strange bug since a couple of hours and what I would love to have is the possibility to change an instance variable into an object that says stop each

[Pharo-project] removing versions from configurations

2011-04-25 Thread Tudor Girba
Hi, The Moose build broke because the 'default' version was removed from ConfigurationOfRPackage. I fixed it now by using #stable, but that is not the issue. I understand the need for cleaning, but we should be aware that removing versions from configurations can have far reaching ripple

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Craig Latta
Hi Alexandre-- Debugging, as well as profiling, is a topic that everybody got it wrong. We still debug an application in oo in the same way that people debugged their C program: thinking in term of call stack and stack frame instead of objects. So tell us more! :) How do you express

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Mariano Martinez Peck
On Mon, Apr 25, 2011 at 10:34 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guys I'm chasing a strange bug since a couple of hours and what I would love to have is the possibility to change an instance variable into an object that says stop each time you are changed from this

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Alexandre Bergel
All Smalltalk (and Java profilers) tells us which method call stack appears the most during an execution. This is pretty poor. What are the objects that makes an execution slow? and Which are message arguments responsible of a slow execution? are the two questions I will probably work on for

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Alexandre Bergel
I'm chasing a strange bug since a couple of hours and what I would love to have is the possibility to change an instance variable into an object that says stop each time you are changed from this flow. What about a proxy object plus certain logic in the interception that using

[Pharo-project] Glamour theme

2011-04-25 Thread Alexandre Bergel
Hi Doru, Just wondering whether you have tried to remove the black border of each windows. I indeed like to not have it around button, scrollbar. Why not windows? I have the impression what the window color has to slightly change when not in foreground. I like the theme, even if I am more

Re: [Pharo-project] new template for class empty comments for OB

2011-04-25 Thread Alexandre Bergel
I see your point. We need to iterate on what a good template can be. In general, I believe a lot can be extracted from unit test execution that can serve as a good basis for documentation: public, private methods, collaboration, ... Alexandre On 25 Apr 2011, at 03:15, Lukas Renggli wrote:

Re: [Pharo-project] Find and replace doesn't accept with Enter key

2011-04-25 Thread Lukas Renggli
I assume you are referring to the find dialog in OmniBrowser. This has been fixed for Pharo 1.2 a long time ago, you just need to take/merge the code from my repository. Lukas On 25 April 2011 16:50, Mariano Martinez Peck marianop...@gmail.com wrote: Hi alain. If I do cmd + f and I type

Re: [Pharo-project] Find and replace doesn't accept with Enter key

2011-04-25 Thread Mariano Martinez Peck
On Mon, Apr 25, 2011 at 5:08 PM, Lukas Renggli reng...@gmail.com wrote: I assume you are referring to the find dialog in OmniBrowser. No. I am talking about the Find and Replace of PharoCore. When you are inside a method and you press CMD + F This has been fixed for Pharo 1.2 a long time

Re: [Pharo-project] [Metacello] Which packages should we include of metacello for Pharo 1.3?

2011-04-25 Thread Dale Henrichs
On 04/24/2011 12:03 PM, Mariano Martinez Peck wrote: On Sun, Apr 24, 2011 at 5:59 PM, Dale Henrichs dhenr...@vmware.com mailto:dhenr...@vmware.com wrote: Mariano, (excluding the OB-Metallo menu items) ... hi dale. What does it mean exactly? If right now I am loading :

Re: [Pharo-project] removing versions from configurations

2011-04-25 Thread Dale Henrichs
On 04/25/2011 03:51 AM, Tudor Girba wrote: Hi, The Moose build broke because the 'default' version was removed from ConfigurationOfRPackage. I fixed it now by using #stable, but that is not the issue. I understand the need for cleaning, but we should be aware that removing versions from

Re: [Pharo-project] Find and replace doesn't accept with Enter key

2011-04-25 Thread Lukas Renggli
I assume you are referring to the find dialog in OmniBrowser. No. I am talking about the Find and Replace of PharoCore. When you are inside a method and you press CMD + F Maybe the fix is the same? :-) This has been fixed for Pharo 1.2 a long time ago, you just need to take/merge the code

Re: [Pharo-project] Find and replace doesn't accept with Enter key

2011-04-25 Thread Mariano Martinez Peck
On Mon, Apr 25, 2011 at 5:43 PM, Lukas Renggli reng...@gmail.com wrote: I assume you are referring to the find dialog in OmniBrowser. No. I am talking about the Find and Replace of PharoCore. When you are inside a method and you press CMD + F Maybe the fix is the same? :-) maybe. Can

[Pharo-project] Pharo 1.2.1 to Pharo 1.2.2

2011-04-25 Thread Miguel Cobá
How will this upgrade path will be handled? In some email of previous week this is mentioned: SystemVersion newVersion: 'Pharo1.2.2a'. But evaluated in a Pharo 1.2.1 update 12345 starts updating from 12342 and stops on 12345, so I think that is wrong. Evaluating SystemVersion newVersion:

Re: [Pharo-project] Find and replace doesn't accept with Enter key

2011-04-25 Thread Lukas Renggli
I assume you are referring to the find dialog in OmniBrowser. No. I am talking about the Find and Replace of PharoCore. When you are inside a method and you press CMD + F Maybe the fix is the same? :-) maybe. Can you point us the OB version so that we can do a diff with the previous

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Mariano Martinez Peck
On Mon, Apr 25, 2011 at 5:39 PM, Alexandre Bergel alexandre.ber...@me.comwrote: All Smalltalk (and Java profilers) tells us which method call stack appears the most during an execution. This is pretty poor. What are the objects that makes an execution slow? and Which are message arguments

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Mariano Martinez Peck
On Mon, Apr 25, 2011 at 5:40 PM, Alexandre Bergel alexandre.ber...@me.comwrote: I'm chasing a strange bug since a couple of hours and what I would love to have is the possibility to change an instance variable into an object that says stop each time you are changed from this flow.

Re: [Pharo-project] Find and replace doesn't accept with Enter key

2011-04-25 Thread Mariano Martinez Peck
On Mon, Apr 25, 2011 at 6:06 PM, Lukas Renggli reng...@gmail.com wrote: I assume you are referring to the find dialog in OmniBrowser. No. I am talking about the Find and Replace of PharoCore. When you are inside a method and you press CMD + F Maybe the fix is the same? :-)

Re: [Pharo-project] What is a well documented class?

2011-04-25 Thread csrabak
I think a well documented class is a class which can be understood by reading its documentation without having to resort to anything else, be it running the test only to see something not obvious, reading the code to understand the working which the document fell short; and without having to

Re: [Pharo-project] Help me get to ESUG 2011 ...

2011-04-25 Thread Sean P. DeNigris
I just started the ball rolling with a small donation. Redline is a great way to sneak Smalltalk in the back door of enterprise organizations. Thanks for doing all that work James. Sean -- View this message in context: http://forum.world.st/Help-me-get-to-ESUG-2011-tp3472410p3473556.html Sent

Re: [Pharo-project] removing versions from configurations

2011-04-25 Thread Stéphane Ducasse
Indeed but loading default could have destroyed your image. So RPackage should not be managed with default. Now for stable I'm not sure that I set it up well so watch out. Stef On Apr 25, 2011, at 12:51 PM, Tudor Girba wrote: Hi, The Moose build broke because the 'default' version was

Re: [Pharo-project] Find and replace doesn't accept with Enter key

2011-04-25 Thread Mariano Martinez Peck
On Mon, Apr 25, 2011 at 6:52 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Apr 25, 2011, at 5:15 PM, Mariano Martinez Peck wrote: On Mon, Apr 25, 2011 at 5:08 PM, Lukas Renggli reng...@gmail.com wrote: I assume you are referring to the find dialog in OmniBrowser. No. I

Re: [Pharo-project] What is a well documented class?

2011-04-25 Thread Alexandre Bergel
Ok, but what would be a tool that help you write comment? This cannot be the system browser. Alexandre On 25 Apr 2011, at 12:37, csra...@bol.com.br wrote: I think a well documented class is a class which can be understood by reading its documentation without having to resort to anything

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Alexandre Bergel
Same thing for debugging. Why should I see the execution as a bunch of stack frame? How to set a breakpoint based on the object state? self haltIf: I know this. But this is not an operation supported by the environment. It is like a refactoring. I do not need the refactoring browser to do

Re: [Pharo-project] [Metacello] Re: Metacellobrowser feedback

2011-04-25 Thread Alexandre Bergel
I understand the point you are making. I never intended my mails to be of the 'do this now' kind. I am just sharing my experiences and points of view. I have always had strong opinions about UI elements and lately even more since I have been reading up on the topic (because of my work on

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Mariano Martinez Peck
On Mon, Apr 25, 2011 at 8:02 PM, Alexandre Bergel alexandre.ber...@me.comwrote: Same thing for debugging. Why should I see the execution as a bunch of stack frame? How to set a breakpoint based on the object state? self haltIf: I know this. But this is not an operation supported by the

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Alexandre Bergel
I understand. But no matter the UI / environment / frontend , you will need first the backend (call it as you want). Yeah, we need an implementation :-) Your work is indeed important. I foresee nice discussions at esug. Cheers, Alexandre What is the exact difference of execution if I

Re: [Pharo-project] removing versions from configurations

2011-04-25 Thread Tudor Girba
Hi Stef, On 25 Apr 2011, at 18:50, Stéphane Ducasse wrote: Indeed but loading default could have destroyed your image. So RPackage should not be managed with default. I do not understand. The continuous integration server is there to check these issues. The correspondent would be to load

Re: [Pharo-project] [Metacello] Which packages should we include of metacello for Pharo 1.3?

2011-04-25 Thread Mariano Martinez Peck
On Mon, Apr 25, 2011 at 5:16 PM, Dale Henrichs dhenr...@vmware.com wrote: On 04/24/2011 12:03 PM, Mariano Martinez Peck wrote: On Sun, Apr 24, 2011 at 5:59 PM, Dale Henrichs dhenr...@vmware.com mailto:dhenr...@vmware.com wrote: Mariano, (excluding the OB-Metallo menu items) ...

Re: [Pharo-project] Glamour theme

2011-04-25 Thread Tudor Girba
Hi, On 25 Apr 2011, at 17:49, Alexandre Bergel wrote: Hi Doru, Just wondering whether you have tried to remove the black border of each windows. The border is not black, it is only slightly darker and it is basically there to distinguish overlapping windows from one another. I indeed

Re: [Pharo-project] Glamour theme

2011-04-25 Thread Alexandre Bergel
Just wondering whether you have tried to remove the black border of each windows. The border is not black, it is only slightly darker and it is basically there to distinguish overlapping windows from one another. Ah ok. I indeed like to not have it around button, scrollbar. Why not

[Pharo-project] Suggestion: rename some methods for consistency

2011-04-25 Thread DougEdmunds
The vast majority of example methods follow a consistent naming pattern where the word 'example' starts the method name. There's a handful that don't. The advantage of this approach is that all the examples appear together in the browser list of methods. I suggest that these methods be renamed:

[Pharo-project] Suggestions: move examples from UIThemes class to ExampleBuilderMorph class

2011-04-25 Thread DougEdmunds
A couple of suggestions Part 1. Move the methods in the UIThemes class, protocol 'examples' to ExampleBuilderMorph class, protocol 'examples'. Rationale: Every one of these examples first creates an instance of ExampleBuilderMorph as the base class that the example is built on. These examples

Re: [Pharo-project] new template for class empty comments for OB

2011-04-25 Thread Alexandre Bergel
Hi! I worked on a small prototype to help me write code documentation. As an example, here is a template that is automatically given for MOShape, an abstract class in Mondrian that does not have any class variables. MOShape has just one instance variable, isCached.

Re: [Pharo-project] Error with latest ProfStef in Pharo 1.3

2011-04-25 Thread laurent laffont
On Mon, Apr 25, 2011 at 8:30 PM, Alexandre Bergel alexandre.ber...@me.comwrote: May be I can check this with my local developer group on Tuesday (we meet from 12:30 - 13h30. If you wake up early :) 13:30 in france is 8:30 in Chile. I usually arrive at 8:20 at work. So, we meet on tomorrow?

Re: [Pharo-project] What is a well documented class?

2011-04-25 Thread csrabak
The tool is a text editor ;-) If we agree on my suggestions, we can compose a set of guidelines to arrive at deliverables that comply with them. One tool could be a template and a checklist to help the writer of the documentation. -- Cesar Rabak Em 25/04/2011 14:59, Alexandre Bergel

Re: [Pharo-project] What is a well documented class?

2011-04-25 Thread Alexandre Bergel
The tool is a text editor ;-) Woooaaa... That can't be :-) please check the email I just sent. Alexandre If we agree on my suggestions, we can compose a set of guidelines to arrive at deliverables that comply with them. One tool could be a template and a checklist to help the writer

Re: [Pharo-project] Error with latest ProfStef in Pharo 1.3

2011-04-25 Thread Alexandre Bergel
Ok, tomorrow at 13:20 - 13:30 (GMT+1) on skype Alexandre On 25 Apr 2011, at 15:26, laurent laffont wrote: On Mon, Apr 25, 2011 at 8:30 PM, Alexandre Bergel alexandre.ber...@me.com wrote: May be I can check this with my local developer group on Tuesday (we meet from 12:30 - 13h30. If

Re: [Pharo-project] Memory profiling

2011-04-25 Thread Adrian Lienhard
Hi Alex, I assume that your test run always creates the same number objects with the same size. Given that, there doesn't appear to be any reason why the amount of allocated memory for the given run should vary. So its rather the way you measure that makes the difference. I don't know how you

Re: [Pharo-project] What is a well documented class?

2011-04-25 Thread DougEdmunds
2cents about what is a well-documented class?: Information about the state variables (instance variables): what goes in the slot, and what it's for. Good examples (the layout gets skewed doing copy/paste) in RxsPredicate Instance Variables: predicate BlockClosure A

Re: [Pharo-project] Better debugging...

2011-04-25 Thread Camillo Bruni
I think a nice way to have a decent debugger is to run the program on top of a changeable interpreter. Since a classical debugger is nothing else but an interpreter with slightly changed semantics. The object flow VM does a great job at tracing back stuff.. however it might pose a massive

[Pharo-project] petit parser help

2011-04-25 Thread Esteban Lorenzano
Hi Lukas, all I'm finally working on a HTML petit parser (a very basic one, based on XML petit parser) and I have a serious problem (well... besides my complete ignorance about petit parser, he...) I need to match this pattern: openTag, contents, closeTag (that will be something like html

Re: [Pharo-project] petit parser help

2011-04-25 Thread Casey Ransberger
I played with PEGs awhile ago. Recommend reading the wikipedia article. You can use a couple of lookahead type tricks, pay attention to the bit about syntactic predicates. I can't remember what the exact phrasing is in PetitParser, but there should be an and predicate and a not predicate that

Re: [Pharo-project] What is a well documented class?

2011-04-25 Thread csrabak
What would be a casual user of a class in Smalltalk? -- Cesar Rabak Em 25/04/2011 18:19, Alexandre Bergel alexandre.ber...@me.com escreveu: Ok, focusing on the instance variables. I think there is two kind of documentation, one for the casual user, and another for the developers.

Re: [Pharo-project] Pharo 1.2.1 to Pharo 1.2.2

2011-04-25 Thread Miguel Cobá
El lun, 25-04-2011 a las 11:00 -0500, Miguel Cobá escribió: How will this upgrade path will be handled? In some email of previous week this is mentioned: SystemVersion newVersion: 'Pharo1.2.2a'. I meant: SystemVersion newVersion: 'Pharo1.2.1a'. But evaluated in a Pharo 1.2.1 update

Re: [Pharo-project] petit parser help

2011-04-25 Thread Ricardo Moran
I only played a little with PetitParser but I think the answer is in PetitXml#element. You see in the action block that it compares the qualified of the open and close tags and if they're different it returns a PPFailure. It also takes care of the inlineTag in the same block by asking if the fifth

Re: [Pharo-project] petit parser help

2011-04-25 Thread Lukas Renggli
I only played a little with PetitParser but I think the answer is in PetitXml#element. You see in the action block that it compares the qualified of the open and close tags and if they're different it returns a PPFailure. It also takes care of the inlineTag in the same block by asking if the