Re: [Pharo-users] How pragma works to create menu?

2014-07-10 Thread Goubier Thierry
Hi Mark, you can override the standard menu by creating the text view with on:text:accept:readSelection:menu: and pass a menu building selector as the last argument. But you may not be able to recover the default menu that way (I didn't try, but maybe this is possible). In the menu building

Re: [Pharo-users] the mystery of dirty package

2014-05-30 Thread GOUBIER Thierry
28, 2014 at 4:30 PM, Goubier Thierry thierry.goub...@cea.frmailto:thierry.goub...@cea.fr wrote: Hi Usman, look if the loaded package has overrides on other packages. If yes, it will dirty them, and looking for changes will clean them. Thierry Le 28/05/2014 15:59, Usman Bhatti a écrit : Hi

Re: [Pharo-users] the mystery of dirty package

2014-05-28 Thread Goubier Thierry
Hi Usman, look if the loaded package has overrides on other packages. If yes, it will dirty them, and looking for changes will clean them. Thierry Le 28/05/2014 15:59, Usman Bhatti a écrit : Hi, It is second time in a week that I have to analyze a problem related to a package getting dirty

Re: [Pharo-users] Metacello with git

2014-05-19 Thread Goubier Thierry
Hi, you can use gitfiletree (for Mac and Linux); you have to ensure ConfigurationOfGitFileTree is loaded in your configuration. Have a look at ConfigurationOfSmaCC and ConfigurationOfAltBrowser for examples (in the Pharo3 configuration browser). Thierry Le 19/05/2014 11:46, Laurent

Re: [Pharo-users] Minimal browser

2014-05-15 Thread Goubier Thierry
up, then a restricted browser is best (and then, if we want to keep to standards in Pharo, it means Nautilus). Is DrGeo development open so that I may write it myself ? Thierry Hilaire Le 15/05/2014 09:18, Goubier Thierry a écrit : Have you considered controlling the user experience

Re: [Pharo-users] Receiving Nautilus notice when code is changed

2014-05-14 Thread Goubier Thierry
Hi Hilaire, you can track the system announcements MethodModified and MethodAdded; they are browser independent (but then you need to filter to see it relates to the method you are interested in). SystemAnnouncer uniqueInstance weak on: MethodAdded send: #update: to: self domain. Thierry

Re: [Pharo-users] Receiving Nautilus notice when code is changed

2014-05-14 Thread Goubier Thierry
Le 14/05/2014 15:38, Hilaire Fernandes a écrit : Thanks Thierry. This one I really can't discover it. Oh you could like I did: spending ages looking at the Browser, Nautilus and OmniBrowser code ;) Keep up the good work with DrGeo: it's really one of the flagship Pharo apps that I talk

Re: [Pharo-users] Updating packages from command line

2014-05-02 Thread GOUBIER Thierry
What I use is eval --save: pharo-vm-nox MyImage.image eval --save Gofer new smalltalkhubUser: 'myUser' project: 'MyProject'; package: 'MyPackage'; load Thierry De : Pharo-users [pharo-users-boun...@lists.pharo.org] de la part de Bernat Romagosa

Re: [Pharo-users] Updating packages from command line

2014-05-02 Thread GOUBIER Thierry
Bernat, if I encounter something like that, I would also erase the contents of my package-cache directory. Sometimes it seems I never manage to activate changes because it keeps on loading a package of the same name and number out of the cache instead. Thierry

Re: [Pharo-users] can we have the pharo theme back please?

2014-04-11 Thread Goubier Thierry
Le 10/04/2014 20:11, kmo a écrit : The pharo theme seems to have been dropped from Pharo 3. I loved that theme. The first thing I always do is switch to the pharo theme. Is it still available somewhere? I really do not like the pharo 3 theme and the Watery and Vistary themes are no use on

Re: [Pharo-users] can we have the pharo theme back please?

2014-04-11 Thread Goubier Thierry
Le 11/04/2014 17:22, Esteban Lorenzano a écrit : Hi, As exposed, the problem is that maintaining several themes is a lot of work. So unless there are maintainers, our tendency will be always to reduce the amount of them in the image, and try to maintain one that fits most of our UI needs.

Re: [Pharo-users] Drag and drop items between list views

2014-04-04 Thread Goubier Thierry
Le 03/04/2014 22:55, MartinW a écrit : Goubier Thierry wrote Another approach, that I would use, is to put more complex objects inside the lists. Thoses objects would know how to get added / removed from their respective collections, and then I would propagate collection changes

Re: [Pharo-users] Drag and drop items between list views

2014-04-04 Thread Goubier Thierry
be better to actually do not sort until one sets a real sortingBlock. Ben 2014-04-03 22:55 GMT+02:00 MartinW w...@fastmail.fm mailto:w...@fastmail.fm: Goubier Thierry wrote Another approach, that I would use, is to put more complex objects inside the lists. Thoses objects would

Re: [Pharo-users] Drag and drop items between list views

2014-04-04 Thread Goubier Thierry
Le 04/04/2014 10:41, Benjamin a écrit : Why not, but this will not solve the issue :) I will probably fix that in the train today (5h long trip to Bordeaux ^^) . I'm nice to give you something to do during those 5 hours, then ;) The issue is that the items are sorted by default, which

