[Pharo-project] Block with ^ examples ...

2012-04-17 Thread James Ladd
Hi All, I want to write some more tests for Redline Smalltalk block handling. Where can I find a really good description of how blocks with ^ in them are handled? ie: [ ^ true. ] Rgs, James.

[Pharo-project] ContextPartmethodNode - Compiler?

2012-04-17 Thread Stéphane Ducasse
Hi I think that methodNode should be moved as an extension of Compiler. Stef

[Pharo-project] do we need contextForLocalVariables?

2012-04-17 Thread stephane ducasse
Hi so far ContextPartcontextForLocalVariables Answer the context in which local variables (temporaries) are stored. self subclassResponsibility MethodContextcontextForLocalVariables Answer the context in which local variables (temporaries) are stored. ^self

[Pharo-project] SourceFiles

2012-04-17 Thread Martin Dias
Hi all I vaguely remember some discussions about enhancing SourceFiles, something about to reify a code manager, about to stop logging fileIns into .changes file, and about to inspire the new mechanism on the VW's one. Am I right? There is consensus on this? Do you think I could do it as part of

Re: [Pharo-project] Domain pharo.org

2012-04-17 Thread Christoph Wysseier
Hey Marcus The easiest way to install alias domains of a cmsbox websites with proper redirection is to configure the DNS entry to point to 217.11.221.200 (Host: one.cmsbox.com). I already configured the webserver accordingly. Cheers, Chris Am 16.04.12 21:28, schrieb Yanni Chiu: On

Re: [Pharo-project] ContextPartmethodNode - Compiler?

