Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Johan Brichau
It's fixed (except the AlienLoader -- read on). The only problem was loading order. I separated the extensions to the Parser (necessary to load the primitive methods) into a separate package Alien-Prereqs. If you load Alien-Prereqs before Alien-Core, it will work. I'm now trying to adapt the

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Peter Hugosson-Miller
On Wed, Sep 16, 2009 at 10:06 AM, Johan Brichau johan.bric...@uclouvain.bewrote: It's fixed (except the AlienLoader -- read on). The only problem was loading order. I separated the extensions to the Parser (necessary to load the primitive methods) into a separate package Alien-Prereqs. If

[Pharo-project] why pharo? :)

2009-09-16 Thread Stéphane Ducasse
hi guys I found again this beautiful video that samuel sent when we were brainstorming about the name of Pharo. http://www.youtube.com/watch?v=m2LeNBY_5gkfeature=related Enjoy. Stef ___ Pharo-project mailing list

[Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Stéphane Ducasse
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

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Tudor Girba
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

Re: [Pharo-project] Polymorph - TabIndex and layoutFrames questions

2009-09-16 Thread Gary Chambers
It is not a problem, as such. Just the wau layouts work. There used to be a good description on Bob's Super Swiki, though that seems to have vanished. Try here http://www.visoracle.com/squeak/faq/morphic_.html instead. Regards, Gary - Original Message - From: nullPointer

Re: [Pharo-project] Visual nonsense

2009-09-16 Thread Gary Chambers
Do you mean the icon or the button background? Regards, Gary - Original Message - From: Schwab,Wilhelm K bsch...@anest.ufl.edu To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, September 16, 2009 12:02 AM Subject: [Pharo-project] Visual nonsense Gary, especially for the W2k

Re: [Pharo-project] why pharo? :)

2009-09-16 Thread Igor Stasenko
2009/9/16 Stéphane Ducasse stephane.duca...@inria.fr: hi guys I found again this beautiful video that samuel sent when we were brainstorming about the name of Pharo.        http://www.youtube.com/watch?v=m2LeNBY_5gkfeature=related Enjoy. Wery impressive video. Thanks Stef. Stef

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Peter Hugosson-Miller
On Wed, Sep 16, 2009 at 11:33 AM, Johan Brichau johan.bric...@uclouvain.bewrote: On 16 Sep 2009, at 10:33, Peter Hugosson-Miller wrote: Is it possible to make 'Alien-Core' depend on 'Alien-Prereqs' (i.e. a nested dependency)? If it were then the correct loading order would be achieved

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Damien Cassou
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

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Stéphane Ducasse
Probably that is the easiest solution. Most of the time we did not rely on the dependencies because I'm not sure that the order can be specified. I think that in the future we will use metacello to resolve this ordering. I'm just a bit lost in what is the preferred way of expressing

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Stéphane Ducasse
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

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Tudor Girba
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

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Michael Robers
I am interested in learning how we could use metacello. Not for 1.0. Before we commit to it for 1.1 I think we would need to conduct an experiment in parallel to get a feel for it. We should also review the other proposals. Then commit to one proposal for 1.1 1.2 etc and make the process

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Lukas Renggli
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 Setting up an Universe server is simple: Just put the XML package definition on some public HTTP server and version it with

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Andrey Larionov
My 2 cents. It's very cool what there will be a packaging system. But i think what it should allow distribution not only code, but asets too. Like images, or css (for web application) On Wed, Sep 16, 2009 at 15:59, Michael Robers m...@mjr104.co.uk wrote: am interested in learning how we could

Re: [Pharo-project] Polymorph - TabIndex and layoutFrames questions

2009-09-16 Thread David Corking
Gary wrote: There used to be a good description on Bob's Super Swiki, though that seems to have vanished. This helped me: http://wiki.squeak.org/squeak/2141 ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

[Pharo-project] Author name prompt window is too big

2009-09-16 Thread Oscar Nierstrasz
Today I was giving a Pharo demo, using a slightly larger than standard font. When I tried to commit a change, the prompt for my user name was bigger than the available screen space on my laptop. Luckily I could still type, though I could not see what I was typing. Can we please modify

Re: [Pharo-project] Visual nonsense

2009-09-16 Thread Schwab,Wilhelm K
Gary, Whichever you think will work best - changing the background is probably more win2k-like, now that you mention it, but anything that distinguishes the active window would be welcome. Thanks! Bill -Original Message- From: pharo-project-boun...@lists.gforge.inria.fr

Re: [Pharo-project] Morph extension

