Re: [Pharo-dev] [Moose-dev] Concerts of Iron Maiden Analyzed

2014-01-06 Thread Stéphane Ducasse
why cycle? just lines on the right connecting procedures. On 05 Jan 2014, at 22:46, Alexandre Bergel alexandre.ber...@me.com wrote: Having circles on the left or right hand side? Alexandre On Jan 5, 2014, at 1:23 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: On 05 Jan

[Pharo-dev] [Issue tracker] 9 issues waiting for review

2014-01-06 Thread Marcus Denker
https://pharo.fogbugz.com/f/filters/45/Review

Re: [Pharo-dev] could you try to run...

2014-01-06 Thread Pavel Krivanek
Interesting. Now I got this crash (see attachment) -- Pavel 2014/1/5 Stéphane Ducasse stephane.duca...@inria.fr Thanks pavel Previously it was crashing your vm. Really strange. Stef On 05 Jan 2014, at 17:53, Pavel Krivanek pavel.kriva...@gmail.com wrote: No crash but during unloading

Re: [Pharo-dev] XMLParser Problem with SVG

2014-01-06 Thread Igor Stasenko
On 5 January 2014 15:19, J.F. Rick s...@je77.com wrote: I am trying to use SVG with Athens; however, the XMLParser for Pharo 3.0 cannot read normal SVG files that it used to. So, the demo of ASVGMorph fromFile: 'lion.svg' fails in the XMLParser (i.e., before ASVGMorph really does anything to

Re: [Pharo-dev] XMLParser Problem with SVG

2014-01-06 Thread Sven Van Caekenberghe
On 06 Jan 2014, at 10:06, Igor Stasenko siguc...@gmail.com wrote: On 5 January 2014 15:19, J.F. Rick s...@je77.com wrote: I am trying to use SVG with Athens; however, the XMLParser for Pharo 3.0 cannot read normal SVG files that it used to. So, the demo of ASVGMorph fromFile:

Re: [Pharo-dev] XMLParser Problem with SVG

2014-01-06 Thread J.F. Rick
Monty, thanks. You are right that the latest version of XMLParser fixes the parsing problem. I think you just need to upload an updated configuration to the MetaRepoForPharo30 to fix this. And, yes, I would like to know how to turn DTD parsing off or for it to cache the DTD as it takes several

[Pharo-dev] [pharo-project/pharo-core]

2014-01-06 Thread GitHub
Branch: refs/tags/30673 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 0327dc: 30673

2014-01-06 Thread GitHub
Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: 0327dcd90fc34d638a6286e0b14d64ecfa85a438 https://github.com/pharo-project/pharo-core/commit/0327dcd90fc34d638a6286e0b14d64ecfa85a438 Author: Jenkins Build Server bo...@pharo-project.org Date:

Re: [Pharo-dev] [pharo-project/pharo-core] 0327dc: 30673

2014-01-06 Thread Esteban Lorenzano
green again… cool :) On 06 Jan 2014, at 10:54, GitHub nore...@github.com wrote: Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: 0327dcd90fc34d638a6286e0b14d64ecfa85a438

[Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Clément Bera
Hello, here I have a class A== ^ true Now: a := A new. b := A new. a == b Answers false a perform: #== with: b Answers true Do I have to remove the usage of the byte code for #== in the compiler to be able to override == ?

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Stéphane Ducasse
Doru do you have a sketch (UML) to see how it works? Because indeed having a pattern for the theme is definitively important and I’m sad that the same trick as the settings do not work for theme. Stef On 06 Jan 2014, at 00:19, Tudor Girba tu...@tudorgirba.com wrote: Hi again, I added a

Re: [Pharo-dev] could you try to run...

2014-01-06 Thread Stéphane Ducasse
Could you retry with the latest one? Because esteban spotted on a problem with amsjit Stef Interesting. Now I got this crash (see attachment) -- Pavel 2014/1/5 Stéphane Ducasse stephane.duca...@inria.fr Thanks pavel Previously it was crashing your vm. Really strange. Stef On 05

Re: [Pharo-dev] XMLParser Problem with SVG

2014-01-06 Thread Stéphane Ducasse
On 06 Jan 2014, at 06:02, monty monty...@engineer.com wrote: Apparantly the config browser will load from your local package cache, which is why I wasn't getting errors. I tried from a different image with a clean package cache, and it loaded a much older version than you would get if you

Re: [Pharo-dev] could you try to run...

2014-01-06 Thread Pavel Krivanek
I tried again http://get.pharo.org/vmLatest. It's the same same VM version, crash.dmp slightly differs. -- Pavel 2014/1/6 Stéphane Ducasse stephane.duca...@inria.fr Could you retry with the latest one? Because esteban spotted on a problem with amsjit Stef Interesting. Now I got this

Re: [Pharo-dev] could you try to run...

2014-01-06 Thread Pavel Krivanek
for the record, it's on the 64-bit Fedora 19 with 32-bit libraries 2014/1/6 Pavel Krivanek pavel.kriva...@gmail.com I tried again http://get.pharo.org/vmLatest. It's the same same VM version, crash.dmp slightly differs. -- Pavel 2014/1/6 Stéphane Ducasse stephane.duca...@inria.fr Could

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Nicolai Hess
2014/1/6 Clément Bera bera.clem...@gmail.com Hello, here I have a class A== ^ true Now: a := A new. b := A new. a == b Answers false a perform: #== with: b Answers true Do I have to remove the usage of the byte code for #== in the compiler to be able to override == ? No,

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Frank Shearar
On 6 January 2014 11:11, Nicolai Hess nicolaih...@web.de wrote: 2014/1/6 Clément Bera bera.clem...@gmail.com Hello, here I have a class A== ^ true Now: a := A new. b := A new. a == b Answers false a perform: #== with: b Answers true Do I have to remove the usage of the byte

[Pharo-dev] Browser focus issue?

2014-01-06 Thread Sebastian Sastre
Hi guys, I'm using the code browser and selecting methods and often I click select a method, lets say for refactoring, and press cmd-x and nothing happens. Sounds like a key events focus issue sebastian o/ Pharo #30668

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Igor Stasenko
On 6 January 2014 10:56, Clément Bera bera.clem...@gmail.com wrote: Hello, here I have a class A== ^ true Now: a := A new. b := A new. a == b Answers false a perform: #== with: b Answers true Do I have to remove the usage of the byte code for #== in the compiler to be able to

Re: [Pharo-dev] XMLParser Problem with SVG

2014-01-06 Thread monty
You can use the DTDCachingEntityResolver to cache responses: resolver := DTDCachingEntityResolver new. then: (XMLDOMParser onFileNamed: 'lion.svg') externalEntityResolver: resolver; parseDocument. or you could just disable validation and external entity resolution altogether: (XMLDOMParser

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Camille Teruel
On 6 janv. 2014, at 10:56, Clément Bera bera.clem...@gmail.com wrote: Hello, here I have a class A== ^ true Now: a := A new. b := A new. a == b Answers false a perform: #== with: b Answers true Do I have to remove the usage of the byte code for #== in the compiler to be

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Alexandre Bergel
You may need to do this if you are using proxies. Alexandre On Jan 6, 2014, at 8:52 AM, Igor Stasenko siguc...@gmail.com wrote: On 6 January 2014 10:56, Clément Bera bera.clem...@gmail.com wrote: Hello, here I have a class A== ^ true Now: a := A new. b := A new. a == b

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Clément Bera
So I tried and it worked. In Opal to remove the usage of #==, I removed it from the special selector array in the method: IRBytecodeGenerator classspecialSelectorsArray ^ #(#+ 1 #- 1 # 1 # 1 #= 1 #= 1 #= 1 #~= 1 #* 1 #/ 1 #\\ 1 #@ 1 #bitShift: 1 #// 1 #bitAnd: 1 #bitOr: 1 #at: 1 #at:put: 2 #size

Re: [Pharo-dev] [pharo-project/pharo-core] 0327dc: 30673

2014-01-06 Thread Nicolai Hess
That's cheating :) 2014/1/6 Esteban Lorenzano esteba...@gmail.com green again… cool :) On 06 Jan 2014, at 10:54, GitHub nore...@github.com wrote: Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: 0327dcd90fc34d638a6286e0b14d64ecfa85a438

Re: [Pharo-dev] [pharo-project/pharo-core] 0327dc: 30673

2014-01-06 Thread Esteban Lorenzano
no cheating :) AsmJit-Tests are uncovering some weird behaviour that has to be fixed… but we cannot stop the stream in the mean time. but yes… it has to be fixed soon :) Esteban On 06 Jan 2014, at 13:46, Nicolai Hess nicolaih...@web.de wrote: That's cheating :) 2014/1/6 Esteban

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Marcus Denker
On 06 Jan 2014, at 13:43, Clément Bera bera.clem...@gmail.com wrote: So I tried and it worked. In Opal to remove the usage of #==, I removed it from the special selector array in the method: IRBytecodeGenerator classspecialSelectorsArray ^ #(#+ 1 #- 1 # 1 # 1 #= 1 #= 1 #= 1 #~= 1

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Camille Teruel
On 6 janv. 2014, at 13:55, Marcus Denker marcus.den...@inria.fr wrote: On 06 Jan 2014, at 13:43, Clément Bera bera.clem...@gmail.com wrote: So I tried and it worked. In Opal to remove the usage of #==, I removed it from the special selector array in the method: IRBytecodeGenerator

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Camille Teruel
On 6 janv. 2014, at 13:30, Alexandre Bergel alexandre.ber...@me.com wrote: You may need to do this if you are using proxies. The fact that #== is not sent is actually really useful for proxies. Because if #== were intercepted by the proxy and forwarded to the target then there is no

