Re: [Pharo-project] Misc. newbie questions

2012-01-06 Thread Sven Van Caekenberghe
Gerry, On 06 Jan 2012, at 06:41, Gerry Weaver wrote: > 1. VisualWorks - I am doing a lot of thinking about projects that I could use > Smalltalk on. I have a consulting project coming up that might be a good > candidate, but I'm sure I would be required to use a commercial Smalltalk > version

Re: [Pharo-project] [etoys-dev] OpenGL integerated wtih Squeak IDE

2012-01-06 Thread David Corking
Lawson English wrote: > This is a very poor attempt to do what Matt Fulmer did with OpenCobalt: > integrate overlapping Morphic windows with OpenGL. This is a really interesting demo. Do you have a public repository of your code? > Time to revive/revitalize Balloon3D, perhaps? Whatever happened t

Re: [Pharo-project] Misc. newbie questions

2012-01-06 Thread Peter Hugosson-Miller
On 6 jan 2012, at 06:41, "Gerry Weaver" wrote: > 2. There appear to be some tool choices in the Pharo image. I would like to > be able to create a class and it's methods in an editor in one go. I like > being able to see all of the class code at once. Is there a way to do this? > I just want

[Pharo-project] localization

2012-01-06 Thread Milan Mimica
Hello! I notice many of you are not native English speakers so you must have asked yourself this question before: what are the possibilities of localization in Pharo? I'm mostly interested in date and time localization. I notice there is a class named ChronologyConstants, and sure I can modify it,

Re: [Pharo-project] localization

2012-01-06 Thread Henrik Johansen
On Jan 6, 2012, at 12:03 08PM, Milan Mimica wrote: > Hello! > > I notice many of you are not native English speakers so you must have asked > yourself this question before: what are the possibilities of localization in > Pharo? I'm mostly interested in date and time localization. I notice ther

Re: [Pharo-project] localization

2012-01-06 Thread Hernán Morales Durand
2012/1/6 Henrik Johansen : > > > For Date/Time localization, there's the LocalePlugin which returns some of > the OS's current Locale's values. > An interface to the CLDR would be nice, but no one's invested in that yet as > far as I know. > I have invested in CLDR parsers, if someone has interest

Re: [Pharo-project] Prematurely ending document on purpose with the SAXParser

2012-01-06 Thread Stéphane Ducasse
Is the XMLPulParser part of XMLSupport? Stef I wonder what to do in this kind of situations. See 1) XML is one of the most important packages 2) There is no mailng-list for xml ? 3) Nobody replies and 4) You want latest updates from that package Any sugge

Re: [Pharo-project] Prematurely ending document on purpose with the SAXParser

2012-01-06 Thread Hernán Morales Durand
No, it's a separate package http://www.squeaksource.com/XMLPullParser.html 2012/1/6 Stéphane Ducasse : > Is the XMLPulParser part of XMLSupport? > > Stef >

Re: [Pharo-project] Prematurely ending document on purpose with the SAXParser

2012-01-06 Thread Norbert Hartl
Am 06.01.2012 um 13:09 schrieb Stéphane Ducasse: > Is the XMLPulParser part of XMLSupport? > No, it is completely different. It is based on the old parser. I wanted to combine those two but didn't find the time to do it. Ken also did a pull parser based Sixx which would be worth to integrate.

Re: [Pharo-project] Misc. newbie questions

2012-01-06 Thread Lukas Renggli
On 6 January 2012 11:20, Peter Hugosson-Miller wrote: > On 6 jan 2012, at 06:41, "Gerry Weaver" wrote: > > 2. There appear to be some tool choices in the Pharo image. I would like to > be able to create a class and it's methods in an editor in one go. I like > being able to see all of the class c

Re: [Pharo-project] About ConfigurationOfXMLSupport

2012-01-06 Thread Norbert Hartl
Am 05.01.2012 um 20:52 schrieb Stéphane Ducasse: > > On Jan 4, 2012, at 3:59 PM, Norbert Hartl wrote: > >> >> Am 29.12.2011 um 23:04 schrieb Stéphane Ducasse: >> >>> Hi guys >>> >>> I thought that XMLSupport was about parsing and XMLNode traversal. >>> So why the configuration contains refer

[Pharo-project] Bug in #pointsTo: ?