2012-04-17 Thread Guillermo Polito
Me too. And BlockClosure should have an alternative printOn: when there is no compiler/decompiler :). (It's bothered me a lot lately) Guille On Mon, Apr 16, 2012 at 10:11 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi I think that methodNode should be moved as an extension of

[Pharo-project] I need Pharo 1.4 for PowerPC

2012-04-17 Thread Edgar J. De Cleene
Guys, not too long ago I was able to download clean Pharo 1.4 and run on olders John VMs on G4 PowerPC. Seems site now only have CogVm versions which older VM do not run. Any place for download or I run out of luck? Related: Any ARM VM which I could try? Have a 7² Android named ³LittleAsimov²

[Pharo-project] How to globals that are NOT classes or traits?

2012-04-17 Thread Mariano Martinez Peck
Hi guys. In Fuel, we need to identity which globals present in Smalltalk globals are NOT classes or traits, because we need to manage them as globals. So far we have a hardcoded list: defaultGlobalSymbols ^ #(#Smalltalk #SourceFiles #Transcript #Undeclared #Display #TextConstants

[Pharo-project] [update 1.4] #14429

2012-04-17 Thread Esteban Lorenzano
14429 - Issue 5614: do #cleanOutUndeclared and #fixObsoleteReferences in #cleanUpForRelase http://code.google.com/p/pharo/issues/detail?id=5614 Issue 5600: No cursor shown with non blinking text cursor http://code.google.com/p/pharo/issues/detail?id=5600

Re: [Pharo-project] Block with ^ examples ...

2012-04-17 Thread Helene Bilbo
This is probably not what you are looking for, but it helped me, an amateur, to understand return statements in blocks. Perhaps it would be a good beginners example for the Block-Chapter in PBE Volume 2: ReturnEarlyTestreturnEarly The evaluation of the BlockClosure [^ true] per #value in

Re: [Pharo-project] How to globals that are NOT classes or traits?

2012-04-17 Thread Tobias Pape
Am 2012-04-17 um 12:50 schrieb Mariano Martinez Peck: Hi guys. In Fuel, we need to identity which globals present in Smalltalk globals are NOT classes or traits, because we need to manage them as globals. So far we have a hardcoded list: defaultGlobalSymbols ^ #(#Smalltalk

Re: [Pharo-project] I need Pharo 1.4 for PowerPC

2012-04-17 Thread Marcus Denker
On Apr 17, 2012, at 11:38 AM, Edgar J. De Cleene wrote: Guys, not too long ago I was able to download clean Pharo 1.4 and run on olders John VMs on G4 PowerPC. Seems site now only have CogVm versions which older VM do not run. Any place for download or I run out of luck? you could try the

Re: [Pharo-project] SourceFiles

2012-04-17 Thread Marcus Denker
On Apr 17, 2012, at 9:12 AM, Martin Dias wrote: Hi all I vaguely remember some discussions about enhancing SourceFiles, something about to reify a code manager, about to stop logging fileIns into .changes file, and about to inspire the new mechanism on the VW's one. Am I right? Yes.

Re: [Pharo-project] do we need contextForLocalVariables?

2012-04-17 Thread Marcus Denker
On Apr 17, 2012, at 9:05 AM, stephane ducasse wrote: Hi so far ContextPartcontextForLocalVariables Answer the context in which local variables (temporaries) are stored. self subclassResponsibility MethodContextcontextForLocalVariables Answer the context in which

Re: [Pharo-project] Domain pharo.org

2012-04-17 Thread Marcus Denker
On Apr 17, 2012, at 9:48 AM, Christoph Wysseier wrote: Hey Marcus The easiest way to install alias domains of a cmsbox websites with proper redirection is to configure the DNS entry to point to 217.11.221.200 (Host: one.cmsbox.com). I already configured the webserver accordingly. ok,

Re: [Pharo-project] I need Pharo 1.4 for PowerPC

2012-04-17 Thread Edgar J. De Cleene
On 4/17/12 8:45 AM, Marcus Denker marcus.den...@inria.fr wrote: On Apr 17, 2012, at 11:38 AM, Edgar J. De Cleene wrote: Guys, not too long ago I was able to download clean Pharo 1.4 and run on olders John VMs on G4 PowerPC. Seems site now only have CogVm versions which older VM do not

[Pharo-project] [update 1.4] #14430

2012-04-17 Thread Esteban Lorenzano
Issue 5596: DosFileDirectorypreferencesRootPath broken http://code.google.com/p/pharo/issues/detail?id=5596

[Pharo-project] build #14430 feedback needed

2012-04-17 Thread Esteban Lorenzano
Hi, I just released #14430 with a bugfix for windows. Problem is that we don't have enough windows tastes to be sure the fix work. Can windows users take a look at: https://ci.lille.inria.fr/pharo/view/Pharo%201.4/job/Pharo%201.4/lastSuccessfulBuild/artifact/Pharo-1.4-one-click.zip and see

Re: [Pharo-project] Domain pharo.org

2012-04-17 Thread Christoph Wysseier
Am 17.04.12 13:56, schrieb Marcus Denker: On Apr 17, 2012, at 9:48 AM, Christoph Wysseier wrote: Hey Marcus The easiest way to install alias domains of a cmsbox websites with proper redirection is to configure the DNS entry to point to 217.11.221.200 (Host: one.cmsbox.com). I already

Re: [Pharo-project] build #14430 feedback needed

2012-04-17 Thread Henrik Johansen
On Apr 17, 2012, at 2:14 PM, Esteban Lorenzano wrote: Hi, I just released #14430 with a bugfix for windows. Problem is that we don't have enough windows tastes to be sure the fix work. Can windows users take a look at:

Re: [Pharo-project] Broken Pharo 1.4 and windows VM

2012-04-17 Thread Ben Coman
btw Windows 7 is version... 6.1.7600 see detail in http://code.google.com/p/pharo/issues/detail?id=5255 Eliot Miranda wrote: Hi Hilaire, I guess you're running Windows 7 and that the VM is quite correctly answering something like 7.1 for Smalltalk vm getSystemAttribute: 1002 a.k.a.

Re: [Pharo-project] How to globals that are NOT classes or traits?

2012-04-17 Thread Guillermo Polito
Be careful that #isBehavior is false for Traits :). To fix I think. On Tue, Apr 17, 2012 at 1:41 PM, Tobias Pape das.li...@gmx.de wrote: Am 2012-04-17 um 12:50 schrieb Mariano Martinez Peck: Hi guys. In Fuel, we need to identity which globals present in Smalltalk globals are NOT classes

Re: [Pharo-project] Broken Pharo 1.4 and windows VM

2012-04-17 Thread Hilaire Fernandes
Hi Eliot, No I am testing with Wine, and it answer $4. :) Hilaire Le 17/04/2012 02:26, Eliot Miranda a écrit : Hi Hilaire, I guess you're running Windows 7 and that the VM is quite correctly answering something like 7.1 for Smalltalk vm getSystemAttribute: 1002 a.k.a. Smalltalk os

