[Pharo-dev] Smalltalkhub - REST API :) (a.k.a. Sorry, if I broke it...^^)

2013-09-24 Thread Marcel Taeumel
Hi! :)

I am just trying out a tool thus querying the SmalltalkHub instance at
smalltalkhub.com via its REST interface. Unfortunately, it just stopped
responding when I tried to fetch all MC file listings in a query.

It now gives a 502. Sorry for that. :-/

Best,
Marcel

P.S.: I only wanted to retrieve this list once having it cached locally. But
the query did not finish even once...

http://forum.world.st/file/n4709948/smalltalkhub-browser.png 



--
View this message in context: 
http://forum.world.st/Smalltalkhub-REST-API-a-k-a-Sorry-if-I-broke-it-tp4709948.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread laurent laffont
Hi Carla,

this is cool ! Is there a ready Pharo + Mars image built by jenkins server
?

Cheers,

Laurent


On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio
carla.grig...@gmail.comwrote:

 Hi everyone!
 I want to let you know that I've just posted a screencast in my blog about
 the new Mars Package Browser and Test 
 Runnerhttp://marsonpharo.wordpress.com/2013/09/24/marspackagebrowser-and-marstestrunner-fresh-new-examples-by-the-end-of-gsoc-2013/
 .
 These examples are not really intended as being the definitive package
 browser or test runner, but to start experiencing how is it to build a real
 application using Mars and to showcase some widgets. Anyway, it's cool :)
 The Package browser is not so different to the system browser example I
 showed before, but the Test Runner is definitely my favorite example so far.

 I give more details in the 
 screencasthttp://www.youtube.com/watch?v=RlBr42uaqxEand the blog
 posthttp://marsonpharo.wordpress.com/2013/09/24/marspackagebrowser-and-marstestrunner-fresh-new-examples-by-the-end-of-gsoc-2013/.
 Any feedback is appreciated!

 Cheers,
 Carla.

 ___
 Esug-list mailing list
 esug-l...@lists.esug.org
 http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org




Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Carla F. Griggio
Nope! I should learn how to do that :P I'll try to do it this week.


On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont
laurent.laff...@gmail.comwrote:

 Hi Carla,

 this is cool ! Is there a ready Pharo + Mars image built by jenkins server
 ?

 Cheers,

 Laurent


 On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio carla.grig...@gmail.com
  wrote:

  Hi everyone!
 I want to let you know that I've just posted a screencast in my blog
 about the new Mars Package Browser and Test 
 Runnerhttp://marsonpharo.wordpress.com/2013/09/24/marspackagebrowser-and-marstestrunner-fresh-new-examples-by-the-end-of-gsoc-2013/
 .
 These examples are not really intended as being the definitive package
 browser or test runner, but to start experiencing how is it to build a real
 application using Mars and to showcase some widgets. Anyway, it's cool :)
 The Package browser is not so different to the system browser example I
 showed before, but the Test Runner is definitely my favorite example so far.

 I give more details in the 
 screencasthttp://www.youtube.com/watch?v=RlBr42uaqxEand the blog
 posthttp://marsonpharo.wordpress.com/2013/09/24/marspackagebrowser-and-marstestrunner-fresh-new-examples-by-the-end-of-gsoc-2013/.
 Any feedback is appreciated!

 Cheers,
 Carla.

 ___
 Esug-list mailing list
 esug-l...@lists.esug.org
 http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org





Re: [Pharo-dev] SHA1 changed ??

2013-09-24 Thread Esteban Lorenzano
cool :)

this was annoying me too :P

On Sep 23, 2013, at 8:45 PM, Sven Van Caekenberghe s...@stfx.eu wrote:

 https://pharo.fogbugz.com/f/cases/11664/SHA1-hashStream-should-return-a-ByteArray-of-size-20
 
 with slice
 
 On 13 Sep 2013, at 15:38, Sven Van Caekenberghe s...@stfx.eu wrote:
 
 Bump.
 
 Max ?
 
 On 30 Aug 2013, at 13:52, Sven Van Caekenberghe s...@stfx.eu wrote:
 
 On 30 Aug 2013, at 13:39, Marcus Denker marcus.den...@inria.fr wrote:
 
 On Aug 30, 2013, at 1:35 PM, Esteban Lorenzano esteba...@gmail.com wrote:
 
 I'm not aware of such a change... 
 this is probably an error/side effect of something else.  
 
 This is a side effect of the merging of the two nearly identical but 
 duplicated SHA1 implementations in the image…
 
 https://pharo.fogbugz.com/f/cases/5469/SHA1-duplicated-implementations
 
 I want to wait for Max to respond/explain.
 
 But according to http://en.wikipedia.org/wiki/Sha1
 
 SHA-1 produces a 160-bit (20-byte) hash value. A SHA-1 hash value is 
 typically expressed as a hexadecimal number, 40 digits long. 
 
 The previous contract of returning a ByteArray of size 20 is more correct 
 than an Integer, although both are mathematically equivalent. It is also 
 very easy to send #hex to a ByteArray to get the most common human 
 representation of such a hash.
 
 Esteban
 
 On Aug 29, 2013, at 3:05 PM, Sven Van Caekenberghe s...@stfx.eu wrote:
 
 Max,
 
 Why was the contract of SHA1hashStream: changed ?
 
 It used to return a ByteArray like other HashFunction subclasses, now it 
 returns an Integer. I see that you also changed the tests with this 
 assumption.
 
 MD5 hashMessage: 'foo'. 
 
  #[172 189 24 219 76 194 248 92 237 239 101 79 204 196 164 216]
 
 SHA1 hashMessage: 'foo'. 
 
  68123873083688143418383284816464454849230703155
 
 It broke Zinc-WebSockets in 3.0 and now I will have to do an ugly hack 
 to make the code work on multiple Pharo versions.
 
 Can you please explain ?
 
 Sven
 
 
 
 
 
 
 




Re: [Pharo-dev] Smalltalkhub - REST API :) (a.k.a. Sorry, if I broke it...^^)

2013-09-24 Thread Diego Lont
Yes,

We already found out that putting load on smalltalkhub causes a crash. Please 
take a look at deprecation finder at smalltalkhub. If you want a list of all 
projects (and all calls this project does) we can provide this in a fuel file.

Regards,
Stephan and Diego

On Sep 24, 2013, at 8:53 AM, Marcel Taeumel wrote:

 Hi! :)
 
 I am just trying out a tool thus querying the SmalltalkHub instance at
 smalltalkhub.com via its REST interface. Unfortunately, it just stopped
 responding when I tried to fetch all MC file listings in a query.
 
 It now gives a 502. Sorry for that. :-/
 
 Best,
 Marcel
 
 P.S.: I only wanted to retrieve this list once having it cached locally. But
 the query did not finish even once...
 
 http://forum.world.st/file/n4709948/smalltalkhub-browser.png 
 
 
 
 --
 View this message in context: 
 http://forum.world.st/Smalltalkhub-REST-API-a-k-a-Sorry-if-I-broke-it-tp4709948.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
 




Re: [Pharo-dev] Smalltalkhub - REST API :) (a.k.a. Sorry, if I broke it...^^)

2013-09-24 Thread kilon
So My Dear Lords whats the punishment for breaking smalltalkhub ? I propose
100 bug fixes as punishment of this man reckless behavior :D

I was about to open a thread about sthub 502. Definetly a fun way to kill
smalltalk hub.  


DiegoLont wrote
 Yes,
 
 We already found out that putting load on smalltalkhub causes a crash.
 Please take a look at deprecation finder at smalltalkhub. If you want a
 list of all projects (and all calls this project does) we can provide this
 in a fuel file.
 
 Regards,
 Stephan and Diego
 
 On Sep 24, 2013, at 8:53 AM, Marcel Taeumel wrote:
 
 Hi! :)
 
 I am just trying out a tool thus querying the SmalltalkHub instance at
 smalltalkhub.com via its REST interface. Unfortunately, it just stopped
 responding when I tried to fetch all MC file listings in a query.
 
 It now gives a 502. Sorry for that. :-/
 
 Best,
 Marcel
 
 P.S.: I only wanted to retrieve this list once having it cached locally.
 But
 the query did not finish even once...
 
 lt;http://forum.world.st/file/n4709948/smalltalkhub-browser.pnggt; 
 
 
 
 --
 View this message in context:
 http://forum.world.st/Smalltalkhub-REST-API-a-k-a-Sorry-if-I-broke-it-tp4709948.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.






--
View this message in context: 
http://forum.world.st/Smalltalkhub-REST-API-a-k-a-Sorry-if-I-broke-it-tp4709948p4709967.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] Smalltalkhub - REST API :) (a.k.a. Sorry, if I broke it...^^)

2013-09-24 Thread Marcel Taeumel
Thank you,

my goal is to find the big ones to take a closer look at. Thus, next steps
would be to fetch the latest MCZ of all projects and then analyze their
contents. :)

Btw: Maybe it should not be possible to fetch a user's email address via
/hub/users/username considering privacy issues.

Best,
Marcel



--
View this message in context: 
http://forum.world.st/Smalltalkhub-REST-API-a-k-a-Sorry-if-I-broke-it-tp4709948p4709968.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



[Pharo-dev] Asking for commit rights to pharo 3 inbox

2013-09-24 Thread kilon
Since it seems I will be submitting more slices, any chance of granting me
committing right so I can easier move my slices from computer to computer
and you avoid downloading manually my slices :)  



--
View this message in context: 
http://forum.world.st/Asking-for-commit-rights-to-pharo-3-inbox-tp4709969.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread kilon
You did an awesome job, I had not the chance to try your code. I assume it on
smalltalkhub but it is down , but will try your code ASAP on my UBUNTU. But
from the videos its clear you have done very good job, thank you for
contributing to pharo . google code link to a non existent website. Where
exactly one can get the code ? 



--
View this message in context: 
http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709970.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] Smalltalkhub - REST API :) (a.k.a. Sorry, if I broke it...^^)

2013-09-24 Thread Stephan Eggermont
Hi Marcel,

my goal is to find the big ones to take a closer look at. Thus, next steps 
would be to fetch the latest MCZ of all projects and then analyze their 
contents. :) 

That is in DeprecationFinder. (load in a Moose 4.8 after loading NeoJSon). 
Current analysis is just getting the invocations from 
a MooseMonticelloImporter for the latest packageversion.  It needs to be 
extended to also walk the team projects.
Further steps would be to make it incremental and have a fuel file as artefact
in a Jenkins build. 

Stephan
 





Re: [Pharo-dev] Smalltalkhub - REST API :) (a.k.a. Sorry, if I broke it...^^)

2013-09-24 Thread Stephan Eggermont
And please don't all at the same time download and run the DeprecationFinder 
code,
until Nicolas tells you he wants to do a load test!

Stephan 


Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread kilon
ok found it in smalltalkhub and load it to the image, but trying
CofigurationOfMars loadBleedingEdge gives me an error error: name not found
unix . How I load it ?

I am on Ubuntu 13.04 amd64. 



--
View this message in context: 
http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709977.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



[Pharo-dev] [regression reporter]regression occurred

2013-09-24 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation/label=win/526/

1 regressions found.
  Zinc.Zodiac.ZnHTTPSTests.testGetPharoVersion



Re: [Pharo-dev] slow RPackageOrganizer packageNamed:

2013-09-24 Thread Esteban Lorenzano
I suppose is because of the extension checks... so yes, we can restrain his use 
:) 


On Sep 24, 2013, at 1:20 AM, Camillo Bruni camillobr...@gmail.com wrote:

 @Esteban what is the reason we have to do a case-ignored check for looking up 
 a package in #packageNamed:?
 seems unnecessary slow to me :/, maybe we can add a #packageNamedIgoreCase: ?




Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Carla F. Griggio
Hi!
For Ubuntu read this blog entry where I explain the setup I had to do:
http://marsonpharo.wordpress.com/2013/06/19/setting-up-the-environment/

It's a little outdated because it was one of the first things I did, but if
something doesn't work just let me know or comment on the blog post.

Thanks for the comments, everybody.


On Tue, Sep 24, 2013 at 11:06 AM, kilon theki...@yahoo.co.uk wrote:

 ok found it in smalltalkhub and load it to the image, but trying
 CofigurationOfMars loadBleedingEdge gives me an error error: name not
 found
 unix . How I load it ?

 I am on Ubuntu 13.04 amd64.



 --
 View this message in context:
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709977.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.




Re: [Pharo-dev] [Pharo-users] Pharo Wiki cleanup

2013-09-24 Thread Stéphane Ducasse
I will have a look.

Stef

On Sep 24, 2013, at 6:00 AM, Camillo Bruni camillobr...@gmail.com wrote:

 Welcome Page:https://pharo.fogbugz.com/default.asp?W41
 Documentation:   https://pharo.fogbugz.com/default.asp?W69
 Changelog:   https://pharo.fogbugz.com/default.asp?W2
 Wishlist:https://pharo.fogbugz.com/default.asp?W50
 Responsibilities:https://pharo.fogbugz.com/default.asp?W66



Re: [Pharo-dev] Asking for commit rights to pharo 3 inbox

2013-09-24 Thread Esteban Lorenzano
done

On Sep 24, 2013, at 10:26 AM, kilon theki...@yahoo.co.uk wrote:

 Since it seems I will be submitting more slices, any chance of granting me
 committing right so I can easier move my slices from computer to computer
 and you avoid downloading manually my slices :)  
 
 
 
 --
 View this message in context: 
 http://forum.world.st/Asking-for-commit-rights-to-pharo-3-inbox-tp4709969.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
 




Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Esteban Lorenzano
oops... I updated the page... but most probably I should remove it. 
when ready to use filetree, I will move Mars to github or bitbucket :)

