[Pharo-project] Fwd: About SPDF

2010-08-25 Thread Torsten Bergmann
Hehe, too much legal terms to me.What we could do? Can modify, create a new package, etc? The license of SPDF was not open enough for me in the past - thats why I created the binding to the Haru PDF Library: http://www.squeaksource.com/HPDF.html http://libharu.sourceforge.net This

[Pharo-project] #hasClassNamed

2010-08-25 Thread Torsten Bergmann
Dont know if this is something we should fix: Smalltalk hasClassNamed: 'Object' - true Smalltalk hasClassNamed: #Object - true but Smalltalk hasClassNamed: Object - false Last one may be confusing and could be solved by adding an additional #asString so it returns true too. Bye T. -- Neu:

Re: [Pharo-project] String to Number conversion

2010-08-25 Thread Stéphane Ducasse
Searching in the mails: quote self assert: '123blabla' squeezeOutNumber equals: 123. self assert: 'blabla123' squeezeOutNumber equals: 123. self assert: 'blabla12blabla' squeezeOutNumber equals: 12. self assert: ('12.3bla' squeezeOutNumber -12.3 ) abs 0.0001.

Re: [Pharo-project] 'foo' asTime

2010-08-25 Thread Stéphane Ducasse
Hi nicolas If I understand you correctly we are in sync. Yes readFrom: should read or fails raising an Error and we should use Integer readFrom: 'foo' ifFail: [the default value that the client knows that he wants] Now we integrated your number parsers so this is strange that the behavior is

Re: [Pharo-project] Why StringadaptToNumber: rcvr andSend: selector

2010-08-25 Thread Stéphane Ducasse
+1 On Aug 24, 2010, at 11:07 PM, John M McIntosh wrote: On 2010-08-24, at 2:02 PM, Guillermo Polito wrote: 5 + (1 to: 10) 5 + (1...@5) I would think that becomes 5 to: 15 and 6...@11 BTW don't let 'garbage' asNumber - 0 that just is a hassle when importing character

Re: [Pharo-project] Why StringadaptToNumber: rcvr andSend: selector

2010-08-25 Thread Stéphane Ducasse
:) I accept code. We are in unstable so this is the time to shake the system. On Aug 24, 2010, at 10:17 PM, Nicolas Cellier wrote: N, we dooon't want to. Nicolas 2010/8/24 Guillermo Polito guillermopol...@gmail.com: Do we really want to do 5 + '4' 5 + 'hello' ?

Re: [Pharo-project] #hasClassNamed

2010-08-25 Thread Stéphane Ducasse
On Aug 25, 2010, at 9:43 AM, Torsten Bergmann wrote: Dont know if this is something we should fix: Smalltalk hasClassNamed: 'Object' - true Smalltalk hasClassNamed: #Object - true but Smalltalk hasClassNamed: Object - false Last one may be confusing and could be solved by adding an

Re: [Pharo-project] cog vm

2010-08-25 Thread Stéphane Ducasse
BTW levente what is your company? Atef On Aug 25, 2010, at 2:05 AM, Levente Uzonyi wrote: On Tue, 24 Aug 2010, Sven Van Caekenberghe wrote: On 24 Aug 2010, at 11:42, Levente Uzonyi wrote: These apps use Squeak trunk images (updated regularly, but manually) with Seaside 3.0 (some with

Re: [Pharo-project] Why is readStream on SequenceableCollection and not on Collection?

2010-08-25 Thread Henrik Johansen
Den 24.08.2010 17:58, skrev Nicolas Cellier: 2010/8/24 Schwab,Wilhelm K bsch...@anest.ufl.edu: This cropped up in Dolphin some years back. IIRC, OA's answer was that streams historically worked on only Array and maybe something else. Having said that, they relaxed a constraint

Re: [Pharo-project] String to Number conversion

2010-08-25 Thread Schwab,Wilhelm K
Squeak has a long tradition of silent failures of all types (in the image and the vm), and IMNSHO, it is a **really** bad idea with terrible consequences and needs to be fixed. Default actions that return nil merely push problems down stream to a point where there is no context to figure out

Re: [Pharo-project] Fwd: About SPDF

2010-08-25 Thread Sven Van Caekenberghe
On 25 Aug 2010, at 08:22, Torsten Bergmann wrote: Similar to iText for Java, this allows you change the license and block your government later ;), see the story of Bruno Lowagie [1] Don't you just like Belgium and the Belgians ? We're definitively in one of the most absurd and surreal

Re: [Pharo-project] Philippe's WebClient patches

