[Pharo-project] About Announcements

2013-05-14 Thread roberto.mine...@usi.ch
Hi, I was trying to use Announcements. In a nutshell I've a spec window which displays a collection of objects that are stored by a manager. By reading the collaborActive book, and the Help menu that comes with Pharo, I managed to have it working but I've a couple of question. Initially I mod

Re: [Pharo-project] [Spec] Expanding nodes programmatically

2013-05-05 Thread roberto.mine...@usi.ch
t; > 2013/5/3 Clément Bera > It is AlainTreeModel. > > Ben told me, I cheated. When I don't know I go ask him. Reportedly he has > sent a mail yesterday about that. But I didn't see it. > > > 2013/5/3 roberto.mine...@usi.ch > > Ok, what's &

Re: [Pharo-project] [Spec] Expanding nodes programmatically

2013-05-03 Thread roberto.mine...@usi.ch
Ok, what's "the correct implementation of tree"? On May 3, 2013, at 4:48 PM, Benjamin wrote: > Use the correct implementation of tree, it will help :) > > Ben > > On May 3, 2013, at 3:49 PM, "roberto.mine...@usi.ch" > wrote: > >> I

Re: [Pharo-project] [Spec] Expanding nodes programmatically

2013-05-03 Thread roberto.mine...@usi.ch
#selectedItem is not selected after expanding the node. Any intuition? Thanks in advance. Cheers, R On May 3, 2013, at 12:02 PM, roberto.mine...@usi.ch wrote: > Hi, > > I built a TreeModel using Spec. I cannot find a way to expand the items in > the model by using the left arrow on th

[Pharo-project] [Spec] Expanding nodes programmatically

2013-05-03 Thread roberto.mine...@usi.ch
Hi, I built a TreeModel using Spec. I cannot find a way to expand the items in the model by using the left arrow on the keyboard. I cannot find neither the correct binding nor the correct message to call. Any hint here? Thanks in advance, R

Re: [Pharo-project] Cmd + D

2013-05-01 Thread roberto.mine...@usi.ch
Done. https://pharo.fogbugz.com/default.asp?10467#75911 On May 1, 2013, at 2:12 PM, Marcus Denker wrote: > > On Apr 30, 2013, at 4:49 PM, roberto.mine...@usi.ch wrote: > >> Of course, but I do not know how to do it. >> > > https://pharo.fogbugz.com/ > >

Re: [Pharo-project] Cmd + D

2013-04-30 Thread roberto.mine...@usi.ch
Of course, but I do not know how to do it. On Apr 30, 2013, at 4:45 PM, Marcus Denker wrote: > > On Apr 30, 2013, at 4:44 PM, "roberto.mine...@usi.ch" > wrote: > >> Indeed, or being disabled since CMD + X will do the same :) >> >> Would b

Re: [Pharo-project] Cmd + D

2013-04-30 Thread roberto.mine...@usi.ch
Indeed, or being disabled since CMD + X will do the same :) Would be cool that CMD + D duplicates the class :) On Apr 30, 2013, at 4:30 PM, Marcus Denker wrote: > > On Apr 30, 2013, at 4:28 PM, Marcus Denker wrote: > >> >> On Apr 30, 2013, at 4:21 PM, roberto

Re: [Pharo-project] Cmd + D

2013-04-30 Thread roberto.mine...@usi.ch
cted just do CMD + D and it will magically disappears. ;) > >> >> can you give more details? >> >> On 2013-04-30, at 15:47, "roberto.mine...@usi.ch" >> wrote: >> >>> Hi, >>> >>> It happened many times to me that

Re: [Pharo-project] Cmd + D

2013-04-30 Thread roberto.mine...@usi.ch
; On 2013-04-30, at 15:47, "roberto.mine...@usi.ch" > wrote: > >> Hi, >> >> It happened many times to me that I press CMD + D on a class in the System >> browser (i.e., my aim is to duplicate a class, as in many other apps CMD + D >> would do) bu

[Pharo-project] Cmd + D

2013-04-30 Thread roberto.mine...@usi.ch
Hi, It happened many times to me that I press CMD + D on a class in the System browser (i.e., my aim is to duplicate a class, as in many other apps CMD + D would do) but in Pharo that shortcut deletes the class without asking for confirmation. What's your take? Is that a shortcut that has been

Re: [Pharo-project] Synchronous Spec