Esteban

On Sep 24, 2013, at 10:31 AM, kilon theki...@yahoo.co.uk wrote:

 You did an awesome job, I had not the chance to try your code. I assume it on
 smalltalkhub but it is down , but will try your code ASAP on my UBUNTU. But
 from the videos its clear you have done very good job, thank you for
 contributing to pharo . google code link to a non existent website. Where
 exactly one can get the code ? 
 
 
 
 --
 View this message in context: 
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709970.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
 




Re: [Pharo-dev] Asking for commit rights to pharo 3 inbox

2013-09-24 Thread kilon
thank you Esteban :) 



--
View this message in context: 
http://forum.world.st/Asking-for-commit-rights-to-pharo-3-inbox-tp4709969p4710002.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread kilon
yeah it fails with error after executing :

Gofer it
  url: 'http://www.smalltalkhub.com/mc/estebanlm/Mars/main';
  package: 'ConfigurationOfMars';
  load.

ConfigurationOfMars loadBleedingEdge: 'All'.

Error : nil cannot be found in Smalltalk dictionary 

here is the stack trace

http://pastebin.com/yyHSVntN http://pastebin.com/yyHSVntN  


Carla F. Griggio wrote
 Hi!
 For Ubuntu read this blog entry where I explain the setup I had to do:
 http://marsonpharo.wordpress.com/2013/06/19/setting-up-the-environment/
 
 It's a little outdated because it was one of the first things I did, but
 if
 something doesn't work just let me know or comment on the blog post.
 
 Thanks for the comments, everybody.
 
 
 On Tue, Sep 24, 2013 at 11:06 AM, kilon lt;

 thekilon@.co

 gt; wrote:
 
 ok found it in smalltalkhub and load it to the image, but trying
 CofigurationOfMars loadBleedingEdge gives me an error error: name not
 found
 unix . How I load it ?

 I am on Ubuntu 13.04 amd64.



 --
 View this message in context:
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709977.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.







--
View this message in context: 
http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710003.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Pharo-users] Pharo Wiki cleanup

2013-09-24 Thread kilon
I dont know if its my stupidity or my lack of pharo understanding but when I
go to wishlist and check he first item,click the bug link and I ignore the
fact that all comments are badly formated from google code page so I go to
the original issue page, I read and re read it and still have no clue what
on earth they are talking about :D 

Its something to do with nested comments and some sort of convenience, after
that I lost it ... Overall looks ok, I would like abit more explanation per
subject cause I don't think I can make sense of exactly what is wanted. 

Keep on rocking ;)  



--
View this message in context: 
http://forum.world.st/Pharo-Wiki-cleanup-tp4709942p4710004.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Santiago Bragagnolo
woaaa, i love it. Can the potion have the colour of the tests? (all green=
green potion)) :3 does the potion get filled meanwhile tests are running?
(i know all what i ask for is not needed :P )


2013/9/24 Esteban Lorenzano esteba...@gmail.com

 oops... I updated the page... but most probably I should remove it.
 when ready to use filetree, I will move Mars to github or bitbucket :)

 Esteban

 On Sep 24, 2013, at 10:31 AM, kilon theki...@yahoo.co.uk wrote:

  You did an awesome job, I had not the chance to try your code. I assume
 it on
  smalltalkhub but it is down , but will try your code ASAP on my UBUNTU.
 But
  from the videos its clear you have done very good job, thank you for
  contributing to pharo . google code link to a non existent website. Where
  exactly one can get the code ?
 
 
 
  --
  View this message in context:
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709970.html
  Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.
 





Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Santiago Bragagnolo
(of course i didnt saw the video because my beloved proxy :) )


2013/9/24 Santiago Bragagnolo santiagobragagn...@gmail.com

 woaaa, i love it. Can the potion have the colour of the tests? (all green=
 green potion)) :3 does the potion get filled meanwhile tests are running?
 (i know all what i ask for is not needed :P )


 2013/9/24 Esteban Lorenzano esteba...@gmail.com

 oops... I updated the page... but most probably I should remove it.
 when ready to use filetree, I will move Mars to github or bitbucket :)

 Esteban

 On Sep 24, 2013, at 10:31 AM, kilon theki...@yahoo.co.uk wrote:

  You did an awesome job, I had not the chance to try your code. I assume
 it on
  smalltalkhub but it is down , but will try your code ASAP on my UBUNTU.
 But
  from the videos its clear you have done very good job, thank you for
  contributing to pharo . google code link to a non existent website.
 Where
  exactly one can get the code ?
 
 
 
  --
  View this message in context:
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709970.html
  Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.
 






Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread Damien Cassou
On Mon, Sep 23, 2013 at 6:33 PM, blake dsblakewat...@gmail.com wrote:
 Very nice. Works on Mint, too. Could use more feedback, maybe: It's not
 always clear when it's doing something when you create an image.


I know :-(. If you have an idea, please tell me. Also, I would
appreciate some help.

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

Success is the ability to go from one failure to another without
losing enthusiasm.
Winston Churchill



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread laurent laffont
Same error here on ArchLinux.

Laurent


On Tue, Sep 24, 2013 at 12:06 PM, kilon theki...@yahoo.co.uk wrote:

 yeah it fails with error after executing :

 Gofer it
   url: 'http://www.smalltalkhub.com/mc/estebanlm/Mars/main';
   package: 'ConfigurationOfMars';
   load.

 ConfigurationOfMars loadBleedingEdge: 'All'.

 Error : nil cannot be found in Smalltalk dictionary

 here is the stack trace

 http://pastebin.com/yyHSVntN http://pastebin.com/yyHSVntN


 Carla F. Griggio wrote
  Hi!
  For Ubuntu read this blog entry where I explain the setup I had to do:
  http://marsonpharo.wordpress.com/2013/06/19/setting-up-the-environment/
 
  It's a little outdated because it was one of the first things I did, but
  if
  something doesn't work just let me know or comment on the blog post.
 
  Thanks for the comments, everybody.
 
 
  On Tue, Sep 24, 2013 at 11:06 AM, kilon 

  thekilon@.co

   wrote:
 
  ok found it in smalltalkhub and load it to the image, but trying
  CofigurationOfMars loadBleedingEdge gives me an error error: name not
  found
  unix . How I load it ?
 
  I am on Ubuntu 13.04 amd64.
 
 
 
  --
  View this message in context:
 
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709977.html
  Sent from the Pharo Smalltalk Developers mailing list archive at
  Nabble.com.
 
 





 --
 View this message in context:
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710003.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.




Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Carla F. Griggio
Santiago: yes! Germán said the same thing :P It would be awesome. Maybe
filling the potion is more difficult, but at least I can change the color :P

Kilon and laurent: I will try it in a new image and get back to you, thanks
for trying it (or trying to try it :P).


On Tue, Sep 24, 2013 at 12:30 PM, laurent laffont laurent.laff...@gmail.com
 wrote:

 Same error here on ArchLinux.

 Laurent



 On Tue, Sep 24, 2013 at 12:06 PM, kilon theki...@yahoo.co.uk wrote:

 yeah it fails with error after executing :

 Gofer it
   url: 'http://www.smalltalkhub.com/mc/estebanlm/Mars/main';
   package: 'ConfigurationOfMars';
   load.

 ConfigurationOfMars loadBleedingEdge: 'All'.

 Error : nil cannot be found in Smalltalk dictionary

 here is the stack trace

 http://pastebin.com/yyHSVntN http://pastebin.com/yyHSVntN


 Carla F. Griggio wrote
  Hi!
  For Ubuntu read this blog entry where I explain the setup I had to do:
  http://marsonpharo.wordpress.com/2013/06/19/setting-up-the-environment/
 
  It's a little outdated because it was one of the first things I did, but
  if
  something doesn't work just let me know or comment on the blog post.
 
  Thanks for the comments, everybody.
 
 
  On Tue, Sep 24, 2013 at 11:06 AM, kilon 

  thekilon@.co

   wrote:
 
  ok found it in smalltalkhub and load it to the image, but trying
  CofigurationOfMars loadBleedingEdge gives me an error error: name not
  found
  unix . How I load it ?
 
  I am on Ubuntu 13.04 amd64.
 
 
 
  --
  View this message in context:
 
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709977.html
  Sent from the Pharo Smalltalk Developers mailing list archive at
  Nabble.com.
 
 





 --
 View this message in context:
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710003.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.





Re: [Pharo-dev] [Moose-dev] Code functionality assessment

2013-09-24 Thread Peter Hugosson-Miller
Thanks, Natalia, it was a very enjoyable read, too!


On Mon, Sep 23, 2013 at 10:12 PM, Stéphane Ducasse 
stephane.duca...@inria.fr wrote:

 +1 !

 Stef

 On Sep 23, 2013, at 7:36 PM, Tudor Girba tu...@tudorgirba.com wrote:

 Very nice work, Natalia!

 Doru


 On Mon, Sep 23, 2013 at 6:12 PM, Natalia Tymchuk 
 natalia.tymc...@unikernel.net wrote:

  Hello,
 I wrote another blog post concerning my project on Google  Summer of
 Code, and there's how I assessed the results using Graph-ET.

 http://nataliatymchuk.blogspot.com/2013/09/code-functionality-assessment.html

 Best regard,
 Natalia


 ___
 Moose-dev mailing list
 moose-...@iam.unibe.ch
 https://www.iam.unibe.ch/mailman/listinfo/moose-dev




 --
 www.tudorgirba.com

 Every thing has its own flow





-- 
Cheers,


Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread kilon
is adding a progress bar , hard to do ?



--
View this message in context: 
http://forum.world.st/ANN-Launching-Pharo-on-Ubuntu-tp4709757p4710015.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Carla F. Griggio
I'm checking that error and it's weird. First, I could load the project
with no problems in the last Pharo 2.0 image I downloaded from
pharo-project.org.

But I checked your stacktrace and I see that the error comes from here:

ExternalObject classinitialize
ExternalObject initialize
 Smalltalk addToStartUpList: self after: ShortRunArray.

That is a class from the FFI-Kernel package, and ShortRunArray (the class
that is not found in your stacktrace, I assume) is in the package
Balloon-Collections.

Maybe there's a problem with FFI dependencies?


On Tue, Sep 24, 2013 at 12:32 PM, Carla F. Griggio
carla.grig...@gmail.comwrote:

 Santiago: yes! Germán said the same thing :P It would be awesome. Maybe
 filling the potion is more difficult, but at least I can change the color :P

 Kilon and laurent: I will try it in a new image and get back to you,
 thanks for trying it (or trying to try it :P).


 On Tue, Sep 24, 2013 at 12:30 PM, laurent laffont 
 laurent.laff...@gmail.com wrote:

 Same error here on ArchLinux.

 Laurent



 On Tue, Sep 24, 2013 at 12:06 PM, kilon theki...@yahoo.co.uk wrote:

 yeah it fails with error after executing :

 Gofer it
   url: 'http://www.smalltalkhub.com/mc/estebanlm/Mars/main';
   package: 'ConfigurationOfMars';
   load.

 ConfigurationOfMars loadBleedingEdge: 'All'.

 Error : nil cannot be found in Smalltalk dictionary

 here is the stack trace

 http://pastebin.com/yyHSVntN http://pastebin.com/yyHSVntN


 Carla F. Griggio wrote
  Hi!
  For Ubuntu read this blog entry where I explain the setup I had to do:
 
 http://marsonpharo.wordpress.com/2013/06/19/setting-up-the-environment/
 
  It's a little outdated because it was one of the first things I did,
 but
  if
  something doesn't work just let me know or comment on the blog post.
 
  Thanks for the comments, everybody.
 
 
  On Tue, Sep 24, 2013 at 11:06 AM, kilon 

  thekilon@.co

   wrote:
 
  ok found it in smalltalkhub and load it to the image, but trying
  CofigurationOfMars loadBleedingEdge gives me an error error: name not
  found
  unix . How I load it ?
 
  I am on Ubuntu 13.04 amd64.
 
 
 
  --
  View this message in context:
 
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709977.html
  Sent from the Pharo Smalltalk Developers mailing list archive at
  Nabble.com.
 
 





 --
 View this message in context:
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710003.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.






Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread Damien Cassou
On Tue, Sep 24, 2013 at 12:46 PM, kilon theki...@yahoo.co.uk wrote:
 is adding a progress bar , hard to do ?


don't know. Do you want to try?

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

Success is the ability to go from one failure to another without
losing enthusiasm.
Winston Churchill



Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread kilon
yeah I will give it a try, don't know how long will take me but I like what
you have done with Pharo Launcher. I will create an enhancement issue when I
have it working as I want and report back. Esteban has granted me commit
right to pharo 3 inbox too so I will commit there. Or do you want me to
contribute directly to smalltalk hub repo ?

I am new with pharo and morphic so please bare with me :) 



--
View this message in context: 
http://forum.world.st/ANN-Launching-Pharo-on-Ubuntu-tp4709757p4710020.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



[Pharo-dev] Fwd: [Esug-list] Smalltalk PhD offer

2013-09-24 Thread stephane ducasse
StefBegin forwarded message:From: Loïc Lagadec loic.laga...@ensta-bretagne.frSubject: [Esug-list] Smalltalk PhD offerDate: September 23, 2013 1:42:28 PM GMT+02:00To: ESUG Mailing list esug-l...@lists.esug.org
  


  
  