2009-09-16 Thread Gary Chambers
I get a different top offenders list of course. I've managed to refactor the worst offenders. Benchmarks for the opening system browser below show an improvement. Going from patched to unpatched shows that the unpatched takes between 15% and 20% longer to complete depending on fonts/theme.

[Pharo-project] Usability improvements for the class browser: buttons

2009-09-16 Thread Stephan Eggermont
Hello, When I open a class browser in a Pharo Image (10418 updated to 10451) with the default Watery 2 theme, the window is visually dominated by the button bar. Compared to the other parts of the window, it has too much vertical height and there is not enough white space around the buttons.

Re: [Pharo-project] Visual nonsense

2009-09-16 Thread Gary Chambers
Have settled for active window: with Watery2 the taskbar button label is shown with the selection colour. with W2K I have removed the fixed colour, appears darker than others for active window and effectively re-enables custom colour support for buttons (like the SystemBrowser

Re: [Pharo-project] Morph extension

2009-09-16 Thread Marcus Denker
On 16.09.2009, at 10:29, Gary Chambers wrote: I get a different top offenders list of course. I've managed to refactor the worst offenders. Benchmarks for the opening system browser below show an improvement. Going from patched to unpatched shows that the unpatched takes between 15%

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Stéphane Ducasse
Mike Yes this is a good idea. read the blog of dale. We are starting to manage all our project Moose, Mondrian, Glamour with metacello I'm waiting that doru and dale release a version with fixed api to write a chapter for Pharo by example2 Stef On Sep 16, 2009, at 1:59 PM, Michael Robers

Re: [Pharo-project] Morph extension

2009-09-16 Thread Stéphane Ducasse
Gary I would love to see morphic goes faster so we are ready to try :) Stef I've managed to refactor the worst offenders. Benchmarks for the opening system browser below show an improvement. Going from patched to unpatched shows that the unpatched takes between 15% and 20% longer to

Re: [Pharo-project] Author name prompt window is too big

2009-09-16 Thread Stéphane Ducasse
open a ticket and submit your code. Give two significative example would be good (and we do not want . or _ anyway) This was on my todo but skipped my mind. Stef On Sep 16, 2009, at 4:15 PM, Oscar Nierstrasz wrote: Today I was giving a Pharo demo, using a slightly larger than standard

Re: [Pharo-project] Morph extension

2009-09-16 Thread Andres Valloud
OOoohhh... I remember doing similar hacks in Squeak... it's been quite a while since I was familiar with the code, but I thought I'd mention this in case it helps. Today, I get the impression that, more than properties, what morphs need are policy objects. In that way, acting as a response

Re: [Pharo-project] Morph extension

2009-09-16 Thread Gary Chambers
Have a go with it (use a fresh image rather than anything you might want to lose...). Stick the .cs in your image directory, open a workspace and do the following... (FileStream readOnlyFileNamed: 'MorphicExtensionPerformance.1.cs') fileInSilentlyAnnouncing: nil. Morph allSubInstances do: [:m

Re: [Pharo-project] Morph extension

2009-09-16 Thread Henrik Johansen
Me too! Both actorState and player in MorphExtension are now unused btw, if you decided to put them there you might as well remove those two at the same time :) Cheers, Henry On Sep 16, 2009, at 4:43 43PM, Marcus Denker wrote: On 16.09.2009, at 10:29, Gary Chambers wrote: I get a

Re: [Pharo-project] Morph extension

2009-09-16 Thread Gary Chambers
Hopefully I've not missed anything... I have noticed that a fileout from the change sorter doesn't appear to write out any methods that are in *-override categories... at least that's how it seems (might be another problem!). Regards, Gary - Original Message - From: Henrik Johansen

[Pharo-project] [ANN] New Pharo based on core 10453 - Win32 Installer

2009-09-16 Thread astares
is up on the download page. So it is easy to walk on the beach, see: http://www.dzone.com/links/walk_on_the_beach_in_10_minutes.html Have fun T. -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Ken Treis
On Sep 16, 2009, at 1:06 AM, Johan Brichau wrote: I separated the extensions to the Parser (necessary to load the primitive methods) into a separate package Alien-Prereqs. If you load Alien-Prereqs before Alien-Core, it will work. Thanks Johan, that's good news here. I appreciate it. Given

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Dale Henrichs
Stef, I think that the core of Metacello is very solid. Doru is using it for Moose (a large project) and I am using it for GLASS managing 20 some individual projects like Pier, Seaside 2.8 and Magritte. I am working on a Metacello configuration for Seaside 3.0 - almost 70 packages and around

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Dale Henrichs
Stef, Under Metacello, when you a release a version, the complete list of Monticello files are recorded with the version (including load order dependencies). So Metacello is designed to make it possible to load old versions of projects into new images. It is also possible to record the

[Pharo-project] Website screenshots

2009-09-16 Thread Gary Chambers
I guess the IDE screenshot could do with updating... old-stlye buttons! Just mention because linked from Planet Squeak (re: Facelifiting Smalltalk). Might be nice with #showTextEditingState preference enabled now too... Regards, Gary ___ Pharo-project

Re: [Pharo-project] Author name prompt window is too big

2009-09-16 Thread Miguel Enrique Cobá Martinez
El mié, 16-09-2009 a las 16:51 +0200, Stéphane Ducasse escribió: open a ticket and submit your code. Give two significative example would be good (and we do not want . or _ anyway) This was on my todo but skipped my mind. I'll do it. Stef On Sep 16, 2009, at 4:15 PM, Oscar Nierstrasz

Re: [Pharo-project] Morph extension

2009-09-16 Thread Gary Chambers
In principle that is possible. Though Morph doesn't implement a setter for extension at the moment... There are, however, a lot of default value checks in Morph, likely due to the difficulty of migration in a live image environment. Regards, Gary - Original Message - From: Andres

Re: [Pharo-project] Author name prompt window is too big

2009-09-16 Thread Miguel Enrique Cobá Martinez
El mié, 16-09-2009 a las 16:15 +0200, Oscar Nierstrasz escribió: Today I was giving a Pharo demo, using a slightly larger than standard font. When I tried to commit a change, the prompt for my user name was bigger than the available screen space on my laptop. Luckily I could still

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Stéphane Ducasse
Hi ken it is correct that alien touches the parser? The declarations are not pragmas compliant. Of course your suggestion makes sense. When marcus is back in europe I will check the status of the new handwritten parser because it would be good to use it. Stef On Sep 16, 2009, at 5:36 PM, Ken

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Stéphane Ducasse
I remembered that. Now I was wondering about the following if we can tag a config we get in essence an Universe: a set of packages wrking with a given tag. But this is not quite the same. One of the problem that universes solved is that if MyApp requires AppA v1 YourApp requires

Re: [Pharo-project] Website screenshots

2009-09-16 Thread Stéphane Ducasse
Mike I do not know if you can edit the site because adrian is on holiday and I do not remember :) On Sep 16, 2009, at 7:09 PM, Gary Chambers wrote: I guess the IDE screenshot could do with updating... old-stlye buttons! Just mention because linked from Planet Squeak (re: Facelifiting

Re: [Pharo-project] Author name prompt window is too big

2009-09-16 Thread Stéphane Ducasse
Excellent Soon in your update :) Stef On Sep 16, 2009, at 7:41 PM, Miguel Enrique Cobá Martinez wrote: El mié, 16-09-2009 a las 16:15 +0200, Oscar Nierstrasz escribió: Today I was giving a Pharo demo, using a slightly larger than standard font. When I tried to commit a change, the prompt

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Ken Treis
On Sep 16, 2009, at 11:14 AM, Stéphane Ducasse wrote: it is correct that alien touches the parser? The declarations are not pragmas compliant. Yes -- there's a hack in there that allows an error code variable to be passed in the primitive pragma where otherwise the parser would expect a

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Douglas Brebner
Ken Treis wrote: * I'm creating a partial Alien library for GemStone so that I can use the CairoGraphics package in both Pharo and GLASS. But on x86-64, there there's a size difference between a pointer/long and an integer. It'd be nice to have some more explicit APIs on Alien, so I could say

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Ken Treis
On Sep 16, 2009, at 11:54 AM, Stéphane Ducasse wrote: what is the cairoPackage? For pharo 1.1 I would like to see Rome cleaned and loadable/integrated in pharo. It's a port of Travis Griggs' package from VisualWorks -- a fairly direct mapping of Cairo objects into Smalltalk. I posted it on

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Ken Treis
On Sep 16, 2009, at 12:02 PM, Douglas Brebner wrote: One minor point is that whether integers and longs are different depends on the platforms data model. Under MS Win64, integers and long integers are both 32bit, while on most unixes integers are 32bit while long ints are 64bit.

Re: [Pharo-project] Fwd: Universes? or Metacello meta repository

2009-09-16 Thread Dale Henrichs
When defining project references in Metacello, you can use a #= operator which basically says that later versions are okay - this makes it possible for MyApp to specify AppA v1 but be able to use AppA v3 if it is already loaded... The problem of conflicting requirements isn't solved but

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Mariano Martinez Peck
On Wed, Sep 16, 2009 at 6:17 PM, Ken Treis k...@miriamtech.com wrote: On Sep 16, 2009, at 12:02 PM, Douglas Brebner wrote: One minor point is that whether integers and longs are different depends on the platforms data model. Under MS Win64, integers and long integers are both 32bit,

