Re: [Pharo-project] non-interactive compiling with feedback

2012-03-19 Thread Hernán Morales Durand
If you have Grease loaded: Gofer new squeaksource: 'CodeGenerator'; package: 'CodeGenerator'; load. [CGSmalltalk new setSourceAsCode; targetClass: Object; compile: 'testMethod ^ 42. ^ 32' ] on: SyntaxErrorNotification or Notification do: [: ex | ^ ex errorMessage ]

Re: [Pharo-project] ConnectionQueue broken?

2012-03-19 Thread Sven Van Caekenberghe
Hi Bill, This was already fixed for 1.4 http://code.google.com/p/pharo/issues/detail?id=5180 It could be backported I guess. Sven On 18 Mar 2012, at 02:11, Schwab,Wilhelm K wrote: Hello all, I did some long overdue networking, and tried ConnectionQueue in 1.3. My changed version, that

Re: [Pharo-project] What fixed the tests? :-)

2012-03-19 Thread Marcus Denker
On Mar 18, 2012, at 11:17 PM, Pavel Krivanek wrote: Hi, what fixed the tests on Linux CI in 14287 so instead of 39 failures we had only 4? Fixes in CogVM? I changed the test that creates the file with äü in the name and put in on this tracker entry:

Re: [Pharo-project] Understanding RunArrayscanFrom:

2012-03-19 Thread Marcus Denker
On Mar 19, 2012, at 12:27 AM, Guillermo Polito wrote: This method parses a stream from a fileout with styling and generates the text style specific objects. Now, 1) are we writing that style section in our fileouts? No, not anymore. 2) Is this really necessary in RunArray? It's

[Pharo-project] [update 1.4] #14400

2012-03-19 Thread Marcus Denker
14400 - Issue 5513: remove InputEventSensortestJoystick: http://code.google.com/p/pharo/issues/detail?id=5513 Issue 5510: Methods in category objects from disk in SmalltalkImage should be re - categorized http://code.google.com/p/pharo/issues/detail?id=5510 Issue

[Pharo-project] Zodiac is cool!

2012-03-19 Thread Norbert Hartl
I thought using zodiac might be a fragile thing to do. Expecting library or other version trouble. But I just copied the plugin in my vm directory, loaded the code and it worked instantaneously. That just made pharo feel quite a bit more modern :) I would like to see Zodiac staying that way or

Re: [Pharo-project] Zodiac is cool!

2012-03-19 Thread Marcus Denker
On Mar 19, 2012, at 11:26 AM, Norbert Hartl wrote: I thought using zodiac might be a fragile thing to do. Expecting library or other version trouble. But I just copied the plugin in my vm directory, loaded the code and it worked instantaneously. That just made pharo feel quite a bit more

Re: [Pharo-project] Zodiac is cool!

2012-03-19 Thread Sven Van Caekenberghe
On 19 Mar 2012, at 11:26, Norbert Hartl wrote: I thought using zodiac might be a fragile thing to do. Expecting library or other version trouble. But I just copied the plugin in my vm directory, loaded the code and it worked instantaneously. That just made pharo feel quite a bit more

[Pharo-project] Pharo 1.4 Tests-Unix - Build # 294 - Still Unstable!

2012-03-19 Thread jenkins-pharo . ci . inria . fr
BUILD UNSTABLEBuild URLhttps://ci.lille.inria.fr/pharo/job/Pharo%201.4%20Tests-Unix/294/Project:Pharo 1.4 Tests-UnixDate of build:Mon, 19 Mar 2012 13:47:09 +0100Build duration:3 mn 58 sCHANGESNo ChangesJUnit TestsName: Announcements.Tests.Core Failed: 0 test(s), Passed: 29 test(s), Skipped: 0

[Pharo-project] Pharo 1.4 Tests-Mac - Build # 279 - Still Unstable!

2012-03-19 Thread jenkins-pharo . ci . inria . fr
BUILD UNSTABLEBuild URLhttps://ci.lille.inria.fr/pharo/job/Pharo%201.4%20Tests-Mac/279/Project:Pharo 1.4 Tests-MacDate of build:Mon, 19 Mar 2012 13:46:36 +0100Build duration:10 mnCHANGESNo ChangesJUnit TestsName: Announcements.Tests.Core Failed: 0 test(s), Passed: 29 test(s), Skipped: 0 test(s),