We have an open PhD position for which we are looking for
candidates with strong smalltalk skills. This PhD opens in the
scope of the ERATO european project,

This project aims at developping a new space-oriented
system-on-chip, with
reconfigurable capabilities.
The project gathers many industrial partners (ASTRIUM, THALES, ...)
and three academic partners.
Our institute is in charge of developping the programming
environment. We benefit from a large legacy, written in visualworks.

The thesis will focus on industrial research perspectives (agile
tools development, configuration compaction, target modeling, code
generation, ...).

One important contribution will be to expose a manipulation API to
application Designers while protecting the hardware intellectual
property. Also some compression schemes, used for video coding, will
be stressed against practical experimentation when downsizing the
bitstream (binary representation of the application).


The PhD will be located in Brest
(http://www.brest-metropole-tourisme.fr/en), in the ENSTA
engineering institute (http://www.ensta-bretagne.eu).
Duration: 36 months
Starts: January 2014
Contact info: Loic Lagadec (+33 298 348 908)
  








-- 
  
  

___Esug-list mailing listesug-l...@lists.esug.orghttp://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org

Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread Damien Cassou
On Tue, Sep 24, 2013 at 1:21 PM, kilon theki...@yahoo.co.uk wrote:
 yeah I will give it a try, don't know how long will take me but I like what
 you have done with Pharo Launcher. I will create an enhancement issue when I
 have it working as I want and report back. Esteban has granted me commit
 right to pharo 3 inbox too so I will commit there. Or do you want me to
 contribute directly to smalltalk hub repo ?

 I am new with pharo and morphic so please bare with me :)


the Pharo3Inbox is only for code integrated in Pharo itself. The
launcher won't be integrated in Pharo. I added you to the project
http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

Success is the ability to go from one failure to another without
losing enthusiasm.
Winston Churchill



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread laurent laffont
I've tried on Pharo 3.0.

On Pharo2.0 one click it loads correctly.

Laurent


On Tue, Sep 24, 2013 at 1:06 PM, Carla F. Griggio
carla.grig...@gmail.comwrote:

 I'm checking that error and it's weird. First, I could load the project
 with no problems in the last Pharo 2.0 image I downloaded from
 pharo-project.org.

 But I checked your stacktrace and I see that the error comes from here:

 ExternalObject classinitialize
 ExternalObject initialize
  Smalltalk addToStartUpList: self after: ShortRunArray.

 That is a class from the FFI-Kernel package, and ShortRunArray (the class
 that is not found in your stacktrace, I assume) is in the package
 Balloon-Collections.

 Maybe there's a problem with FFI dependencies?


 On Tue, Sep 24, 2013 at 12:32 PM, Carla F. Griggio 
 carla.grig...@gmail.com wrote:

 Santiago: yes! Germán said the same thing :P It would be awesome. Maybe
 filling the potion is more difficult, but at least I can change the color :P

 Kilon and laurent: I will try it in a new image and get back to you,
 thanks for trying it (or trying to try it :P).


 On Tue, Sep 24, 2013 at 12:30 PM, laurent laffont 
 laurent.laff...@gmail.com wrote:

 Same error here on ArchLinux.

 Laurent



 On Tue, Sep 24, 2013 at 12:06 PM, kilon theki...@yahoo.co.uk wrote:

 yeah it fails with error after executing :

 Gofer it
   url: 'http://www.smalltalkhub.com/mc/estebanlm/Mars/main';
   package: 'ConfigurationOfMars';
   load.

 ConfigurationOfMars loadBleedingEdge: 'All'.

 Error : nil cannot be found in Smalltalk dictionary

 here is the stack trace

 http://pastebin.com/yyHSVntN http://pastebin.com/yyHSVntN


 Carla F. Griggio wrote
  Hi!
  For Ubuntu read this blog entry where I explain the setup I had to do:
 
 http://marsonpharo.wordpress.com/2013/06/19/setting-up-the-environment/
 
  It's a little outdated because it was one of the first things I did,
 but
  if
  something doesn't work just let me know or comment on the blog post.
 
  Thanks for the comments, everybody.
 
 
  On Tue, Sep 24, 2013 at 11:06 AM, kilon 

  thekilon@.co

   wrote:
 
  ok found it in smalltalkhub and load it to the image, but trying
  CofigurationOfMars loadBleedingEdge gives me an error error: name
 not
  found
  unix . How I load it ?
 
  I am on Ubuntu 13.04 amd64.
 
 
 
  --
  View this message in context:
 
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709977.html
  Sent from the Pharo Smalltalk Developers mailing list archive at
  Nabble.com.
 
 





 --
 View this message in context:
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710003.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.







Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Esteban Lorenzano
ah yes... in 3.0 it will not work at the moment :)

On Sep 24, 2013, at 2:25 PM, laurent laffont laurent.laff...@gmail.com wrote:

 I've tried on Pharo 3.0.
 
 On Pharo2.0 one click it loads correctly.
 
 Laurent
 
 
 On Tue, Sep 24, 2013 at 1:06 PM, Carla F. Griggio carla.grig...@gmail.com 
 wrote:
 I'm checking that error and it's weird. First, I could load the project with 
 no problems in the last Pharo 2.0 image I downloaded from pharo-project.org.
 
 But I checked your stacktrace and I see that the error comes from here:
 
 ExternalObject classinitialize
   ExternalObject initialize
   Smalltalk addToStartUpList: self after: ShortRunArray.
 
 That is a class from the FFI-Kernel package, and ShortRunArray (the class 
 that is not found in your stacktrace, I assume) is in the package 
 Balloon-Collections.
 
 Maybe there's a problem with FFI dependencies?
 
 
 On Tue, Sep 24, 2013 at 12:32 PM, Carla F. Griggio carla.grig...@gmail.com 
 wrote:
 Santiago: yes! Germán said the same thing :P It would be awesome. Maybe 
 filling the potion is more difficult, but at least I can change the color :P
 
 Kilon and laurent: I will try it in a new image and get back to you, thanks 
 for trying it (or trying to try it :P).
 
 
 On Tue, Sep 24, 2013 at 12:30 PM, laurent laffont laurent.laff...@gmail.com 
 wrote:
 Same error here on ArchLinux.
 
 Laurent
 
 
 
 On Tue, Sep 24, 2013 at 12:06 PM, kilon theki...@yahoo.co.uk wrote:
 yeah it fails with error after executing :
 
 Gofer it
   url: 'http://www.smalltalkhub.com/mc/estebanlm/Mars/main';
   package: 'ConfigurationOfMars';
   load.
 
 ConfigurationOfMars loadBleedingEdge: 'All'.
 
 Error : nil cannot be found in Smalltalk dictionary
 
 here is the stack trace
 
 http://pastebin.com/yyHSVntN http://pastebin.com/yyHSVntN
 
 
 Carla F. Griggio wrote
  Hi!
  For Ubuntu read this blog entry where I explain the setup I had to do:
  http://marsonpharo.wordpress.com/2013/06/19/setting-up-the-environment/
 
  It's a little outdated because it was one of the first things I did, but
  if
  something doesn't work just let me know or comment on the blog post.
 
  Thanks for the comments, everybody.
 
 
  On Tue, Sep 24, 2013 at 11:06 AM, kilon 
 
  thekilon@.co
 
   wrote:
 
  ok found it in smalltalkhub and load it to the image, but trying
  CofigurationOfMars loadBleedingEdge gives me an error error: name not
  found
  unix . How I load it ?
 
  I am on Ubuntu 13.04 amd64.
 
 
 
  --
  View this message in context:
  http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709977.html
  Sent from the Pharo Smalltalk Developers mailing list archive at
  Nabble.com.
 
 
 
 
 
 
 
 --
 View this message in context: 
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710003.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
 
 
 
 
 



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Alexandre Bergel
I am wondering. How far are we from dropping Morphic for good? 
By the way, is this the goal?

Alexandre


On Sep 24, 2013, at 4:09 AM, Carla F. Griggio carla.grig...@gmail.com wrote:

 Nope! I should learn how to do that :P I'll try to do it this week.
 
 
 On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont laurent.laff...@gmail.com 
 wrote:
 Hi Carla,
 
 this is cool ! Is there a ready Pharo + Mars image built by jenkins server ? 
 
 Cheers,
 
 Laurent
 
 
 On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio carla.grig...@gmail.com 
 wrote:
 Hi everyone!
 I want to let you know that I've just posted a screencast in my blog about 
 the new Mars Package Browser and Test Runner. 
 These examples are not really intended as being the definitive package 
 browser or test runner, but to start experiencing how is it to build a real 
 application using Mars and to showcase some widgets. Anyway, it's cool :) The 
 Package browser is not so different to the system browser example I showed 
 before, but the Test Runner is definitely my favorite example so far.
 
 I give more details in the screencast and the blog post. Any feedback is 
 appreciated!
 
 Cheers,
 Carla.
 
 ___
 Esug-list mailing list
 esug-l...@lists.esug.org
 http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
 
 
 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Stéphane Ducasse

 I am wondering. How far are we from dropping Morphic for good? 

Far.

 By the way, is this the goal?

No I do not think so because they are plenty of experimentations that a native 
binding
will not support. 

Stef

 Nope! I should learn how to do that :P I'll try to do it this week.
 
 
 On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont laurent.laff...@gmail.com 
 wrote:
 Hi Carla,
 
 this is cool ! Is there a ready Pharo + Mars image built by jenkins server ? 
 
 Cheers,
 
 Laurent
 
 
 On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio carla.grig...@gmail.com 
 wrote:
 Hi everyone!
 I want to let you know that I've just posted a screencast in my blog about 
 the new Mars Package Browser and Test Runner. 
 These examples are not really intended as being the definitive package 
 browser or test runner, but to start experiencing how is it to build a real 
 application using Mars and to showcase some widgets. Anyway, it's cool :) 
 The Package browser is not so different to the system browser example I 
 showed before, but the Test Runner is definitely my favorite example so far.
 
 I give more details in the screencast and the blog post. Any feedback is 
 appreciated!
 
 Cheers,
 Carla.
 
 ___
 Esug-list mailing list
 esug-l...@lists.esug.org
 http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
 
 
 
 
 -- 
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
 
 
 
 




Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Goubier Thierry



Le 24/09/2013 15:05, Stéphane Ducasse a écrit :



I am wondering. How far are we from dropping Morphic for good?


Far.


By the way, is this the goal?


No I do not think so because they are plenty of experimentations that a native 
binding
will not support.


But could a Spec subset (or Spec itself?) target Mars?

Thierry


Stef


Nope! I should learn how to do that :P I'll try to do it this week.


On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont laurent.laff...@gmail.com 
wrote:
Hi Carla,

this is cool ! Is there a ready Pharo + Mars image built by jenkins server ?

Cheers,

Laurent


On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio carla.grig...@gmail.com 
wrote:
Hi everyone!
I want to let you know that I've just posted a screencast in my blog about the 
new Mars Package Browser and Test Runner.
These examples are not really intended as being the definitive package browser 
or test runner, but to start experiencing how is it to build a real application 
using Mars and to showcase some widgets. Anyway, it's cool :) The Package 
browser is not so different to the system browser example I showed before, but 
the Test Runner is definitely my favorite example so far.

I give more details in the screencast and the blog post. Any feedback is 
appreciated!

Cheers,
Carla.

___
Esug-list mailing list
esug-l...@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org





--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.











--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Esteban Lorenzano

On Sep 24, 2013, at 3:05 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote:

 
 I am wondering. How far are we from dropping Morphic for good? 
 
 Far.

yes, we still need a lot of work. 
but I'm working on made a release so others can collaborate :)

 
 By the way, is this the goal?
 
 No I do not think so because they are plenty of experimentations that a 
 native binding
 will not support. 

the objective is to have an alternative. 
now, we are running morphs inside mars windows (with athens, etc.)... so there 
would not be a problem there :)

 
 Stef
 
 Nope! I should learn how to do that :P I'll try to do it this week.
 
 
 On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont 
 laurent.laff...@gmail.com wrote:
 Hi Carla,
 
 this is cool ! Is there a ready Pharo + Mars image built by jenkins server 
 ? 
 
 Cheers,
 
 Laurent
 
 
 On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio carla.grig...@gmail.com 
 wrote:
 Hi everyone!
 I want to let you know that I've just posted a screencast in my blog about 
 the new Mars Package Browser and Test Runner. 
 These examples are not really intended as being the definitive package 
 browser or test runner, but to start experiencing how is it to build a real 
 application using Mars and to showcase some widgets. Anyway, it's cool :) 
 The Package browser is not so different to the system browser example I 
 showed before, but the Test Runner is definitely my favorite example so far.
 
 I give more details in the screencast and the blog post. Any feedback is 
 appreciated!
 
 Cheers,
 Carla.
 
 ___
 Esug-list mailing list
 esug-l...@lists.esug.org
 http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
 
 
 
 
 -- 
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
 
 
 
 
 
 




Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Goubier Thierry



Le 24/09/2013 15:09, Esteban Lorenzano a écrit :


On Sep 24, 2013, at 3:05 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote:




I am wondering. How far are we from dropping Morphic for good?


Far.


yes, we still need a lot of work.
but I'm working on made a release so others can collaborate :)




By the way, is this the goal?


No I do not think so because they are plenty of experimentations that a native 
binding
will not support.


