Re: [Pharo-project] starting to think about 1.1 freeze

2010-04-25 Thread Stéphane Ducasse
ok may be we should rollback We should also include the network changes made in 1.0 to roll back IVP6 WeakKeyDictionary, to be specific. To be frank, to me the new implementation in 1.1 seems simply broken. Cheers, Henry Den 24. apr. 2010 kl. 22.58 skrev Schwab,Wilhelm K

Re: [Pharo-project] Expectation for readFrom:... getting bored to fix bugs.

2010-04-25 Thread Igor Stasenko
On 25 April 2010 10:12, Stéphane Ducasse stephane.duca...@inria.fr wrote: Yes Right now I will keep readFrom: (reading only ISO8601) and if one day we get what you propose I would be happy. Send code :) Add it to issue tracker and CC to me :) I can't do it right now, since i'm currently

Re: [Pharo-project] Expectation for readFrom:... getting bored to fix bugs.

2010-04-25 Thread Nicolas Cellier
2010/4/25 Igor Stasenko siguc...@gmail.com: imo, it should look like: readFrom: stream  ^ readFrom: stream pattern: ISO8601 and readFrom:pattern: Yes, and next step will be to optimize with a pre-compiled pattern (may use a cache). Otherwise, when you have a bunch of String to convert in

[Pharo-project] Need your help filling a FAQ

2010-04-25 Thread Igor Stasenko
Hello guys, i'm currently writing a documentation for my project - NativeBoost. The work is based on a simple plugin which i wrote, which allows to run a native code from Squeak. The native code is attached to a compiled method itself (into its trailer), and so lives within an image. The plugin

Re: [Pharo-project] Expectation for readFrom:... getting bored to fix bugs.

2010-04-25 Thread Igor Stasenko
On 25 April 2010 10:45, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: 2010/4/25 Igor Stasenko siguc...@gmail.com: imo, it should look like: readFrom: stream  ^ readFrom: stream pattern: ISO8601 and readFrom:pattern: Yes, and next step will be to optimize with a pre-compiled

Re: [Pharo-project] saving headless image on Mac

2010-04-25 Thread Tudor Girba
Hi, Thanks for the info. On Linux, running the script headless works without problems. Only on Mac it produces strange behavior. Regarding the fix for the window size, I was looking for something that works with the -headless parameter :). Is there really no other solution? Cheers,

Re: [Pharo-project] Need your help filling a FAQ

2010-04-25 Thread Stéphane Ducasse
super cool :) Questions: - does it work on mac, linux..? - how to enable it? - why did you choose ffi and not alien? - does it work on pharo? - what is the representation that you use to convert it to assembly? byteocde or ast if AST which

[Pharo-project] making O/Ecompletion even better

2010-04-25 Thread Stéphane Ducasse
Hi romain Often when I edit code, the completion works well but I end up been forced to delete part of the text manually. Here is the scenario classDefinedSelector foo... ^ cursor Then I type meta the system proposes me metaclassDefinedSelector

Re: [Pharo-project] making O/Ecompletion even better

2010-04-25 Thread Tudor Girba
Hi Stef, No you are not :). I also mentioned once two more issues: - Enter should not trigger completion because it interferes with code formatting. I would only keep tab as a means to trigger completion and to select something - right now, when pressing the down key because you saw a good

Re: [Pharo-project] making O/Ecompletion even better

2010-04-25 Thread Hilaire Fernandes
Stéphane Ducasse a écrit : so I have to remove by hand classDefinedSelector. So it would be good if we could eat the current text when doing the substitution. Am I the only one getting such behavior? Yes, it makes sense. Otherwise I have to admit I found the completion pretty neat

Re: [Pharo-project] making O/Ecompletion even better

2010-04-25 Thread Stéphane Ducasse
On Apr 25, 2010, at 3:55 PM, Tudor Girba wrote: Hi Stef, No you are not :). I also mentioned once two more issues: - Enter should not trigger completion because it interferes with code formatting. I would only keep tab as a means to trigger completion and to select something

[Pharo-project] #findString:startingAt:caseSensitive: broken

2010-04-25 Thread Lukas Renggli
The method #findString:startingAt:caseSensitive: seems to be quite broken. This is sort of a critical bug, because the widely used #includesSubstring:caseSensitive: (in Pier and Seaside) depends on it. http://code.google.com/p/pharo/issues/detail?id=2353 First, the method

