Re: [Pharo-dev] So, again, why 'object inspect' should answer an object?

2013-08-26 Thread Camillo Bruni
that is pretty new, so we didn't fix this issue then :/ (or more probably, we didn't fix all users). => can you open an issue with a description on how to reproduce it? On 2013-08-26, at 22:52, Igor Stasenko wrote: > (oops.. pressed send before finishing mail) > > Pharo3.0 > Latest update: #3

Re: [Pharo-dev] So, again, why 'object inspect' should answer an object?

2013-08-26 Thread Igor Stasenko
(oops.. pressed send before finishing mail) Pharo3.0 Latest update: #30335 .. so it just 10 days old On 26 August 2013 22:51, Igor Stasenko wrote: > ah, ok.. maybe i use outdated image? > > > > On 26 August 2013 22:41, Camillo Bruni wrote: > >> I think we agreed that >> - #inspect: returns t

Re: [Pharo-dev] So, again, why 'object inspect' should answer an object?

2013-08-26 Thread Igor Stasenko
ah, ok.. maybe i use outdated image? On 26 August 2013 22:41, Camillo Bruni wrote: > I think we agreed that > - #inspect: returns the inspected value > - #inspector: returns the inspector for the given value > > I thought we fixed exactly the bug you experience since Ben complained a > lot abo

[Pharo-dev] Can someone explain me what this code doing?

2013-08-26 Thread Igor Stasenko
NewValueHolder>>contents: anObject | oldValue | lock ifTrue: [ ^ self ]. lock := true. oldValue := contents. contents := anObject. [ self contentsChanged: oldValue ] ensure: [ lock := false ]. ^ contents it is really interesting.. it appears you cannot change the cont

Re: [Pharo-dev] So, again, why 'object inspect' should answer an object?

2013-08-26 Thread Camillo Bruni
I think we agreed that - #inspect: returns the inspected value - #inspector: returns the inspector for the given value I thought we fixed exactly the bug you experience since Ben complained a lot about it ;) On 2013-08-26, at 22:32, Igor Stasenko wrote: > ... or another reason to answer the in

Re: [Pharo-dev] So, again, why 'object inspect' should answer an object?

2013-08-26 Thread Esteban A. Maringolo
As a side note: In Dolphin it returns the inspector :) Esteban A. Maringolo 2013/8/26 Igor Stasenko : > > > > On 26 August 2013 22:32, Igor Stasenko wrote: >> >> ... or another reason to answer the inspector window.. >> because right now it is badly broken: >> >> EyeInspector class>>inspect: an

[Pharo-dev] So, again, why 'object inspect' should answer an object?