the objective is to have an alternative.
now, we are running morphs inside mars windows (with athens, etc.)... so there 
would not be a problem there :)


Oh, this is how you are doing it.

I tried Mars but my 64bits ubuntu makes installing the required libs 
(gtk3-devel) a bit harder than expected.


Thierry



Stef


Nope! I should learn how to do that :P I'll try to do it this week.


On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont laurent.laff...@gmail.com 
wrote:
Hi Carla,

this is cool ! Is there a ready Pharo + Mars image built by jenkins server ?

Cheers,

Laurent


On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio carla.grig...@gmail.com 
wrote:
Hi everyone!
I want to let you know that I've just posted a screencast in my blog about the 
new Mars Package Browser and Test Runner.
These examples are not really intended as being the definitive package browser 
or test runner, but to start experiencing how is it to build a real application 
using Mars and to showcase some widgets. Anyway, it's cool :) The Package 
browser is not so different to the system browser example I showed before, but 
the Test Runner is definitely my favorite example so far.

I give more details in the screencast and the blog post. Any feedback is 
appreciated!

Cheers,
Carla.

___
Esug-list mailing list
esug-l...@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org





--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.














--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Esteban Lorenzano
you need gtk3-devel?
weird... you should be ok without. We need to check that.

Esteban

On Sep 24, 2013, at 3:22 PM, Goubier Thierry thierry.goub...@cea.fr wrote:

 
 
 Le 24/09/2013 15:09, Esteban Lorenzano a écrit :
 
 On Sep 24, 2013, at 3:05 PM, Stéphane Ducasse stephane.duca...@inria.fr 
 wrote:
 
 
 I am wondering. How far are we from dropping Morphic for good?
 
 Far.
 
 yes, we still need a lot of work.
 but I'm working on made a release so others can collaborate :)
 
 
 By the way, is this the goal?
 
 No I do not think so because they are plenty of experimentations that a 
 native binding
 will not support.
 
 the objective is to have an alternative.
 now, we are running morphs inside mars windows (with athens, etc.)... so 
 there would not be a problem there :)
 
 Oh, this is how you are doing it.
 
 I tried Mars but my 64bits ubuntu makes installing the required libs 
 (gtk3-devel) a bit harder than expected.
 
 Thierry
 
 
 Stef
 
 Nope! I should learn how to do that :P I'll try to do it this week.
 
 
 On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont 
 laurent.laff...@gmail.com wrote:
 Hi Carla,
 
 this is cool ! Is there a ready Pharo + Mars image built by jenkins 
 server ?
 
 Cheers,
 
 Laurent
 
 
 On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio 
 carla.grig...@gmail.com wrote:
 Hi everyone!
 I want to let you know that I've just posted a screencast in my blog 
 about the new Mars Package Browser and Test Runner.
 These examples are not really intended as being the definitive package 
 browser or test runner, but to start experiencing how is it to build a 
 real application using Mars and to showcase some widgets. Anyway, it's 
 cool :) The Package browser is not so different to the system browser 
 example I showed before, but the Test Runner is definitely my favorite 
 example so far.
 
 I give more details in the screencast and the blog post. Any feedback is 
 appreciated!
 
 Cheers,
 Carla.
 
 ___
 Esug-list mailing list
 esug-l...@lists.esug.org
 http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
 
 
 
 
 --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
 
 
 
 
 
 
 
 
 
 
 
 -- 
 Thierry Goubier
 CEA list
 Laboratoire des Fondations des Systèmes Temps Réel Embarqués
 91191 Gif sur Yvette Cedex
 France
 Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
 




Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread kilon
ah yes of course. Ok thanks for adding me. 

I took a look at the code, it points back to Zinc , it look like I would
need to override  ZnClient  withProgressDo: , no Idea how to do this
currently but will continue looking into . I also found how monticello uses
progress bars when downloading repos but it does not seem to use Zinc at
all. So yeah this will take me quite some time to implement. 

Its Fun none the less ;) 



Damien Cassou wrote
 On Tue, Sep 24, 2013 at 1:21 PM, kilon lt;

 thekilon@.co

 gt; wrote:
 yeah I will give it a try, don't know how long will take me but I like
 what
 you have done with Pharo Launcher. I will create an enhancement issue
 when I
 have it working as I want and report back. Esteban has granted me commit
 right to pharo 3 inbox too so I will commit there. Or do you want me to
 contribute directly to smalltalk hub repo ?

 I am new with pharo and morphic so please bare with me :)
 
 
 the Pharo3Inbox is only for code integrated in Pharo itself. The
 launcher won't be integrated in Pharo. I added you to the project
 http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher
 
 -- 
 Damien Cassou
 http://damiencassou.seasidehosting.st
 
 Success is the ability to go from one failure to another without
 losing enthusiasm.
 Winston Churchill





--
View this message in context: 
http://forum.world.st/ANN-Launching-Pharo-on-Ubuntu-tp4709757p4710044.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Goubier Thierry

I followed the instructions in another mail.

Basically, it fails trying to load libgtk3

Thierry

Le 24/09/2013 15:18, Esteban Lorenzano a écrit :

you need gtk3-devel?
weird... you should be ok without. We need to check that.

Esteban

On Sep 24, 2013, at 3:22 PM, Goubier Thierry thierry.goub...@cea.fr wrote:




Le 24/09/2013 15:09, Esteban Lorenzano a écrit :


On Sep 24, 2013, at 3:05 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote:




I am wondering. How far are we from dropping Morphic for good?


Far.


yes, we still need a lot of work.
but I'm working on made a release so others can collaborate :)




By the way, is this the goal?


No I do not think so because they are plenty of experimentations that a native 
binding
will not support.


the objective is to have an alternative.
now, we are running morphs inside mars windows (with athens, etc.)... so there 
would not be a problem there :)


Oh, this is how you are doing it.

I tried Mars but my 64bits ubuntu makes installing the required libs 
(gtk3-devel) a bit harder than expected.

Thierry



Stef


Nope! I should learn how to do that :P I'll try to do it this week.


On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont laurent.laff...@gmail.com 
wrote:
Hi Carla,

this is cool ! Is there a ready Pharo + Mars image built by jenkins server ?

Cheers,

Laurent


On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio carla.grig...@gmail.com 
wrote:
Hi everyone!
I want to let you know that I've just posted a screencast in my blog about the 
new Mars Package Browser and Test Runner.
These examples are not really intended as being the definitive package browser 
or test runner, but to start experiencing how is it to build a real application 
using Mars and to showcase some widgets. Anyway, it's cool :) The Package 
browser is not so different to the system browser example I showed before, but 
the Test Runner is definitely my favorite example so far.

I give more details in the screencast and the blog post. Any feedback is 
appreciated!

Cheers,
Carla.

___
Esug-list mailing list
esug-l...@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org





--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.














--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95








--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95



Re: [Pharo-dev] [Pharo-users] RFB on 2.0 + linux - semaphore primitive failed

2013-09-24 Thread Mariano Martinez Peck
On Tue, Sep 24, 2013 at 10:21 AM, Mariano Martinez Peck 
marianop...@gmail.com wrote:

 OK. I think I am having the same issue here. I am using Pharo2.0 Latest
 update: #20619, and a Mac VM of  Mar 13 2013.
 I have a SmalltalkHub image running with RFB. If I save the image with the
 RFBServer running, my image freezes. If the server is stopped while saving,
 there is no problem. The hung seems to be AFTER the image save itself,
 because if I kill the process and start again, the image was saved.

 Does somebody remember if this was solve or not? if not, I will try to
 debug a bit.


 On Tue, Sep 3, 2013 at 4:25 PM, Stéphane Ducasse 
 stephane.duca...@inria.fr wrote:

 Hi Paul2

  Paul Wilke wrote
  Hi,
  we have a similar problem. Which VM should one use? We had the StackVM
 in
  productive use but now after using Pharo 2.0 we have this primitive
 error
  and a stuck image. We found one cause in a the netname resolver.

 Can you explain what is the netname resolver problem.

 
  I would greatly appreciate an info about which vm exactly to use or
 how to
  further diagnose this problem.
  Kind regards,
  Paul
 
 
  I ended up reverting back to Pharo 1.4 and don't have plans to use
 Pharo 2
  in production.

 If you do not give us more information we will never be able to fix it.
 And may be 3.0 will still have the problem and you will start using
 system that is 3 year old.
 I can understand that you get in a situation where you cannot do
 otherwise but do not expect
 us to fix magically things.

 Stef



  --
  View this message in context:
 http://forum.world.st/RFB-on-2-0-linux-semaphore-primitive-failed-tp4701741p4706301.html
  Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
 





 --
 Mariano
 http://marianopeck.wordpress.com




-- 
Mariano
http://marianopeck.wordpress.com


Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Stéphane Ducasse
 No I do not think so because they are plenty of experimentations that a 
 native binding
 will not support.
 
 But could a Spec subset (or Spec itself?) target Mars?
this is the idea. We should be able to reuse the composition logic of spec 
object.

Stef


[Pharo-dev] Pharo 3 is interesting

2013-09-24 Thread Goubier Thierry

I'm managing to get MNUs in Pharo 3.0 in a quite fun way.

I've compiled methods with nil as protocol... The result is kind of 
interesting.


Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95



Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread Damien Cassou
On Tue, Sep 24, 2013 at 3:18 PM, kilon theki...@yahoo.co.uk wrote:
 I took a look at the code, it points back to Zinc , it look like I would
 need to override  ZnClient  withProgressDo: , no Idea how to do this
 currently but will continue looking into . I also found how monticello uses
 progress bars when downloading repos but it does not seem to use Zinc at
 all. So yeah this will take me quite some time to implement.


you may want to open a new question on stackoverflow or pharo-users
and forward to Sven

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

Success is the ability to go from one failure to another without
losing enthusiasm.
Winston Churchill



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Esteban Lorenzano
yes... if you have it (for 32bits), you should be ok. 

but maybe you need to change the path. 

On Sep 24, 2013, at 3:28 PM, Goubier Thierry thierry.goub...@cea.fr wrote:

 I followed the instructions in another mail.
 
 Basically, it fails trying to load libgtk3
 
 Thierry
 
 Le 24/09/2013 15:18, Esteban Lorenzano a écrit :
 you need gtk3-devel?
 weird... you should be ok without. We need to check that.
 
 Esteban
 
 On Sep 24, 2013, at 3:22 PM, Goubier Thierry thierry.goub...@cea.fr wrote:
 
 
 
 Le 24/09/2013 15:09, Esteban Lorenzano a écrit :
 
 On Sep 24, 2013, at 3:05 PM, Stéphane Ducasse stephane.duca...@inria.fr 
 wrote:
 
 
 I am wondering. How far are we from dropping Morphic for good?
 
 Far.
 
 yes, we still need a lot of work.
 but I'm working on made a release so others can collaborate :)
 
 
 By the way, is this the goal?
 
 No I do not think so because they are plenty of experimentations that a 
 native binding
 will not support.
 
 the objective is to have an alternative.
 now, we are running morphs inside mars windows (with athens, etc.)... so 
 there would not be a problem there :)
 
 Oh, this is how you are doing it.
 
 I tried Mars but my 64bits ubuntu makes installing the required libs 
 (gtk3-devel) a bit harder than expected.
 
 Thierry
 
 
 Stef
 
 Nope! I should learn how to do that :P I'll try to do it this week.
 
 
 On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont 
 laurent.laff...@gmail.com wrote:
 Hi Carla,
 
 this is cool ! Is there a ready Pharo + Mars image built by jenkins 
 server ?
 
 Cheers,
 
 Laurent
 
 
 On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio 
 carla.grig...@gmail.com wrote:
 Hi everyone!
 I want to let you know that I've just posted a screencast in my blog 
 about the new Mars Package Browser and Test Runner.
 These examples are not really intended as being the definitive package 
 browser or test runner, but to start experiencing how is it to build a 
 real application using Mars and to showcase some widgets. Anyway, it's 
 cool :) The Package browser is not so different to the system browser 
 example I showed before, but the Test Runner is definitely my favorite 
 example so far.
 
 I give more details in the screencast and the blog post. Any feedback 
 is appreciated!
 
 Cheers,
 Carla.
 
 ___
 Esug-list mailing list
 esug-l...@lists.esug.org
 http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
 
 
 
 
 --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
 
 
 
 
 
 
 
 
 
 
 
 --
 Thierry Goubier
 CEA list
 Laboratoire des Fondations des Systèmes Temps Réel Embarqués
 91191 Gif sur Yvette Cedex
 France
 Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
 
 
 
 
 
 
 -- 
 Thierry Goubier
 CEA list
 Laboratoire des Fondations des Systèmes Temps Réel Embarqués
 91191 Gif sur Yvette Cedex
 France
 Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
 




Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Mark Bestley



laurent.laff...@gmail.com wrote:

 --089e0122eca46a487504e71ea2a2 Content-Type: text/plain; charset=UTF-8
 
 Same error here on ArchLinux.
 
 Laurent
 
 
 On Tue, Sep 24, 2013 at 12:06 PM, kilon
 theki...@yahoo.co.uk wrote:
 
  yeah it fails with error after executing :
 
  Gofer it url: 'http://www.smalltalkhub.com/mc/estebanlm/Mars/main';
  package: 'ConfigurationOfMars'; load.
 
  ConfigurationOfMars loadBleedingEdge: 'All'.
 
  Error : nil cannot be found in Smalltalk dictionary
 
  here is the stack trace
 
  http://pastebin.com/yyHSVntN http://pastebin.com/yyHSVntN
 
 

