Re: [Pharo-project] Class Browser

2010-02-19 Thread Lukas Renggli
Where is there documentation to be found describing the meaning of list entry icons (on left side of lists) in the Class Browser? Classes have icons depending on their type. The exception are tests which have a bullet with the SUnit result color of the last run, or gray if there is no data is

[Pharo-project] Class Browser

2010-02-19 Thread Torsten Bergmann
Hi Anthony, I guess there is no documentation (refcard or the like) since the icon may change and are specific to the OB Browser. You can even have your own. Since Smalltalk is very, very dynamic it is often the case that it is much easier to look at the system itself than to ask for up to date

Re: [Pharo-project] Namespaces

2010-02-19 Thread Marcus Denker
On Feb 18, 2010, at 11:02 PM, James Foster wrote: Why not, if it has been proved for a long time in Gemstone, shouldn't be sensible to create something similar for Pharo? Or it uses some kind of proprietary technology from Gemstone? You've heard the phrase, Imitation is the sincerest form

Re: [Pharo-project] self halt :)

2010-02-19 Thread Stéphane Ducasse
I see now it would be good to go over the 49 that are in the image and categorize them - self error: - broken code - can be removed Stef On Feb 19, 2010, at 2:11 AM, John M McIntosh wrote: Hah, this reminds me of a time where I put like 58 halts in some group shared

Re: [Pharo-project] {Spam?} Re: Real packages.

2010-02-19 Thread Geert Claes
Dale Henrichs wrote: Gemstone uses an order list of dictionaries for global lookup. Each user can change the order of the list or insert their own dictionaries into the list ... makes for quite a bit of flexibility you can load code into a particular dictionary...and the global

Re: [Pharo-project] cull: protocol

2010-02-19 Thread Henrik Johansen
Den 18.02.2010 21:55, skrev Stéphane Ducasse: henrik I'm trying to get the pros and cons of cull: So am'I correct that this is useful only for situation where we have a block and we do not know upfront its number of argument: = places where valueWithPossibleArgs: Now what cull: offers is

Re: [Pharo-project] Class Browser

2010-02-19 Thread Mariano Martinez Peck
It would be cool to put this information somewhere and accessible from the OB. On Fri, Feb 19, 2010 at 9:03 AM, Lukas Renggli reng...@gmail.com wrote: Where is there documentation to be found describing the meaning of list entry icons (on left side of lists) in the Class Browser? Classes

Re: [Pharo-project] cull: protocol

2010-02-19 Thread Stéphane Ducasse
Your arguments are convincing to me ;) Stef On Feb 19, 2010, at 10:22 AM, Henrik Johansen wrote: Den 18.02.2010 21:55, skrev Stéphane Ducasse: henrik I'm trying to get the pros and cons of cull: So am'I correct that this is useful only for situation where we have a block and we do not

Re: [Pharo-project] Object toFinalizeSend:to:with:

2010-02-19 Thread Stéphane Ducasse
On Feb 19, 2010, at 10:33 AM, Henrik Johansen wrote: The two uses I've seen of this method (RequiredSelectorsregisterLifelongInterestOf:inAll: in Core, and AXWeakSubscription in AXAnnouncements on SqueakSource) have used this as a poor mans replacement for ephemerons. The problem is it does

Re: [Pharo-project] cull: protocol

2010-02-19 Thread Levente Uzonyi
On Fri, 19 Feb 2010, Henrik Johansen wrote: Den 18.02.2010 21:55, skrev Stéphane Ducasse: henrik I'm trying to get the pros and cons of cull: So am'I correct that this is useful only for situation where we have a block and we do not know upfront its number of argument: = places where

Re: [Pharo-project] [squeak-dev] Window resize

