Re: [Pharo-users] Changing method definition at runtime

2016-07-26 Thread Eric Velten de Melo
Ben's solution worked perfectly for me. Thanks! Also I had a look at Stef's article but still need to read it more carefully. Thank you all for the references and advice! Eric 2016-07-24 17:48 GMT-03:00 stepharo : > Have a look at my JOOP'99 article because I explain how to develop > instance

Re: [Pharo-users] Spec: Capturing changes in a text morph

2016-07-26 Thread Johan Fabry
No, this is not in initializePresenter, since this is called only once, when the window is opened. Instead, you need to do this every time that the widget is changed. So in your code where you change the widget to a new one, I guess this is changeBody: , you need to configure this new widget.

Re: [Pharo-users] Spec: Capturing changes in a text morph

2016-07-26 Thread Offray Vladimir Luna Cárdenas
Thanks Johan for your quick answer. Your hypothesis is right and the contents of (4) are cleaned by a new widget when I click at the tree (2). I'm looking at my code and documentation, but I can't find properly how to implement your recommendation. I imagine is somewhere in initializePresenter

Re: [Pharo-users] UPnP/IGD implementation

2016-07-26 Thread Henrik Johansen
You don't use SSDP to do the tweaking, but to discover the devices that are available to tweak. Tweaking is subsequently carried out using SOAP/XML. An an uninformed guess, I'd imagine use could look a bit like this: SSDPClient when: IGDServiceAvailable do: [:IGDService | IGDConfigurator

Re: [Pharo-users] Spec: Capturing changes in a text morph

2016-07-26 Thread Johan Fabry
I think the problem is that when you click on an item in the tree (2), the contents of (4) is changed to a new widget. As a result the configuration that you did in initializePresenter is lost. What you should do is when you change the contents of (4) also configure this new widget with a whenT

Re: [Pharo-users] UPnP/IGD implementation

2016-07-26 Thread Norbert Hartl
Thanks, I think I need to read a bit further in order to understand how it works really. Didn't know SSDP ist used when tweaking things with IGD. Norbert > Am 25.07.2016 um 17:01 schrieb Henrik Johansen : > > SSDP covers discovery of the services and how they are set up; SOAP and XML > are th

Re: [Pharo-users] Pharo and GIT

2016-07-26 Thread Dimitris Chloupis
I am using the github interface to do so like this https://github.com/kilon/Ephestos/search?utf8=%E2%9C%93&q=ephestos github also provides a set of keywords to refine searches, I think also regex is supported,you can find more info in these links https://help.github.com/articles/searching-github

Re: [Pharo-users] Pharo and GIT

2016-07-26 Thread Nicolas Passerini
Could you give examples of code searches that you would be able to do in the history. I think that for searching the history of a method or class, it is simpler (and faster) to do it in git than it is to do it in monticello. On Tue, Jul 26, 2016 at 1:31 PM, Dimitris Chloupis wrote: > Github has

Re: [Pharo-users] Pharo and GIT

2016-07-26 Thread Dimitris Chloupis
Github has a search code facility , unless you mean something else. We could take advantage of that and unite it with our ability to browse implementors and classes. There is no limit how deeply we can integrate with git and github and we can extend both via Pharo to make them more Pharo friendly.

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Dimitris Chloupis
Indeed it has , future looks very promising On Tue, 26 Jul 2016 at 14:05, Norbert Fortelny wrote: > > Hi Norbert, > > > > As a newcomer, just curious about your impression of the double-key > > shortcut "Ctrl/Cmd + B + M" shown against the "Implementers of..." > > menu item? > > Do you think you

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Norbert Fortelny
> Hi Norbert, > > As a newcomer, just curious about your impression of the double-key > shortcut "Ctrl/Cmd + B + M" shown against the "Implementers of..." > menu item? > Do you think you would have discovered yourself using meta+m like > Henrik describes if that was what was shown as the menu item

Re: [Pharo-users] VW Store access (Re: Pharo and GIT)

2016-07-26 Thread Ben Coman
On Tue, Jul 26, 2016 at 5:37 PM, Thierry Goubier wrote: > > > 2016-07-26 11:23 GMT+02:00 Ben Coman : >> >> On Tue, Jul 26, 2016 at 3:43 PM, Thierry Goubier >> wrote: >> > Note, for those who miss VW Store, that Squeak has a Magma mapping for >> > code. >> >> This sounds useful. Could you describ

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Ben Coman
On Tue, Jul 26, 2016 at 6:17 PM, Ben Coman wrote: > On Tue, Jul 26, 2016 at 5:18 PM, Torsten Bergmann wrote: >> Norbert Fortelny wrote: >>>Something I have not figured out how to do easily in the Pharo system >>>browser: I am looking at a method and want to see how a message that is used >>>in t

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Ben Coman
On Tue, Jul 26, 2016 at 5:18 PM, Torsten Bergmann wrote: > Norbert Fortelny wrote: >>Something I have not figured out how to do easily in the Pharo system >>browser: I am looking at a method and want to see how a message that is used >>in this >>method is implemented. > > Have a look at my Messag

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Ben Coman
On Tue, Jul 26, 2016 at 4:15 PM, Norbert Fortelny < norbert.forte...@gmail.com> wrote: > What about just adding the method itself as the first item to the list. > Like it is in VW Smalltalk: attached. > Could I try my hand on this? > Does anyone know about possible pitfalls to be aware of? > Old h

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Ben Coman
> -Original Message- > From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of > Norbert Fortelny > Sent: Thursday, July 21, 2016 7:55 PM > To: pharo-users@lists.pharo.org > Subject: [Pharo-users] System Browser "Implementors of..." drill down? > > Something I have not

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Hernán Morales Durand
I like the that one too. Cannot think of any pitfalls. Hernán 2016-07-26 5:15 GMT-03:00 Norbert Fortelny : > What about just adding the method itself as the first item to the list. > Like it is in VW Smalltalk: attached. > Could I try my hand on this? > Does anyone know about possible pitfalls t

Re: [Pharo-users] VW Store access (Re: Pharo and GIT)

2016-07-26 Thread Thierry Goubier
2016-07-26 11:23 GMT+02:00 Ben Coman : > On Tue, Jul 26, 2016 at 3:43 PM, Thierry Goubier > wrote: > > Note, for those who miss VW Store, that Squeak has a Magma mapping for > code. > > This sounds useful. Could you describe it a bit more how to use and > where to get it? > http://wiki.squeak.o

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Esteban Lorenzano
message flow is cool. I would consider seriously to include it in the core tools and ship it with Pharo. Esteban > On 26 Jul 2016, at 11:18, Torsten Bergmann wrote: > > Norbert Fortelny wrote: >> Something I have not figured out how to do easily in the Pharo system >> browser: I am looking a

[Pharo-users] VW Store access (Re: Pharo and GIT)

2016-07-26 Thread Ben Coman
On Tue, Jul 26, 2016 at 3:43 PM, Thierry Goubier wrote: > Note, for those who miss VW Store, that Squeak has a Magma mapping for code. This sounds useful. Could you describe it a bit more how to use and where to get it? cheers -ben

[Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Torsten Bergmann
Norbert Fortelny wrote: >Something I have not figured out how to do easily in the Pharo system >browser: I am looking at a method and want to see how a message that is used >in this >method is implemented. Have a look at my Message Flow browser: http://forum.world.st/ANN-MessageFlowBrowser-td4

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Thierry Goubier
I prefer direct manipulation: - shorten the menu in a code pane, add implementors based on the selected / where cursor is in text (aka smart suggestion): below is the menu for the cursor inside #import:provides:. [image: Images intégrées 1] 2016-07-26 1:33 GMT+02:00 Hernán Morales Durand : > S

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Thierry Goubier
2016-07-24 23:21 GMT+02:00 stepharo : > Feel free to improve the tools. > > This is on my list to improve > > - method categorizer > > - finder to use lists instead of trees (because it is way better) > > - message browser (to make sure that from a scope browser, the env is > passed an

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-26 Thread Norbert Fortelny
What about just adding the method itself as the first item to the list. Like it is in VW Smalltalk: attached. Could I try my hand on this? Does anyone know about possible pitfalls to be aware of? Old hands: any thoughts? On 26/07/2016 01:50, hernanmd [via Smalltalk] wrote: > See attachment > > He

Re: [Pharo-users] Pharo and GIT

2016-07-26 Thread Thierry Goubier
2016-07-26 9:01 GMT+02:00 Serge Stinckwich : > On Tue, Jul 26, 2016 at 12:33 AM, Sean Glazier > wrote: > > Thank you, Peter for documenting that :-). While I think git tools are > OK, > > my opinion though is that Smalltalk hub should be moved forward as well. > At > > cincom the Store experience

Re: [Pharo-users] Pharo and GIT

2016-07-26 Thread Serge Stinckwich
On Tue, Jul 26, 2016 at 12:33 AM, Sean Glazier wrote: > Thank you, Peter for documenting that :-). While I think git tools are OK, > my opinion though is that Smalltalk hub should be moved forward as well. At > cincom the Store experience started out painful and it has its quirks, but > one of the