Re: [Pharo-project] Philippe's WebClient patches

2010-08-26 Thread Philippe Marschall
On 08/26/2010 07:45 AM, Sven Van Caekenberghe wrote: On 26 Aug 2010, at 07:39, Philippe Marschall wrote: Currently I'm down to one multipart test failure. Did you start from the latest 1.2 merged version ? Nope, from Andreas' version. I'm on 1.1 an that's what I'm targeting. Cheers

Re: [Pharo-project] Philippe's WebClient patches

2010-08-26 Thread Sven Van Caekenberghe
On 26 Aug 2010, at 08:54, Philippe Marschall wrote: Nope, from Andreas' version. I'm on 1.1 an that's what I'm targeting. That's not good, this way we're working next to each other. Couldn't our port of WebClient-Core be made compatible with both 1.1 and 1.2 ? It's bad enough that the

Re: [Pharo-project] Philippe's WebClient patches

2010-08-26 Thread Stéphane Ducasse
Philippe it would be better to target 1.2 since we will probably to go in beta end of sept or before if the list I sent is integrated. Stef Currently I'm down to one multipart test failure. Did you start from the latest 1.2 merged version ? Nope, from Andreas' version. I'm on 1.1 an

[Pharo-project] [update 1.2] #12113

2010-08-26 Thread Marcus Denker
12113 - Issue 2863: BlockClosureassert: is the same as in Object Issue 2861: tiny dead code removal, mostly Morph Issue 2853: Unnecessary URLArgumentListassociationsDo Issue 2845: remove PluggableMultiColumnListMorphByItem and some unsent partbin related methods. -- Marcus

[Pharo-project] A look at seaside and pharo from a Rails/Ruby perspective

2010-08-26 Thread Marcus Denker
Hi, It's always interesting how things are seen from the outside... (from http://on-ruby.blogspot.com/2010/08/rubyweb-interview-with-pat-maddox.html seems there will be a talk about seaside at a ruby conference early september...) -- begin quote Seaside is interesting technology, how did you

Re: [Pharo-project] cog vm

2010-08-26 Thread Sven Van Caekenberghe
On 25 Aug 2010, at 02:05, Levente Uzonyi wrote: No, there's none, but in short: The package consists of a 3 APIs. The lowest level API is the PG3Connection. This works pretty much like PostgresV2, though some method names are different, but if you know how to use PostgresV2, then you will

Re: [Pharo-project] Hudson Question

2010-08-26 Thread Lukas Renggli
If I click on a artifact, say Seaside 3.0, is it then somehow possible to see the actual build script that was used ? The build script deletes it after a successful build. Maybe the script should be left there? I know about your github builder repository, and I learned a lot from it, but

Re: [Pharo-project] Hudson Question

2010-08-26 Thread Lukas Renggli
On 26 August 2010 12:08, Lukas Renggli reng...@gmail.com wrote: If I click on a artifact, say Seaside 3.0, is it then somehow possible to see the actual build script that was used ? The build script deletes it after a successful build. Maybe the script should be left there? Actually the

Re: [Pharo-project] [SPAM] Re: Hudson Question

2010-08-26 Thread Sven Van Caekenberghe
On 26 Aug 2010, at 12:08, Lukas Renggli wrote: If I click on a artifact, say Seaside 3.0, is it then somehow possible to see the actual build script that was used ? The build script deletes it after a successful build. Maybe the script should be left there? I know about your github

[Pharo-project] Why is Stack extending from LinkedList?

2010-08-26 Thread Bart Gauquie
Hi list, is there a specific reason Stack is extending from LinkedList, instead of using a LinkedList internally? To me, it seems that the protocol that LinkedList, SequenceableCollection, ... provides is not the protocol you expect from a Stack? Any thoughts on this? Kind regards, Bart --

Re: [Pharo-project] DNU after updating 1.2 core image

2010-08-26 Thread Marcus Denker
On Aug 26, 2010, at 5:45 AM, Guillermo Polito wrote: When you right click over the category panel and the method category panel in the system browser. ByteString DNU lines If you add lines ^self findTokens: String cr to String it works again... I guess that got somehow

Re: [Pharo-project] DNU after updating 1.2 core image