Re: [Pharo-project] Serialization of font object

2010-04-25 Thread Mariano Martinez Peck
On Fri, Apr 23, 2010 at 9:22 PM, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On Apr 23, 2010, at 7:37 33PM, Stéphane Ducasse wrote: may be using the storeOn: aStream and readFrom: mechanism? I doubt it would work for FreeType fonts, which hold external handles. m but do you

Re: [Pharo-project] Fwd: Easy SqueakVM build

2010-04-25 Thread Mariano Martinez Peck
Excellent. There is something I dont understand (probably because my shell scripts are very limited) When you do: echo Download PharoCore 1.0 if [ ! -e $pharo_archive ]; then wget $download_url fi but... download_url is

Re: [Pharo-project] [Metacello] Problem with ConfigurationOfGofer in Pharo1.0 [WAS] Re: ConfigurationOfGofer class

2010-04-25 Thread Mariano Martinez Peck
Thanks for the investigation Dale...now...suppose I want to fix it and I want to force to load gofer again. How can I do that ? because if I try to install it normally, it won't do it as it is already installed. Thanks Mariano On Tue, Apr 20, 2010 at 6:21 PM, Dale Henrichs

Re: [Pharo-project] FFI in 1.1

2010-04-25 Thread Stéphane Ducasse
Frankly, its a dev tool. What else it is if not a dev tool? Just a library, but not a dev tool from my point of view. I understand from dev tool a tool aimed for make the developrs life better: good browsers, autocompletion, color hightitlying, refactoring tools, etc. yes communication

Re: [Pharo-project] FFI in 1.1

2010-04-25 Thread Mariano Martinez Peck
On Sun, Apr 25, 2010 at 6:04 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Frankly, its a dev tool. What else it is if not a dev tool? Just a library, but not a dev tool from my point of view. I understand from dev tool a tool aimed for make the developrs life better: good

Re: [Pharo-project] FFI in 1.1

2010-04-25 Thread Alexandre Bergel
+1 On 25 Apr 2010, at 12:12, Stéphane Ducasse wrote: yes communication with C library. so this is just a tool too. Exactly. It is a tool. Not a dev tool in my opinion.In such way, SqueakDBX is also a tool. A tool to persist in a relational database. Mariano FFI/ALIEN is ***REALLY***

Re: [Pharo-project] is MC and MCBrowser sending event when a package is created?

2010-04-25 Thread Lukas Renggli
On Sunday, April 25, 2010, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi is MC and MCBrowser sending event when a package is created? Yes. is it using/extending SystemChangeNotifier? No. You register using #addDependent: to the class side of MCWorkingCopy. Stef

Re: [Pharo-project] FFI in 1.1

2010-04-25 Thread Tudor Girba
+1 I would even vote for a nice Java integration if one would be available :). Cheers, Doru On 25 Apr 2010, at 18:17, Alexandre Bergel wrote: +1 On 25 Apr 2010, at 12:12, Stéphane Ducasse wrote: yes communication with C library. so this is just a tool too. Exactly. It is a tool.

Re: [Pharo-project] is MC and MCBrowser sending event when a package is created?

2010-04-25 Thread Stéphane Ducasse
is MC and MCBrowser sending event when a package is created? Yes. is it using/extending SystemChangeNotifier? No. You register using #addDependent: to the class side of MCWorkingCopy. Thanks! I will try. I would like to see if my packageOrganizer can be filled up automatically in

Re: [Pharo-project] FFI in 1.1

2010-04-25 Thread Stéphane Ducasse
On Apr 25, 2010, at 6:30 PM, Tudor Girba wrote: +1 I would even vote for a nice Java integration if one would be available :). I hope that johan will provide Javaconnect but this one will be a real external tool :) Cheers, Doru On 25 Apr 2010, at 18:17, Alexandre Bergel wrote:

Re: [Pharo-project] is MC and MCBrowser sending event when a package is created?

2010-04-25 Thread Lukas Renggli
Now lukas when people use Gofer to load a package, do the dependent of MCWorkingCopy gets notified? Gofer just uses the Monticello code, so MCWorkingCopy and all MC tools that register for events get updated. Lukas -- Lukas Renggli www.lukas-renggli.ch

Re: [Pharo-project] Fwd: Easy SqueakVM build

