Re: [Pharo-project] do you know what is this?

2013-04-16 Thread Fernando Olivero
NICE work Esteban! Does the AthensQuartzSurface, support all Athens related code? (paths, paints,etc..) I will be more than happy to move away from the software rendering of the current cairo backend. Fernando On Tue, Apr 16, 2013 at 8:41 PM, Esteban Lorenzano esteba...@gmail.com wrote: not

Re: [Pharo-project] [FYI] Athens tutorial

2013-04-07 Thread Fernando Olivero
NICE ! Excellent tutorial Igor. But i was expecting the tiger at the end…with the song and everything. Fernando On Sun, Apr 7, 2013 at 9:07 AM, stephane ducasse stephane.duca...@free.fr wrote: Alex you can use it for real in roassal For the bootstrap - connection with TextMorph

Re: [Pharo-project] Collect all references to AnObsoleteFoo

2013-04-01 Thread Fernando Olivero
Ciao Roberto, Whenever you remove a class that is still referenced in the system, an ObsoleteClass takes the place of the removed class. In the late-bound spirit of Smalltalk, the system allows removing the classes and dealing with the current references later. If i may question the source of

Re: [Pharo-project] Menu :)

2013-03-11 Thread Fernando Olivero
PUAJ! Direct references to the World and its submorphs = secondary effects Not popping the menu if the items are empty = lost visual feedback etc… On Mon, Mar 11, 2013 at 9:57 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: I'm sure that we can do better... popUpAt: aPoint forHand:

Re: [Pharo-project] IslandVMTweaksTestCase and Memory corruption

2013-02-28 Thread Fernando Olivero
Island are part of the TeaTime implementation in Croquet. If the tests are referring to that Island then why should Pharo include such tests? Fernando On Thu, Feb 28, 2013 at 4:23 PM, Marcus Denker marcus.den...@inria.fr wrote: On Feb 28, 2013, at 4:15 PM, Ciprian Teodorov

Re: [Pharo-project] BalloonCanvasdrawPolygon

2013-02-25 Thread Fernando Olivero
Yes, we should fight against the jagged figures of our Morphs! Cairo is a first step. Another option would be to work on a different Athens backend for IOS, based on Quartz. The overall goal is to ditch Cairo in favor of hardware accelerated backends. Fernando On Mon, Feb 25, 2013 at 4:15 PM,

Re: [Pharo-project] Weird behavior in Nautilus when doing a method rename

2013-02-20 Thread Fernando Olivero
Hi, i had the same misconception once, but i recall Lukas pointed out that the refactoring engine is built on the original refactoring's from Fowler's book, and implemented in Smalltalk by Roberts and Johnson [1]. So the semantics of the refactoring are preserved in the implementation. If you

Re: [Pharo-project] Smalllint for Traits

2013-02-18 Thread Fernando Olivero
Cool, thanks for investing time into this effort. I guess the next step would be to work on the UI: improve Nautilus. Fernando On Mon, Feb 18, 2013 at 7:48 AM, Marcus Denker marcus.den...@inria.fr wrote: On Feb 18, 2013, at 5:44 AM, aizcorbe juansebastian.aizco...@gmail.com wrote: I just

Re: [Pharo-project] Smalllint for Traits

2013-02-18 Thread Fernando Olivero
Hi, check out the following links. http://www.pharo-project.org/license http://pharo.gforge.inria.fr/licenseDocuments/PharoSoftwareDistributionAgreement.pdf Saludos, Fernando On Tue, Feb 19, 2013 at 1:01 AM, aizcorbe juansebastian.aizco...@gmail.com wrote: No, i didn't sign any licence, what

Re: [Pharo-project] TxTextMorph based on new text model

2013-02-14 Thread Fernando Olivero
Hi, this is really interesting! To have a simpler text model and UI. I recall Safara, in squeaksource. Lukas and a student worked on a nice text model. Worth checking it out. Fernando On Fri, Feb 15, 2013 at 12:29 AM, Sean P. DeNigris s...@clipperadams.comwrote: Thanks again for tackling

Re: [Pharo-project] Migrated HashTable from ss to SmalltalkHub

2013-02-10 Thread Fernando Olivero
Interesting, nice thesis Camilo. Why not replace Dictionary then? At least it should be integrated into Collections, in the image. Fernando On Sun, Feb 10, 2013 at 4:38 PM, Camillo Bruni camillobr...@gmail.comwrote: On 2013-02-10, at 16:34, stephane ducasse stephane.duca...@free.fr wrote:

Re: [Pharo-project] Fwd: More progress...

2013-01-28 Thread Fernando Olivero
Hi Marcus, this are great news! For the less-knowledgable in OPAL, were can we read more about it? Fernando On Mon, Jan 28, 2013 at 1:15 PM, Sven Van Caekenberghe s...@stfx.eu wrote: Yes ! Looking forward to it… On 28 Jan 2013, at 13:09, Marcus Denker marcus.den...@inria.fr wrote: …

Re: [Pharo-project] Extent a Athens surface?

2013-01-28 Thread Fernando Olivero
Hola Vanessa, i can help you if, but i don't fully understand what do you want to achieve by extending the surface. Saludos, Fernando On Mon, Jan 28, 2013 at 10:17 PM, Vanessa Peña Araya van.c.p...@gmail.comwrote: Hi, I wanted to ask if it's possible to extent an Athens surface. If it

Re: [Pharo-project] Athens replacement for ImageReadWriter?

2013-01-23 Thread Fernando Olivero
What you can with Athens and the Cairo backend is: 1) create a surface in memory 2) draw to the surface 3) export that surface to a png 4) import that png into a form The main point is step 3, cairo can export any surface to a png. Then within Pharo, any form can be created from a png. Also,

Re: [Pharo-project] RateLimitingAnnouncer

2013-01-20 Thread Fernando Olivero
Hi, instead of subclassing Announcement, i would add the limiting logic to the one receiving the announcements. To keep everything but the view agnostic of this optimization detail. Because all you need is to prevent the UI from rendering in intervals less then 100ms. The announcement doesn't care

Re: [Pharo-project] Smalllint for Traits

2013-01-09 Thread Fernando Olivero
Cool work! It would be nice to have in the latest Pharo 2.0, so it can be integrated. Think about integrating it into SmallLint, if not, your nice work maybe will get lost. Saludos, Fernando On Wed, Jan 9, 2013 at 2:04 AM, aizcorbe juansebastian.aizco...@gmail.comwrote: Hi all, as part of a

Re: [Pharo-project] Is there a simple example of how to create a GUI form in Pharo or Squeak?

2012-12-25 Thread Fernando Olivero
Hi, two good sources of information on GUI building are http://www.pharocasts.com/2011/02/pharo-gui-with-polymorph.html?utm_source=BP_recent http://book.pharo-project.org/book/LanguageAndLibraries/GUI/?_s=yllsSvKBo5cvoj5u_k=SfVzYouSPsm74NVf_n6 They're not that hard to find (if you are aware of

Re: [Pharo-project] A contorted way of making things work :)

2012-12-22 Thread Fernando Olivero
Well, the assignment within the and: block says it all… Fernando On Sat, Dec 22, 2012 at 2:57 AM, Igor Stasenko siguc...@gmail.com wrote: StringMorphboundsForBalloon Some morphs have bounds that are way too big. This is a contorted way of making things work okay in

[Pharo-project] About (backwards) Compatibility

2012-12-11 Thread Fernando Olivero
Hi, i wanted to share an old quote which i find relevant to our community. Just replace FORTRAN's with loads of stuff we had in the bloated images in the past, most of them useful to get were we are right now. FORTRAN's tragic fate has been its wide acceptance, mentally chaining thousands and

Re: [Pharo-project] How to manipulate HandMorph's position?

2012-12-10 Thread Fernando Olivero
HandMorph is only drawn when its carrying another morph. What you see in the screen is the hardware cursor, maintained by the vm. This separation was done for efficiency reasons, when drawing Morphic. This is why you evaluate stuff like Cursor wait showWhile:[], to alter the appearance of the

Re: [Pharo-project] Versioning external packages

2012-11-27 Thread Fernando Olivero
Hi Roberto, in the first case you have to add the methods in a category named: '*MyPackage', then Monticello versions it as an method extension, a method of you package which is in a class that doesn't belong to your package. OrderedCollectionmyMethodExtension I'm in a method category

Re: [Pharo-project] Athens OpenGL backend - what does it mean?

2012-11-25 Thread Fernando Olivero
yes! But not only it would enable having multiple windows, because now we downgrade all the events to the minimum common denominator, and pass a raw event captured from each OS, from the vm to the image. would be nice to do some surgery on the vm, and cut the windowing management and raw event

Re: [Pharo-project] MongoTalk update

2012-11-25 Thread Fernando Olivero
Hi, this seems to answer your question. http://articles.tulipemoutarde.be/embedded-document-with-voyage-in-mongodb Fernando On Sun, Nov 25, 2012 at 2:09 AM, Igor Stasenko siguc...@gmail.com wrote: On 24 November 2012 14:06, Nicolas Petton petton.nico...@gmail.com wrote: Thanks Norbert!