Re: [Pharo-dev] [Glass] printString and asString

2014-01-06 Thread Sebastian Sastre
On Jan 6, 2014, at 10:32 AM, Esteban A. Maringolo emaring...@gmail.com wrote: DomainObject from which most of our classes inherit, so this is probably the place to add a 'displayString' for something like this. Not necessarily domain objects only. Some core objects (Blocks,

Re: [Pharo-dev] [Glass] printString and asString

2014-01-06 Thread Otto Behrens
I need for example a string representation of objects generally to display in anchors in our seaside application. We have a class DomainObject from which most of our classes inherit, so this is probably the place to add a 'displayString' for something like this. Not necessarily domain

Re: [Pharo-dev] [Glass] printString and asString

2014-01-06 Thread Esteban A. Maringolo
2014/1/6 Otto Behrens o...@finworks.biz: I need for example a string representation of objects generally to display in anchors in our seaside application. We have a class DomainObject from which most of our classes inherit, so this is probably the place to add a 'displayString' for something

Re: [Pharo-dev] [Glass] printString and asString

2014-01-06 Thread Otto Behrens
I don't really understand why. How would you distinguish between which (kinds of) core objects and which not? Will you not end up with a displayString on Object again? You will not know all the 'why's in advance. The concrete answer is in the next developer's creativity. What you can do

Re: [Pharo-dev] [Glass] printString and asString

2014-01-06 Thread Sebastian Sastre
On Jan 6, 2014, at 12:00 PM, Otto Behrens o...@finworks.biz wrote: I don't really understand why. How would you distinguish between which (kinds of) core objects and which not? Will you not end up with a displayString on Object again? You will not know all the 'why's in advance. The

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Stéphane Ducasse
I will read it. I do not like the UITheme. I was more interested by the pattern. Stef On 06 Jan 2014, at 10:59, Stéphane Ducasse stephane.duca...@inria.fr wrote: Doru do you have a sketch (UML) to see how it works? Because indeed having a pattern for the theme is definitively important

[Pharo-dev] [pharo-project/pharo-core]

2014-01-06 Thread GitHub
Branch: refs/tags/30674 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 45e33a: 30674

2014-01-06 Thread GitHub
Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: 45e33a30e7c61460d3c0f69b5ec5f7f5e29d4720 https://github.com/pharo-project/pharo-core/commit/45e33a30e7c61460d3c0f69b5ec5f7f5e29d4720 Author: Jenkins Build Server bo...@pharo-project.org Date:

[Pharo-dev] Two videos to explain what we do when integrating a fix.

2014-01-06 Thread Stéphane Ducasse
Hi guys I produced two videos to show how simple is an integration now (It could be better see below). This can influence some of you to help us: sven, ben, igor :)? First one: install some scripts http://stephane.ducasse.free.fr/Videos/PharoIntegration/DownloadingScripts.mov Second