2013-04-30 Thread roberto.mine...@usi.ch
WithSpec. > > ui returnedValue. "you will arrive here only once the dialog is validated and > closed" > > I quickly wrote this example, but I think you can find more in the system > (and I can provide you more examples as well) > (Note that in the second part, you d

[Pharo-project] Synchronous Spec

2013-04-30 Thread roberto.mine...@usi.ch
Hi, As far as I understood, Spec is sort of asynchronous, let me explain. I implemented my ComposableModel (i.e., MyWindow) as a window with a TextModel, a DropList model, and two buttons: ok and cancel. The behavior I want to achieve is something that is easily doable with StandardWindow, som

Re: [Pharo-project] Spec LabelModel color

2013-04-29 Thread roberto.mine...@usi.ch
t: aText > > "Set the text of the label" > > textHolder contents: (aText asText addAttribute: TextColor black) > > Then all the LabelModels will be black. > > > > 2013/4/29 roberto.mine...@usi.ch > By the way I used a fresh Pharo

Re: [Pharo-project] Spec LabelModel color

2013-04-29 Thread roberto.mine...@usi.ch
By the way I used a fresh Pharo 2.0 image and labels are still white :D Do I have to use Pharo 3.0 to have black labels? Cheers, R On Apr 29, 2013, at 3:32 PM, Benjamin wrote: > I can't say because I never use Moose image > > Ben > > On Apr 29, 2013, at 3:07 PM, &qu

Re: [Pharo-project] Spec LabelModel color

2013-04-29 Thread roberto.mine...@usi.ch
kages are not updated, right? I think it would be a nice-to-have. Cheers, R On Apr 29, 2013, at 2:07 PM, roberto.mine...@usi.ch wrote: > Thanks for the answers… I will update to the last image ;) > > On Apr 29, 2013, at 1:38 PM, Benjamin > wrote: > >> In the

Re: [Pharo-project] Spec LabelModel color

2013-04-29 Thread roberto.mine...@usi.ch
Thanks for the answers… I will update to the last image ;) On Apr 29, 2013, at 1:38 PM, Benjamin wrote: > In the latests image, it should be black :) > > Which image are you using ? > Ben > > On Apr 29, 2013, at 12:27 PM, roberto.mine...@usi.ch wrote: > >> Hi, >

[Pharo-project] Spec LabelModel color

2013-04-29 Thread roberto.mine...@usi.ch
Hi, I'm building a small UI with spec and I have a problem with the LabelModel. Is there any way to change the default color (white) of the #text: in a LabelModel? Thanks, Roberto

Re: [Pharo-project] ConfigurationOfSpec is outdated

2013-04-09 Thread roberto.mine...@usi.ch
n > > On Apr 9, 2013, at 1:15 PM, "roberto.mine...@usi.ch" > wrote: > >> Hi, >> >> I want to report that the ConfigurationOfSpec is outdated: In a nutshell, if >> you use the ConfigurationOfSpec located at http://ss3.gemstone.com/ss/Spec

[Pharo-project] ConfigurationOfSpec is outdated

2013-04-09 Thread roberto.mine...@usi.ch
Hi, I want to report that the ConfigurationOfSpec is outdated: In a nutshell, if you use the ConfigurationOfSpec located at http://ss3.gemstone.com/ss/Spec it loads older version of the Spec packages with respect to the packages already loaded in a Pharo 2.0 image. I've seen that there is a pag

[Pharo-project] Hot keys in Pharo

2013-04-08 Thread roberto.mine...@usi.ch
Hi, When I attended PharoConf last week, I've seen that there are many keyboard shortcuts embedded in Pharo that I wasn't aware of (e.g., creating a default initialize message). IMHO it would be cool to collect all such hot keys in a webpage or Wiki since those are really a killer features for

Re: [Pharo-project] Collect all references to AnObsoleteFoo

2013-04-07 Thread roberto.mine...@usi.ch
t; If not, could be write your awesome code in the Fuel website? > > Thanks!!! :) > > > > > On Sat, Apr 6, 2013 at 8:26 AM, roberto.mine...@usi.ch > wrote: > Martin, your solution is awesome. > > I've seen the presentation at Pharoconf about setting an

Re: [Pharo-project] Collect all references to AnObsoleteFoo

2013-04-06 Thread roberto.mine...@usi.ch
Martin, your solution is awesome. I've seen the presentation at Pharoconf about setting an analyzer to the serializer and I was thinking in that direction. Thanks a lot, R On Apr 5, 2013, at 4:59 PM, Martin Dias wrote: > As Fernando said, probably is better for you to substitute the obsolete

Re: [Pharo-project] ConfigurationOf