Also same error in OSX
 
-- 
Mark




Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread kilon
EstebanLM wrote
 the objective is to have an alternative. 
 now, we are running morphs inside mars windows (with athens, etc.)... so
 there would not be a problem there :)

now this sounds super interesting stuff, mixing moprhic with native guis. I
hear that GTK3 is mostly Cairo based, and so is hmtl rendering for Firefox.
Looks like Athens will play a rather crucial role to the future of Morphic
and Pharo. But of course thats easier said than done :) 

And the fact that Morphic is written in smalltalk and not just another C
library, is hard to beat for customization and cross platform development.
For example GTK is a disaster on Macos and Windows. With many problems,
stability wise. QT is abit better but I suspect is big and complex ,
especially taking into account they had to design their own programming
language for designing Graphical Elements known as QML ( a kind of
javascript  :D ). Oh QML can do live coding, sound familiar ? ;)

but QT come with its own designers , and a wealth of tools, juicy
documentation and good support even on mobile platforms. So an alliance of
QT and Pharo may actually be quite more beneficial than an alliance with
Windows GUI API or MacOS Cocoa or GTK . As far as I have seen QT look and
behaves native in all major OSes. 

The only problem is that QT is a C++ library and AFAIK pharo FFIs do not
support C++ libraries because of name mangling. But this is something that
the FFI experts could clarify. 



--
View this message in context: 
http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710045.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Goubier Thierry
I changed it to libgtk-3.so.0 instead of libgtk-3.so.0.600.0 (on ubuntu 
13.04 it's libgtk-3.so.0.600.4 :)).


However MarsTestRunner fail with a MNU: MarsListModelannounce: and I'm 
chasing a sizingPolicy nil in MarsLayout for MarsWorkspace


Thierry

Le 24/09/2013 15:28, Esteban Lorenzano a écrit :

yes... if you have it (for 32bits), you should be ok.

but maybe you need to change the path.

On Sep 24, 2013, at 3:28 PM, Goubier Thierry thierry.goub...@cea.fr wrote:


I followed the instructions in another mail.

Basically, it fails trying to load libgtk3

Thierry

Le 24/09/2013 15:18, Esteban Lorenzano a écrit :

you need gtk3-devel?
weird... you should be ok without. We need to check that.

Esteban

On Sep 24, 2013, at 3:22 PM, Goubier Thierry thierry.goub...@cea.fr wrote:




Le 24/09/2013 15:09, Esteban Lorenzano a écrit :


On Sep 24, 2013, at 3:05 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote:




I am wondering. How far are we from dropping Morphic for good?


Far.


yes, we still need a lot of work.
but I'm working on made a release so others can collaborate :)




By the way, is this the goal?


No I do not think so because they are plenty of experimentations that a native 
binding
will not support.


the objective is to have an alternative.
now, we are running morphs inside mars windows (with athens, etc.)... so there 
would not be a problem there :)


Oh, this is how you are doing it.

I tried Mars but my 64bits ubuntu makes installing the required libs 
(gtk3-devel) a bit harder than expected.

Thierry



Stef


Nope! I should learn how to do that :P I'll try to do it this week.


On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont laurent.laff...@gmail.com 
wrote:
Hi Carla,

this is cool ! Is there a ready Pharo + Mars image built by jenkins server ?

Cheers,

Laurent


On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio carla.grig...@gmail.com 
wrote:
Hi everyone!
I want to let you know that I've just posted a screencast in my blog about the 
new Mars Package Browser and Test Runner.
These examples are not really intended as being the definitive package browser 
or test runner, but to start experiencing how is it to build a real application 
using Mars and to showcase some widgets. Anyway, it's cool :) The Package 
browser is not so different to the system browser example I showed before, but 
the Test Runner is definitely my favorite example so far.

I give more details in the screencast and the blog post. Any feedback is 
appreciated!

Cheers,
Carla.

___
Esug-list mailing list
esug-l...@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org





--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.














--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95








--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95








--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95



Re: [Pharo-dev] [PROVENANCE INTERNET] Re: [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Goubier Thierry
Ok, corrected MarsWorkspace and lost my changes because, after hitting a 
bug in the Workspace menu, I killed the window and Pharo with it :O


Looks like it's working, great work!

Thierry

Le 24/09/2013 16:03, Goubier Thierry a écrit :

I changed it to libgtk-3.so.0 instead of libgtk-3.so.0.600.0 (on ubuntu
13.04 it's libgtk-3.so.0.600.4 :)).

However MarsTestRunner fail with a MNU: MarsListModelannounce: and I'm
chasing a sizingPolicy nil in MarsLayout for MarsWorkspace

Thierry

Le 24/09/2013 15:28, Esteban Lorenzano a écrit :

yes... if you have it (for 32bits), you should be ok.

but maybe you need to change the path.

On Sep 24, 2013, at 3:28 PM, Goubier Thierry thierry.goub...@cea.fr
wrote:


I followed the instructions in another mail.

Basically, it fails trying to load libgtk3

Thierry

Le 24/09/2013 15:18, Esteban Lorenzano a écrit :

you need gtk3-devel?
weird... you should be ok without. We need to check that.

Esteban

On Sep 24, 2013, at 3:22 PM, Goubier Thierry
thierry.goub...@cea.fr wrote:




Le 24/09/2013 15:09, Esteban Lorenzano a écrit :


On Sep 24, 2013, at 3:05 PM, Stéphane Ducasse
stephane.duca...@inria.fr wrote:




I am wondering. How far are we from dropping Morphic for good?


Far.


yes, we still need a lot of work.
but I'm working on made a release so others can collaborate :)




By the way, is this the goal?


No I do not think so because they are plenty of experimentations
that a native binding
will not support.


the objective is to have an alternative.
now, we are running morphs inside mars windows (with athens,
etc.)... so there would not be a problem there :)


Oh, this is how you are doing it.

I tried Mars but my 64bits ubuntu makes installing the required
libs (gtk3-devel) a bit harder than expected.

Thierry



Stef


Nope! I should learn how to do that :P I'll try to do it this
week.


On Tue, Sep 24, 2013 at 9:04 AM, laurent laffont
laurent.laff...@gmail.com wrote:
Hi Carla,

this is cool ! Is there a ready Pharo + Mars image built by
jenkins server ?

Cheers,

Laurent


On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio
carla.grig...@gmail.com wrote:
Hi everyone!
I want to let you know that I've just posted a screencast in my
blog about the new Mars Package Browser and Test Runner.
These examples are not really intended as being the definitive
package browser or test runner, but to start experiencing how
is it to build a real application using Mars and to showcase
some widgets. Anyway, it's cool :) The Package browser is not
so different to the system browser example I showed before, but
the Test Runner is definitely my favorite example so far.

I give more details in the screencast and the blog post. Any
feedback is appreciated!

Cheers,
Carla.

___
Esug-list mailing list
esug-l...@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org





--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.














--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95








--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95










--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95



Re: [Pharo-dev] Pharo 3 is interesting

2013-09-24 Thread Igor Stasenko
On 24 September 2013 15:31, Goubier Thierry thierry.goub...@cea.fr wrote:

 I'm managing to get MNUs in Pharo 3.0 in a quite fun way.

 I've compiled methods with nil as protocol... The result is kind of
 interesting.


i think it is because nil is no longer valid protocol. sure thing it should
not lead to dnu but to some more
clear error message.
anyways, thanks for finding the bug


 Thierry
 --
 Thierry Goubier
 CEA list
 Laboratoire des Fondations des Systèmes Temps Réel Embarqués
 91191 Gif sur Yvette Cedex
 France
 Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95




-- 
Best regards,
Igor Stasenko.


Re: [Pharo-dev] Pharo 3 is interesting

2013-09-24 Thread Goubier Thierry



Le 24/09/2013 16:50, Igor Stasenko a écrit :



On 24 September 2013 15:31, Goubier Thierry thierry.goub...@cea.fr
mailto:thierry.goub...@cea.fr wrote:

I'm managing to get MNUs in Pharo 3.0 in a quite fun way.

I've compiled methods with nil as protocol... The result is kind of
interesting.


i think it is because nil is no longer valid protocol. sure thing it
should not lead to dnu but to some more
clear error message.


Well, nil wasn't a protocol either in 2.0 but it was ignored :)


anyways, thanks for finding the bug


I triggered it with

aClass compile: 'test ^true' classified: nil notifying: nil

:)

There is also another behavior difference between 2.0 and 3.0: the 
protocol #'as yet unclassified' disappear when empty in 2.0 and it 
stays, even empty, in 2.0.


Do you intend it that way?

Regards,

Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95



[Pharo-dev] Pharo Hangout Session! (next week, doodle poll)

2013-09-24 Thread Esteban Lorenzano
Hi,

During last ESUG we talked a lot about how can we improve/support the 
participation of all members of the community in the development of Pharo. 
One of the ideas is to organize remote sprints managed through google-hangout 
and the irc channel. 
Basically, it should work like a regular sprint, but all the participants will 
be remote :)

I created a poll to check when people can participate.  

http://doodle.com/bbbm9dd554c5x535

Cheers, 
Esteban




Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread Sven Van Caekenberghe

On 24 Sep 2013, at 15:18, kilon theki...@yahoo.co.uk wrote:

 ah yes of course. Ok thanks for adding me. 
 
 I took a look at the code, it points back to Zinc , it look like I would
 need to override  ZnClient  withProgressDo: , no Idea how to do this
 currently but will continue looking into . I also found how monticello uses
 progress bars when downloading repos but it does not seem to use Zinc at
 all. So yeah this will take me quite some time to implement. 

Progress is indicated by HTTPProgress Notification that are being signalled by 
the underlying code. You have to catch them and do something with them.

Have a look at ZnClientTests#testProgress

Although the example in the comment does no longer seem to work...

 Its Fun none the less ;) 
 
 
 
 Damien Cassou wrote
 On Tue, Sep 24, 2013 at 1:21 PM, kilon lt;
 
 thekilon@.co
 
 gt; wrote:
 yeah I will give it a try, don't know how long will take me but I like
 what
 you have done with Pharo Launcher. I will create an enhancement issue
 when I
 have it working as I want and report back. Esteban has granted me commit
 right to pharo 3 inbox too so I will commit there. Or do you want me to
 contribute directly to smalltalk hub repo ?
 
 I am new with pharo and morphic so please bare with me :)
 
 
 the Pharo3Inbox is only for code integrated in Pharo itself. The
 launcher won't be integrated in Pharo. I added you to the project
 http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher
 
 -- 
 Damien Cassou
 http://damiencassou.seasidehosting.st
 
 Success is the ability to go from one failure to another without
 losing enthusiasm.
 Winston Churchill
 
 
 
 
 
 --
 View this message in context: 
 http://forum.world.st/ANN-Launching-Pharo-on-Ubuntu-tp4709757p4710044.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
 




[Pharo-dev] Pharo Launcher link

2013-09-24 Thread btc


Just wondering if it would be suitable to link to the Pharo Launcher from
http://www.pharo-project.org/pharo-download.

cheers -ben



Re: [Pharo-dev] Pharo 3 is interesting

2013-09-24 Thread Igor Stasenko
On 24 September 2013 17:06, Goubier Thierry thierry.goub...@cea.fr wrote:



 Le 24/09/2013 16:50, Igor Stasenko a écrit :



 On 24 September 2013 15:31, Goubier Thierry thierry.goub...@cea.fr
 mailto:thierry.goub...@cea.fr** wrote:

 I'm managing to get MNUs in Pharo 3.0 in a quite fun way.

 I've compiled methods with nil as protocol... The result is kind of
 interesting.


 i think it is because nil is no longer valid protocol. sure thing it
 should not lead to dnu but to some more
 clear error message.


 Well, nil wasn't a protocol either in 2.0 but it was ignored :)


  anyways, thanks for finding the bug


 I triggered it with

 aClass compile: 'test ^true' classified: nil notifying: nil

 :)

 There is also another behavior difference between 2.0 and 3.0: the
 protocol #'as yet unclassified' disappear when empty in 2.0 and it stays,
 even empty, in 2.0.

 Do you intend it that way?


I don't know the details, there was a lot of work done by Esteban
refactoring this..
so i letting him to answer your question.



 Regards,


 Thierry
 --
 Thierry Goubier
 CEA list
 Laboratoire des Fondations des Systèmes Temps Réel Embarqués
 91191 Gif sur Yvette Cedex
 France
 Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95




-- 
Best regards,
Igor Stasenko.


Re: [Pharo-dev] Pharo 3 is interesting

2013-09-24 Thread Esteban Lorenzano

On Sep 24, 2013, at 6:20 PM, Igor Stasenko siguc...@gmail.com wrote:

 
 
 
 On 24 September 2013 17:06, Goubier Thierry thierry.goub...@cea.fr wrote:
 
 
 Le 24/09/2013 16:50, Igor Stasenko a écrit :
 
 
 On 24 September 2013 15:31, Goubier Thierry thierry.goub...@cea.fr
 mailto:thierry.goub...@cea.fr wrote:
 
 I'm managing to get MNUs in Pharo 3.0 in a quite fun way.
 
 I've compiled methods with nil as protocol... The result is kind of
 interesting.
 
 
 i think it is because nil is no longer valid protocol. sure thing it
 should not lead to dnu but to some more
 clear error message.
 
 Well, nil wasn't a protocol either in 2.0 but it was ignored :)
 
 
 anyways, thanks for finding the bug
 
 I triggered it with
 
 aClass compile: 'test ^true' classified: nil notifying: nil
 
 :)
 
 There is also another behavior difference between 2.0 and 3.0: the protocol 
 #'as yet unclassified' disappear when empty in 2.0 and it stays, even empty, 
 in 2.0.
 
 Do you intend it that way?
 
 I don't know the details, there was a lot of work done by Esteban refactoring 
 this.. 
 so i letting him to answer your question.

