Re: [Pharo-dev] Understanding Versionner repository selection

2013-08-11 Thread Hernán Morales Durand
El 11/08/2013 4:00, Stéphane Ducasse escribió: On Aug 11, 2013, at 6:04 AM, Hernán Morales Durand mailto:hernan.mora...@gmail.com>> wrote: El 10/08/2013 14:55, Hernán Morales Durand escribió: Hi folks, I have a *very* simple package with no dependencies whatsoever. Now I'm trying to understan

Re: [Pharo-dev] Bag enhancements

2013-08-11 Thread Gabriel Cotelli
Why not #doWithOccurrences: ?? Eg: bag doWithOccurrences: [:element :count | "do something"] I dont'like the keysAndValuesDo: idea, is just an implementation detail. On Sun, Aug 11, 2013 at 4:52 PM, Stéphane Ducasse wrote: > Hi guys > > I was surprised to see the API of bag for iteration. > >

Re: [Pharo-dev] Fix in Athens-Cairo

2013-08-11 Thread Alexandre Bergel
Yes, you're right. The Morphic version of drawing arc does not complain, however it did with Athens. Thanks for fixing this Alexandre On Aug 7, 2013, at 9:00 AM, Igor Stasenko wrote: > Just to make it clear: > > when you get zero-divide error, where you think the bug is , in #/ method, > or

[Pharo-dev] Bag enhancements

2013-08-11 Thread Stéphane Ducasse
Hi guys I was surprised to see the API of bag for iteration. I propose to add keysAndValuesDo: aBlock "Iterate over the receiver and apply a two argument block on the element and its occurrences." contents associationsDo: [:assoc | aBlock value: assoc key value

[Pharo-dev] bug with new inspector?

2013-08-11 Thread Stéphane Ducasse
(Bag new add: 3 ; add: 3 ; add: 3 ; add: 2 ;yourself) inspect we got an error when trying to see the second element. Stef

Re: [Pharo-dev] adding temporary adds them outside the temp declaration?

2013-08-11 Thread Stéphane Ducasse
Thanks clement. Stef On Aug 11, 2013, at 8:26 PM, Clément Bera wrote: > This is in Pharo 3, isn't it ? > > There are currently bugs with Opal's exception handing in Pharo 3.0. It was > fixed then some other changes broke it again. So yeah it is known. You might > have bug with: > OCShadowVar

Re: [Pharo-dev] adding temporary adds them outside the temp declaration?

2013-08-11 Thread Clément Bera
This is in Pharo 3, isn't it ? There are currently bugs with Opal's exception handing in Pharo 3.0. It was fixed then some other changes broke it again. So yeah it is known. You might have bug with: OCShadowVariableWarning. OCUndeclaredVariableWarning. OCUninitializedVariableWarning. OCUnusedVaria

[Pharo-dev] adding temporary adds them outside the temp declaration?

2013-08-11 Thread Stéphane Ducasse
Hi guys Is it a know bug? | selector superClasses | selector := aMethodDefinition selector. superClasses := aMethodDefinition realClass allSuperclasses. result := OrderedCollection new. (superClasses select: [ :eachClass | eachClass hasProtocolFor: selector])

Re: [Pharo-dev] Pharo VM latest on the Debian 7

2013-08-11 Thread Andres Valloud
Ok, thank you. At the risk of being too inquisitive, what do you mean when you say "add a slave into our build server"? Is the implication that a release will include N binaries compiled on N Linux versions? On 8/8/13 8:02 , Esteban Lorenzano wrote: well... no. something happened with the bu

Re: [Pharo-dev] Understanding Versionner repository selection

2013-08-11 Thread Stéphane Ducasse
On Aug 11, 2013, at 6:04 AM, Hernán Morales Durand wrote: > El 10/08/2013 14:55, Hernán Morales Durand escribió: >> Hi folks, >> I have a *very* simple package with no dependencies whatsoever. Now I'm >> trying to understand Versionner, these are the steps: >> >> 1. I set the ConfigurationOf n