Re: [Pharo-users] Drag and drop items between list views

2014-04-04 Thread Goubier Thierry
Le 04/04/2014 12:04, MartinW a écrit : Goubier Thierry wrote By the way, any chance of having your code as an example for Spec? I went through the spec documentation and I couldn't see anything similar, and, from our difficulties to get that to work, I would guess a bit of work on Spec drag

Re: [Pharo-users] Drag and drop items between list views

2014-04-03 Thread Goubier Thierry
Le 02/04/2014 20:44, MartinW a écrit : First of all thank you for taking the time to explain all this to me! I already learned a lot about working with the spec widgets.. You're giving me good code to work with, and the things I use are more Morphic than Spec, which is more in my circle of

Re: [Pharo-users] Drag and drop items between list views

2014-04-02 Thread Goubier Thierry
Hi Martin, yes, most list-like widgets can drag and drop. Feedback when inserting items in lists could be improved, however (i.e. you can drop on a list item, but I've never seen the feedback for dropping between list items). Thierry Le 02/04/2014 16:09, MartinW a écrit : Hi, i have to

Re: [Pharo-users] Drag and drop items between list views

2014-04-02 Thread Goubier Thierry
: [ :transfer :event :source :receiver :index | self halt ]. list2 openWithSpec. Goubier Thierry wrote yes, most list-like widgets can drag and drop. Feedback when inserting items in lists could be improved, however (i.e. you can drop on a list item, but I've never seen the feedback

Re: [Pharo-users] Drag and drop items between list views

2014-04-02 Thread Goubier Thierry
in there to see if I can get the target inside the event, and, from the target, be able to get back to the list then :) Thierry Goubier Thierry wrote Ok, look at that code: | collection1 collection2 list1 list2 | collection1 := #(1 2 3 4 5) asOrderedCollection

Re: [Pharo-users] Drag and drop items between list views

2014-04-02 Thread Goubier Thierry
Le 02/04/2014 17:40, MartinW a écrit : Thank you. This is a step forward. The thing is i can't hardcode the collections. In the end product i don't have two but seven lists, so i must be able to detect in the acceptDropBlock which is the receiving collection/list. Ok, the :source is your

Re: [Pharo-users] Pavel's CCodeGenerator works under Windows MinGW: sweet

2014-03-26 Thread Goubier Thierry
Le 26/03/2014 09:03, Marcus Denker a écrit : On 26 Mar 2014, at 06:37, Pavel Krivanek pavel.kriva...@gmail.com wrote: Unbelievable... I stare how open source can work :-) I started this project yesterday so it can hardly translate more than the small examples and of course it had no