2010-04-25 Thread laurent laffont
2010/4/25 Mariano Martinez Peck marianop...@gmail.com Excellent. There is something I dont understand (probably because my shell scripts are very limited) What I don't understand is that it works with this s stupid error :) Fixed and committed. Thanks. Laurent Laffont When you

Re: [Pharo-project] making O/Ecompletion even better

2010-04-25 Thread Sean P. DeNigris
Stéphane Ducasse wrote: So it would be good if we could eat the current text when doing the substitution. I would add one twist to that: only if the remaining part of the word matches the tail end of the selected completion. Equally as disruptive as what you correctly discribed is:

Re: [Pharo-project] [squeak-dev] Re: Need your help filling a FAQ

2010-04-25 Thread Igor Stasenko
On 25 April 2010 15:04, Stéphane Ducasse stephane.duca...@inria.fr wrote: super cool :) Questions:        - does it work on mac, linux..? Currently supported is only Win32 platform. It should be easy to port plugin on any other platform, which based on x86 architecture. Porting plugin on x64

Re: [Pharo-project] Fwd: Easy SqueakVM build

2010-04-25 Thread Mariano Martinez Peck
thanks :) I was in the airport. I couldn't test it. I parse and compile it with my mind it three times...and I thought how this can be working? :) 2010/4/25 laurent laffont laurent.laff...@gmail.com 2010/4/25 Mariano Martinez Peck marianop...@gmail.com Excellent. There is something I dont

Re: [Pharo-project] making O/Ecompletion even better

2010-04-25 Thread Sean P. DeNigris
I just dug up MacVim to double-check... I also always found not adding a space after completion to flow better than having to delete the space at the end of the word, even if it may require a few extra key strokes over the course of a line; because I don't have to do a mental double hop to

Re: [Pharo-project] FFI in 1.1

2010-04-25 Thread Schwab,Wilhelm K
Stef, You are clear, and (IMHO) correct. We need good ability to call out (FWIW, Alien's ability here has been questioned, fairly or not??), good callbacks (FFI is seriously weak here), and at least some ability to make calls on separate OS threads to protect the image from being locked by

Re: [Pharo-project] FFI in 1.1

2010-04-25 Thread Schwab,Wilhelm K
+2 :) -Original Message- From: pharo-project-boun...@lists.gforge.inria.fr [mailto:pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: Sunday, April 25, 2010 11:47 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] FFI in 1.1 On Apr

Re: [Pharo-project] [squeak-dev] Re: Need your help filling a FAQ

