[Pharo-dev] Getting all classes referenced by a method

2015-05-17 Thread Yuriy Tymchuk
Hi, it want to rewrite the SmallLint rule which checks whether an abstract class is referenced. First question is whether the rule is really important, because sometimes there are abstract classes with some utility class methods, so maybe we should check whether they are “instantiated” with

Re: [Pharo-dev] Manifest class values - instance or class side

2015-05-17 Thread stepharo
Le 15/5/15 22:48, Sergio Fedi a écrit : ​What about this method? RPackagepackageManifest ^ (self classes detect: [ :each | each isManifest ] ifNone: [ TheManifestBuilder new createManifestNamed: name]) *new* Anyone know why does it create an instance of the Manifest instead of returning

Re: [Pharo-dev] Manifest class values - instance or class side

2015-05-17 Thread stepharo
createManifestNamed: packageName manifestClass := PackageManifest subclass: (self class manifestTag, packageName onlyLetters) asSymbol instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: packageName.

Re: [Pharo-dev] Getting all classes referenced by a method

2015-05-17 Thread stepharo
Le 17/5/15 11:07, Yuriy Tymchuk a écrit : Hi, it want to rewrite the SmallLint rule which checks whether an abstract class is referenced. First question is whether the rule is really important, because sometimes there are abstract classes with some utility class methods, so maybe we should

Re: [Pharo-dev] New CogVMs available

2015-05-17 Thread stepharo
Hello pay attention that - this mailing-list is english - then you are on the pharo-developers and not pharo-users mailing-list, developers means developers of Pharo itself. - you can register to the Smalltalk-fr mailing-list - do not post in randomthread! Create a new question

Re: [Pharo-dev] Getting all classes referenced by a method

2015-05-17 Thread Yuriy Tymchuk
I think that it makes sense to do it on ast level. As you may know I’m working with SmallLint rules. And in a first place I want to get them working on CompiledMethods. But another issue is that you cannot run the rules on RBMethods or RGMethods. Uko On 17 May 2015, at 16:21, Tudor Girba

[Pharo-dev] Project set up

2015-05-17 Thread valmy roi
Hi, Is there a way to export a project from pharo? I explain: create a set up of a project (game for example) so that i can give it to someone to play, and he will not need to import it in pharo. If it doesn't exist, it should de created -- Kenfack Valmy-Roi Ingénieur des travaux en

Re: [Pharo-dev] GitFiletree conf for pharo 5

2015-05-17 Thread Thierry Goubier
Le 17/05/2015 15:29, Yuriy Tymchuk a écrit : Hi, GitFiletree is not available in the configuration browser of Pharo 5. I usually load if from the meta repo for pharo 4 and it works, but can we get it in pharo 5 meta repo, because it’s a pain to manually load it :) Uko Hi Uko, I haven't

Re: [Pharo-dev] GitFiletree conf for pharo 5

2015-05-17 Thread Dimitris Chloupis
in the mean time you can load gitfieltree for Pharo 5 from meta repo 4, I tested it and it works ok so far. On Sun, May 17, 2015 at 6:36 PM Yuriy Tymchuk yuriy.tymc...@me.com wrote: Yes, sure. No hurry. Thanks! On 17 May 2015, at 17:32, Thierry Goubier thierry.goub...@gmail.com wrote:

Re: [Pharo-dev] [Pharo-users] [OT] Pharo pi machine

2015-05-17 Thread Tudor Girba
Really cool. I just do not understand what is the purpose of the pink marker :). Cheers, Doru On Sun, May 17, 2015 at 2:26 PM, Torsten Bergmann asta...@gmx.de wrote: Got my Raspberry Pi B+ with a Tontec® 3.5 touch screen display to bootstrap into Pharo. The Raspberry Pi from CI

[Pharo-dev] About TextStyle and StrikeFonts

2015-05-17 Thread Nicolai Hess
I am about to fix some issues related to TextMorphs and fonts: 15402 https://pharo.fogbugz.com/default.asp?15402 wrong choose list from TextMorph editor halo 15552 https://pharo.fogbugz.com/default.asp?15552 chooseStyle halo from TextMorph lists only one StrikeFont 15553

Re: [Pharo-dev] Getting all classes referenced by a method

2015-05-17 Thread Tudor Girba
That is my suggestion, too. See the bug entry. Now, we might choose to not do it at the CompiledMethod level, but in RGMethodDefinition. That is why I would like to have a discussion about it. Cheers, Doru On Sun, May 17, 2015 at 4:14 PM, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Can we add

Re: [Pharo-dev] Project set up

2015-05-17 Thread Cyril Ferlicot
You can create some .exe, .sh to launch an image with your project. You can check that: http://www.drgeo.eu/ I think that's what you want! On 17 May 2015 at 16:55, valmy roi roykenva...@gmail.com wrote: Hi, Is there a way to export a project from pharo? I explain: create a set up of a project

Re: [Pharo-dev] GitFiletree conf for pharo 5