Re: [Pharo-users] Pavel's CCodeGenerator works under Windows MinGW: sweet

2014-03-26 Thread Goubier Thierry
Le 26/03/2014 09:11, Marcus Denker a écrit : On 26 Mar 2014, at 09:06, Goubier Thierry thierry.goub...@cea.fr wrote: Le 26/03/2014 09:03, Marcus Denker a écrit : On 26 Mar 2014, at 06:37, Pavel Krivanek pavel.kriva...@gmail.com wrote: Unbelievable... I stare how open source can work

Re: [Pharo-users] CI Job for Smacc

2014-03-14 Thread Goubier Thierry
No, there isn't any CI job for SmaCC. It could be nice :) Thierry Le 14/03/2014 15:57, Damien Cassou a écrit : Hi guys, is there a CI job for Smacc? If no, should I create one? Bets -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur

Re: [Pharo-users] Spec website: nice!

2014-02-28 Thread Goubier Thierry
Yes, this is cool :) Nice work. Benjamin, why don't you do a ConfigurationOfSpec with an url of 'github://SpecForPharo/spec:master' ? Thierry Le 28/02/2014 10:59, p...@highoctane.be a écrit : Didn't knew about it and came across by looking at the GitHub project for Spec. http://spec.st/

Re: [Pharo-users] Spec website: nice!

2014-02-28 Thread Goubier Thierry
over the week-end then. By the way, your link to github is broken :) Thierry Ben On 28 Feb 2014, at 11:10, Goubier Thierry thierry.goub...@cea.fr mailto:thierry.goub...@cea.fr wrote: Yes, this is cool :) Nice work. Benjamin, why don't you do a ConfigurationOfSpec with an url of 'github

Re: [Pharo-users] Spec and an application menu

2014-02-19 Thread Goubier Thierry
Le 18/02/2014 20:17, Johan Fabry a écrit : Just to motivate the browser example: we did try to find a different example but it's not so easy. If you want an application example, you need to explain the application and its' needs. The advantage of the browser is that you do not need to

Re: [Pharo-users] Spec and an application menu

2014-02-18 Thread Goubier Thierry
Le 18/02/2014 09:12, Hilaire Fernandes a écrit : Le 17/02/2014 20:22, kmo a écrit : Yes - there's no problem with menus if you use Morphs. Here's an interface that uses a ToolDockingBarMorph to implement a menu. http://forum.world.st/file/n471/PharoScreenshot.3.png It is already

Re: [Pharo-users] Spec and an application menu

2014-02-18 Thread Goubier Thierry
Has been moved to: WidgetExamples new exampleWindowWithToolbars in Pharo 3.0 Le 18/02/2014 09:12, Hilaire Fernandes a écrit : UITheme exampleWindowWithToolbars -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France

Re: [Pharo-users] Spec and an application menu

2014-02-18 Thread Goubier Thierry
Le 18/02/2014 09:36, Hilaire Fernandes a écrit : Le 18/02/2014 09:26, Goubier Thierry a écrit : Now I want to try something: populate the menu bar with all possible menu/shortcuts commands defined in my app (i.e. tree node contextual menu, code pane contextual menu, smart-suggestions type

Re: [Pharo-users] Spec and an application menu

2014-02-18 Thread Goubier Thierry
Le 18/02/2014 14:32, Johan Fabry a écrit : And I agree with Ben :-) Also, since a UI framework is something very large and complicated, with many possible uses, it's not realistic to expect a few developers to be able to do a 'big bang' release that is 100% feature complete. Spec, as is,

Re: [Pharo-users] branching with monticello

2014-02-12 Thread Goubier Thierry
No, but: - merging with git creates conflicts in FileTree metadata (version, methodProperties in each class) and those conflicts are messy to fix (the version particularly) and loses merge information (the Monticello history will not record the merge)[1] [2]. - merging with Monticello does

Re: [Pharo-users] Google Summer of Code is here, your ideas please!