2013-08-26 Thread Igor Stasenko
... or another reason to answer the inspector window.. because right now it is badly broken: EyeInspector class>>inspect: anObject InspectorWrapper openInspector: (self inspector: anObject). ^ anObject but: Morph>>inspectInMorphic: evt evt hand attachMorph: ((Smalltalk tools inspect:

Re: [Pharo-dev] So, again, why 'object inspect' should answer an object?

2013-08-26 Thread Igor Stasenko
On 26 August 2013 22:32, Igor Stasenko wrote: > ... or another reason to answer the inspector window.. > because right now it is badly broken: > > EyeInspector class>>inspect: anObject > InspectorWrapper openInspector: (self inspector: anObject). > ^ anObject > > but: > > Morph>>inspectIn

Re: [Pharo-dev] WhatsUp from: 2013-08-19 until: 2013-08-31

2013-08-26 Thread p...@highoctane.be
### Here's what I've been up to since the last WhatsUp: - Made a working web app stack and started an application that uses it. Kind of works. - Asked around for the Pharo advantage - Pushed Pharo technology for a project and associated funding. So far, so good - Got DBXTalk working with MySQL on

Re: [Pharo-dev] WhatsUp from: 2013-08-19 until: 2013-08-31

2013-08-26 Thread Sven Van Caekenberghe
On 19 Aug 2013, at 07:00, seas...@rmod.lille.inria.fr wrote: > Hi! We're sending this automatic email twice a month, to give the community > an opportunity to easily know what's happening and to coordinate efforts. > Just answer informally, and feel free to spawn discussions thereafter! > > #

Re: [Pharo-dev] Spec tabs, which one is active ?

2013-08-26 Thread Benjamin
A workaround could be that when a tab is selected, it set an instance variable with the correct value. This way , you can always do something like myCanvas generates. where myCanvas is set by the tab. And in addition, you do not have to use a switch case :) Ben On Aug 26, 2013, at 3:58 PM, Er

Re: [Pharo-dev] Need of a review

2013-08-26 Thread Damien Cassou
On Mon, Aug 26, 2013 at 4:14 PM, Camillo Bruni wrote: > I'll do a pass, since I burnt my fingers already on that code right before > the 2.0 release :) I saw you just reviewed the code. Thank you. Now, this code is ready for inclusion. -- Damien Cassou http://damiencassou.seasidehosting.st "

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Camille Teruel
On 26 août 2013, at 15:04, Igor Stasenko wrote: > > > > On 26 August 2013 14:34, Camille Teruel wrote: > > On 26 août 2013, at 13:31, Igor Stasenko wrote: > >> the intent was to replace >> Smalltalk at: >> Smalltalk globals at: >> >> idioms with shorter one, and get rid of referencing Smal

Re: [Pharo-dev] Need of a review

2013-08-26 Thread Camillo Bruni
I'll do a pass, since I burnt my fingers already on that code right before the 2.0 release :) On 2013-08-26, at 16:12, Damien Cassou wrote: > Could someone please review this change? > > Extract the logic that opens the .sources and .changes files > > This logic is currently in the SmalltalkI

[Pharo-dev] Need of a review

2013-08-26 Thread Damien Cassou
Could someone please review this change? Extract the logic that opens the .sources and .changes files This logic is currently in the SmalltalkImage class. The code is hard to read and enhance. Extracting the logic to its own class will fix these issues. https://pharo.fogbugz.com/default.asp?1142

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Frank Shearar
On 26 August 2013 13:34, Camille Teruel wrote: > > On 26 août 2013, at 13:31, Igor Stasenko wrote: > > the intent was to replace > Smalltalk at: > Smalltalk globals at: > > idioms with shorter one, and get rid of referencing Smalltalk global. > > The are not for solving future problems with introd

[Pharo-dev] [update 3.0] #30344

2013-08-26 Thread Marcus Denker
30344 - 6821 Inconsistent String>>asDate behaviour https://pharo.fogbugz.com/f/cases/6821 11446 recategorize compareWith:ifLesser:ifEqual:ifGreater: https://pharo.fogbugz.com/f/cases/11446 11431 #sorted: is broken for some collections https://pharo.fog

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Stéphane Ducasse
On Aug 26, 2013, at 3:54 PM, p...@highoctane.be wrote: > ... and Smalltalk should be renamed into Pharo anyway. > > :-p :) Camillo already wants systems. Stef

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Camillo Bruni
https://pharo.fogbugz.com/f/cases/10583/Use-System-instead-of-Smalltalk-to-access-globals On 2013-08-26, at 15:54, "p...@highoctane.be" wrote: > ... and Smalltalk should be renamed into Pharo anyway. > > :-p > > Phil > > > > On Monday, August 26, 2013, Igor Stasenko wrote: >> >> >> >> O

[Pharo-dev] Spec tabs, which one is active ?

2013-08-26 Thread Erwan Douaille
Hi, I'm using TabManager and i would like to know which tab is active. I didn't found any methods for that. Any clue ? In UIPainter, i will use it to know which tab canvas i have to generate. Thanks :) -- Best regards, Douaille Erwan

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread p...@highoctane.be
... and Smalltalk should be renamed into Pharo anyway. :-p Phil On Monday, August 26, 2013, Igor Stasenko wrote: > > > > On 26 August 2013 14:34, Camille Teruel wrote: >> >> On 26 août 2013, at 13:31, Igor Stasenko wrote: >> >> the intent was to replace >> Smalltalk at: >> Smalltalk globals

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Igor Stasenko
On 26 August 2013 14:34, Camille Teruel wrote: > > On 26 août 2013, at 13:31, Igor Stasenko wrote: > > the intent was to replace > Smalltalk at: > Smalltalk globals at: > > idioms with shorter one, and get rid of referencing Smalltalk global. > > The are not for solving future problems with intro

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Camille Teruel
On 26 août 2013, at 13:31, Igor Stasenko wrote: > the intent was to replace > Smalltalk at: > Smalltalk globals at: > > idioms with shorter one, and get rid of referencing Smalltalk global. > The are not for solving future problems with introduction of environments. We want to get rid of Smallt

Re: [Pharo-dev] [update 3.0] #30343

2013-08-26 Thread Camillo Bruni
thanks :) On 2013-08-26, at 13:42, Marcus Denker wrote: > 30343 > - > > 11447 Improve Chronology > https://pharo.fogbugz.com/f/cases/11447 > > 11456 RBLiteralValueNode does not Understand shortPrintOn: > https://pharo.fogbugz.com/f/cases/11456 > > > Diff information: >