2010-08-25 Thread Sven Van Caekenberghe
I just had a quick look (comparing pmm's latest package with 1.2 latest) and the merge should be feasable: there are some style differences (asString vs printString) some of my fixes are later/better, some of him are better... It is really amazing that somebody else also put in this effort (a

Re: [Pharo-project] why are Bitmaps instanciated even in headless mode?

2010-08-25 Thread Schwab,Wilhelm K
That makes complete sense, and it is a crushingly disappointing realization :( I'll get over it, but it is all the more reason to eventually strive for the Dolphin session-based model. Then deployed console apps would not have a GUI at all, for real. I will admit that there is something to

Re: [Pharo-project] String to Number conversion

2010-08-25 Thread Stéphane Ducasse
Ok I will have to read it finally :) Stef On Aug 25, 2010, at 11:01 AM, Schwab,Wilhelm K wrote: Squeak has a long tradition of silent failures of all types (in the image and the vm), and IMNSHO, it is a **really** bad idea with terrible consequences and needs to be fixed. Default actions

Re: [Pharo-project] Fwd: About SPDF

2010-08-25 Thread Stéphane Ducasse
Similar to iText for Java, this allows you change the license and block your government later ;), see the story of Bruno Lowagie [1] Don't you just like Belgium and the Belgians ? We're definitively in one of the most absurd and surreal places imaginable. come on france is not that bad

Re: [Pharo-project] Philippe's WebClient patches

2010-08-25 Thread Stéphane Ducasse
Ok sven could publish the merge in the inbox? Since you know your changes, else I will have to understand both :) I just had a quick look (comparing pmm's latest package with 1.2 latest) and the merge should be feasable: there are some style differences (asString vs printString) some of my

Re: [Pharo-project] #hasClassNamed

2010-08-25 Thread Stéphane Ducasse
On Aug 25, 2010, at 10:37 AM, Torsten Bergmann wrote: Stef wrote: well named: means that you expect a name no? When I type and write Object I write down the name of the class Object, dont I? Thats why I'm not sure. I think it is more a philosophical problem... sounds like :) Bye

Re: [Pharo-project] [SPAM] Re: why are Bitmaps instanciated even in headless mode?

2010-08-25 Thread Sven Van Caekenberghe
It depends on how you look at it: a properly configured deployed seaside image will have zero windows and will never popup anything, so it makes no difference. I never use the RFB model, mostly out of principle, a server app should not have a classic gui. The seaside development tools allow you

Re: [Pharo-project] String to Number conversion

2010-08-25 Thread Schwab,Wilhelm K
While I'm on rant, what happened to the good old day when men were men and 2+'2' was not 4? I *still* have bugs in my R data frame code because of that nonsense - just tell me I blew it, please?? Ceorsing integers to floats to make things like 2+Float pi is a good thing, converting strings to

Re: [Pharo-project] Why is readStream on SequenceableCollection and not on Collection?

2010-08-25 Thread Bart Gauquie
On Wed, Aug 25, 2010 at 10:38 AM, Henrik Johansen henrik.s.johan...@veloxit.no wrote: Den 24.08.2010 17:58, skrev Nicolas Cellier: 2010/8/24 Schwab,Wilhelm K bsch...@anest.ufl.edu: This cropped up in Dolphin some years back. IIRC, OA's answer was that streams historically worked on

Re: [Pharo-project] Why is readStream on SequenceableCollection and not on Collection?

2010-08-25 Thread Henrik Johansen
Den 25.08.2010 12:58, skrev Bart Gauquie: On Wed, Aug 25, 2010 at 10:38 AM, Henrik Johansen henrik.s.johan...@veloxit.no mailto:henrik.s.johan...@veloxit.no wrote: Den 24.08.2010 17:58, skrev Nicolas Cellier: 2010/8/24 Schwab,Wilhelm K bsch...@anest.ufl.edu

Re: [Pharo-project] Philippe's WebClient patches

2010-08-25 Thread Sven Van Caekenberghe
I was afraid you were going to ask that ;-) OK, I'll see what I can do later today. I'll have to read up a bit about MC merging. Like here http://www.lukas-renggli.ch/blog/monticello-merging ? Later on Philippe should maybe also have a look at what I did... On 25 Aug 2010, at 12:39, Stéphane

Re: [Pharo-project] Fwd: About SPDF

2010-08-25 Thread Sven Van Caekenberghe
On 25 Aug 2010, at 12:38, Stéphane Ducasse wrote: come on france is not that bad on this level too :) Well, l'Equipe de France did some nice things during the last World Cup in South-Africa. ___ Pharo-project mailing list

Re: [Pharo-project] Philippe's WebClient patches

2010-08-25 Thread Stéphane Ducasse
On Aug 25, 2010, at 1:56 PM, Sven Van Caekenberghe wrote: I was afraid you were going to ask that ;-) but I'm easy going no :) OK, I'll see what I can do later today. I'll have to read up a bit about MC merging. Like here http://www.lukas-renggli.ch/blog/monticello-merging ? Later on

