Re: [Pharo-project] Refactor source method is grayed out?

2010-08-03 Thread Lukas Renggli
Lukas, that doesn't seem right, as I had to do it manually and it seems to work fine in my code (maybe it wasn't clear what  was trying to extract)? Sorry, I misread your mail. I thought you talked about 'extract to method', not 'extract to temporary'. nextEditorCharacter := (editor text at:

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Nick Ager
2010/8/3 laurent laffont laurent.laff...@gmail.com On Mon, Aug 2, 2010 at 9:50 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guys with the experience around the XMLRPC project, ESUG wants to change strategy to help growing business at the technical level. So what are the key

[Pharo-project] Telling the OS that the VM wants focus

2010-08-03 Thread Max Leske
Hi folks The project I'm currently working on requires that I have to wait frequently for computations / operations to complete. To control the status I used progress bars wherever possible. Now, since the operations might take several minutes I like to sometimes switch to another Desktop,

[Pharo-project] [update 1.2] #12074

2010-08-03 Thread Stéphane Ducasse
12074 - - Issue 2169: FileDirectorymatchingEntries: criteria is broken. Thanks CarloTeixeira. - Issue 2738: Browse instance/?/class button should provide fly by help. Thanks Torsten Bergmann. - Issue 1068: Mac: Quit from host menu not working anymore. Thanks Mike

Re: [Pharo-project] About overlapping packages :(

2010-08-03 Thread Tudor Girba
Yes, that would be an option. The problem with this is that you have to change everything from the beginning. The route of first mirroring the categories is smoother because first you can focus on the tools and when everything works well, you can remove categories with a construction that

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Adrian Lienhard
- A scalable source code management system (MC gets very slw for large projects) - A change recovery mechanism that is not tedious (e.g., no mix of class definitions and do-its) - Better system integration: - OSProcess reliable and working for all major platforms - FFI/Alien;

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Tudor Girba
Hi, On 3 Aug 2010, at 00:38, Romain Robbes wrote: Hi All, I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz the changes are: -incorporated Lukas' smart characters algorithm (thanks Lukas!) -removed enter to insert a completion; only tab works now.

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Tudor Girba
Hi, - A scalable source code management system (MC gets very slw for large projects) - A change recovery mechanism that is not tedious (e.g., no mix of class definitions and do-its) - Better system integration: - OSProcess reliable and working for all major platforms -

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Stéphane Ducasse
thanks romain (and sorry for my stupid suggestion - good that you corrected it) Your tools are really important. Is there a ConfigurationOfOCompletion or just loading OCompletion works? Hi All, I just committed: http://squeaksource.com/OCompletion/Ocompletion-RomainRobbes.64.mcz the

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Stéphane Ducasse
On Aug 3, 2010, at 9:16 AM, Nick Ager wrote: 2010/8/3 laurent laffont laurent.laff...@gmail.com On Mon, Aug 2, 2010 at 9:50 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guys with the experience around the XMLRPC project, ESUG wants to change strategy to help growing

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Stéphane Ducasse
On Aug 3, 2010, at 11:09 AM, Tudor Girba wrote: Hi, - A scalable source code management system (MC gets very slw for large projects) - A change recovery mechanism that is not tedious (e.g., no mix of class definitions and do-its) - Better system integration: - OSProcess

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Stéphane Ducasse
Ok guys you get a nice list of wishes. Now how could we proceed since ESUG is not the national swiss bank. What I envisioned is the following: - we select a topic like - improving webClient - OAuth (http://oauth.net/) - open-id

Re: [Pharo-project] Extending SUnit [was Re: Autotest, proof-of-concept [was: About TDD and Pharo]]

2010-08-03 Thread Stéphane Ducasse
On Aug 3, 2010, at 12:18 AM, Alexandre Bergel wrote: Then why do you have several announcers and keep them in a classVariable? An alternative solution would be to have an instance variable in the meta-class. This is what I did first. But you need to recompile the more than 500 unit tests

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Lukas Renggli
- A decent Smalltalk library to interact with the file system I am using FileSystem and it is quite nice. I would vote to integrate it in Pharo, if not in PharoCore. Me too but it should handle utf8. I fixed that (the encoding issue of filenames) and many other things. Max discovered quite

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Nick Ager
How about including for each project a designated project sponsor/mentor/project manager who's job is liase between the developer(s) and the community and to ensure that a project focuses on the communities highest priorities. On 3 August 2010 10:30, Stéphane Ducasse stephane.duca...@inria.fr

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Mariano Martinez Peck
there is. I did it the first time we build PharoDev with metacello On Tue, Aug 3, 2010 at 11:20 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: thanks romain (and sorry for my stupid suggestion - good that you corrected it) Your tools are really important. Is there a

[Pharo-project] Fwd: [Communities] Re: Colstme in June

2010-08-03 Thread Norbert Hartl
Begin forwarded message: As promised a short reminder for the upcoming 4th Cologne Smalltalk Meetup. The poll about the date is still open at [1] and the deadline will be a week from now. More about it at [2]. Cheers, Alex [1] http://www.doodle.com/cskz2yetns5x359v [2]

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Stéphane Ducasse
***Excellent!*** So we could really introduced it in 1.2. Let me know :) If some people want to join and help it can be done :) Stef On Aug 3, 2010, at 11:40 AM, Lukas Renggli wrote: - A decent Smalltalk library to interact with the file system I am using FileSystem and it is quite nice. I

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Stéphane Ducasse
On Aug 3, 2010, at 11:40 AM, Nick Ager wrote: How about including for each project a designated project sponsor/ sponsor is different from the mentor/project manager mentor/project manager who's job is liase between the developer(s) and the community and to ensure that a project focuses on

Re: [Pharo-project] Limitation of number os literals in a method?

2010-08-03 Thread Stéphane Ducasse
ok so now this is exactly the VW windowspec and I understand why they did it like that. They have a declarative expression with multiple possible interpretations I was not sure that literal inside arrays where in the literal frame but I was stupid. Stef If performance is not a problem , then

[Pharo-project] eCompletion tweak for smart characters

2010-08-03 Thread Tim Mackinnon
Guys - this is my first attempt at a contribution - and I'm not sure how literally to take the advice on how to contribute to Pharo for a small change. Should I create an issue, and post it here (happy to do that, but wondered if conversation might be useful first as I'm new to this).