2015-05-17 Thread Yuriy Tymchuk
Yes, sure. No hurry. Thanks! On 17 May 2015, at 17:32, Thierry Goubier thierry.goub...@gmail.com wrote: Le 17/05/2015 15:29, Yuriy Tymchuk a écrit : Hi, GitFiletree is not available in the configuration browser of Pharo 5. I usually load if from the meta repo for pharo 4 and it works,

Re: [Pharo-dev] FogBuz - Parent Cases

2015-05-17 Thread Sergio Fedi
Great explanation, thanks Ben. ​Is this behaviour documented somewhere? I found these articles: http://www.fogcreek.com/fogbugz/docs/70/topics/basics/LinkingCases.html http://www.fogcreek.com/fogbugz/docs/70/topics/basics/Subcases.html But some behaviours you listed weren't documented there.

[Pharo-dev] Please integrate 15523 and 15468

2015-05-17 Thread Sean P. DeNigris
If there is no objection, please integrate: Issue 15523: Code Cruft Rule Only Matches One-Liners https://pharo.fogbugz.com/default.asp?15523 Issue 15468: Enhance the Welcome window https://pharo.fogbugz.com/default.asp?15468 Especially the second one, which was aimed at supporting our new users

[Pharo-dev] FogBuz - Parent Cases

2015-05-17 Thread Sergio Fedi
What are Parent Cases? What problem do they address? When should they be used?

Re: [Pharo-dev] Manifest class values - instance or class side

2015-05-17 Thread Sergio Fedi
I want to add a test to ensure #packageManifest answers a Class. Since RPackage is in RPackageCore, but the #packageManifest method is in Manifest-Core I'm not sure whether: 1. I have to make the test in RPackageTest but make the test method from the Manifest-Core package 2. I have to

Re: [Pharo-dev] FogBuz - Parent Cases

2015-05-17 Thread Ben Coman
Two main behaviours of interest: * The CI monkey will not test a slice on a case that has an open sub-case. * Parent cases can only be closed when all sub-cases are closed. So parent cases are useful: * When its required that a fix needs to be staged into several steps. The last step is the

Re: [Pharo-dev] Manifest class values - instance or class side

2015-05-17 Thread Sergio Fedi
Case created: https://pharo.fogbugz.com/f/cases/15557/New-PackageManifests-should-be-classes-not-instances Case Resolved (Review needed)

Re: [Pharo-dev] Manifest class values - instance or class side

2015-05-17 Thread Sergio Fedi
Case created: https://pharo.fogbugz.com/f/cases/15557/New-PackageManifests-should-be-classes-not-instances

Re: [Pharo-dev] Getting all classes referenced by a method

2015-05-17 Thread Yuriy Tymchuk
Can we add an implementation for method and the one for class will reuse it? Uko Sent from my iPhone On 17 May 2015, at 16:01, Tudor Girba tu...@tudorgirba.com wrote: Indeed. I took again a look at it, and I found two bugs. The method looks like this: TBehaviorreferencedClasses

Re: [Pharo-dev] New CogVMs available

2015-05-17 Thread stepharo
Thanks Eliot! I imagine that seb is from cameroun and in the north cameroun (where french people cannot go because this is too dangerous) and Hayatou is teaching there Smalltalk since we invited him at Lille and gave him my lectures - ESUG also sent books there. Hayatou told me that the

Re: [Pharo-dev] Getting all classes referenced by a method

2015-05-17 Thread Nicolai Hess
2015-05-17 11:34 GMT+02:00 stepharo steph...@free.fr: Le 17/5/15 11:07, Yuriy Tymchuk a écrit : Hi, it want to rewrite the SmallLint rule which checks whether an abstract class is referenced. First question is whether the rule is really important, because sometimes there are abstract

Re: [Pharo-dev] [Pharo-users] [OT] Pharo pi machine

2015-05-17 Thread Merwan Ouddane
Awesome ! I'll try this out :) On 17/05/2015 14:26, Torsten Bergmann wrote: Got my Raspberry Pi B+ with a Tontec® 3.5 touch screen display to bootstrap into Pharo. The Raspberry Pi from CI (https://ci.inria.fr/pharo/view/RaspberryPi/) worked out of the box on Raspbian. Nice!

[Pharo-dev] GitFiletree conf for pharo 5

2015-05-17 Thread Yuriy Tymchuk
Hi, GitFiletree is not available in the configuration browser of Pharo 5. I usually load if from the meta repo for pharo 4 and it works, but can we get it in pharo 5 meta repo, because it’s a pain to manually load it :) Uko

Re: [Pharo-dev] Getting all classes referenced by a method

2015-05-17 Thread Tudor Girba
Indeed. I took again a look at it, and I found two bugs. The method looks like this: TBehaviorreferencedClasses Return the set of classes that are directly referenced by my methods | answer | answer := Set new. self methods do: [ :cm | answer addAll: ( cm literals select: [ :l | l isKindOf: