[Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Saša Janiška
Hello, I've decided to end my search for an appropriate language/environment in order to write open-surce multi-platform with Pharo. :-)  Playing a bit with 5.0 image, watching Dimitris' tutorial series, reading several articles (I like Richard's Smalltalk-Talk), subscribed to the mailing lists..

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Cyril Ferlicot
Hi, I don't have too much time now so I will try to answer fast. First, be careful with Pharo 5 because this is an alpha. There is high chance that some things breake. If you find some bug you can report it on pharo's fogbugz (the link is on Pharo website). For the deployment you have a differen

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Saša Janiška
On Pet, 2015-12-25 at 11:48 +0100, Cyril Ferlicot wrote: > First, be careful with Pharo 5 because this is an alpha. There is high > chance that some things breake. If you find some bug you can report it > on pharo's fogbugz (the link is on Pharo website). OK. No problem. > For the deployment yo

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Dimitris Chloupis
I am on holidays to at London for Christmas with no direct access to my machine. But you can get a very good idea how to do what you want by taking a look at standalone Pharo apps like Phratch and Dr Geo . The good news is that is both very easy and extremely flexible. You can also change the icon

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Saša Janiška
On Pet, 2015-12-25 at 16:01 +, Dimitris Chloupis wrote: > I am on holidays to at London for Christmas with no direct access to > my machine. Thanks a lot for your tutorial series and please, enjoy your holidays. ;) > But you can get a very good idea how to do what you want by taking a > look

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread stepharo
Le 25/12/15 14:41, Saša Janiška a écrit : On Pet, 2015-12-25 at 11:48 +0100, Cyril Ferlicot wrote: First, be careful with Pharo 5 because this is an alpha. There is high chance that some things breake. If you find some bug you can report it on pharo's fogbugz (the link is on Pharo website).

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Saša Janiška
On Pet, 2015-12-25 at 17:38 +0100, stepharo wrote: > In the future we plan to do better for deployment but for now we > deploy an image and control the debugger (check UnhandledError) and > menu OK. Good. Sincerely, Gour -- A person is considered still further advanced when he regards honest

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Hernán Morales Durand
Hi Dimitris, 2015-12-25 13:01 GMT-03:00 Dimitris Chloupis : > I am on holidays to at London for Christmas with no direct access to my > machine. > > But you can get a very good idea how to do what you want by taking a look > at standalone Pharo apps like Phratch and Dr Geo . The good news is that

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Dimitris Chloupis
As I said I away but if you are in hurry you can see the code here https://github.com/kilon/ChronosManager/blob/master/ChronosManager.package/ChronosManager.class/class/updateToLatestVersion.st The idea is that the class carries the current release of the project that is installed while the lates

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Hernán Morales Durand
2015-12-25 14:37 GMT-03:00 Dimitris Chloupis : > As I said I away but if you are in hurry you can see the code here > > > https://github.com/kilon/ChronosManager/blob/master/ChronosManager.package/ChronosManager.class/class/updateToLatestVersion.st > > Thank you Dimitris, no rush for this. > The

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Dimitris Chloupis
Yes exactly the version is returned by the class. Obviously that should increase with each new release but for me at least that's sensible coding. I was also considering a better scheme for the periodical checks so your code could help me there because I don't want more than one check per month. So

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Ben Coman
On Sat, Dec 26, 2015 at 3:01 AM, Dimitris Chloupis wrote: > I am on holidays to at London for Christmas with no direct access to my > machine. > > But you can get a very good idea how to do what you want by taking a look at > standalone Pharo apps like Phratch and Dr Geo . The good news is that is

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread stepharo
After that you can start removing packages you don't need, Pharo is in the process of of being modularlized so that is easy to start with a skeleton image. The modularization process is going within V5.0? Yes and it started from day one. We are continuously working on it. It is just a daunting

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread stepharo
There is an auto update in Pharo. This is the one we use for building it. Have a look at the way the script loader is built. It fetches a numbered collection of cs and compares their number with the current number of the image and load the delta. stef Le 25/12/15 22:50, Ben Coman a écrit : On

Re: [Pharo-users] example of stand-alone desktop app

2015-12-25 Thread Dimitris Chloupis
It's possible if releases are published / committed in a Github repo. It can even include VM and all other dependencies. As a matter of facts this code can work for even the updating Pharo itself completely bypassing Pharolauncher. GitHub and git can easily handle binary files of any size. On Fri,

Re: [Pharo-users] example of stand-alone desktop app

2015-12-26 Thread Damien Cassou
On December 25, 2015 11:17:01 AM GMT+01:00, "Saša Janiška" wrote: >Hello, > >I've decided to end my search for an appropriate language/environment >in >order to write open-surce multi-platform with Pharo. :-)  > >Playing a bit with 5.0 image, watching Dimitris' tutorial series, >reading several a