Re: [Pharo-project] build #14430 feedback needed

2012-04-17 Thread Esteban Lorenzano
thanks, anybody else can confirm that delay? btw... what I'm looking for is a crash that happened while initiating windows, because of lookup of preferences... it is not completely fixed, but should be partially working now. cheers, Esteban On Apr 17, 2012, at 2:46 PM, Henrik Johansen

Re: [Pharo-project] How to globals that are NOT classes or traits?

2012-04-17 Thread Tobias Pape
Am 2012-04-17 um 15:20 schrieb Guillermo Polito: Be careful that #isBehavior is false for Traits :). To fix I think. oO I did not expect that. However, I think Traits should respond with true to traits. Well then… 1) send isTrait, if applicable defaultGlobalSymbols ^ (self environment or

[Pharo-project] lagging in the interface

2012-04-17 Thread Hilaire Fernandes
When using Pharo under tablet (both iPad and Android), we have noted some lag in the user interface when clicking a button. Indeed sometime you have to press twice a button to get the press event caught by Pharo. This problem does not occur with Squeak 3.9 and same StackVM. Any idea? Hilaire

Re: [Pharo-project] SourceFiles

2012-04-17 Thread Martin Dias
Thanks! On Tue, Apr 17, 2012 at 8:49 AM, Marcus Denker marcus.den...@inria.frwrote: On Apr 17, 2012, at 9:12 AM, Martin Dias wrote: Hi all I vaguely remember some discussions about enhancing SourceFiles, something about to reify a code manager, about to stop logging fileIns into

Re: [Pharo-project] build #14430 feedback needed

2012-04-17 Thread Gary Chambers
Seems fine on Vista. First startup was a bit slow, as noted. Regards, Gary - Original Message - From: Esteban Lorenzano esteba...@gmail.com To: Pharo Development pharo-project@lists.gforge.inria.fr Sent: Tuesday, April 17, 2012 1:14 PM Subject: [Pharo-project] build #14430 feedback

[Pharo-project] [update 1.4] #14432

2012-04-17 Thread Esteban Lorenzano
14432 - Issue 5620: clean up pre-release http://code.google.com/p/pharo/issues/detail?id=5620 Issue 5596: DosFileDirectorypreferencesRootPath broken http://code.google.com/p/pharo/issues/detail?id=5596 3 builds in a day, yeah! (and more comming)

Re: [Pharo-project] How to globals that are NOT classes or traits?

2012-04-17 Thread Eliot Miranda
On Tue, Apr 17, 2012 at 3:50 AM, Mariano Martinez Peck marianop...@gmail.com wrote: Hi guys. In Fuel, we need to identity which globals present in Smalltalk globals are NOT classes or traits, because we need to manage them as globals. So far we have a hardcoded list: defaultGlobalSymbols

Re: [Pharo-project] build #14430 feedback needed

2012-04-17 Thread Ben Coman
I can confirm that delay on Windows 7, but it also exists for 14427 so I would say that is not related to the fix. I would search further but I can't see how to get more history from Jenkins. In any case, the startup delay disappears after a SaveQuit and restart. I am looking into testing

Re: [Pharo-project] How to globals that are NOT classes or traits?

2012-04-17 Thread Igor Stasenko
I think that we missing a way to determine to which package some global belongs to. When you loading a package it can declare new global, but there is no reflective mechanisms in system to tell, to which package it belongs. If we could have that, then clearly, if you serialize the package, you

