Re: [Pharo-project] about DateAndTime =

2010-04-24 Thread Stéphane Ducasse
On Apr 23, 2010, at 10:25 PM, Henrik Johansen wrote: It's still wrong though, in that it is not symmetric... Due to the isKindOf: self class test, and = not being reimplemented in Timestamp (DateAndTime subclass), so Timestamp to DateAndTime comparitions will fail: aDateandTime =

Re: [Pharo-project] about DateAndTime =

2010-04-24 Thread Stéphane Ducasse
it will be :) http://code.google.com/p/pharo/issues/detail?id=2348 On Apr 23, 2010, at 11:18 PM, Brent Pinkney wrote: What is Timestamp? A legacy class that has a Date and a TIme object. Predates ANSI DateAndTime. Should be purged IMHO. Brent

Re: [Pharo-project] about DateAndTime =

2010-04-24 Thread Stéphane Ducasse
Indeed this would be good to fold TimeStamp in its superclass. I was not aware of this situation but now we will fix it. May be some care is needed to keep the nice printout of TimeStamp. If you have some pharo code send it. Stef On Apr 23, 2010, at 11:36 PM, Chris Muller wrote: Hi Stef, I

Re: [Pharo-project] starting to think about 1.1 freeze

2010-04-24 Thread Marcus Denker
On Apr 23, 2010, at 8:30 PM, Schwab,Wilhelm K wrote: Stef, I will soon reach a point of missing a way to do callbacks. Alien/FFI is listed among the goals, and I would very much like to see that happen, especially if callbacks are well supported as a result. But what we should *not*

Re: [Pharo-project] starting to think about 1.1 freeze

2010-04-24 Thread Stéphane Ducasse
ok but this is still good to know what we could wrap up. Now I'm fixing some tests if somebody wants to help there are some problems on weak structures. Stef On Apr 24, 2010, at 10:31 AM, Marcus Denker wrote: On Apr 23, 2010, at 8:30 PM, Schwab,Wilhelm K wrote: Stef, I will soon reach

[Pharo-project] Change Window Size

2010-04-24 Thread Lukas Renggli
I am trying to change the window size in a headless build script on Linux, so that when I open the image on my Mac it appears bigger. DisplayScreen depth: DisplayScreen actualScreenDepth width: 1920 height: 1032 fullscreen: false There is no change though. Any other ideas on how to change

[Pharo-project] Expectation for readFrom:... getting bored to fix bugs.

2010-04-24 Thread stephane ducasse
Hi What are the expectation for DateAndTimereadFrom? On squeak such tests do not pass. testReadFromFoolProofExtension Convenient extension without a time, only a date self debug: #testReadFromFoolProofExtension self assert: ('2008' asDateAndTime printString =

Re: [Pharo-project] Change Window Size

2010-04-24 Thread Stéphane Ducasse
did you check if this is not controlled by the info.plist? Stef On Apr 24, 2010, at 11:38 AM, Lukas Renggli wrote: I am trying to change the window size in a headless build script on Linux, so that when I open the image on my Mac it appears bigger. DisplayScreen depth: DisplayScreen

Re: [Pharo-project] Change Window Size

2010-04-24 Thread Lukas Renggli
No, there is no such setting. The window size seems to somehow depend on the Display bitmap. Lukas On 24 April 2010 12:37, Stéphane Ducasse stephane.duca...@inria.fr wrote: did you check if this is not controlled by the info.plist? Stef On Apr 24, 2010, at 11:38 AM, Lukas Renggli wrote:

[Pharo-project] [update 1.1] #11321

2010-04-24 Thread stephane ducasse
11321 - - Fixing Duration, Date, DateAndTime, Time readFrom: - Issue 1202: Mantis 6764 Duration class#readFrom: bug Stef There are still some bugs to squash ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

[Pharo-project] bug looking for hunter

