Re: [Pharo-users] Pharo sprint & Moose dojo this Friday

2015-07-06 Thread Alexandre Bergel
Cool! I will be around! Alexandre > On Jul 6, 2015, at 4:56 PM, Jean-Christophe Bach > wrote: > > Hello Pharoers, > > We propose a Pharo sprint / Moose dojo this Friday, 10th July, starting > at 10:00am. (Local Time Lille). > > It will be at the Inria Lille, Building B, third floor (RMoD o

Re: [Pharo-users] Kivy

2015-07-06 Thread stepharo
Le 6/7/15 20:32, Stephan Eggermont a écrit : On 06-07-15 17:25, H. Hirzel wrote: I think to illustrate this it might be a nice experiment to develop a 'hello world' equivalent for GUI construction and have it rendered in as many user interface languages as possible (Kivy, various types of Morp

Re: [Pharo-users] customizing SystemWindow menu

2015-07-06 Thread stepharo
Usman open a bug entry. Stef Le 6/7/15 16:51, Usman Bhatti a écrit : yep, this is what I was looking for. Thanks. Still, it will be nice to have the method I suggested to replace the default menu. regards. On Mon, Jul 6, 2015 at 4:01 PM, Franck Warlouzet mailto:franck.warlou...@hotmail.fr

Re: [Pharo-users] Situation - Raspberry PI and Pharo + Squeak

2015-07-06 Thread stepharo
This is good to know that you use the spur vm with Pharo 50. Le 5/7/15 21:24, Attila Magyar a écrit : Hi Marten, Currently I'm using this this vm from here http://www.mirandabanda.org/files/Cog/VM/VM.r3395/cogspurlinuxhtARM-15.26.3395.tgz with the latest Pharo 5 spur image from here http://f

Re: [Pharo-users] I probably messed up with .changes...

2015-07-06 Thread stepharo
Mathieu if your image is running and your tests are green then we should be able to recover the decompiled version. I did some testings and I found a way to reproduce what I experienced : If you manually rename an image without renaming the .changes you cannot browse the code inside Nautil

Re: [Pharo-users] I probably messed up with .changes...

2015-07-06 Thread stepharo
Mathieu This is really strange, I also got the same problem a couple of weeks ago. I imgaine that you are working with a 50 image. We may have introduced a regression. As a general principle I tried to publish often. Now you can also get in this situation when you open twice the same image a

Re: [Pharo-users] Kivy

2015-07-06 Thread H. Hirzel
Peter, Sorry for not reading your post properly, yes you write that Spec offers the option to write adapters for other back-ends. So I think the issue is to try to come up with an example which uses some other adapters, e.g. XHTML (--> phonegap?) Kivy not necessarily complete, but co

Re: [Pharo-users] Kivy

2015-07-06 Thread H. Hirzel
On 7/6/15, Peter Uhnák wrote: >> >> > In addition the widgets as such might be rendered differently for >> > different platforms (in Smalltalk in one of the GUI frameworks, an >> > example was Squeak Morphic and MVC ) or outside (e.g. Kivy). >> > >> > @Hilaire, what do you think is outstanding of

Re: [Pharo-users] Kivy

2015-07-06 Thread Stephan Eggermont
On 06-07-15 17:25, H. Hirzel wrote: I think to illustrate this it might be a nice experiment to develop a 'hello world' equivalent for GUI construction and have it rendered in as many user interface languages as possible (Kivy, various types of Morphic, Bloc etc., but as PPTX and ODP) The domain

Re: [Pharo-users] Kivy

2015-07-06 Thread Peter Uhnák
> > http://scg.unibe.ch/archive/phd/renggli-phd.pdf Argh where do you find the time to read all these papers, and books, and everything? :-( There must be some dark sorcery involved.

Re: [Pharo-users] Kivy

2015-07-06 Thread Peter Uhnák
> > > In addition the widgets as such might be rendered differently for > > different platforms (in Smalltalk in one of the GUI frameworks, an > > example was Squeak Morphic and MVC ) or outside (e.g. Kivy). > > > > @Hilaire, what do you think is outstanding of special about Kivy? > > > > I think t

Re: [Pharo-users] Kivy

2015-07-06 Thread H. Hirzel
Notes: 1. I understand that Kivy is an _external_ DSL (i.e. it is not Python code), or is it Python code? 2. p 12 to 21 is about "2.1 Internal Languages" 3. The wikipedia example https://en.wikipedia.org/wiki/Kivy is too simple. But the idea of a 'hello world type program' should be maintained a

Re: [Pharo-users] Kivy

2015-07-06 Thread H. Hirzel
On 7/5/15, Alain Plantec via Pharo-users wrote: > {no text body} In his thesis Dynamic Language Embedding With Homogeneous Tool Support http://scg.unibe.ch/archive/phd/renggli-phd.pdf Lukas Renggli p 2 mentions internal DSLs. Internal languages make a creative use of the host

[Pharo-users] Pharo sprint & Moose dojo this Friday

2015-07-06 Thread Jean-Christophe Bach
Hello Pharoers, We propose a Pharo sprint / Moose dojo this Friday, 10th July, starting at 10:00am. (Local Time Lille). It will be at the Inria Lille, Building B, third floor (RMoD offices). Remotely, you can join us on the official IRC channel #pharo on irc.freenode.net server. During the sprint

Re: [Pharo-users] customizing SystemWindow menu

2015-07-06 Thread Usman Bhatti
yep, this is what I was looking for. Thanks. Still, it will be nice to have the method I suggested to replace the default menu. regards. On Mon, Jul 6, 2015 at 4:01 PM, Franck Warlouzet < franck.warlou...@hotmail.fr> wrote: > Hi, > > If I correctly understood, you want to add entries to the sys

Re: [Pharo-users] customizing SystemWindow menu

2015-07-06 Thread Franck Warlouzet
Hi, If I correctly understood, you want to add entries to the system window menu ? To do that, you can implement the method addModelItemsToWindowMenu: aMenu in your class if you want to extend the system window menu. Franck Date: Mon, 6 Jul 2015 15:53:48 +0200 From: usman.bha...@gmail.com To: p

[Pharo-users] customizing SystemWindow menu

2015-07-06 Thread Usman Bhatti
Hi, I wanted to customize system window menu and I could not find a relevant method to change the default pragma used for menu generation. So, I thought it will be nice to have this utility method on SystemWindow if possible: SystemWindow>>menuPragmaNamed: aPragmaName model: aModel menuBuilder :=

Re: [Pharo-users] I probably messed up with .changes...

2015-07-06 Thread Thierry Goubier
2015-07-06 14:39 GMT+02:00 Matthieu Lacaton : > What image version did you use? > > > I used number 50074 > > > Maybe you can iterator over all methods decompile, and save as new code? >> Maybe you can open the image without the changes file and try to create a >> package or file out the package?

Re: [Pharo-users] I probably messed up with .changes...

2015-07-06 Thread Matthieu Lacaton
> > What image version did you use? I used number 50074 Maybe you can iterator over all methods decompile, and save as new code? > Maybe you can open the image without the changes file and try to create a > package or file out the package? > I manually looked inside many of my .changes with No

Re: [Pharo-users] Clearing objects from .changes

2015-07-06 Thread Peter Uhnák
Excellent! Now I have successfully lowered the build size from 38MB to just 13MB. :) Thanks, Peter On Mon, Jul 6, 2015 at 11:10 AM, Sven Van Caekenberghe wrote: > What you (probably) want is called 'condensing the changes'. > Have a look at the class PharoChangesCondenser. > > << I create a ne

Re: [Pharo-users] Clearing objects from .changes

2015-07-06 Thread Sven Van Caekenberghe
What you (probably) want is called 'condensing the changes'. Have a look at the class PharoChangesCondenser. << I create a new more compact changes files with a single version of each method in the image. >> > On 06 Jul 2015, at 11:08, Peter Uhnák wrote: > > Is it possible to remove all refere

[Pharo-users] Clearing objects from .changes

2015-07-06 Thread Peter Uhnák
Is it possible to remove all references to a class after it has been removed everywhere? For example I can delete all classes of package 'Roassal2-Builder-Grapher' ~ pkg := RPackageOrganizer default packageNamed: 'Roassal2'. grapherTag := pkg classTags detect: [ :e

Re: [Pharo-users] I probably messed up with .changes...

2015-07-06 Thread Nicolai Hess
2015-07-06 9:55 GMT+02:00 Matthieu Lacaton : > Hello, > > I would just like to report something that happened to me today. > > As I was working on a project, I tried inserting an instance variable to > one of my classes. > Starting from this moment something became very weird. First, some > subcla

[Pharo-users] I probably messed up with .changes...

2015-07-06 Thread Matthieu Lacaton
Hello, I would just like to report something that happened to me today. As I was working on a project, I tried inserting an instance variable to one of my classes. Starting from this moment something became very weird. First, some subclasses were not listed as subclasses anymore, then I realised