no, is a bug (known), but still not time to fix it :)

  
 
 Regards,
 
 
 Thierry
 -- 
 Thierry Goubier
 CEA list
 Laboratoire des Fondations des Systèmes Temps Réel Embarqués
 91191 Gif sur Yvette Cedex
 France
 Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
 
 
 
 
 -- 
 Best regards,
 Igor Stasenko.



[Pharo-dev] [update 3.0] #30422

2013-09-24 Thread Marcus Denker
30422
-

11671 remove empty packages
https://pharo.fogbugz.com/f/cases/11671

11672 tiny code critic cleanup in Network, Graphics and Tools
https://pharo.fogbugz.com/f/cases/11672

11669 Move classes in System-Applications to Deprecated30
https://pharo.fogbugz.com/f/cases/11669

Diff information:
http://smalltalkhub.com/mc/Pharo/Pharo30/main/Tools-MarcusDenker.1269.diff
http://smalltalkhub.com/mc/Pharo/Pharo30/main/System-Applications-MarcusDenker.53.diff
http://smalltalkhub.com/mc/Pharo/Pharo30/main/Spec-Tools-MarcusDenker.142.diff
http://smalltalkhub.com/mc/Pharo/Pharo30/main/SUnit-Utilities-MarcusDenker.12.diff
http://smalltalkhub.com/mc/Pharo/Pharo30/main/RecentSubmissions-MarcusDenker.200.diff
http://smalltalkhub.com/mc/Pharo/Pharo30/main/Network-Url-MarcusDenker.91.diff
http://smalltalkhub.com/mc/Pharo/Pharo30/main/Network-Mail-MarcusDenker.25.diff
http://smalltalkhub.com/mc/Pharo/Pharo30/main/Graphics-Fonts-MarcusDenker.81.diff
http://smalltalkhub.com/mc/Pharo/Pharo30/main/Graphics-Files-MarcusDenker.44.diff
http://smalltalkhub.com/mc/Pharo/Pharo30/main/Graphics-Display 
Objects-MarcusDenker.130.diff
http://smalltalkhub.com/mc/Pharo/Pharo30/main/Deprecated30-MarcusDenker.2.diff



signature.asc
Description: Message signed with OpenPGP using GPGMail


[Pharo-dev] ConfigurationOfGhost: Where?

2013-09-24 Thread p...@highoctane.be
I am preparing my environment for development and am updating my webstack
configuration to match the new moves to SmalltalkHub.

Now, I am trying to get my ConfigurationOfOak working.

Fuel has moved to SmalltalkHub and it is fine.

Now, where is Ghost .?

I want to update this:

spec
project: 'GhostProxies' with: [
spec
 className: 'ConfigurationOfGhost';
loads: #('Core');
versionString: #stable;
 file: 'ConfigurationOfGhost';
repository: 'http://ss3.gemstone.com/ss/Ghost' ].
 spec project: 'GhostProxiesTests' copyFrom: 'GhostProxies' with: [
spec loads: #('Tests' ) ].

The search function on STH isn't helping much...

Thanks for the help!

Phil


Re: [Pharo-dev] Pharo 3 is interesting

2013-09-24 Thread GOUBIER Thierry
Ok.

At the same time, I can appreciate the way the change was done. I just merged 
my system browser from 2.0 to 3.0 with very few problems, just tracking a few 
deprecations. And given how close I am to the class organisation / RPackage and 
friends, I can appreciate the care in maintaining a very close API while 
refactoring.

Thierry

De : Pharo-dev [pharo-dev-boun...@lists.pharo.org] de la part de Esteban 
Lorenzano [esteba...@gmail.com]
Date d'envoi : mardi 24 septembre 2013 18:34
À : Igor Stasenko
Cc: Pharo Development List
Objet : Re: [Pharo-dev] Pharo 3 is interesting


On Sep 24, 2013, at 6:20 PM, Igor Stasenko 
siguc...@gmail.commailto:siguc...@gmail.com wrote:




On 24 September 2013 17:06, Goubier Thierry 
thierry.goub...@cea.frmailto:thierry.goub...@cea.fr wrote:


Le 24/09/2013 16:50, Igor Stasenko a écrit :


On 24 September 2013 15:31, Goubier Thierry 
thierry.goub...@cea.frmailto:thierry.goub...@cea.fr
mailto:thierry.goub...@cea.frmailto:thierry.goub...@cea.fr wrote:

I'm managing to get MNUs in Pharo 3.0 in a quite fun way.

I've compiled methods with nil as protocol... The result is kind of
interesting.


i think it is because nil is no longer valid protocol. sure thing it
should not lead to dnu but to some more
clear error message.

Well, nil wasn't a protocol either in 2.0 but it was ignored :)


anyways, thanks for finding the bug

I triggered it with

aClass compile: 'test ^true' classified: nil notifying: nil

:)

There is also another behavior difference between 2.0 and 3.0: the protocol 
#'as yet unclassified' disappear when empty in 2.0 and it stays, even empty, in 
2.0.

Do you intend it that way?

I don't know the details, there was a lot of work done by Esteban refactoring 
this..
so i letting him to answer your question.

no, is a bug (known), but still not time to fix it :)



Regards,


Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95




--
Best regards,
Igor Stasenko.



Re: [Pharo-dev] Pharo 3 is interesting

2013-09-24 Thread Stéphane Ducasse

On Sep 24, 2013, at 8:38 PM, GOUBIER Thierry thierry.goub...@cea.fr wrote:

 Ok.
 
 At the same time, I can appreciate the way the change was done. I just merged 
 my system browser from 2.0 to 3.0 with very few problems, just tracking a few 
 deprecations. And given how close I am to the class organisation / RPackage 
 and friends, I can appreciate the care in maintaining a very close API while 
 refactoring.

Thanks because we hate this part of the system and this is not what we are 
dreaming of.

if you would see esteban coming to steal fruits in my office these days :)

Stef
 
 Thierry
 De : Pharo-dev [pharo-dev-boun...@lists.pharo.org] de la part de Esteban 
 Lorenzano [esteba...@gmail.com]
 Date d'envoi : mardi 24 septembre 2013 18:34
 À : Igor Stasenko
 Cc: Pharo Development List
 Objet : Re: [Pharo-dev] Pharo 3 is interesting
 
 
 On Sep 24, 2013, at 6:20 PM, Igor Stasenko siguc...@gmail.com wrote:
 
 
 
 
 On 24 September 2013 17:06, Goubier Thierry thierry.goub...@cea.fr wrote:
 
 
 Le 24/09/2013 16:50, Igor Stasenko a écrit :
 
 
 On 24 September 2013 15:31, Goubier Thierry thierry.goub...@cea.fr
 mailto:thierry.goub...@cea.fr wrote:
 
 I'm managing to get MNUs in Pharo 3.0 in a quite fun way.
 
 I've compiled methods with nil as protocol... The result is kind of
 interesting.
 
 
 i think it is because nil is no longer valid protocol. sure thing it
 should not lead to dnu but to some more
 clear error message.
 
 Well, nil wasn't a protocol either in 2.0 but it was ignored :)
 
 
 anyways, thanks for finding the bug
 
 I triggered it with
 
 aClass compile: 'test ^true' classified: nil notifying: nil
 
 :)
 
 There is also another behavior difference between 2.0 and 3.0: the protocol 
 #'as yet unclassified' disappear when empty in 2.0 and it stays, even empty, 
 in 2.0.
 
 Do you intend it that way?
 
 I don't know the details, there was a lot of work done by Esteban 
 refactoring this.. 
 so i letting him to answer your question.
 
 no, is a bug (known), but still not time to fix it :)
 
  
 
 Regards,
 
 
 Thierry
 -- 
 Thierry Goubier
 CEA list
 Laboratoire des Fondations des Systèmes Temps Réel Embarqués
 91191 Gif sur Yvette Cedex
 France
 Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
 
 
 
 
 -- 
 Best regards,
 Igor Stasenko.



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Sean P. DeNigris
kilon wrote
 And the fact that Morphic is written in smalltalk and not just another C
 library, is hard to beat for customization

When one wants to do something non-standard, Morphic is insanely powerful.
The only issue I have is cleaning and refactoring. I think the underlying
idea is brilliant.


kilon wrote
 The only problem is that QT is a C++ library and AFAIK pharo FFIs do not
 support C++ libraries because of name mangling.

You have to export the functionality you want to use as C functions. Not
that hard, but I've only tried it for proof-of-concepts



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710145.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread kilon
Actually it works its just that is not meant to create a progress bar. 

To create a progressbar I created a new test

testProgressBar
UIManager default informUserDuring: [ :bar |
[ ^ ZnClient new
signalProgress: true;
get: 'http://zn.stfx.eu/echo?delay=2' ]
on: HTTPProgress 
do: [ :progress | 
bar label: progress printString. 
progress isEmpty ifFalse: [ bar current: 
progress percentage ].
progress resume ] ]

it displays the progressbar , but it displays no progress (blue bar thing)
and it close as soon as it finish the get. I tried to implement that  in 

createImageFromTemplate
| name   |
name := UIManager default request: 'Image name?'.
self showDownloadInProgress.
[UIManager default informUserDuring: [ :bar |
[   imageGroup extractTemplate: self selectedTemplate to: name]
on: HTTPProgress 
do: [ :progress | 
bar label: progress printString. 
progress isEmpty ifFalse: [ bar current: 
progress percentage ].
progress resume ] ]] on: PhLDownloadError
do: [ :err | 
UIManager default alert: err longDescription.
^ self ].


self updateAll.

I assume that code is deeply flawed , hence why it does not display me any
progressbar at all. Looks like I have a lot to learn. 

First I am not sure if ZnClient downloads in packets and if it reports
progress per packet  . If its progress is upon success of download then it
does not help at all , because in that case there will be only one stage of
progress upon success of download. I want multiple stages of progress so the
download bar increases from 0% to 100%(preferably per kb ). IF that is the
cace then probably I will be better using the HTTP client of monticello to
download the images which I know it works that way. 

Is there a particular reason why we should stick to Zinc ? 

I am open to suggestions :) 


Sven Van Caekenberghe-2 wrote
 On 24 Sep 2013, at 15:18, kilon lt;

 thekilon@.co

 gt; wrote:
 
 ah yes of course. Ok thanks for adding me. 
 
 I took a look at the code, it points back to Zinc , it look like I would
 need to override  ZnClient  withProgressDo: , no Idea how to do this
 currently but will continue looking into . I also found how monticello
 uses
 progress bars when downloading repos but it does not seem to use Zinc at
 all. So yeah this will take me quite some time to implement. 
 
 Progress is indicated by HTTPProgress Notification that are being
 signalled by the underlying code. You have to catch them and do something
 with them.
 
 Have a look at ZnClientTests#testProgress
 
 Although the example in the comment does no longer seem to work...
 
 Its Fun none the less ;) 
 
 
 
 Damien Cassou wrote
 On Tue, Sep 24, 2013 at 1:21 PM, kilon lt;
 
 thekilon@.co
 
 gt; wrote:
 yeah I will give it a try, don't know how long will take me but I like
 what
 you have done with Pharo Launcher. I will create an enhancement issue
 when I
 have it working as I want and report back. Esteban has granted me
 commit
 right to pharo 3 inbox too so I will commit there. Or do you want me to
 contribute directly to smalltalk hub repo ?
 
 I am new with pharo and morphic so please bare with me :)
 
 
 the Pharo3Inbox is only for code integrated in Pharo itself. The
 launcher won't be integrated in Pharo. I added you to the project
 http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher
 
 -- 
 Damien Cassou
 http://damiencassou.seasidehosting.st
 
 Success is the ability to go from one failure to another without
 losing enthusiasm.
 Winston Churchill
 
 
 
 
 
 --
 View this message in context:
 http://forum.world.st/ANN-Launching-Pharo-on-Ubuntu-tp4709757p4710044.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.






--
View this message in context: 
http://forum.world.st/ANN-Launching-Pharo-on-Ubuntu-tp4709757p4710146.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread kilon
I agree, Morphic is quite messy but its design is very solid. Its just like
any huge library need to go under a cleanup phase and be improved. 

I checked to find out if QT can be accessed from C , the short answer is no.
So move along nothing to see here. 

I dont know what you mean by export the functionality to C functions if
that means rewriting code from C++ to C , then I will have to pass, QT is
huge , even if we utilized the whole pharo community we would not be able to
do this. I think focusing on morphic and existing functionality of Mars will
do for now. 

The way I see it best candidate so far is GTK. Not so good on windows and
macos , but better than having to maintain separate classes for windoom ,
macos and linux. And I am not even sure if there many pharoers on windoom
anyway, I rarely see it mentioned here. 

Another interesting candidate is Clutter , its based on Opengl , its a C
library and seems to even support OpenGL ES for mobile platform and of
course compiles on windooom, macos and linux .

http://en.wikipedia.org/wiki/Clutter_(toolkit)
http://en.wikipedia.org/wiki/Clutter_(toolkit)  