Re: [Pharo-project] Refactor source method is grayed out?

2010-08-03 Thread Tim Mackinnon
Lukas - I logged it as issue 2742 (now that I know its a bit picky, I'll select extra spaces as a workaround). Some day I will learn how some of this works so that I can try and help out (from my time spent in Dolphin where RB is tightly integrated, it was cool messing around with parse

Re: [Pharo-project] eCompletion tweak for smart characters

2010-08-03 Thread Lukas Renggli
Hi Tim, Thank you for the contribution. I will definitely look at it as soon as I get access to a computer again (i am a few days away right now). Testing this would be definitely cool, especially given all the edge cases. It is certainly testable, but kind of tricky to setup everything. Lukas

Re: [Pharo-project] Refactor source method is grayed out?

2010-08-03 Thread Lukas Renggli
I played a bit with the selection an the enabling of the menus this morning, however I found it quite confusing if the closest matching expression is automatically picked. I could not reproduce the issue you report with the spaces. In my image when I select a full expression whitespaces at start

Re: [Pharo-project] Something I don't see in ImageSegment

2010-08-03 Thread Mariano Martinez Peck
2010/6/4 Eliot Miranda eliot.mira...@gmail.com 2010/6/4 Mariano Martinez Peck marianop...@gmail.com 2010/6/3 Eliot Miranda eliot.mira...@gmail.com Hi Mariano, Hi All, response below. But does anyone have any tests for the image segment primitives? I'm refactoring them and would

Re: [Pharo-project] eCompletion tweak for smart characters

2010-08-03 Thread Stéphane Ducasse
Thanks tim. Guys - this is my first attempt at a contribution - and I'm not sure how literally to take the advice on how to contribute to Pharo for a small change. Should I create an issue, and post it here (happy to do that, but wondered if conversation might be useful first as I'm new to

Re: [Pharo-project] Problem with InstructionPrinter?

2010-08-03 Thread James Ladd
Is that example the recommended way to see a dump of the bytecodes for a method? Because there are special primitives for that. Try this: String streamContents: [ :stream | (YourClass #first) longPrintOn: stream indent: 0 ]. Levente

Re: [Pharo-project] eCompletion tweak for smart characters

2010-08-03 Thread Tim Mackinnon
always create an issue else we forget too much stuff to do. Then conversation is always good. Because we build a shared mindset and we all learn together OK - done (2743) - I followed the instructions on http://code.google.com/p/pharo/wiki/HowToContribute - which are great (by the way

Re: [Pharo-project] Refactor source method is grayed out?

2010-08-03 Thread Tim Mackinnon
Lucas, which image are you using - and I will load it up and try again (I am using the seaside 3.0rc image - although I did unload oCompletion from it and then load eCompletion - maybe that makes a difference?). I appreciate your patience on this by the way - often I'm not sure which

Re: [Pharo-project] eCompletion tweak for smart characters

2010-08-03 Thread Serge Stinckwich
If you register as a developper on the Google code website, you could modify the wiki by yourself ;-) 2010/8/3 Tim Mackinnon tamackin...@gmail.com: always create an issue else we forget too much stuff to do. Then conversation is always good. Because we build a shared mindset and we all

Re: [Pharo-project] Refactor source method is grayed out?

2010-08-03 Thread Lukas Renggli
I am using the images from hudson.lukas-renggli.ch. I don't know how oCompletion depends/overrides on eCompletion, so indeed it might make a difference. Lukas On Tuesday, August 3, 2010, Tim Mackinnon tamackin...@gmail.com wrote: Lucas, which image are you using - and I will load it up and try

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Germán Arduino
Hehe, that (or similar) was allways on my mind. In the past I started a project I named SDA (Smalltalk Developer Assistant) focused on lot of things that may be shortened as Code Generation :) as Genexus does. One more time, the lack of free time and the need of focus the time on payed projects

Re: [Pharo-project] eCompletion tweak for smart characters

2010-08-03 Thread Tim Mackinnon
I never noticed that (slaps his forehead - it is a wiki after all). I'll make those changes. Tim On 3 Aug 2010, at 12:18, Serge Stinckwich wrote: If you register as a developper on the Google code website, you could modify the wiki by yourself ;-) 2010/8/3 Tim Mackinnon

Re: [Pharo-project] Refactor source method is grayed out?

2010-08-03 Thread Tudor Girba
Hi, OCompletion forked the code from ECompletion and it now builds on it. I think the reason for this fork was that at the time when Romain started there was nobody really maintaining ECompletion. But, it would be great to have just one completion mechanism. I highly suggest to take a

Re: [Pharo-project] Extending SUnit [was Re: Autotest, proof-of-concept [was: About TDD and Pharo]]

2010-08-03 Thread Alexandre Bergel
alex my question was more naive and probably it shows that I do not know how the announce protocol should be implemented but why do you have to record them? The purpose of an announcer is to dispatch events. Callbacks are registered in an announcer, and an announcer receives and dispatch

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Alexandre Bergel
This greatly improves usability. Actually, you must have changed something else too because when I hit the third time the down arrow, it is significantly faster than before. It was sometimes the case that the image would hang for even tens of seconds, but now everything is pretty snappy.

[Pharo-project] [update 1.2] #12075

2010-08-03 Thread Stéphane Ducasse
12075 - - Issue 2296: PointcloseTo. Thanks Alexandre Bergel and Henrik Johanssen. - SUnit Announcement post fix. - Issue 2617: Fix restart in blocks in debugger. Thanks Henrik Johanssen. - Issue 2364: FileList menu more... is bogus. Thanks Carlo Teixeira - Issue 1767:

Re: [Pharo-project] eCompletion tweak for smart characters

2010-08-03 Thread Stéphane Ducasse
tx! On Aug 3, 2010, at 1:35 PM, Tim Mackinnon wrote: I never noticed that (slaps his forehead - it is a wiki after all). I'll make those changes. Tim On 3 Aug 2010, at 12:18, Serge Stinckwich wrote: If you register as a developper on the Google code website, you could modify the

Re: [Pharo-project] Refactor source method is grayed out?

2010-08-03 Thread Stéphane Ducasse
doru please stop this insane appetizer for OCompletion, I have to work on latex documents and integrate code no fun programming right now ;D Stef On Aug 3, 2010, at 1:38 PM, Tudor Girba wrote: Hi, OCompletion forked the code from ECompletion and it now builds on it. I think the reason

Re: [Pharo-project] Extending SUnit [was Re: Autotest, proof-of-concept [was: About TDD and Pharo]]

2010-08-03 Thread Stéphane Ducasse
On Aug 3, 2010, at 2:12 PM, Alexandre Bergel wrote: alex my question was more naive and probably it shows that I do not know how the announce protocol should be implemented but why do you have to record them? The purpose of an announcer is to dispatch events. Callbacks are registered in

Re: [Pharo-project] Extending SUnit [was Re: Autotest, proof-of-concept [was: About TDD and Pharo]]

2010-08-03 Thread laurent laffont
On Tue, Aug 3, 2010 at 2:46 PM, Stéphane Ducasse stephane.duca...@inria.frwrote: On Aug 3, 2010, at 2:12 PM, Alexandre Bergel wrote: alex my question was more naive and probably it shows that I do not know how the announce protocol should be implemented but why do you have to record them?

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Sean P. DeNigris
Levente Uzonyi-2 wrote: =Documentation= Nobody likes to write documentation. I've started to enjoy writing class comments and tests. Especially when I go back to system classes (that I figured out every last detail about) a week later and can pick up where I left off :) Sean --

[Pharo-project] Issue 2744: Renaming the path to the image is not caught in Pharo on OS X

2010-08-03 Thread Mircea Lungu
Hi guys, If I rename any of the directories in the path of a running image I will break the image: I can't save it, I can't close it. I get a debugger at any step. It seems the image is not informed of the path change and it still tries to log the changes in the the changes file which has already

[Pharo-project] TextfromString: and StringasText

2010-08-03 Thread Fernando olivero
Name: SLICE-Issue-2745-TextFromStringAddingBlackAttribute-FernandoOlivero.1 Author: FernandoOlivero Time: 3 August 2010, 3:32:02 pm UUID: 85d642dd-87c1-4cab-9aa2-629ab10a6bd8 Ancestors: Dependencies: Collections-Text-FernandoOlivero.37 Added the black color attribute to all text's, created

Re: [Pharo-project] Poll: missing libraries to support business

2010-08-03 Thread Stéphane Ducasse
I've started to enjoy writing class comments and tests. Especially when I go back to system classes (that I figured out every last detail about) a week later and can pick up where I left off :) Hi sean (prononced chon in french ;-D ) It was nice to meet you. If you have class comments for

[Pharo-project] [update 1.2] #12076

2010-08-03 Thread Stéphane Ducasse
12076 - - Issue 2347: Migrating some OS queries from SmalltalkImage to OSPlatform. This changes is really nice since it used the existing Platform classes for that they should. Now do you use Smalltalk os, Smalltalk platform but OSPlatform os OSPlatform platform

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Romain Robbes
Message: 7 Date: Tue, 3 Aug 2010 11:20:03 +0200 From: St?phane Ducasse stephane.duca...@inria.fr Subject: Re: [Pharo-project] update to OCompletion To: Pharo-project@lists.gforge.inria.fr Message-ID: 94557fa5-8f73-42b7-8537-3882867a8...@inria.fr Content-Type: text/plain; charset=us-ascii

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Mariano Martinez Peck
On Tue, Aug 3, 2010 at 5:20 PM, Romain Robbes romain.rob...@gmail.comwrote: Message: 7 Date: Tue, 3 Aug 2010 11:20:03 +0200 From: St?phane Ducasse stephane.duca...@inria.fr Subject: Re: [Pharo-project] update to OCompletion To: Pharo-project@lists.gforge.inria.fr Message-ID:

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Stéphane Ducasse
I have no problem. I ***love*** metacello and the garanty it offers to load packages coherently Stef On Aug 3, 2010, at 5:29 PM, Mariano Martinez Peck wrote: On Tue, Aug 3, 2010 at 5:20 PM, Romain Robbes romain.rob...@gmail.com wrote: Message: 7 Date: Tue, 3 Aug 2010 11:20:03 +0200

[Pharo-project] [update 1.2] #12077

2010-08-03 Thread Stéphane Ducasse
12077 - - Issue 2347: fixing Problem with previous release vmVersion was missing. - Issue 2745: TextfromString; , does not add by default a (TextColor color: Color black ) attribute. Thanks Fernando Olivero. - Issue 2662: value: primitives. Thanks Eliot Miranda, Henrik Johanssen. -

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Romain Robbes
Message: 6 Date: Tue, 3 Aug 2010 00:46:07 +0200 (CEST) From: Levente Uzonyi le...@elte.hu Subject: Re: [Pharo-project] update to OCompletion To: Pharo Development (Pharo-project@lists.gforge.inria.fr Development pharo-project@lists.gforge.inria.fr)

[Pharo-project] Trait missing method isMetacelloConfig in Pharo 1.1

2010-08-03 Thread Jochen Riekhof
Hi... just noticed that I get a walkback after creating a Trait and then opening the Context-Menu on the browser's classes list pane. It complains MessageNotUnderstood: TraitisMetacelloConfig Adding the missing method to Trait solves the issue. Probably it is just missing from {ob-metacello}

Re: [Pharo-project] [update 1.2] #12077

2010-08-03 Thread Stéphane Ducasse
yes an vmVersion: on OSPlatform was missing. Stef On Aug 3, 2010, at 6:17 PM, Germán Arduino wrote: After 12076 and 12077 I started having problems as the screenshot This time, running on windoze with pharo vm Pharo4.0.2 from April 12 2010. Error: 'stack pointer should be zero!'

[Pharo-project] Strange Smalltalk vmVersion

2010-08-03 Thread Stéphane Ducasse
Hi john Smalltalk getSystemAttribute: 1004 returns 'Squeak3.8.1 of ''28 Aug 2006'' [latest update: #6747] Squeak VM 4.2.4b1' do you know how we can fix that? Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

[Pharo-project] about value:

2010-08-03 Thread Stéphane Ducasse
Henrik I integrated your value, value: cleans and I get such kind of error now. stackp = 2 and not zero. I'm puzzled. because I thought that the other code was not executed since it was covered by a primitive that would do the right job. pushArgs: args Array from: sendr ContextPart

[Pharo-project] [update 1.2] #12078

2010-08-03 Thread Stéphane Ducasse
12078 - - Issue 2661: File name correction for unix to allow. Thanks Eliot Miranda, German Ardino. - Issue 2122: superclassOrder: is defined on Changeset. Now defined on Class. Thanks Steven Freeman. - Fixed OSPlatform vmVersion ___

Re: [Pharo-project] about value:

2010-08-03 Thread Stéphane Ducasse
Henrik apparently this is coming from this change but from - Issue 2617: Fix restart in blocks in debugger. Thanks Henrik Johanssen. I should have run the tests since this was introduced in 12075 (lazy me). Stef On Aug 3, 2010, at 7:00 PM, Stéphane Ducasse wrote: Henrik I

Re: [Pharo-project] about value:

2010-08-03 Thread Stéphane Ducasse
I found the problem some changes where missing from eliot. There were in the pending list. and will be integrated in the next batch. Stef On Aug 3, 2010, at 7:13 PM, Stéphane Ducasse wrote: Henrik apparently this is coming from this change but from - Issue 2617: Fix restart in blocks in

Re: [Pharo-project] Trait missing method isMetacelloConfig in Pharo 1.1

2010-08-03 Thread Mariano Martinez Peck
You spotted a Metacallo bug. Thanks for the report. The problem is (I think) that in OBCmdMetacello isActive ^ ((target isKindOf: OBClassNode) and: [ requestor isSelected: target ]) and: [ self selectedClass isMetacelloConfig ] selectClass can be a Trait, not necessary

[Pharo-project] About MethodContextTest

2010-08-03 Thread Stéphane Ducasse
in Squeak there are a couple of MethodContextTest. do you remember why we removed them? 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] Trait missing method isMetacelloConfig in Pharo 1.1

