Re: [Pharo-project] Tiling windows

2011-05-23 Thread Stéphane Ducasse
send a cs that we can play with it :) On May 22, 2011, at 8:25 PM, laurent laffont wrote: > Hi, > > what do you think of adding this in Pharo ? > > |taskbar tileWindowsBlock| > > tileWindowsBlock := [ > |windows numberOfColumns numberOfRows windowWidth windowHeight| > windows := (World su

Re: [Pharo-project] Smalltalk/Pharo User Group in Spain

2011-05-23 Thread Stéphane Ducasse
Hi rafael Thanks for helping for the translation. are in the spanish speaking mailing-lists? I will probably do a lecture before the esug conference at edinburgh. Are you planning to attend ESUG? Tell us what could be done to help you. Do you have contact with any university where we could hos

[Pharo-project] What happens with named primitives in CM ?

2011-05-23 Thread Mariano Martinez Peck
Hi folks. I was inspecting for example the CM of Integer >> #bitAnd: and the first literal is an array like this: #(#LargeIntegers #primDigitBitAnd 0 17) I understand the first and the second elements, but I don't the third and the fourth. What are they? (0 and 17) because then even seem to cha

[Pharo-project] Complete MethodContext stack for testing

2011-05-23 Thread Mariano Martinez Peck
Hi guys. We need to do some test to serialize a MethodContext to a file, materialize it, and then compare it to the original. One of the problems we face is that some values in the MethodContext are changed so it is difficult to test. So...what we would like is to get a "bottom" MethodContext that

Re: [Pharo-project] Tiling windows

2011-05-23 Thread laurent laffont
On 1.2: Gofer it squeaksource: 'LaurentLSandbox'; version: 'Polymorph-Widgets-LaurentLaffont.388'; load. Then open or move a window so the TaskBar is updated and you have a new "magic" button on bottom left. (note this is hacky actually, I will write a nicer version this week if people like it

Re: [Pharo-project] How to know 'real' extent of a PanelMorph

2011-05-23 Thread Gary Chambers
Try #minExtent, though that won't cater for things with scrollbars. Perhaps worth re-implementing #optimalExtent to deal with those. Regards, Gary - Original Message - From: Cyrille Delaunay To: pharo-project Sent: Friday, May 20, 2011 2:34 PM Subject: [Pharo-project] How to

Re: [Pharo-project] Name spaces

2011-05-23 Thread Göran Krampe
Suggestion: Put the answer to the "Namespaces issue" into the FAQ and then refer to that entry when the subject comes up again. regards, Göran

Re: [Pharo-project] Complete MethodContext stack for testing

2011-05-23 Thread Lukas Renggli
Have a look at the serializer of Colin, it does serialize contexts. Lukas On 23 May 2011 10:33, Mariano Martinez Peck wrote: > Hi guys. We need to do some test to serialize a MethodContext to a file, > materialize it, and then compare it to the original. One of the problems we > face is that som

Re: [Pharo-project] Smalltalk/Pharo User Group in Spain

2011-05-23 Thread Lorenzo Schiavina
Hi Stef, I am in contact with an university in Italy; I do not know what you are meaning with "host a lecture", but if I can help, please tell me. Lorenzo - Original Message - From: "Stéphane Ducasse" To: Cc: "Nicolás Paez" Sent: Monday, May 23, 2011 9:10 AM Subject: Re: [Pharo-pr

Re: [Pharo-project] paragraph replacement?

2011-05-23 Thread Marcus Denker
On May 20, 2011, at 5:15 PM, Tudor Girba wrote: > Hi, > > In NewParagraph>>clickAt: clickPoint for: model controller: editor there is a > call to: > ... > att actOnClickFor: target in: self at: clickPoint editor: editor > ... > > However, actOnClickFor:in:at:editor: does not

[Pharo-project] [update 1.3] #13210

2011-05-23 Thread Marcus Denker
13210 - Issue 4258: Move StandardSourceFileArray to Depcreated13 Issue 4256: Integrating on:fork: -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.

Re: [Pharo-project] paragraph replacement?

2011-05-23 Thread Stéphane Ducasse
I think that it triggers the hyperlinks. Stef On May 23, 2011, at 12:59 PM, Marcus Denker wrote: > > On May 20, 2011, at 5:15 PM, Tudor Girba wrote: > >> Hi, >> >> In NewParagraph>>clickAt: clickPoint for: model controller: editor there is >> a call to: >> ... >> att actOnClickFor:

Re: [Pharo-project] Smalltalk/Pharo User Group in Spain

2011-05-23 Thread Stéphane Ducasse
> Hi Stef, > > I am in contact with an university in Italy; I do not know what you are > meaning with "host a lecture", but if I can help, please tell me. ESUG has a program to send teacher to teach Smalltalk in University or related places. We can use this program if people wants to get lectu

Re: [Pharo-project] Smalltalk/Pharo User Group in Spain

2011-05-23 Thread Jordi Delgado
Hi, We have a small group in Barcelona, see what we do here: http://smalltalk.cat (it is in catalan, but I'm sure this is not a problem). We were born as a group three years ago, and we organized last ESUG conference. We are not in the Madrid area, but I think we can help. Bests, Jordi > >

[Pharo-project] [update 1.3] #13211

2011-05-23 Thread Marcus Denker
13211 - Issue 4257: integration of on:fork: into finalization process -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.

[Pharo-project] [update 1.3] #13212

2011-05-23 Thread Marcus Denker
13212 - Issue 3967: Announcement enhancement -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.

[Pharo-project] Linking Update Mails to issue tracker

2011-05-23 Thread Torsten Bergmann
Dear Santa, These days I find myself constantly copying and pasting issue numbers to find out the details of a new Pharo update. If it is not too complicated/cumbersome I would like to see the following: When a mail on a new Pharo update is generated/written would it be possible to add not on

Re: [Pharo-project] Linking Update Mails to issue tracker

2011-05-23 Thread Igor Stasenko
On 23 May 2011 15:45, Torsten Bergmann wrote: > Dear Santa, > > These days I find myself constantly copying and pasting issue numbers > to find out the details of a new Pharo update. > > If it is not too complicated/cumbersome I would like to see > the following: > > When a mail on a new Pharo upd

Re: [Pharo-project] [update 1.3] #13212

2011-05-23 Thread Igor Stasenko
On 23 May 2011 15:13, Marcus Denker wrote: > 13212 > - > > Issue 3967:     Announcement enhancement > With this update now it is really hard to break Announcements. So, we can consider them as production-ready! :) -- Best regards, Igor Stasenko AKA sig.

Re: [Pharo-project] Complete MethodContext stack for testing

2011-05-23 Thread Mariano Martinez Peck
Thanks Lukas. The problem is not how to serialize them. We are in touch with Colin, and in fact we are correctly serializing MethodContext. My question was about how to get a whole stack that doesn't change and that I can control and use it for testing. And no, I didn't see any test in Colin's seri

Re: [Pharo-project] paragraph replacement?

2011-05-23 Thread Tudor Girba
Hi, Yes, it triggers the hyperlinks, but the method is not implemented and I could not find it in older images either. That is why I asked if someone knows how should the method behave. Cheers, Doru On 23 May 2011, at 13:13, Stéphane Ducasse wrote: > I think that it triggers the hyperlinks.

Re: [Pharo-project] SIXX problem for ScaledDecimal

2011-05-23 Thread Dario Trussardi
> No, no, no. > Don't use Float. > Float are INEXACT > > (( 0.3 asScaledDecimal: 5 )+ (0.3 asScaledDecimal: 5 ) ) *6 = > 3.6s5 > -> FALSE ! > > Nicolas > I don't know what ScaledDecimal expectations are or should be. > By now, you are in charge or performing the rounding operation

[Pharo-project] Questions of understanding

2011-05-23 Thread Friedrich Dominicus
Dear Pharoisten, I have a couple of questions about my understanding about Pharo, the VM and COG. the COG VM is the "normal virtual machine as I understand" At least my Pharo give me: 'Croquet Closure Cog VM [CoInterpreter VMMaker-oscog.35]' It is my understanding that the Cog sources do not cont

Re: [Pharo-project] paragraph replacement?

2011-05-23 Thread Marcus Denker
On May 23, 2011, at 6:27 PM, Tudor Girba wrote: > Hi, > > Yes, it triggers the hyperlinks, but the method is not implemented and I > could not find it in older images either. That is why I asked if someone > knows how should the method behave. In older images (1.2), there is an #actOnClickFo

Re: [Pharo-project] Tiling windows

2011-05-23 Thread laurent laffont
2011/5/23 Gastón Dall' Oglio > Laurent, I attached a package I've added some improvements to your work, I > have found useful. Of course I am not knowledgeable about morph, just added > some and perhaps can serve as inspiration. > Thanks Gastón, I like the idea. It will be a good step forward in

Re: [Pharo-project] Tiling windows

2011-05-23 Thread Sean Allen
I love this. On Sun, May 22, 2011 at 2:25 PM, laurent laffont wrote: > Hi, > > what do you think of adding this in Pharo ? > > |taskbar tileWindowsBlock| > > tileWindowsBlock := [ > |windows numberOfColumns numberOfRows windowWidth windowHeight| > windows := (World submorphs select: [:m| m is

Re: [Pharo-project] SqueakDBX and MacOS X

2011-05-23 Thread Mariano Martinez Peck
On Mon, May 23, 2011 at 8:00 AM, Olivier Auverlot < olivier.auver...@gmail.com> wrote: > Le 22/05/11 15:58, Mariano Martinez Peck a écrit : > > Thanks Olivier. I have updated the website :) > > http://www.squeakdbx.org/MySQL%20and%20PostgreSQL%20for%20mac > > it's cool ;-) > > > Now...do you rem

Re: [Pharo-project] Tiling windows

2011-05-23 Thread Mariano Martinez Peck
Be careful, in 1.3 it hangs my image and I was forced to kill it. 2011/5/23 Gastón Dall' Oglio > Laurent, I attached a package I've added some improvements to your work, I > have found useful. Of course I am not knowledgeable about morph, just added > some and perhaps can serve as inspiration. >

Re: [Pharo-project] SqueakDBX and MacOS X

2011-05-23 Thread Olivier Auverlot
Le 23/05/11 21:05, Mariano Martinez Peck a écrit : I have created an archive with the libraries for MysqL 5.1 and PostgreSQL. You can download it at http://www.auverlot.fr/squeakdbx/squeackDBXlibclients.zip Thanks. Good idea. But "The system cannot find the file specified. " ooops

Re: [Pharo-project] [COTDC] 67 - TextStyleAsFontFamily

2011-05-23 Thread laurent laffont
yep, all font related stuff is hard to understand :( Laurent On Thu, May 19, 2011 at 8:54 PM, Alexandre Bergel wrote: > I had a look at it but I still have no idea what it actually does. Looking > at the sender hasn't helped me much. > > Alexandre > > > On 19 May 2011, at 14:23, laurent laffont

[Pharo-project] [COTDC] 67#2 - MultiDisplayScanner

2011-05-23 Thread laurent laffont
Today: MultiDisplayScanner Comment Of The Day Contest - One Day One Comment Rules: #1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s). #2: If you cannot comment it, deprecate it. Results: http://code.google.com/p/pharo/wiki/Comm

Re: [Pharo-project] [update 1.3] #13212

2011-05-23 Thread Stéphane Ducasse
tx igor! Stef On May 23, 2011, at 4:06 PM, Igor Stasenko wrote: > On 23 May 2011 15:13, Marcus Denker wrote: >> 13212 >> - >> >> Issue 3967: Announcement enhancement >> > > With this update now it is really hard to break Announcements. > So, we can consider them as production-ready!

Re: [Pharo-project] Linking Update Mails to issue tracker

2011-05-23 Thread Stéphane Ducasse
Ok I will try to do that. Stef On May 23, 2011, at 3:45 PM, Torsten Bergmann wrote: > Dear Santa, > > These days I find myself constantly copying and pasting issue numbers > to find out the details of a new Pharo update. > > If it is not too complicated/cumbersome I would like to see > the fo

Re: [Pharo-project] Tiling windows

2011-05-23 Thread Gastón Dall' Oglio
Sorry Mariano, I omitted to say that I tried this on a one-click image 1.2.1, but still is not the code so try to share with you but the idea of separating the types of windows, which I found very useful when I have many windows. 2011/5/23 Mariano Martinez Peck > Be careful, in 1.3 it hangs my i

Re: [Pharo-project] [Pharo-users] [COTDC] 67#2 - MultiDisplayScanner

2011-05-23 Thread Stéphane Ducasse
I'm a class related to the computation of characters counting for text flow. I'm probably wrong but this is what I think I remember from what I guessed :) Stef On May 23, 2011, at 9:40 PM, laurent laffont wrote: > Today: MultiDisplayScanner > > > Comment Of The Day Contest - One Day One Comme

Re: [Pharo-project] Tiling windows

2011-05-23 Thread Mariano Martinez Peck
Yes Gaston, don't worry ;) I didn't have any useful in the image. I just warned in case some other folks do. 2011/5/23 Gastón Dall' Oglio > Sorry Mariano, I omitted to say that I tried this on a one-click image > 1.2.1, but still is not the code so try to share with you but the idea of > separa

Re: [Pharo-project] paragraph replacement?

2011-05-23 Thread Stéphane Ducasse
Yes this would be good because I was always sad to remove it. Now this is not sure that we need the TextURL Stef >> Hi, >> >> Yes, it triggers the hyperlinks, but the method is not implemented and I >> could not find it in older images either. That is why I asked if someone >> knows how should

Re: [Pharo-project] SqueakDBX and MacOS X

2011-05-23 Thread Mariano Martinez Peck
Thanks Olivier. It as a great apport :) I have just updated the website. On Mon, May 23, 2011 at 9:15 PM, Olivier Auverlot < olivier.auver...@gmail.com> wrote: > Le 23/05/11 21:05, Mariano Martinez Peck a écrit : > > I have created an archive with the libraries for MysqL 5.1 and >> PostgreSQL.

[Pharo-project] [update 1.3] #13213

2011-05-23 Thread Stéphane Ducasse
13213 - - Issue 4263: Refactor in DialogWindow to add isResizeable as an instance variable. Thanks Benjamin van ryseghem. http://code.google.com/p/pharo/issues/detail?id=4263 - Issue 4264: Adding Object>>log: to prepare Transcript show: extermination. STef the wild butc

Re: [Pharo-project] [update 1.3] #13213

2011-05-23 Thread Damien Cassou
On Mon, May 23, 2011 at 11:20 AM, Stéphane Ducasse wrote: > 13213 > - > > - Issue 4263:   Refactor in DialogWindow to add isResizeable as an instance > variable. Thanks Benjamin van ryseghem. >        http://code.google.com/p/pharo/issues/detail?id=4263 > > - Issue 4264:   Adding Object>>log:

[Pharo-project] [Ann] Ephemerons for Cog

2011-05-23 Thread Igor Stasenko
I felt a bit hacky today and decided to implement Ephemerons. I tried to run it on both StackVM and Cog VMs, it seems to work fine (at least all 4 tests, which my brain were capable to produce, are green. ;) You can find the VM code on SqS/VMMaker in package: VMMaker-oscog-IgorStasenko.67 Al

Re: [Pharo-project] [Ann] Ephemerons for Cog

2011-05-23 Thread Alexandre Bergel
What is Ephemerons? Alexandre Le 23 mai 2011 à 20:43, Igor Stasenko a écrit : > I felt a bit hacky today and decided to implement Ephemerons. > > I tried to run it on both StackVM and Cog VMs, > it seems to work fine (at least all 4 tests, which my brain were > capable to produce, are green

Re: [Pharo-project] [Ann] Ephemerons for Cog

2011-05-23 Thread Eliot Miranda
On Mon, May 23, 2011 at 5:47 PM, Alexandre Bergel wrote: > What is Ephemerons? > Smart associations that can be used to implement per-object finalization. An ephemeron holds onto some object via its key field in a quasi-weak manner such that the garbage collector will only consider the key live

Re: [Pharo-project] Tiling windows

2011-05-23 Thread Gastón Dall' Oglio
Laurent and corious :) I add some TasklistMorph behavior. With the open list (cmd-rigth or cmd-left): * cmd-up: maximize all windows * cmd-down: minimize all windows * cmd-b: apply SystemBrowser windows's filter * cmd-w: apply Worspace windows's filter * cmd-a: remove windows's filter ** The cmd-

Re: [Pharo-project] [update 1.3] #13213

2011-05-23 Thread Stéphane Ducasse
;) On May 23, 2011, at 11:53 PM, Damien Cassou wrote: > On Mon, May 23, 2011 at 11:20 AM, Stéphane Ducasse > wrote: >> 13213 >> - >> >> - Issue 4263: Refactor in DialogWindow to add isResizeable as an instance >> variable. Thanks Benjamin van ryseghem. >>http://code.google.com/p/

[Pharo-project] [update 1.3] #13214

2011-05-23 Thread Marcus Denker
13214 - Issue 4260: Remove some dead code in Tools http://code.google.com/p/pharo/issues/detail?id=4260 Issue 2564: WeakKeyDictionary finalizeValue tests http://code.google.com/p/pharo/issues/detail?id=2564 Issue 4236: MultiByteFileStream doing double conv

Re: [Pharo-project] Tiling windows

2011-05-23 Thread laurent laffont
2011/5/24 Gastón Dall' Oglio > Laurent and corious :) > > I add some TasklistMorph behavior. With the open list (cmd-rigth or > cmd-left): > * cmd-up: maximize all windows > * cmd-down: minimize all windows > * cmd-b: apply SystemBrowser windows's filter > * cmd-w: apply Worspace windows's filter