[Pharo-dev] [update 3.0] #30343

2013-08-26 Thread Marcus Denker
30343 - 11447 Improve Chronology https://pharo.fogbugz.com/f/cases/11447 11456 RBLiteralValueNode does not Understand shortPrintOn: https://pharo.fogbugz.com/f/cases/11456 Diff information: http://smalltalkhub.com/mc/Pharo/Pharo30/main/Tools-MarcusDenker.1219.diff ht

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Igor Stasenko
the intent was to replace Smalltalk at: Smalltalk globals at: idioms with shorter one, and get rid of referencing Smalltalk global. The are not for solving future problems with introduction of environments. And even if you introduce them, i still think you need a way to refer to globals (they are

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Camille Teruel
On 26 août 2013, at 10:56, Esteban Lorenzano wrote: > > On Aug 25, 2013, at 9:40 AM, Camille Teruel wrote: > >> >> On 24 août 2013, at 19:20, Camillo Bruni wrote: >> >>> We have now: >>> >>> String >> #asClass >>> String >> #asClassIfAbsent: >>> String >> #asClassIfPresent: >> >> I don't u

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Stéphane Ducasse
> > > It works the same way as the dictionary protocol with #at: > `#adsfasdf asClass` will signal an error, hence for compatibility you have > the *IfAbsent: protocols. Otherwise you simply cannot replace all the users > of `Smalltalk at:` and `Smalltalk globals at:` which is the long term goa

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Camillo Bruni
On 2013-08-26, at 11:46, Norbert Hartl wrote: > > Am 26.08.2013 um 10:56 schrieb Esteban Lorenzano : > >> >> On Aug 25, 2013, at 9:40 AM, Camille Teruel wrote: >> >>> >>> On 24 août 2013, at 19:20, Camillo Bruni wrote: >>> We have now: String >> #asClass String >> #as

[Pharo-dev] [regression reporter]regression occurred

2013-08-26 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/label=win/435/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [regression reporter]regression occurred

2013-08-26 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/label=mac/435/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [regression reporter]regression occurred

2013-08-26 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/label=linux-stable-worker/435/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Norbert Hartl
Am 26.08.2013 um 10:56 schrieb Esteban Lorenzano : > > On Aug 25, 2013, at 9:40 AM, Camille Teruel wrote: > >> >> On 24 août 2013, at 19:20, Camillo Bruni wrote: >> >>> We have now: >>> >>> String >> #asClass >>> String >> #asClassIfAbsent: >>> String >> #asClassIfPresent: >> >> I don't un

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Damien Cassou
On Mon, Aug 26, 2013 at 11:26 AM, Esteban Lorenzano wrote: > I do not see why because it means we can override #asClass: in each class and do whatever we want. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthu

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Esteban Lorenzano
I do not see why On Aug 26, 2013, at 11:14 AM, Damien Cassou wrote: > On Mon, Aug 26, 2013 at 10:56 AM, Esteban Lorenzano > wrote: >> this was already discussed. With #asClass and relatives what you have is a >> better abstraction jut because you are decoupled of "Smalltalk globals", it >> i

[Pharo-dev] [update 3.0] #30342

2013-08-26 Thread Marcus Denker
30342 - 11421 Update Athens from config https://pharo.fogbugz.com/f/cases/11421 Diff information: http://smalltalkhub.com/mc/Pharo/Pharo30/main/Athens-Text-MarcusDenker.7.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Athens-Morphic-MarcusDenker.21.diff http://smalltalkhub.com/m

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Damien Cassou
On Mon, Aug 26, 2013 at 10:56 AM, Esteban Lorenzano wrote: > this was already discussed. With #asClass and relatives what you have is a > better abstraction jut because you are decoupled of "Smalltalk globals", it > is not a big win now, but it open doors to better designs with environments, >

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Esteban Lorenzano
On Aug 25, 2013, at 9:40 AM, Camille Teruel wrote: > > On 24 août 2013, at 19:20, Camillo Bruni wrote: > >> We have now: >> >> String >> #asClass >> String >> #asClassIfAbsent: >> String >> #asClassIfPresent: > > I don't understand why we need this new way. > Is it just to avoid calling 'Sma

[Pharo-dev] [update 3.0] #30341

2013-08-26 Thread Marcus Denker
30341 - 11425 Improve assert description of #testMethodsOfTheClassShouldNotBeRepeatedInItsSuperclasses https://pharo.fogbugz.com/f/cases/11425 11424 Add #methods accessor to RBBrowserEnvironment https://pharo.fogbugz.com/f/cases/11424 10481 Cleanup method cat