Re: [Pharo-project] wrong network packages dependencies

2010-10-22 Thread Luc Fabresse
Great! This is really bad dependencies... #Luc 2010/10/21 Pavel Krivanek pavel.kriva...@gmail.com issue http://code.google.com/p/pharo/issues/detail?id=3133 On Thu, Oct 21, 2010 at 3:34 PM, Pavel Krivanek pavel.kriva...@gmail.com wrote: Hi, This list of dependencies makes Network

Re: [Pharo-project] Pharo problem with Windows 7

2010-10-22 Thread Mariano Martinez Peck
On Thu, Oct 21, 2010 at 10:44 PM, Alexandre Bergel alexan...@bergel.euwrote: This is really strange. We've tried for a while to save a rep on a local repository, on squeaksource, no success... Anyone experienced this already? Yep, several times if you have an antivirus analizing .changes

Re: [Pharo-project] Loading FFI into Pharo?

2010-10-22 Thread Friedrich Dominicus
Friedrich Dominicus fr...@q-software-solutions.de writes: Schwab,Wilhelm K bsch...@anest.ufl.edu writes: I haven't had much trouble with it. You can look in the inbox for Migrate (for how I load it) and the DolphinCompatibility package for things that I have added to the ODBC support.

Re: [Pharo-project] Loading FFI into Pharo?

2010-10-22 Thread Mariano Martinez Peck
On Fri, Oct 22, 2010 at 10:05 AM, Friedrich Dominicus fr...@q-software-solutions.de wrote: Friedrich Dominicus fr...@q-software-solutions.de writes: Schwab,Wilhelm K bsch...@anest.ufl.edu writes: I haven't had much trouble with it. You can look in the inbox for Migrate (for how I load

Re: [Pharo-project] Loading FFI into Pharo?

2010-10-22 Thread Friedrich Dominicus
Mariano Martinez Peck marianop...@gmail.com writes: On Fri, Oct 22, 2010 at 10:05 AM, Friedrich Dominicus fr...@q-software-solutions.de wrote: Friedrich Dominicus fr...@q-software-solutions.de writes: Schwab,Wilhelm K bsch...@anest.ufl.edu writes: I haven't had much

Re: [Pharo-project] What is a primitive method?