2010-02-19 Thread Mariano Martinez Peck
I think I asked the same some time ago. I tried what Adrian said but without success :( http://n4.nabble.com/How-can-I-change-the-size-of-the-World-td1310740.html#a1310740 Do we have a solution now? Cheers Mariano On Thu, Feb 18, 2010 at 12:39 PM, Torsten Bergmann asta...@gmx.de wrote: Is

Re: [Pharo-project] So your working on a cool project and Pharo crashes

2010-02-19 Thread Mariano Martinez Peck
We should document somewhere all the techniques and tricks to recover lost data. It would be cool if someone can write that. I don't have the knowledge :( Cheers Mariano On Fri, Feb 19, 2010 at 5:47 AM, Ramon Leon ramon.l...@allresnet.comwrote: On 2/17/2010 11:25 PM, Alexandre Bergel wrote:

Re: [Pharo-project] databases

2010-02-19 Thread Stephan Eggermont
Levente wrote in response to my: 3. You have a legacy (relational) database, with extensive reporting written for it. Use an ORM. Relational databases are not legacy, they have features which modern key-value stores don't (and won't). ORMs may ease the programmer's work, but they tend to

Re: [Pharo-project] cull: protocol

2010-02-19 Thread Henrik Johansen
Den 19.02.2010 12:40, skrev Levente Uzonyi: On Fri, 19 Feb 2010, Henrik Johansen wrote: Den 18.02.2010 21:55, skrev Stéphane Ducasse: henrik I'm trying to get the pros and cons of cull: So am'I correct that this is useful only for situation where we have a block and we do not know

[Pharo-project] [squeak-dev] Window resize

2010-02-19 Thread Torsten Bergmann
Hi Mariano, I think I asked the same some time ago. No, you asked on how to manipulate the size of the surrounding native window directly from your code. Thats easy on Windows using SetWindowPos() API [1] with FFI, but there is no generalized platform independent solution in all VM's yet.

Re: [Pharo-project] cull: protocol

2010-02-19 Thread Levente Uzonyi
On Fri, 19 Feb 2010, Henrik Johansen wrote: Well, ugly was a strong word. Reusing less, aka. shorter is a better choice, I guess. I think the difference is 3 lines for the 4 methods. Cheers, Henry PS. In VisualWorks, the two perform equally. *Wishing for a Cog VM to test on* :) There's

Re: [Pharo-project] cull: protocol

2010-02-19 Thread Randal L. Schwartz
Levente == Levente Uzonyi le...@elte.hu writes: Levente Here is a working example (the linked version has a bug): Levente BlockClosure cull: argument1 cull: argument2 LeventenumArgs = 2 ifTrue: [ ^self value: argument1 value: argument2 ]. LeventenumArgs = 1 ifTrue: [ ^self

Re: [Pharo-project] cull: protocol

2010-02-19 Thread Henrik Johansen
Den 19.02.2010 14:03, skrev Levente Uzonyi: On Fri, 19 Feb 2010, Henrik Johansen wrote: Well, ugly was a strong word. Reusing less, aka. shorter is a better choice, I guess. I think the difference is 3 lines for the 4 methods. Cheers, Henry PS. In VisualWorks, the two

Re: [Pharo-project] cull: protocol

2010-02-19 Thread Levente Uzonyi
On Fri, 19 Feb 2010, Henrik Johansen wrote: Den 19.02.2010 14:03, skrev Levente Uzonyi: On Fri, 19 Feb 2010, Henrik Johansen wrote: Well, ugly was a strong word. Reusing less, aka. shorter is a better choice, I guess. I think the difference is 3 lines for the 4 methods. Cheers,

Re: [Pharo-project] [squeak-dev] Window resize

2010-02-19 Thread Mariano Martinez Peck
On Fri, Feb 19, 2010 at 1:40 PM, Torsten Bergmann asta...@gmx.de wrote: Hi Mariano, I think I asked the same some time ago. No, you asked on how to manipulate the size of the surrounding native window directly from your code. Thats easy on Windows using SetWindowPos() API [1] with FFI,

[Pharo-project] [update 1.1] #11217

2010-02-19 Thread Stéphane Ducasse
[update 1.1] #11217 11217 - - Issue 1990: Improving Tools (browser sender,implementor) - Issue 2000: remove #at:ifPresentAndInMemory: - Issue 1999: small cleanup related to Object#isWebBrowser - Issue 1997: clean up doit special casing - Issue 1998: small dead code cleanup

[Pharo-project] [update 1.1] #11216

2010-02-19 Thread Stéphane Ducasse
Issue 1785:Window event notification Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] So your working on a cool project and Pharo crashes