2013-04-06 Thread roberto.mine...@usi.ch
On Apr 6, 2013, at 10:26 AM, stephane ducasse wrote: > > On Apr 5, 2013, at 11:58 AM, roberto.mine...@usi.ch wrote: > >> Hi, >> >> I build the ConfigurationOf for my current project and it works fine, but I >> have some doubts. >> My project has dep

Re: [Pharo-project] ConfigurationOf

2013-04-05 Thread roberto.mine...@usi.ch
cies on them. > Of course, this should follow all references to this. > > Alternative is that you do it positive, saying: > > spec for: #( #'squeak' #'pharo1.x' ) do: [ > … > ] > > Regards, > Diego > > > On Apr 5, 2013, at 11

[Pharo-project] ConfigurationOf

2013-04-05 Thread roberto.mine...@usi.ch
Hi, I build the ConfigurationOf for my current project and it works fine, but I have some doubts. My project has dependencies on two other projects, namely Spy and Fuel. In my ConfigurationOf I'm loading these two projects before fetching my code. The point is that, for example, I'm loading Fuel

Re: [Pharo-project] Collect all references to AnObsoleteFoo

2013-04-01 Thread roberto.mine...@usi.ch
Thanks for your answer! On Apr 2, 2013, at 12:03 AM, Yanni Chiu wrote: > They arise when you delete a class, but you still have references to the > class in the image. You could have instances of the deleted class, references > to the class in a method, or even subclasses that refer the the de

Re: [Pharo-project] Collect all references to AnObsoleteFoo

2013-04-01 Thread roberto.mine...@usi.ch
me. >> Can you post the list of classes that are obsolete? >> >> Cheers, >> Max >> >> >> >> On 01.04.2013, at 16:51, roberto.mine...@usi.ch wrote: >> >>> Hi, >>> >>> I'm getting crazy about obsolete behavi

Re: [Pharo-project] Collect all references to AnObsoleteFoo

2013-04-01 Thread roberto.mine...@usi.ch
that are obsolete? Obsolete classes I encountered were all "obsolete versions" of classes I defined :) > > Cheers, > Max > > > > On 01.04.2013, at 16:51, roberto.mine...@usi.ch wrote: > >> Hi, >> >> I'm getting crazy about obsolete

[Pharo-project] Collect all references to AnObsoleteFoo

2013-04-01 Thread roberto.mine...@usi.ch
Hi, I'm getting crazy about obsolete behaviors and any help here is really appreciated. In a nutshell, I have a Dictionary (containing receivers of method calls, i.e., classes) that I need to serialize in a file (i.e., using Fuel). Fuel returns an error in FLGlobalClassCluster>>#serializeGloba

[Pharo-project] Roassal nested nodes withText

2012-12-05 Thread roberto.mine...@usi.ch
Hi guys, I'm using Roassal to build a visualization that looks like the following: http://www.xconomy.com/wordpress/wp-content/images/2012/11/skeuo-calendar.png I create two ad-hoc layouts (i.e., extending the ROGridLayout) to individually layout days inside months and months inside years. I h

[Pharo-project] Versioning external packages

2012-11-27 Thread roberto.mine...@usi.ch
Hi all, I'm using Monticello to version my source code. Suppose this use case: I need to add a message to the OrderedCollection class and I want my message to be versioned within my repository (i.e., when an user downloads my package she also get the new message in the OrderedCollection class

[Pharo-project] Loading dependencies

2012-11-21 Thread roberto.mine...@usi.ch
Hi, At the moment I'm creating an analysis tool for Git repositories. I'm versioning my source code on Smalltalkhub, so that I can easily load my code in a fresh image, when needed. My project depends on several external packages such as the Filesystem-Git, Fuel, and the last version of Filesy

[Pharo-project] Is the one-click image *really* self contained?

2012-11-15 Thread roberto.mine...@usi.ch
Hi all, Since this morning every time I open Pharo 2.0 an error pops out. Here's the full trace: Parser>>notify:at: Parser>>expected: Parser>>braceExpression Parser>>primaryExpression Parser>>messagePart:repeat: Parser>>expression Parser>>statements:innerBlock:blockNode: Parser>>statements:inner

[Pharo-project] Is the one-click image *really* self contained?

2012-11-15 Thread roberto.mine...@usi.ch
Hi all, Since this morning every time I open Pharo 2.0 an error pops out. Here's the full trace: Parser>>notify:at: Parser>>expected: Parser>>braceExpression Parser>>primaryExpression Parser>>messagePart:repeat: Parser>>expression Parser>>statements:innerBlock:blockNode: Parser>>statements:inner

