[Pharo-project] Call for help for reviewing code

2011-11-05 Thread Stéphane Ducasse
Hi guys there are plenty of bugs fixes that are waiting for review in the bug tracker. If each of us take two we will get really done fast. So can you give a hand and have a look the fixes. Stef

Re: [Pharo-project] UUID comparaison is Incorrect

2011-11-05 Thread Norbert Hartl
Am 04.11.2011 um 21:13 schrieb Stéphane Ducasse: > I was thinking that we should get the same bug for you UUID > because the code right now is > > < aMagnitude > "Answer whether the receiver is less than the argument." > > 1 to: self size do: [:i | > (self at: i) < (

[Pharo-project] [update 1.4] #14216

2011-11-05 Thread Stéphane Ducasse
14216 - - Issue 4963: Debugger crashes the image when the selector is > or >>. Thanks Benjamin van ryseghem and nicolas cellier. http://code.google.com/p/pharo/issues/detail?id=4963 - Issue 4906: crLog http://code.google.com/p/pharo/issues/detail?id=4906 - Issue 4

Re: [Pharo-project] UUID comparaison is Incorrect

2011-11-05 Thread Norbert Hartl
And I would rather like to see another implementation like < aMagnitude "Answer whether the receiver is less than the argument." (self size = aMagnitude size) ifFalse: [ ^ self size < aMagnitude size ]. 1 to: self size do: [:i | (self at:

Re: [Pharo-project] UUID comparaison is Incorrect

2011-11-05 Thread Stéphane Ducasse
Thanks norbert. You see this was a kind of exercise… to see if people can get a bit more involved. I could have simply introduce the fix but I want people to understand that there are a lot of little trivial things that can get done and it will help the system. So thank :) :) On Nov 5, 2011,

[Pharo-project] about name for logging message

2011-11-05 Thread Stéphane Ducasse
Hi guys I introduce log to replace Transcript show: … logCr and crLog Now stupidly I did not notice that it will capture log on number :( and also on collection, So any suggestion of what would be a nice logging message? short and cool. Stef

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Norbert Hartl
Am 05.11.2011 um 12:50 schrieb Stéphane Ducasse: > Hi guys > > I introduce > log to replace Transcript show: … > logCr and crLog > > Now stupidly I did not notice that it will capture log on number :( and also > on collection, > > So any suggestion of what would be a nice logg

Re: [Pharo-project] Keymapping Questions

2011-11-05 Thread Sean P. DeNigris
Guillermo Polito wrote: > > This should not happen in the bleeding edge :) > Yes, I updated to bleedingEdge and this is fixed. I will keep playing... -- View this message in context: http://forum.world.st/Keymapping-Questions-tp3990667p3993303.html Sent from the Pharo Smalltalk mailing list a

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Stéphane Ducasse
yes could be a good candidate. let us see if other suggestions arrive Stef On Nov 5, 2011, at 2:38 PM, Norbert Hartl wrote: > > Am 05.11.2011 um 12:50 schrieb Stéphane Ducasse: > >> Hi guys >> >> I introduce >> log to replace Transcript show: … >> logCr and crLog >> >> Now stupi

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Schwab,Wilhelm K
Stef, I'm not really sure what you are trying to do, but in Dolphin, I created a "runtime transcript" that would dump output into a file. My runtime session manager sub-classes all set the global Transcript to point to the (hopefully/intended-to-be thread-safe) file stream. I later built an

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Stéphane Ducasse
The idea is to remove Transcript so that we can plug another one if we want easily. We got a problem when the logging of the compiler was used while Transcript was changed. Ok we get self log: self logCr: … and this is good. just the name sucks for log: Stef On Nov

[Pharo-project] [update 1.4] #14217

2011-11-05 Thread stephane ducasse
14217 - - Issue 4974: better UUID comparison. Thanks Norbert Hartl. http://code.google.com/p/pharo/issues/detail?id=4974 - Issue 4933: When browsing Implementors of, removing methods does not work. Thanks Guillermo Polito. http://code.google.com/p/pharo/issues/detail?id

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Stefan Marr
Hi: On 05 Nov 2011, at 15:54, Stéphane Ducasse wrote: > self log: > self logCr: Why is it a rather platform specific CR? Why not some platform independent NL (new line)? And in 1.3, I found the TranscriptModel with #addEntry: which looked like the new way of doing things since #

[Pharo-project] NewTextMorph

2011-11-05 Thread Hilaire Fernandes
I want to plug a multiple line text morph a DrGeo canvas. The morph should display the text (yes) and be editable on place when the user ask for. Which class should I use ? EditableTextMorph, EntryFieldMorph or NewTextMorph The comments of the class EntryFieldMorph wrote about example1 and examp

Re: [Pharo-project] Keymapping Questions

2011-11-05 Thread Sean P. DeNigris
Guillermo Polito wrote: > > - shallow reset. That resets the shortcuts but tries to remember the > customizations done in the settings. This one can be done every time you > modify a annotated method. > Thinking about this further, one of the purposes of revamping shortcuts was to remove har

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Milan Mimica
Have you thought of a decent logging system with logging levels, output formatter and output appenders? Current logging sure comes handy, but is really rudimentary. A business application must have a modern logging system, and it's not even a complex thing to do. I'm just asking whether you have di

Re: [Pharo-project] about name for logging message

2011-11-05 Thread David T. Lewis
On Sat, Nov 05, 2011 at 02:38:14PM +0100, Norbert Hartl wrote: > > Am 05.11.2011 um 12:50 schrieb St?phane Ducasse: > > > Hi guys > > > > I introduce > > log to replace Transcript show: ? > > logCr and crLog > > > > Now stupidly I did not notice that it will capture log on number :(

[Pharo-project] MAC OS upgrade and Pharo compatibility

2011-11-05 Thread Dario Trussardi
Hi, i'm interested to upgrade my MacBook Operating System, from Leopard to Lion version. I'm not expert about it and i will not do error. My question is about Pharo compatibility. Now i work with Pharo 1.0 #10517 and GemTools 1.0-beta.8.3. I need to

Re: [Pharo-project] MAC OS upgrade and Pharo compatibility

2011-11-05 Thread Stéphane Ducasse
There is no problem for pharo on lion. Now do a backup because lion of your machine. Lion frustrated me a lot. And in general when I see the amount of applications spinning to death on normal usage, I think that pharo is doing well. Stef On Nov 5, 2011, at 8:09 PM, Dario Trussardi wrote: > Hi,

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Stéphane Ducasse
Thanks david I do not have OSProcess at hand, but where are these messages defined? On Object? Would it be a problem for you if we define trace and trace: on Object? Stef >>> Hi guys >>> >>> I introduce >>> log to replace Transcript show: ? >>> logCr and crLog >>> >>> Now stupidly

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Stéphane Ducasse
Hi stefan > >> self log: >> self logCr: > > Why is it a rather platform specific CR? Why not some platform independent NL > (new line)? Indeed nl is better. I used Cr because people with Transcript show: 'foo' ; cr and not nl as far as I know > And in 1.3, I found the Transcript

Re: [Pharo-project] MAC OS upgrade and Pharo compatibility

2011-11-05 Thread Peter Hugosson-Miller
Definitely do a backup, then format the disk and perform a clean install, then do all the necessary software updates until the machine is completely up to date. Finally restore your user settings and apps from the backup. That's my recipe for minimum frustration when dealing with Lion :-) -- Cheer

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Stéphane Ducasse
did you check toothpick by joseph pelrine? Because transcript is not a logger just an historical simple output place. Stef On Nov 5, 2011, at 5:00 PM, Milan Mimica wrote: > Have you thought of a decent logging system with logging levels, output > formatter and output appenders? > Current logging

Re: [Pharo-project] MAC OS upgrade and Pharo compatibility

2011-11-05 Thread Stéphane Ducasse
Yes because I could not update after the first install. So I was lucky to have another machine where I could install and update **then** migrate. I was mad during 3 days. Of course for everybody around it worked well but I attrack bugs. Stef On Nov 5, 2011, at 10:40 PM, Peter Hugosson-Miller wrote

Re: [Pharo-project] MAC OS upgrade and Pharo compatibility

2011-11-05 Thread Peter Hugosson-Miller
No, Stef, I'm the same: bugs love me! I am sooo glad for the excellent backup program SuperDuper. I did the Lion install two times before it worked OK (third time just like I wrote in my post above), but the other two times I was very happy to have the backup to go back to, I can tell you! --

[Pharo-project] Headless PetitParser

2011-11-05 Thread Alberto Bacchelli
Hi all, I have a small parser written in PetitParser ;) I would like to call it from a non Smalltalk application (e.g., Java, javascript) or, more generally, from a Unix command line. I was thinking about something like: ./myParser -i fileToParse.txt -o outputFile.txt Is there any possibility t

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Guillermo Polito
I like #trace: :). Other I do not like so should be #record: or #writeDown: (ugly, hehe) :P Why not just #newLine instead of #nl :(? Therer are 5 more characters but I'm happier :P... On Sat, Nov 5, 2011 at 6:37 PM, Stéphane Ducasse wrote: > Hi stefan > > > > >> self log: > >> self

Re: [Pharo-project] Headless PetitParser

2011-11-05 Thread Fabrizio Perin
Hi alberto, i'm not sure about the solution of your problem although i would try to prepare a simple st script were you basically say to the parser which file to parse and simply flush on a file the output of the parser. Than you can start an headless image passing the st file as input. Hope this w

Re: [Pharo-project] Headless PetitParser

2011-11-05 Thread Stefan Marr
Hi Alberto: On 05 Nov 2011, at 23:29, Alberto Bacchelli wrote: > ./myParser -i fileToParse.txt -o outputFile.txt > > Is there any possibility to do that? Can a headless Pharo be a > solution? If so, how can I start and use a headless Pharo? Is there > any useful documentation/email about it?

Re: [Pharo-project] about name for logging message

2011-11-05 Thread Stefan Marr
On 05 Nov 2011, at 22:37, Stéphane Ducasse wrote: > > AddEntry: is a low level api. > Now I will check because there were some movements around transcript in 1.3 > and may be some left over were not cleaned. Ok, thanks, did not see the #log: the first time I looked at the class. Is probably a