2010-02-19 Thread Alexandre Bergel
I was not aware of this. Excellent! Alexandre On 19 Feb 2010, at 01:47, Ramon Leon wrote: On 2/17/2010 11:25 PM, Alexandre Bergel wrote: The change file needs to have the same name than the image to have it listed when you do a recover lost changes. Not really, you can drag and drop any

[Pharo-project] Browse classes with shortcut in merge

2010-02-19 Thread Mariano Martinez Peck
Hi Gary: It would be cool to be able to browse a class (when selected) using the shortcut (cmd + b). Right now you only can browse it using right button - Browse class Cheers Mariano ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] {Spam?} Re: Real packages.

2010-02-19 Thread James Foster
On Feb 19, 2010, at 1:06 AM, Geert Claes wrote: Is that GemStone Programming Guide pdf you linked to still the latest, it says April 2007? While it is not the latest, the material in chapter 3 is essential the same. ___ Pharo-project mailing list

Re: [Pharo-project] cull: protocol

2010-02-19 Thread Stéphane Ducasse
So henry the fast or the slow :) Stef On Feb 19, 2010, at 2:26 PM, Henrik Johansen wrote: Den 19.02.2010 14:03, skrev Levente Uzonyi: On Fri, 19 Feb 2010, Henrik Johansen wrote: Well, ugly was a strong word. Reusing less, aka. shorter is a better choice, I guess. I think the

[Pharo-project] Help system now for Squeak and Pharo

2010-02-19 Thread Torsten Bergmann
Since we share tools and code - we may in the future also share (in-image) documentation for tools. What is new: - Refactored and updated the code - Help System is now usable in Pharo and Squeak too - Metacello config is updated for both - there is an initial help for the Pharo

[Pharo-project] [update 1.1] #11218

2010-02-19 Thread Marcus Denker
11218 - Issue 2003: fix SimpleButtonMorph to not use #findA: Issue 2002: remove TextFieldMorph Issue 1988: clean all references to TheWorldMenu Issue 1858: Clean and make a better and regular classVarAt: protocol Issue 1986: More dead code removal: project related Issue

[Pharo-project] SqueakSave on Pharo (was: databases)

2010-02-19 Thread Yanni Chiu
Mariano Martinez Peck wrote: Finally, with SqueakSave you can automatically persist. It takes care of writing everything. You don't need to write the mappings. Of course, you need to follow certain conventions in the names. SqueakSave supports MySQL and PostgreSQL only althought they wanted

[Pharo-project] [update 1.1] #11220

2010-02-19 Thread Marcus Denker
11220 - Issue 2006: Cleaning RecentSubmission From Utilities -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

[Pharo-project] [update 1.1] #11219

2010-02-19 Thread Marcus Denker
Issue 2007: SketchMorph, PaintBoxMorph and friends removal -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] SqueakSave on Pharo (was: databases)

2010-02-19 Thread laurent laffont
On Fri, Feb 19, 2010 at 6:19 PM, Yanni Chiu ya...@rogers.com wrote: Mariano Martinez Peck wrote: Finally, with SqueakSave you can automatically persist. It takes care of writing everything. You don't need to write the mappings. Of course, you need to follow certain conventions in the

[Pharo-project] [ANN 1.1] pre-build #11220

2010-02-19 Thread Marcus Denker
Hi, The result of our Friday afternoon hacking session http://gforge.inria.fr/frs/download.php/26446/PharoCore-1.1-11220-UNSTABLE.zip Marcus -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.

Re: [Pharo-project] SqueakSave on Pharo

2010-02-19 Thread Yanni Chiu
laurent laffont wrote: The original repository from HPI seems to be offline now (and a few weeks ago). I've not seen any community of users, and I'm not sure what development is ongoing. I can make my .mcz available if someone wants it. Can you put it on squeaksource ?

Re: [Pharo-project] SqueakSave on Pharo