2010-04-25 Thread Igor Stasenko
On 25 April 2010 20:46, Stéphane Ducasse stephane.duca...@inria.fr wrote:        - what is the representation that you use to convert it to assembly?       byteocde or ast       if AST which one? RBAst? A NativeBoost package using AsmJit library (http://www.squeaksource.com/AsmJit) for

[Pharo-project] [ANN] Pharocasts: SandstoneDb (with subtitles !)

2010-04-25 Thread laurent laffont
Hi, I've just uploaded a new screencast which introduces SandstoneDb (and also HelpSystem). http://pharocasts.blogspot.com/2010/04/sandstonedb-simple-activerecord-style.html Note this is my first one with subtitles. There's a link so you can download it and translate it (some people have asked

Re: [Pharo-project] FFI in 1.1

2010-04-25 Thread Mariano Martinez Peck
On Sun, Apr 25, 2010 at 6:12 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: yes communication with C library. so this is just a tool too. Exactly. It is a tool. Not a dev tool in my opinion.In such way, SqueakDBX is also a tool. A tool to persist in a relational database.

Re: [Pharo-project] [squeak-dev] World menu OCompletion-like algorithm

2010-04-25 Thread Mariano Martinez Peck
Hi Sean. I wanted that too. I remember it was one of the things I missed more as I come from Eclipse world. There I used to have ctrl + F7 or similar. There is something similar in Squeak/Pharo. Open a couple of windows (browser, workspace, transcript, test runnerr, etc) and then, in the world,

Re: [Pharo-project] Serialization of font object

2010-04-25 Thread Henrik Sperre Johansen
On 25.04.2010 17:08, Mariano Martinez Peck wrote: On Fri, Apr 23, 2010 at 9:22 PM, Henrik Johansen henrik.s.johan...@veloxit.no mailto:henrik.s.johan...@veloxit.no wrote: On Apr 23, 2010, at 7:37 33PM, Stéphane Ducasse wrote: may be using the storeOn: aStream and readFrom:

Re: [Pharo-project] [squeak-dev] Re: Need your help filling a FAQ

2010-04-25 Thread Stéphane Ducasse
(a)(Smalltalk parser) - could you plug the IRBuilder (b)(Native intermediate instructions generator (compiler)) - (c)(Native code translator) - (d)(AsmJit) I having a, b and d , but c is still not complete. And sure thing, one can use it for own purposes , since Moebius implemented

Re: [Pharo-project] FFI in 1.1

2010-04-25 Thread Stéphane Ducasse
Probably. There were some discussions that alien will be integrated / working also for the windows vm. So we will see which one I will let people with more experience telling that to us. Stef On Apr 25, 2010, at 9:26 PM, Mariano Martinez Peck wrote: On Sun, Apr 25, 2010 at 6:12 PM,

[Pharo-project] Fwd: [Vm-dev] Running Alien on Windows

2010-04-25 Thread Stéphane Ducasse
On Tue, Apr 20, 2010 at 09:23:36PM -0700, Andreas Raab wrote: That leaves the question of how to deal with the patches to the VMMaker code base. As you know, my official VMs are always built from the official sources (i.e., the latest VMMaker package on

Re: [Pharo-project] [squeak-dev] Re: Need your help filling a FAQ

2010-04-25 Thread Igor Stasenko
On 25 April 2010 23:03, Stéphane Ducasse stephane.duca...@inria.fr wrote: (a)(Smalltalk parser) - could you plug the IRBuilder yes i can! The Moebius parser designed by taking in mind, that it can be used as a backend for any kind of encoding. It recognizing a smalltalk syntax and semantic

Re: [Pharo-project] [ANN] Pharocasts: SandstoneDb (with subtitles !)

2010-04-25 Thread Adrian Lienhard
Very nice. I like the casts being faster :). In a few places (e.g., where you have to read text from the help system to be able to follow) it was slightly too fast, though. Thanks, Adrian On Apr 25, 2010, at 21:17 , laurent laffont wrote: Hi, I've just uploaded a new screencast which

Re: [Pharo-project] [squeak-dev] World menu OCompletion-like algorithm

2010-04-25 Thread Sean P. DeNigris
Mariano Martinez Peck wrote: Open a couple of windows (browser, workspace, transcript, test runnerr, etc) and then, in the world, do a shift + click Cool feature, thanks. And, it seems that it shows a list of currently open windows, which is different from 'the last three types of

Re: [Pharo-project] [squeak-dev] Re: Need your help filling a FAQ

2010-04-25 Thread Adrian Lienhard
Hi Igor, One question I have is how your work compares to Exupery? Adrian On Apr 25, 2010, at 22:21 , Igor Stasenko wrote: On 25 April 2010 23:03, Stéphane Ducasse stephane.duca...@inria.fr wrote: (a)(Smalltalk parser) - could you plug the IRBuilder yes i can! The Moebius parser

Re: [Pharo-project] [squeak-dev] Re: Need your help filling a FAQ

2010-04-25 Thread Igor Stasenko
On 25 April 2010 23:45, Adrian Lienhard a...@netstyle.ch wrote: Hi Igor, One question I have is how your work compares to Exupery? Well, i missing the good Exupery description , on squeak source it says: A bytecode compiler for Squeak, still an alpha project. It doesn't yet do anything useful

Re: [Pharo-project] [squeak-dev] Re: Need your help filling a FAQ

2010-04-25 Thread Igor Stasenko
On 26 April 2010 00:06, Igor Stasenko siguc...@gmail.com wrote: On 25 April 2010 23:45, Adrian Lienhard a...@netstyle.ch wrote: Hi Igor, One question I have is how your work compares to Exupery? Well, i missing the good Exupery description , on squeak source it says: A bytecode compiler

Re: [Pharo-project] FFI in 1.1

2010-04-25 Thread Schwab,Wilhelm K
Stef, I have read that Alien is not very good at calling functions - I have *no* idea whether that is fair, but we should check before adopting it. If it is indeed poor at them, I recommend using FFI until we or its maintainers can fix Alien. Also, whatever we include should work on windows,

Re: [Pharo-project] is MC and MCBrowser sending event when a package is created?

2010-04-25 Thread Lukas Renggli
On Sunday, April 25, 2010, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi is MC and MCBrowser sending event when a package is created? Yes. is it using/extending SystemChangeNotifier? No. You register using #addDependent: to the class side of MCWorkingCopy. Stef