2014-02-10 Thread Goubier Thierry
Le 09/02/2014 15:42, Joachim Tuchel a écrit : Hi, so that's not exactly what i had in mind. In a portable git interface for Smalltalk code, menticello would be an optional plugin (just like store, envy, sts or whatever), but it would be self contained with a clever api to implant it into a

Re: [Pharo-users] Fwd: NativeBoost and standard out

2014-02-07 Thread GOUBIER Thierry
+1 : one library that works ! Thierry De : Pharo-users [pharo-users-boun...@lists.pharo.org] de la part de Sean P. DeNigris [s...@clipperadams.com] Date d'envoi : vendredi 7 février 2014 18:29 À : pharo-users@lists.pharo.org Objet : Re: [Pharo-users] Fwd:

Re: [Pharo-users] Google Summer of Code is here, your ideas please!

2014-02-04 Thread Goubier Thierry
Le 04/02/2014 14:34, Sven Van Caekenberghe a écrit : On 04 Feb 2014, at 14:31, Joachim Tuchel jtuc...@objektfabrik.de wrote: * An interface to manage Smalltalk source code in GIT with tools for merging etc. - with Portability as a primary design goal (Cypress sure is the place to start

Re: [Pharo-users] finding the parent of a filereference

2014-01-31 Thread GOUBIER Thierry
Try aFileReference parent Thierry De : Pharo-users [pharo-users-boun...@lists.pharo.org] de la part de Tudor Girba [tu...@tudorgirba.com] Date d'envoi : vendredi 31 janvier 2014 21:48 À : Any question about pharo is welcome Objet : [Pharo-users] finding the

[Pharo-users] Roassal question

2013-11-25 Thread Goubier Thierry
Hi, would anybody knows how to do a nested layout with reversed radial tree in Roassal? I'd like to build a grid of reversed radial trees... It works with trees, but not with the radial layout. Thanks, Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel

Re: [Pharo-users] Scoped Senders

2013-09-26 Thread Goubier Thierry
Le 26/09/2013 16:58, Goubier Thierry a écrit : In AltBrowser, double click on the package you want, in the resulting package-scoped browser, choose the method and select sendersOf in the context menu :) (It may not be working completely at the moment) By hand, write the following. Create

Re: [Pharo-users] Capturing messages

2013-09-24 Thread Goubier Thierry
There is also a code tracer working in 2.0 that I maintain and use from time to time, called Jejak. It would require a small extension and recompiling a lot of methods, but it could be made to trace and record all method entries (taking care of not tracing its own code :)). It will slow

Re: [Pharo-users] [ANN] Launching Pharo on Ubuntu

2013-09-23 Thread Goubier Thierry
Hi Damien, thanks for that, I went to try and had to do a few things, just tell me if I got everything right: I should install the pharo-launcher package. If I already have the pharo-vm package, I should remove it since it conflicts with pharo-vm-core, a dependency of pharo-launcher.

Re: [Pharo-users] FileTree Monticello Repository

2013-09-13 Thread Goubier Thierry
Le 13/09/2013 04:25, Esteban A. Maringolo a écrit : Is anybody using FileTree repositories? Which repositories? Dale's github? If so, I'd like to know the pros and cons of using it. More complex to use than Smalltalkhub/Squeaksource because it is not yet integrated in the default image.

Re: [Pharo-users] FileTree Monticello Repository

2013-09-13 Thread Goubier Thierry
the branching is managed or if it's simply ignored. I'm displaying it in the repository inspector, otherwise it's ignored. Thierry Regards, Esteban A. Maringolo 2013/9/13 Goubier Thierry thierry.goub...@cea.fr mailto:thierry.goub...@cea.fr Le 13/09/2013 04:25, Esteban A. Maringolo a écrit

Re: [Pharo-users] FileTree Monticello Repository