2010-02-19 Thread laurent laffont
On Fri, Feb 19, 2010 at 9:24 PM, Yanni Chiu ya...@rogers.com wrote: laurent laffont wrote: The original repository from HPI seems to be offline now (and a few weeks ago). I've not seen any community of users, and I'm not sure what development is ongoing. I can make my .mcz

Re: [Pharo-project] [squeak-dev] Help system now for Squeak and Pharo

2010-02-19 Thread Igor Stasenko
On 19 February 2010 18:00, Torsten Bergmann asta...@gmx.de wrote: Since we share tools and code - we may in the future also share (in-image) documentation for tools. What is new:   - Refactored and updated the code   - Help System is now usable in Pharo and Squeak too   - Metacello config is

Re: [Pharo-project] [ANN 1.1] pre-build #11220

2010-02-19 Thread Stéphane Ducasse
It was cool to code a bit again after all this latex :) Stef On Feb 19, 2010, at 9:06 PM, Marcus Denker wrote: Hi, The result of our Friday afternoon hacking session http://gforge.inria.fr/frs/download.php/26446/PharoCore-1.1-11220-UNSTABLE.zip Marcus --

Re: [Pharo-project] Portugese translation :)

2010-02-19 Thread stephane ducasse
Let us know how to help. If you want access to the book svn can you please send us the result of htaccess -n Stef On Feb 19, 2010, at 8:50 PM, Christian Guimaraes wrote: Nice... I will be here, waiting for more directions, and searching for collaborators. Thanks. Christian. On Thu, Feb

Re: [Pharo-project] [ANN 1.1] pre-build #11220

2010-02-19 Thread Richard Durr
It somehow feels quicker!? On Fri, Feb 19, 2010 at 10:11 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: It was cool to code a bit again after all this latex :) Stef On Feb 19, 2010, at 9:06 PM, Marcus Denker wrote: Hi, The result of our Friday afternoon hacking session      

Re: [Pharo-project] [squeak-dev] Window resize

2010-02-19 Thread John M McIntosh
Maybe you can find one of those rare (no-existant?) windows developers who can implement: Areithfa Ffenestri http://wiki.squeak.org/squeak/3862 on windows. On 2010-02-19, at 4:40 AM, Torsten Bergmann wrote: Hi Mariano, I think I asked the same some time ago. No, you asked on how to

Re: [Pharo-project] [ANN 1.1] pre-build #11220

2010-02-19 Thread Marcus Denker
On Feb 19, 2010, at 10:54 PM, Richard Durr wrote: It somehow feels quicker!? Hmm... we did not do anything that should have any major impact on perfomance... related to code that is actually executed, since 11208, there was just some cleanup in Morph#delete and Window-activiation, but I

[Pharo-project] Pharo and Solaris

2010-02-19 Thread Torsten Bergmann
I tried Pharo on OpenSolaris using Squeak-3.11.3.2135-solaris2.10_i386.sh from squeakvm.org. Is this VM closure aware? If not where to get one? Thx T. -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser

Re: [Pharo-project] [ANN 1.1] pre-build #11220

2010-02-19 Thread Igor Stasenko
On 20 February 2010 00:50, Marcus Denker marcus.den...@inria.fr wrote: On Feb 19, 2010, at 10:54 PM, Richard Durr wrote: It somehow feels quicker!? Hmm... we did not do anything that should have any major impact on perfomance... related to code that is actually executed, since 11208,

[Pharo-project] [update 1.1] #11221

2010-02-19 Thread Marcus Denker
11221 - Issue 573: methods equivalently defined in superclass Issue 647: String encodeForHTTPAlternate calls: isSafeForHTTPAlternate Issue 2008: methods in -override are not filed out Issue 2013: remove two Button Classes (RolloverButtonMorph and SimpleSwitchMorph) Issue

Re: [Pharo-project] [ANN 1.1] pre-build #11220

2010-02-19 Thread Marcus Denker
On Feb 20, 2010, at 12:07 AM, Igor Stasenko wrote: On 20 February 2010 00:50, Marcus Denker marcus.den...@inria.fr wrote: On Feb 19, 2010, at 10:54 PM, Richard Durr wrote: It somehow feels quicker!? Hmm... we did not do anything that should have any major impact on perfomance...