2012-01-06 Thread Mariano Martinez Peck
Hi guys. Levente recommended us to integrate the new version of #pointsTo:, and I did it. But not I think I found a bug. The method is: pointsTo: anObject "Answers true if I hold a reference to anObject, or false otherwise. Or stated another way: Answers true if the garbage collector would fail t

Re: [Pharo-project] About ConfigurationOfXMLSupport

2012-01-06 Thread Stéphane Ducasse
> > I disagree. There is more than one way to create a mess. One is what you > describe! The other one you get by over-engineering things. If you create a > configuration for every package that consist of one file only you will get > tons of configuration files with hard to maintain dependencie

Re: [Pharo-project] About ConfigurationOfXMLSupport

2012-01-06 Thread Norbert Hartl
Am 06.01.2012 um 14:13 schrieb Stéphane Ducasse: >> >> I disagree. There is more than one way to create a mess. One is what you >> describe! The other one you get by over-engineering things. If you create a >> configuration for every package that consist of one file only you will get >> tons

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-06 Thread Levente Uzonyi
On Fri, 6 Jan 2012, Mariano Martinez Peck wrote: Hi guys. Levente recommended us to integrate the new version of #pointsTo:, and I did it. But not I think I found a bug. The method is: pointsTo: anObject "Answers true if I hold a reference to anObject, or false otherwise. Or stated another way:

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-06 Thread Stéphane Ducasse
On Jan 6, 2012, at 2:46 PM, Levente Uzonyi wrote: > Of course, but I'd check for the class equality first, because it's faster > (yeah, i know you turned off inlining of #class, but Cog doesn't care about > that ;)). Another thing that you should add (besides tests of course) is > SmallInteger

Re: [Pharo-project] About ConfigurationOfXMLSupport

2012-01-06 Thread Stéphane Ducasse
On Jan 6, 2012, at 2:36 PM, Norbert Hartl wrote: > > Am 06.01.2012 um 14:13 schrieb Stéphane Ducasse: > >>> >>> I disagree. There is more than one way to create a mess. One is what you >>> describe! The other one you get by over-engineering things. If you create a >>> configuration for every

Re: [Pharo-project] About ConfigurationOfXMLSupport

2012-01-06 Thread Guillermo Polito
Stef, Maybe a good distribution is to have one configuration per project and then configuration of xml support only gathers those projects as a facade... We are doing that in dbxtalk :P On Fri, Jan 6, 2012 at 11:04 AM, Stéphane Ducasse wrote: > > On Jan 6, 2012, at 2:36 PM, Norbert Hartl wrote

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-06 Thread Levente Uzonyi
On Fri, 6 Jan 2012, Stéphane Ducasse wrote: On Jan 6, 2012, at 2:46 PM, Levente Uzonyi wrote: Of course, but I'd check for the class equality first, because it's faster (yeah, i know you turned off inlining of #class, but Cog doesn't care about that ;)). Another thing that you should add (b

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-06 Thread Mariano Martinez Peck
On Fri, Jan 6, 2012 at 2:59 PM, Stéphane Ducasse wrote: > > On Jan 6, 2012, at 2:46 PM, Levente Uzonyi wrote: > > > Of course, but I'd check for the class equality first, because it's > faster (yeah, i know you turned off inlining of #class, but Cog doesn't > care about that ;)). Ok, makes sense

Re: [Pharo-project] About ConfigurationOfXMLSupport

2012-01-06 Thread Norbert Hartl
Am 06.01.2012 um 15:04 schrieb Stéphane Ducasse: > > On Jan 6, 2012, at 2:36 PM, Norbert Hartl wrote: > >> >> Am 06.01.2012 um 14:13 schrieb Stéphane Ducasse: >> I disagree. There is more than one way to create a mess. One is what you describe! The other one you get by over-e

Re: [Pharo-project] happy new year plus cogdroid news

2012-01-06 Thread Guido Stepken
Hi! With Android 4.0 the complete design has changed a lot. Icons have become scalable, have direct path to different service daemons, written in C++, Java, Linux increasingly becomes an "event machine" reacting on streams coming over BlueTooth, Wifi, Wimax, USBGPS, GSM, SMS, UMTS, HSPA+, LTE, in

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-06 Thread Levente Uzonyi
On Fri, 6 Jan 2012, Mariano Martinez Peck wrote: On Fri, Jan 6, 2012 at 2:59 PM, Stéphane Ducasse wrote: On Jan 6, 2012, at 2:46 PM, Levente Uzonyi wrote: Of course, but I'd check for the class equality first, because it's faster (yeah, i know you turned off inlining of #class, but Cog doe

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-06 Thread Mariano Martinez Peck
2012/1/6 Levente Uzonyi > On Fri, 6 Jan 2012, Mariano Martinez Peck wrote: > > On Fri, Jan 6, 2012 at 2:59 PM, Stéphane Ducasse >> **wrote: >> >> >>> On Jan 6, 2012, at 2:46 PM, Levente Uzonyi wrote: >>> >>> Of course, but I'd check for the class equality first, because it's >>> faster (ye

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-06 Thread Levente Uzonyi
On Fri, 6 Jan 2012, Mariano Martinez Peck wrote: 2012/1/6 Levente Uzonyi On Fri, 6 Jan 2012, Mariano Martinez Peck wrote: On Fri, Jan 6, 2012 at 2:59 PM, Stéphane Ducasse **wrote: On Jan 6, 2012, at 2:46 PM, Levente Uzonyi wrote: Of course, but I'd check for the class equality first,

Re: [Pharo-project] Bug in #pointsTo: ?

2012-01-06 Thread Mariano Martinez Peck
> >>> Thanks Levente. However, #pointersToExcept: does a GC at the >> beginning... >> so.. am I missing something? >> > > Yes, at the beginning The MethodContexts are created after that GC. > > But those MC shouldn't be excluded by the instVar objectsToAlwaysExclude ? objectsToAlwaysExclude :=

[Pharo-project] Refactor class > Accessors not working for instvars with leading numeric

2012-01-06 Thread Ben Coman
For the following accepted class definition (so presumably leading zero is a valid instance variable name), from the menu selecting "Refactor class > Accessors" fails with "Error: End of statement list encountered EpcimIdentifiedObject subclass: #EpcimBaseVoltage instanceVariableNames: '0nV

Re: [Pharo-project] Refactor class > Accessors not working for instvars with leading numeric

2012-01-06 Thread Lukas Renggli
The Smalltalk syntax does not allow leading numbers in variable or selectors. Prefix it with an underscore. It is strange that you could add an instance-variable with that name in the first place. Lukas On 6 January 2012 16:34, Ben Coman wrote: > For the following accepted class definition (so

Re: [Pharo-project] happy new year plus cogdroid news

2012-01-06 Thread Alain Rastoul
Hi Guido, Sure, nobody will redevelop the google stack or APIs, just interface with it. The Pharo image have an event mechanism, and IMHO it should be possible to make some interface to Andoid APIs. If i'm correct the Nexus is a phone, not a tablet ? Alain "Guido Stepken" a écrit dans le messa

[Pharo-project] happy new year plus cogdroid news

2012-01-06 Thread Dimitry Golubovsky
Hi, I saw responses from several people, will answer to everybody in a single message. Stéphane Ducasse wrote: >> It would be nice if a smaller base Pharo image could be built such >> way, so it could be embedded with VM and distributed together. > yes we are working slowly but steadily on that

[Pharo-project] What should be in a configuration?

2012-01-06 Thread Dale Henrichs
Obviously, this post is inspired by the 'About ConfigurationOfXMLSupport' thread[1] on the pharo list. Many of the issues with ConfigurationOfXMLSupport are mired in a history that goes back to the very beginnings of Metacello. In the end ConfigurationOfXMLSupport is what it is... When it comes

Re: [Pharo-project] About ConfigurationOfXMLSupport

2012-01-06 Thread Stéphane Ducasse
> > Maybe a good distribution is to have one configuration per project and then > configuration of xml support only gathers those projects as a facade... We > are doing that in dbxtalk :P probably. > > > > Am 06.01.2012 um 14:13 schrieb Stéphane Ducasse: > > > >>> > >>> I disagree. There is

Re: [Pharo-project] happy new year plus cogdroid news

2012-01-06 Thread Schwab,Wilhelm K
I'm not sure about the RAM, and the battery is dead at the moment. The screen is small, but I specifically wanted a handheld that was *not* a phone; it was a fairly big disappointment for software reasons. I would forget my head w/o my Palm 32, but the world is changing. As an aside, I might

[Pharo-project] Cog+linux: external module not found

2012-01-06 Thread Schwab,Wilhelm K
Eliot, I'm getting an external library not found error on Ubuntu lucid with the Cog vm from http://gforge.inria.fr/frs/download.php/29042/CogVM-Unix-13307.zip The library lives in /usr/lib and is known to ldconfig by the name that I have specified in #moduleName. What do I need to do? B

Re: [Pharo-project] Cog+linux: external module not found

2012-01-06 Thread Eliot Miranda
On Fri, Jan 6, 2012 at 2:32 PM, Schwab,Wilhelm K wrote: > Eliot, > > I'm getting an external library not found error on Ubuntu lucid with the > Cog vm from > > http://gforge.inria.fr/frs/download.php/29042/CogVM-Unix-13307.zip > > The library lives in /usr/lib and is known to ldconfig by the

Re: [Pharo-project] Cog+linux: external module not found

2012-01-06 Thread ncalexan
Schwab,Wilhelm K wrote > > The library lives in /usr/lib and is known to ldconfig by the name that I > have specified in #moduleName. Hi Wilhelm, On Mac OS X, there is a SqueakDebug setting in the CogVM.app/Contents/Info.plist file. Setting it to 1 helpfully prints out where the VM is trying

Re: [Pharo-project] Cog+linux: external module not found

2012-01-06 Thread Schwab,Wilhelm K
Nick, I don't know, but such a setting would be MOST welcome. Bill From: pharo-project-boun...@lists.gforge.inria.fr [pharo-project-boun...@lists.gforge.inria.fr] on behalf of ncalexan [ncalexan...@gmail.com] Sent: Friday, January 06, 2012 5:40 PM To:

Re: [Pharo-project] Cog+linux: external module not found

2012-01-06 Thread Schwab,Wilhelm K
Eliot, I'm getting the same error with your latest VM. Any ideas? Bill From: Eliot Miranda [eliot.mira...@gmail.com] Sent: Friday, January 06, 2012 5:37 PM To: Schwab,Wilhelm K Cc: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Cog+linux: exte

Re: [Pharo-project] Cog+linux: external module not found

2012-01-06 Thread Paul DeBruicker
Schwab,Wilhelm K wrote > > Eliot, > > I'm getting the same error with your latest VM. Any ideas? > > Bill > > > When I had trouble with this it was a 64bit vs 32bit library mismatch on a 64bit OS. Is it a 32 bit or 64 bit OS? Is the library you're trying to reach 32bit? 64bit libs won

Re: [Pharo-project] Cog+linux: external module not found

2012-01-06 Thread Schwab,Wilhelm K
Paul, The library is 32 bit - I build it from source because it ships with 64 bit binaries. Bill From: pharo-project-boun...@lists.gforge.inria.fr [pharo-project-boun...@lists.gforge.inria.fr] on behalf of Paul DeBruicker [pdebr...@gmail.com] Sent: Fr

Re: [Pharo-project] Cog+linux: external module not found

2012-01-06 Thread Eliot Miranda
On Fri, Jan 6, 2012 at 4:18 PM, Schwab,Wilhelm K wrote: > Paul, > > The library is 32 bit - I build it from source because it ships with 64 > bit binaries. > Then try changing your LD_LIBRARY_PATH to /lib32:/usr/lib32:$LD_LIBRARY_PATH and see if that helps (if you have /lib32 & /usr/lib32 that is

Re: [Pharo-project] Cog+linux: external module not found

2012-01-06 Thread Schwab,Wilhelm K
Eliot, There is no /lib32 or /usr/lib32. As a double check, locate lib32 returns nothing. I put the library in /usr/lib, which is what I have done on two other Lucid systems. ldconfig shows it registered there. What's next? Bill From: pharo-project-

[Pharo-project] Smart bracketing annoyance

2012-01-06 Thread Ben Coman
I am still coming to terms with the "smart" bracketing where pressing the open-round-bracket key also produces a close-round-bracket, but I'm working on adapting. One thing that is ultra-annoying and that could be smarter is where for instance, being new to Smalltalk, I have got my round and