2013-09-13 Thread GOUBIER Thierry
De : Pharo-users [pharo-users-boun...@lists.pharo.org] de la part de Paul DeBruicker [pdebr...@gmail.com] Date d'envoi : vendredi 13 septembre 2013 17:47 À : pharo-users@lists.pharo.org Objet : Re: [Pharo-users] FileTree Monticello Repository On 09/13/2013 07:53 AM, Goubier Thierry

Re: [Pharo-users] FileTree Monticello Repository

2013-09-13 Thread GOUBIER Thierry
Yes, there is a way. If you use a Gofer import script[1] to move a package from say, a squeaksource repository to a git repository with gitfiletree, you will import and commit all the versions one by one inside the git repo, starting with the oldest. You will loose the timestamps, but not the

Re: [Pharo-users] [Pharo-dev] Large images reasons [WAS] Re: Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-08-01 Thread Goubier Thierry
Hi Stef, With Dale, we're working on a FileTree / GitFileTree without ancestors info in the repository [1] :) ... ... but recreated on the fly by GitFileTree for the Monticello history browsing tools [2] :( [1] is underway and ... [2] is already working in

Re: [Pharo-users] Git filetree workflow

2013-07-30 Thread Goubier Thierry
Hi, I have been working in a similar setup for more than a year. I used filetree, with the problem you describe (double code maintenance both in git and in Monticello, which often resulted in lost Monticello versions in the git history). You also have the fact that, when you merge under git,

Re: [Pharo-users] Git filetree workflow

2013-07-30 Thread Goubier Thierry
Le 30/07/2013 14:51, joerick a écrit : Thierry, Many thanks for your prompt reply! I did find gitfiletree on smalltalk hub while I was doing some research, but I thought that filetree was specifically designed to be used with git, so I tried that first. Filetree works with a bit more than

Re: [Pharo-users] Git filetree workflow

2013-07-30 Thread Goubier Thierry
Sorry no, only 2.0. I wonder if, however, it could work... What are the errors you're getting? Thierry Le 30/07/2013 16:41, joerick a écrit : Oh, I'm having trouble adding a gitfiletree repository, do you support Pharo 1.4? -- View this message in context:

Re: [Pharo-users] Pharo + git

2013-06-19 Thread Goubier Thierry
the initial commit? Does it handle package dependencies? Thanks, -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com) On Tuesday 18 June 2013 20:42:10 GOUBIER Thierry wrote: They will have to clone your git repository

Re: [Pharo-users] Pharo + git

2013-06-19 Thread Goubier Thierry
Le 19/06/2013 15:04, Sven Van Caekenberghe a écrit : On 19 Jun 2013, at 15:02, Goubier Thierry thierry.goub...@cea.fr wrote: Hi Stephane, but, if you have to introduce Pharo as a business-ready tool in a git workflow (or any other vcs for that matter), it's better to say that you can do

Re: [Pharo-users] Pharo + git

2013-06-18 Thread GOUBIER Thierry
Yes, you can use git with Pharo. You need to get an extension called MonticelloFileTree, and you can add on top of it a MonticelloFileTree-Git which really integrates into git. Main repository is there: https://github.com/dalehenrich/filetree And temporary instruction to try the latest

Re: [Pharo-users] Pharo + git

2013-06-18 Thread GOUBIER Thierry
can others use it on their own image? On Tuesday 18 June 2013 20:14:21 GOUBIER Thierry wrote: Yes, you can use git with Pharo. You need to get an extension called MonticelloFileTree, and you can add on top of it a MonticelloFileTree-Git which really integrates into git. Main repository

Re: [Pharo-users] ui slowness on newly installed ubuntu 13.04 64bit

2013-06-07 Thread Goubier Thierry
I'll check with some older hardware; I have something slower than yours, but I'll have the results later tonight. Thierry Le 07/06/2013 17:04, Paul DeBruicker a écrit : Sounds like I need some new hardware then? On 06/07/2013 07:16 AM, Goubier Thierry wrote: Le 07/06/2013 16:00, Sven