Re: [Pharo-dev] [review needed] speed up RBClassNotReferencedRule

2015-09-18 Thread Marcus Denker
> Maybe we can hijack that mechanism with a class side method e.g. > > rbNotReferenced > > > > Do your modifications test sends of subclassesDo: and friends? > > OR > > #(#MyClass1 #MyClass2 #MyClass3) collect:[:ea | (Smalltalk at: ea) > doSomething]. > > The reason I ask is I'm

[Pharo-dev] Modyfing BlueInk formatter

2015-09-18 Thread Peter Uhnák
Hi, how hard it would be to modify BlueInk formatter to inline dynamic array in some situations? Currently BL places each element of dynamic array at separate line ~~ v addAll: {l1. l2. l3} ~~ and what I want is to inline them if the length of the element names is

[Pharo-dev] Drawing underlined text on AthensCanvas

2015-09-18 Thread Peter Uhnák
Hi, is it currently possible to draw underlined text onto AthensCanvas? |font view| font := TextStyle defaultFont. font := font emphasized: TextEmphasis underlined emphasisCode. "<- underline does NOT work" "font := font emphasized: TextEmphasis bold emphasisCode."

[Pharo-dev] Pharo 5 and method extensions

2015-09-18 Thread roberto.mine...@usi.ch
Dear all, I just moved to Pharo 5 for development and discovered that it does not correctly show method extensions. I opened a case https://pharo.fogbugz.com/f/cases/16601/Pharo-5-does-not-show-method-extensions Cheers, R

Re: [Pharo-dev] [review needed] speed up RBClassNotReferencedRule

2015-09-18 Thread Yuriy Tymchuk
> On 18 Sep 2015, at 08:34, Marcus Denker wrote: > > >> Maybe we can hijack that mechanism with a class side method e.g. >> >> rbNotReferenced >> >> >> >> Do your modifications test sends of subclassesDo: and friends? >> >> OR >> >> #(#MyClass1 #MyClass2

Re: [Pharo-dev] Rubric/Event handling issue?

2015-09-18 Thread Stephan Eggermont
On 17-09-15 23:11, Nicolai Hess wrote: DragWell startDrag: evt WorldState addDeferredUIMessage: [ evt hand grabMorph: self copy ]. calls Morph>>#copy and this makes a veryDeepCopy. I don't know exactly how this affects the other rubric text morphs, but replacing self copy with self

Re: [Pharo-dev] Configuration Madness

2015-09-18 Thread roberto.mine...@usi.ch
Thanks a lot Dale, this works indeed. P.s. Sorry for the delay in the answer but my mailbox went crazy! R > On 16 Sep 2015, at 17:43, Dale Henrichs > wrote: > > > > On 9/16/15 8:07 AM, Max Leske wrote: >>> On 16 Sep 2015, at 16:39, roberto.mine...@usi.ch

Re: [Pharo-dev] [ANN]: AconcaguaAddOns

2015-09-18 Thread Hernán Morales Durand
Hi Sean, First thanks for sharing this. Now I suppose this was AconcaguaDeluxe before? Do you have a ConfigurationOf for AconcaguaAddOns? I want to use it but don't have idea what to load. Hernán 2015-04-21 13:21 GMT-03:00 Sean P. DeNigris : > I pushed some Aconcagua

[Pharo-dev] Permanent storage for implementation docs referenced from image

2015-09-18 Thread Ben Coman
While doing a bit of background reading on the Random algorithm used in the image I found this [1] which describes the choice of the initialised magic numbers. So I would like to reference this document from the class comment. However one day the link may die, so I was wondering if such could

Re: [Pharo-dev] RubAbstractTextArea copying

2015-09-18 Thread Henrik Nergaard
It does not seem that RubScrolledTextMorph supports duplication/copy (tried to duplicate one from nautilus code area and the same clear all code happened. Trying to duplicate a Playground just freezes the image (might be some circular references that is not handled when copying )). Anyway:

Re: [Pharo-dev] Rubric/Event handling issue?

2015-09-18 Thread Stephan Eggermont
On 15-09-15 17:49, Stephan Eggermont wrote: There is an interesting bad interaction between my drag-and-drop code and Rubric. It kills all Rubric editors at the same time, so it looks to me like a problem with the Rubric background thread interacting with mouseMove or mouseEnter/Leave.

Re: [Pharo-dev] RubAbstractTextArea copying

2015-09-18 Thread Stephan Eggermont
On 18-09-15 22:52, Henrik Nergaard wrote: It does not seem that RubScrolledTextMorph supports duplication/copy (tried to duplicate one from nautilus code area and the same clear all code happened. Trying to duplicate a Playground just freezes the image (might be some circular references that

Re: [Pharo-dev] ANSICompatibility package

2015-09-18 Thread Jan Vrany
> > I would rename it to SmalltalkCompatibility to ANSICompatibility > > because > > "Compatibility" is a too general term and could mean backward > > compatibility > > of Pharo versions or compatibility to other languages as well. > > That was me :) I was thinking more broadly that over time

[Pharo-dev] Bitmap VS WordArray in System-Hashing

2015-09-18 Thread Christophe Demarey
Hi, With Max M., we try to kill the dependency between System-Hashing to Graphics - Display Objects. The dependency is there because SHA1 and SHA256 use the Bitmap class to store raw data. We came to replace the use of Bitmap by a WordArray. Tests are still working. Could someone tell us if

Re: [Pharo-dev] [review needed] speed up RBClassNotReferencedRule

2015-09-18 Thread Marcus Denker
>>> >> >> What I did is to implement #isUsed like this in e.g the hierarchy of >> RBLintRule: >> >> isUsed >> "all my sublasses are used" >> ^self name ~= ‘RBLintRule' >> >> this way if RBLintRule is not used, it is seen by the Critique, but all >> subclasses >> are used by

Re: [Pharo-dev] Bitmap VS WordArray in System-Hashing

2015-09-18 Thread Max Leske
> On 18 Sep 2015, at 13:51, Christophe Demarey > wrote: > > Hi, > > With Max M., we try to kill the dependency between System-Hashing to Graphics > - Display Objects. > The dependency is there because SHA1 and SHA256 use the Bitmap class to store > raw data. >

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

2015-09-18 Thread GitHub
Branch: refs/tags/50332 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] RubAbstractTextArea copying

