Re: [Pharo-project] direct object manipulation
Here's an extract of an email i've sent to the list when i successfully used Cairo on Mac. How is Roassal being rendered now? Using FormCanvas? If you have some screenshots would be nice. Saludos, Fernando pd: Regarding the build, after a lonnnngg series of errors, i also managed to build universal binaries of Cairo, using MacPorts (brew just doesn't ease the task of creating 32 bit libraries). sudo port cairo +universal, worked for me, taking at least 30 min to build. ATTENTION: Before entering the port cairo install command, I've had to manually install appleGcc4.2, found @ [1] (file name gcc-42-5666.3-darwin11.pkg. Given that i have Lion, XCode4.2, and if you just allow macports to build appleGcc4.2, it will run a process that consumes resources and finally stalls your computer! I've attached a screen shot that may help somebody else, for setting up the examples. Using NativeBoost Cog VM for Mac, downloadable from NativeBoost site or Jenkins. Great work Javier, and Igor! I'm looking forward to implement a Text editor using Cairo+Pango + "my new morphic". Fernando [1] http://r.research.att.com/tools/ sudo port install cairo +universal file /opt/local/lib/libcairo.2.dylib /opt/local/lib/libcairo.2.dylib: Mach-O universal binary with 2 architectures /opt/local/lib/libcairo.2.dylib (for architecture i386): Â Â Â Â Mach-O dynamically linked shared library i386 /opt/local/lib/libcairo.2.dylib (for architecture x86_64): Â Â Â Mach-O 64-bit dynamically linked shared library x86_64 On Thu, Mar 29, 2012 at 1:58 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 29 March 2012 14:53, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi Igor,
I tried the version 0.1.3 on OSX, using the VM you suggested, in a 1.4 image (the one used by Moose).
AthensCairoSurfaceExamples example1. complains that the function is not available. The error has been raised by NBFFICallout. Is there something obvious I am missing?
did you installed cairo library (32bit)? it is separate step.
sudo port install cairo +universal
Cheers, Alexandre
On 22 Mar 2012, at 14:01, Igor Stasenko wrote:
On 23 March 2012 18:42, Alexandre Bergel <alexandre.bergel@me.com> wrote:
This is really cool. We have planned to make Roassal (code name for Mondrian2) work with Cairo.
yes.. we adding last bells and whistles to Athens, with Fernando. There's some parts missing, but you already can try it out.
Gofer it 'SqS/Athens' load: 'ConfigurationOfAthens'
ConfigurationOfAthens project version: '0.1.3' load
To run with cairo, you will need NB-enabled VM which is here: https://ci.lille.inria.fr/pharo/view/NativeBoost/job/NB-Cog-Mac-Cocoa/
Cheers, Alexandre
Le 22 mars 2012 à 08:55, Fernando Olivero <fernando.olivero@usi.ch> a écrit :
Gaucho is under active development, so sadly i cant release it yet.
The good news is that i'm using Athens[1], with a Cairo backend. so the visual appearance is greatly improved from the previous version, amongst other goodies such as a zoomable user interface.
I'm almost ready for a release...
Up to my knowledge, there's no other work related to Self and Morphic Wrappers for Pharo.
Fernando
[1]http://computeradventures.wordpress.com/2012/03/07/athens-a-first-babysteps/
On Thu, Mar 22, 2012 at 2:06 AM, Francisco Garau <francisco.garau@gmail.com> wrote:
Hi - what packages can be used in latest Pharo to manipulate objects directly?
I am thinking something like MorphicWrappers, NakedObjects or Gaucho.
Cheers, Francisco
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
Here's an extract of an email i've sent to the list when i successfully used Cairo on Mac.
How is Roassal being rendered now? Using FormCanvas? If you have some screenshots would be nice.
I am the first one to say that screenshots are always welcomed. Here is a few of them. Roassal supports a low level language, so this is plain smalltalk (no dsl): It offers some interesting interaction, such as dragging with velocity. It is like using the finger on the iphone: A layer translates the Mondrian DSL into the low level language. There is no scrollbar anymore. Just drag and drop the background. I will release Roassal at the end of April probably. On the Roadmap: - Roassal will support a nice zooming in and out. when you zoom in, other nodes appears. And when you zoom out, those nodes disappear. - be compatible with Cairo - some node highlighting. - produce HTML5 - be platform independent. It will work in other smalltalk as well. Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Very cool. What is the responsiveness when you increase the number of on-screen objects? I found that a fully connected graph with 20 nodes become almost totally unusable using the Connectors package. http://www.youtube.com/watch?v=JwwjOO84Sn8 L On 3/29/12 1:08 PM, Alexandre Bergel wrote:
Here's an extract of an email i've sent to the list when i successfully used Cairo on Mac.
How is Roassal being rendered now? Using FormCanvas? If you have some screenshots would be nice.
I am the first one to say that screenshots are always welcomed. Here is a few of them.
Roassal supports a low level language, so this is plain smalltalk (no dsl):
It offers some interesting interaction, such as dragging with velocity. It is like using the finger on the iphone:
A layer translates the Mondrian DSL into the low level language.
There is no scrollbar anymore. Just drag and drop the background.
I will release Roassal at the end of April probably. On the Roadmap: - Roassal will support a nice zooming in and out. when you zoom in, other nodes appears. And when you zoom out, those nodes disappear. - be compatible with Cairo - some node highlighting. - produce HTML5 - be platform independent. It will work in other smalltalk as well.
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
I haven't done any benchmarking of Roassal. I expect it can handle a few thousands without any problem. Actually, there is not only 20 nodes in the example you gave. There is also 21*20 edges. Edges are usually much slower to render than nodes. In Roassal (as well as in Mondrian), it performs well. However, you cannot bend edges so far... Alexandre On 29 Mar 2012, at 16:04, Lawson English wrote:
Very cool. What is the responsiveness when you increase the number of on-screen objects? I found that a fully connected graph with 20 nodes become almost totally unusable using the Connectors package.
http://www.youtube.com/watch?v=JwwjOO84Sn8
L
On 3/29/12 1:08 PM, Alexandre Bergel wrote:
Here's an extract of an email i've sent to the list when i successfully used Cairo on Mac.
How is Roassal being rendered now? Using FormCanvas? If you have some screenshots would be nice.
I am the first one to say that screenshots are always welcomed. Here is a few of them.
Roassal supports a low level language, so this is plain smalltalk (no dsl):
<Mail Attachment.png>
It offers some interesting interaction, such as dragging with velocity. It is like using the finger on the iphone:
<Mail Attachment.png>
A layer translates the Mondrian DSL into the low level language.
<Mail Attachment.png>
There is no scrollbar anymore. Just drag and drop the background.
<Mail Attachment.png>
I will release Roassal at the end of April probably. On the Roadmap: - Roassal will support a nice zooming in and out. when you zoom in, other nodes appears. And when you zoom out, those nodes disappear. - be compatible with Cairo - some node highlighting. - produce HTML5 - be platform independent. It will work in other smalltalk as well.
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
alex I do not understand what means compatible with cairo :). With athens as soon as a morph use drawOnAsAthens: instead of drawOn: then you are drawing with cairo. Stef On Mar 29, 2012, at 10:08 PM, Alexandre Bergel wrote:
Here's an extract of an email i've sent to the list when i successfully used Cairo on Mac.
How is Roassal being rendered now? Using FormCanvas? If you have some screenshots would be nice.
I am the first one to say that screenshots are always welcomed. Here is a few of them.
Roassal supports a low level language, so this is plain smalltalk (no dsl):
<Screen Shot 2012-03-29 at 15.52.10.png>
It offers some interesting interaction, such as dragging with velocity. It is like using the finger on the iphone:
<Screen Shot 2012-03-29 at 15.53.30.png>
A layer translates the Mondrian DSL into the low level language.
<Screen Shot 2012-03-29 at 15.54.41.png>
There is no scrollbar anymore. Just drag and drop the background.
<Screen Shot 2012-03-29 at 16.01.29.png>
I will release Roassal at the end of April probably. On the Roadmap: - Roassal will support a nice zooming in and out. when you zoom in, other nodes appears. And when you zoom out, those nodes disappear. - be compatible with Cairo - some node highlighting. - produce HTML5 - be platform independent. It will work in other smalltalk as well.
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
participants (4)
-
Alexandre Bergel -
Fernando Olivero -
Lawson English -
Stéphane Ducasse