2010-04-24 Thread stephane ducasse
Hi guys I have to fix my house :) so I could not continue to kill this one on Unstable 11321 '-1199-01-05T20:33:14.321-05:00' asDateAndTime printString - '-1199-01-05T20:33:(14321/1000).321-05:00' STef ___ Pharo-project mailing list

Re: [Pharo-project] Change Window Size

2010-04-24 Thread John M McIntosh
http://wiki.squeak.org/squeak/3862 HostWindowPlugin primitiveHostWindowSizeSet:x:y: might work on other platforms than the mac, your milage and support may vary. On 2010-04-24, at 5:08 AM, Lukas Renggli wrote: No, there is no such setting. The window size seems to somehow depend on the

Re: [Pharo-project] starting to think about 1.1 freeze

2010-04-24 Thread Stéphane Ducasse
Ok when do we code freeze 1.1? mid may? Stef On Apr 23, 2010, at 8:30 PM, Schwab,Wilhelm K wrote: Stef, I will soon reach a point of missing a way to do callbacks. Alien/FFI is listed among the goals, and I would very much like to see that happen, especially if callbacks are well

Re: [Pharo-project] [ANN] Metacello configuration of OSProcess

2010-04-24 Thread Germán Arduino
I find today this mail, because I needed today OSProcess. I need to execute a Unix command and parse the results, then I think I need CommandShell, but when try to install it from Squeaksource it requires PluggableTextController PluggableTextView. In what package they are? (I'm using Pharo

Re: [Pharo-project] Change Window Size

2010-04-24 Thread Lukas Renggli
Thanks for the pointer, the following code works for me: HostWindowProxy basicNew primitiveWindowSize: 1 x: 1024 y: 786 The handle 1 seems to be the main window, don't know if this is always the case? Lukas 2010/4/24 John M McIntosh john...@smalltalkconsulting.com:

Re: [Pharo-project] [ANN] Metacello configuration of OSProcess

2010-04-24 Thread Germán Arduino
Forgot the question, I found a mail from David (subject: OSProcess question) explaining about the broken Morphic interface. Thanks. 2010/4/24 Germán Arduino gardu...@gmail.com: I find today this mail, because I needed today OSProcess. I need to execute a Unix command and parse the results,

Re: [Pharo-project] (Duration seconds: 73994 nanoSeconds: 321000000) seconds

2010-04-24 Thread Stéphane Ducasse
http://code.google.com/p/pharo/issues/detail?id=2352 I proposed a fix and would loved to have feedback. Stef On Apr 24, 2010, at 7:51 PM, Stéphane Ducasse wrote: the problem seems to be due to (Duration seconds: 73994 nanoSeconds: 32100) seconds which returns a fraction

Re: [Pharo-project] FEATURE: User chooses preferred location for MC directory repositories

2010-04-24 Thread David T. Lewis
Yes, the expression OSProcess thisOSProcess environment works on Windows, Mac and Unix/Linux, provided that you have loaded package OSProcess and have the OSProcessPlugin. On Windows you have to build your own OSProcessPlugin. Dave On Thu, Apr 22, 2010 at 04:25:10PM -0300, csra...@bol.com.br

Re: [Pharo-project] Expectation for readFrom:... getting bored to fix bugs.

2010-04-24 Thread Julian Fitzell
On Sat, Apr 24, 2010 at 10:54 AM, stephane ducasse stephane.duca...@free.fr wrote: What are the expectation for DateAndTimereadFrom? Personally, my expectation is that it doesn't exist. :) To believe that there is a single way of parsing strings into dates (or numbers, or anything else) that

Re: [Pharo-project] Expectation for readFrom:... getting bored to fix bugs.

2010-04-24 Thread Nicolas Cellier
2010/4/24 Julian Fitzell jfitz...@gmail.com: On Sat, Apr 24, 2010 at 10:54 AM, stephane ducasse stephane.duca...@free.fr wrote: What are the expectation for DateAndTimereadFrom? Personally, my expectation is that it doesn't exist. :) To believe that there is a single way of parsing strings

Re: [Pharo-project] Expectation for readFrom:... getting bored to fix bugs.

2010-04-24 Thread Stéphane Ducasse
yes but before having that and all the complexity it can bring I suggest to stick with a non fuzzy and customizable parser that does not exist yet and stick to ISO format and parse only this one but well. Stef On Apr 24, 2010, at 9:16 PM, Julian Fitzell wrote: On Sat, Apr 24, 2010 at 10:54

Re: [Pharo-project] Expectation for readFrom:... getting bored to fix bugs.

2010-04-24 Thread Stéphane Ducasse
What I did was to stick with the ISO parsing and added a fuzzy readfrom (the previous one in pharo) so that readFrom: read only iso but well and fuzzy tries to find its way with strange input. Stef On Apr 24, 2010, at 9:48 PM, Nicolas Cellier wrote: 2010/4/24 Julian Fitzell

Re: [Pharo-project] (Duration seconds: 73994 nanoSeconds: 321000000) seconds

2010-04-24 Thread Alexandre Bergel
I commented on the website of google. Alexandre On 24 Apr 2010, at 13:59, Stéphane Ducasse wrote: http://code.google.com/p/pharo/issues/detail?id=2352 I proposed a fix and would loved to have feedback. Stef On Apr 24, 2010, at 7:51 PM, Stéphane Ducasse wrote: the problem seems to be due

Re: [Pharo-project] starting to think about 1.1 freeze

2010-04-24 Thread Schwab,Wilhelm K
Stef, What do you mean by weak structures? Weak collections? Bill -Original Message- From: pharo-project-boun...@lists.gforge.inria.fr [mailto:pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: Saturday, April 24, 2010 3:58 AM To:

Re: [Pharo-project] starting to think about 1.1 freeze

2010-04-24 Thread Henrik Johansen
WeakKeyDictionary, to be specific. To be frank, to me the new implementation in 1.1 seems simply broken. Cheers, Henry Den 24. apr. 2010 kl. 22.58 skrev Schwab,Wilhelm K bsch...@anest.ufl.edu : Stef, What do you mean by weak structures? Weak collections? Bill -Original

Re: [Pharo-project] starting to think about 1.1 freeze

2010-04-24 Thread Schwab,Wilhelm K
Not to be inflammatory, the weak collections have been broken all along. They are not thread safe, and so cannot hope to be adequately cleaned as objects are finalized. My efforts to compensate have been aimed at clearing away nils that are left behind. If the weak collection itself is

[Pharo-project] saving headless image on Mac

2010-04-24 Thread Tudor Girba
Hi, I am trying to integrate a Pharo image into a continuous integration system through the command line. For that I need to spawn the image, do something, save and quit. The problem is that on Mac (using 4.2.2beta1U), when I open the resulting image I get a very tiny window instead of

Re: [Pharo-project] Expectation for readFrom:... getting bored to fix bugs.

2010-04-24 Thread csrabak
Then a more appropriate class would be ISO8601DateAndTime for this method to remain in Pharo? -- Cesar Rabak Em 24/04/2010 16:48, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com escreveu: 2010/4/24 Julian Fitzell : On Sat, Apr 24, 2010 at 10:54 AM, stephane ducasse wrote: What are

Re: [Pharo-project] Expectation for readFrom:... getting bored to fix bugs.

2010-04-24 Thread Igor Stasenko
imo, it should look like: readFrom: stream ^ readFrom: stream pattern: ISO8601 and readFrom:pattern: should parse date by taking an arbitrary pattern into account. We could invent own syntax for a pattern, or use other invented ones (from C, Perl etc), and implement a separate DateTimeParser

Re: [Pharo-project] saving headless image on Mac

2010-04-24 Thread Yanni Chiu
Tudor Girba wrote: Hi, I am trying to integrate a Pharo image into a continuous integration system through the command line. For that I need to spawn the image, do something, save and quit. The problem is that on Mac (using 4.2.2beta1U), when I open the resulting image I get a very tiny