Re: [Pharo-project] Athens work in progress: couple screenshots
Yes, i hit cmd . a couple of times! Regarding the Rome related classes, they are part of what should be cleaned out right? The same with Tweak. I've been planning to add Pango support, should i create a new repo, or put it alongside Athens? Fernando pd:What about moving to squeaksource 3? On Wed, Nov 30, 2011 at 9:44 AM, Igor Stasenko <siguctua@gmail.com> wrote:
Thanks, Fernando. There's one more thing: it takes like 20 seconds to load a library. When i first time run the example, i thought that it is going to crash, because of colorful wheel appeared instead of mouse pointer (usually a sign that VM going to crash ;). But it worked from first start. I don't know however why it takes so much time to initialize the library, when you first time loading it with VM.
On 30 November 2011 09:32, Fernando Olivero <fernando.olivero@usi.ch> wrote:
I've implied using meta-programming,in order to have a uniform protocol in the abstract Canvas. AthensCanvas>>transformDescribedBy: aName   self perform: ( aName , 'Transform' ) asSymbol .
But i see that your approach is simpler, there's no need for a uniform protocol because when you are using a particular AthensCanvas you are fully aware of that!
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/
-- Best regards, Igor Stasenko.
On 30 November 2011 20:27, Fernando Olivero <fernando.olivero@usi.ch> wrote:
Yes, i hit cmd . a couple of times!
Regarding the Rome related classes, they are part of what should be cleaned out right? The same with  Tweak.
Right. I just didn't wanted to throw out code , made by Cyrille without even taking a look at it. Knowing about different frameworks, like Cairo , OpenVG and even Balloon, helped me to better understand how to implement layered architecture for Athens, which can use different backends.
I've been planning to add Pango support, should i create a new repo, or put it alongside Athens?
I know very little about Pango. But if you plan to integrate it with Athens, it is the right place to put it in same repository. Btw, what is so essential about it? Please note, that Athens is planned as a basic vector graphics framework, with minimal text rendering support. Anything more complex should be done on top of it or be complimentary.
Fernando pd:What about moving to squeaksource 3?
this can wait :) I am waiting for smalltalk hub.
On Wed, Nov 30, 2011 at 9:44 AM, Igor Stasenko <siguctua@gmail.com> wrote:
Thanks, Fernando. There's one more thing: it takes like 20 seconds to load a library. When i first time run the example, i thought that it is going to crash, because of colorful wheel appeared instead of mouse pointer (usually a sign that VM going to crash ;). But it worked from first start. I don't know however why it takes so much time to initialize the library, when you first time loading it with VM.
On 30 November 2011 09:32, Fernando Olivero <fernando.olivero@usi.ch> wrote:
I've implied using meta-programming,in order to have a uniform protocol in the abstract Canvas. AthensCanvas>>transformDescribedBy: aName   self perform: ( aName , 'Transform' ) asSymbol .
But i see that your approach is simpler, there's no need for a uniform protocol because when you are using a particular AthensCanvas you are fully aware of that!
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/
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
participants (2)
-
Fernando Olivero -
Igor Stasenko