Re: [Pharo-dev] [Glass] printString and asString

2014-01-06 Thread Stéphane Ducasse
+ 1 I need for example a string representation of objects generally to display in anchors in our seaside application. We have a class DomainObject from which most of our classes inherit, so this is probably the place to add a 'displayString' for something like this. Not necessarily domain

[Pharo-dev] slice maker and dirty packages

2014-01-06 Thread Nicolai Hess
I have a freshly 30673 image. Made a change in package Nautilus. Create a new slice and Slice Maker marks package Spec-Debugger as dirty. But I don't have any changes in Spec-Debugger.

Re: [Pharo-dev] Browser focus issue?

2014-01-06 Thread Benjamin
did you try cmd+x, cmd+m Ben On 06 Jan 2014, at 08:39, Sebastian Sastre sebast...@flowingconcept.com wrote: Hi guys, I'm using the code browser and selecting methods and often I click select a method, lets say for refactoring, and press cmd-x and nothing happens. Sounds like a key

Re: [Pharo-dev] slice maker and dirty packages

2014-01-06 Thread Benjamin
Take a fresh image, Spec-Debugger is flagged as dirty. Select it and select Pharo-repo. Ask for the changes, it’s not dirty anymore :P Ben On 06 Jan 2014, at 12:20, Nicolai Hess nicolaih...@web.de wrote: I have a freshly 30673 image. Made a change in package Nautilus. Create a new slice

Re: [Pharo-dev] slice maker and dirty packages

2014-01-06 Thread Marcus Denker
On 06 Jan 2014, at 16:42, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: Take a fresh image, Spec-Debugger is flagged as dirty. Select it and select Pharo-repo. Ask for the changes, it’s not dirty anymore :P The reason is a workaround that I integrated that made the package

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Stéphane Ducasse
I tried in latest 3.0 the example and I get a DNU error: 'Some code is setting text attributes length not matching the string size']. when I remove character. stef On 06 Jan 2014, at 00:19, Tudor Girba tu...@tudorgirba.com wrote: Hi again, I added a first shot at theming. The idea is

Re: [Pharo-dev] Browser focus issue?

2014-01-06 Thread Sebastian Sastre
yeah, with the same result sounds like the keyboard events aren't observed so it won't react (mouse is ok) On Jan 6, 2014, at 1:41 PM, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: did you try cmd+x, cmd+m Ben On 06 Jan 2014, at 08:39, Sebastian Sastre

Re: [Pharo-dev] Browser focus issue?

2014-01-06 Thread Benjamin
strange :) Ben On 06 Jan 2014, at 13:16, Sebastian Sastre sebast...@flowingconcept.com wrote: yeah, with the same result sounds like the keyboard events aren't observed so it won't react (mouse is ok) On Jan 6, 2014, at 1:41 PM, Benjamin benjamin.vanryseghem.ph...@gmail.com

Re: [Pharo-dev] XMLParser Problem with SVG

2014-01-06 Thread Igor Stasenko
Hmm, my only question is about default behavior. Before it was not using/resolving any DTD links, and now it is... which means old code which was worked perfectly before, now will stop to function. So, maybe its worth to change the default behavior to be backwards compatible? Also, i'm not sure if

Re: [Pharo-dev] Browser focus issue?