I also heard its quite small and easy to use , so maybe morphic could be
based on it. I have not used it myself so I cant vouch for it.   


Sean P. DeNigris wrote
 
 kilon wrote
 And the fact that Morphic is written in smalltalk and not just another C
 library, is hard to beat for customization
 When one wants to do something non-standard, Morphic is insanely powerful.
 The only issue I have is cleaning and refactoring. I think the underlying
 idea is brilliant.
 kilon wrote
 The only problem is that QT is a C++ library and AFAIK pharo FFIs do not
 support C++ libraries because of name mangling.
 You have to export the functionality you want to use as C functions. Not
 that hard, but I've only tried it for proof-of-concepts





--
View this message in context: 
http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710156.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread Sven Van Caekenberghe

On 24 Sep 2013, at 22:23, kilon theki...@yahoo.co.uk wrote:

 Actually it works its just that is not meant to create a progress bar. 
 
 To create a progressbar I created a new test
 
 testProgressBar
   UIManager default informUserDuring: [ :bar |
   [ ^ ZnClient new
   signalProgress: true;
   get: 'http://zn.stfx.eu/echo?delay=2' ]
   on: HTTPProgress 
   do: [ :progress | 
   bar label: progress printString. 
   progress isEmpty ifFalse: [ bar current: 
 progress percentage ].
   progress resume ] ]
 
 it displays the progressbar , but it displays no progress (blue bar thing)
 and it close as soon as it finish the get. I tried to implement that  in 
 
 createImageFromTemplate
   | name   |
   name := UIManager default request: 'Image name?'.
   self showDownloadInProgress.
   [UIManager default informUserDuring: [ :bar |
   [   imageGroup extractTemplate: self selectedTemplate to: name]
   on: HTTPProgress 
   do: [ :progress | 
   bar label: progress printString. 
   progress isEmpty ifFalse: [ bar current: 
 progress percentage ].
   progress resume ] ]] on: PhLDownloadError
   do: [ :err | 
   UIManager default alert: err longDescription.
   ^ self ].
   
   
   self updateAll.
 
 I assume that code is deeply flawed , hence why it does not display me any
 progressbar at all. Looks like I have a lot to learn. 
 
 First I am not sure if ZnClient downloads in packets and if it reports
 progress per packet  . If its progress is upon success of download then it
 does not help at all , because in that case there will be only one stage of
 progress upon success of download. I want multiple stages of progress so the
 download bar increases from 0% to 100%(preferably per kb ). IF that is the
 cace then probably I will be better using the HTTP client of monticello to
 download the images which I know it works that way. 
 
 Is there a particular reason why we should stick to Zinc ? 

The HTTP client of Monticello _is_ ZnClient, see MCHttpRepository#httpClient 
;-)

Now, for performance reasons, progress in only signalled every ZnUtils 
class#streamingBufferSize which is currently 16K.

Apart from that, the download might go that fast that there is little to show.

I am certainly not claiming that the HTTPProgress stuff is perfect, but it 
seems to work.

 I am open to suggestions :) 
 
 
 Sven Van Caekenberghe-2 wrote
 On 24 Sep 2013, at 15:18, kilon lt;
 
 thekilon@.co
 
 gt; wrote:
 
 ah yes of course. Ok thanks for adding me. 
 
 I took a look at the code, it points back to Zinc , it look like I would
 need to override  ZnClient  withProgressDo: , no Idea how to do this
 currently but will continue looking into . I also found how monticello
 uses
 progress bars when downloading repos but it does not seem to use Zinc at
 all. So yeah this will take me quite some time to implement. 
 
 Progress is indicated by HTTPProgress Notification that are being
 signalled by the underlying code. You have to catch them and do something
 with them.
 
 Have a look at ZnClientTests#testProgress
 
 Although the example in the comment does no longer seem to work...
 
 Its Fun none the less ;) 
 
 
 
 Damien Cassou wrote
 On Tue, Sep 24, 2013 at 1:21 PM, kilon lt;
 
 thekilon@.co
 
 gt; wrote:
 yeah I will give it a try, don't know how long will take me but I like
 what
 you have done with Pharo Launcher. I will create an enhancement issue
 when I
 have it working as I want and report back. Esteban has granted me
 commit
 right to pharo 3 inbox too so I will commit there. Or do you want me to
 contribute directly to smalltalk hub repo ?
 
 I am new with pharo and morphic so please bare with me :)
 
 
 the Pharo3Inbox is only for code integrated in Pharo itself. The
 launcher won't be integrated in Pharo. I added you to the project
 http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher
 
 -- 
 Damien Cassou
 http://damiencassou.seasidehosting.st
 
 Success is the ability to go from one failure to another without
 losing enthusiasm.
 Winston Churchill
 
 
 
 
 
 --
 View this message in context:
 http://forum.world.st/ANN-Launching-Pharo-on-Ubuntu-tp4709757p4710044.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.
 
 
 
 
 
 
 --
 View this message in context: 
 http://forum.world.st/ANN-Launching-Pharo-on-Ubuntu-tp4709757p4710146.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
 




Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Esteban Lorenzano
er... of course Mars is designed to alllow the backend you want to plug in,
but we thinkthat Gtk3 is ok for Linux and good enough for Windows. For OSX
we have the Cocoa backend.

So I do not understand this line of argument :)

Esteban

On Tue, Sep 24, 2013 at 10:42 PM, kilon theki...@yahoo.co.uk wrote:

 I agree, Morphic is quite messy but its design is very solid. Its just like
 any huge library need to go under a cleanup phase and be improved.

 I checked to find out if QT can be accessed from C , the short answer is
 no.
 So move along nothing to see here.

 I dont know what you mean by export the functionality to C functions if
 that means rewriting code from C++ to C , then I will have to pass, QT is
 huge , even if we utilized the whole pharo community we would not be able
 to
 do this. I think focusing on morphic and existing functionality of Mars
 will
 do for now.

 The way I see it best candidate so far is GTK. Not so good on windows and
 macos , but better than having to maintain separate classes for windoom ,
 macos and linux. And I am not even sure if there many pharoers on windoom
 anyway, I rarely see it mentioned here.

 Another interesting candidate is Clutter , its based on Opengl , its a C
 library and seems to even support OpenGL ES for mobile platform and of
 course compiles on windooom, macos and linux .

 http://en.wikipedia.org/wiki/Clutter_(toolkit)
 http://en.wikipedia.org/wiki/Clutter_(toolkit)

 I also heard its quite small and easy to use , so maybe morphic could be
 based on it. I have not used it myself so I cant vouch for it.


 Sean P. DeNigris wrote
 
  kilon wrote
  And the fact that Morphic is written in smalltalk and not just another C
  library, is hard to beat for customization
  When one wants to do something non-standard, Morphic is insanely
 powerful.
  The only issue I have is cleaning and refactoring. I think the underlying
  idea is brilliant.
  kilon wrote
  The only problem is that QT is a C++ library and AFAIK pharo FFIs do not
  support C++ libraries because of name mangling.
  You have to export the functionality you want to use as C functions. Not
  that hard, but I've only tried it for proof-of-concepts





 --
 View this message in context:
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710156.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.




Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread Camillo Bruni

On 2013-09-24, at 17:43, Sven Van Caekenberghe s...@stfx.eu wrote:

 
 On 24 Sep 2013, at 22:23, kilon theki...@yahoo.co.uk wrote:
 
 Actually it works its just that is not meant to create a progress bar. 
 
 To create a progressbar I created a new test
 
 testProgressBar
  UIManager default informUserDuring: [ :bar |
  [ ^ ZnClient new
  signalProgress: true;
  get: 'http://zn.stfx.eu/echo?delay=2' ]
  on: HTTPProgress 
  do: [ :progress | 
  bar label: progress printString. 
  progress isEmpty ifFalse: [ bar current: 
 progress percentage ].
  progress resume ] ]
 
 it displays the progressbar , but it displays no progress (blue bar thing)
 and it close as soon as it finish the get. I tried to implement that  in 
 
 createImageFromTemplate
  | name   |
  name := UIManager default request: 'Image name?'.
  self showDownloadInProgress.
  [UIManager default informUserDuring: [ :bar |
  [   imageGroup extractTemplate: self selectedTemplate to: name]
  on: HTTPProgress 
  do: [ :progress | 
  bar label: progress printString. 
  progress isEmpty ifFalse: [ bar current: 
 progress percentage ].
  progress resume ] ]] on: PhLDownloadError
  do: [ :err | 
  UIManager default alert: err longDescription.
  ^ self ].
  
  
  self updateAll.
 
 I assume that code is deeply flawed , hence why it does not display me any
 progressbar at all. Looks like I have a lot to learn. 
 
 First I am not sure if ZnClient downloads in packets and if it reports
 progress per packet  . If its progress is upon success of download then it
 does not help at all , because in that case there will be only one stage of
 progress upon success of download. I want multiple stages of progress so the
 download bar increases from 0% to 100%(preferably per kb ). IF that is the
 cace then probably I will be better using the HTTP client of monticello to
 download the images which I know it works that way. 
 
 Is there a particular reason why we should stick to Zinc ? 
 
 The HTTP client of Monticello _is_ ZnClient, see 
 MCHttpRepository#httpClient ;-)
 
 Now, for performance reasons, progress in only signalled every ZnUtils 
 class#streamingBufferSize which is currently 16K.
 
 Apart from that, the download might go that fast that there is little to show.
 
 I am certainly not claiming that the HTTPProgress stuff is perfect, but it 
 seems to work.

... and the progress bar certainly much further away from that goal :)


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread Stéphane Ducasse
I saw 

Add multi-touch gesture recognizers
ClutterPanAction, ClutterZoomAction, and ClutterRotateAction are gesture 
recognizers that can be used to detect common multi-touch gestures. The 
ClutterGestureAction class has been modified to make it easy to create new 
gesture recognizers.
And I'm curious to know how they do it because one of these days we will have :)

Stef



On Sep 24, 2013, at 10:42 PM, kilon theki...@yahoo.co.uk wrote:

 I agree, Morphic is quite messy but its design is very solid. Its just like
 any huge library need to go under a cleanup phase and be improved. 
 
 I checked to find out if QT can be accessed from C , the short answer is no.
 So move along nothing to see here. 
 
 I dont know what you mean by export the functionality to C functions if
 that means rewriting code from C++ to C , then I will have to pass, QT is
 huge , even if we utilized the whole pharo community we would not be able to
 do this. I think focusing on morphic and existing functionality of Mars will
 do for now. 
 
 The way I see it best candidate so far is GTK. Not so good on windows and
 macos , but better than having to maintain separate classes for windoom ,
 macos and linux. And I am not even sure if there many pharoers on windoom
 anyway, I rarely see it mentioned here. 
 
 Another interesting candidate is Clutter , its based on Opengl , its a C
 library and seems to even support OpenGL ES for mobile platform and of
 course compiles on windooom, macos and linux .
 
 http://en.wikipedia.org/wiki/Clutter_(toolkit)
 http://en.wikipedia.org/wiki/Clutter_(toolkit)  
 
 I also heard its quite small and easy to use , so maybe morphic could be
 based on it. I have not used it myself so I cant vouch for it.   
 
 
 Sean P. DeNigris wrote
 
 kilon wrote
 And the fact that Morphic is written in smalltalk and not just another C
 library, is hard to beat for customization
 When one wants to do something non-standard, Morphic is insanely powerful.
 The only issue I have is cleaning and refactoring. I think the underlying
 idea is brilliant.
 kilon wrote
 The only problem is that QT is a C++ library and AFAIK pharo FFIs do not
 support C++ libraries because of name mangling.
 You have to export the functionality you want to use as C functions. Not
 that hard, but I've only tried it for proof-of-concepts
 
 
 
 
 
 --
 View this message in context: 
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710156.html
 Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
 



Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread kilon
The confusion of the noob, I saw a method though it was a class, did not see
self in front of it. Yeap its definitely Zinc , its staring me in the face
with that blank look :D

Ok then its certainly my lack of understanding. I will take my time learning
how Zinc works and how progress bar works. Will take a deeper look into how
Monticello uses it. Thanks for the help, I should be able to figure this
out. If not you will know it by the deep sounds I make when I hit my head
against the wall.  


Sven Van Caekenberghe-2 wrote
 On 24 Sep 2013, at 22:23, kilon lt;

 thekilon@.co

 gt; wrote:
 
 Actually it works its just that is not meant to create a progress bar. 
 
 To create a progressbar I created a new test
 
 testProgressBar
  UIManager default informUserDuring: [ :bar |
  [ ^ ZnClient new
  signalProgress: true;
  get: 'http://zn.stfx.eu/echo?delay=2' ]
  on: HTTPProgress 
  do: [ :progress | 
  bar label: progress printString. 
  progress isEmpty ifFalse: [ bar current: 
 progress percentage ].
  progress resume ] ]
 
 it displays the progressbar , but it displays no progress (blue bar
 thing)
 and it close as soon as it finish the get. I tried to implement that  in 
 
 createImageFromTemplate
  | name   |
  name := UIManager default request: 'Image name?'.
  self showDownloadInProgress.
  [UIManager default informUserDuring: [ :bar |
  [   imageGroup extractTemplate: self selectedTemplate to: name]
  on: HTTPProgress 
  do: [ :progress | 
  bar label: progress printString. 
  progress isEmpty ifFalse: [ bar current: 
 progress percentage ].
  progress resume ] ]] on: PhLDownloadError
  do: [ :err | 
  UIManager default alert: err longDescription.
  ^ self ].
  
  
  self updateAll.
 
 I assume that code is deeply flawed , hence why it does not display me
 any
 progressbar at all. Looks like I have a lot to learn. 
 
 First I am not sure if ZnClient downloads in packets and if it reports
 progress per packet  . If its progress is upon success of download then
 it
 does not help at all , because in that case there will be only one stage
 of
 progress upon success of download. I want multiple stages of progress so
 the
 download bar increases from 0% to 100%(preferably per kb ). IF that is
 the
 cace then probably I will be better using the HTTP client of monticello
 to
 download the images which I know it works that way. 
 
 Is there a particular reason why we should stick to Zinc ? 
 
 The HTTP client of Monticello _is_ ZnClient, see
 MCHttpRepository#httpClient ;-)
 
 Now, for performance reasons, progress in only signalled every ZnUtils
 class#streamingBufferSize which is currently 16K.
 
 Apart from that, the download might go that fast that there is little to
 show.
 
 I am certainly not claiming that the HTTPProgress stuff is perfect, but it
 seems to work.
 
 I am open to suggestions :) 
 
 
 Sven Van Caekenberghe-2 wrote
 On 24 Sep 2013, at 15:18, kilon lt;
 
 thekilon@.co
 
 gt; wrote:
 
 ah yes of course. Ok thanks for adding me. 
 
 I took a look at the code, it points back to Zinc , it look like I
 would
 need to override  ZnClient  withProgressDo: , no Idea how to do this
 currently but will continue looking into . I also found how monticello
 uses
 progress bars when downloading repos but it does not seem to use Zinc
 at
 all. So yeah this will take me quite some time to implement. 
 
 Progress is indicated by HTTPProgress Notification that are being
 signalled by the underlying code. You have to catch them and do
 something
 with them.
 
 Have a look at ZnClientTests#testProgress
 
 Although the example in the comment does no longer seem to work...
 
 Its Fun none the less ;) 
 
 
 
 Damien Cassou wrote
 On Tue, Sep 24, 2013 at 1:21 PM, kilon lt;
 
 thekilon@.co
 
 gt; wrote:
 yeah I will give it a try, don't know how long will take me but I
 like
 what
 you have done with Pharo Launcher. I will create an enhancement issue
 when I
 have it working as I want and report back. Esteban has granted me
 commit
 right to pharo 3 inbox too so I will commit there. Or do you want me
 to
 contribute directly to smalltalk hub repo ?
 
 I am new with pharo and morphic so please bare with me :)
 
 
 the Pharo3Inbox is only for code integrated in Pharo itself. The
 launcher won't be integrated in Pharo. I added you to the project
 http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher
 
 -- 
 Damien Cassou
 http://damiencassou.seasidehosting.st
 
 Success is the ability to go from one failure to another without
 losing enthusiasm.
 Winston Churchill
 
 
 
 
 
 --
 View this message in context:
 

Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread kilon
Personally I don't care that much to be frank with you. I think the age of
native look has passed and failed miserably. All the rage now is custom
look guis, graphics app are strictly custom look, sound and music apps are
strictly custom look and web apps of course as well. Only business apps are
remaining stuborn stuck in the past. 

Its no mistake that the clear winner on the GUI department is by far QT .
Take a look even at iOS even iOS dropped the macos look for its own custom
look.  Custom look is everywhere. Even macos embraces it with Launchpad,
Time machine and who knows what the future holds. Windoom has suprised us
with Metro, probably not a success but seems that even the sloth giant
Micro$oft has taken notice where things are heading. 

QT is the king of it because it has created a very flexible API which is not
only capable in looking native but also very good in customisation. Well the
king is web design here, but since its not considered desktop technology I
will say QT for the record.

Saying all that, I am not a believer of GTK. And I have heard that on
windows people prefer to commit murder than use GTK. GTK is mainly linux
orientated and I dont even think its even on Android. There was a bug on
macos about tablet with pressure sensitivity and several other bugs with
gimp and mypaint, the bottom line was that there were not enough developers
for either windows or macos. GTK3 looks like diffirent story though but I
still have my doubts. Looks more flexible, better designed but still does
not change the fact that it lack people on non linux platforms to maintain
it. And its a rather huge lib. 

I am interested into Clutter because my main interest is Graphics and
OpenGL, so I have my own personal agenda on this.  

Now if you want to support GTK3 on windoom, I say go for it, its not as if
you have a better choice. Maintaining a windoom port with using windoom apis
will be much more of a pain anyway. So GTK3 certainly makes sense for me. I
just dont see myself abandoning morphic any time soon for it.  At least not
this century. I prefer smalltalk to C bugs anyday. 



EstebanLM wrote
 er... of course Mars is designed to alllow the backend you want to plug
 in,
 but we thinkthat Gtk3 is ok for Linux and good enough for Windows. For OSX
 we have the Cocoa backend.
 
 So I do not understand this line of argument :)
 
 Esteban
 
 On Tue, Sep 24, 2013 at 10:42 PM, kilon lt;

 thekilon@.co

 gt; wrote:
 
 I agree, Morphic is quite messy but its design is very solid. Its just
 like
 any huge library need to go under a cleanup phase and be improved.

 I checked to find out if QT can be accessed from C , the short answer is
 no.
 So move along nothing to see here.

 I dont know what you mean by export the functionality to C functions if
 that means rewriting code from C++ to C , then I will have to pass, QT is
 huge , even if we utilized the whole pharo community we would not be able
 to
 do this. I think focusing on morphic and existing functionality of Mars
 will
 do for now.

 The way I see it best candidate so far is GTK. Not so good on windows and
 macos , but better than having to maintain separate classes for windoom ,
 macos and linux. And I am not even sure if there many pharoers on windoom
 anyway, I rarely see it mentioned here.

 Another interesting candidate is Clutter , its based on Opengl , its a C
 library and seems to even support OpenGL ES for mobile platform and of
 course compiles on windooom, macos and linux .

 http://en.wikipedia.org/wiki/Clutter_(toolkit)
 lt;http://en.wikipedia.org/wiki/Clutter_(toolkit)gt;

 I also heard its quite small and easy to use , so maybe morphic could be
 based on it. I have not used it myself so I cant vouch for it.


 Sean P. DeNigris wrote
 
  kilon wrote
  And the fact that Morphic is written in smalltalk and not just another
 C
  library, is hard to beat for customization
  When one wants to do something non-standard, Morphic is insanely
 powerful.
  The only issue I have is cleaning and refactoring. I think the
 underlying
  idea is brilliant.
  kilon wrote
  The only problem is that QT is a C++ library and AFAIK pharo FFIs do
 not
  support C++ libraries because of name mangling.
  You have to export the functionality you want to use as C functions.
 Not
  that hard, but I've only tried it for proof-of-concepts





 --
 View this message in context:
 http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710156.html
 Sent from the Pharo Smalltalk Developers mailing list archive at
 Nabble.com.







--
View this message in context: 
http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710182.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-24 Thread Sven Van Caekenberghe
Kilon,

Here is another example:

OrderedCollection streamContents: [ :out |
  [ ZnClient new 
signalProgress: true; 
url: 'http://stfx.eu/PharoV20.sources'; 
downloadTo: '/tmp' ]
 on: HTTPProgress 
 do: [ :notification | out nextPut: notification. notification resume ] ].

The resulting collection has more than 1000 elements.
So from the standpoint of Zn it works.
What is then done with the notifications is another thing.

Regards,

Sven

On 24 Sep 2013, at 22:53, kilon theki...@yahoo.co.uk wrote:

 The confusion of the noob, I saw a method though it was a class, did not see
 self in front of it. Yeap its definitely Zinc , its staring me in the face
 with that blank look :D
 
 Ok then its certainly my lack of understanding. I will take my time learning
 how Zinc works and how progress bar works. Will take a deeper look into how
 Monticello uses it. Thanks for the help, I should be able to figure this
 out. If not you will know it by the deep sounds I make when I hit my head
 against the wall.  
 
 
 Sven Van Caekenberghe-2 wrote
 On 24 Sep 2013, at 22:23, kilon lt;
 
 thekilon@.co
 
 gt; wrote:
 
 Actually it works its just that is not meant to create a progress bar. 
 
 To create a progressbar I created a new test
 
 testProgressBar
 UIManager default informUserDuring: [ :bar |
 [ ^ ZnClient new
 signalProgress: true;
 get: 'http://zn.stfx.eu/echo?delay=2' ]
 on: HTTPProgress 
 do: [ :progress | 
 bar label: progress printString. 
 progress isEmpty ifFalse: [ bar current: 
 progress percentage ].
 progress resume ] ]
 
 it displays the progressbar , but it displays no progress (blue bar
 thing)
 and it close as soon as it finish the get. I tried to implement that  in 
 
 createImageFromTemplate
 | name   |
 name := UIManager default request: 'Image name?'.
 self showDownloadInProgress.
 [UIManager default informUserDuring: [ :bar |
 [   imageGroup extractTemplate: self selectedTemplate to: name]
 on: HTTPProgress 
 do: [ :progress | 
 bar label: progress printString. 
 progress isEmpty ifFalse: [ bar current: 
 progress percentage ].
 progress resume ] ]] on: PhLDownloadError
 do: [ :err | 
 UIManager default alert: err longDescription.
 ^ self ].
 
 
 self updateAll.
 
 I assume that code is deeply flawed , hence why it does not display me
 any
 progressbar at all. Looks like I have a lot to learn. 
 
 First I am not sure if ZnClient downloads in packets and if it reports
 progress per packet  . If its progress is upon success of download then
 it
 does not help at all , because in that case there will be only one stage
 of
 progress upon success of download. I want multiple stages of progress so
 the
 download bar increases from 0% to 100%(preferably per kb ). IF that is
 the
 cace then probably I will be better using the HTTP client of monticello
 to
 download the images which I know it works that way. 
 
 Is there a particular reason why we should stick to Zinc ? 
 
 The HTTP client of Monticello _is_ ZnClient, see
 MCHttpRepository#httpClient ;-)
 
 Now, for performance reasons, progress in only signalled every ZnUtils
 class#streamingBufferSize which is currently 16K.
 
 Apart from that, the download might go that fast that there is little to
 show.
 
 I am certainly not claiming that the HTTPProgress stuff is perfect, but it
 seems to work.
 
 I am open to suggestions :) 
 
 
 Sven Van Caekenberghe-2 wrote
 On 24 Sep 2013, at 15:18, kilon lt;
 
 thekilon@.co
 
 gt; wrote:
 
 ah yes of course. Ok thanks for adding me. 
 
 I took a look at the code, it points back to Zinc , it look like I
 would
 need to override  ZnClient  withProgressDo: , no Idea how to do this
 currently but will continue looking into . I also found how monticello
 uses
 progress bars when downloading repos but it does not seem to use Zinc
 at
 all. So yeah this will take me quite some time to implement. 
 
 Progress is indicated by HTTPProgress Notification that are being
 signalled by the underlying code. You have to catch them and do
 something
 with them.
 
 Have a look at ZnClientTests#testProgress
 
 Although the example in the comment does no longer seem to work...
 
 Its Fun none the less ;) 
 
 
 
 Damien Cassou wrote
 On Tue, Sep 24, 2013 at 1:21 PM, kilon lt;
 
 thekilon@.co
 
 gt; wrote:
 yeah I will give it a try, don't know how long will take me but I
 like
 what
 you have done with Pharo Launcher. I will create an enhancement issue
 when I
 have it working as I want and report back. Esteban has granted me
 commit
 right to pharo 3 inbox too so I will commit there. Or do 

Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner

2013-09-24 Thread btc




kilon wrote:

  I agree, Morphic is quite messy but its design is very solid. Its just like
any huge library need to go under a cleanup phase and be improved. 

I checked to find out if QT can be accessed from C , the short answer is no.
So move along nothing to see here. 

I dont know what you mean by "export the functionality to C functions" if
that means rewriting code from C++ to C , then I will have to pass, QT is
huge , even if we utilized the whole pharo community we would not be able to
do this. I think focusing on morphic and existing functionality of Mars will
do for now. 

The way I see it best candidate so far is GTK. Not so good on windows and
macos , but better than having to maintain separate classes for windoom ,
macos and linux. And I am not even sure if there many pharoers on windoom
anyway, I rarely see it mentioned here. 

Another interesting candidate is Clutter , its based on Opengl , its a C
library and seems to even support OpenGL ES for mobile platform and of
course compiles on windooom, macos and linux .

http://en.wikipedia.org/wiki/Clutter_(toolkit)
http://en.wikipedia.org/wiki/Clutter_(toolkit)  

I also heard its quite small and easy to use , so maybe morphic could be
based on it. I have not used it myself so I cant vouch for it.   


Sean P. DeNigris wrote
  
  
kilon wrote


  And the fact that Morphic is written in smalltalk and not just another C
library, is hard to beat for customization
  

When one wants to do something non-standard, Morphic is insanely powerful.
The only issue I have is cleaning and refactoring. I think the underlying
idea is brilliant.
kilon wrote


  The only problem is that QT is a C++ library and AFAIK pharo FFIs do not
support C++ libraries because of name mangling.
  

You have to export the functionality you want to use as C functions. Not
that hard, but I've only tried it for proof-of-concepts

  
  
  

How about using a C++ interface generator like SWIG?
http://www.swig.org/exec.html
http://is.muni.cz/th/256594/fi_m/thesis.pdf
(note I haven't used this, I've just been browsing around for interest)

cheers -ben