Re: [Pharo-dev] Which tests should be run in CI?

2013-12-12 Thread Marcus Denker
On 12 Dec 2013, at 08:22, Marcus Denker marcus.den...@inria.fr wrote: On 12 Dec 2013, at 08:14, Tudor Girba tu...@tudorgirba.com wrote: Hi, On Thu, Dec 12, 2013 at 7:59 AM, Marcus Denker marcus.den...@inria.fr wrote: On 12 Dec 2013, at 06:31, Tudor Girba tu...@tudorgirba.com

[Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Torsten Bergmann
--- [Pharo Trick: #0004] - Run code using a key command to speedup development --- Works in: Pharo3.0 Latest update: #30637 but should

Re: [Pharo-dev] Which tests should be run in CI?

2013-12-12 Thread Tudor Girba
Hi, I meant to say that projects that use pharo should rethink the tests and rules they run in order to ensure that they do not break the Pharo constraints. For example, for Moose, we should have, like Stephan suggested, an integration job that runs all tests in the image (at least). Ideally, it

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Max Leske
Nice! Didn’t know about that one. On 12.12.2013, at 09:35, Torsten Bergmann asta...@gmx.de wrote: --- [Pharo Trick: #0004] - Run code using a key command to speedup development

[Pharo-dev] [pharo-project/pharo-core] 3f85b9: 30638

2013-12-12 Thread GitHub
Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: 3f85b941eaab5b182b2139d9d3f889ad2f059cfa https://github.com/pharo-project/pharo-core/commit/3f85b941eaab5b182b2139d9d3f889ad2f059cfa Author: Jenkins Build Server bo...@pharo-project.org Date:

[Pharo-dev] [pharo-project/pharo-core]

2013-12-12 Thread GitHub
Branch: refs/tags/30638 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] about the Pharo Catalog

2013-12-12 Thread Stéphane Ducasse
Hi guys I really want to have an official catalog soon, so please add the missing metadata in your configurations. In addition I was discussing with robert pergl from Prague and he told me that when he has a problem with a package he does not know to whom he should report so I would like to

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread p...@highoctane.be
Very sweet indeed. Phil On Thu, Dec 12, 2013 at 9:42 AM, Max Leske maxle...@gmail.com wrote: Nice! Didn’t know about that one. On 12.12.2013, at 09:35, Torsten Bergmann asta...@gmx.de wrote: --- [Pharo

[Pharo-dev] [Pharo Trick: #0005] - Pick up morphs that do not want to be picked up

2013-12-12 Thread p...@highoctane.be
Usually one can deal with morphs by doing the alt-shift-click on them, so that we get the halos and do whatever. Now, some morphs do not want to let you do this (like the Pharo image on the desktop background) - or you just don't see them as they are leftovers from experiments. A shift click (on

[Pharo-dev] [Pharo Trick: #0006] - Run code from a button window

2013-12-12 Thread Torsten Bergmann
--- [Pharo Trick: #0006] - Run code from a standalone button window --- Works in: Pharo 2.0, 3.0, ...

Re: [Pharo-dev] Using TreeModelselectAll

2013-12-12 Thread Benjamin
Of ? Ben On 12 Dec 2013, at 08:11, Stéphane Ducasse stephane.duca...@inria.fr wrote: In the midterm would it not be better to start a new implementation? Stef On Dec 11, 2013, at 11:18 PM, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: That’s the default behaviour I was

Re: [Pharo-dev] MessageNotUnderstood: SmallIntegerisEmpty

2013-12-12 Thread Dario Trussardi
Ciao, I will promote the latest vm (latest before spur) as stable tomorrow morning. So I suppose he can try that :) Pharo-VM-mac-latest.zip I download it, but now what i need to do with it ? How i can update my Pharo 2.0 environment with it ? Thanks,

Re: [Pharo-dev] MessageNotUnderstood: SmallIntegerisEmpty

2013-12-12 Thread Sven Van Caekenberghe
On 12 Dec 2013, at 10:33, Dario Trussardi dario.trussa...@tiscali.it wrote: Ciao, I will promote the latest vm (latest before spur) as stable tomorrow morning. So I suppose he can try that :) Pharo-VM-mac-latest.zip I download it, but now what i need to do with it

Re: [Pharo-dev] could we stop to create spaghetti code?

2013-12-12 Thread Esteban Lorenzano
On Thu, Dec 12, 2013 at 8:19 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: I think the idea here is that maybe a class should have an icon. Independend of Nautilus.\ (either just icon or toolIcon). Yes we got the idea :) Now we faced extensions management problems with pavel

Re: [Pharo-dev] Categories, packages, and tags [cont'd]

2013-12-12 Thread Esteban Lorenzano
Stef means RPackageOrganizer, not PackageOrganizer :) Esteban On Thu, Dec 12, 2013 at 8:37 AM, Roberto Minelli roberto.mine...@usi.chwrote: Thx Stef! I also found RPackage organizer packages ;) Cheers, R On Dec 12, 2013, at 8:25 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote:

Re: [Pharo-dev] about the Pharo Catalog

2013-12-12 Thread Esteban Lorenzano
is there a place where I can see the metadata methods I need to implement? Esteban On Thu, Dec 12, 2013 at 9:59 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guys I really want to have an official catalog soon, so please add the missing metadata in your configurations. In

Re: [Pharo-dev] Using TreeModelselectAll

2013-12-12 Thread Stéphane Ducasse
TreeMorph On Dec 12, 2013, at 10:27 AM, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: Of ? Ben On 12 Dec 2013, at 08:11, Stéphane Ducasse stephane.duca...@inria.fr wrote: In the midterm would it not be better to start a new implementation? Stef On Dec 11, 2013, at 11:18

Re: [Pharo-dev] Categories, packages, and tags [cont'd]

2013-12-12 Thread Stéphane Ducasse
On Dec 12, 2013, at 10:47 AM, Esteban Lorenzano esteba...@gmail.com wrote: Stef means RPackageOrganizer, not PackageOrganizer :) ok I thought the old one was removed and the new renamed Esteban On Thu, Dec 12, 2013 at 8:37 AM, Roberto Minelli roberto.mine...@usi.ch wrote: Thx Stef!

Re: [Pharo-dev] about the Pharo Catalog

2013-12-12 Thread Stéphane Ducasse
Yes :) In the output of the catalog itself https://ci.inria.fr/pharo-contribution/job/PharoProjectCatalog/HTML_Report/? There is probably a typo in the generator catalogkeyClassesAndExample = catalogKeyClassesAndExample 1. Aconcagua Please define a class method named catalogDescription

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Nicolas Cellier
BTW, no world binding has yet been initialized yet in Pharo 3.0 (but CMD+K) Is it intentional? see http://stackoverflow.com/questions/17886061/switch-between-open-windows-in-pharo 2013/12/12 p...@highoctane.be p...@highoctane.be Very sweet indeed. Phil On Thu, Dec 12, 2013 at 9:42 AM,

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Guillermo Polito
Ahh a little detail! We are deprecating the usage of #on:do: for shortcuts so they are not mistaken with exception handling, nor announcement registration :). The right snippet would be World bindKeyCombination: $a shift command toAction: [ Object browse ]. Actually, if you see

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Guillermo Polito
The world morph was initially intended to handle the global system shortcuts, taking advantage of the event bubbling. However, that posed the fact that the global shortcuts have less priority than other shortcuts. The bubbling will activate a global shortcut only if it they key event did not

Re: [Pharo-dev] [Pharo Trick: #0001] - Simple TODO list

2013-12-12 Thread Serge Stinckwich
Nice idea Torsten, this kind of tricks ;-) Maybe we can save them online somewhere ? gists.github.com ? On Wed, Dec 11, 2013 at 12:16 PM, Torsten Bergmann asta...@gmx.de wrote: Hi, the mailinglist, stackoverflow and other Pharo related medias are typically used in the here is a question to

[Pharo-dev] [pharo-project/pharo-core]

2013-12-12 Thread GitHub
Branch: refs/tags/30639 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 01f4ef: 30639

2013-12-12 Thread GitHub
Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: 01f4ef1faba4b076c0d655bb2db238bb8556f597 https://github.com/pharo-project/pharo-core/commit/01f4ef1faba4b076c0d655bb2db238bb8556f597 Author: Jenkins Build Server bo...@pharo-project.org Date:

Re: [Pharo-dev] Categories, packages, and tags [cont'd]

2013-12-12 Thread Esteban Lorenzano
not yet :D On Thu, Dec 12, 2013 at 10:54 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Dec 12, 2013, at 10:47 AM, Esteban Lorenzano esteba...@gmail.com wrote: Stef means RPackageOrganizer, not PackageOrganizer :) ok I thought the old one was removed and the new renamed

Re: [Pharo-dev] [Pharo Trick: #0001] - Simple TODO list

2013-12-12 Thread Marcus Denker
On 12 Dec 2013, at 11:21, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: I don't much like this nice idea. Why? see all the (self flags: #toRemove) and such kind of annotations in Squeak. self flag: #bob :-) still two left in Pharo… Marcus

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Stéphane Ducasse
guille is the keymapping chapter up to date to that regards. It would be good to explain better the bubble and the global binding. If you have one hour it would be good. Stef On Dec 12, 2013, at 11:11 AM, Guillermo Polito guillermopol...@gmail.com wrote: The world morph was initially

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Guillermo Polito
Yes regarding the bindKeymapping:toAction: https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccessfulBuild/artifact/KeyMapping/KeyMapping.pier.html - the bubbling explanation needs more love - the global categories are not yet there How do I add figures with the pier

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Benjamin
https://github.com/DamienCassou/pier-cl/blob/master/CheatSheet.pier.md +captionfile://figures/image.png+ Ben On 12 Dec 2013, at 11:50, Guillermo Polito guillermopol...@gmail.com wrote: Yes regarding the bindKeymapping:toAction:

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Benjamin
Then maybe Komitter should use this mechanism instead of registering to World. But I am not sure if letting the possibilities to someone to override it locally is bad or not Ben On 12 Dec 2013, at 11:50, Guillermo Polito guillermopol...@gmail.com wrote: Yes regarding the

Re: [Pharo-dev] Tell me about your workflow

2013-12-12 Thread Sebastian Sastre
gee the big code package is airflowing which I have, quite conservatively, running on #14438 images I load filetree like this: Gofer new url: 'http://ss3.gemstone.com/ss/FileTree'; package: 'ConfigurationOfFileTree'; load. ((Smalltalk at: #ConfigurationOfFileTree) project

Re: [Pharo-dev] could we stop to create spaghetti code?

2013-12-12 Thread Sebastian Sastre
I think the idea here is that maybe a class should have an icon. Independend of Nautilus.\ (either just icon or toolIcon). Marcus In a great environment you have icons and icon-sets defined by UX/UI designers. If we couple too much to code we'll create a barrier for that.

[Pharo-dev] [Pharo Trick: #0008] - If appropriate use the memory file system

2013-12-12 Thread Torsten Bergmann
--- [Pharo Trick: #0008] - If appropriate use the memory file system --- Works in: Pharo 2.0, 3.0, ...

Re: [Pharo-dev] [Pharo Trick: #0008] - If appropriate use the memory file system

2013-12-12 Thread Marcus Denker
Related to that: For Pharo4 I want to experiment to have the following: 1) one Memory FileSystem per RPackage (just an ivar there). 2) File Browser support to show all these so one can put files in the package filesystem 3) in Monticello, save all the files as part of the .zip (directory

Re: [Pharo-dev] could we stop to create spaghetti code?

2013-12-12 Thread Esteban Lorenzano
so far icons are all packed together into an icon pack. for example, Pharo3Icons and FamFamIcons. all tools should register their icons there, as extensions of a theme. then, a method: MyClass clas#icon ^ Smalltalk ui icons iconNamed: #myIcon can provide enough decoupling. then... is in

Re: [Pharo-dev] [Pharo Trick: #0001] - Simple TODO list

2013-12-12 Thread Torsten Bergmann
Did you check the number of senders of #flag: in a recent Pharo image? You will be surprised that not all come from Squeak ;) By sharing I want to just show what is possible and others may find it valuable for their own work in the given or in a customized form. It is not a best practice, more a

Re: [Pharo-dev] [Pharo Trick: #0008] - If appropriate use the memory file system

2013-12-12 Thread Torsten Bergmann
Hi Marcus, regarding 2) In Pharo 3.0 one can already open a file browser on the memory file system: |fs| fs := FileSystem memory. (fs / 'hello.txt') writeStreamDo: [:s| s nextPutAll: 'Exported data' ]. FileList openOn: fs root but it looks like it needs some love. One can

Re: [Pharo-dev] [Pharo Trick: #0001] - Simple TODO list

2013-12-12 Thread Marcus Denker
On 12 Dec 2013, at 12:58, Torsten Bergmann asta...@gmx.de wrote: Did you check the number of senders of #flag: in a recent Pharo image? You will be surprised that not all come from Squeak ;) I use it, yes. Marcus

[Pharo-dev] [Pharo Trick: #0009] 'Enable halt/inspect once' button

2013-12-12 Thread btc
When I have a 'self haltOnce' breakpoint that I am activating often, going World System Enable halt/inspect once each time is annoying. So using the Duplicate Halo on the menu item, I drag it onto the background so that it acts like a button. cheers -ben

Re: [Pharo-dev] [Pharo Trick: #0001] - Simple TODO list

2013-12-12 Thread Esteban Lorenzano
I use it too, and I think they are a nice add that the tools should be more aware (not just showing the flag icon in browser) On Thu, Dec 12, 2013 at 1:05 PM, Marcus Denker marcus.den...@inria.frwrote: On 12 Dec 2013, at 12:58, Torsten Bergmann asta...@gmx.de wrote: Did you check the

Re: [Pharo-dev] [Pharo Trick: #0009] 'Enable halt/inspect once' button

2013-12-12 Thread Max Leske
#setHaltOnce is implemented on Object. Evaluate this in a workspace: self setHaltOnce. - same effect Cheers, Max On 12.12.2013, at 13:06, b...@openinworld.com wrote: When I have a 'self haltOnce' breakpoint that I am activating often, going World System Enable halt/inspect once each

Re: [Pharo-dev] [Pharo Trick: #0009] 'Enable halt/inspect once' button

2013-12-12 Thread btc
Max Leske wrote: #setHaltOnce is implemented on Object. Evaluate this in a workspace: self setHaltOnce. - same effect Cheers, Max Yes :) But each time I must:: * Search for the correct workspace among several open workspaces, as well as lots of other windows for Finder, Browser,

Re: [Pharo-dev] Image frozen on SocketwaitForConnectionFor: timeout ifTimedOut: timeoutBlock

2013-12-12 Thread Sebastian Sastre
Doing this removes redundant code, still not a solution: waitForConnectionFor: timeout ifTimedOut: timeoutBlock Wait up until the given deadline for a connection to be established. Return true if it is established by the deadline, false if not. ^ self waitForConnectionUntil:

[Pharo-dev] the athens tutorial is not working in latest 30.

2013-12-12 Thread Stéphane Ducasse

Re: [Pharo-dev] Tell me about your workflow

2013-12-12 Thread GOUBIER Thierry
I gave up running gitfiletree on 1.4 :( It's possible to use gitfiletree from a 2.0 or a 3.0 image to browse your git repository, but testing the writing will be an issue. My best chance would be to find a large enough package I can use on 2.0 or 3.0 to test and profile. Does anybody has a

Re: [Pharo-dev] Tell me about your workflow

2013-12-12 Thread GOUBIER Thierry
I would need a large project, composed of one or more packages, with more than 150~200 classes, which triggers the slow read and writing times Sebastian experience. And, probably, to be complete, a long and complex commit history in git ( 100 commits). I'll keep in mind the idea of creating

Re: [Pharo-dev] Is variable shadowing a feature or a bug?

2013-12-12 Thread Frank Shearar
On 12 December 2013 14:44, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: I just discovered that in Pharo 3 you can do: [ :bool | self logCr: bool. bool := false. self logCr: bool. ] value: true Is this a bug or a feature ? That's not a shadow, from what I can see? It is an

Re: [Pharo-dev] Tell me about your workflow

2013-12-12 Thread Yuriy Tymchuk
Pharo10 on SmalltalkHub is humongous. You can definitely do a stress test with it :) Uko On 12 Dec 2013, at 15:43, GOUBIER Thierry thierry.goub...@cea.fr wrote: I would need a large project, composed of one or more packages, with more than 150~200 classes, which triggers the slow read and

Re: [Pharo-dev] Tell me about your workflow

2013-12-12 Thread Yuriy Tymchuk
So if you want something big and with a lot of commits you can use Pharo* in general. Pharo10 has the most versions and Pharo30Inbox is the largest one. If you want some other projects then you heve to take a look at Seaside30, Mondrian, Moose, Glamour or Roassal. Uko On 12 Dec 2013, at

Re: [Pharo-dev] Tell me about your workflow

2013-12-12 Thread Yuriy Tymchuk
And yes, we miss this data on Smalltalkhub. But I have some suggestions as always :). Will reveal them next week. Uko On 12 Dec 2013, at 16:20, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Pharo10 on SmalltalkHub is humongous. You can definitely do a stress test with it :) Uko On 12 Dec

Re: [Pharo-dev] the athens tutorial is not working in latest 30.

2013-12-12 Thread Igor Stasenko
Yes. AthensTutorial open meets DNU, something related to spec.. I have no idea why it stopped working, but this is related to changes in Spec. On 12 December 2013 15:22, Stéphane Ducasse stephane.duca...@inria.frwrote: -- Best regards, Igor Stasenko.

Re: [Pharo-dev] Tell me about your workflow

2013-12-12 Thread GOUBIER Thierry
Thanks for the pointers. I'll look at Seaside/Moose/Mondrian and Roassal, because I need code I can load and save in an image without destroying the very image I use to test (which would happen if I load Pharo10 stuff in a 3.0 image ;) ). Thierry De :

Re: [Pharo-dev] Which tests should be run in CI?

2013-12-12 Thread Stephan Eggermont
Stef wrote: Doru wrote: We need to reconsider how we approach continuous integration for pharo-based images. can you expand ? The most important thing, from my POV, is to not break things silently when cleaning up the system. Having a system integration test that tells you you are no

Re: [Pharo-dev] Which tests should be run in CI?

2013-12-12 Thread Stephan Eggermont
Doru wrote: This is clearly an issue of Grease. And it is not essential either as there are no senders to it. There are senders in Seaside. They look not so difficult to change. So, I see no reason not to rename it in Grease. It is a compatibility layer, so you wouldn't be able to know

Re: [Pharo-dev] Which tests should be run in CI?

2013-12-12 Thread Eliot Miranda
On Thu, Dec 12, 2013 at 10:21 AM, Chris Cunningham cunningham...@gmail.comwrote: If it is a compatibility layer, then now that Pharo has it's own #package, shouldn't the Pharo version of Grease just not include it anymore? Once the various Smalltalks start to implement what it is claiming it

Re: [Pharo-dev] Is variable shadowing a feature or a bug?

2013-12-12 Thread Eliot Miranda
On Thu, Dec 12, 2013 at 7:03 AM, Marcus Denker marcus.den...@inria.frwrote: On 12 Dec 2013, at 15:44, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: I just discovered that in Pharo 3 you can do: [ :bool | self logCr: bool. bool := false. self logCr: bool.

Re: [Pharo-dev] about the Pharo Catalog

2013-12-12 Thread Guillermo Polito
I'm now adding it for OpenDBX and glorp. We should create lint rules for it ;) On Thu, Dec 12, 2013 at 10:57 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Yes :) In the output of the catalog itself https://ci.inria.fr/pharo-contribution/job/PharoProjectCatalog/HTML_Report/?

[Pharo-dev] Are all SLICEs self-contained?

2013-12-12 Thread Hernán Morales Durand
If not, how do I know if a SLICE depends on other SLICEs? For example loading https://pharo.fogbugz.com/f/cases/edit/11282/Removal-DependentFields-references using Monticello hangs the image and cannot interrupt with Alt+. Do I need to load another SLICE before? Cheers, Hernán

Re: [Pharo-dev] Are all SLICEs self-contained?

2013-12-12 Thread Yuriy Tymchuk
As far as I know all mcz(s) are self contained. But slices for me are still a big magic, so maybe there is something different. Uko On 13 Dec 2013, at 05:32, Hernán Morales Durand hernan.mora...@gmail.com wrote: If not, how do I know if a SLICE depends on other SLICEs? For example

Re: [Pharo-dev] Is variable shadowing a feature or a bug?

2013-12-12 Thread Marcus Denker
On 12 Dec 2013, at 20:22, Frank Shearar frank.shea...@gmail.com wrote: On 12 December 2013 19:04, Eliot Miranda eliot.mira...@gmail.com wrote: On Thu, Dec 12, 2013 at 7:03 AM, Marcus Denker marcus.den...@inria.fr wrote: On 12 Dec 2013, at 15:44, Benjamin

Re: [Pharo-dev] Are all SLICEs self-contained?

2013-12-12 Thread Sven Van Caekenberghe
On 13 Dec 2013, at 08:19, Yuriy Tymchuk yuriy.tymc...@me.com wrote: As far as I know all mcz(s) are self contained. But slices for me are still a big magic, so maybe there is something different. Any mcz can have required packages, dependencies that need to be loaded with it, outside its

Re: [Pharo-dev] Are all SLICEs self-contained?

2013-12-12 Thread Marcus Denker
On 13 Dec 2013, at 08:38, Sven Van Caekenberghe s...@stfx.eu wrote: On 13 Dec 2013, at 05:32, Hernán Morales Durand hernan.mora...@gmail.com wrote: If not, how do I know if a SLICE depends on other SLICEs? For example loading