Re: [Pharo-project] 'foo' asTime

2010-08-25 Thread Guillermo Polito
I fixed IntegerreadFrom: yesterday. Its in the inbox http://code.google.com/p/pharo/issues/detail?id=2857q=String%20Numbercolspec=ID%20Type%20Status%20Summary%20Milestone%20Difficulty On Wed, Aug 25, 2010 at 4:32 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi nicolas If I

Re: [Pharo-project] 'foo' asTime

2010-08-25 Thread Stéphane Ducasse
cool now let us see where it breaks and fix. Stef On Aug 25, 2010, at 3:58 PM, Guillermo Polito wrote: I fixed IntegerreadFrom: yesterday. Its in the inbox http://code.google.com/p/pharo/issues/detail?id=2857q=String%20Numbercolspec=ID%20Type%20Status%20Summary%20Milestone%20Difficulty On

Re: [Pharo-project] Why StringadaptToNumber: rcvr andSend: selector

2010-08-25 Thread Guillermo Polito
Wow, morphic doesn't allow me to change the point aritmethic :D. I supossed it ¬¬. Here is already some code: http://code.google.com/p/pharo/issues/detail?id=2858 On Wed, Aug 25, 2010 at 4:35 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: :) I accept code. We are in unstable so this

Re: [Pharo-project] Why StringadaptToNumber: rcvr andSend: selector

2010-08-25 Thread Carla F. Griggio
(5 @ 1 ) + 5 doesn't really bother me :S In fact, when I started working with points, some kind of magic made me write that hoping it would work. 2010/8/25 Guillermo Polito guillermopol...@gmail.com Wow, morphic doesn't allow me to change the point aritmethic :D. I supossed it ¬¬. Here is

Re: [Pharo-project] Philippe's WebClient patches

2010-08-25 Thread Sven Van Caekenberghe
This is the merged version: http://www.squeaksource.com/ADayAtTheBeach/WebClient-Core-SvenVanCaekenberghe.72.mcz Summary Name: WebClient-Core-SvenVanCaekenberghe.72 Author: SvenVanCaekenberghe Time: 25 August 2010, 5:22:16 pm UUID:

Re: [Pharo-project] Philippe's WebClient patches

2010-08-25 Thread Stéphane Ducasse
Excellent! No stress we will batch the improvements :) I do not see it as running after, more doing my little market of improvements. Everything is in the stance. ;D Stef On Aug 25, 2010, at 5:31 PM, Sven Van Caekenberghe wrote: This is the merged version:

Re: [Pharo-project] String to Number conversion

2010-08-25 Thread Stéphane Ducasse
+1 Stef On Aug 25, 2010, at 12:53 PM, Schwab,Wilhelm K wrote: While I'm on rant, what happened to the good old day when men were men and 2+'2' was not 4? I *still* have bugs in my R data frame code because of that nonsense - just tell me I blew it, please?? Ceorsing integers to floats to

Re: [Pharo-project] [SPAM] Re: why are Bitmaps instanciated even in headless mode?

2010-08-25 Thread Stéphane Ducasse
On Aug 25, 2010, at 12:49 PM, Sven Van Caekenberghe wrote: It depends on how you look at it: a properly configured deployed seaside image will have zero windows and will never popup anything, so it makes no difference. I never use the RFB model, mostly out of principle, a server app

[Pharo-project] Fwd: Alien install issue?

2010-08-25 Thread John M McIntosh
Begin forwarded message: From: Marcin Tustin m...@zepler.net Date: August 25, 2010 2:31:16 AM PDT To: John McIntosh john...@smalltalkconsulting.com Cc: A friendly place where any question about pharo is welcome pharo-us...@lists.gforge.inria.fr, pharo-...@lists.gforge.inria.fr Subject:

Re: [Pharo-project] [SPAM] Re: why are Bitmaps instanciated even in headless mode?

2010-08-25 Thread Schwab,Wilhelm K
Options are always good. I would not at all recommend removing the current null display and sound drivers. However, it would be nice to see the image and vm cooperate to emulate Dolphin's session managers and associated deployment design. IMHO Object Arts went a little overboard with

Re: [Pharo-project] Delivery Status Notification (Failure)

2010-08-25 Thread Stéphane Ducasse
Pharo-project@lists.gforge.inria.fr Development Pharo-project@lists.gforge.inria.fr is the dev list may be I used the wrong one. Stef On Aug 25, 2010, at 7:15 PM, John M McIntosh wrote: Well isn't Pharo development - Pharo Development Pharo-project@lists.gforge.inria.fr versus

[Pharo-project] [update 1.2] #12111