2014-01-06 Thread Sebastian Sastre
similar thing happens with cmd-f to find class after clicking in the packages list If you open a browser and first thing you do is press cmd-f it allows you to find a class? (here isn't reacting even after clicking on a package) On Jan 6, 2014, at 2:22 PM, Benjamin

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Tudor Girba
Hi, I am not sure I understand. You tried to load Spotlight? And you got the error in Spotlight, or in any text? Cheers, Doru On Mon, Jan 6, 2014 at 4:47 PM, Stéphane Ducasse stephane.duca...@inria.frwrote: I tried in latest 3.0 the example and I get a DNU error: 'Some code is setting

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Igor Stasenko
On 6 January 2014 14:21, Camille Teruel camille.ter...@gmail.com wrote: On 6 janv. 2014, at 13:30, Alexandre Bergel alexandre.ber...@me.com wrote: You may need to do this if you are using proxies. The fact that #== is not sent is actually really useful for proxies. Because if #== were

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Stéphane Ducasse
On 06 Jan 2014, at 17:24, Tudor Girba tu...@tudorgirba.com wrote: Hi, I am not sure I understand. You tried to load Spotlight? And you got the error in Spotlight, or in any text? sorry I had to run to catch a kid I did: Gofer new smalltalkhubUser: 'girba' project: 'GPlay';

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Stéphane Ducasse
Ok I read UITheme would act as a theme factory. and each widget delegate to the Themer associated to themselve and the current theme So subclasse of UITheme can propose different themer for the same widget. Now since the themer is a separate class (from the morph it means that you must have

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Esteban A. Maringolo
Theming should be orthogonal to the widget, so subclassing isn't an option. But making it so isn't trivial either. However, instead of subclassing, each widget might have a theme, to which it could delegate it's rendering, or fallback to the default theme in case no custom theming has been

[Pharo-dev] Athens SVG Import

2014-01-06 Thread J.F. Rick
This message is mainly for Igor, who probably already curses every time he sees my name on the development list. But, perhaps others have had some experience with this as well. I'm still working on moving my touch applications to Athens. I am running into a major problem with icons. My

Re: [Pharo-dev] XMLParser Problem with SVG

2014-01-06 Thread Hernán Morales Durand
I vote for don't fetching DTD if you don't need to. See what W3C thinks about DTD fetches: excessive traffic = DDoS attacks http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic/ Cheers, Hernan 2014/1/6 Igor Stasenko siguc...@gmail.com Hmm, my only question is about

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Sebastian Sastre
On Jan 6, 2014, at 3:40 PM, Esteban A. Maringolo emaring...@gmail.com wrote: However, I favor descriptive theming (like CSS) rather than programmed theming (like the actual). this raises an interesting point and hard questions: if themes are programmed instead of easily described... Aren't

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Tudor Girba
Hi Stef, On Mon, Jan 6, 2014 at 5:54 PM, Stéphane Ducasse stephane.duca...@inria.frwrote: Ok I read UITheme would act as a theme factory. and each widget delegate to the Themer associated to themselve and the current theme So subclasse of UITheme can propose different themer for the

Re: [Pharo-dev] [Glass] printString and asString

2014-01-06 Thread Tudor Girba
+1 On Mon, Jan 6, 2014 at 4:19 PM, Stéphane Ducasse stephane.duca...@inria.frwrote: + 1 I need for example a string representation of objects generally to display in anchors in our seaside application. We have a class DomainObject from which most of our classes inherit, so this is

[Pharo-dev] some questions about Object and Spec

2014-01-06 Thread Stéphane Ducasse
Hi ben I was looking at Spec code and I wonder why we have these methods in Object? asWidget ^ self I do not get why any object could get a widget. isSpecAdapter ^ false since an adapter is a subclass of Morph why can we move it to morph? If in the future we have other

Re: [Pharo-dev] some questions about Object and Spec

2014-01-06 Thread Esteban A. Maringolo
So it seems you don't follow your doctor advice. :) Esteban A. Maringolo 2014/1/6 Stéphane Ducasse stephane.duca...@inria.fr: Hi ben I was looking at Spec code and I wonder why we have these methods in Object? asWidget ^ self I do not get why any object could get a widget.

Re: [Pharo-dev] Spotlight Demo

2014-01-06 Thread Sean P. DeNigris
Stéphane Ducasse wrote then type string and remove character by chracter and the last one crashes completely the system Thanks! Spotlight-SeanDeNigris.25 Fixed error when last character removed from text field e.g. by backspace. Thanks for Steph for the report. - Cheers, Sean -- View