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 > issue http://code.google.com/p/pharo/issues/detail?id=3133 > > On Thu, Oct 21, 2010 at 3:34 PM, Pavel Krivanek > wrote: > > Hi, > > > > This list of dependencies makes Network package dependent on Morphic > > and other

Re: [Pharo-project] [ANN] ImageMap PharoKernel-12196

2010-10-22 Thread Pavel Krivanek
Hi Lukas, I tried to generate the graph for the PharoKernel on a better machine, it consumed 6.2 GB of RAM, now it is running for 20 hours and it is still not complete :-) -- Pavel On Wed, Oct 20, 2010 at 10:53 PM, Pavel Krivanek wrote: > Hi Lukas, > > you can try it: > http://www.grandjihlava.

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 wrote: > 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 all the time ;)

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

2010-10-22 Thread Friedrich Dominicus
Friedrich Dominicus writes: > "Schwab,Wilhelm K" 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. > Are there any usage examples for ODBC and

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 writes: > > > "Schwab,Wilhelm K" 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 p

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

2010-10-22 Thread Friedrich Dominicus
Mariano Martinez Peck writes: > On Fri, Oct 22, 2010 at 10:05 AM, Friedrich Dominicus < > fr...@q-software-solutions.de> wrote: > > Friedrich Dominicus writes: > > > "Schwab,Wilhelm K" writes: > > > >> I haven't had much trouble with it.  You can look in the inbox for > >> M

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 Number>>i

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 writes: > > > On Fri, Oct 22, 2010 at 10:05 AM, Friedrich Dominicus < > > fr...@q-software-solutions.de> wrote: > > > > Friedrich Dominicus writes: > > > > > "Schwab,Wilh

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 > wrote: > Mariano Martinez Peck 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 Friedrich Dominicus
Norbert Hartl 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 with compat lib

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 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 > > li

[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@lists.gforge.i

[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 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo

[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

[Pharo-project] Object>>at: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 Object>>step

2010-10-22 Thread stephane ducasse
Hi guys Object>>stepIn: 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 sho

[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: #interactio

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 wrote: > 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 >>exampleWithPicture

[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 Lava

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 ObjectScanne

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 said: > >> Hi, >> Finally I managed to get one applica

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 object

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 | strea

[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. http:

[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-p

[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 Morph>>preced

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. Morph>>orderedSubmorphs | 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 wrote: > Hi. In the latest OB code, when I put "add category" to a method, and I start > to

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 wrote: > Hi. In the latest OB code, when I put "add category" to a method, and I start > to

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: green.

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 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 change that for t

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: *Associati

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 wrote: > > On Fri, Oct 22, 2010 at 2:46 PM, Lukas Renggli 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 montice

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

2010-10-22 Thread Serge Stinckwich
Great ! 2010/10/22 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 Gof

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 wha

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 : > Great ! > > 20

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

2010-10-22 Thread Tobias Pape
Am 2010-10-22 um 14:48 schrieb Lukas Renggli: > Protocols are lowercase by convention,[…] Just wanted to add, that this depends on platform and environment. For example, the GemStone protocols are Initial Uppercase by default. Personally, I find extension protocols exactly matching their packag

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

2010-10-22 Thread Eliot Miranda
2010/10/22 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 ? > A number, yes. The number answered by CompiledMethod>primitive. > So...if I

[Pharo-project] a useful check

2010-10-22 Thread Eliot Miranda
Hi All, I just stumbled across a bug of mine which is a rare but easy-to-make slip, that of an unused block, e.g. expr ifTrue: [[something that doesn't get done]]. Here's a check for it (I'll check it in as a SysdtemNavigation method and perhaps the RB includes it in its lint tests). There'

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

2010-10-22 Thread Mariano Martinez Peck
2010/10/22 Eliot Miranda > > > 2010/10/22 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 ? >> > > A number, yes. The number answered by

Re: [Pharo-project] About Object and Model

2010-10-22 Thread Hernan Wilkinson
I like the idea... a lot of methods should be removed from Object and the idea of using traits for that is interesting. I support the motion! :-) On Thu, Oct 21, 2010 at 5:06 PM, stephane ducasse wrote: > Hi guys > > I'm reading Object and I have the impression that some methods are in > Object w

Re: [Pharo-project] Object>>at:modify:???

2010-10-22 Thread Hernan Wilkinson
In a 1.1 image I have, the class HttpRequest is using that message... On Thu, Oct 21, 2010 at 4:08 PM, stephane ducasse wrote: > I would like to deprecate the following method since nobody use it. > What do you think? > > Stef > > ___ > Pharo-project ma

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 here)