[Pharo-project] [update 1.1] #11221

2010-02-19 Thread Torsten Bergmann
Issue 2014: delete class TheWorldMenu OK - but how to register a tool for the menu now? Many class side initializers will call TheWorldMenu register... to register for the menu. They wont load in 1.1 and have to be reworked. Bye T. -- Sicherer, schneller und einfacher. Die aktuellen

Re: [Pharo-project] [update 1.1] #11221

2010-02-19 Thread Marcus Denker
On Feb 20, 2010, at 12:49 AM, Torsten Bergmann wrote: Issue 2014: delete class TheWorldMenu OK - but how to register a tool for the menu now? Many class side initializers will call TheWorldMenu register... to register for the menu. They wont load in 1.1 and have to be reworked.

[Pharo-project] Substrings for strings?

2010-02-19 Thread Nathan Tuttle
I can't find any method that allows me to take a substring out of a string my location and length. Anyone know? ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

[Pharo-project] [ANN] Hobbes for Pharo

2010-02-19 Thread Torsten Bergmann
And where can I find Snapshot.im? Thx T. -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] Substrings for strings?

2010-02-19 Thread Eliot Miranda
2010/2/19 Nathan Tuttle nathan.tut...@gmail.com I can't find any method that allows me to take a substring out of a string my location and length. Hint: look in SequenceableCollection. Anyone know? ___ Pharo-project mailing list

Re: [Pharo-project] Substrings for strings?

2010-02-19 Thread Peter Hugosson-Miller
location := 5. length := 3. result := 'Foo Bar Baz' copyFrom: location to: position + length - 1 2010/2/20 Nathan Tuttle nathan.tut...@gmail.com I can't find any method that allows me to take a substring out of a string my location and length. Anyone know?

[Pharo-project] simulating Mousewheel

2010-02-19 Thread Ch Lamprecht
Running Pharo on an IBM Thinkpad with a trackpoint input device, I was a bit disappointed, that the autoscroll feature does not work in Pharo (pressing Button-2 and moving the mouse pointer should scroll the window below the mouse pointer). I took it as an exercise and the attached code does what

Re: [Pharo-project] Substrings for strings?

2010-02-19 Thread Nathan Tuttle
Thank you very much! 2010/2/19 Peter Hugosson-Miller oldmanl...@gmail.com location := 5. length := 3. result := 'Foo Bar Baz' copyFrom: location to: position + length - 1 2010/2/20 Nathan Tuttle nathan.tut...@gmail.com I can't find any method that allows me to take a substring out of a

Re: [Pharo-project] Substrings for strings?

2010-02-19 Thread Peter Hugosson-Miller
On 20 feb 2010, at 02.44, Nathan Tuttle nathan.tut...@gmail.com wrote: Thank you very much! ...says he, generously ignoring my copy/paste error. Seriously, when will I learn not to post untested code in an email, no matter how trivial it seems at the time? Still, at least I spelled the

Re: [Pharo-project] Substrings for strings?

2010-02-19 Thread Nathan Tuttle
but it worked! and it helped me I didn't have to override strings! 2010/2/19 Peter Hugosson-Miller oldmanl...@gmail.com On 20 feb 2010, at 02.44, Nathan Tuttle nathan.tut...@gmail.com wrote: Thank you very much! ...says he, generously ignoring my copy/paste error. Seriously, when will I

Re: [Pharo-project] Class Browser

2010-02-19 Thread csrabak
Anthony, I'm not sure if I understood correctly your question, but I think a good start to search about the icons is http://scg.unibe.ch/research/hermion/icons HTH -- Cesar Rabak Em 19/02/2010 05:01, Anthony G. Anton III aganton...@earthlink.net escreveu: Correction (sorry for the

Re: [Pharo-project] [update 1.1] #11221

2010-02-19 Thread Alain Plantec
Torsten Bergmann a écrit : Issue 2014: delete class TheWorldMenu OK - but how to register a tool for the menu now? Many class side initializers will call TheWorldMenu register... to register for the menu. They wont load in 1.1 and have to be reworked. Bye T. you just have to