Re: [Pharo-project] getting rid of these boring questions and popup

2009-09-16 Thread Stéphane Ducasse
hi guys http://code.google.com/p/pharo/issues/detail?id=1224 Now there is the possibility to not be warned for | a | a + 1 When you compile and also removing unused variable Parser doNotWarnUser Parser WarnUser compiler-sd.117 in the inbox I would prefer that somebody have a look

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Stéphane Ducasse
ok what is its license? Stef what is the cairoPackage? For pharo 1.1 I would like to see Rome cleaned and loadable/ integrated in pharo. It's a port of Travis Griggs' package from VisualWorks -- a fairly direct mapping of Cairo objects into Smalltalk. I posted it on SqueakSource

[Pharo-project] Fixes for image segments

2009-09-16 Thread Nicolas Cellier
I just fixed Symbol allInstances - Symbol allSymbols in http://source.squeak.org/trunk/System-nice.148.mcz This was already in Pharo I think, however, Eliot did some other changes that might be worth to check. ___ Pharo-project mailing list

[Pharo-project] [update] #10454

2009-09-16 Thread Stéphane Ducasse
10454 - - Issue 1223: reduce message text on full name prompt - Issue 1222: edit Repository information-cancel fails. UIManager#multiLineRequest:centerAt:initialAnswer:answerHeight: returns nil - Issue 1199: Debug log is overwritten

[Pharo-project] contents of file

2009-09-16 Thread Tudor Girba
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

Re: [Pharo-project] [update] #10454

2009-09-16 Thread Alexandre Bergel
- Issue 1223: reduce message text on full name prompt That was a fast inclusion! Excellent! Alexandre ___ 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] #10454

2009-09-16 Thread Mariano Martinez Peck
On Wed, Sep 16, 2009 at 7:26 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: 10454 - - Issue 1223: reduce message text on full name prompt - Issue 1222: edit Repository information-cancel fails. UIManager#multiLineRequest:centerAt:initialAnswer:answerHeight: returns nil -

Re: [Pharo-project] Fixes for image segments

2009-09-16 Thread Stéphane Ducasse
Thanks nicolas I could not find enough energy to work on the closure fixes... so far. stef I just fixed Symbol allInstances - Symbol allSymbols in http://source.squeak.org/trunk/System-nice.148.mcz This was already in Pharo I think, however, Eliot did some other changes that might be worth

Re: [Pharo-project] contents of file

2009-09-16 Thread Tudor Girba
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

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Douglas Brebner
Ken Treis wrote: On Sep 16, 2009, at 12:02 PM, Douglas Brebner wrote: One minor point is that whether integers and longs are different depends on the platforms data model. Under MS Win64, integers and long integers are both 32bit, while on most unixes integers are 32bit while long

Re: [Pharo-project] Website screenshots

2009-09-16 Thread Michael Roberts
If someone would like to post a screenshot or mail me off list, i can edit the web site. thanks, Mike On Wed, Sep 16, 2009 at 7:22 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Mike I do not know if you can edit the site because adrian is on holiday and I do not remember :) On Sep

[Pharo-project] NBS-ISCC Color Names

2009-09-16 Thread Ken Dickey
Greetings, I don't know if anyone is interested, but PharoInbox now contains a change set, Graphics-KenDickey.131, which adds Color names based on NBS-ISCC Color Centroids as described in: http://people.csail.mit.edu/jaffer/Color/Dictionaries After the change set has been filed in, one

Re: [Pharo-project] NBS-ISCC Color Names

2009-09-16 Thread Michael van der Gulik
On Thu, Sep 17, 2009 at 12:16 PM, Ken Dickey ken.dic...@whidbey.com wrote: Greetings, I don't know if anyone is interested, but PharoInbox now contains a change set, Graphics-KenDickey.131, which adds Color names based on NBS-ISCC Color Centroids as described in:

[Pharo-project] Macintosh os-x 10.4.x and Alien ObjectiveC plugins get updated.

2009-09-16 Thread John M McIntosh
In the sometimes hectic rush in building both the Alien and ObjectiveC plugins for OS-X when Apple pushed out it seems 53 beta version of XCode for snow leopard and iPhone OS 3.x I managed to build both plugins for OS-X 10.5 only. Finally someone noticed, oddly this took awhile... Therefore