2010-10-22 Thread Mariano Martinez Peck
THanks Eliot for the explanation. SoThe compiler checks and for these kind of special quick methods it creates a CompiledMethod that has in its header, a primitive value ? So...if I would be able to put a self halt (but I cannot do it becaue otherwise it won't be quick anymore) in

Re: [Pharo-project] Loading FFI into Pharo?

2010-10-22 Thread Mariano Martinez Peck
On Fri, Oct 22, 2010 at 10:33 AM, Friedrich Dominicus fr...@q-software-solutions.de wrote: Mariano Martinez Peck marianop...@gmail.com writes: On Fri, Oct 22, 2010 at 10:05 AM, Friedrich Dominicus fr...@q-software-solutions.de wrote: Friedrich Dominicus

Re: [Pharo-project] Loading FFI into Pharo?

2010-10-22 Thread Norbert Hartl
On 22.10.2010, at 10:40, Mariano Martinez Peck wrote: On Fri, Oct 22, 2010 at 10:33 AM, Friedrich Dominicus fr...@q-software-solutions.de wrote: Mariano Martinez Peck marianop...@gmail.com writes: On Fri, Oct 22, 2010 at 10:05 AM, Friedrich Dominicus fr...@q-software-solutions.de

Re: [Pharo-project] Loading FFI into Pharo?

2010-10-22 Thread Friedrich Dominicus
Norbert Hartl norb...@hartl.name writes: You don't need a 64 bit image. If you have a 64 bit operating system than you can only execute 64 bit executables. In linux there are 32 bit compatibility libraries. The offer a 32 bit interface and mediate this to 64 bit. So you can run a 32 bit vm

Re: [Pharo-project] Loading FFI into Pharo?

2010-10-22 Thread Mariano Martinez Peck
On Fri, Oct 22, 2010 at 12:42 PM, Friedrich Dominicus fr...@q-software-solutions.de wrote: Norbert Hartl norb...@hartl.name writes: You don't need a 64 bit image. If you have a 64 bit operating system than you can only execute 64 bit executables. In linux there are 32 bit compatibility

[Pharo-project] ObjectScanner

2010-10-22 Thread stephane ducasse
ObjectScanner does not have any user and I was wondering what was its exact purpose? Apparently it is related to uniclasses and there are still some left over. It is not available in CUIS. Stef ___ Pharo-project mailing list

[Pharo-project] Looking for SmartRefStream tests

2010-10-22 Thread stephane ducasse
I thought that there were some tests that covers SmartRefStream. Does anybody have some? because it would be good to have some? Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

[Pharo-project] About Project

2010-10-22 Thread stephane ducasse
Hi guys It would be good to take some decisions about Project. It seems that we need a place to host some information about the current graphical space but we should clean it. I was checking CUIS and Cuis only have 6 class side methods. S. ___

[Pharo-project] Objectat:modify:???

2010-10-22 Thread stephane ducasse
I would like to deprecate the following method since nobody use it. What do you think? Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

[Pharo-project] about Objectstep

2010-10-22 Thread stephane ducasse
Hi guys ObjectstepIn: aWindow ^ self step but step is not defined in Object. I have the i ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

[Pharo-project] About Object and Model

2010-10-22 Thread stephane ducasse
Hi guys I'm reading Object and I have the impression that some methods are in Object while there should be on Model. when: anEventSelector send: aMessageSelector to: anObject exclusive: aValueHolder okToClose taskbarIcon taskbarLabel May be some of these methods

[Pharo-project] some patterns I would like to **kill**

2010-10-22 Thread stephane ducasse
Hi I was reading Pluggable and friends I identified some patterns. The respondsTo plague Examples: color := self fillStyle asColor. (self labelMorph respondsTo: #enabled:) ifTrue: [self labelMorph enabled: self enabled]. (self labelMorph respondsTo:

Re: [Pharo-project] Looking for SmartRefStream tests

2010-10-22 Thread Mariano Martinez Peck
On Thu, Oct 21, 2010 at 8:12 PM, stephane ducasse stephane.duca...@free.frwrote: I thought that there were some tests that covers SmartRefStream. Does anybody have some? because it would be good to have some? No I didnt. I saw just ReferenceStream example2 DataStream example DataStream

[Pharo-project] Pharo article in linuxMag fr

2010-10-22 Thread Stéphane Ducasse
Just to say that recently, there were/are 2 articles about Pharo in GNU Linux Magazine (http://www.gnulinuxmag.com/), a french mag. One was publish in the n130, about a presentation of Pharo. One will be published in one week in the n132, about Gofer. Cheers, --- Jannik Laval

Re: [Pharo-project] ObjectScanner

2010-10-22 Thread Mariano Martinez Peck
Seems to be used by SmartRefStream, but I don't know why. But it is easy to test it. This works: FileStream forceNewFileNamed: 'test' do: [ :stream | stream fileOutClass: nil andObject: 'something'. ]. (FileStream oldFileNamed: 'test') fileInObjectAndCode. Rename

Re: [Pharo-project] Morphic application to production questions

2010-10-22 Thread Stéphane Ducasse
Yes we need to make progress on that level please let us know what you will find and build! On Oct 22, 2010, at 12:29 AM, Esteban Lorenzano wrote: I need to disable the world menu too On 2010-10-21 19:20:48 -0300, Esteban Lorenzano esteba...@gmail.com said: Hi, Finally I managed to get

Re: [Pharo-project] ObjectScanner

2010-10-22 Thread Stéphane Ducasse
On Oct 22, 2010, at 1:47 PM, Mariano Martinez Peck wrote: Seems to be used by SmartRefStream, but I don't know why. But it is easy to test it. This works: FileStream forceNewFileNamed: 'test' do: [ :stream | stream fileOutClass: nil andObject: 'something'. ].

Re: [Pharo-project] ObjectScanner

2010-10-22 Thread Stéphane Ducasse
ObjectScanner.1.cs Description: Binary data Seems to be used by SmartRefStream, but I don't know why. But it is easy to test it. This works: FileStream forceNewFileNamed: 'test' do: [ :stream | stream fileOutClass: nil andObject: 'something'. ].

[Pharo-project] Smells looking at collections

2010-10-22 Thread Nicolás Paez
Hi, I was looking at collection packages and I found that the class Association inherits from Magnitude. It is really strange for me because inheritance represent a is-a relation. So I looked that the documentation of each of these classes: *Association:* I represent a pair of associated

Re: [Pharo-project] ObjectScanner

2010-10-22 Thread Stéphane Ducasse
http://code.google.com/p/pharo/issues/detail?id=3134 On Oct 22, 2010, at 1:47 PM, Mariano Martinez Peck wrote: Seems to be used by SmartRefStream, but I don't know why. But it is easy to test it. This works: FileStream forceNewFileNamed: 'test' do: [ :stream | stream

[Pharo-project] Latest OB, category autocompletion does always a lowercase

2010-10-22 Thread Mariano Martinez Peck
Hi. In the latest OB code, when I put add category to a method, and I start to type...it automatically finds several categories, but it always put lowercase to the name. For example, I have Package called *MyApp and I want to create a method category for thatwhen I type, the option showed is

[Pharo-project] Monticello Browser does not answer to key position

2010-10-22 Thread Mariano Martinez Peck
Pharo core version: 12199 Steps to reproduce: 1. Open Monticello browse 2. Select a package 3. Type a letter, for example, 'm' You will see that the selection doesnt move to the next package starting with m. It would be cool to have the same behavior than when browsing methods or classes.

[Pharo-project] Latest OB code, running single test erases the colors of the rest

2010-10-22 Thread Mariano Martinez Peck
Hi. I I have a TestCase, and with cmd + t, I run a particular test method, all the little small bolls from the other test methods are lost and initialized again with gray :( they would be maintained. thanks mariano ___ Pharo-project mailing list

[Pharo-project] Explicit ordering of submorphs

2010-10-22 Thread Fernando olivero
Currently, the submorph order isn't explicit. Which means that adding several submorphs in a certain order, is no guarantee that they will appear in the desired order when laid out using a LayoutPolicy. Because the #morphicLayoutNumber is used. I've propose the following: 1. Add

Re: [Pharo-project] Explicit ordering of submorphs

2010-10-22 Thread Fernando olivero
In order to provide compatibility with the existing Morphs, i've propose that the if any submorphs does not use #precedence, the behavior defaults to #submorphs. MorphorderedSubmorphs | usePrecedence morphs | usePrecedence := submorphs anySatisfy:[:each| each precedence = 0 ].

Re: [Pharo-project] Latest OB, category autocompletion does always a lowercase

2010-10-22 Thread Lukas Renggli
Protocols are lowercase by convention, that's why it suggests only lowercase variants. You can still manually type something uppercase of course. Lukas On Friday, October 22, 2010, Mariano Martinez Peck marianop...@gmail.com wrote: Hi. In the latest OB code, when I put add category to a method,

Re: [Pharo-project] Latest OB, category autocompletion does always a lowercase

2010-10-22 Thread Lukas Renggli
Protocols are lowercase by convention, that's why it suggests only lowercase variants. You can still manually type something uppercase of course. Lukas On Friday, October 22, 2010, Mariano Martinez Peck marianop...@gmail.com wrote: Hi. In the latest OB code, when I put add category to a method,

Re: [Pharo-project] Explicit ordering of submorphs

2010-10-22 Thread Fernando olivero
To evidence this problem: red := Morph new. red color: Color red. yellow := Morph new. yellow color: Color yellow. green := Morph new. green color: Color green. semaphore := Morph new. semaphore changeTableLayout ; addMorph: red ; addMorph: yellow ; addMorph:

Re: [Pharo-project] Latest OB, category autocompletion does always a lowercase

2010-10-22 Thread Mariano Martinez Peck
On Fri, Oct 22, 2010 at 2:46 PM, Lukas Renggli reng...@gmail.com wrote: Protocols are lowercase by convention, But is this still true for packages extensions?? I always keep case sensitive for *MyPackage (I think this is because before monticello have problems with this) Maybe just a little

Re: [Pharo-project] Smells looking at collections

2010-10-22 Thread Levente Uzonyi
On Fri, 22 Oct 2010, Nicolás Paez wrote: Hi, I was looking at collection packages and I found that the class Association inherits from Magnitude. It is really strange for me because inheritance represent a is-a relation. So I looked that the documentation of each of these classes:

Re: [Pharo-project] Latest OB, category autocompletion does always a lowercase

2010-10-22 Thread Lukas Renggli
On Friday, October 22, 2010, Mariano Martinez Peck marianop...@gmail.com wrote: On Fri, Oct 22, 2010 at 2:46 PM, Lukas Renggli reng...@gmail.com wrote: Protocols are lowercase by convention, But is this still true for packages extensions??  I always keep case sensitive for *MyPackage (I

Re: [Pharo-project] Pharo article in linuxMag fr

2010-10-22 Thread Serge Stinckwich
Great ! 2010/10/22 Stéphane Ducasse stephane.duca...@inria.fr: Just to say that recently, there were/are 2 articles about Pharo in GNU Linux Magazine (http://www.gnulinuxmag.com/), a french mag. One was publish in the n130, about a presentation of Pharo. One will be published in one week in

Re: [Pharo-project] Smells looking at collections

2010-10-22 Thread Mariano Martinez Peck
Maybe I am so naive, but what are the advantages of such Inheritance? The only thing I see is that in all your code of Association you can do self and access to all the behavior of Magnitude. But it is not that difficult to use composition, and write self aMagnitude replace aMagnitude for

Re: [Pharo-project] Pharo article in linuxMag fr

2010-10-22 Thread Germán Arduino
Yes, very interesting. Here at Argentina we have an annual event about free software, this year schedule is: http://www.jornadasregionales.org/jrsl2010v2/schedule/index Could be interesting to present Pharo/Seaside/Pier here, may be next year. 2010/10/22 Serge Stinckwich

Re: [Pharo-project] What is a primitive method?

2010-10-22 Thread Eliot Miranda
2010/10/22 Mariano Martinez Peck marianop...@gmail.com THanks Eliot for the explanation. SoThe compiler checks and for these kind of special quick methods it creates a CompiledMethod that has in its header, a primitive value ? A number, yes. The number answered by

Re: [Pharo-project] What is a primitive method?

2010-10-22 Thread Mariano Martinez Peck
2010/10/22 Eliot Miranda eliot.mira...@gmail.com 2010/10/22 Mariano Martinez Peck marianop...@gmail.com THanks Eliot for the explanation. SoThe compiler checks and for these kind of special quick methods it creates a CompiledMethod that has in its header, a primitive value ? A

Re: [Pharo-project] some patterns I would like to **kill**

2010-10-22 Thread Schwab,Wilhelm K
Stef, #respondsTo: - no argument. More defensive programming (aka masked bugs). Tests like this have their place, but are over-used in Squeak. Using #submorphs *might* be easier to defend. Morphs were designed to be usable in large numbers, and one might argue (playing Devil's Advocate