[Pharo-users] Running a headless server

2017-07-03 Thread sergio ruiz
Hi, all.. I have started looking at the zeroconf scripts, and i think i have most of this figured out..  I just have a few questions, to make sure I am doing this correctly. In order to run the current image headless, should I just do something like: ./pharo Pharo.image —no-quit & I can load

[Pharo-users] PharoCloud Ephemeric Cloud updates

2017-07-03 Thread mikefilonov
Hi, Some updates on Ephemeric Cloud development: 1) Ephemeric cloud moved from OVH to Digital Ocean. In theory this opens an opportunity to run instances in different datacenter regions of DO. I think about adding a node in Frankfurt. Any thoughts? 2) Added support for Pharo 6 (32 bits only for

Re: [Pharo-users] Glamour: update presenter with new text

2017-07-03 Thread Juraj Kubelka
> El 03-07-2017, a las 22:28, Hilaire escribió: > > I will be curious to know how to do that… You may have a wrapper that holds the compiled method. So, the method list can hold your wrappers instead of compiled methods. Than your wrapper could listen to the system announcer for changes and up

Re: [Pharo-users] Glamour: update presenter with new text

2017-07-03 Thread Hilaire
I will be curious to know how to do that... Le 03/07/2017 à 18:08, Andrei Chis a écrit : > 'aCompiledMethod' references the old method. To make this work you'll > need to not reference the compiled method object directly or also > refresh the list of methods. -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Glamour: update presenter with new text

2017-07-03 Thread Andrei Chis
If I'm not mistaken CompiledMethod instances are immutable. When you run 'compiledMethod methodClass compile: presentation text' another CompiledMethod object is created and installed in the methods dictionary. So in the display block 'aCompiledMethod' references the old method. To make this work y

Re: [Pharo-users] Glamour: update presenter with new text

2017-07-03 Thread Hilaire
Sorry for the text formating, it was wrong, hope it is better now: || || |sourceIn: composite| |^ composite pharoMethod| |title: 'Source code' translated;| |smalltalkClass: [ :each | each methodClass];| |display: [ :aCompiledMethod | aCompiledMethod sourceCode ];|

Re: [Pharo-users] Glamour: update presenter with new text

2017-07-03 Thread Hilaire
Ah sorry no it is not working as expected. When I saved a modified method, the presenter got its source text updated (good), but the morph view is reversed to its previous content. Here is the code I use, anything wrong in the code bellow? Thanks Hilaire sourceIn: composite ^ composite pharoMe

Re: [Pharo-users] Syntax colouring in Glamouros script presentation

2017-07-03 Thread Hilaire
Thanks, worked ! Le 03/07/2017 à 14:46, Andrei Chis a écrit : > Hi, > > By default the GLMPharoMethodPresentation should do syntax > highlighting. You just need to set the class in whose context syntax > highlighting will be done using #smalltalkClass:. If this doesn't > work some code of how to

Re: [Pharo-users] [Moose-dev] Glamour accordion presentation

2017-07-03 Thread Andrei Chis
Hi, Unfortunately the accordion widget is a bit underdeveloped. A few more comments below. On Mon, Jul 3, 2017 at 2:42 PM, Peter Uhnák wrote: > Hi, > > I'm playing around with Glamour and accordion presentation, however there > are couple things I'm struggling with. > > I have a simple presenta

Re: [Pharo-users] Syntax colouring in Glamouros script presentation

2017-07-03 Thread Andrei Chis
Hi, By default the GLMPharoMethodPresentation should do syntax highlighting. You just need to set the class in whose context syntax highlighting will be done using #smalltalkClass:. If this doesn't work some code of how to reproduce the problem would help. Cheers, Andrei On Mon, Jul 3, 2017 at

[Pharo-users] Glamour accordion presentation

2017-07-03 Thread Peter Uhnák
Hi, I'm playing around with Glamour and accordion presentation, however there are couple things I'm struggling with. I have a simple presentation: ``` | browser data| data := { 'First' -> #(1 2 3). 'Second' -> #(a b c). 'Third' -> #(A B C). 'Fourth' -> #(! @ #'#'). }. browser := GLMTabulator ne

Re: [Pharo-users] Glamour: update presenter with new text

2017-07-03 Thread Hilaire
Thanks Le 02/07/2017 à 20:21, Andrei Chis a écrit : > You should send #update to the presentation. By default the > presentation does not update when an action is executed, as the action > could be anything. > -- Dr. Geo http://drgeo.eu

[Pharo-users] Syntax colouring in Glamouros script presentation

2017-07-03 Thread Hilaire
Hi, Is it possible to have colouring in PharoMethod presenter. When I use it from my method presenter in the DrGeoScrpitBrowser it is not colouring. Thanks Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Pharo6.0 for linux and PharoV60.sources location

2017-07-03 Thread Marc Hanisch via Pharo-users
--- Begin Message --- Hi Andreas, Yes, that was me. Unfortunately I did not get an answer. I solved this by copying the sources file into the location where Pharo is looking for it. Due to the missing sources file, variables and arguments got renamed automatically... I still don't understand why

[Pharo-users] Pharo6.0 for linux and PharoV60.sources location

2017-07-03 Thread Andreas Sunardi
Pardon me if this has been discussed before. I seem to recall somebody ran into this issue or related to this, but I don't remember what the solution was, if there was any. The linux Pharo 6 download package from Pharo web site has different VM directory structure than Pharo 5. The PharoV60.source