2010-08-25 Thread Stéphane Ducasse
12111 - - Issue 1899: MethodDictionary improvement part one. Thanks Levente Uzonyi and Guillermo Polito. - Philipp fixes for WebClient. Thanks Philippe Marshall and Sven Van Caekenberghe. Stef ___ Pharo-project mailing list

Re: [Pharo-project] String to Number conversion

2010-08-25 Thread Schwab,Wilhelm K
Stef, I thought about this a little more: perhaps the conversion got started for eToys? I could see somebody adding that to make them work; the Dolphin guy in me then screams Value-Adapter!!! :) A quick look at my image does not reveal an aspect value adapter and a converter; I thought I had

[Pharo-project] Really funny bug... :(

2010-08-25 Thread stephane ducasse
Hi guys I was integrated the methodDictionary enh of levente. And after I integrated the addition of some methods into String. Then it seems that I got all the packages extending String dirty. I checked the changes and nothing special. The changed methods are not logged in the changeSorter.

Re: [Pharo-project] 'foo' asTime

2010-08-25 Thread Nicolas Cellier
2010/8/25 Stéphane Ducasse stephane.duca...@inria.fr: Hi nicolas If I understand you correctly we are in sync. Yes readFrom: should read or fails raising an Error and we should use Integer readFrom: 'foo' ifFail: [the default value that the client knows that he wants] Now we integrated

[Pharo-project] [update 1.2] #12112

2010-08-25 Thread stephane ducasse
- Issue 1899: MethodDictionary improvement. Part two. - Issue 2560: Convenient methods from Grease for Strings. We should get more of them. We need cool libraries. - Issue 2857: improve String to Number conversion. readFrom: now raises an error instead of silently

Re: [Pharo-project] 'foo' asTime

2010-08-25 Thread Stéphane Ducasse
On Aug 25, 2010, at 10:50 PM, Nicolas Cellier wrote: 2010/8/25 Stéphane Ducasse stephane.duca...@inria.fr: Hi nicolas If I understand you correctly we are in sync. Yes readFrom: should read or fails raising an Error and we should use Integer readFrom: 'foo' ifFail: [the default value that

Re: [Pharo-project] 'foo' asTime

2010-08-25 Thread Stéphane Ducasse
http://code.google.com/p/pharo/issues/detail?id=2859 Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] 'foo' asTime

2010-08-25 Thread Schwab,Wilhelm K
Stef, I was so happy to see somebody ringing the don't return nil; raise an exception alram that I completely missed the time (and date?) connection. Any #readFrom:* method will be inadequate due to formats. Dolphin tackles thiat with type converters, and I have a minimal set that I fully

[Pharo-project] Experimental Cocoa OS-X based Squeak Cog JIT VM 5.8b3.

2010-08-25 Thread John M McIntosh
I've stuck a version (5.8b3) of the cocoa based os-x squeak cog JIT based VM in my experimental folder. http://homepage.mac.com/johnmci/.Public/experimental/Squeak%205.8b3.app.zip This VM is built from the Cog sources (with some minor changes for the iPhone) revised fixed Socket Plugin. It

Re: [Pharo-project] 'foo' asTime

2010-08-25 Thread Schwab,Wilhelm K
I would like to be *able* to use a read method to pull from a stream with other data in it. Whether it needs to be at the end when that is over is open for debate, perhaps left to the caller?? It is an important question. Off the top of my head, it seems that Dolphin somewhat dodges it for

Re: [Pharo-project] 'foo' asTime

2010-08-25 Thread Guillermo Polito
And now, because of fixing IntegerreadFrom:, 'foo' asTime throws an exception and we all are a bit happier :D. On Wed, Aug 25, 2010 at 7:55 PM, Schwab,Wilhelm K bsch...@anest.ufl.eduwrote: I would like to be *able* to use a read method to pull from a stream with other data in it. Whether it

[Pharo-project] DNU after updating 1.2 core image

2010-08-25 Thread Guillermo Polito
When you right click over the category panel and the method category panel in the system browser. ByteString DNU lines Guille ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] Philippe's WebClient patches

2010-08-25 Thread Philippe Marschall
On 25.08.2010 14:04, Stéphane Ducasse wrote: On Aug 25, 2010, at 1:56 PM, Sven Van Caekenberghe wrote: I was afraid you were going to ask that ;-) but I'm easy going no :) OK, I'll see what I can do later today. I'll have to read up a bit about MC merging. Like here

Re: [Pharo-project] Philippe's WebClient patches

2010-08-25 Thread Sven Van Caekenberghe
On 26 Aug 2010, at 07:39, Philippe Marschall wrote: Currently I'm down to one multipart test failure. Did you start from the latest 1.2 merged version ? ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr