Re: [Pharo-project] How do we manage todos?
You can always use the built in Enhancement tag. Cheers, Doru On Sep 28, 2008, at 9:40 PM, Stéphane Ducasse wrote: I would prefer a bugtraker with a tag todo that are not bug fixes. Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com www.tudorgirba.com/blog Problem solving efficiency grows with the abstractness level of problem understanding. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] DependencyBrowser
I am also interested in that for Moose. Cheers, Doru On Oct 12, 2008, at 4:09 PM, Serge Stinckwich wrote: 2008/10/12 Damien Cassou [EMAIL PROTECTED]: On Sat, Oct 11, 2008 at 11:16 AM, Alexandre Bergel [EMAIL PROTECTED] wrote: I think this tool deserve to have an entry in ScriptLoader Generating dev images takes me a lot of time. It seems pharo developers are not interested in pharo-dev images so I will stop generating them. I'm interested by pharo-dev images. -- Serge Stinckwich Smalltalkers do: [:it | All with: Class, (And love: it)] http://blog.doesnotunderstand.org/ ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com www.tudorgirba.com/blog One cannot do more than one can do. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Pharo 1.0 release plan
I like that, too :)DoruOn Nov 3, 2008, at 5:32 PM, Adrian Lienhard wrote:ok, then, let's take Pharo-Core and Pharo.AdrianOn Nov 3, 2008, at 17:07 , Ramon Leon wrote:Marcus Denker wrote:I vote for Pharo-Core and Pharo.+0.9Pharo-Core and Pharo-Dev (+0.1)MichaelDitto, I like Core and Dev better, but Pharo-Core and Pharo aren't badeither.Ramon Leonhttp://onsmalltalk.com___Pharo-project mailing listPharo-project@lists.gforge.inria.frhttp://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project___Pharo-project mailing listPharo-project@lists.gforge.inria.frhttp://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project--www.tudorgirba.comwww.tudorgirba.com/blog"Every now and then stop and ask yourself if the war you're fighting is the right one." ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] a couple of issues
Hi, There are a couple of issues I stumbled across in Pharo and I thought of reporting them: - When loading Pier and Seaside there were some Warnings related to some instance variables that blocked the loading. This is a rather strange behavior, especially given that they are warnings. I would rather prefer to have the list of warnings presented to me at the end because like this I can have the code loading without me needing to pay attention. - Apple+B does not work on methods anymore. - Apple+W does not close the window. It seems that the outside window never gets the focus it needs to act on this shortcut. - Spawning a browser takes quite a long time. - Why is mouse swap preference not enabled by default? Otherwise, it looks really nice :) Cheers, Doru -- www.tudorgirba.com Every successful trip needs a suitable vehicle. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] a couple of issues
I see. That means that the preference was put there just so that the code does not take the difference between platforms into account. I think that is wrong, and the check should be done internally and automatically. Cheers, Doru On Feb 2, 2009, at 11:06 AM, Damien Cassou wrote: On Sun, Feb 1, 2009 at 1:32 AM, Tudor Girba gi...@iam.unibe.ch wrote: I am not sure I understand why this would be a problem for MS Windows. Or maybe I just do not understand the meaning of the swap option. Because on Windows, the right mouse button does what people expect (= what you get with the middle mouse button by default on MacOS and Linux). If you change the preference value, MacOS and Linux users will be happy (right mouse button for context menu), but Windows users won't appreciate (they would have to use their middle click to open the context menu). -- Damien Cassou http://damiencassou.seasidehosting.st ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com The coherence of a trip is given by the clearness of the goal. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Presentation
Hi Alex, Nice idea. Here are a couple of things you could improve: - I would replace the front page with just the logo and the url. - use a white background because the screenshots will look better as they have behind a white background that looks ugly due to the rounded corners of the windows (see for example slide 7). Alternatively, you can set the background of the Pharo image to black and retake the screenshots. - in any case, the motif of the background does not help. - Slide 2 is weak and tries to do too much. The text in parantehesis is not needed given that your audience is new to Smalltalk. What is Seaside? I would suggest to make a dedicated part of the presentation Seaside-related. The line in italics is confusing. Use the logo instead of the title. Remove the bullets :). In fact, I would make the logo appear in the same place as on the previous slide, and only change the text. This will make for a nice transition. - the screenshot on Slide 6 has too small fonts - On Slide 7 you use centered text, but everywhere else you use left aligned text. Stick with the left aligned one. - Slide 12 needs some alignment. I would suggest to make the blue regions the same width and height and align them vertically. - Also, I think the font of the white text from slide 12 is not as light as it is in the rest of the presenation. - The explanations in red on slide 13,14 are too small and not useful like that. Make them bigger. Potentially you can also use animations to introduce them. - Slide 15 needs alignment - The green in Slide 16 does not look nice :). If you replace the black background with white, it will fit better. Alternatively, you have to edit the diagram again in omnigraffle and make white on black. In fact you anyway have to edit the diagram to make it use the same font as in the presentation (which I guess is Helvetica Neue Light) - Slide 17 needs alignment - Slide 18 is not so useful. - Slide 19 has too many messages. What does that mean strong community? - No need for the bullets on Slide 20 - I won't say anything about slide 21 :) Cheers, Doru On Feb 5, 2009, at 7:43 PM, Bill Schwab wrote: Alexandre, That looks pretty good. I would probably get the debugger to show itself off just a bit more - if only by picking a more interesting method for the source pane. You said that all control structures are realized by message sends. Is that really true? What about optimizations? Bill Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254 Email: bsch...@anest.ufl.edu Tel: (352) 273-6785 FAX: (352) 392-7029 alexandre.ber...@inria.fr 02/05/09 12:32 PM Dear List, I made up few slides about Pharo. The goal is to give in less than 30 minutes the essence of Pharo. Please, shot at me, I like that :-) http://bergel.eu/Pharo.pdf I provide the .keynote upon request. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Every thing should have the right to be different. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Implementing a DSM in SqMondrian
Hi Alex, I guess this mail was supposed to go to moose-dev :). I was wondering what the best strategy to implement a DSM will be. I see two different strategies: 1 - Building the matrix with a formsBuilder. Each shape contained in the builder is therefore a cell of the DSM. 2 - Having an MONode for each cell. I would favor option 2, but a special layout need to be defined right? In VW, you can already do that through formsBuilder asLayout. I used this to build an evolution matrix that can be align nicely both vertically and horizontally. Doru, you said once that Mondrian may not be adapted to build DSM. I do not understand (or even feel) why. May you comment on this? You can, but it won't be optimal. The reason is that for any significantly sized matrix you will not want to represent each cell as an object, but rather treat the complete matrix as one smart object that optimizes the display. Cheers, Doru Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. -- www.tudorgirba.com Beauty is where we see it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Announcements for Pharo?
That would be cool, actually. I have used the implementation of Lukas and it works just fine. Lukas pointed out that the VW Announcements code is under Cincom copyright. The nice thing about his implementation is that he did not look at the code. He only implemented the idea as he read it from the blog :). Cheers, Doru On 26 Feb 2009, at 01:28, Michael Rueger wrote: Hi all, should we add Announcements as part of the core image? And if so, which of the existing implementations? Michael ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Presenting is storytelling. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Fwd: [ANN] 10245
Hi Stef, Some more happy people :) - Announcements-lr.10 from souce.lukas-renggli.ch Is when:do: not missing for compatibility with VW? I published a new version containing when:do: Announcements-tg.11. Cheers, Doru - Polymorph Fix for button for currently selected window in tasklist not being differentiated when using Watery 2 theme. - ContextPart argument - merged Issue 608: saveAsNewVersion uses deprecated method - Issue 614: MessageTally broken when invoked from non-GUI process (e.g., in Seaside code) Now we should really kill more items for the milestone 1.0. Stef (now breakfast :) ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Yesterday is a fact. Tomorrow is a possibility. Today is a challenge. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Fwd: [ANN] 10245
I copied it to the repository of Lukas as well. Does anyone actually see a reason for not having the when:do: method in as an alias to on:do:? I do not see it. Cheers, Doru On 1 Mar 2009, at 10:19, Stéphane Ducasse wrote: Where? It was not on lukas source and in the pharo inbox Then there is the question to be sure if we want it. On Mar 1, 2009, at 9:56 AM, Tudor Girba wrote: Hi Stef, Some more happy people :) - Announcements-lr.10 from souce.lukas-renggli.ch Is when:do: not missing for compatibility with VW? I published a new version containing when:do: Announcements-tg.11. Cheers, Doru - Polymorph Fix for button for currently selected window in tasklist not being differentiated when using Watery 2 theme. - ContextPart argument - merged Issue 608: saveAsNewVersion uses deprecated method - Issue 614: MessageTally broken when invoked from non-GUI process (e.g., in Seaside code) Now we should really kill more items for the milestone 1.0. Stef (now breakfast :) ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Yesterday is a fact. Tomorrow is a possibility. Today is a challenge. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Be rather willing to give than demanding to get. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] [Vm-dev] newDelta 0 failed in sqUnixMemory -- Was Re: Incompatibility between Pharo and Seasidehosting
Hi, I am not sure I got the summary of the discussion related to the problem of deploying a Pharo-based image to seasidehosting. Is there any conclusion? Cheers, Doru -- www.tudorgirba.com Problem solving efficiency grows with the abstractness level of problem understanding. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] [ANN] OCompletion improves the accuracy of eCompletion
Hi, I have been using OCompletion since a day and I like it's non- intrusive smartness :). I have two style comments: - I would perhaps change is the background color of the hint to be something less ... Squeak-ish :). - The font of the hints is not affected by my overall font settings. Perhaps using the balloon-help font would work better. Cheers, Doru On 13 May 2009, at 16:07, Romain Robbes wrote: Hi Damien, Yes, it also works on OmniBrowser, and in the Workspace too. I suppose it works also with Traits, but I haven't tried. Cheers, Romain On May 13, 2009, at 3:26 PM, Damien Cassou wrote: Hi Romain, On Tue, May 12, 2009 at 10:07 AM, Romain Robbes romain.rob...@lu.unisi.ch wrote: To install it on Squeak or Pharo, simply execute the following line in your image: Installer squeaksource project: 'OCompletion'; install: 'OCLoader' thank you very much, this is great news. Could you please create a package on Universes? How-to: http://wiki.squeak.org/squeak/5899 Does it work on OB (see ECompletionOmniBrowser)? and what about the workspace ? Does it work with traits too (see ECompletionTraits)? Thank you -- Damien Cassou http://damiencassou.seasidehosting.st Lambdas are relegated to relative obscurity until Java makes them popular by not having them. James Iry ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Romain Robbes http://www.inf.unisi.ch/phd/robbes ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Value is always contextual. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] invalid utf8 input detected
Hi, Recently I encounter a strange error: - I sometimes get a debugger due to some problems in my code - when I try to investigate the trace, I get another debugger saying that Invalid utf8 input detected' This second debugger I can investigate, the previous not. It looks like something got messed up with the text conversion of the sources. I am working on 10306 using the 4.1.1b2 VM on Mac. The code I am working on is loaded from squeaksource (Moose, Glamour, Mondrian). Anyone can confirm this problem? Cheers, Doru ERROR REPORT '17 May 2009 2:05:50 am VM: Mac OS - intel - 1056 - Squeak3.8.1 of ''28 Aug 2006'' [latest update: #6747] Squeak VM 4.1.1b2 Image: Pharo0.1 [Latest update: #10306] SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir /Users/girba/Work/Code/squeakingmoose Trusted Dir /foobar/tooBar/forSqueak/bogus Untrusted Dir /Users/girba/Library/Preferences/Squeak/Internet/My Squeak UTF8TextConverter(Object)error: Receiver: an UTF8TextConverter Arguments and temporary variables: aString:''Invalid utf8 input detected'' Receiver''s instance variables: an UTF8TextConverter UTF8TextConvertererrorMalformedInput Receiver: an UTF8TextConverter Arguments and temporary variables: Receiver''s instance variables: an UTF8TextConverter UTF8TextConverternextFromStream: Receiver: an UTF8TextConverter Arguments and temporary variables: aStream:MultiByteFileStream: ''/Users/girba/Work/Code/ squeakingmoose/moose.chan...etc... character1: $ value1: 160 character2: Character tab value2: 9 unicode:nil character3: Character tab value3: 9 character4: nil value4: nil Receiver''s instance variables: an UTF8TextConverter MultiByteFileStreamnext Receiver: MultiByteFileStream: ''/Users/girba/Work/Code/ squeakingmoose/moose.changes'' Arguments and temporary variables: char: nil secondChar: nil state: nil Receiver''s instance variables: MultiByteFileStream(PositionableStream)nextChunk Receiver: MultiByteFileStream: ''/Users/girba/Work/Code/ squeakingmoose/moose.changes'' Arguments and temporary variables: terminator: $! out:a WriteStream ''doesNotUnderstand: aMessage Handle the fact that there ...etc... ch: Character cr Receiver''s instance variables: MultiByteFileStream(PositionableStream)nextChunkText Receiver: MultiByteFileStream: ''/Users/girba/Work/Code/ squeakingmoose/moose.changes'' Arguments and temporary variables: string: nil runsRaw:nil strm: nil runs: nil peek: nil pos:nil Receiver''s instance variables: [] in RemoteStringtext Receiver: a RemoteString Arguments and temporary variables: theFile:MultiByteFileStream: ''/Users/girba/Work/Code/ squeakingmoose/moose.chan...etc... Receiver''s instance variables: sourceFileNumber: 2 filePositionHi: 10007336 BlockClosureensure: Receiver: [closure] in RemoteStringtext Arguments and temporary variables: aBlock: [closure] in RemoteStringtext returnValue:nil b: nil Receiver''s instance variables: outerContext: RemoteStringtext startpc:72 numArgs:0 RemoteStringtext Receiver: a RemoteString Arguments and temporary variables: theFile:MultiByteFileStream: ''/Users/girba/Work/Code/ squeakingmoose/moose.chan...etc... Receiver''s instance variables: sourceFileNumber: 2 filePositionHi: 10007336 CompiledMethodgetSourceFromFile Receiver: a CompiledMethod (838) Arguments and temporary variables: position: 10007336 Receiver''s instance variables: a CompiledMethod (838) CompiledMethodmethodNode Receiver: a CompiledMethod (838) Arguments and temporary variables: aClass: Object source: nil Receiver''s instance variables: a CompiledMethod (838) [] in DebuggerMethodMap classforMethod: Receiver: DebuggerMethodMap Arguments and temporary variables: aMethod:a CompiledMethod (838) Receiver''s instance variables: superclass: Object methodDict: a
Re: [Pharo-project] invalid utf8 input detected
: TextMorphForEditView(TextMorph)handleKeystroke: KeyboardEventsentTo: TextMorphForEditView(Morph)handleEvent: TextMorphForEditView(Morph)handleFocusEvent: [] in HandMorphsendFocusEvent:to:clear: [] in PasteUpMorphbecomeActiveDuring: BlockClosureon:do: PasteUpMorphbecomeActiveDuring: HandMorphsendFocusEvent:to:clear: HandMorphsendEvent:focus:clear: HandMorphsendKeyboardEvent: HandMorphhandleEvent: HandMorphprocessEvents [] in WorldStatedoOneCycleNowFor: Array(SequenceableCollection)do: WorldStatehandsDo: WorldStatedoOneCycleNowFor: WorldStatedoOneCycleFor: PasteUpMorphdoOneCycle [] in Project classspawnNewProcess [] in BlockClosurenewProcess On May 17, 2009, at 11:13 AM, Nicolas Cellier wrote: One solution would be to use getSource rather than getSourceFromFile. However, with following code I detected no problem in my pharo- core copy (10281 updated to 10306) | problems total | problems := OrderedCollection new. total := 0. SystemNavigation default allBehaviorsDo: [:cl | total := total + 1]. 'Searching UTF-8 Problems...' displayProgressAt: Sensor cursorPoint from: 0 to: total during: [:bar | | count | count := 0. SystemNavigation default allBehaviorsDo: [:cl | bar value: (count := count + 1). cl selectors do: [:sel | [(cl compiledMethodAt: sel) getSourceFromFile] ifError: [ var value: 'last problem found ' , cl name , '#' , sel. problems add: cl-sel. ^problems 2009/5/17 Stéphane Ducasse stephane.duca...@inria.fr: yes same here. On May 17, 2009, at 2:10 AM, Tudor Girba wrote: Hi, Recently I encounter a strange error: - I sometimes get a debugger due to some problems in my code - when I try to investigate the trace, I get another debugger saying that Invalid utf8 input detected' This second debugger I can investigate, the previous not. It looks like something got messed up with the text conversion of the sources. I am working on 10306 using the 4.1.1b2 VM on Mac. The code I am working on is loaded from squeaksource (Moose, Glamour, Mondrian). Anyone can confirm this problem? Cheers, Doru ERROR REPORT '17 May 2009 2:05:50 am VM: Mac OS - intel - 1056 - Squeak3.8.1 of ''28 Aug 2006'' [latest update: #6747] Squeak VM 4.1.1b2 Image: Pharo0.1 [Latest update: #10306] SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir /Users/girba/Work/Code/squeakingmoose Trusted Dir /foobar/tooBar/forSqueak/bogus Untrusted Dir /Users/girba/Library/Preferences/Squeak/Internet/ My Squeak UTF8TextConverter(Object)error: Receiver: an UTF8TextConverter Arguments and temporary variables: aString:''Invalid utf8 input detected'' Receiver''s instance variables: an UTF8TextConverter UTF8TextConvertererrorMalformedInput Receiver: an UTF8TextConverter Arguments and temporary variables: Receiver''s instance variables: an UTF8TextConverter UTF8TextConverternextFromStream: Receiver: an UTF8TextConverter Arguments and temporary variables: aStream:MultiByteFileStream: ''/Users/girba/ Work/Code/ squeakingmoose/moose.chan...etc... character1: $ value1: 160 character2: Character tab value2: 9 unicode:nil character3: Character tab value3: 9 character4: nil value4: nil Receiver''s instance variables: an UTF8TextConverter MultiByteFileStreamnext Receiver: MultiByteFileStream: ''/Users/girba/Work/Code/ squeakingmoose/moose.changes'' Arguments and temporary variables: char: nil secondChar: nil state: nil Receiver''s instance variables: MultiByteFileStream(PositionableStream)nextChunk Receiver: MultiByteFileStream: ''/Users/girba/Work/Code/ squeakingmoose/moose.changes'' Arguments and temporary variables: terminator: $! out:a WriteStream ''doesNotUnderstand: aMessage Handle the fact that there ...etc... ch: Character cr Receiver''s instance variables: MultiByteFileStream(PositionableStream)nextChunkText Receiver: MultiByteFileStream: ''/Users/girba/Work/Code/ squeakingmoose/moose.changes'' Arguments and temporary variables: string: nil runsRaw:nil strm: nil runs: nil peek: nil pos:nil Receiver''s instance variables: [] in RemoteStringtext Receiver: a RemoteString Arguments and temporary variables: theFile:MultiByteFileStream: ''/Users/girba/ Work/Code/ squeakingmoose/moose.chan...etc... Receiver''s instance variables: sourceFileNumber: 2 filePositionHi: 10007336 BlockClosureensure: Receiver: [closure] in RemoteStringtext Arguments
[Pharo-project] Symbolvalue:value:
Hi, Given that in Pharo we have Symbolvalue:, are there any reasons not to have also Symbolvalue: anObject value: anotherObject ^ anObject perform: self with: anotherObject ? Cheers, Doru -- www.tudorgirba.com Yesterday is a fact. Tomorrow is a possibility. Today is a challenge. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Symbolvalue:value:
Hi, (I apologize for the length of this email, but I did not know how to write it shorter) My reasons for Symbolvalue: and similar selectors are as follows. A Symbol is already used for several things, like a key in an identity dictionary. But it is also used for parameterizing a mapping to a piece of behavior via a #symbol stored in a selector instance variable. Later on, this behavior is invoked as: receiver perform: selector. This is for example what happens in Morphic, and as a result I am forced to create a Model class for a custom Morph, even if the customization is minimal. This is a hurdle when you are in prototype mode. Instead I would like to have the possibility to prototype faster using blocks instead of creating a class. This is possible right now for unary methods when the framework does not directly do a perform:, but instead it does: selector value: receiver. Ideally, we could have in the entire image only one place in which perform: is called explicitly: in the Symbolvalue:. In this way, I will be able to pass a block everywhere a unary method is now used. This is something we do when we want to use Smalltalk for scripting (Mondrian and Glamour do that) The same case goes for Symbolvalue:value: . These two methods would already cover the large majority of performs, but I would argue for adding all possibilities of evaluating blocks and of performing messages. If you are asking what do Symbol have to do with blocks from a conceptual point of view, I will answer that when the Symbol is used as a selector, it does nothing else but point to a piece of behavior. Given that a Block does a similar thing, you can as well treat them in a polymorphic fashion. The only question that remains in my mind is: does a modification like this has the possibility of harming? I am not aware of a case in which it is harmful, but who knows. Cheers, Doru On 20 May 2009, at 15:27, Stéphane Ducasse wrote: value from Object and value: from Symbol are different with value: on Symbol you can do self collect: #abs :) On May 20, 2009, at 2:48 PM, Gabriel Cotelli wrote: +1 to the removal of value: from Symbol On Wed, May 20, 2009 at 3:18 AM, Lukas Renggli reng...@gmail.com wrote: Given that in Pharo we have Symbolvalue:, are there any reasons not to have also Symbolvalue: anObject value: anotherObject ^ anObject perform: self with: anotherObject While Symbol#value: is at the border of being readable, Symbol#value:value: is even worse. It is not immediately obvious what it does. The order of receiver and arguments is hardcoded and thus the construct cannot be applied in most cases without rewriting the code. Fixed arguments cannot be given. Instead of adding new #value: variants, we should rather try to remove Object#value which is a real nightmare ;-) Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Problem solving efficiency grows with the abstractness level of problem understanding. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] call for hypercool fonts configuration
Hi, I would like to give my script, but I do not know how to specify in a script that I want 'Helvetica Neue' - 'Condensed Bold'. Can anyone help? Cheers, Doru On 22 May 2009, at 09:56, Adrian Lienhard wrote: Hm, they look perfect on my machine. I just took a 10310 Pharo core and run the script I posted. Do you have the BitBlt plugin added to the VM? Are the DejaVu fonts blurry as well? Can you post a screenshot? Adrian On May 21, 2009, at 23:30 , Stéphane Ducasse wrote: this is strange because I get a blurry result. Should I have a specific package loaded: I tried with the 10309dev and the VM has the FT2plugin Stef On May 21, 2009, at 10:50 PM, Adrian Lienhard wrote: On Mac, I like the following special configuration with Lucida Grande and Monaco: font := LogicalFont familyName: 'Lucida Grande' pointSize: 10. codeFont := LogicalFont familyName: 'Monaco' pointSize: 9. codeFont realFont instVarNamed: 'cachedAscent' put: 12. codeFont realFont instVarNamed: 'cachedHeight' put: 15. titleFont := LogicalFont familyName: 'Lucida Grande' pointSize: 10. Preferences setListFontTo: font. Preferences setMenuFontTo: font. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: font. Preferences setSystemFontTo: font. Preferences setWindowTitleFontTo: titleFont. Note, I manually tweak the font description of Monaco to decrease the line height (don't know why it is that high by default). With the above, it looks more like in TextMate for example. Adrian On May 21, 2009, at 10:55 , Hilaire Fernandes wrote: Yes, anythinks related to look'nd feel and overal design in Pharo could help a lot to make people to LOVE Pharo or to RUN AWAY. Regarding fonts, I found myself sharing the point previously expressed there: -Dejavu Sans for all but code -Code with Dedavu mono The issue about Freetype efficiency, related to submorph damage code related previsouly, is of equal importance. If the user experience is ungood -- slowness -- people will RUN AWAY. 2009/5/21 Stéphane Ducasse stephane.duca...@inria.fr: Hi guys on one hand we should have a good default for fonts - default means ok for license and work on platforms Now I would LOVE to get a list of cool combination of fonts even if they are proprietary. So I hope that I woke the designer in you :) Send snippets in the following forms that we can impress girls :) font := LogicalFont familyName: 'DejaVu Sans' pointSize: 10. codeFont := LogicalFont familyName: 'DejaVu Sans Mono' pointSize: 9. titleFont := LogicalFont familyName: 'DejaVu Serif' pointSize: 11. Preferences setListFontTo: font. Preferences setMenuFontTo: font. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: font. Preferences setSystemFontTo: font. Preferences setWindowTitleFontTo: titleFont. Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo- project -- http://blog.ofset.org/hilaire ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Every thing has its own flow. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] call for hypercool fonts configuration
Thanks a lot, that worked fine. So, I list below my settings. I use Helvetica Neue Condensed Bold for menus and window title. Because I use it there, I also use Helvetica Neue regular for the rest of the items, except for the code where I use Monaco: menuFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). titleFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 14 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). codeFont := LogicalFont familyName: 'Monaco' pointSize: 8. defaultFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9. Preferences setSystemFontTo: defaultFont. Preferences setListFontTo: defaultFont. Preferences setFlapsFontTo: menuFont. Preferences setHaloLabelFontTo: defaultFont. Preferences setMenuFontTo: menuFont. Preferences setWindowTitleFontTo: titleFont. Preferences setBalloonHelpFontTo: defaultFont. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: defaultFont. Cheers, Doru On 22 May 2009, at 11:05, Andrew Tween wrote: Hi From: gi...@iam.unibe.ch To: Pharo-project@lists.gforge.inria.fr Date: Fri, 22 May 2009 10:19:44 +0200 Subject: Re: [Pharo-project] call for hypercool fonts configuration Hi, I would like to give my script, but I do not know how to specify in a script that I want 'Helvetica Neue' - 'Condensed Bold'. Can anyone help? codeFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). Preferences setCodeFontTo: codeFont. Cheers, Andy Cheers, Doru On 22 May 2009, at 09:56, Adrian Lienhard wrote: Hm, they look perfect on my machine. I just took a 10310 Pharo core and run the script I posted. Do you have the BitBlt plugin added to the VM? Are the DejaVu fonts blurry as well? Can you post a screenshot? Adrian On May 21, 2009, at 23:30 , Stéphane Ducasse wrote: this is strange because I get a blurry result. Should I have a specific package loaded: I tried with the 10309dev and the VM has the FT2plugin Stef On May 21, 2009, at 10:50 PM, Adrian Lienhard wrote: On Mac, I like the following special configuration with Lucida Grande and Monaco: font := LogicalFont familyName: 'Lucida Grande' pointSize: 10. codeFont := LogicalFont familyName: 'Monaco' pointSize: 9. codeFont realFont instVarNamed: 'cachedAscent' put: 12. codeFont realFont instVarNamed: 'cachedHeight' put: 15. titleFont := LogicalFont familyName: 'Lucida Grande' pointSize: 10. Preferences setListFontTo: font. Preferences setMenuFontTo: font. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: font. Preferences setSystemFontTo: font. Preferences setWindowTitleFontTo: titleFont. Note, I manually tweak the font description of Monaco to decrease the line height (don't know why it is that high by default). With the above, it looks more like in TextMate for example. Adrian On May 21, 2009, at 10:55 , Hilaire Fernandes wrote: Yes, anythinks related to look'nd feel and overal design in Pharo could help a lot to make people to LOVE Pharo or to RUN AWAY. Regarding fonts, I found myself sharing the point previously expressed there: -Dejavu Sans for all but code -Code with Dedavu mono The issue about Freetype efficiency, related to submorph damage code related previsouly, is of equal importance. If the user experience is ungood -- slowness -- people will RUN AWAY. 2009/5/21 Stéphane Ducasse stephane.duca...@inria.fr: Hi guys on one hand we should have a good default for fonts - default means ok for license and work on platforms Now I would LOVE to get a list of cool combination of fonts even if they are proprietary. So I hope that I woke the designer in you :) Send snippets in the following forms that we can impress girls :) font := LogicalFont familyName: 'DejaVu Sans' pointSize: 10. codeFont := LogicalFont familyName: 'DejaVu Sans Mono' pointSize: 9. titleFont := LogicalFont familyName: 'DejaVu Serif' pointSize: 11. Preferences setListFontTo: font. Preferences setMenuFontTo: font. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: font. Preferences setSystemFontTo: font. Preferences setWindowTitleFontTo: titleFont. Stef ___ Pharo-project mailing
Re: [Pharo-project] call for hypercool fonts configuration
I certainly will not try to enforce it on anybody :). The reason why I used condensed bold for the title and menu is that because we have so many of them both windows and menus, it is difficult to identify them. So, I want to quickly spot the title when hovering over the tabs at the bottom which is not accomplishable. As for the menus, I just find them easier to grasp in this way. Anyway, I added this script together with a version for demos (larger font size) here: MCHttpRepository location: 'http://www.squeaksource.com/setup' user: '' password: '' Cheers, Doru On 22 May 2009, at 13:20, Adrian Lienhard wrote: gaah, these fat menus and title fonts look awful to me! ;) Adrian On May 22, 2009, at 12:48 , Stéphane Ducasse wrote: :) looks cool to me. thanks doru. Picture 7.pdfPicture 6.pdf On May 22, 2009, at 12:24 PM, Tudor Girba wrote: Thanks a lot, that worked fine. So, I list below my settings. I use Helvetica Neue Condensed Bold for menus and window title. Because I use it there, I also use Helvetica Neue regular for the rest of the items, except for the code where I use Monaco: menuFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). titleFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 14 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). codeFont := LogicalFont familyName: 'Monaco' pointSize: 8. defaultFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9. Preferences setSystemFontTo: defaultFont. Preferences setListFontTo: defaultFont. Preferences setFlapsFontTo: menuFont. Preferences setHaloLabelFontTo: defaultFont. Preferences setMenuFontTo: menuFont. Preferences setWindowTitleFontTo: titleFont. Preferences setBalloonHelpFontTo: defaultFont. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: defaultFont. Cheers, Doru On 22 May 2009, at 11:05, Andrew Tween wrote: Hi From: gi...@iam.unibe.ch To: Pharo-project@lists.gforge.inria.fr Date: Fri, 22 May 2009 10:19:44 +0200 Subject: Re: [Pharo-project] call for hypercool fonts configuration Hi, I would like to give my script, but I do not know how to specify in a script that I want 'Helvetica Neue' - 'Condensed Bold'. Can anyone help? codeFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). Preferences setCodeFontTo: codeFont. Cheers, Andy Cheers, Doru On 22 May 2009, at 09:56, Adrian Lienhard wrote: Hm, they look perfect on my machine. I just took a 10310 Pharo core and run the script I posted. Do you have the BitBlt plugin added to the VM? Are the DejaVu fonts blurry as well? Can you post a screenshot? Adrian On May 21, 2009, at 23:30 , Stéphane Ducasse wrote: this is strange because I get a blurry result. Should I have a specific package loaded: I tried with the 10309dev and the VM has the FT2plugin Stef On May 21, 2009, at 10:50 PM, Adrian Lienhard wrote: On Mac, I like the following special configuration with Lucida Grande and Monaco: font := LogicalFont familyName: 'Lucida Grande' pointSize: 10. codeFont := LogicalFont familyName: 'Monaco' pointSize: 9. codeFont realFont instVarNamed: 'cachedAscent' put: 12. codeFont realFont instVarNamed: 'cachedHeight' put: 15. titleFont := LogicalFont familyName: 'Lucida Grande' pointSize: 10. Preferences setListFontTo: font. Preferences setMenuFontTo: font. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: font. Preferences setSystemFontTo: font. Preferences setWindowTitleFontTo: titleFont. Note, I manually tweak the font description of Monaco to decrease the line height (don't know why it is that high by default). With the above, it looks more like in TextMate for example. Adrian On May 21, 2009, at 10:55 , Hilaire Fernandes wrote: Yes, anythinks related to look'nd feel and overal design in Pharo could help a lot to make people to LOVE Pharo or to RUN AWAY. Regarding fonts, I found myself sharing the point previously expressed there: -Dejavu Sans for all but code -Code with Dedavu mono The issue about Freetype efficiency, related to submorph damage code related previsouly, is of equal importance. If the user experience is ungood -- slowness -- people will RUN AWAY. 2009/5/21 Stéphane Ducasse stephane.duca...@inria.fr: Hi guys on one hand we should have a good default for fonts - default means ok for license and work on platforms Now I would LOVE to get a list of cool combination of fonts
Re: [Pharo-project] call for hypercool fonts configuration
It would help indeed, but I still want to be able to distinguish between the many windows when they are open, and when I hover over the buttons at the bottom (in the preview) so I will still stick to the condensed bold font :). Doru On 22 May 2009, at 15:38, Adrian Lienhard wrote: On May 22, 2009, at 14:19 , Tudor Girba wrote: I certainly will not try to enforce it on anybody :). The reason why I used condensed bold for the title and menu is that because we have so many of them both windows and menus, it is difficult to identify them. So, I want to quickly spot the title when hovering over the tabs at the bottom which is not accomplishable. Then we should probably fix that the label of the tab shows what you need to know (I assume the class name). Currently, the class name is prefixed with System Browser: , which uses up all the space as soon as one has several open windows. I would just remove System Browser: in the window title and tab label and only print the class name. Would that help? Adrian As for the menus, I just find them easier to grasp in this way. Anyway, I added this script together with a version for demos (larger font size) here: MCHttpRepository location: 'http://www.squeaksource.com/setup' user: '' password: '' Cheers, Doru On 22 May 2009, at 13:20, Adrian Lienhard wrote: gaah, these fat menus and title fonts look awful to me! ;) Adrian On May 22, 2009, at 12:48 , Stéphane Ducasse wrote: :) looks cool to me. thanks doru. Picture 7.pdfPicture 6.pdf On May 22, 2009, at 12:24 PM, Tudor Girba wrote: Thanks a lot, that worked fine. So, I list below my settings. I use Helvetica Neue Condensed Bold for menus and window title. Because I use it there, I also use Helvetica Neue regular for the rest of the items, except for the code where I use Monaco: menuFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). titleFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 14 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). codeFont := LogicalFont familyName: 'Monaco' pointSize: 8. defaultFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9. Preferences setSystemFontTo: defaultFont. Preferences setListFontTo: defaultFont. Preferences setFlapsFontTo: menuFont. Preferences setHaloLabelFontTo: defaultFont. Preferences setMenuFontTo: menuFont. Preferences setWindowTitleFontTo: titleFont. Preferences setBalloonHelpFontTo: defaultFont. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: defaultFont. Cheers, Doru On 22 May 2009, at 11:05, Andrew Tween wrote: Hi From: gi...@iam.unibe.ch To: Pharo-project@lists.gforge.inria.fr Date: Fri, 22 May 2009 10:19:44 +0200 Subject: Re: [Pharo-project] call for hypercool fonts configuration Hi, I would like to give my script, but I do not know how to specify in a script that I want 'Helvetica Neue' - 'Condensed Bold'. Can anyone help? codeFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). Preferences setCodeFontTo: codeFont. Cheers, Andy Cheers, Doru On 22 May 2009, at 09:56, Adrian Lienhard wrote: Hm, they look perfect on my machine. I just took a 10310 Pharo core and run the script I posted. Do you have the BitBlt plugin added to the VM? Are the DejaVu fonts blurry as well? Can you post a screenshot? Adrian On May 21, 2009, at 23:30 , Stéphane Ducasse wrote: this is strange because I get a blurry result. Should I have a specific package loaded: I tried with the 10309dev and the VM has the FT2plugin Stef On May 21, 2009, at 10:50 PM, Adrian Lienhard wrote: On Mac, I like the following special configuration with Lucida Grande and Monaco: font := LogicalFont familyName: 'Lucida Grande' pointSize: 10. codeFont := LogicalFont familyName: 'Monaco' pointSize: 9. codeFont realFont instVarNamed: 'cachedAscent' put: 12. codeFont realFont instVarNamed: 'cachedHeight' put: 15. titleFont := LogicalFont familyName: 'Lucida Grande' pointSize: 10. Preferences setListFontTo: font. Preferences setMenuFontTo: font. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: font. Preferences setSystemFontTo: font. Preferences setWindowTitleFontTo: titleFont. Note, I manually tweak the font description of Monaco to decrease the line height (don't know why it is that high by default). With the above, it looks more like in TextMate for example. Adrian On May 21, 2009, at 10:55 , Hilaire Fernandes wrote: Yes, anythinks
Re: [Pharo-project] invalid utf8 input detected
Hi, I attached here a DNU implementation I took from an older image. After filing this one in, I can debug DNU problems. Cheers, Doru Object-doesNotUnderstand.st Description: Binary data On 23 May 2009, at 13:04, Stéphane Ducasse wrote: I did the following (Object#doesNotUNderstand) getSourceFromFile and I get an invalid Now when I take another method (BalloonFontTest#testDefaultFont) I do not get problem. I will reread carefully the mails of nicolas to try to understand, I do not know if the fixes of yoh http://bugs.squeak.org/view.php?id=5996 is related. Nicolas {Object#doesNotUnderstand:. SystemNavigation#browseMethodsWhoseNamesContain:. Utilities class#changeStampPerSe. Utilities class#methodsWithInitials:} collect: [:e | (e getSourceFromFile select: [:s | s charCode 127]) asArray collect: [:c | c charCode]] I cannot get that code running it break before with me. Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Not knowing how to do something is not an argument for how it cannot be done. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] invalid utf8 input detected
Actually, the fix is even simpler: if you find a method that raises invalid utf8 input detected, just browse to it with a class browser, and re-accept it :). With my previous mail, I was not implying that someone should fix it for me, I was merely asking for what could a quick solution be, because I was a bit lost (scared) :). Now, I am happy. Thanks for discussing it. Cheers, Doru On 23 May 2009, at 13:07, Tudor Girba wrote: Hi, I attached here a DNU implementation I took from an older image. After filing this one in, I can debug DNU problems. Cheers, Doru Object-doesNotUnderstand.st On 23 May 2009, at 13:04, Stéphane Ducasse wrote: I did the following (Object#doesNotUNderstand) getSourceFromFile and I get an invalid Now when I take another method (BalloonFontTest#testDefaultFont) I do not get problem. I will reread carefully the mails of nicolas to try to understand, I do not know if the fixes of yoh http://bugs.squeak.org/view.php?id=5996 is related. Nicolas {Object#doesNotUnderstand:. SystemNavigation#browseMethodsWhoseNamesContain:. Utilities class#changeStampPerSe. Utilities class#methodsWithInitials:} collect: [:e | (e getSourceFromFile select: [:s | s charCode 127]) asArray collect: [:c | c charCode]] I cannot get that code running it break before with me. Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Not knowing how to do something is not an argument for how it cannot be done. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Problem solving efficiency grows with the abstractness level of problem understanding. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] testing morphs
Hi, I am looking for a testing framework or something similar that would allow me to write tests for Morphic-based user interfaces (for example to allow me to simulate pressing on buttons and to check state of morphs). Can anyone point me to one? Cheers, Doru -- www.tudorgirba.com Being happy is a matter of choice. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] loading ECompletion and OCompletion
Hi, I am trying to load ECompletion and OCompletion in a core image, but I do not seem to manage. I first do: ScriptLoader loadOBAlpha. I then tried to do ScriptLoader loadEcompletion but I get error in OB. I tried ScriptLoader loadShout but I still get an error in OB due to ECompletion. I hoped that maybe Installer squeaksource project: 'OCompletion'; install: 'OCLoader' would load all the needed dependencies, but it does not seem to work. What am I doing wrong? Cheers, Doru -- www.tudorgirba.com What we can governs what we wish. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] loading ECompletion and OCompletion
Hi, I tried again with a 10324cl and it seems to work if I do not use the ScriptLoader loadEcompletion, but directly installed the Ocompletion. Thanks, Doru On 2 Jun 2009, at 10:45, Romain Robbes wrote: Hi Doru, I use dev images most of the time, so I would have to look in more details. OCLoader takes care of loading Shout, ECompletion and ECompletionOmniBrowser (if OB is installed). If you do: ScriptLoader loadOBAlpha. and then: Installer squeaksource project: 'OCompletion'; install: 'OCLoader How does it fail? Cheers, Romain On Jun 1, 2009, at 12:02 PM, Tudor Girba wrote: Hi, I am trying to load ECompletion and OCompletion in a core image, but I do not seem to manage. I first do: ScriptLoader loadOBAlpha. I then tried to do ScriptLoader loadEcompletion but I get error in OB. I tried ScriptLoader loadShout but I still get an error in OB due to ECompletion. I hoped that maybe Installer squeaksource project: 'OCompletion'; install: 'OCLoader' would load all the needed dependencies, but it does not seem to work. What am I doing wrong? Cheers, Doru -- www.tudorgirba.com What we can governs what we wish. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Romain Robbes http://www.inf.unisi.ch/phd/robbes ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com It's not how it is, it is how we see it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] loading ECompletion and OCompletion
Hi, The previous time I used 10321cl, but that should not matter much. Cheers, Doru On 2 Jun 2009, at 13:35, Romain Robbes wrote: Hi Doru, Good to know everything is working fine ;-). Were you using the same image the previous time? Romain On Jun 2, 2009, at 12:51 PM, Tudor Girba wrote: Hi, I tried again with a 10324cl and it seems to work if I do not use the ScriptLoader loadEcompletion, but directly installed the Ocompletion. Thanks, Doru On 2 Jun 2009, at 10:45, Romain Robbes wrote: Hi Doru, I use dev images most of the time, so I would have to look in more details. OCLoader takes care of loading Shout, ECompletion and ECompletionOmniBrowser (if OB is installed). If you do: ScriptLoader loadOBAlpha. and then: Installer squeaksource project: 'OCompletion'; install: 'OCLoader How does it fail? Cheers, Romain On Jun 1, 2009, at 12:02 PM, Tudor Girba wrote: Hi, I am trying to load ECompletion and OCompletion in a core image, but I do not seem to manage. I first do: ScriptLoader loadOBAlpha. I then tried to do ScriptLoader loadEcompletion but I get error in OB. I tried ScriptLoader loadShout but I still get an error in OB due to ECompletion. I hoped that maybe Installer squeaksource project: 'OCompletion'; install: 'OCLoader' would load all the needed dependencies, but it does not seem to work. What am I doing wrong? Cheers, Doru -- www.tudorgirba.com What we can governs what we wish. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Romain Robbes http://www.inf.unisi.ch/phd/robbes ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com It's not how it is, it is how we see it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Romain Robbes http://www.inf.unisi.ch/phd/robbes ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Every now and then stop and ask yourself if the war you're fighting is the right one. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] a plea for save and quit
Hi, I like very much the idea of Save as to provide the new version name by default. But, I have there is a usability problem with Save and quit being spatially close to Quit. The difference between is quite large, and you want to use them for very different scenarios: - I want to use Quit and not save when I perform experiment changes on objects that I do not want to keep with me (for example when I have some expensive computation and then want to play with some variation at the end). - You would want to use Save and quit typically when you work on code and want to keep it The problem is that because they are close, it will be easy to click on the other one by mistake (it happens all the time with long menu and small fonts). So, if you really want to reintroduce Save and quit it should at least not be close to Quit. A minimal defense would be a separator between Save and quit and Quit: Save Save as... Save and quit - Quit But, here is another idea. In VisualWorks we introduced a small add-on that prompts you to save the image after publishing in the repository, and when closing the image. Like this we instill the good practice of publishing and saving the code so that even if the image crashes, you are in sync with the repository. So, as a result you can always quit without saving. Would it not be better to prompt for saving the image after you save something in a Monticello repository? Cheers, Doru On 11 Jun 2009, at 09:46, Adrian Lienhard wrote: OK, here again the proposal of Lukas that I think is the best so far. - Save Save as... Save and quit Quit - The behavior of Save as... would be modified to automatically pick the next version number (but still lets you edit the file name). Like this, Save as next version is not needed anymore. Adrian On Jun 11, 2009, at 09:25 , Stéphane Ducasse wrote: No preference. Preferences are for the weak :) We want to have design decision no absence of decision by preference plague. So guys come up with a good solution and we will use it but no preference. So I could not understand the proposals except this one: -'Save' -'Save ...' - 'Save as', 'Save as new version', 'Save and Quit' -'Quit' So could you use this pattern to explain what you think/want? Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com The coherence of a trip is given by the clearness of the goal. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] fonts
Hi, I ran my usual font setting script (see below) on pharo0.1-10371dev09.07.1 and the fonts did not get set. I ran the same code on Pharo0.1Core-10371 and it worked. Any idea what is the difference between the dev and the core images regarding this issue? Is it because of some initialization of the font system? Cheers, Doru -- www.tudorgirba.com Problem solving should be concentrated on describing the problem in a way that is relevant for the solution. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] fonts
Done. Doru On 8 Jul 2009, at 14:50, Mariano Martinez Peck wrote: It would be nice to add this code snippet to here: http://code.google.com/p/pharo/wiki/CodeSnippets On Wed, Jul 8, 2009 at 11:46 AM, Tudor Girba gi...@iam.unibe.ch wrote: Hi again :), Indeed, reinitializing the font system seems to have solved the problem: FreeTypeFontProvider current updateFromSystem Cheers, Doru font script menuFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). titleFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 14 stretchValue: (LogicalFont stretchCondensed) weightValue: (LogicalFont weightBold) slantValue: (LogicalFont slantNormal). codeFont := LogicalFont familyName: 'Monaco' pointSize: 8. defaultFont := LogicalFont familyName: 'Helvetica Neue' pointSize: 9. Preferences setSystemFontTo: defaultFont. Preferences setListFontTo: defaultFont. Preferences setFlapsFontTo: menuFont. Preferences setHaloLabelFontTo: defaultFont. Preferences setMenuFontTo: menuFont. Preferences setWindowTitleFontTo: titleFont. Preferences setBalloonHelpFontTo: defaultFont. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: defaultFont. On 8 Jul 2009, at 14:37, Tudor Girba wrote: Hi, I ran my usual font setting script (see below) on pharo0.1-10371dev09.07.1 and the fonts did not get set. I ran the same code on Pharo0.1Core-10371 and it worked. Any idea what is the difference between the dev and the core images regarding this issue? Is it because of some initialization of the font system? Cheers, Doru -- www.tudorgirba.com Problem solving should be concentrated on describing the problem in a way that is relevant for the solution. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com There are no old things, there are only old ways of looking at them. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Beauty is where we see it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] pier 1.2
Hi, We are happy to announce the release of Pier 1.2: http://www.piercms.com/download What’s new: - Mature value links (see http://www.piercms.com/doc/syntax for more details) - No _s or _k cruft in the url - Remembered last login - Smaller javascript code for faster page loading - Better default CSS (including a style for events) - Halos for enhanced editing - Pharo 0.1-10374 inside Enjoy and let us know what you think. Cheers, Lukas and Doru ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] [squeak-dev] pier 1.2
Hi, On 11 Jul 2009, at 21:27, Mariano Martinez Peck wrote: Excellent news!!! What I a afraid when updating to this type of projects is that perhaps there are a lot of external non-maintenance anymore packages like pier-addons that don't work any more. In this version of Pier, did you change important core things? I mean, pieraddons would probably work? Some things have changed in the core, but most of these changes are transparent, and most plugins should continue to work as before. Cheers, Doru On Sat, Jul 11, 2009 at 2:18 PM, Milan Zimmermann milan.zimmerm...@sympatico.ca wrote: Hi, I just tried - pier.sh should probably refer to pier.image instead of Seaside.image. Milan On July 11, 2009, Tudor Girba wrote: Hi, We are happy to announce the release of Pier 1.2: http://www.piercms.com/download What’s new: - Mature value links (see http://www.piercms.com/doc/syntax for more details) - No _s or _k cruft in the url - Remembered last login - Smaller javascript code for faster page loading - Better default CSS (including a style for events) - Halos for enhanced editing - Pharo 0.1-10374 inside Enjoy and let us know what you think. Cheers, Lukas and Doru -- www.tudorgirba.com Yesterday is a fact. Tomorrow is a possibility. Today is a challenge. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Bugreports... the numbers
Nice numbers :). At this rate you have about 26 days until the final release :). Keep it up! Doru On 29 Jul 2009, at 23:24, Marcus Denker wrote: Entries in the Bugracker: 1004 Closed:798 open:206 open, tagged 1.0: 49 First bug filed: Jun 05, 2008 (Date today - 'Jun 05, 2008' asDate) days -- 419 That makes 1.9 closed reports per day. Not bad! Marcus -- Marcus Denker - http://marcusdenker.de PLEIAD Lab - Computer Science Department (DCC) - University of Chile ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Be rather willing to give than demanding to get. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] [ANN] Pharo 1.0 Beta
I just spotted that the hint text of the Quit menu item says: Quit out of Squeak Similarly for Save and quit. Perhaps this could be changed? Cheers, Doru On 31 Jul 2009, at 11:25, Adrian Lienhard wrote: On Jul 31, 2009, at 11:09 , Serge Stinckwich wrote: A new Pharo image (and also Pharo-web image) can be downloaded from the website: http://pharo.cmsbox.ch/pharo-download This is not ? http://www.pharo-project.org/pharo-download Yes, of course. The other one is an internal URL, but it points to the same content. Sorry for the confusion. Adrian ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Be rather willing to give than demanding to get. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] table widget
Hi, Is there a table widget in Morphic/Polymorph? I would features like: - add columns - sort the rows based on a column - select a row Cheers, Doru -- www.tudorgirba.com We cannot reach the flow of things unless we let go. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] file dialog
Hi, I need to load a file from the disk. I am invoking: UIManager default chooseFileMatching: '*.mse' label: 'Import model from MSE file.'. The problem is that I do not see any files, even though I have files with .mse ending in the directory. Also, even if I pass '*.*' I still cannot see the files (only the directories). Could anyone tell me what I am doing wrong? Cheers, Doru -- www.tudorgirba.com Next time you see your life passing by, say 'hi' and get to know her. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] file dialog
Thanks Mariano, The following code works: UIManager default chooseFileMatching: #('mse') label: 'Import model from MSE file.'. The problem is indeed that you have to pass a valid set of extensions, so * is not allowed. Anyway, it works for the moment but perhaps it should be changed to: FileDialogWindowvalidExtensions: aList Set the filter for the files to be those with the given extensions. aList notEmpty ifTrue: [self defaultExtension: aList first]. self fileSelectionBlock: [:de | de isDirectory ifTrue: [self showDirectoriesInFileList] ifFalse: [(self fileNamePattern match: de name) and: [ aList contains: [:each | each match: (FileDirectory extensionFor: de name asLowercase) ] ]]] On the other hand the fileNamePattern seems to already have the job of filtering, so I do not really understand why we need aList. Cheers, Doru On 5 Aug 2009, at 09:39, Stéphane Ducasse wrote: if you have a fix tag it 1.0 ;) Stef On Aug 5, 2009, at 12:56 AM, Mariano Martinez Peck wrote: On Tue, Aug 4, 2009 at 7:32 PM, Tudor Girba gi...@iam.unibe.ch wrote: Hi, I need to load a file from the disk. I am invoking: UIManager default chooseFileMatching: '*.mse' label: 'Import model from MSE file.'. The problem is that I do not see any files, even though I have files with .mse ending in the directory. Also, even if I pass '*.*' I still cannot see the files (only the directories). Could anyone tell me what I am doing wrong? I could reproduce it and debugging I noticed that FileDialogWindowvalidExtensions: aList Set the filter for the files to be those with the given extensions. aList notEmpty ifTrue: [self defaultExtension: aList first]. self fileSelectionBlock: [:de | de isDirectory ifTrue: [self showDirectoriesInFileList] ifFalse: [(self fileNamePattern match: de name) and: [ aList includes: (FileDirectory extensionFor: de name asLowercase)]]] I think there can be a problem with this method. Here, aList will be '*.*' and as you can imagine that string doesn't includes any of the extensions. Perhaps we can change that include for a match: or something like that. To see this, remove the line aList includes: (FileDirectory extensionFor: de name asLowercase and you will see that now all the files are shown. we should open a ticket but I don't know if this should be 1.0 tag best, Mariano Cheers, Doru -- www.tudorgirba.com Next time you see your life passing by, say 'hi' and get to know her. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com What is more important: To be happy, or to make happy? ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] file dialog
Hi again, On the same topic, what is the invocation to open a dialogue that allows for saving files? Cheers, Doru On 5 Aug 2009, at 10:26, Tudor Girba wrote: Thanks Mariano, The following code works: UIManager default chooseFileMatching: #('mse') label: 'Import model from MSE file.'. The problem is indeed that you have to pass a valid set of extensions, so * is not allowed. Anyway, it works for the moment but perhaps it should be changed to: FileDialogWindowvalidExtensions: aList Set the filter for the files to be those with the given extensions. aList notEmpty ifTrue: [self defaultExtension: aList first]. self fileSelectionBlock: [:de | de isDirectory ifTrue: [self showDirectoriesInFileList] ifFalse: [(self fileNamePattern match: de name) and: [ aList contains: [:each | each match: (FileDirectory extensionFor: de name asLowercase) ] ]]] On the other hand the fileNamePattern seems to already have the job of filtering, so I do not really understand why we need aList. Cheers, Doru On 5 Aug 2009, at 09:39, Stéphane Ducasse wrote: if you have a fix tag it 1.0 ;) Stef On Aug 5, 2009, at 12:56 AM, Mariano Martinez Peck wrote: On Tue, Aug 4, 2009 at 7:32 PM, Tudor Girba gi...@iam.unibe.ch wrote: Hi, I need to load a file from the disk. I am invoking: UIManager default chooseFileMatching: '*.mse' label: 'Import model from MSE file.'. The problem is that I do not see any files, even though I have files with .mse ending in the directory. Also, even if I pass '*.*' I still cannot see the files (only the directories). Could anyone tell me what I am doing wrong? I could reproduce it and debugging I noticed that FileDialogWindowvalidExtensions: aList Set the filter for the files to be those with the given extensions. aList notEmpty ifTrue: [self defaultExtension: aList first]. self fileSelectionBlock: [:de | de isDirectory ifTrue: [self showDirectoriesInFileList] ifFalse: [(self fileNamePattern match: de name) and: [ aList includes: (FileDirectory extensionFor: de name asLowercase)]]] I think there can be a problem with this method. Here, aList will be '*.*' and as you can imagine that string doesn't includes any of the extensions. Perhaps we can change that include for a match: or something like that. To see this, remove the line aList includes: (FileDirectory extensionFor: de name asLowercase and you will see that now all the files are shown. we should open a ticket but I don't know if this should be 1.0 tag best, Mariano Cheers, Doru -- www.tudorgirba.com Next time you see your life passing by, say 'hi' and get to know her. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com What is more important: To be happy, or to make happy? ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Some battles are better lost than fought. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] updating a list morph
Hi, I have a Morphic newbie question. I have a list morph: PluggableListMorph on: listModel list: #displayedItems selected: #selection changeSelected: #selection: I now would like it to update when the items change. Could anyone tell me how I accomplish that? Cheers, Doru -- www.tudorgirba.com Every thing should have the right to be different. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] squeaksource is down
Hi, squeaksource.com seems to be down. Cheers, Doru -- www.tudorgirba.com There are no old things, there are only old ways of looking at them. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] PluggableTextMorph without smalltalk shortcuts
Hi, Is there a way to get a PluggableTextMorph without the default Smalltalk shortcuts? Until now I have something like: (PluggableTextMorph on: textModel text: #text accept: #accept:notifying: readSelection: #selection menu: #menu:shifted:) onKeyStrokeSend: #keystroke:from: to: textModel I can intercept a key like (Cmd+i), but I do not know how to disable the default behavior. Cheers, Doru -- www.tudorgirba.com What we can governs what we wish. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] PBE and OB
A new dev image that does not raise the Trait exception would be great :). I tried to redo an image based on the 10422 core and the install script of Damien, but it did not work for me. Cheers, Doru On 28 Aug 2009, at 10:43, Stéphane Ducasse wrote: thanks damien for your patience :) Stef On Aug 28, 2009, at 9:49 AM, Damien Cassou wrote: On Thu, Aug 27, 2009 at 8:27 PM, Alexandre Bergelalexan...@bergel.eu wrote: I do not understand what I should do to load the Package Browser. Apparently, loadOBAlpha is broken in an updated 414. I tried to insert: instClass ss project: 'EnhancedOB'; install: 'OmniBrowser2'; install: 'O2-Enhancements'; install: 'O2-Morphic'; install: 'O2-Standard'. in loadOBAlpha, but this remains unsuccessful. Any hint how I can load your browser in a Core 414? As always, this is in the Pharo image because I spent quite some time finding a working configuration. If you don't want to use Pharo (for a reason I still don't understand), you may want to have a look at the install script I add to each zip archive I generate. In it, you will find the Installer script I use. -- Damien Cassou http://damiencassou.seasidehosting.st Lambdas are relegated to relative obscurity until Java makes them popular by not having them. James Iry ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com What is more important: To be happy, or to make happy? ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] [Esug-list] ESUG Pictures
Where exactly are they? :) Doru On 6 Sep 2009, at 20:53, Hernan Wilkinson wrote: And here are the ones I took... On Sun, Sep 6, 2009 at 5:49 AM, James Foster smallt...@jgfoster.net wrote: http://picasaweb.google.com/WeybridgeWay/ESUG2009InBrestFrance# (Sorry for the cross-posting). Feel free to reuse, comment, or contact me as needed :) James Foster ___ Esug-list mailing list esug-l...@lists.esug.org http://lists.esug.org/listinfo/esug-list ___ Esug-list mailing list esug-l...@lists.esug.org http://lists.esug.org/listinfo/esug-list -- www.tudorgirba.com The coherence of a trip is given by the clearness of the goal. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] MorphTreeMorph
Hi, It looks like in the latest Pharo images (both core and dev) the MorphTreeMorph class is missing. In fact, it looks like the whole System-Settings package is missing. Is there a reason for this? Cheers, Doru -- www.tudorgirba.com Every successful trip needs a suitable vehicle. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] MorphTreeMorph
Aha, thanks for the clarification. In this case, I will just work with it by loading it from Monticello :). Cheers, Doru On 8 Sep 2009, at 08:48, Alain Plantec wrote: Hil all, MorphTreeMorph and related are still not mature enough to be considered as part of standard widgets. This is why it is private to the settings package. For 1.0, I think it is better to not integrate it Cheers Alain Marcus Denker a écrit : On 07.09.2009, at 20:10, Tudor Girba wrote: Hi, It looks like in the latest Pharo images (both core and dev) the MorphTreeMorph class is missing. In fact, it looks like the whole System-Settings package is missing. Is there a reason for this? Hello, The settings were not used and the next version seemingly will change form an API perspective. Of course, I did not know that the package contained widgets that are used by others... Maybe we can move the MorphTreeMorph class into the package that contains the widgets? Marcus -- Marcus Denker - http://marcusdenker.de PLEIAD Lab - Computer Science Department (DCC) - University of Chile ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Beauty is where we see it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Lumiere 1.0
Hmm, indeed the Lumiere repository seems to be empty. Doru On 8 Sep 2009, at 12:57, Lawson English wrote: Looks promising. The AlienOpenGL loader script worked fine. However, I tried to evaluate ScriptLoader loadLatestPackage: 'LumiereLoader' from: 'http://www.squeaksource.com/Lumiere'. and got the error problems when accessing squeaksource Fernando olivero wrote: I'm glad to announce the release of Lumiere 1.0. A framework for producing 3D graphics in Smalltalk. Home page: http://www.inf.unisi.ch/phd/olivero/Lumier.html Squeaksource: http://www.squeaksource.com/AlienOpenGL.html In the home page you can find loading information, documentation, and also will be posting some tutorials in the next days. Any questions, comments are welcomed! Fernando Hi, I just released a new OpenGL binding framework we implemented using Alien. This is the homepage http://www.inf.unisi.ch/phd/olivero/AlienOpenGL.html. This is the squeaksource address http://www.squeaksource.com/AlienOpenGL.html Saludos, Fernando ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com It's not what we do that matters most, it's how we do it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Lumiere 1.0
Hi, Actually it is probably not empty, but the repository settings say that: Global: No Access Thus, if we are not registered as developers we do not have access. You probably want to allow read access for everyone. And another question: What is the license? Given that none is specified on the repository, I would have to assume that it is not open or free to use :). Cheers, Doru On 8 Sep 2009, at 13:02, Tudor Girba wrote: Hmm, indeed the Lumiere repository seems to be empty. Doru On 8 Sep 2009, at 12:57, Lawson English wrote: Looks promising. The AlienOpenGL loader script worked fine. However, I tried to evaluate ScriptLoader loadLatestPackage: 'LumiereLoader' from: 'http://www.squeaksource.com/Lumiere'. and got the error problems when accessing squeaksource Fernando olivero wrote: I'm glad to announce the release of Lumiere 1.0. A framework for producing 3D graphics in Smalltalk. Home page: http://www.inf.unisi.ch/phd/olivero/Lumier.html Squeaksource: http://www.squeaksource.com/AlienOpenGL.html In the home page you can find loading information, documentation, and also will be posting some tutorials in the next days. Any questions, comments are welcomed! Fernando Hi, I just released a new OpenGL binding framework we implemented using Alien. This is the homepage http://www.inf.unisi.ch/phd/olivero/AlienOpenGL.html. This is the squeaksource address http://www.squeaksource.com/AlienOpenGL.html Saludos, Fernando ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com It's not what we do that matters most, it's how we do it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Presenting is storytelling. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Lumiere 1.0
Ahh, indeed it is there :). Thanks. Doru On 8 Sep 2009, at 13:05, Lawson English wrote: Tudor Girba wrote: Great news, Fernando! I just could not find the download for the IA32ABI plugin. You point to http://www.smalltalkconsulting.com/squeak.html, but on this page there is no mention of the plugin. Cheers, Doru Apparently the IA32ABI plugin is already available in the latest Pharo/Seaside+Pier (09.09.1) image from http://www.pharo-project.org/pharo-download At least with the latest Mac OS X VM from the same page. Not getting Lumier to load however, though the AlienOpenGL package runs fine. Lawson ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com What is more important: To be happy, or to make happy? ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Lumiere 1.0
Indeed, it works in my case. Cheers, Doru On 8 Sep 2009, at 16:14, Fernando olivero wrote: Please load Lumiere in a fresh image, this is an Alien related problem. When you try to load Alien twice you get this error, because loading Alien increases the size of the Smalltalk objects array by two. I'm going to fix this now, for the AlienOpenGL loader to not try to load Alien if is already present in the image. Fernando Il giorno Sep 8, 2009, alle ore 3:59 PM, Lawson English ha scritto: Tried to load Lumier again. This time the error was : Error: THis version of ALIEN assumes a size of 50 in the array of special objects. If loaded, woud cause the image to crash! Please contact the Alien package developer... Fernando olivero wrote: Thanks for all the comments. In John's web page there's a link for accessing the FTP folder where he put the plugins and vm he releases. ftp://ftp.smalltalkconsulting.com. Sorry for not clarifying this sooner. I'll upload the plugin to the home page now, a more direct download. And yes, i forgot to put the Read acces! Done now. Thanks for the advice! Regarding the license, its free. I put the MIT license now. Fernando ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Don't give to get. Just give. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] [ANN] [Book] Dynamic Web Development with Seaside
Congratulations! It really looks great. Cheers, Doru On 10 Sep 2009, at 14:06, Lukas Renggli wrote: After the first announcement at ESUG 2009, we are proud to present the release of the free online book Dynamic Web Development with Seaside http://book.seaside.st/ The book is written in the Pier content management system using the Pier book publishing engine. This allows us to collaboratively edit the contents and generate different output formats automatically. We will soon offer a PDF and a printed version, but first we have to iron out some of the remaining issues. Over the past years the book got reviewed and revised several times. We want to thank all the persons who helped us: Torsten Bergmann, Damien Cassou, Tom Krisch, Philippe Marshall, Ruben Schempp, Roger Whitney, Julian Fitzell, and Michael Davies carefully reviewed the book and provided valuable feedback. Martin J. Laubach for his Sudoku code. Ramon Leon for letting us using his blog ideas and SandStoneDB, Chris Muller for Magma. Jeff Dorst provided generous financial support for supporting student text reading. Markus Gaelli for brainstorming on the book title. Samuel Morello for designing the cover. Michael Davies is currently helping us getting things ready for print. And you can help us too by writing down your findings at the bottom of each page. Also, if you want to contribute a missing chapter or support the translation of the book please get in touch with us. We wish to thank the European Smalltalk User Group (ESUG) and inceptive.be for sponsoring this book. We are looking for additional sponsors. If you are interested, please contact us. If you are a publisher and interested in publishing this material, please let us know. Please distribute this message widely. Cheers, Stef Lukas David Rick About the authors: - Stéphane Ducasse is the author of a couple of books on Smalltalk. - Lukas Renggli is core developer of Seaside and Smalltalk consultant. - David C. Shaffer is Seaside consultant and CS teacher. - Rick Zaccone is CS teacher. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Beauty is where we see it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] icons in pluggablelistmorph
Hi, I would like to specify an icon in a PluggableListMorph, but I cannot find my way :). Can anyone tell me how to do it? Cheers, Doru -- www.tudorgirba.com Problem solving efficiency grows with the abstractness level of problem understanding. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] icons in pluggablelistmorph
Thanks Lukas. Indeed, it is straightforward :). I will give it a try. Cheers, Doru On 11 Sep 2009, at 20:28, Lukas Renggli wrote: I would like to specify an icon in a PluggableListMorph, but I cannot find my way :). Can anyone tell me how to do it? You need to create a subclass of PluggableListMorph and LazyListMorph, override #listMorphClass in the PluggableListMorph to return the lazy morph class, and override the method #display:atRow:on: in the LazyListMorph subclass to customize the low-level drawing of the list item. As you imagined all pretty simple and strait-forward, have a look at the OB-Morphic for an example :-) Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com If you interrupt the barber while he is cutting your hair, you will end up with a messy haircut. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] displaying tags
Hi, I would like to display a tag in the form of a button that is smaller and less prominent than a usual button. See the attached picture for an example taken from the Things program running on Mac. I want to use these tags next to items in in lists or trees, so, ideally the size of the button would be the size of the regular font of a list entry. I looked in the UITheme class, but I could find anything that would resemble this look. Is there someone that has already done this? Otherwise does anyone have suggestions? Cheers, Doru -- www.tudorgirba.com Beauty is where we see it. inline: Picture 1.png___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Fwd: Universes? or Metacello meta repository
Hi Stef, I know I am not Dale, but I will give my two cents anyway :). I believe Metacello is a very nice piece of work and it should be a very strong contender for managing releases. The ui tools are not quite there yet, but it works very nicely for allowing someone to specify the exact configuration to be loaded. There are a couple of large case studies that already work (including Moose :)). Cheers, Doru On 16 Sep 2009, at 11:24, Stéphane Ducasse wrote: Hi I value the idea that when we look for a software (for example SIXX) we can find a version that is working. In the past we used Universes and if was successful. We cannot not have squeakmap and universe at the same time. I discussed with damien briefly about that and he told me that we coud have a metacello alternative. Now I wonder if for pharo 1.0 it makes sense. May be having a nice Universe for pharo would be good and important. Dale what do you think? Do you see metacello working in the story (may be for 1.1)? Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com From an abstract enough point of view, any two things are similar. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Fwd: Universes? or Metacello meta repository
Basically yes, but for that we just need a way to manage Pharo versions. So, as long as we can say what Pharo 1.0 is, we should be able to do that. Cheers, Doru On 16 Sep 2009, at 13:29, Stéphane Ducasse wrote: Ok but for pharo1.0 it would be nice to have it :) then after we plug metacello underneath Doru with metacello will we be able to say I want to load in the past the version of moose which worked with pharo1.0 even if now I'm working on pharo 3.2 (the real future :)) Stef On Sep 16, 2009, at 1:08 PM, Damien Cassou wrote: On Wed, Sep 16, 2009 at 11:38 AM, Tudor Girba gi...@iam.unibe.ch wrote: I believe Metacello is a very nice piece of work and it should be a very strong contender for managing releases. The ui tools are not quite there yet, but it works very nicely for allowing someone to specify the exact configuration to be loaded. I agree. Universes is cool but: - it requires a dedicated server and only few people installed one already - it only allows one administrator per package description - the interface is well... not very nice :-) - we would need to create a new universe from scratch -- Damien Cassou http://damiencassou.seasidehosting.st Lambdas are relegated to relative obscurity until Java makes them popular by not having them. James Iry ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Not knowing how to do something is not an argument for how it cannot be done. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] contents of file
Hi, I want to obtain the contents of a file. I am doing the followings: (FileStream readOnlyFileFullyNamed: fullPath) contentsOfEntireFile However, what I get is a string with tabs instead of new lines. I am on a Mac, and the file I am using is UTF8 using LF. Can anyone tell me what I am doing wrong? Cheers, Doru -- www.tudorgirba.com Not knowing how to do something is not an argument for how it cannot be done. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] contents of file
Lukas pointed me to CrLfFileStream which seems to do the job: (CrLfFileStream readOnlyFileNamed: fullPath) contentsOfEntireFile Also, it looks like readOnlyFileFullyNamed: is an extension and that I should use readOnlyFileNamed: Please tell me if I am missing something else. Cheers, Doru On 16 Sep 2009, at 22:33, Tudor Girba wrote: Hi, I want to obtain the contents of a file. I am doing the followings: (FileStream readOnlyFileFullyNamed: fullPath) contentsOfEntireFile However, what I get is a string with tabs instead of new lines. I am on a Mac, and the file I am using is UTF8 using LF. Can anyone tell me what I am doing wrong? Cheers, Doru -- www.tudorgirba.com Not knowing how to do something is not an argument for how it cannot be done. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Reasonable is what we are accustomed with. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] collapsable pane
Hi, Is there a Morphic widget that would allow a pane to be collapsed? Cheers, Doru -- www.tudorgirba.com Next time you see your life passing by, say 'hi' and get to know her. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] collapsable pane
That looks promising. Thanks, Doru On 18 Sep 2009, at 10:07, Damien Cassou wrote: On Fri, Sep 18, 2009 at 9:28 AM, Tudor Girba gi...@iam.unibe.ch wrote: Is there a Morphic widget that would allow a pane to be collapsed? Expander morph maybe? -- Damien Cassou http://damiencassou.seasidehosting.st Lambdas are relegated to relative obscurity until Java makes them popular by not having them. James Iry ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Problem solving efficiency grows with the abstractness level of problem understanding. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] test pragmas
Hi, How can I mark a test as being an expected failure? Cheers, Doru -- www.tudorgirba.com No matter how many recipes we know, we still value a chef. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] key pressed
Hi, How can I check whether a certain key is pressed (for example, a modifier like Shift)? Cheers, Doru -- www.tudorgirba.com If you interrupt the barber while he is cutting your hair, you will end up with a messy haircut. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] key pressed
Thanks for the replies. Actually, I am in the code of selectedItem: of a list and I would like to add to the current selection if Shift is pressed. The problem is that I do not have access there at the event. Cheers, Doru On 27 Sep 2009, at 03:14, Schwab,Wilhelm K wrote: +1 to Sig's comments. Another problem with looking at the current state vs. state from an event is that the current state is just that, and often differs (covertly and frustratingly) from the user's intentions. Such problems often arise with mouse cursor positions. Bill -Original Message- From: pharo-project-boun...@lists.gforge.inria.fr [mailto:pharo-project-boun...@lists.gforge.inria.fr ] On Behalf Of Igor Stasenko Sent: Saturday, September 26, 2009 6:25 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] key pressed 2009/9/27 Tudor Girba tudor.gi...@gmail.com: Hi, How can I check whether a certain key is pressed (for example, a modifier like Shift)? Depends on context. In Morphic, just take an event (mouse event or keyboard event) and send #shiftPressed, or #controlKeyPressed, or whatever. Another way is to ask the Sensor for same things, but i wouldn't do that, because to my opinion this is the wrong way, because Sensor is low-level object, which should be hidden from the eyes of developer, and normally, if you need to use it, it means that you doing something wrong :) Cheers, Doru -- www.tudorgirba.com If you interrupt the barber while he is cutting your hair, you will end up with a messy haircut. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Best regards, Igor Stasenko AKA sig. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com One cannot do more than one can do. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] tabs with icons?
Hi, In Glamour we are using a TabGroupMorph (actually we use a subclass that specifies LazyTabs). The question is if there is a way to add an icon instead of a string? Or perhaps is there another solution for a tab control that allows for icons in the tabs? Cheers, Doru -- www.tudorgirba.com What we can governs what we wish. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] tabs with icons?
Fantastic! Thanks, Gary. Doru On 30 Sep 2009, at 16:07, Alexandre Bergel wrote: I added the snippet here: http://code.google.com/p/pharo/wiki/CodeSnippets Alexandre On 30 Sep 2009, at 05:31, Gary Chambers wrote: TabGroupMorph/TabSelectorMorph support arbitrary morphs as well as text labels. An example: |dialog| dialog := (UITheme builder newPluggableDialogWindow: 'Example tabs') useDefaultOKButton. dialog contentMorph: ( dialog newTabGroup: { (dialog newRow: {dialog newImage: MenuIcons smallFindIcon. dialog newLabel: 'Page 1'})- dialog newPanel. 'Page 2'-dialog newPanel}). dialog model: nil. World openModal: dialog Regards, Gary - Original Message - From: Tudor Girba tudor.gi...@gmail.com To: Pharo Development pharo-project@lists.gforge.inria.fr Sent: Tuesday, September 29, 2009 10:01 PM Subject: [Pharo-project] tabs with icons? Hi, In Glamour we are using a TabGroupMorph (actually we use a subclass that specifies LazyTabs). The question is if there is a way to add an icon instead of a string? Or perhaps is there another solution for a tab control that allows for icons in the tabs? Cheers, Doru -- www.tudorgirba.com What we can governs what we wish. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Problem solving should be concentrated on describing the problem in a way that is relevant for the solution. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Sprint information
I will also see to arrive early :) My phone is: +41 76 579 0423 Cheers, Doru On 15 Oct 2009, at 15:01, Oscar Nierstrasz wrote: I plan to arrive early. +41 78 628 0817 - on On 15 Oct 2009, at 09:18, Stéphane Ducasse wrote: Hi guys Here are some information about the sprint. The place is located at LIFL in a room close to our office. http://rmod.lille.inria.fr check at the bottom of the page (pay attention our physical address is not the same than our mail address. We are NOT in the INRIA building. In short you should take the metro up to Cite Scientifique and walk south until the round point and turn right after a moment you should have a parking on your left and the building is doing a kind of large L The entrance in the building is at the crossing of the L. Now the building will be closed on saturday and I can open the door. I plan to be at the lab at 9h00. Now I do not have a mobile phone... so it would be good that we share mobile numbers so that we have a base for connecting us. The idea is that we will write on a sheet of paper the mobile phone number of the first one that will arrive. Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Next time you see your life passing by, say 'hi' and get to know her. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] New changes to Gofer
If you want to take a look at the Metacello configuration of Moose, you can find it in the ConfigurationOfMoose package. Cheers, Doru On 22 Oct 2009, at 20:40, Stéphane Ducasse wrote: may be fernando you should have a look at Metacello because it is used gofer and it will be the way to go soon :) You can have a look at Glamour, Mondrian or MooseLoader as an example. Stef On Oct 22, 2009, at 8:34 PM, Fernando olivero wrote: Hi, when loading Lumiere an deprecation warning comes up, seems that the Flair configuration and gofer usage change significantly. Gofer Seems to have a much more expresive protocol now! Great! But could somebody provide examples on how to implement behavior in a loader for 1. loading the lastest versions of several packages. 2. commit to squeaksource some pacakges Would be really helpfull to update Alien, AlienOpenGL, Lumiere loaders. Fernando ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Beauty is where we see it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Bug in OCompletion
Thanks indeed! I guess the fix made it in the latest dev image, because now it is a pleasure to work with OCompletion. Cheers, Doru On 20 Oct 2009, at 02:18, Mariano Martinez Peck wrote: Thanks to romain, he did a fix. I think it would be integrated in next Pharo dev. See details here: http://code.google.com/p/pharo/issues/detail?id=1236 cheers mariano On Sun, Oct 18, 2009 at 7:03 PM, Mariano Martinez Peck marianop...@gmail.com wrote: This bug has been closed but I can still reproduce it in 10479. Can someone please test it and tell me if I am not the only one. Thanks mariano On Wed, Sep 23, 2009 at 4:29 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Begin forwarded message: From: Mariano Martinez Peck marianop...@gmail.com Date: September 23, 2009 8:20:40 PM CEDT To: Pharo Development pharo-project@lists.gforge.inria.fr Subject: [Pharo-project] Bug in OCompletion Reply-To: Pharo-project@lists.gforge.inria.fr http://code.google.com/p/pharo/issues/detail?id=1236 Tested with OBSystemBrowserAdaptor in pharo1.0-10451-BETAdev09.09.3 on Windows. To reproduce: 1) Open a System Browser 2) Create a new class. When you do this, when you are changing #NameOfSubclass to #YourClass, after doing this press the down arrow key 3) An empty pop up will be brought and the keyboard won't respond. To fix this, you must press Esc key. Best, Mariano ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com If you interrupt the barber while he is cutting your hair, you will end up with a messy haircut. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] update server down?
Wasn't this problem due to the announced maintenance of GForge for Monday 26th October 2009, from 18:30 to 22:00? Doru On 27 Oct 2009, at 08:57, Michael Roberts wrote: yes it's working now. thanks Mike On Tue, Oct 27, 2009 at 7:51 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: apparently the forge was down yesterday evening. Not sure that this is available now. On Oct 26, 2009, at 8:31 PM, Michael Roberts wrote: i'm getting timeouts from the update server. can someone confirm? thanks, Mike ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Problem solving should be concentrated on describing the problem in a way that is relevant for the solution. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] vm on ubuntu
Hi, What is the preferred way to install a Pharo vm on Ubuntu? Cheers, Doru -- www.tudorgirba.com From an abstract enough point of view, any two things are similar. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] vm on ubuntu
Hmm, I get the following error: sudo apt-get install squeak-vm Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package squeak-vm I am running on Ubuntu 8.04.3 LTS. Doru On 31 Oct 2009, at 14:31, Lukas Renggli wrote: What is the preferred way to install a Pharo vm on Ubuntu? The instructions in the Seaside book should work: http://book.seaside.st/book/advanced/deployment/deployment-apache/install-vm Did you try that? Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Every thing has its own flow. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] vm on ubuntu
Thanks a lot for the extensive replies :) Cheers, Doru On 31 Oct 2009, at 18:07, Mariano Martinez Peck wrote: On Sat, Oct 31, 2009 at 1:46 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: mariano can you check and edit the wiki to have such information clearly stated and visible? I forgot to said that most of this information (and more) is explained in the README.txt file. cheers Stef On Oct 31, 2009, at 5:44 PM, Mariano Martinez Peck wrote: Hi Doru: In a wonderful world, you would have latest PharoVM in the Ubuntu repositories and for all Ubuntu verions. In the real world, this is not done. The squeak or Pharo VM that usually are at the repositories are old and not for all Ubuntu versions. Thus, I think the easiest way to install it, is this (as Dale said): 1) Download the VM from here http://gforge.inria.fr/frs/download.php/22745/pharo-vm-0.15.2d-linux.zip 2) Unzip it somewhere. 3) And then you can just execute VM. Suppose you uncompress the zip in /home/doru/pharoVM/pharo-vm-0.15.2d-linux/ Then you can open a terminal an do /home/doru/pharoVM/pharo- vm-0.15.2d-linux/squeak /home/doru/pharo-images/myxxximage.image Now I notice that it would be better if the executable file is called pharo instead of squeak That's all. Best Mariano On Sat, Oct 31, 2009 at 9:09 AM, Tudor Girba tudor.gi...@gmail.com wrote: Hi, What is the preferred way to install a Pharo vm on Ubuntu? Cheers, Doru -- www.tudorgirba.com From an abstract enough point of view, any two things are similar. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com One cannot do more than one can do. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] vm on ubuntu
Hi again, I downloaded the pharo-vm-0.15.2d-linux, unzipped it, but when I try to launch the squeak executable (both alone and with an image as parameter) it tells me: No such file or directory This is a bit strange because the squeak executable is there and with the correct rights: -rwxr-xr-x 1 root root 597660 Apr 8 2009 squeak Does anybody have any idea about what the problem could be? Cheers, Doru On 1 Nov 2009, at 20:02, Tudor Girba wrote: Thanks a lot for the extensive replies :) Cheers, Doru On 31 Oct 2009, at 18:07, Mariano Martinez Peck wrote: On Sat, Oct 31, 2009 at 1:46 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: mariano can you check and edit the wiki to have such information clearly stated and visible? I forgot to said that most of this information (and more) is explained in the README.txt file. cheers Stef On Oct 31, 2009, at 5:44 PM, Mariano Martinez Peck wrote: Hi Doru: In a wonderful world, you would have latest PharoVM in the Ubuntu repositories and for all Ubuntu verions. In the real world, this is not done. The squeak or Pharo VM that usually are at the repositories are old and not for all Ubuntu versions. Thus, I think the easiest way to install it, is this (as Dale said): 1) Download the VM from here http://gforge.inria.fr/frs/download.php/22745/pharo-vm-0.15.2d-linux.zip 2) Unzip it somewhere. 3) And then you can just execute VM. Suppose you uncompress the zip in /home/doru/pharoVM/pharo-vm-0.15.2d-linux/ Then you can open a terminal an do /home/doru/pharoVM/pharo- vm-0.15.2d-linux/squeak /home/doru/pharo-images/myxxximage.image Now I notice that it would be better if the executable file is called pharo instead of squeak That's all. Best Mariano On Sat, Oct 31, 2009 at 9:09 AM, Tudor Girba tudor.gi...@gmail.com wrote: Hi, What is the preferred way to install a Pharo vm on Ubuntu? Cheers, Doru -- www.tudorgirba.com From an abstract enough point of view, any two things are similar. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com One cannot do more than one can do. -- www.tudorgirba.com Be rather willing to give than demanding to get. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] vm on ubuntu
Indeed, I realized afterwards that this might be a problem. However, I tried to install the 32 compatibility library as said in the README.txt, but it did not work because it did not find any ia32- libs. I then tried sudo apt-get update and it managed to load ia32-libs. It now seems to run something :) Thanks, Doru On 2 Nov 2009, at 13:11, Henrik Johansen wrote: If you're on 64-bit linux, I think that's what I got when I tried to execute a 32bit VM once. The README.txt contains info on what to do in that case, iirc. Cheers, Henry On Nov 2, 2009, at 12:44 36PM, Tudor Girba wrote: Hi again, I downloaded the pharo-vm-0.15.2d-linux, unzipped it, but when I try to launch the squeak executable (both alone and with an image as parameter) it tells me: No such file or directory This is a bit strange because the squeak executable is there and with the correct rights: -rwxr-xr-x 1 root root 597660 Apr 8 2009 squeak Does anybody have any idea about what the problem could be? Cheers, Doru On 1 Nov 2009, at 20:02, Tudor Girba wrote: Thanks a lot for the extensive replies :) Cheers, Doru On 31 Oct 2009, at 18:07, Mariano Martinez Peck wrote: On Sat, Oct 31, 2009 at 1:46 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: mariano can you check and edit the wiki to have such information clearly stated and visible? I forgot to said that most of this information (and more) is explained in the README.txt file. cheers Stef On Oct 31, 2009, at 5:44 PM, Mariano Martinez Peck wrote: Hi Doru: In a wonderful world, you would have latest PharoVM in the Ubuntu repositories and for all Ubuntu verions. In the real world, this is not done. The squeak or Pharo VM that usually are at the repositories are old and not for all Ubuntu versions. Thus, I think the easiest way to install it, is this (as Dale said): 1) Download the VM from here http://gforge.inria.fr/frs/download.php/22745/pharo-vm-0.15.2d-linux.zip 2) Unzip it somewhere. 3) And then you can just execute VM. Suppose you uncompress the zip in /home/doru/pharoVM/pharo-vm-0.15.2d-linux/ Then you can open a terminal an do /home/doru/pharoVM/pharo- vm-0.15.2d-linux/squeak /home/doru/pharo-images/myxxximage.image Now I notice that it would be better if the executable file is called pharo instead of squeak That's all. Best Mariano On Sat, Oct 31, 2009 at 9:09 AM, Tudor Girba tudor.gi...@gmail.com wrote: Hi, What is the preferred way to install a Pharo vm on Ubuntu? Cheers, Doru -- www.tudorgirba.com From an abstract enough point of view, any two things are similar. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo- project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo- project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com One cannot do more than one can do. -- www.tudorgirba.com Be rather willing to give than demanding to get. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Yesterday is a fact. Tomorrow is a possibility. Today is a challenge. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] implementors and senders when there is only one result
Hi Mariano, I think that is not a good user interface choice, because I never know what I will get before asking for it. What's more, the senders/implementors have a different functionality than the browser (unfortunately), so I sometimes do want to search for the senders of the sender, and if I get to a browser, I cannot do that. But in a broader context I do think that we badly need a cohesive effort to rethink and rebuild the tool chain :). Cheers, Doru On 3 Nov 2009, at 04:05, Mariano Martinez Peck wrote: Hi folks, I would love that when I look for senders, implementors, senders, etc for something, if there is ONLY ONE result, the system browser is opened directly with the class/method I am searching, instead of the implementor, senders or reference windows with one only raw. What do you think? If you are agree I can open a ticket and mark it as milestone-1.1 Best Mariano ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com The coherence of a trip is given by the clearness of the goal. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] selection in text morphs
Hi, I would need to get notified every time a piece of text is selected in a text morph. Can anyone tell me if and how this would be possible to do? Cheers, Doru -- www.tudorgirba.com We are all great at making mistakes. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] testing morphs
Hi, I would like to test the code related to rendering a morphic interface. In particular, I would like to test the rendering of Glamour browsers with morphic. The problem is that the rendering happens in another process than my regular test code. Any idea of how I could solve this problem? Cheers, Doru -- www.tudorgirba.com Don't give to get. Just give. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] testing morphs
Hi Martin, I would like to test the code related to rendering a morphic interface. In particular, I would like to test the rendering of Glamour browsers with morphic. The problem is that the rendering happens in another process than my regular test code. Any idea of how I could solve this problem? I'm not sure I understand exactly what you're wanting, but maybe you do some action in your main test code, this causes some rendering to happen in another thread, then after some unknown amount of time that thread finishes rendering and comes to rest, and you want to test whether the final state is what you expect? Indeed, this is what I want. In that case the real problem is knowing when to expect the final state to be final. One pattern we've used for UI testing is to have a method in the test class waitUntil: conditionBlock You give this method a block that tests the condition and answers true if all is good. The method runs the block every 20ms, using a Delay between to allow the other thread(s) to run. As soon as the condition is true, it returns. If five seconds pass without the condition ever becoming true, it reports a test failure. This lets you test the results of a unit of work in another thread without slowing your tests with worst-case delays. This sounds interesting. Would it be possible to get a code sample (in particular of the waitUntil: method)? Cheers, Doru Regards, -Martin ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com What is more important: To be happy, or to make happy? ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] testing morphs
Thanks Martin! Cheers, Doru On 13 Nov 2009, at 03:11, Martin McClure wrote: Tudor Girba wrote: This sounds interesting. Would it be possible to get a code sample (in particular of the waitUntil: method)? Sure. Here's the code we use in VW. I clearly didn't remember exactly what we called it. :-) We have a number of simpler methods that use this one, which is the most general case. Once you account for GemStone and VW-specific stuff, I imagine this approach should work in Pharo. Regards, -Martin gbtPauseUntil: validateBlock evaluatesReturning: expectedResult maxWaitSeconds: maxWaitSeconds Evaluate validateBlock until it returns expectedResult or maxWaitSeconds have passed, pausing between evaluations. Return the last result of validateBlock value | startTime result | startTime := Time secondClock. [result := validateBlock value = expectedResult] whileFalse: [Time secondClock - startTime maxWaitSeconds ifTrue: [^result]. (GbxDelay forMilliseconds: 50) wait]. ^result ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Be rather willing to give than demanding to get. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] broken package browser
The package browser is broken in the 10495 dev image. For some reason, the cmdFactories array contained nil objects, so I had to patch it: scanNodeCommands: ann (cmdFactories select: [:ea | ea notNil and: [ea takesNodes]]) do: [:ea | ann addFactory: ea] I am not sure whether the problem is really in OB or in the image. Cheers, Doru -- www.tudorgirba.com Obvious things are difficult to teach. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] rb broken in dev 10495
Hi, The refactorings are broken in the dev image 10495. I opened a ticket: http://code.google.com/p/pharo/issues/detail?id=1451 Cheers, Doru -- www.tudorgirba.com No matter how many recipes we know, we still value a chef. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] rb broken in dev 10495
I used the refactor class/rename menu entry. I noticed the problem first in the PackageBrowser, and then reproduced it in the OBSystemBrowser. Cheers, Doru On 16 Nov 2009, at 10:13, Lukas Renggli wrote: I cannot reproduce this using the RB tests and in the default OB loaded into a Pharo-Core image. RB and OB in the dev image are broken. OB-Morphic, OB-Refactory, and OB-Regex are dirty packages. There are numerous overrides that subtly break these packages. The menus of OB are messed up too. What browser are you using? What menu item are you using? In Pharo-Dev I have 3 different rename menus :-/ Lukas 2009/11/16 Tudor Girba tudor.gi...@gmail.com: Hi, The refactorings are broken in the dev image 10495. I opened a ticket: http://code.google.com/p/pharo/issues/detail?id=1451 Cheers, Doru -- www.tudorgirba.com No matter how many recipes we know, we still value a chef. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com The coherence of a trip is given by the clearness of the goal. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] rb broken in dev 10495
Hi Lukas, I listed it below: codeBrowser | browser | browser := GLMTableLayoutBrowser new. browser row: #navigation; row: #details. browser showOn: #navigation; using: [ browser custom: self codeNavigator ]. browser showOn: #details; from: #navigation-#class; from: #navigation-#method; using: [ browser text display: [:cls | cls sourceText]; useExplicitNotNil; when: [:cls :method | cls notNil and: [method isNil] ]. browser text display: [:cls :method | method sourceText] ]. browser sendToOutside: #namespace from: #navigation-#namespace. browser sendToOutside: #class from: #navigation-#classe. browser sendToOutside: #method from: #navigation-#method. browser sendTo: ##navigation-#namespaceToSelect fromOutside: #namespaceToSelect. browser sendTo: ##navigation-#classToSelect fromOutside: #classToSelect. browser sendTo: ##navigation-#methodToSelect fromOutside: #methodToSelect. ^ browser Cheers, Doru On 16 Nov 2009, at 12:01, Lukas Renggli wrote: Indeed, that looks like a bug in the parser of the RB. Can you send me the code of MooseBrowserscodeBrowser Lukas 2009/11/16 Tudor Girba tudor.gi...@gmail.com: I used the refactor class/rename menu entry. I noticed the problem first in the PackageBrowser, and then reproduced it in the OBSystemBrowser. Cheers, Doru On 16 Nov 2009, at 10:13, Lukas Renggli wrote: I cannot reproduce this using the RB tests and in the default OB loaded into a Pharo-Core image. RB and OB in the dev image are broken. OB-Morphic, OB-Refactory, and OB-Regex are dirty packages. There are numerous overrides that subtly break these packages. The menus of OB are messed up too. What browser are you using? What menu item are you using? In Pharo- Dev I have 3 different rename menus :-/ Lukas 2009/11/16 Tudor Girba tudor.gi...@gmail.com: Hi, The refactorings are broken in the dev image 10495. I opened a ticket: http://code.google.com/p/pharo/issues/detail?id=1451 Cheers, Doru -- www.tudorgirba.com No matter how many recipes we know, we still value a chef. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com The coherence of a trip is given by the clearness of the goal. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Next time you see your life passing by, say 'hi' and get to know her. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] simulating morphic events
Hi, I would like to simulate Morphic events, like mouseUp, but I cannot figure out the complete setup. Here is the code I have so far: | mouseUp morph | morph := self scroller submorphs first. mouseUp := MouseButtonEvent basicNew setType: #mouseUp position: (morph bounds origin + (1...@1)) which: 4 buttons: 7 hand: (HandMorph new mouseFocus: morph; yourself) stamp: Time millisecondClockValue. morph handleMouseUp: mouseUp. At this moment it looks like the problem is that the eventHandler in the morph is nil. Can anyone point me into the right direction? Cheers, Doru -- www.tudorgirba.com Yesterday is a fact. Tomorrow is a possibility. Today is a challenge. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] simulating morphic events
Interesting, but I am also looking for a mouse event. Anyone has other examples? Doru On 16 Nov 2009, at 13:57, Lukas Renggli wrote: At this moment it looks like the problem is that the eventHandler in the morph is nil. Can anyone point me into the right direction? Have a look at OBKeyBindingsTestmodifier:keycode: in OB-Morphic- Tests. Lukas -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Some battles are better lost than fought. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] rb broken in dev 10495
Hi, Indeed, this was actually a mistake in the code. But either the parser does not allow me to enter it, or the tools should not break. Cheers, Doru On 16 Nov 2009, at 13:57, Stéphane Ducasse wrote: may be we should avoid ## because I think that this is not smalltalk (did not check the standard). and I do not see an usage for now. Stef On Nov 16, 2009, at 1:34 PM, Lukas Renggli wrote: browser sendTo: ##navigation-#namespaceToSelect fromOutside: #namespaceToSelect. browser sendTo: ##navigation-#classToSelect fromOutside: #classToSelect. browser sendTo: ##navigation-#methodToSelect fromOutside: #methodToSelect. ##navigation is not really valid Smalltalk. I don't know why the Pharo Compiler accepts that. I can change the refactoring browser to also accept that, but it looks strange to me. -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Not knowing how to do something is not an argument for how it cannot be done. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] simulating morphic events
Thanks Gary, Indeed, this raises the local menu. So maybe the morph I am testing has some problems. But, if we are at it, I have a question regarding the mouse buttons. I thought that which: 4 will raise a left click event (which is what I would like to target), but by running your code I get a menu popping out. What am I missing? Cheers, Doru On 16 Nov 2009, at 14:57, Gary Chambers wrote: Your original code seems ok. Try the following via inspecting the PluggableTextMorph of a Workspace, for example (changed to do mouse down...) | mouseDown morph | morph := self scroller submorphs first. mouseDown := MouseButtonEvent basicNew setType: #mouseDown position: (morph bounds origin + (1...@1)) which: 4 buttons: 7 hand: (HandMorph new mouseFocus: morph; yourself) stamp: Time millisecondClockValue. morph handleMouseDown: mouseDown. Regards, Gary - Original Message - From: Tudor Girba tudor.gi...@gmail.com To: Pharo-project@lists.gforge.inria.fr Sent: Monday, November 16, 2009 1:21 PM Subject: Re: [Pharo-project] simulating morphic events Interesting, but I am also looking for a mouse event. Anyone has other examples? Doru On 16 Nov 2009, at 13:57, Lukas Renggli wrote: At this moment it looks like the problem is that the eventHandler in the morph is nil. Can anyone point me into the right direction? Have a look at OBKeyBindingsTestmodifier:keycode: in OB-Morphic- Tests. Lukas -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Some battles are better lost than fought. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Problem solving efficiency grows with the abstractness level of problem understanding. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Connectors
Hi Andrew, The official page is here: http://moose.unibe.ch/tools/mondrian Although most of it talks about the VisualWorks implementation, you can find an up-to-date Pharo-related tutorial here: http://bergel.eu/download/MondrianManual.pdf Cheers, Doru On 18 Nov 2009, at 00:33, Andrew P. Black wrote: Is there any documentation? Andrew On 17 Nov 2009, at 03:46, Alexandre Bergel wrote: I recommand you to give a try at Mondrian. http://www.squeaksource.com/Mondrian.html ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com We are all great at making mistakes. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] pharo and db support
Hi, I would like to collect a list of the solutions to link Pharo with existing databases. I am interested in both relational and in object databases. Is there a list somewhere? If not and if you know/use/develop/ such a solution, it would be great if we could put it together by collecting some data about these: - Pharo project and version - Supported database vendor and version - Maturity: prototype/production ready/ - Projects that use this one - Current development status and maintenance support (if any) - Website - Others Cheers, Doru -- www.tudorgirba.com If you interrupt the barber while he is cutting your hair, you will end up with a messy haircut. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Pharo and db support
Hi, That sounds interesting indeed. But, I was more talking about the projects for DB mapping, not the application projects. In other words, what Pharo project are you using and which version to work with what version of what database. For example, you mentioned SqueakDBX. Which version? Is the latest one Ok? The same for Glorp. Cheers, Doru On 26 Nov 2009, at 22:59, Diogenes Moreira wrote: in fact, we are working on a new page please be patient with us as .. is the tipical situation, the good programmers make horrible pages...please some graphics artist, help us :) Regards. On Thu, Nov 26, 2009 at 6:45 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Excellent! Diogenes it would be great if you could have a web page :) Stef On Nov 26, 2009, at 10:17 PM, Diogenes Moreira wrote: http://www.smallworks.com.ar We have a lot products in productions using relationals database. Sadly, we don't have webpages for all products...we are programmers :) Today, our strategy is use Glorp, with SqueakDBX. (Postgres, MySql, Oracle and comming Soon MSSQL), when we don't use the prevalence But we have products with Glorp with direct driver and Homemade Frameworks. the best success case is a Postal Tracking System. This system manages arround 2 millon letters at month. This system use PostgreSql and Glorp. Best Regards On Thu, Nov 26, 2009 at 5:14 PM, Stephan Eggermont step...@stack.nl wrote: Doru wrote: I would like to collect a list of the solutions to link Pharo with existing databases. I am interested in both relational and in object databases. Something like http://www.seaside.st/documentation/persistence? Stephan ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com The coherence of a trip is given by the clearness of the goal. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Pharo and db support
Thanks, Mariano. Indeed, that is the kind of information I am looking for. Cheers, Doru On 27 Nov 2009, at 00:23, Mariano Martinez Peck wrote: Ok.Doru: I will answer you as much as I know. I think it is good your idea of having a webpage with all the answers of your questions and even more. The seaside persistence page is ok, but two things: 1) this is not only squeak/pharo but others dialects too, 2) Most of those persistence strategies are not seaside dependent. I mean, you can use them in others contexts, not only seaside. Maybe we can modify http://code.google.com/p/pharo/wiki/PackagesTestedInPharo and put more information. what do you mean by Projects that use this one ? projects like Glorp or enterprise/company projeccts ? Regarding SqueakDBX there are two projects: SqueakDBX itself and GlorpDBX. SqueakDBX is just the database driver. Maturity: SqueakDBX has raised the stable maturity. Version: You can have in Universe 1.0 and 1.1 (which is the latest one). For stable releases we use Universe and SqueakMap, but not MC. However, most of the time, the latests versions in MC are working. I know this is not the best approach and we can use Metacello or Sake but we didn't have time yet. In this moment, you can install the latests version and will work perfect. You can take the latest Pharo image (core, dev or web), download the package SqueakDBXLoaders and then just evaluate SqueakDBXPharoLoader loadSqueakDBX. Supported database vendor and version: I can told you the tested databases, but not the supported. Because I don't know. Maybe it works and maybe it doesn't.We have tested the following databases: Oracle (I think 9 and 10, but I guess it should work on 11), MySQL 5 (in 4.1 we have some problems but there is some work done), PostgresSQL 8.X, Sqlite3.XXX, MSSQL 2005 and 2008. Current development: GlorpDBX and fixing bugs when reported Maintance support: we are here :) we have our own mailing list: http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx Website: www.squeakdbx.org GlorpDBX: We did two things: we refactored Glorp so that it is not couple to the native postgresql driver anymore but to an API (abstract database driver). And then, we create a concrete Glorp driver for SqueakDBX (that's what we call GlorpDBX) and another one for the postgresql native driver. Maturity: Yet in development. Thanks to ESUG for the sponsoring on SummerTalk 2009. Right now we have postgresql, mysql and oracle green tests. We will then work on MSSQL support. Version: There is no release yet, but you can download the latest from MC. Just download the package SqueakDBXLoaders and evaluate SqueakDBXLoader loadGlorpDBX. The problem here is Glorp. The Glorp port we have in Squeak is too old. We plan to do a new port from VW but this is quite complicated as there is no exporter from Store to MC as I understand. Supported database vendor and version: I can told you the tested databases, but not the supported. Because I don't know. Maybe it works and maybe it doesn't.We have tested the following databases: Oracle (I think 9 and 10, but I guess it should work on 11), MySQL 5 (in 4.1 we have some problems but there is some work done), PostgresSQL 8.X. Maintance support: we are here :) Website: www.squeakdbx.org There is also the native postgresql driver which also works on Pharo and it has no dependencies. In addition, you can load Glorp with our refactor and a new Glorp driver we did but using the postgresql native driver. To do this, you must download GlorpPharoLoader and evaluate loadGlorpWithNativePostgreSQLDriver. There is also Magma than in the few months they did a lot of work and now it works also in Pharo. Okthat's all I could tell you. I don't have a pharo image here so maybe some of the messages I told you are wrong :( Cheers, Mariano On Thu, Nov 26, 2009 at 7:44 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Nov 26, 2009, at 11:38 PM, Diogenes Moreira wrote: A OK.. SqueakDbx http://www.SqueakDBX.org with Glorp. http://www.glorp.org which version live in the trunk is more fun. :) well. I just got a discussion with doru that this is a pain to load the latest version of something because you cannot load a previous and robust set of consistently working together versions. Soon people will have to offer metacello configuration. Best Regards. On Thu, Nov 26, 2009 at 7:06 PM, Tudor Girba tudor.gi...@gmail.com wrote: Hi, That sounds interesting indeed. But, I was more talking about the projects for DB mapping, not the application projects. In other words, what Pharo project are you using and which version to work with what version of what database. For example, you mentioned SqueakDBX. Which version? Is the latest one Ok? The same for Glorp
[Pharo-project] ocompletion usability
Hi, OCompletion certainly improved the coding experience in Pharo. But, I have a couple of usability suggestions with OCompletion to make it better. It would be great if someone (Romain? :)) could act on them: 1. Right now, OCompletion is triggered both by Tab and by Enter. It should be only Tab. Here is the reason. When I have a cascade, I want to have the methods starting from the next line, like this: browser mondrian title: 'Something'; painting: [:view ... ] So, after I type browser mondrian, I naturally want to press Enter. However, there exists a method called mondrianAnnounce:, and when I press Enter it gets filled in. So, the intent of Enter should be similar to that of Space: just as a whitespace. Tab is a good choice for triggering the completion because we basically only use Tabs only in a new line where the completion does not apply. 2. When no completion is offered and I press tab, I do get some list. Why is this not offered by default? Is it because it is slower? Is it because it is the regular ECompletion and that is not useful? 3. The completion is triggered only when typing, but not when removing characters. I believe it would be better if it followed me all the time. 4. When I want to navigate through the offered list using the down arrow the look changes and the items become wider. In fact, the same appears when I force completion by pressing Tab, so this leads me to believe that the change in the look is given by the change from O to E completion. The look should remain the same. Cheers, Doru -- www.tudorgirba.com If you interrupt the barber while he is cutting your hair, you will end up with a messy haircut. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] ocompletion usability
Hi Romain, 1. Right now, OCompletion is triggered both by Tab and by Enter. It should be only Tab. Here is the reason. When I have a cascade, I want to have the methods starting from the next line, like this: browser mondrian title: 'Something'; painting: [:view ... ] So, after I type browser mondrian, I naturally want to press Enter. However, there exists a method called mondrianAnnounce:, and when I press Enter it gets filled in. So, the intent of Enter should be similar to that of Space: just as a whitespace. Tab is a good choice for triggering the completion because we basically only use Tabs only in a new line where the completion does not apply. Well, the completion with enter was requested by a few people, so we should reach a consensus. I believe that the scenario presented above is a reasonable and not uncommon one. Right now, I have to get from an subconscious state of typing to a conscious one to get myself to press Space before Enter. And I do not see the gain of having two keys doing the same thing. 2. When no completion is offered and I press tab, I do get some list. Why is this not offered by default? Is it because it is slower? Is it because it is the regular ECompletion and that is not useful? It is the regular ECompletion, which is slower, and less useful. 3. The completion is triggered only when typing, but not when removing characters. I believe it would be better if it followed me all the time. Good point! 4. When I want to navigate through the offered list using the down arrow the look changes and the items become wider. In fact, the same appears when I force completion by pressing Tab, so this leads me to believe that the change in the look is given by the change from O to E completion. The look should remain the same. I thought about it and concluded that it may be good to differentiate them. I do not believe that making explicit the internal implementation of the overall completion service is beneficial. In fact, the inconsistency just raises questions and it somehow makes me feel as if I am breaking something. If the question of the choice between the E and O appearance arises, my preference is for the colors and appearance of OCompletion (I like it that it does not take that much space and the colors are less intrusive). Cheers, Doru As for the tab/enter issue, different people think differently. That's why we should reach a consensus on these two issues, so that I can decide whether I should remove these two features :-). Cheers, Romain Cheers, Doru -- www.tudorgirba.com If you interrupt the barber while he is cutting your hair, you will end up with a messy haircut. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Romain Robbes http://www.inf.unisi.ch/phd/robbes ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com It's not how it is, it is how we see it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] file encodings
Hi, I know that there was a long discussion regarding opening of files, but I did not see a resolution. I would like to be able to read files regardless of the encoding. I am using this code: (CrLfFileStream readOnlyFileNamed: fullPath) contentsOfEntireFile but I get an error when I reach a file in Latin 1 (ISO-8859-1). How can I safely deal with this issue without getting hurt? Cheers, Doru -- www.tudorgirba.com When people care, great things can happen. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] file encodings
Hi Nicolas, Thanks for the tips. I am a bit alien to the topic of encodings, so I will ask a couple of silly questions. How exactly do I deal with another encoding? For example, why does this work with Utf-8, and what would I do if I encountered another encoding? Or more general, how can I find out what kind of converter I need for a given file? Cheers, Doru On 30 Nov 2009, at 12:30, Nicolas Cellier wrote: You may try this: (CrLfFileStream readOnlyFileNamed: fullPath) converter: Latin1TextConverter new; contentsOfEntireFile Or if you want more explicit control: (MultiByteFileStream readOnlyFileNamed: fullPath) lineEndConvention: #crlf; converter: Latin1TextConverter new; contentsOfEntireFile. Nicolas 2009/11/30 Tudor Girba tudor.gi...@gmail.com: Hi, I know that there was a long discussion regarding opening of files, but I did not see a resolution. I would like to be able to read files regardless of the encoding. I am using this code: (CrLfFileStream readOnlyFileNamed: fullPath) contentsOfEntireFile but I get an error when I reach a file in Latin 1 (ISO-8859-1). How can I safely deal with this issue without getting hurt? Cheers, Doru -- www.tudorgirba.com When people care, great things can happen. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com When people care, great things can happen. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Feature request: Waiting cursor on load
Hi Johan, Thanks for the report. A better forum for Moose related problems would be the moose-...@iam.unibe.ch mailing list. You can subscribe here: https://www.iam.unibe.ch/mailman/listinfo/moose-dev Also, to create an issue related to Moose, please use: http://code.google.com/p/moose-technology/issues/list Coming to your issue, this is due to Metacello having no progress bar. However, if you open a Transcript, you will get a progress report. So, now I changed a bit the ConfigurationOfMoose and it opens it for you when you loadDefault. You can get the change in: ConfigurationOfMoose-tg.33 Cheers, Doru On 30 Nov 2009, at 16:19, Alexandre Bergel wrote: finally able to get going on Pharo, I wanted to load Moose. I got the ConfigurationOfMoose package, and run the loadDefault method. Very good start! I have no problem with a 'load' taking for ever, I know I am on the other side of the ocean. But please change the cursor to a 'wait' cursor while doing the load. It takes a lng time before the first progress bar shows, I almost panicked. And now a progress bar just dissapeared, but there is still nothing I can do. The 'wait' cursor would go a long way in easing my mind. And it's probably just one line of code ... Yeah, this is a well known problem. Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com One cannot do more than one can do. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Very tiny fonts
Indeed, that would be great to have. Doru On 2 Dec 2009, at 22:39, Stéphane Ducasse wrote: visualizations. We would love to have such a tiny font. If I would know how to do that I would already have done it. Stef On Dec 2, 2009, at 10:19 PM, Adrian Lienhard wrote: What is the point of a font so small that I can hardly read it? Or is it just me and I need new glasses? Adrian On Dec 2, 2009, at 18:09 , Marcus Denker wrote: On Dec 2, 2009, at 6:06 PM, Marcus Denker wrote: Hi, While discussing Visualisations, we realized we want *really* tiny fonts... Here is a hand-drawn sub-pixel font that is just 5 pixels high... http://typophile.com/node/61920 Now we need to make a font for Pharo... we should check in addition how good/bad freetype or the mac renderes tinty fonts from the standard truetype fonts. Marcus ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Yesterday is a fact. Tomorrow is a possibility. Today is a challenge. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] [Moose-dev] Re: Re: duplication between default: and version40beta2:?
Hi, Not every loading strategy have the same goal or the same context. Sub projects will be developed and published in their own context without taking into account the overall project. However, when maintaining the overall project, I want to be able to say load latest so that I can easily load everything and check whether everything still holds together. For overall release management, I do not want to rely on load latest. Instead I will release a coherent version when I see that it works. This will be a fixed set of packages with exact versions that will work together. Cheers, Doru On 3 Dec 2009, at 14:21, Marcus Denker wrote: On Dec 3, 2009, at 1:40 PM, Laval Jannik wrote: Yeh, Now, I understand the process... (I am slow :) ) But, in this process we must specify versions and maintain it. Is there a solution (in monticello maybe) to say a version of a package is stable. So in this case, we can say I want last stable version of my package and we do not need to maintain ConfigurationOf. The problem is that it's not one package... your system will be 20 packges. You can say load the latest of all, that works. But: now I want to load the version that worked so great last month. Which set of packages exactly where that? Tagging single packages as release will not help, as you don't have the info which released package works with which other released package. Marcus ___ Moose-dev mailing list moose-...@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com Obvious things are difficult to teach. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] [Moose-dev] Re: for mondrian designers
Hi, So consider to have a look at the cairo package in PharoTaskForces because it will not come to you alone :) What exactly should I load from PharoTaskForces to get Cairo? I see several Rome related packages, but which ones are needed? Is there a load script? Cheers, Doru -- www.tudorgirba.com There are no old things, there are only old ways of looking at them. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] about keys returning a set
Using this script: (Dictionary allInstances inject: 0 into: [ :r :e | r + e size ]) / Dictionary allInstances size asFloat I get 14.23 in my image. Using this script: (Set allInstances inject: 0 into: [ :r :e | r + e size ]) / Set allInstances size asFloat I get 0.49 Cheers, Doru On 4 Dec 2009, at 11:49, Lukas Renggli wrote: I posted these numbers a while ago. In my image the average length of a Dictionary is 10, the average length of a Set is 1.2. Lukas 2009/12/4 Stéphane Ducasse stephane.duca...@inria.fr: I would be curious to see the average length of dictionary keys (except Smalltalk) and see the performance penalty between set and array for the do: Stef 2009/12/4 Lukas Renggli reng...@gmail.com: Actually the code can be further optimized: Dictionarykeys Answer a Set containing the receiver's keys. | result container | result := Set basicNew setTally: tally array: array copy. container := result array. 1 to: container size do: [ :index | (container at: index) ifNotNil: [ :assoc | container at: index put: assoc key ] ]. ^ result This is roughly 22 times faster than the current implementation, and 5 times faster than the squeak implementation. The system doesn't seem to break with this change :-) Lukas Yes Levente considered this implementation as keysAsSet, but did not pushed it in trunk so far. You must also consider that each further usage of a Set will add a performance penalty vs an Array, especially do: Nicolas 2009/12/4 Lukas Renggli reng...@gmail.com: I wonder if ever something along the following lines was considered? Dictionarykeys Answer a Set containing the receiver's keys. | result | result := Set basicNew. result setTally: tally array: (array collect: [ :each | each isNil ifFalse: [ each key ] ]). ^ result This returns a Set, so it wouldn't break any semantics. In my benchmark this is roughly 8x faster than the current implementation, and 2x faster than the optimized Squeak implementation. The drawback is that it makes some heavy assumptions on the internal structure of Dictionary, Association and Set. Lukas 2009/12/4 Henrik Sperre Johansen henrik.s.johan...@veloxit.no: A small addendum ;) On 03.12.2009 22:13, Nicolas Cellier wrote: 3) identify thise sending a potential inefficient message (includes:) insert keys asSet in this case (only if includes: is in a loop!) 3b. If the keys collection isn't used for anything else, change to use includesKey: instead. Cheers, Henry ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Lukas Renggli http://www.lukas-renggli.ch -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Lukas Renggli http://www.lukas-renggli.ch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com No matter how many recipes we know, we still value a chef. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] ClassTree new openOn: Collection :)
I am not sure I understand what you mean by the fonts being ugly. They are exactly the ones used in the overall Pharo, and they look just fine to me.Cheers,DoruOn 10 Dec 2009, at 02:50, Schwab,Wilhelm K wrote:Doru, all,That's good news on a couple of fronts: I had missed/forgotten about gofer's availability in RC1.One snag though: the fonts look weird in the tree and list, so I tried the squeakvm.org vm, and am getting seriously ugly fonts. What do I have to do to fix that? When is the Pharo-specific VM going to "come back?"Bill-Original Message-From: pharo-project-boun...@lists.gforge.inria.fr [mailto:pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Tudor GirbaSent: Wednesday, December 09, 2009 4:38 AMTo: Pharo-project@lists.gforge.inria.frSubject: Re: [Pharo-project] ClassTree new openOn: Collection :)We are already using the MorphTreeMorph in Glamour in a 1.0 image.It's pretty cool.You can get it at: Gofer new squeaksource: 'Momo'; addPackage:'Morphic-MorphTreeWidget'; load.Cheers,DoruOn 8 Dec 2009, at 21:36, Stéphane Ducasse wrote:1.1 of course :)I'm riding the wafe :)On Dec 8, 2009, at 9:05 PM, Schwab,Wilhelm K wrote:Stef,Where does this work? My RC1 image either does not contain theclasses, or I'm being too dense to see the corrected thing in thelist of choices. Interested, if only as examples to help me with acouple of tasks...Bill-Original Message-From: pharo-project-boun...@lists.gforge.inria.fr[mailto:pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Stéphane DucasseSent: Tuesday, December 08, 2009 11:08 AMTo: Pharo-project@lists.gforge.inria.fr DevelopmentCc: notre listeSubject: [Pharo-project] ClassTree new openOn: Collection :)I started to understand MorphTreeMorph to build a class documentationbrowsing browser and I discovered that ClassTree new openOn: Collection ClassList new openOn: CollectionThis is really a good start.We could have it for packageand displaying methodsStef___Pharo-project mailing listPharo-project@lists.gforge.inria.frhttp://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project___Pharo-project mailing listPharo-project@lists.gforge.inria.frhttp://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project___Pharo-project mailing listPharo-project@lists.gforge.inria.frhttp://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project--www.tudorgirba.com"Be rather willing to give than demanding to get."___Pharo-project mailing listPharo-project@lists.gforge.inria.frhttp://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project___Pharo-project mailing listPharo-project@lists.gforge.inria.frhttp://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project--www.tudorgirba.com"Every thing should have the right to be different." ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Rome port
That is great news, Michael! Cheers, Doru On 17 Dec 2009, at 13:39, Michael Rueger wrote: Hi all, there is now a Pharo port of Rome :-) Quite a few things are still untested and probably broken, freetype integration isn't what it should be yet, but it basically works. You will need the RomePlugin for your platform. https://gforge.inria.fr/frs/download.php/25047/RomePlugin.bundle.zip https://gforge.inria.fr/frs/download.php/25046/rome.zip To load: Get these two packages from PharoInbox (for now) Graphics-MichaelRueger.168 FreeType-MichaelRueger.498 To load Rome: Gofer new impara: 'RomePharo'; addPackage: 'Rome-BalloonCanvas'; addPackage: 'Rome-Base'; addPackage: 'Rome-PluginCanvas'; addPackage: 'Rome-Fonts'; addPackage: 'Rome-Demo'; load Make sure that Freetype fonts are loaded: FreeTypeFontProvider current loadFromSystem. RomeFontManager resetDefault There is no support for strike or TT fonts (yet). Michael ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- www.tudorgirba.com Beauty is where we see it. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project