[Pharo-project] OSProcess in Pharo 2.0

2012-11-09 Thread roberto.mine...@usi.ch
Hi, I'd like to script some shell commands in Pharo 2.0. Is there any way to do that in Pharo? It seems OSProcess class is suitable but seems it's not yet fully ported in Pharo 2.0. Thanks, Roberto

Re: [Pharo-project] Increase memory

2012-11-08 Thread roberto.mine...@usi.ch
r writing about large > images and vm's. Then, I'll look around.. Thanks.. > > > > On Thu, Nov 8, 2012 at 2:16 PM, roberto.mine...@usi.ch > wrote: > Hi, > > I was executing a piece of code that collects the revisions of a Git repo in > Pharo but it see

[Pharo-project] Increase memory

2012-11-08 Thread roberto.mine...@usi.ch
Hi, I was executing a piece of code that collects the revisions of a Git repo in Pharo but it seems Pharo requires more memory.. How do I increase the available memory? Here is the log: SmalltalkImage>>signalLowSpace OutOfMemory>>defaultAction UndefinedObject>>handleSignal: OutOfMemory(Excepti

Re: [Pharo-project] Git API for Pharo

2012-11-07 Thread roberto.mine...@usi.ch
Hi Max, At the end of the day I managed to install and use FileSystem-Git. I was not able to run the quick start guide in the help browser, but i managed to run the ** Working with repositories ** guide. However, I encountered a weird error. Here are the steps to reproduce: 1. Clone an existin

Re: [Pharo-project] Git API for Pharo

2012-11-07 Thread roberto.mine...@usi.ch
help (after you've loaded the packages), so go > to World menu -> Help -> Help Browser > > Max > > > On 07.11.2012, at 10:23, Damien Cassou wrote: > >> On Wed, Nov 7, 2012 at 10:08 AM, roberto.mine...@usi.ch >> wrote: >>> I tried to install what

Re: [Pharo-project] Git API for Pharo

2012-11-07 Thread roberto.mine...@usi.ch
elp, there's a dedicated mailing list: > smalltalk-...@googlegroups.com. > > Cheers, > Max > > > On 07.11.2012, at 09:08, "roberto.mine...@usi.ch" > wrote: > >> Hello, >> >> I need to access a Git repository programmatically fro

[Pharo-project] Git API for Pharo

2012-11-07 Thread roberto.mine...@usi.ch
Hello, I need to access a Git repository programmatically from Pharo. Is there any API to work with Git working copies, access and manipulate repositories programmatically? In short I need to checkout each revision of a project and extract some meta-data from each revision. Thanks in advance

Re: [Pharo-project] Hello + postgresql

2012-10-23 Thread roberto.mine...@usi.ch
Il giorno 23-ott-2012, alle ore 14:14, "Mariano Martinez Peck" mailto:marianop...@gmail.com>> ha scritto: On Mon, Oct 22, 2012 at 10:57 PM, roberto.mine...@usi.ch<mailto:roberto.mine...@usi.ch> mailto:roberto.mine...@usi.ch>> wrote: Thank you for the answer. Act

Re: [Pharo-project] Hello + postgresql

2012-10-22 Thread roberto.mine...@usi.ch
e detailed question as soon as I resume my tests :) Cheers, Roberto Il giorno 22-ott-2012, alle ore 22:42, "Mariano Martinez Peck" mailto:marianop...@gmail.com>> ha scritto: On Fri, Oct 19, 2012 at 6:38 PM, roberto.mine...@usi.ch<mailto:roberto.mine...@usi.ch> mailto:r

Re: [Pharo-project] Hello + postgresql

2012-10-19 Thread roberto.mine...@usi.ch
I managed to have Pharo 1.4 with a working version of PostgresV2 native driver. I'll try with a fresh image and dbxtalk and let you guys know. Il giorno 19-ott-2012, alle ore 18:05, "Yanni Chiu" ha scritto: > On 19/10/12 4:05 AM, roberto.mine...@usi.ch wrote: >> &g

[Pharo-project] Hello + postgresql

2012-10-19 Thread roberto.mine...@usi.ch
Hello, Yesterday I wrote on Pharo-users but I was suggested to use the Pharo-project mailing list. I forward my email here, and sorry for cross-posting. I already received some answers, but further hints are appreciated. Cheers, Roberto M. > I am Roberto Minelli, a PhD student in the REVEAL re