[Pharo-project] Pharo 1.3 - Build # 23 - Still Unstable!

2012-03-19 Thread jenkins-pharo . ci . inria . fr
BUILD UNSTABLEBuild URLhttps://ci.lille.inria.fr/pharo/job/Pharo%201.3/23/Project:Pharo 1.3Date of build:Mon, 19 Mar 2012 15:33:14 +0100Build duration:20 mnCHANGESNo ChangesBUILD ARTIFACTSPharo-1.3/Pharo-1.3.stPharo-1.3.changesPharo-1.3.imagePharo-1.3.zipJUnit TestsName: AST.Tests.Core Failed: 0

Re: [Pharo-project] Morpheas , bringing Morphic to Opengl (3d GUIs)

2012-03-19 Thread Javier Pimás
I got some time and finished commiting it. Steps to load it (I tested with pharo 1.3): 1. load NBOpenGL with its configuration. 2. load NBXLib package from monticello 3. load NBOpengl-X package from monticello Then you can run the example (you'll need tahoma font): 4. add the patch I attach.

[Pharo-project] [NativeBoost] little improvement

2012-03-19 Thread Javier Pimás
this method doesn't tell why it fails when coercion fails, here is a change proposed that will save many debugging hours. pushAsPointer: gen by default, push argument as a bytearray ptr may accept: - nil - variable bytes oop - external address | asm proxy notNil done oop notExternalAddress |

[Pharo-project] [update 1.4] #14402

2012-03-19 Thread Marcus Denker
14402 - Issue 5459: Extra love to primitive simulation required -- Marcus Denker -- http://marcusdenker.de

Re: [Pharo-project] Zodiac is cool!

2012-03-19 Thread Sean P. DeNigris
Zodiac is very exciting. I will have to rely on Ruby a lot less when we have a reliable https client built in! Sven Van Caekenberghe wrote PS: It still does not yet work perfectly across all platforms or servers that you might want to access, so any feedback is welcome. Is there a bug

Re: [Pharo-project] Morpheas , bringing Morphic to Opengl (3d GUIs)

2012-03-19 Thread Igor Stasenko
great! On 19 March 2012 16:11, Javier Pimás elpochodelage...@gmail.com wrote: I got some time and finished commiting it. Steps to load it (I tested with pharo 1.3): 1. load NBOpenGL with its configuration. 2. load NBXLib package from monticello 3. load NBOpengl-X package from monticello

Re: [Pharo-project] [NativeBoost] little improvement

2012-03-19 Thread Igor Stasenko
Yes. But there are multiple places like that, because initially i made it working on squeak vm, where primitives has no error codes. now, of course, with Cog, we can report more details , as to what is wrong and where. Javier, i preparing a new config, which will update a debugging support for NB

[Pharo-project] Pharo Kernel Reload Tests-Unix - Build # 20 - Still unstable!

2012-03-19 Thread jenkins-pharo . ci . inria . fr
BUILD UNSTABLEBuild URLhttps://ci.lille.inria.fr/pharo/job/Pharo%20Kernel%20Reload%20Tests-Unix/20/Project:Pharo Kernel Reload Tests-UnixDate of build:Mon, 19 Mar 2012 16:55:14 +0100Build duration:3 min 35 secCHANGESNo ChangesJUnit TestsName: Announcements.Tests.Core Failed: 0 test(s), Passed: 29

Re: [Pharo-project] [NativeBoost] little improvement

2012-03-19 Thread Igor Stasenko
Actually, my plans were to report the actual position for argument, or even its name. This code: asm jmp: gen failedLabel. - change to: gen failWithCode: NBPrimErrBadArgument . will be replaces with something like: gen failWithMessage: self coercionErrorMessage And produced

Re: [Pharo-project] Understanding RunArrayscanFrom:

2012-03-19 Thread Eliot Miranda
On Mon, Mar 19, 2012 at 12:17 AM, Marcus Denker marcus.den...@inria.frwrote: On Mar 19, 2012, at 12:27 AM, Guillermo Polito wrote: This method parses a stream from a fileout with styling and generates the text style specific objects. Now, 1) are we writing that style section in our