2015-09-18 Thread Henrik Nergaard
Hi Stephan, I looked into the bug a bit and found something strange | m m2 | m := ColorPanel open. m2 := m submorphs third copy. m = m2 panel. "prints false; the panel is duplicated " - add this method to DragWelL: veryDeepInner: deepCopier super veryDeepInner:

Re: [Pharo-dev] ANSICompatibility package

2015-09-18 Thread Ben Coman
Thanks for your contribution Jan. It is interesting how in "CompatibilitySmalltalkX class>>initialize" you deal with missing classes by inserting what are essentially alias into the Smalltalk dictionary. So, I'm happy I learnt something new today. Just curious though why both the class-side

[Pharo-dev] [pharo-project/pharo-core] 0f5bc4: 50332

2015-09-18 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: 0f5bc4ad3988e682b5dcb39d06356ed64e478bde https://github.com/pharo-project/pharo-core/commit/0f5bc4ad3988e682b5dcb39d06356ed64e478bde Author: Jenkins Build Server Date:

Re: [Pharo-dev] R: ANSICompatibility package

2015-09-18 Thread Ben Coman
Thanks Lorenzo, but I'm not clear what the offer is... * making VisualSmalltalk compatible with ANSI ? * making Pharo compatible with VisualSmalltalk ? cheers -ben On Fri, Sep 18, 2015 at 10:09 PM, Lorenzo Schiavina wrote: > Hi Ben, > > I am available if you want to include

Re: [Pharo-dev] ANSICompatibility package

2015-09-18 Thread Ben Coman
Jan, Thanks for your contribution. Actually I hadn't uploaded anything yet since I was waiting on more votes on renaming, but to push ahead I settled on SmalltalkCompatibility [1], since I think the repo can serve a wider purpose than just ANSI. I added you to the PharoExtras team. Hopefully that

Re: [Pharo-dev] ANSICompatibility package

2015-09-18 Thread Jan Vrany
Thanks, Ben. Stuff copied. Cheers, Jan On Fri, 2015-09-18 at 21:54 +0800, Ben Coman wrote: > Jan, Thanks for your contribution. Actually I hadn't uploaded > anything > yet since I was waiting on more votes on renaming, but to push ahead > I > settled on SmalltalkCompatibility [1], since I think

[Pharo-dev] [pharo-project/pharo-core] 9c0520: 50331

2015-09-18 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: 9c0520696d637781a4d225f3b83f862488b36f6b https://github.com/pharo-project/pharo-core/commit/9c0520696d637781a4d225f3b83f862488b36f6b Author: Jenkins Build Server Date:

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

2015-09-18 Thread GitHub
Branch: refs/tags/50331 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] EncodedCharSets

2015-09-18 Thread Nicolas Cellier
Yes, but first step consists in reading http://www.ipa.go.jp/files/05751.pdf to exactly understand which feature you're going to loose, or better, how you're going to support it differently. Nicolas 2015-09-18 10:10 GMT+02:00 Christophe Demarey : > Thanks all

Re: [Pharo-dev] [review needed] speed up RBClassNotReferencedRule

2015-09-18 Thread Jan Vrany
On Fri, 2015-09-18 at 14:48 +0200, Marcus Denker wrote: > > > > > > > > > > What I did is to implement #isUsed like this in e.g the hierarchy > > > of RBLintRule: > > > > > > isUsed > > > "all my sublasses are used" > > > ^self name ~= ‘RBLintRule' > > > > > > this way if RBLintRule is not

[Pharo-dev] RubAbstractTextArea copying

2015-09-18 Thread Stephan Eggermont
I'm trying to understand how to copy a rubric text morph. I don't have a 2nd implementor of #text:textStyle:textColor so how does this work? RubAbstractTextArea>>text: t textStyle: s color: c textColor: tc "Private -- for use only in morphic duplication" self

Re: [Pharo-dev] EncodedCharSets

2015-09-18 Thread Christophe Demarey
Thanks all for your explanations. It looks like there are still a lot of things to clean. Christophe Le 17 sept. 2015 à 19:26, Eliot Miranda a écrit : > Hi Christophe, > > On Thu, Sep 17, 2015 at 7:09 AM, Christophe Demarey > wrote: > Hi again, > > Does anyone

Re: [Pharo-dev] ANSICompatibility package

2015-09-18 Thread Jan Vrany
On Fri, 2015-09-18 at 23:04 +0800, Ben Coman wrote: > Thanks for your contribution Jan. It is interesting how in > "CompatibilitySmalltalkX class>>initialize" you deal with missing > classes by inserting what are essentially alias into the Smalltalk > dictionary. So, I'm happy I learnt

Re: [Pharo-dev] RubAbstractTextArea copying

2015-09-18 Thread Stephan Eggermont
On 18-09-15 16:50, Henrik Nergaard wrote: I looked into the bug a bit and found something strange | m m2 | m := ColorPanel open. m2 := m submorphs third copy. m = m2 panel. "prints false; the panel is duplicated " Yes, that is a bug, that should stay the same. add this method to