2010-08-03 Thread Stéphane Ducasse
we could add that to trait is this helps. On Aug 3, 2010, at 7:25 PM, Mariano Martinez Peck wrote: You spotted a Metacallo bug. Thanks for the report. The problem is (I think) that in OBCmdMetacello isActive ^ ((target isKindOf: OBClassNode) and: [ requestor isSelected:

Re: [Pharo-project] Trait missing method isMetacelloConfig in Pharo 1.1

2010-08-03 Thread Mariano Martinez Peck
On Tue, Aug 3, 2010 at 7:29 PM, Stéphane Ducasse stephane.duca...@inria.frwrote: we could add that to trait is this helps. Not necessary. It will just have the *ob-metacello category so that with Monticello it is packaged inside the Mteacello packages. just the same as Class isMetacelloConfig

Re: [Pharo-project] Trait missing method isMetacelloConfig in Pharo 1.1

2010-08-03 Thread Stéphane Ducasse
sounds good compromise indeed. Stef On Aug 3, 2010, at 7:31 PM, Mariano Martinez Peck wrote: On Tue, Aug 3, 2010 at 7:29 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: we could add that to trait is this helps. Not necessary. It will just have the *ob-metacello category so

[Pharo-project] [update 1.2] #12079

2010-08-03 Thread Stéphane Ducasse
12079 - - Issue 2655: Fix the other dependencies of asContextWithSender: ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] Extending SUnit [was Re: Autotest, proof-of-concept [was: About TDD and Pharo]]

2010-08-03 Thread Alexandre Bergel
I wonder, if the announcer is in TestResult, we only need one, no ? Could be. But how do you register in that case? TestResult is normally instantiated in TestCaserun and TestSuiterun You will need to shortcut sunit then... Alexandre Laurent Stef Cheers, Alexandre

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Sean P. DeNigris
Romain Robbes-2 wrote: Cool. Does it work in Squeak? Early versions did, but I'm not sure this one does. When I first released it, the Squeak community showed little interest, so I focused on Pharo. FWIW, I sorely miss it when working in Squeak. Sean -- View this message in

Re: [Pharo-project] Strange Smalltalk vmVersion

2010-08-03 Thread Adrian Lienhard
That's the version of the image with which the interpreter was generated. Adrian On Aug 3, 2010, at 18:50 , Stéphane Ducasse wrote: Hi john Smalltalk getSystemAttribute: 1004 returns 'Squeak3.8.1 of ''28 Aug 2006'' [latest update: #6747] Squeak VM 4.2.4b1' do you know how we can fix

Re: [Pharo-project] [Metacello] Re: Trait missing method isMetacelloConfig in Pharo 1.1

2010-08-03 Thread Dale Henrichs
Mariano, My actual fix was to add the method to Object ... does that fix not work? Dale Mariano Martinez Peck wrote: On Tue, Aug 3, 2010 at 7:29 PM, Stéphane Ducasse stephane.duca...@inria.fr mailto:stephane.duca...@inria.fr wrote: we could add that to trait is this helps. Not

Re: [Pharo-project] Strange Smalltalk vmVersion

2010-08-03 Thread Stéphane Ducasse
I will add a method comment! Stef On Aug 3, 2010, at 9:28 PM, Adrian Lienhard wrote: That's the version of the image with which the interpreter was generated. Adrian On Aug 3, 2010, at 18:50 , Stéphane Ducasse wrote: Hi john Smalltalk getSystemAttribute: 1004 returns

Re: [Pharo-project] Extending SUnit [was Re: Autotest, proof-of-concept [was: About TDD and Pharo]]

2010-08-03 Thread laurent laffont
On Tue, Aug 3, 2010 at 8:24 PM, Alexandre Bergel alexan...@bergel.euwrote: I wonder, if the announcer is in TestResult, we only need one, no ? Could be. But how do you register in that case? TestResult is normally instantiated in TestCaserun and TestSuiterun You will need to shortcut sunit

[Pharo-project] Default end of line on mac osX

2010-08-03 Thread Stéphane Ducasse
Hi guys I'm working on merging the changes 1298 about the guess of default end of line. And I would like to know on mac os x (compared to Os9) what is the default character of end of line. I thought it was CR since the previous code was ((OSPlatform osVersion) beginsWith: 'darwin')

Re: [Pharo-project] Default end of line on mac osX

2010-08-03 Thread Randal L. Schwartz
Stéphane == Stéphane Ducasse stephane.duca...@inria.fr writes: Stéphane and I have some doubts because 'darwin' should be mac os x Yes, OSX (darwin) is Unix, with a LF line ending. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com

[Pharo-project] [update 1.2] #12080

2010-08-03 Thread Stéphane Ducasse
12080 - - Issue 1298: CrLfFileStream not properly initialized on Mac OS. Thanks Andrew Black and Carlo Teixeira. Lot of conflicts on this one Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] [update 1.2] #12080

2010-08-03 Thread Levente Uzonyi
On Tue, 3 Aug 2010, Stéphane Ducasse wrote: 12080 - - Issue 1298: CrLfFileStream not properly initialized on Mac OS. Thanks Andrew Black and Carlo Teixeira. CrLFFileStream? That shouldn't be used anywhere. It was superseded by MultiByteFileStream. In Squeak [CrLfFileStream new] will

[Pharo-project] How detect a primitve?

2010-08-03 Thread James Ladd
Hi All, Im working on the bytecodes for methods and I am wondering, how can I tell if a compiled methods bytecode contains (starts) with a primitive, and which primitive it is? Rgs, James. ___ Pharo-project

Re: [Pharo-project] How detect a primitve?

2010-08-03 Thread Levente Uzonyi
On Wed, 4 Aug 2010, James Ladd wrote: Hi All, Im working on the bytecodes for methods and I am wondering, how can I tell if a compiled methods bytecode contains (starts) with a primitive, and which primitive it is? See CompiledMethod #primitive. Levente Rgs, James.

Re: [Pharo-project] Extending SUnit [was Re: Autotest, proof-of-concept [was: About TDD and Pharo]]

2010-08-03 Thread Alexandre Bergel
TestResult announcer on: TestCaseStarted do: [:event | Transcript show: 'new test started']. Hum... I personally find unintuitive to register on the result. Why the result and not the suite or the test case? This means that there is only one announcer in the system? Anyone can provide an

Re: [Pharo-project] Problem with InstructionPrinter?

2010-08-03 Thread Levente Uzonyi
On Tue, 3 Aug 2010, James Ladd wrote: Is that example the recommended way to see a dump of the bytecodes for a method? Yes, but you can also explore the CompiledMethod to see it in a structured form. Levente Because there are special primitives for that. Try this: String

Re: [Pharo-project] Strange Smalltalk vmVersion

2010-08-03 Thread John M McIntosh
http://isqueak.org/getAttributeIntoLength where indexNumber = 1004, return CFBundleShortVersionString and interpreterVersion Maybe you want 1006 indexNumber = 1006, return build string, which is say 'Mac Carbon 3.8.18b3 10-Apr-08 DC0EAF5D-C46C-479D-B2A3-DBD4A2DF95A8' Or what are you looking

Re: [Pharo-project] Default end of line on mac osX

2010-08-03 Thread John M McIntosh
Well actually Smalltalk isMacOS9 can just answer false since a Pharo based image will never run on macintosh OS 9 (aka pre os-x) However which system attribute are you using? http://isqueak.org/getAttributeIntoLength what you think might be safe might surprise/bite you On 2010-08-03,

Re: [Pharo-project] Telling the OS that the VM wants focus

2010-08-03 Thread John M McIntosh
Many things come to mind, one is to use some of the old text to voice features of squeak and have the computer yell at you when it's ready... That should work on all platforms that support sound. More subtle and complex would be to use Alien/FFI and talk to the operating system's

Re: [Pharo-project] [update 1.2] #12080

2010-08-03 Thread Henrik Sperre Johansen
On 03.08.2010 23:28, Levente Uzonyi wrote: On Tue, 3 Aug 2010, Stéphane Ducasse wrote: 12080 - - Issue 1298:CrLfFileStream not properly initialized on Mac OS. Thanks Andrew Black and Carlo Teixeira. CrLFFileStream? That shouldn't be used anywhere. It was superseded by

Re: [Pharo-project] What is correct way to save image automatically in background?

2010-08-03 Thread John M McIntosh
On 2010-07-23, at 9:03 AM, Yanni Chiu wrote: Here's my understanding of how it works. Garbage collection is completed before the Unix fork system call is made. At the moment of the fork, the original server VM process and the new image saving VM process share the exact same pages in the

[Pharo-project] Extract method dialog is too small to see what your typing

2010-08-03 Thread Tim Mackinnon
I've logged2747- the extract method dialog window is just too small to be used - and its worse when you type a : for a selector (Pharo 1.1)___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Tim Mackinnon
Am I missing something here - in a fresh 1.1 one click image if I do: ConfigurationOfOCompletion project latestVersion load I get an endless stream of errors: The method Boolean and:and: has been deprecated. use and: Select Proceed to continue, or close this window to cancel the

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Tim Mackinnon
If the eCompletion tweaks look good from Lucas' point of view - they also apply to oCompletion as well - however I noticed that there seem to be a few additional bugs in oCompletion (at least compared to eCompletion). 1) If you hilite an expresion and press ) - in eCompletion it

Re: [Pharo-project] update to OCompletion

2010-08-03 Thread Tim Mackinnon
Actually correction on #1 - eCompletion suffers from that one as well - I'm sure they should both be able to surround a selection with characters no matter which side of the selection you are on. Tim On 4 Aug 2010, at 01:28, Tim Mackinnon wrote: If the eCompletion tweaks look good from

Re: [Pharo-project] Refactor source method is grayed out?

2010-08-03 Thread Tim Mackinnon
Lucas - I can't repeat this in a Pharo 1.1 image - so maybe we should put it down to some oCompletion/eCompletion bad interaction (or unload weirdness). Tim On 3 Aug 2010, at 12:23, Lukas Renggli wrote: I am using the images from hudson.lukas-renggli.ch. I don't know how oCompletion

Re: [Pharo-project] How detect a primitve?

2010-08-03 Thread James Ladd
See CompiledMethod #primitive. Levente Thank you. Funny how you can't see things right in front of you sometimes. I was thinking isPrimitive. Rgs, James. ___ Pharo-project mailing list