Re: [Pharo-project] Enhancing SmalltalkImagerecreateSpecialObjectsArray to lower coupling

2012-03-19 Thread Eliot Miranda
Hi Guillermo, On Sun, Mar 18, 2012 at 5:46 PM, Guillermo Polito guillermopol...@gmail.com wrote: What about changing #recreateSpecialObjectsArray so having in mind some classes like Bitmap or Display may not be in the kernel? This only changes some lines like: ... newArray at: 5 put:

Re: [Pharo-project] Any theme or settings that will speed up a Pharo 1.3 image?

2012-03-19 Thread Eliot Miranda
On Sun, Mar 18, 2012 at 4:57 AM, Stefan Marr smallt...@stefan-marr.dewrote: Hi: When trying to debug a Pharo image with a VM that is heavily instrumented with assertions and runs without any compiler optimizations turned on, it is crawlingly slow. (The good old MVC based image is blazingly

Re: [Pharo-project] How to load pier in 1.4

2012-03-19 Thread Stéphane Ducasse
I fixed KomHttpServer And the ConfigurationOfSeaside30 Hi I'm updating the configuration of citizen to 1.4 and I need to load Seaside 30 When I use the MetacelloRepository I get isTranscriptStream question because 1.4 does not have TranscriptStream Pier for Pier I have

Re: [Pharo-project] Trying to make KomHttpServer load in 1.4

2012-03-19 Thread Stéphane Ducasse
I fixed that too :) On Mar 17, 2012, at 6:00 PM, Stéphane Ducasse wrote: Hi guys I saw that TranscriptStream is deprecated in 1.3 and I was looking at the logic of the Logger. I do not understand the use of isTranscriptStream especially since it is defined only on Stream ^ false and

Re: [Pharo-project] Extending SystemBrowser

2012-03-19 Thread Stéphane Ducasse
Did you try nautilus? Because it is cool and it will get cooler. It will be the basic default browser and other people will be able to define new tools. Stef Le 15/03/2012 22:46, Stéphane Ducasse a écrit : Use Glamour or Spec or OB but not systemBrowser. Run away from SystemBrowser

Re: [Pharo-project] Extending SystemBrowser

2012-03-19 Thread Ezequiel Lamonica
Thanks Stef. I didn't see it yet but I'll start to try nautilus in few weeks. It looks very nice. On 19 March 2012 14:29, Stéphane Ducasse stephane.duca...@inria.fr wrote: Did you try nautilus? Because it is cool and it will get cooler. It will be the basic default browser and other people

[Pharo-project] Pharo Consortium Important Documents and Request for Feedback

2012-03-19 Thread Stéphane Ducasse
Dear Pharo Friends and Supporters We worked a lot with INRIA lawyers and tried a lot of different scenarios. We arrived to a setup that make sense now we would like to get your input. Please have a look at the following powerpoint presentation and feel free to comment! We provide some sketches

Re: [Pharo-project] non-interactive compiling with feedback

2012-03-19 Thread Milan Mimica
On 18 March 2012 23:20, Guillermo Polito guillermopol...@gmail.com wrote: Hmm, you can compile a method with Behavior#compile:notifying: and send an observer implementing: #notify:at:in: and some other stuff like #selection #deselect... That way you can capture the errors... This

Re: [Pharo-project] non-interactive compiling with feedback