2010-08-26 Thread Henrik Johansen
The old lines methods was part of Nicolas' effort to provide an api that handled all kinds of lineEndings though. I'd rather it be restored to the original: lines Answer an array of lines composing this receiver without the line ending delimiters ^Array new: (self size // 60 max: 16)

Re: [Pharo-project] Hudson Question

2010-08-26 Thread Lukas Renggli
Below the Hudson Build Configurations for the images you mentioned: === Pharo === mkdir -p download curl --silent --location $DOWNLOAD download.zip unzip -p download.zip */*.image download/download.image unzip -p download.zip */*.changes download/download.changes build-resize.sh download

Re: [Pharo-project] Why is Stack extending from LinkedList?

2010-08-26 Thread Lukas Renggli
I wonder why there is the need for a stack class at all? OrderedCollection is the class designed to do Stacks and Queues efficiently and portably, see #addFirst:, #addLast:, #first, #last, #removeFirst, #removeLast. Lukas 2010/8/26 Bart Gauquie bart.gauq...@gmail.com: Hi list, is there a

Re: [Pharo-project] Hudson Question

2010-08-26 Thread Sven Van Caekenberghe
Thanks a lot, Lukas ! On 26 Aug 2010, at 13:26, Lukas Renggli wrote: Below the Hudson Build Configurations for the images you mentioned: === Pharo === mkdir -p download curl --silent --location $DOWNLOAD download.zip unzip -p download.zip */*.image download/download.image unzip -p

[Pharo-project] hasInstanceVariableNamed: hasClassVariableNamed:

2010-08-26 Thread Stéphane Ducasse
Hi guys is it me or we are missing some cool and simple methods like hasInstanceVariableNamed: hasClassVariableNamed: ? Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] Hudson Question

2010-08-26 Thread Lukas Renggli
Btw, the variable $DOWNLOAD is defined as a build parameter and defaults to the nice Pharo URL http://pharo-project.org/pharo-download/stable-core;. Lukas On 26 August 2010 13:36, Sven Van Caekenberghe s...@beta9.be wrote: Thanks a lot, Lukas ! On 26 Aug 2010, at 13:26, Lukas Renggli wrote:

Re: [Pharo-project] Hudson Question

2010-08-26 Thread Lukas Renggli
And what is more, I will demonstrate that stuff at ESUG in the Agile Seaside session :-) Lukas On 26 August 2010 13:47, Lukas Renggli reng...@gmail.com wrote: Btw, the variable $DOWNLOAD is defined as a build parameter and defaults to the nice Pharo URL

Re: [Pharo-project] Hudson Question

2010-08-26 Thread Sven Van Caekenberghe
Hey Lukas, On 26 Aug 2010, at 13:47, Lukas Renggli wrote: And what is more, I will demonstrate that stuff at ESUG in the Agile Seaside session :-) Sadly I won't be attending, but I am sure we'll meet one day in person. I just went over the scripts and once again, this is really incredible

Re: [Pharo-project] 'foo' asTime

2010-08-26 Thread Johan Brichau
On 26 Aug 2010, at 04:47, Guillermo Polito wrote: And now, because of fixing IntegerreadFrom:, 'foo' asTime throws an exception and we all are a bit happier :D. Indeed. thanks. And just to make sure that we keep being happy, I added some unit tests to verify that in the KernelTests package

[Pharo-project] would be nice to have a menu item for pointTo

2010-08-26 Thread stephane ducasse
so that we can select an object and invoke pointerFinder. Any taker? http://code.google.com/p/pharo/issues/detail?id=2867 Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

[Pharo-project] SystemNavigation code rewrite?

2010-08-26 Thread Stéphane Ducasse
Hi I looked at the code of SystemNavigation and I think that this is the time to rewrite it :) I know I assemble the code from Browser and SystemDictionary at that time and we can see it. I would like also to have allClassesUsingPool: allClassesUsingPoolVariable:

Re: [Pharo-project] String to Number conversion

2010-08-26 Thread Johan Brichau
On 25 Aug 2010, at 09:26, Stéphane Ducasse wrote: Did you mean to let the dirty stuff to #squeezeOutNumber and throw the error in the #readFrom:? Yes. Now we should identify user of readFrom: that in fact are expecting squeezeOutNumber and fix them. Well, it seems that the current

[Pharo-project] Why TextConstants is not defined in a SharedPool classVar?

2010-08-26 Thread Stéphane Ducasse
Hi I should say that I liked the introduction of SharedPool made by andreas long time ago to replace PoolDictionaries. Now I was wondering why TextContants is not defined as a classVariable of a subclass of SharedPool like all the other PoolDictionaries? Stef

Re: [Pharo-project] Fwd: Alien install issue?

2010-08-26 Thread Noury Bouraqadi
Hi, Strange. I thought we already fixed this pb. I'll look at it. Noury On 25 août 2010, at 19:14, John M McIntosh wrote: Begin forwarded message: From: Marcin Tustin m...@zepler.net Date: August 25, 2010 2:31:16 AM PDT To: John McIntosh john...@smalltalkconsulting.com Cc: A

Re: [Pharo-project] String to Number conversion

2010-08-26 Thread Guillermo Polito
If you do: Number readFrom: '3foo'. -- exception Number readFrom: '3foo' readStream -- 3 String#asNumber is defined as ^Number readFromString: self And #readFromString: does the readStream. They are two different things. What IntegerreadFrom: does and what StringasNumber does.

Re: [Pharo-project] Load OB in Pharo 1.2

2010-08-26 Thread Marcus Denker
On Aug 24, 2010, at 7:49 PM, Niko Schwarz wrote: Has this been resolved? I still get an error saying that PluggableButtonMorphPlus and OBPluggableButtonMorphPlus define homonymous instance variables. Works now Gofer new squeaksource: 'rb'; package: 'AST-Core'; package:

Re: [Pharo-project] Load OB in Pharo 1.2

2010-08-26 Thread Lukas Renggli
Has this been resolved? I still get an error saying that PluggableButtonMorphPlus and OBPluggableButtonMorphPlus define homonymous instance variables. Works now Gofer new       squeaksource: 'rb';       package: 'AST-Core';       package: 'AST-Semantic';       package:

Re: [Pharo-project] String to Number conversion

2010-08-26 Thread Johan Brichau
On 26 Aug 2010, at 15:09, Guillermo Polito wrote: Number readFrom: '3foo'. -- exception Number readFrom: '3foo' readStream -- 3 They both return 3 in my image. The comment of #readFrom: also says so that that is the expected behavior. But I'm not sure this is what we want. StringasNumber

Re: [Pharo-project] hasInstanceVariableNamed: hasClassVariableNamed:

2010-08-26 Thread Igor Stasenko
On 26 August 2010 14:47, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guys is it me or we are missing some cool and simple methods like        hasInstanceVariableNamed:        hasClassVariableNamed: ? i remember writing a code like: class allInstVarNames includes: somevar, multiple

Re: [Pharo-project] Fwd: Alien install issue?

2010-08-26 Thread Noury Bouraqadi
It seems that the ConfigurationOfAlien is broken. I tried on a Pharo-1.1-11411-dev10.07.01 image and got the same failure. It does not seem to load the most recent packages. I then loaded the packages one by one using the monticello repository browser And all tests are green (on Mac). Packages

Re: [Pharo-project] Fwd: Alien install issue?

2010-08-26 Thread Mariano Martinez Peck
On Thu, Aug 26, 2010 at 3:38 PM, Noury Bouraqadi bouraq...@gmail.comwrote: It seems that the ConfigurationOfAlien is broken. I tried on a Pharo-1.1-11411-dev10.07.01 image and got the same failure. It does not seem to load the most recent packages. I then loaded the packages one by one

Re: [Pharo-project] String to Number conversion

2010-08-26 Thread Nicolas Cellier
2010/8/26 Johan Brichau jo...@inceptive.be: On 26 Aug 2010, at 15:09, Guillermo Polito wrote: Number readFrom: '3foo'. -- exception Number readFrom: '3foo' readStream -- 3 They both return 3 in my image. The comment of #readFrom: also says so that that is the expected behavior. But I'm

[Pharo-project] Sprint at esug

2010-08-26 Thread Alexandre Bergel
Hi! I just created an entry in the google site: http://code.google.com/p/pharo/wiki/PharoSprints It is scheduled for Sunday 12, as part of the Camp Smalltalk. Please, add yourself if you wish to join. The tasks will be defined soon. But killing and crunching bugs will be in the menu.

Re: [Pharo-project] hasInstanceVariableNamed: hasClassVariableNamed:

2010-08-26 Thread Stéphane Ducasse
I tend to agree but not quite :) Size is not the only criteria. Consistency is another really important one. And also tested code because there are plenty of methods that are not that difficult to rewrite all the time in client code but you want to use them because another guys spent time to

Re: [Pharo-project] Sprint at esug

2010-08-26 Thread Stéphane Ducasse
saturday too :) Stef On Aug 26, 2010, at 4:04 PM, Alexandre Bergel wrote: Hi! I just created an entry in the google site: http://code.google.com/p/pharo/wiki/PharoSprints It is scheduled for Sunday 12, as part of the Camp Smalltalk. Please, add yourself if you wish to join. The

Re: [Pharo-project] String to Number conversion

2010-08-26 Thread Schwab,Wilhelm K
'3foo' asInteger probably should fail, because there is no stream to be tested for #atEnd. Reading '3foo' from a stream *probably* should be ok by default, becauuse the stream will clearly not be a the end, one could easily want to read integers out of formatted strings.

Re: [Pharo-project] String to Number conversion

2010-08-26 Thread Guillermo Polito
On Thu, Aug 26, 2010 at 10:32 AM, Johan Brichau jo...@inceptive.be wrote: On 26 Aug 2010, at 15:09, Guillermo Polito wrote: Number readFrom: '3foo'. -- exception Number readFrom: '3foo' readStream -- 3 They both return 3 in my image. The comment of #readFrom: also says so that that is the

Re: [Pharo-project] Fwd: Alien install issue?

2010-08-26 Thread Luc Fabresse
Hi all, I had no problem to install Alien on Pharo 1.1 with ConfigurationOfAlien: Gofer new squeaksource: 'Alien'; package: 'ConfigurationOfAlien'; load. ((Smalltalk at: #ConfigurationOfAlien) project version: 'Pharo 1.1') load: {'Core' . 'Tests' . 'LibC'. 'MacOSX'} All 40 tests are green.

Re: [Pharo-project] String to Number conversion

2010-08-26 Thread Guillermo Polito
Maybe the parser should have a #readXXX for each #nextXXX. And let the #readXXX check the for the end of the stream. On Thu, Aug 26, 2010 at 11:43 AM, Guillermo Polito guillermopol...@gmail.com wrote: On Thu, Aug 26, 2010 at 10:32 AM, Johan Brichau jo...@inceptive.be wrote: On 26 Aug 2010, at

Re: [Pharo-project] [squeak-dev] Experimental Cocoa OS-X based Squeak Cog JIT VM 5.8b3.

2010-08-26 Thread Mariano Martinez Peck
Thanks John. It seems this is even a little faster (at least with tinyBenchmarks) than the image produced by Eliot john 10 tinyBenchmarks '721126760 bytecodes/sec; 55015015 sends/sec' 10 tinyBenchmarks '717589348 bytecodes/sec; 55483560 sends/sec' 10 tinyBenchmarks '706206896 bytecodes/sec;

[Pharo-project] [update 1.2] #12114

2010-08-26 Thread Marcus Denker
12114 - Issue 2870: rescue alwaysShowScrollBars: Issue 2865: add #lines to String -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] [squeak-dev] Experimental Cocoa OS-X based Squeak Cog JIT VM 5.8b3.

2010-08-26 Thread Nicolas Cellier
2010/8/26 Mariano Martinez Peck marianop...@gmail.com: Thanks John. It seems this is even a little faster (at least with tinyBenchmarks) than the image produced by Eliot john 10 tinyBenchmarks '721126760 bytecodes/sec; 55015015 sends/sec' 10 tinyBenchmarks '717589348 bytecodes/sec; 55483560

Re: [Pharo-project] [squeak-dev] Experimental Cocoa OS-X based Squeak Cog JIT VM 5.8b3.

2010-08-26 Thread Nicolas Cellier
2010/8/26 Nicolas Cellier nicolas.cellier.aka.n...@gmail.com: 2010/8/26 Mariano Martinez Peck marianop...@gmail.com: Thanks John. It seems this is even a little faster (at least with tinyBenchmarks) than the image produced by Eliot john 10 tinyBenchmarks '721126760 bytecodes/sec; 55015015

Re: [Pharo-project] Experimental Cocoa OS-X based Squeak Cog JIT VM 5.8b3.

2010-08-26 Thread Sven Van Caekenberghe
On 26 Aug 2010, at 08:53, Philippe Marschall wrote: On 08/26/2010 12:12 AM, John M McIntosh wrote: I've stuck a version (5.8b3) of the cocoa based os-x squeak cog JIT based VM in my experimental folder. http://homepage.mac.com/johnmci/.Public/experimental/Squeak%205.8b3.app.zip This

Re: [Pharo-project] Experimental Cocoa OS-X based Squeak Cog JIT VM 5.8b3.

2010-08-26 Thread Stéphane Ducasse
now :) I still would like the non jitted VM to be used to kick us to optimize. Especially since on specific devices the JIT may not exist or be forbidden. Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] 'foo' asTime

2010-08-26 Thread Stéphane Ducasse
I should look at your code. Just busy and dead tired. Stef On Aug 25, 2010, at 11:51 PM, Schwab,Wilhelm K wrote: Stef, I was so happy to see somebody ringing the don't return nil; raise an exception alram that I completely missed the time (and date?) connection. Any #readFrom:* method

[Pharo-project] Running Pharo on a headless Ubuntu server

2010-08-26 Thread Jan van de Sandt
Hello, I am trying to run a Pharo Seaside image on an Ubunbtu 10.04 server. When I start the image like this squeak -mmap 256m -vm-sound-null -vm-display-null seaside3.0rc.image I get the following errors: found gettext in path /srv/seaside libasound.so.2: cannot open shared object file: No

Re: [Pharo-project] 'foo' asTime

2010-08-26 Thread Schwab,Wilhelm K
Stef, It took me a while to check and release it (browser environments+Shout to the rescue), so you have some time yet :) Bill From: pharo-project-boun...@lists.gforge.inria.fr [pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Stéphane

Re: [Pharo-project] Running Pharo on a headless Ubuntu server

2010-08-26 Thread Ramon Leon
On 8/26/2010 1:42 PM, Jan van de Sandt wrote: Hello, I am trying to run a Pharo Seaside image on an Ubunbtu 10.04 server. When I start the image like this squeak -mmap 256m -vm-sound-null -vm-display-null seaside3.0rc.image Did you try... squeak -mmap 256m -headless -vm-sound-null

Re: [Pharo-project] Running Pharo on a headless Ubuntu server

2010-08-26 Thread Sven Van Caekenberghe
Jan, On 26 Aug 2010, at 22:42, Jan van de Sandt wrote: Hello, I am trying to run a Pharo Seaside image on an Ubunbtu 10.04 server. When I start the image like this squeak -mmap 256m -vm-sound-null -vm-display-null seaside3.0rc.image I get the following errors: found gettext in

Re: [Pharo-project] Running Pharo on a headless Ubuntu server

2010-08-26 Thread Levente Uzonyi
On Thu, 26 Aug 2010, Ramon Leon wrote: On 8/26/2010 1:42 PM, Jan van de Sandt wrote: Hello, I am trying to run a Pharo Seaside image on an Ubunbtu 10.04 server. When I start the image like this squeak -mmap 256m -vm-sound-null -vm-display-null seaside3.0rc.image Did you try... squeak

[Pharo-project] String vs. ByteArray

2010-08-26 Thread Schwab,Wilhelm K
I have written a fair amount of code to exchange ascii data with something that, all too recently, I discovered has a binary capability that is potentially very useful to me. My question is how to get out of this mess :) I create write streams on strings and write characters and strings to

Re: [Pharo-project] String vs. ByteArray

2010-08-26 Thread Lukas Renggli
Maybe http://book.seaside.st/book/in-action/serving-files/character-encodings helps? Lukas On 27 August 2010 00:34, Schwab,Wilhelm K bsch...@anest.ufl.edu wrote: I have written a fair amount of code to exchange ascii data with something that, all too recently, I discovered has a binary

Re: [Pharo-project] [squeak-dev] Experimental Cocoa OS-X based Squeak Cog JIT VM 5.8b3.

2010-08-26 Thread John M McIntosh
On 2010-08-26, at 11:52 AM, Mariano Martinez Peck wrote: A difference I found with Eliot VM and your previous ones is shortcuts. In eliot image, to select words, I do shift + ctrl + narrow, or shift + command + narrow. In yours, I only can do shift + command + narrow. And if I do