Re: [Pharo-project] New Athens+Chipmunk example [WAS: Re: Athens, Nativeboost and Igor's gray hair]

2012-11-24 Thread Fernando Olivero
Nice example Esteban, now you need to add some explosions to the game! Curious on the usage of Chipmunk, do you replicate the walls, balls and gravity in smalltalk? Or use Athens just as view. Fernando On Sat, Nov 24, 2012 at 11:50 AM, Esteban Lorenzano esteba...@gmail.comwrote: Hi,

Re: [Pharo-project] New Athens+Chipmunk example [WAS: Re: Athens, Nativeboost and Igor's gray hair]

2012-11-24 Thread Fernando Olivero
I've just browsed through the code. Nice work on modeling Chipmunk in the image via NB. Could you separate this work from Storm? I think it deserves a package on its own. Fernando On Sat, Nov 24, 2012 at 11:55 AM, fernando.oliv...@usi.ch fernando.oliv...@usi.ch wrote: Nice example Esteban,

Re: [Pharo-project] Helping with Athens development

2012-11-23 Thread Fernando Olivero
For now, Athens uses the software renderer of Cairo to draw into a Cairo Surface. We get it back to the Pharo, buy telling a Form to load the bits of the Cairo surface. Would be nice to have another renderer for Athens, besides Cairo, to use a hardware accelerated renderer. OpenGL backend for

Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Fernando Olivero
I totally agree. Dummy does not tell me about the class. Are there just 3 uses of Dummy in the core? We should either use Null or use a specific prefix always, so its form a consisten pattern. DummyUIManager - NullUIManager Fernando On Wed, Nov 21, 2012 at 4:34 PM, Mariano Martinez Peck

Re: [Pharo-project] about sharing class binding and others

2012-11-17 Thread Fernando Olivero
I love Marcus idea, classes aren't globals any more, and to access them is simply another message send to a receiver: the environment. ( like the lobby in Self ) . Fernando On Sat, Nov 17, 2012 at 8:56 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: The alternative to the current

Re: [Pharo-project] [Pharo-users] [Pharo-consortium] Pharo Association

2012-11-15 Thread Fernando Olivero
Cool! It's great that now we have a way of supporting Pharo. I thought it was a bug, but realized that after signing up, you can login but you wont appear in the members list before you actually pay. Thanks, Fernando On Thu, Nov 15, 2012 at 6:09 PM, Tudor Girba tu...@tudorgirba.com wrote: I

Re: [Pharo-project] [Pharo-users] CategorySaver

2012-11-12 Thread Fernando Olivero
Sebastian, thanks for sharing your code and thoughts. Maybe what Mariano was implying is that you already have the data for the backup in the changes, and having yet another mechanism for that adds complexity to the system. I think is a good idea, but too focused on the categories you choose up

Re: [Pharo-project] NB Capabilities

2012-11-09 Thread Fernando Olivero
Hi, i wanted to give my opinion on this, since i've encountered some of the problems you mention. Sometimes to benefit from the simplicity of Smalltalk while coexisting with other tools, we must cope with low level technology glue code. NB made it easy to do so, compared to Alien,FFI, writing

Re: [Pharo-project] Increase memory

2012-11-08 Thread Fernando Olivero
Ciao Roberto, which is the current size of the image? (the .image file). If you evaluate the following a couple of times (print it cmd-p), you will cleanup most of the unreferenced objects in the image, it returns a number so you can compare it to successive evaluations. Smalltalk

Re: [Pharo-project] Smalltalk to Python and back

2012-11-01 Thread Fernando Olivero
Hi, you can get inspiration from http://clamato.net/, a similar approach using petit parser to translate to javascript. Fernando On Thu, Nov 1, 2012 at 1:42 PM, dimitris chloupis theki...@yahoo.co.ukwrote: Probably I have mentioned this several times but I am working on a project for visual

Re: [Pharo-project] Global session object?

2012-10-08 Thread Fernando Olivero
Yes, session management is cross-cutting concern, so it makes sense to have it in the system, and not just as a NB feature. Object new, is a cool workaround for the unique ID! Fernando On Mon, Oct 8, 2012 at 8:33 AM, Marcus Denker marcus.den...@inria.fr wrote: Hello, Yes, this sounds good.

Re: [Pharo-project] To try out FileSystem in 2.0 -- which download?

2012-10-04 Thread Fernando Olivero
i love they manner in which you summarized more then 10 years of struggles, and introduce the high hopes that this future beholds... thanks Marcus! Fernando On Thu, Oct 4, 2012 at 9:16 AM, Sven Van Caekenberghe s...@stfx.eu wrote: Thanks for the explanation and pointers, Marcus. Well

Re: [Pharo-project] NB cant locate a module

2012-10-03 Thread Fernando Olivero
: On 3 October 2012 13:54, Fernando Olivero fernando.oliv...@usi.ch wrote: Hi Igor, following your example on using CairoLibraryLoader, i did the same for the PangoCairo library part of Athens. But there's something i don't understand, why [1] works and [2] doesn't (it returns 0), if both

Re: [Pharo-project] How to try Shapes and Gaucho?

2012-09-29 Thread Fernando Olivero
Hi Denis, I'm actively working on Shapes/Gaucho, but not having the time to finally polish it to release has held me back in doing so. The repos are closed for now, until i release them. Shapes is not production ready, unless you are willing to work on it. Meaning that Gaucho is the sole user

Re: [Pharo-project] Fuel and Tanker in older Pharo images [WAS] Re: How to try Shapes and Gaucho?

2012-09-29 Thread Fernando Olivero
Cool! Thanks Mariano for the summary, and all the others for this much needed features! Looking forward to adopt such a process, to have a minimal Pharo image, customized to my needs. Fernando On Sat, Sep 29, 2012 at 2:20 PM, Mariano Martinez Peck marianop...@gmail.com wrote: On Sat, Sep 29,

Re: [Pharo-project] [Seaside] Re: change n same words in browser with one action

2012-09-28 Thread Fernando Olivero
Hi, maybe in Pharo some of these keyboard shortcuts were removed (for now), but providing the same operations via pop-up menus doesn't make it a modal UI. One could argue that remembering and triggering keyboard shortcuts simply avoids showing the menu at all, at the expense of a big VI-like

Re: [Pharo-project] [Vm-dev] Re: The roadmap aka fight plan to make image control host window

2012-09-27 Thread Fernando Olivero
2012 13:12, Fernando Olivero fernando.oliv...@usi.ch wrote: Igor, i agree 100% percent with you! VM shouldn't have all the responsibility of handling a single UI window. I've tried in the past to look at VM code, which handles this responsibility and change it, (no UI handling in the VM

Re: [Pharo-project] Learnable Programming

2012-09-27 Thread Fernando Olivero
AWESOME! its nice to hear that most of the ideas in Dan's article from the 81: Design principles behind Smalltalk [1], finally made it elsewhere. The first paragraph resembles the first part of the article. Goubier: Athens needs Cairo, which needs NB. Cairo can be compiled for 32/64 bits, i

Re: [Pharo-project] [Vm-dev] Re: The roadmap aka fight plan to make image control host window

2012-09-26 Thread Fernando Olivero
Igor, i agree 100% percent with you! VM shouldn't have all the responsibility of handling a single UI window. I've tried in the past to look at VM code, which handles this responsibility and change it, (no UI handling in the VM) ..but it proved to be a difficult task! We need a simpler, cleaner

Re: [Pharo-project] instVarNames vs instVarNamed:

2012-09-24 Thread Fernando Olivero
...makes me envy the simplicity of SELF! Fernando On Mon, Sep 24, 2012 at 10:38 AM, Igor Stasenko siguc...@gmail.com wrote: On 24 September 2012 08:53, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Sep 24, 2012, at 1:56 AM, Igor Stasenko wrote: okay, i found what is wrong with

Re: [Pharo-project] Changing permanently the mouse cursor

2012-09-17 Thread Fernando Olivero
HandMorph is the software cursor, which now only gets drawn when the hand is drawn, which only happens when its carrying a morph. Cursor is the hardware cursor, the one handled by the VM and drawn most of the time. IMO, we need to change the VM, to not handle the hardware cursor anymore, so we

Re: [Pharo-project] An idea about visual feedback in Athens

2012-09-17 Thread Fernando Olivero
Igor, the way i've handled the mouse hit issue, is by asking the parent shape (morph) to take care of a mouse hit, and let him handle or forward the hit. The topmost shape are sent the mouseDown: aLocalPoint, then each shape can choose to react, if its a composite shape or by a specific

Re: [Pharo-project] GSoC - Package management with Fuel

2012-08-24 Thread Fernando Olivero
Hi Martin, Thanks for reporting on the results, i wasnt aware of such a cool project. Looking forward to use it, instead of what we have now, i remember how fast it was to load objects in Visual Smalltalk. Saludos, Fernando On Fri, Aug 24, 2012 at 10:01 AM, Martin Dias tinchod...@gmail.com

Re: [Pharo-project] New Text Completion suggestions

2012-08-23 Thread Fernando Olivero
Igor, as usual your true object-oriented thinking helps us see a better path... We need a customized UI interaction for Smalltalk, instead of asking for TEXT editors devised for a different setup. What's missing is a Smalltalk method shape(morph, etc...), highly customized for editing/navigating

Re: [Pharo-project] Breaking another dependency to Compiler (related to Traits I think)

2012-08-16 Thread Fernando Olivero
per method be a problem? Fernando On Wed, Aug 15, 2012 at 11:10 PM, Levente Uzonyi le...@elte.hu wrote: On Wed, 15 Aug 2012, Fernando Olivero wrote: Hi, great point Marcus. I was wondering why cant a compiled method know the ast that generated it? Would you store all ASTs in memory all

Re: [Pharo-project] Breaking another dependency to Compiler (related to Traits I think)

2012-08-16 Thread Fernando Olivero
marcus.den...@inria.fr wrote: On Aug 16, 2012, at 9:32 AM, Fernando Olivero fernando.oliv...@usi.ch wrote: I've been using RB, which allows to recreate on demand the ast, but in my system i cached those values. ast := RBParser parseMethod: 'parsingAMethod | yeah | yeah := self

Re: [Pharo-project] Breaking another dependency to Compiler (related to Traits I think)

2012-08-16 Thread Fernando Olivero
, vists the ast to return the source. Fernando On Thu, Aug 16, 2012 at 4:20 PM, Levente Uzonyi le...@elte.hu wrote: On Thu, 16 Aug 2012, Fernando Olivero wrote: NICE! I would say lets go for it, 120MB is nothing nowadays. The IDE could be simplied and be more powerful. Let's be a bit more

Re: [Pharo-project] Breaking another dependency to Compiler (related to Traits I think)

2012-08-15 Thread Fernando Olivero
Hi, great point Marcus. I was wondering why cant a compiled method know the ast that generated it? It would ease the queries + manipulation, in the tools a lot! CompiledMethodgetSourceReplacingSelectorWith: aSelector would be instead: CompiledMethodwithSelector: aSelector ^ (self ast

Re: [Pharo-project] Question about RPackage (bug?)

2012-08-09 Thread Fernando Olivero
Hi Mariano, I've been using RPackage so i stumbled on the same problem. RPackage maps System Categories (one to one), thus your problem happens because there's no category named 'RPackage'. For example evaluate (RPackageOrganizer default packageNamed: 'RPackage-Core') Saludos, Fernando On

Re: [Pharo-project] color problem?

2012-08-09 Thread Fernando Olivero
Hi Esteban, It's a matter of percentage, meaning that you can chose an percentage of r, of g, and of b, and by default the values go from 0.0 to 1.0. If you want to use 255 as the max (as 1.0), then do as Gary posted. Fernando On Thu, Aug 9, 2012 at 4:32 PM, Esteban Lorenzano

Re: [Pharo-project] Question about RPackage (bug?)

2012-08-09 Thread Fernando Olivero
definedClasses size = 0 ) Only then, maybe this is a bug? On Thu, Aug 9, 2012 at 1:52 PM, Mariano Martinez Peck marianop...@gmail.com wrote: On Thu, Aug 9, 2012 at 1:25 PM, Fernando Olivero fernando.oliv...@usi.chmailto:fernando.oliv...@usi.ch wrote: Hi Mariano, I've been using RPackage so i

Re: [Pharo-project] R.I.P. SystemChangeNotifier

2012-08-07 Thread Fernando Olivero
Goodbye Pen, ImageSegment, FileDirectory, and now SystemChangeNotifier! NICE work you guys! (Soon, we will even have an image without Morphic at all... ) We need to make a graveyard (a fun web page for the Pharo site? ) for all deceased objects, so we don't forget them, and why we chose to let

Re: [Pharo-project] 'self halt' safety net

2012-08-04 Thread Fernando Olivero
What about a Nautilus plugin, that allows browsing all the methods that send #halt, #flag:,#log:? (the development messages). Since finding all the halts, doesn't seem something that needs to be performed all the time, an optional Nautilus plugin would suffice. Fernando On Sat, Aug 4, 2012 at

Re: [Pharo-project] [ANN] Alternative view of a system browser

2012-07-21 Thread Fernando Olivero
Hi, nice work. Looking forward to play with it. Is it similar to the Newspeak browser? Where methods expand in place. Fernando On Wed, Jul 18, 2012 at 7:36 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: I do not have a connection to look at it. But I LOVE the idea. I love the idea that

Re: [Pharo-project] Customizing the Caret of a PluggableTextMorph

2012-07-21 Thread Fernando Olivero
...@gmail.commailto:dionisi...@gmail.com Hello 2012/7/20 Fernando Olivero fernando.oliv...@usi.chmailto:fernando.oliv...@usi.ch Hi Sean, you can take a look at Athens-PangoCairo (in squeaksource). Using NativeBoost, i'm using the Pango layout library [1], and the Pango-Cairo binding [2

Re: [Pharo-project] Customizing the Caret of a PluggableTextMorph

2012-07-20 Thread Fernando Olivero
Hi Sean, you can take a look at Athens-PangoCairo (in squeaksource). Using NativeBoost, i'm using the Pango layout library [1], and the Pango-Cairo binding [2], to avoid laying out text using the outdated (and messy) stuff in the image. Check out the classes: ParagraphDescription

Re: [Pharo-project] Putting Cairo in the VM?

2012-07-06 Thread Fernando Olivero
Yes, i was wondering about that. The NB OpenGL example worked when reopening a saved image. Stef, if you want to reopen the crashing image, just remove the cairo lib from the plugins folder. Then open it and delete all example morphs and save. Fernando On Fri, Jul 6, 2012 at 11:22 AM, Igor

Re: [Pharo-project] Athens Mac os doc like animation

2012-07-05 Thread Fernando Olivero
Hi Stef, here's a link to a working Athens + Cairo image. http://dl.dropbox.com/u/22215979/PharoImages/Athens-04-07.zip I've recommend following the steps posted by Igor, to have the latests version. But this one is generated from the build and repo of yesterday + the path to the library hack.

[Pharo-project] Problem with FileSystem primitives in latest Pharo2.0

2012-07-04 Thread Fernando Olivero
Hi, i found an error in the latest Pharo2.0 build, at least in OSX , that prevents from using Gofer and monticello. Its related to the FileSystem primitives, when trying to delete a file. To reproduce evaluate the following code ( change 'PharoDebug.log' for any existing file in the same

Re: [Pharo-project] Problem with FileSystem primitives in latest Pharo2.0

2012-07-04 Thread Fernando Olivero
Denker marcus.den...@inria.fr wrote: Are you using a current VM from Jenkins? I think FileSystem needs some fixes in the Vm File plugin... On Jul 4, 2012, at 9:23 AM, Fernando Olivero wrote: Hi, i found an error in the latest Pharo2.0 build, at least in OSX , that prevents from using Gofer

Re: [Pharo-project] Problem with FileSystem primitives in latest Pharo2.0

2012-07-04 Thread Fernando Olivero
in the Vm File plugin... On Jul 4, 2012, at 9:23 AM, Fernando Olivero wrote: Hi, i found an error in the latest Pharo2.0 build, at least in OSX , that prevents from using Gofer and monticello. Its related to the FileSystem primitives, when trying to delete a file. To reproduce evaluate

Re: [Pharo-project] Problem with FileSystem primitives in latest Pharo2.0

2012-07-04 Thread Fernando Olivero
... On Jul 4, 2012, at 9:23 AM, Fernando Olivero wrote: Hi, i found an error in the latest Pharo2.0 build, at least in OSX , that prevents from using Gofer and monticello. Its related to the FileSystem primitives, when trying to delete a file. To reproduce evaluate the following code ( change

Re: [Pharo-project] Problem with FileSystem primitives in latest Pharo2.0

2012-07-04 Thread Fernando Olivero
this issue. Fernando On Wed, Jul 4, 2012 at 10:44 AM, Sven Van Caekenberghe s...@beta9.be wrote: On 04 Jul 2012, at 09:51, Fernando Olivero wrote: But i found that the following is working incorrectly: (FileSystem disk workingDirectory / 'unexistingFileForTesting.txt') asFileReference exists

Re: [Pharo-project] Putting Cairo in the VM?

2012-07-04 Thread Fernando Olivero
Nice work! Thanks Igor. Will be a lot easier now to release Athens related projects. Fernando On Wed, Jul 4, 2012 at 2:15 PM, Igor Stasenko siguc...@gmail.com wrote: Ok, the build #27 is built a first VM with cairo library. Congratulations! :)

Re: [Pharo-project] Problem with FileSystem primitives in latest Pharo2.0

2012-07-04 Thread Fernando Olivero
! Thanks for the help, Fernando On Wed, Jul 4, 2012 at 4:19 PM, Camillo Bruni camillobr...@gmail.com wrote: Fernando be sure to get rid of all the old vms on OSX :P OSX is particularly good in finding an old version somewhere that does not properly work :P On 2012-07-04, at 10:54, Fernando

Re: [Pharo-project] Athens Mac os doc like animation

2012-07-04 Thread Fernando Olivero
Hi Stef, surely is happening because the path to the Cairo Lib changed. It used to in the MacPorts path, but now Igor is shipping NB vm's with Cairo. So we should change the following method. TCairoLibrarynbLibraryNameOrHandle (NativeBoost platformId = NativeBoostConstants

Re: [Pharo-project] Athens Mac os doc like animation

2012-07-04 Thread Fernando Olivero
To properly run the example, besides installing Athens you need to have Athens-SVG and XML Support. SVG support --- Gofer it url: 'http://www.squeaksource.com/MetacelloRepository'; package: 'ConfigurationOfXMLSupport';

Re: [Pharo-project] Athens Mac os doc like animation

2012-07-04 Thread Fernando Olivero
Oops, replace NBCog in the path by NBCog.app , as in: TCairoLibrary classnbLibraryNameOrHandle (Smalltalk vm vmPath asFileReference / 'NBCog.app' / 'Contents'/ 'MacOS' / 'Plugins' / 'libcairo.2.dylib' ) fullName . On Wed, Jul 4, 2012 at 10:27 PM,

Re: [Pharo-project] Encodings, Charsets, converters... streams?

2012-06-28 Thread Fernando Olivero
Cant we throw them all? And later add one by one when (if at all...) needed? Fernando On Wed, Jun 27, 2012 at 5:34 PM, Guillermo Polito guillermopol...@gmail.com wrote: I've spent 3 hours on trying to understand deeply the Multilingual mess, but I'm dying in the process...  It mixes

Re: [Pharo-project] LanguageEnvironment#setUsePangoFlag

2012-06-25 Thread Fernando Olivero
I would remove it, it's a reminisce of Sophie surely. They used to have Pango and Cairo bindings. Fernando On Mon, Jun 25, 2012 at 5:16 PM, Guillermo Polito guillermopol...@gmail.com wrote: And this method is funny :) because with a clean startup list it does not work:

Re: [Pharo-project] Worskpace question

2012-06-20 Thread Fernando Olivero
I don't think its related to the processes priority. Can you provide more code of the DrGeoCanvas#initialize ? Because, the following works just fine, by evaluating the first two lines, or the complete script. m := Morph new. m openInWorld. m color: Color red. m extent: 300@300. m delete

[Pharo-project] compiled method inherits from Collection?

2012-06-19 Thread Fernando Olivero
(Object#name) isCollection = true Actually is a subclass of ByteArray (instead of collaborating with one). Does this seem strange to anybody else? Is it really needed? Fernando

Re: [Pharo-project] compiled method inherits from Collection?

2012-06-19 Thread Fernando Olivero
Thanks for the info, its a shame we cant easily change the vm. Oh well, i should first ask for isCompiledMethod before isCollection now... Fernando On Tue, Jun 19, 2012 at 11:34 AM, Marcus Denker marcus.den...@inria.fr wrote: On Jun 19, 2012, at 11:28 AM, Fernando Olivero wrote: (Object

Re: [Pharo-project] What i would like to have instead of progress bar

2012-06-01 Thread Fernando Olivero
I agree, i've implemented in Gaucho a WaitingShape. Which resembles the ones found in the web players (the lines in different angles forming a circle, that rotate an alpha value to denote passage of time). w := WaitingShape on: self. w start. ... w stop. I've used it when importing stored

[Pharo-project] Monticello Speedup!

2012-05-31 Thread Fernando Olivero
Thanks for making Monticello/Gofer 300% faster! And its non-blocking, now when i commit/merge i dont have to look at the ceiling for 3 minutes. Fernando

Re: [Pharo-project] moving Finder up to first level of World menu

2012-05-31 Thread Fernando Olivero
How i can install/see plugins for Nautilus? Fernando On Thu, May 31, 2012 at 9:44 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote:      Examples than pattern.      because Pattern to me measn something else. I know :) But some people argue the opposite so I just picked :) We should

Re: [Pharo-project] moving Finder up to first level of World menu

2012-05-31 Thread Fernando Olivero
NICE. Excellent summary, thanks Mariano. gracias totales! Fernando pd: i will start using Spotlight right away! On Thu, May 31, 2012 at 10:27 AM, Mariano Martinez Peck marianop...@gmail.com wrote: On Thu, May 31, 2012 at 10:18 AM, Fernando Olivero fernando.oliv

Re: [Pharo-project] Pharocasts ... updating and screencasts wanted

2012-05-31 Thread Fernando Olivero
Once i finish with the release of Gaucho, i will commit myself to produce a cool Athens video. Around next week. Fernando On Thu, May 31, 2012 at 10:53 AM, laurent laffont laurent.laff...@gmail.com wrote: If some people wants write access to Pharocasts tell me. I follow the mailing list in

Re: [Pharo-project] loading athens - a user perspective

2012-05-25 Thread Fernando Olivero
You shouldnt use Brew, because it cant compile universal binaries. Athens, with a cairo backend, uses NativeBoost which needs 32 bit libraries, because CogGM is targeted to 32 bits. I also tried with Brew, that's why i found out is hard to instruct brew to compile universal binaries. Fernando

Re: [Pharo-project] Browsing long methods

2012-05-21 Thread Fernando Olivero
PluggableTextMorph and friends are a mess, i've tried to clean it up once and found it to be really hard. I will be showing the support for text in Shapes ( the UI framework used by Gaucho), which lays out text using Pango, and renderers it using Athens (with a Cairo backend). Simple and yet

Re: [Pharo-project] Browsing long methods

2012-05-21 Thread Fernando Olivero
yes, you are right, we should improve Morphic, and Gaucho should be released soon! Regarding cleaning up PluggableTextMorph, i think a better solution would be to rewrite it, i've coded NewTextMorph once (a minimal version). Instead of trying to fix an complicated Morph. On Mon, May 21, 2012 at

Re: [Pharo-project] Monticello Browser messing up Morphic?

2012-05-21 Thread Fernando Olivero
I haven't experienced it. To recover: The trail generally happens when you have to UI process installed. Terminate the extra one and things will be back to normal. (try with both, and the current UI process will tell you it cant be killed). Fernando On Tue, May 22, 2012 at 12:24 AM, Sean P.

Re: [Pharo-project] Pharo is exploding

2012-05-16 Thread Fernando Olivero
I've recently read the book on UI usability [1], were the author states that after ten years of performing user evaluations and studies, he can assert that people stick to the first thing that works. Maybe that's the reason behind this aversion to change. I totally agree with Marcus and others,

Re: [Pharo-project] Strange logic in PolygonMorphfromHand: hand

2012-05-13 Thread Fernando Olivero
Indeed is weird. I think it has to explicitly call runStepMethods, because it's not forking , thus taking control of the ui process, does it make sense? I would remove the method (and all the similar ones found in the image, that explicitly reference Sensor and while doing true whileTrue:[ ...],

Re: [Pharo-project] [Pharo-consortium] We need your successes

2012-05-13 Thread Fernando Olivero
I'll prepare one, detailing myself and Gaucho. Fernando On Sat, May 12, 2012 at 9:50 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Thanks Hilaire for this cool one :)        https://gforge.inria.fr/frs/download.php/30761/drgeo-teaser.pdf I should do one for http://www.synectique.eu

Re: [Pharo-project] [review needed] Do we remove SmartRefStream?

2012-05-11 Thread Fernando Olivero
I would remove them, you made a strong point in favor of simply removing it: A cleanup of an unneeded class. Its nice to see this kind of complex classes disappear from Pharo, more and more. Fernando On Fri, May 11, 2012 at 10:27 AM, Marcus Denker marcus.den...@inria.fr wrote: With Fuel, we

Re: [Pharo-project] Short rant on platforms and sessions

2012-05-11 Thread Fernando Olivero
That's why the OpenGL examples work when you re-open a saved image! Fernando On Fri, May 11, 2012 at 12:51 PM, Igor Stasenko siguc...@gmail.com wrote: I agree with all your points. I just can add, that if you start using NativeBoost FFI you'll find that it follows _exactly_ the rules which

Re: [Pharo-project] Anti-aliased rendering status?

2012-04-29 Thread Fernando Olivero
Yes! Browse in the mailing list for the work on Athens[1], a new canvas rendering API, that supports different backends (currently Cairo [2]). Check out this video: http://vimeo.com/40653315. Morphs can easily use this new canvas by implementing drawOnAthensCanvas: (as oposed to #drawOn:). I

Re: [Pharo-project] Athens SVG (was: Re: new icon set )

2012-04-26 Thread Fernando Olivero
Thanks! I wasnt aware of that projec. Fernando On Thu, Apr 26, 2012 at 4:36 AM, Sean P. DeNigris s...@clipperadams.com wrote: Fernando olivero-2 wrote Seems it depends on XMLDOMParser? How can i install it?        Gofer new        squeaksource:  'MetacelloRepository';        package

Re: [Pharo-project] Athens SVG (was: Re: new icon set )

2012-04-25 Thread Fernando Olivero
NICE!!! Great work Igor! Fernando On Wed, Apr 25, 2012 at 7:59 AM, Igor Stasenko siguc...@gmail.com wrote: .. and , of course, some screenshots for thirsty people ;)

Re: [Pharo-project] Athens SVG (was: Re: new icon set )

2012-04-25 Thread Fernando Olivero
Seems it depends on XMLDOMParser? How can i install it? On Thu, Apr 26, 2012 at 3:30 AM, Fernando Olivero fernando.oliv...@usi.ch wrote: NICE!!! Great work Igor! Fernando On Wed, Apr 25, 2012 at 7:59 AM, Igor Stasenko siguc...@gmail.com wrote: .. and , of course, some screenshots

Re: [Pharo-project] Pharo and the rest of the ecosystem

2012-04-24 Thread Fernando Olivero
That's a good point. I regularly see that Stef and others harvest enhancements and fixes from Squeak and CUIS. Surely, the other way around is also true. We simply have to live with the fact that many forks exist, and each of them is maintained by a small set of people who put a lot of energy

Re: [Pharo-project] [update 2.0] #20009

2012-04-24 Thread Fernando Olivero
great! We should say our farewells to BlockContext and SourceReference, amongst others... On Tue, Apr 24, 2012 at 6:20 PM, Marcus Denker marcus.den...@inria.fr wrote: 20009 - Issue 5564:     Support bit operations on Boolean / Integers        

Re: [Pharo-project] new icon set

2012-04-23 Thread Fernando Olivero
Great work Esteban, lets hope you get bored often during this year! Even though they are far from perfect, i think its a great improvement from the current icon set. , a more consistent look and feel. Saludos, Fernando pd: We could also try with the oxygen icon set imported with

Re: [Pharo-project] The video about Athens

2012-04-23 Thread Fernando Olivero
Great work Igor! One more step towards nicer looking apps developed in Pharo in the near future What features are missing from a full-blown SVG spec? Gradients? Fernando On Mon, Apr 23, 2012 at 5:23 PM, Guillermo Polito guillermopol...@gmail.com wrote: Nice simba :). On Mon, Apr 23, 2012 at

Re: [Pharo-project] new icon set

2012-04-23 Thread Fernando Olivero
oh! you just solved an issue i've had with the icons in the Gaucho ZUI. Scaling .png icons results in a great lost of quality, so i was creating my own icons by hand using Athensbut i'm not a profesional designer, so... now i can plug a IconFamilySet that renders svg icons via Athens! Does

Re: [Pharo-project] The video about Athens

2012-04-20 Thread Fernando Olivero
Athens is an API, the rendering is actually done by the backends. Currently Ballon and Cairo are supported. So, the answer is that Athens is supported in all platforms using the Ballon backend, (note that ballon does not have all the features of Cairo, so some of the features in the demo wont

  1   2   3   4   5   >