Re: [Pharo-project] How to globals that are NOT classes or traits?

2012-04-17 Thread Eliot Miranda
On Tue, Apr 17, 2012 at 10:11 AM, Igor Stasenko siguc...@gmail.com wrote: I think that we missing a way to determine to which package some global belongs to. When you loading a package it can declare new global, but there is no reflective mechanisms in system to tell, to which package it

Re: [Pharo-project] build #14430 feedback needed

2012-04-17 Thread Esteban Lorenzano
Hi, I removed the functionality that was causing the problem... is not so easy to get it ready for windows, and shouldn't be a delay for 1.4 release. The fix can wait to next version. Now... I'm not sure that same functionality was responsible from the delays... so, I'm still interested in

Re: [Pharo-project] I need Pharo 1.4 for PowerPC

2012-04-17 Thread Hilaire Fernandes
Le 17/04/2012 11:42, Edgar J. De Cleene a écrit : Any ARM VM which I could try? Have a 7” Android named “LittleAsimov” now and can’t wait to have Pharo into. Try CogDoid Hilaire -- Dr. Geo -- http://www.drgeo.eu

Re: [Pharo-project] How to globals that are NOT classes or traits?

2012-04-17 Thread Frank Shearar
On 17 April 2012 18:52, Eliot Miranda eliot.mira...@gmail.com wrote: On Tue, Apr 17, 2012 at 10:11 AM, Igor Stasenko siguc...@gmail.com wrote: I think that we missing a way to determine to which package some global belongs to. When you loading a package it can declare new global, but there

Re: [Pharo-project] I need Pharo 1.4 for PowerPC

2012-04-17 Thread edgar de cleene Android
very thanks Hilaire Fernandes hilaire.fernan...@edu.ge.ch wrote: Le 17/04/2012 11:42, Edgar J. De Cleene a écrit : Any ARM VM which I could try? Have a 7” Android named “LittleAsimov” now and can’t wait to have Pharo into. Try CogDoid Hilaire -- Dr. Geo -- http://www.drgeo.eu

[Pharo-project] Why Every Ruby Developer Should Learn Smalltalk | Level Up! Victor Savkin's Blog About Programming

2012-04-17 Thread Sven Van Caekenberghe
As currently on http://news.ycombinator.com (those who can, vote up please) http://victorsavkin.com/post/16375110741/why-smalltalk Yes! Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill smime.p7s Description: S/MIME cryptographic signature

Re: [Pharo-project] I need Pharo 1.4 for PowerPC

2012-04-17 Thread Edgar J. De Cleene
On 4/17/12 4:32 PM, Hilaire Fernandes hilaire.fernan...@edu.ge.ch wrote: Le 17/04/2012 11:42, Edgar J. De Cleene a écrit : Any ARM VM which I could try? Have a 7² Android named ³LittleAsimov² now and can¹t wait to have Pharo into. Try CogDoid Hilaire -- Dr. Geo --

Re: [Pharo-project] Block with ^ examples ...

2012-04-17 Thread James Ladd
If I understand what I have read from the blue book the following is how a block with a return is handled: 1 - sampleMethod 2 self doIt: [ ^ true ].3 Transcript show: 'here'; cr. Line 1 defines the instance method 'sampleMethod' - using Redline syntax of course. Line 2 sends the

Re: [Pharo-project] Block with ^ examples ...

2012-04-17 Thread Eliot Miranda
James, ^-return in a block attempts to return from the enclosing method activation (the home context), as if a return from the method has occurred. But errors and exceptions can occur. a) if the method has already been returned from the enclosing method context (the home context) will be

[Pharo-project] [update 1.4] #14434

2012-04-17 Thread Marcus Denker
14434 - Issue 5622: PluggableListMorph: you can use an accessor to retrieve directly an item from the list http://code.google.com/p/pharo/issues/detail?id=5622 Issue 5623: Failing tests related to Condensing Changes