2012-03-19 Thread Milan Mimica
What does it do this code? a := 1. (undeclared 'a') On 19 March 2012 07:13, Hernán Morales Durand hernan.mora...@gmail.comwrote: If you have Grease loaded: Gofer new squeaksource: 'CodeGenerator'; package: 'CodeGenerator'; load. [CGSmalltalk new setSourceAsCode;

[Pharo-project] Small polymorph suggestion

2012-03-19 Thread Schwab,Wilhelm K
Gary, I haven't figured out what they do yet, but I found #newSeparator, which creates a horizontal widget (name does not reflect this). Then I dug around and found #newVerticalSeparator. I suggest #newSeparatorHorizontal and #newSeparatorVertical, putting them together in the method list

Re: [Pharo-project] Any theme or settings that will speed up a Pharo 1.3 image?

2012-03-19 Thread Marcus Denker
On Mar 19, 2012, at 6:09 PM, Eliot Miranda wrote: On Sun, Mar 18, 2012 at 4:57 AM, Stefan Marr smallt...@stefan-marr.de wrote: Hi: When trying to debug a Pharo image with a VM that is heavily instrumented with assertions and runs without any compiler optimizations turned on, it is

Re: [Pharo-project] Any theme or settings that will speed up a Pharo 1.3 image?

2012-03-19 Thread Stefan Marr
Hi: On 19 Mar 2012, at 18:08, Eliot Miranda wrote: I noticed some absurd preference checking in standard images a while back, but turning this off made no noticeable different in optimized Cog. Look for uses of Preferences subPixelRenderFonts, e.g.

Re: [Pharo-project] Morphic operation in startUp sequence

2012-03-19 Thread Hilaire Fernandes
I tried, it did not help. Hilaire Le 19/03/2012 02:07, Ricardo Moran a écrit : Hi, I'm just guessing here but have you tried wrapping your operation in a deffered UI message? Something like the following: WorldState addDeferredUIMessage: [Your stuff here]. Cheers, Richo

Re: [Pharo-project] Any theme or settings that will speed up a Pharo 1.3 image?

2012-03-19 Thread Marcus Denker
I noticed some absurd preference checking in standard images a while back, but turning this off made no noticeable different in optimized Cog. Look for uses of Preferences subPixelRenderFonts, e.g. installStrikeFont:foregroundColor:backgroundColor:. There's a non-local return in the

Re: [Pharo-project] Any theme or settings that will speed up a Pharo 1.3 image?

2012-03-19 Thread Marcus Denker
You used your own images for Pinocchio, or was Pinocchio just fast enough for the standard images? Pinnocio can't run the image... it's (just ;-)) a compiler from smalltalk to binary code... the .exe then boostraps an image, but there is no support to persist that (nor support for all

Re: [Pharo-project] non-interactive compiling with feedback

2012-03-19 Thread Eliot Miranda
Hi Milan, On Mon, Mar 19, 2012 at 11:22 AM, Milan Mimica milan.mim...@gmail.comwrote: On 18 March 2012 23:20, Guillermo Polito guillermopol...@gmail.comwrote: Hmm, you can compile a method with Behavior#compile:notifying: and send an observer implementing: #notify:at:in: and some other

Re: [Pharo-project] non-interactive compiling with feedback

2012-03-19 Thread Milan Mimica
On 19 March 2012 21:04, Eliot Miranda eliot.mira...@gmail.com wrote: a) compiling source containing an undeclared reference merits only a warning IMO, it's not an error, and a) is a good option. Note that if you did make it an error in all circumstances you'd badly break the system. Hi

[Pharo-project] Polymorph layout: images in a column

2012-03-19 Thread Schwab,Wilhelm K
Gary, If I create a column and place an alpha image in it, is there a way to get the image to scale, ideally to the width of the column? As it is, I'm setting fixed extents, but somewhat works against what I would like to leave to the column? Bill

[Pharo-project] [update 1.4] #14403

2012-03-19 Thread Marcus Denker
14403 - Issue 5497: SystemNavigation depending on Cursor http://code.google.com/p/pharo/issues/detail?id=5497 Issue 5516: supporting code to rename package http://code.google.com/p/pharo/issues/detail?id=5516 Issue 5518: deprecated #dejaVuAreInstalled

Re: [Pharo-project] [update 1.4] #14403

2012-03-19 Thread Stéphane Ducasse
Thanks! Stef On Mar 19, 2012, at 10:08 PM, Marcus Denker wrote: 14403 - Issue 5497: SystemNavigation depending on Cursor http://code.google.com/p/pharo/issues/detail?id=5497 Issue 5516: supporting code to rename package

[Pharo-project] Pharo 1.4 Tests-Unix - Build # 297 - Still Unstable!

2012-03-19 Thread jenkins-pharo . ci . inria . fr
BUILD UNSTABLEBuild URLhttps://ci.lille.inria.fr/pharo/job/Pharo%201.4%20Tests-Unix/297/Project:Pharo 1.4 Tests-UnixDate of build:Mon, 19 Mar 2012 22:14:31 +0100Build duration:4 min 1 secCHANGESNo ChangesJUnit TestsName: Announcements.Tests.Core Failed: 0 test(s), Passed: 29 test(s), Skipped: 0

[Pharo-project] Pharo Kernel Reload Tests-Unix - Build # 21 - Still Unstable!

2012-03-19 Thread jenkins-pharo . ci . inria . fr
BUILD UNSTABLEBuild URLhttps://ci.lille.inria.fr/pharo/job/Pharo%20Kernel%20Reload%20Tests-Unix/21/Project:Pharo Kernel Reload Tests-UnixDate of build:Mon, 19 Mar 2012 22:42:00 +0100Build duration:3 min 40 secCHANGESNo ChangesJUnit TestsName: Announcements.Tests.Core Failed: 0 test(s), Passed: 29

[Pharo-project] Objectdeprecated:on:in: doesn't respect state of Deprecation classshowWarning:

2012-03-19 Thread Martin Sandiford
Hi all, Kind of new to Pharo, so not sure if this is intended behaviour or not, but Objectdeprecated:on:in: doesn't respect the current state of the Deprecation classshowWarning setting. This was unexpected for me --- in a headless setting the warning dialog causes the VM to exit. To reproduce

Re: [Pharo-project] Objectdeprecated:on:in: doesn't respect state of Deprecation classshowWarning:

2012-03-19 Thread Fernando Olivero
Hi Martin, no objections! please create the issue, and attach the fix. Fernando On Mon, Mar 19, 2012 at 10:47 PM, Martin Sandiford m...@mcdev.com.au wrote: Hi all, Kind of new to Pharo, so not sure if this is intended behaviour or not, but Objectdeprecated:on:in: doesn't respect the current

Re: [Pharo-project] Browse class : Nautilus class DNU #newOnClass:

2012-03-19 Thread Benjamin
Thanks for your report :) Ben On Mar 17, 2012, at 6:21 PM, Alexis Parseghian wrote: Fix by implementing it and have it call Nautilus classopenOnClass: http://code.google.com/p/pharo/issues/detail?id=5505

Re: [Pharo-project] non-interactive compiling with feedback

2012-03-19 Thread Eliot Miranda
On Mon, Mar 19, 2012 at 1:11 PM, Milan Mimica milan.mim...@gmail.comwrote: On 19 March 2012 21:04, Eliot Miranda eliot.mira...@gmail.com wrote: a) compiling source containing an undeclared reference merits only a warning IMO, it's not an error, and a) is a good option. Note that if you

Re: [Pharo-project] Objectdeprecated:on:in: doesn't respect state of Deprecation classshowWarning:

2012-03-19 Thread Martin Sandiford
OK, done. http://code.google.com/p/pharo/issues/detail?id=5521 On Tue, Mar 20, 2012 at 8:25 AM, Fernando Olivero fernando.oliv...@usi.ch wrote: Hi Martin, no objections! please create the issue, and attach the fix. Fernando

Re: [Pharo-project] [Moose-dev] numerical method in smalltalk

2012-03-19 Thread Serge Stinckwich
Hi all, we talked recently on the moose mailing-list about having a more robust library for doing mathematical stuff in Smalltalk like SciPython or SciRuby (see below). If there is enough interested, i'm wondering if we could propose a Google Summer of Code project about that. I could write a

Re: [Pharo-project] Reliable method change detection

2012-03-19 Thread Martin Dias
Finally I tried with a bytecodes checksum to detect changes. I chose a 16-bit variant of Adler-32 (http://en.wikipedia.org/wiki/Adler-32). Was easy and worked fine. ByteArray adler16from: start to: end Answer a checksum over the values of the specified interval, calculated using Adler-16

Re: [Pharo-project] [Moose-dev] numerical method in smalltalk

2012-03-19 Thread Tudor Girba
Hi Serge, There definitely is interest. If you volunteer for mentoring it would be great. Cheers, Doru On 20 Mar 2012, at 04:35, Serge Stinckwich wrote: Hi all, we talked recently on the moose mailing-list about having a more robust library for doing mathematical stuff in Smalltalk like