Re: [Pharo-dev] Tests around Pharo

2014-10-15 Thread Camille Teruel
On 15 oct. 2014, at 12:35, mschepens schepens.math...@gmail.com wrote: After numerous tries, it was impossible for us to access to smaltalkhub from our university at 11 o'clock, we'll try this evening or next days from our personal connections. Hi Mathieu, I teach at M5 this friday

Re: [Pharo-dev] Context variables?

2014-10-15 Thread Camille Teruel
Hi Jeff, I think you should look at DynamicVariable and ProcessSpecificVariable classes. The first one is a read-only while the second is writable. You have to subclass these class for each variable you want. Ex: DynamicVariable subclass: #MyVar. MyVar value: 4 during: [ MyVar value ] HTH,

Re: [Pharo-dev] BlockClosure source code

2014-10-08 Thread Camille Teruel
On 8 oct. 2014, at 17:49, Marcus Denker marcus.den...@inria.fr wrote: On 08 Oct 2014, at 16:46, Jan Kurš k...@iam.unibe.ch wrote: Hi, I need to extract a source code from a block closure and I found something strange: [ :ctx | [ ctx atEnd ] ifTrue: [ ] ] . [ :ctx | [ ctx atEnd ]

Re: [Pharo-dev] Confused about the GTInspector State Tab

2014-10-01 Thread Camille Teruel
On 1 oct. 2014, at 18:38, stepharo steph...@free.fr wrote: To distinguish between the different types of variables, we could add another column with a tag, like we have in the GTDebugger (e.g., Slot / Derived). What do you think? I do not like slots. Because not all the objects have

Re: [Pharo-dev] Copy class needs more information to do a good job

2014-09-26 Thread Camille Teruel
Another annoying thing is that when you copy a hierarchy you have to change the subclass relationships manually. For example, if you select two classes -- Superclass Subclass -- and copy them you end up with NewSubclass as a subclass of Superclass instead of NewSuperclass. When copying a big

Re: [Pharo-dev] [issue tracker] back porting 4 to 3

2014-09-22 Thread Camille Teruel
On 22 sept. 2014, at 09:14, Marcus Denker marcus.den...@inria.fr wrote: Yes, this is why https://pharo.fogbugz.com/f/cases/13606/testSlotScopeParallelism-is-failing is faling, too. There is a root cause for this that in some cases when changing classes that the layout gets not

Re: [Pharo-dev] what were the changes to announcement?

2014-09-06 Thread Camille Teruel
On 6 sept. 2014, at 14:15, stepharo steph...@free.fr wrote: Hi marcus and camille I tried to identify the changes in announcer byt comparing two images but I could not get it. Could you let me know what you change? Method announcements were not in a hierarchy and had duplicated APIs. I

Re: [Pharo-dev] #canUnderstand: and #canPerform: issue

2014-09-05 Thread Camille Teruel
On 5 sept. 2014, at 15:12, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Hi everyone, I think that it’s essential to solve this, please take a look: https://pharo.fogbugz.com/f/cases/13962/canPerform-same-as-canUnderstand Before #canUnderstand was checking if the class understands a selector

Re: [Pharo-dev] OrderedCollection protocols are broken: a potential fix

2014-09-03 Thread Camille Teruel
On 3 sept. 2014, at 11:42, Clément Bera bera.clem...@gmail.com wrote: Hello guys, I was looking into the OrderedCollection protocols recently to see how well the sista optimizer perform with it methods, and I realized that this is completely broken. For example: col := #(1 2 3 4 5)

Re: [Pharo-dev] speed up with:do: by not checking size

2014-09-03 Thread Camille Teruel
On 3 sept. 2014, at 17:26, Eliot Miranda eliot.mira...@gmail.com wrote: On Wed, Sep 3, 2014 at 7:54 AM, Thierry Goubier thierry.goub...@gmail.com wrote: 2014-09-03 14:40 GMT+02:00 Marcus Denker marcus.den...@inria.fr: with:do: on SequencableCollection checks that both

Re: [Pharo-dev] #literals in RBSmalllintContext

2014-09-02 Thread Camille Teruel
On 2 sept. 2014, at 16:21, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Hi, does anybody know what #literals in RBSmalllintContext stand for? Because it’s calculated in a very weird way with the use of literalSemaphore and literalProcess variables. No, it's weird indeed. Apparently it stores

Re: [Pharo-dev] [ANN] Pointer Detective

2014-09-02 Thread Camille Teruel
On 2 sept. 2014, at 21:37, Max Leske maxle...@gmail.com wrote: You are my hero! I was just complaining about that to Doru at ESUG. This sort of tool should be part of the standard tool set so please keep on improving it and we’ll try to convince someone to integrate it :) +1 Max On

Re: [Pharo-dev] Anonymous classes in Pharo 3 - must be instances of Class, not Behavior

2014-08-29 Thread Camille Teruel
On 29 août 2014, at 13:38, Oscar Nierstrasz oscar.nierstr...@gmail.com wrote: Following up: Behavior new compile: 't ^ true’ fails since #compile: is defined in TBehavior and depends on #basicLocalSelectors which is defined only in Class, MetaClass and TraitBehavior. It

Re: [Pharo-dev] Opal, custom compilers and class-side methods

2014-08-28 Thread Camille Teruel
Ok then, here the bug entry https://pharo.fogbugz.com/f/cases/13938/Opal-custom-compilers-and-class-side-methods Slice in inbox On 28 août 2014, at 10:24, Marcus Denker marcus.den...@inria.fr wrote: On 27 Aug 2014, at 17:53, Camille Teruel camille.ter...@gmail.com wrote: Hi all

Re: [Pharo-dev] Opal, custom compilers and class-side methods

2014-08-28 Thread Camille Teruel
On 28 août 2014, at 15:58, Marcus Denker marcus.den...@inria.fr wrote: On 28 Aug 2014, at 15:54, Yuriy Tymchuk yuriy.tymc...@me.com wrote: On 27 Aug 2014, at 17:53, Camille Teruel camille.ter...@gmail.com wrote: Hi all, With Opal, if you want to customize how methods are compiled

[Pharo-dev] Opal, custom compilers and class-side methods

2014-08-27 Thread Camille Teruel
Hi all, With Opal, if you want to customize how methods are compiled into a class you can override #compilerClass on class-side: MyClass class#compilerClass ^ MySpecialCompiler However this custom compiler is not taken into account when compiling methods on the class-side: MyClass

Re: [Pharo-dev] Transcript class allInstances does not list all instances

2014-08-20 Thread Camille Teruel
Hi Oscar, It's because Transcript is only one instance of ThreadSafeTranscript. 'Transcript open' doesn't create a new instance but opens a new window on that instance. Camille On 20 août 2014, at 17:30, Oscar Nierstrasz (gmail) oscar.nierstr...@gmail.com wrote: In the latest Pharo 3

Re: [Pharo-dev] [Vm-dev] Re: mustBeBooleanMagicIn can crash the vm

2014-08-10 Thread Camille Teruel
On 10 août 2014, at 19:15, Eliot Miranda eliot.mira...@gmail.com wrote: Hi Nicolai, On Sun, Aug 10, 2014 at 9:39 AM, Nicolai Hess nicolaih...@web.de wrote: Hi Eliot, I am pretty sure this is not a vm issue :) The mustBeBooleanInMagic: creates a method on the fly and executes it

[Pharo-dev] Browsing Object is slow

2014-08-07 Thread Camille Teruel
Hi everyone, I noticed that browsing Object take several seconds (5s on my machine). Evaluate Nautilus openOnClass: Object. After profiling, I found it's because of ClassWidgetsetCachedHierarchyClass: that calls SortHierarchically classbuildHierarchyForClasses: with a big collection of

Re: [Pharo-dev] Browsing Object is slow

2014-08-07 Thread Camille Teruel
by the hierarchy/flat-Button (show packages) The second one is enabled by a showhierarch setting You see I was unaware of the setting :) BTW, it doesn't change the way classes are displayed when I disable it. 2014-08-07 13:47 GMT+02:00 Camille Teruel camille.ter...@gmail.com: Hi everyone, I

Re: [Pharo-dev] Deprecator

2014-08-07 Thread Camille Teruel
On 7 août 2014, at 16:15, Sean P. DeNigris s...@clipperadams.com wrote: camille teruel wrote I hope for comments How do you activate it? I loaded into #40160, and copied your snippets from the post, but when I did MyClass new senderMethod, no debugger came up... Hello Sean, Sorry, I did

Re: [Pharo-dev] Deprecator

2014-08-07 Thread Camille Teruel
On 7 août 2014, at 16:32, Sean P. DeNigris s...@clipperadams.com wrote: Sean P. DeNigris wrote How do you activate it? Oh, okay. I guess from looking at the tests that the new pragma is deprecatedIn:replaceWith: Next problem ;)... I see that you've omitted the RB `@ syntax. While

Re: [Pharo-dev] Deprecator

2014-08-07 Thread Camille Teruel
Sorry for delay, I was taken by some other business :) I fixed the bug you reported: check new version. On 7 août 2014, at 16:42, Sean P. DeNigris s...@clipperadams.com wrote: camille teruel wrote It's because I don't want users to have to know RB pattern syntax and also because I plan

Re: [Pharo-dev] Does anybody have an idea why when I open a transcript and recompile a method I get

2014-08-06 Thread Camille Teruel
On 5 août 2014, at 21:24, Clément Bera bera.clem...@gmail.com wrote: Because someone activated the method mustBeBooleanMagicIn: by default whereas it was just a hack to experiment. If it's not integrated it's not gonna improve. This situation is a proof of that: it's because it's activated

Re: [Pharo-dev] Has someone ever built a sort block generator

2014-08-01 Thread Camille Teruel
On 1 août 2014, at 16:47, Mariano Martinez Peck marianop...@gmail.com wrote: On Fri, Aug 1, 2014 at 11:31 AM, Esteban A. Maringolo emaring...@gmail.com wrote: Y asked for the same thing a few days ago in http://forum.world.st/Multiple-sorting-helper-td4770613.html Something like:

Re: [Pharo-dev] Has someone ever built a sort block generator

2014-08-01 Thread Camille Teruel
On 1 août 2014, at 16:50, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On 01 Aug 2014, at 4:47 , Mariano Martinez Peck marianop...@gmail.com wrote: On Fri, Aug 1, 2014 at 11:31 AM, Esteban A. Maringolo emaring...@gmail.com wrote: Y asked for the same thing a few days ago in

Re: [Pharo-dev] Opening World Tools via Shortcuts

2014-07-25 Thread Camille Teruel
On OSX you have (on Windows and Linux you might change Cmd to Ctrl or Alt I never remember): - Monticello: Cmd+O,P - Workspace: Cmd+O,W - Browser: Cmd+O,B - Transcript: Cmd+O,T - Settings: Cmd+O,S - Test Runner: Cmd+O,U AFAIK there is no shortcut for the Finder, we can assign it

[Pharo-dev] Deprecator

2014-07-24 Thread Camille Teruel
Hello Pharo users, I'm pleased to announce the release of Deprecator. It's a prototype of a small tool that permits you to deprecate method by annotating them with a deprecated: ... pragma. This pragma takes a rewrite expression as argument that specifies how to rewrite the message send to the

Re: [Pharo-dev] Deprecator

2014-07-24 Thread Camille Teruel
On 24 juil. 2014, at 17:05, stepharo steph...@free.fr wrote: Camille Ammonite is not that sezzy :) Because it has tentacles? :-D May be autoRepair selfRepair :) Yes for example ;) Stef On 24/7/14 14:34, Camille Teruel wrote: Hello Pharo users, I'm pleased to announce

Re: [Pharo-dev] Division isn't correct

2014-07-11 Thread Camille Teruel
On 11 juil. 2014, at 17:01, Igor Stasenko siguc...@gmail.com wrote: I would put it this way: - If you writing code, which requires comparing two floating-point values for equality, then you do something wrong. :D Rule of thumb: don't use floats ;) -- Best regards, Igor Stasenko.

Re: [Pharo-dev] Pharo running with spur (work in process)

2014-07-02 Thread Camille Teruel
A spur image :) awesome !! Thanks Esteban Guille! I'll start adapting the new class builder to Spur next wednesday when I come back from holidays. On 2 juil. 2014, at 16:13, Esteban Lorenzano esteba...@gmail.com wrote: Hi, I’ve been working on prepare Pharo to run with the new Spur VM…

Re: [Pharo-dev] [Pharo4] Slots: API for Classes

2014-06-25 Thread Camille Teruel
On 25 juin 2014, at 14:06, Marcus Denker marcus.den...@inria.fr wrote: Hi, Already in Pharo3 all instance variables are described using meta-objects (so called slots). To make it easier to access the slots, I added some simple methods to ClassDescription on 4.0 043, Now we can do

Re: [Pharo-dev] news from block :)

2014-06-11 Thread Camille Teruel
On 11 juin 2014, at 15:31, François Stephany tulipe.mouta...@gmail.com wrote: What is bloc ? I've searched in the pharo-dev list but couldn't find it :/ A Morphic clean/revamp lead by Alain and Stef. On Wed, Jun 11, 2014 at 2:26 PM, stepharo steph...@free.fr wrote: looks so exciting...

Re: [Pharo-dev] Pipe operator

2014-06-08 Thread Camille Teruel
On 8 juin 2014, at 19:20, Garth Holland steve9571...@hotmail.com wrote: The pipe operator appears in many languages (F#, Haskell, Elixir, Clojure (threading macro)). It's an elegant way of chaining method/function calls in the presence of additional parameters. The reddit example could be

Re: [Pharo-dev] Debugger weirdness

2014-06-03 Thread Camille Teruel
On 3 juin 2014, at 13:34, Clément Bera bera.clem...@gmail.com wrote: Hello, It happens sometimes when you edit a blockClosure code and that the debugger cannot find it on stack. Why would the debugger need to find a context for an edited block? The only reason I see would be on-stack

Re: [Pharo-dev] GPU accelerated GUI

2014-05-31 Thread Camille Teruel
On 31 mai 2014, at 20:21, Hilaire Fernandes hilaire.fernan...@gmail.com wrote: I know the points you described but my point was really it could help -- as Esteban rephrased it -- if we have a place to write down stuff/idea/things to do/technical info related to Pharo improvement. It is

Re: [Pharo-dev] Error adding a Class instVar

2014-04-27 Thread Camille Teruel
WAConfigAttributeEditor class WAFileAttributeEditor class WAFileLibrary class WAFileMetadataLibrary class WAFilterAttributeEditor class WAStreamedResponse class WindowsOSProcessAccessor class WindowsProcess class WorldModel class Regards! Esteban A. Maringolo 2014-04-25 4:42 GMT-03:00 Camille Teruel

Re: [Pharo-dev] [pharo-project/pharo-core] 1953a9: 30829

2014-04-24 Thread Camille Teruel
On 24 avr. 2014, at 09:59, Marcus Denker marcus.den...@inria.fr wrote: On 23 Apr 2014, at 19:30, Marcus Denker marcus.den...@inria.fr wrote: On 23 Apr 2014, at 19:21, Camille Teruel camille.ter...@gmail.com wrote: On 23 avr. 2014, at 19:00, Marcus Denker marcus.den...@inria.fr wrote

Re: [Pharo-dev] [pharo-project/pharo-core] 1953a9: 30829

2014-04-24 Thread Camille Teruel
On 24 avr. 2014, at 14:18, Marcus Denker marcus.den...@inria.fr wrote: This seems to have worked: all image tests are green. BUT: the Metacello Platformtests fail with a “should not happen” error. Did you run the postscript? Smalltalk allClassesDo: [ :c | c superclass addSubclass: c ]

Re: [Pharo-dev] Pharo crashes

2014-04-24 Thread Camille Teruel
On 24 avr. 2014, at 14:37, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On 24 Apr 2014, at 2:21 , Marcus Denker marcus.den...@inria.fr wrote: On 24 Apr 2014, at 14:04, Christophe Demarey christophe.dema...@inria.fr wrote: Yes it looks like there is a bug in the slot class

Re: [Pharo-dev] [pharo-project/pharo-core] 1953a9: 30829

2014-04-23 Thread Camille Teruel
On 23 avr. 2014, at 19:00, Marcus Denker marcus.den...@inria.fr wrote: On 23 Apr 2014, at 18:34, Marcus Denker marcus.den...@inria.fr wrote: On 23 Apr 2014, at 18:18, Sven Van Caekenberghe s...@stfx.eu wrote: And we're all GREEN, great work ! Let's keep it that way until release.

Re: [Pharo-dev] Closure vs BlockClosure

2014-04-17 Thread Camille Teruel
On 17 avr. 2014, at 17:33, Camille Teruel camille.ter...@gmail.com wrote: One thing that confuses me with these terminologies is that it's hard to know when someone speak about the syntactic construct (that you find in source code) or about the result of evaluating this construct

Re: [Pharo-dev] Weak pointer

2014-04-10 Thread Camille Teruel
On 10 avr. 2014, at 10:50, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Hi guys. Is there a way to have a week pointer? Or some wrapper with a week pointer? I know that there are week collections, but I what to have a “variable” that won’t prevent the object it points to be garbage

Re: [Pharo-dev] Puzzled

2014-04-04 Thread Camille Teruel
Fix in inbox https://pharo.fogbugz.com/f/cases/13170/ On 4 avr. 2014, at 12:46, Camille Teruel camille.ter...@gmail.com wrote: On 4 avr. 2014, at 12:37, Pharo4Stef pharo4s...@free.fr wrote: Thanks camille apparently I restarted from a clean image but may be I merged. Could you try

Re: [Pharo-dev] left over when resizing window

2014-04-03 Thread Camille Teruel
On 3 avr. 2014, at 13:54, Pharo4Stef pharo4s...@free.fr wrote: Hi all do you see a glitch when I resize a window? Because it is not really nice. Nope, nothing in latest image at least. Does it happen in a fresh image? Stef

Re: [Pharo-dev] left over when resizing window

2014-04-03 Thread Camille Teruel
On 3 avr. 2014, at 14:15, Tudor Girba tu...@tudorgirba.com wrote: I see it on Mac. On Windows it works fine. I thought this was a known issue. Weird I'm on osx too and I see nothing. In what image/VM does it happen for you? Doru On Thu, Apr 3, 2014 at 1:54 PM, Pharo4Stef

Re: [Pharo-dev] left over when resizing window

2014-04-03 Thread Camille Teruel
-4015-97a3-be7db8d9ed6b Mar 13 2013 git://gitorious.org/cogvm/blessed.git Commit: 412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13 17:48:50 +0100 By: Esteban Lorenzano esteba...@gmail.com Jenkins build #14535 ' Doru On Thu, Apr 3, 2014 at 2:16 PM, Camille Teruel camille.ter

Re: [Pharo-dev] left over when resizing window

2014-04-03 Thread Camille Teruel
, Apr 3, 2014 at 2:33 PM, Camille Teruel camille.ter...@gmail.com wrote: On 3 avr. 2014, at 14:21, Tudor Girba tu...@tudorgirba.com wrote: It happens all the time on Mac. It is not so obvious in the default Pharo image because of the background. In the Moose image, the background is white

Re: [Pharo-dev] Trait1 Trait2 Trait3 in Smalltalk globals allClassesAndTraits

2014-03-25 Thread Camille Teruel
On 24 mars 2014, at 23:30, p...@highoctane.be wrote: On a fresh 3.0, there are Trait1, Trait2 and Trait3 in Smalltalk globals allClassesAndTraits These 3 look like they are equivalents to Trait. What are these for? That's just some test fixtures. Phil

Re: [Pharo-dev] new website about Artefact

2014-03-24 Thread camille teruel
Congrats it's very funny :D 2014-03-24 15:40 GMT+01:00 olivier olivier.auver...@gmail.com: Hi, A website is now available about Artefact. Documentation and useful informations are grouped to help you to produce many and beautiful PDF documents with Pharo.

Re: [Pharo-dev] Weird indenting with #with:

2014-03-20 Thread Camille Teruel
On 20 mars 2014, at 20:30, Sergi Reyner sergi.rey...@gmail.com wrote: 2014-03-20 19:23 GMT+00:00 Esteban Lorenzano esteba...@gmail.com: I do not understand what your problem is. If is bad indented, you can always reformat. Source formatting is not pharo responsibility but the programmer

Re: [Pharo-dev] Just found, i can compile this:

2014-03-18 Thread Camille Teruel
Indeed, I can compile: Cfoo: arg ^ arg := 3 And 'C new foo: 1' returns 3... On 18 mars 2014, at 15:16, Igor Stasenko siguc...@gmail.com wrote: extent: newExtent vertical ifTrue: [ newExtent := self defaultWidth @ newExtent y ] ifFalse: [ newExtent :=

Re: [Pharo-dev] Sort by property

2014-03-11 Thread Camille Teruel
Hi Yuriy, I though the same. There is a similar situation with pluggable collections where you have to specify two blocks: one for the hash the other for equality. So you have to repeat three times the property you're interested in: PluggableSet new hashBlock: [ :each | each name hash

Re: [Pharo-dev] Adding an iVar to class Class still gives error

2014-02-25 Thread Camille Teruel
I found a way to fix it. For certain classes and metaclasses, the slotScope is not correct. That is aClass superclass layout slotScope == aClass layout slotScope parentScope responds false!! Here is a dirty fix to find and rebuild these classes and metaclasses. But I would like to have a better

Re: [Pharo-dev] Issue 12832 OpalCompiler / Debugger

2014-02-14 Thread Camille Teruel
to deal with the current mapping for now. Thank you ben, for finding/looking at the failing tests. (I wished we would have an improved debugger, showing sourcecode, AST, IR and bytecode linked together :-) 2014-02-13 16:27 GMT+01:00 Camille Teruel camille.ter...@gmail.com: Hi Nicolai

Re: [Pharo-dev] Issue 12832 OpalCompiler / Debugger

2014-02-13 Thread Camille Teruel
Hi Nicolai, I opened the issue 12875 and committed a fix. Can you look at it? On 11 févr. 2014, at 11:54, Nicolai Hess nicolaih...@web.de wrote: Ben, Camille, can you take a look at this code |a b| a:='String'. b:='t'. a collectWithIndex:[:c :i | c b] Debug this code and step over

Re: [Pharo-dev] [gsoc-mentors] GSoC: call for ideas

2014-02-12 Thread Camille Teruel
of modification of anonymous classes. Then the student can provides several examples of custom slots and identify potential clients of these new facilities. Dialect: Pharo Skill level: intermediate Mentors: Camille Teruel / Martin Dias == Title

Re: [Pharo-dev] Unethical behaviour on GSoC 2010 (was The truth on GSOC, ESUG and bad attitude)

2014-02-10 Thread Camille Teruel
2010? Really? If there were a problem with GSoC 2010, you should have spoke that through *in 2010*. Bringing back such story as public ad hominem accusations four years later is just useless and harmful, as this flamewar demonstrates. Smalltalk community is too small to afford this kind of

Re: [Pharo-dev] Please keep your cool new stuff for Pharo 4

2014-01-31 Thread Camille Teruel
On 31 janv. 2014, at 17:40, Marcus Denker marcus.den...@inria.fr wrote: On 31 Jan 2014, at 17:31, b...@openinworld.com wrote: Esteban Lorenzano wrote: So… instead following my advice, you people continue submitting and asking for integration things that are API changes. As a result,

Re: [Pharo-dev] bugs with blocks

2014-01-27 Thread Camille Teruel
On 27 janv. 2014, at 08:44, Marcus Denker marcus.den...@inria.fr wrote: On 26 Jan 2014, at 10:08, Camille Teruel camille.ter...@gmail.com wrote: [ [ ] ] prints: [ ] instead of: [ [ ] ] and [ :arg | [ arg ] ] prints: DoIt ^ [ :arg | [ arg ] ] yourself instead

Re: [Pharo-dev] bugs with blocks

2014-01-27 Thread Camille Teruel
) sourceNode IRMethod#instructionForPC: aPC 0 to: -3 by: -1 do: [ : off | (self firstInstructionMatching: [:ir | ir bytecodeOffset = (aPC - off) ]) ifNotNil: [:it |^it]] 2014/1/27 Camille Teruel camille.ter...@gmail.com On 27 janv. 2014, at 08:44, Marcus Denker marcus.den

Re: [Pharo-dev] bugs with blocks

2014-01-27 Thread Camille Teruel
On 27 janv. 2014, at 14:32, Nicolai Hess nicolaih...@web.de wrote: 2014-01-27 Camille Teruel camille.ter...@gmail.com On 27 janv. 2014, at 10:44, Camille Teruel camille.ter...@gmail.com wrote: On 27 janv. 2014, at 09:28, Clément Bera bera.clem...@gmail.com wrote: Hello, I don't

[Pharo-dev] bugs with blocks

2014-01-26 Thread Camille Teruel
[ [ ] ] prints: [ ] instead of: [ [ ] ] and [ :arg | [ arg ] ] prints: DoIt ^ [ :arg | [ arg ] ] yourself instead of: [ :arg | [ arg ] ] Apparently it's the print that is not correct because of problem in #sourceNode. Any clue? Marcus? Clément?

Re: [Pharo-dev] bugs with blocks

2014-01-26 Thread Camille Teruel
of its correct, need an expert review :) On 26 janv. 2014, at 10:07, Camille Teruel camille.ter...@gmail.com wrote: [ [ ] ] prints: [ ] instead of: [ [ ] ] and [ :arg | [ arg ] ] prints: DoIt ^ [ :arg | [ arg ] ] yourself instead of: [ :arg | [ arg ] ] Apparently it's

Re: [Pharo-dev] TraitComposition equality

2014-01-22 Thread Camille Teruel
On 22 janv. 2014, at 10:13, Martin Dias tinchod...@gmail.com wrote: On Wed, Jan 22, 2014 at 10:05 AM, Martin Dias tinchod...@gmail.com wrote: should (T1 @ {#a - #b} @ {#x - #y}) = (T1 @ {#x - #y} @ {#a - #b}) ? two more: (T1 - {#a. #b}) = (T1 - {#b. #a}) (T1 - {#a} - {#b}) =

Re: [Pharo-dev] Bad naming: users

2014-01-21 Thread Camille Teruel
On 21 janv. 2014, at 17:53, Stephan Eggermont step...@stack.nl wrote: I tried loading Deltawerken in Pharo 3.0 and noticed it is now impossible to load code where a class side method is defined named users. DEUser classusers ^self subclassResponsibility Stephan I guess it's a

Re: [Pharo-dev] Bad naming: users

2014-01-21 Thread Camille Teruel
wrote: This is where the only 5 reserved keywords stop being true :) I've been bitten by similar things and ended up using my own selectors, sometimes with a prefix. Regards! Esteban A. Maringolo 2014/1/21 Camille Teruel camille.ter...@gmail.com On 21 janv. 2014, at 17:53

Re: [Pharo-dev] Bad naming: users

2014-01-21 Thread Camille Teruel
own selectors, sometimes with a prefix. Regards! Esteban A. Maringolo 2014/1/21 Camille Teruel camille.ter...@gmail.com On 21 janv. 2014, at 17:53, Stephan Eggermont step...@stack.nl wrote: I tried loading Deltawerken in Pharo 3.0 and noticed it is now impossible to load code

Re: [Pharo-dev] IncompatibleLayoutConflict with NativeBoost in recent #30700

2014-01-17 Thread Camille Teruel
On 16 janv. 2014, at 16:58, Marcus Denker marcus.den...@inria.fr wrote: Hello, I was looking into that, the first (maybe only) reason is that the new class builder can not make anonymous subclasses of classes with ByteLayout Is that really a bug? Should it really be possible to subclass

Re: [Pharo-dev] IncompatibleLayoutConflict with NativeBoost in recent #30700

2014-01-17 Thread Camille Teruel
On 17 janv. 2014, at 11:13, Igor Stasenko siguc...@gmail.com wrote: On 17 January 2014 10:09, Camille Teruel camille.ter...@gmail.com wrote: On 16 janv. 2014, at 16:58, Marcus Denker marcus.den...@inria.fr wrote: Hello, I was looking into that, the first (maybe only) reason

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Camille Teruel
On 6 janv. 2014, at 10:56, Clément Bera bera.clem...@gmail.com wrote: Hello, here I have a class A== ^ true Now: a := A new. b := A new. a == b Answers false a perform: #== with: b Answers true Do I have to remove the usage of the byte code for #== in the compiler to be

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Camille Teruel
On 6 janv. 2014, at 13:55, Marcus Denker marcus.den...@inria.fr wrote: On 06 Jan 2014, at 13:43, Clément Bera bera.clem...@gmail.com wrote: So I tried and it worked. In Opal to remove the usage of #==, I removed it from the special selector array in the method: IRBytecodeGenerator

Re: [Pharo-dev] Can we override == in Pharo ?

2014-01-06 Thread Camille Teruel
On 6 janv. 2014, at 13:30, Alexandre Bergel alexandre.ber...@me.com wrote: You may need to do this if you are using proxies. The fact that #== is not sent is actually really useful for proxies. Because if #== were intercepted by the proxy and forwarded to the target then there is no

Re: [Pharo-dev] Nautilus extensions questions

2013-12-11 Thread Camille Teruel
On 11 déc. 2013, at 11:31, Stéphane Ducasse stephane.duca...@inria.fr wrote: Ben with pavel we are looking at Nautilus extensions because some of them should be moved to the extended packages. Now I was wondering why TClassDescription is extended with menu see below. I imagine that

Re: [Pharo-dev] Editing Fogbugz welcome page

2013-11-28 Thread Camille Teruel
I changed permissions on this wiki. Does it solves the problem? On 28 nov. 2013, at 13:16, b...@openinworld.com wrote: I'd like to add some stuff to the Fogbugz Welcome page [1], but I can't work out how to do it. Is a permissions issue maybe hiding something from my page (see attached) ?

Re: [Pharo-dev] Editing Fogbugz welcome page

2013-11-28 Thread Camille Teruel
, at 13:28, Camille Teruel camille.ter...@gmail.com wrote: I changed permissions on this wiki. Does it solves the problem? On 28 nov. 2013, at 13:16, b...@openinworld.com wrote: I'd like to add some stuff to the Fogbugz Welcome page [1], but I can't work out how to do it. Is a permissions

Re: [Pharo-dev] why can't we select the browser we want to use anymore via the window menu?

2013-11-24 Thread Camille Teruel
On 24 nov. 2013, at 21:44, Marcus Denker marcus.den...@inria.fr wrote: On 24 Nov 2013, at 21:41, Sven Van Caekenberghe s...@stfx.eu wrote: On 24 Nov 2013, at 21:18, Stéphane Ducasse stephane.duca...@inria.fr wrote: No you should not. 30 is really usable and we are in alpha. Now

Re: [Pharo-dev] Slot class builder: Anonymous class modification

2013-11-23 Thread Camille Teruel
classes :D Cheers, Hernán El 22/11/2013 12:04, Camille Teruel escribió: Hi everyone, With Esteban, we bumped into a problem with anonymous subclasses and the slot class builder. The problem is that once an anonymous class is created is not possible to modify it. Here

[Pharo-dev] Slot class builder: Anonymous class modification

2013-11-22 Thread Camille Teruel
Hi everyone, With Esteban, we bumped into a problem with anonymous subclasses and the slot class builder. The problem is that once an anonymous class is created is not possible to modify it. Here is the problem: For creating an anonymous class with the new class builder API you do something

Re: [Pharo-dev] Slot class builder: Anonymous class modification

2013-11-22 Thread Camille Teruel
On 22 nov. 2013, at 16:27, Igor Stasenko siguc...@gmail.com wrote: On 22 November 2013 16:25, Igor Stasenko siguc...@gmail.com wrote: On 22 November 2013 16:04, Camille Teruel camille.ter...@gmail.com wrote: Hi everyone, With Esteban, we bumped into a problem with anonymous

Re: [Pharo-dev] Old ClassBuilder remove!

2013-11-22 Thread Camille Teruel
not understand: #last on reads). So, IMO Fuel should work like it works today, without taking slots into account. But maybe they are some weird cases where you want to trigger the slot logic, I don't know. On Thu, Nov 21, 2013 at 7:24 AM, Camille Teruel camille.ter...@gmail.com wrote: On 21

Re: [Pharo-dev] Old ClassBuilder remove!

2013-11-21 Thread Camille Teruel
of specifying the slots is spread over the whole Moose models. Once slots are supported as first class, we can build the strategy of bidirectionality directly in the slot support. This will be more elegant. Doru On Thu, Nov 21, 2013 at 2:24 PM, Camille Teruel camille.ter...@gmail.com wrote

Re: [Pharo-dev] A thought about backporting

2013-11-15 Thread Camille Teruel
On 15 nov. 2013, at 13:19, kilon alios kilon.al...@gmail.com wrote: what crack you are smoking is not very nice. Being polite never hurts. This is a friendly community lets keep it this way. I don't think it was said meanly but just to make a point. Mails don't convey the intended tone

[Pharo-dev] Fwd: Fwd: [Pharo-users] State of Flamel?

2013-11-14 Thread Camille Teruel
Begin forwarded message: From: Clément Bera bera.clem...@gmail.com Subject: [Pharo-dev] Fwd: [Pharo-users] State of Flamel? Date: 14 novembre 2013 13:05:32 UTC+1 To: Discusses Development of Pharo pharo-dev@lists.pharo.org, step...@stack.nl Reply-To: Pharo Development List

Re: [Pharo-dev] Contributor in Pharo30Inbox

2013-11-14 Thread Camille Teruel
On 14 nov. 2013, at 15:12, Damien Cassou damien.cas...@gmail.com wrote: On Mon, Nov 11, 2013 at 1:58 PM, Alexandre Bergel alexandre.ber...@me.com wrote: Someone can add abergel to the contributors please? http://smalltalkhub.com/#!/~Pharo/Pharo30Inbox/contributors someone did it Yes it

Re: [Pharo-dev] PharoV20.source

2013-11-13 Thread Camille Teruel
On 12 nov. 2013, at 23:54, Clément Bera bera.clem...@gmail.com wrote: Hello, Currently the idea is to put the source file as a compressed AST in the image. The status is: - standard AST is 300Mb for the whole image, which is too much - standard AST with nodes shared between

Re: [Pharo-dev] Instrumenting field accesses with Opal?

2013-11-13 Thread Camille Teruel
On 13 nov. 2013, at 14:21, Alexandre Bergel alexandre.ber...@me.com wrote: Hi! Is there a way to get notified when fields are accessed? That would be awesome You can use the current reflectivity prototype. It's on RMoD CI: https://ci.inria.fr/rmod/job/Reflectivity/ It should look like

Re: [Pharo-dev] Checking RB rules? manifest browser?

2013-11-07 Thread Camille Teruel
On 6 nov. 2013, at 22:43, Alexandre Bergel alexandre.ber...@me.com wrote: Hi! We have some rules we would like to check against our code (Amber slime rules). How can we do that? Do we need the manifest browser? How to load it? I searched for manifest in smalltalkhub and I got no result.

Re: [Pharo-dev] Unwind error during termination

2013-10-29 Thread Camille Teruel
On 29 oct. 2013, at 13:22, Clément Bera bera.clem...@gmail.com wrote: (Igor speaking with Clement) Another, tangent. I feel extremely wrong with given piece of code (however it works): [ ^ 2 ] ensure: [ ^ 5 ] my point, that you cannot return from same context twice, and what happens

Re: [Pharo-dev] UpdatingMenuMorph

2013-10-25 Thread Camille Teruel
On 25 oct. 2013, at 09:50, Stéphane Ducasse stephane.duca...@inria.fr wrote: I was only use in stupid halos and the code is not really good. Now if somebody does a pass on it we could readd it to the basis. (right now I just put it back for the sound package - but the sound package shows it

Re: [Pharo-dev] UpdatingMenuMorph

2013-10-24 Thread Camille Teruel
On 24 oct. 2013, at 22:07, Sean P. DeNigris s...@clipperadams.com wrote: What happened to it and why? I'm porting TWM to 3.0 and didn't find any mention of removal on the dev or issue mailing list... Thanks. It was removed in 30507. The decision to remove it has been made during the august

Re: [Pharo-dev] missing updates: 30503 30504

2013-10-23 Thread Camille Teruel
On 23 oct. 2013, at 15:58, Camillo Bruni camillobr...@gmail.com wrote: On 2013-10-23, at 15:53, Camillo Bruni camillobr...@gmail.com wrote: On 2013-10-23, at 13:47, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Oct 22, 2013, at 9:34 AM, Camillo Bruni camillobr...@gmail.com wrote:

Re: [Pharo-dev] missing updates: 30503 30504

2013-10-23 Thread Camille Teruel
On 23 oct. 2013, at 16:29, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: did you push ? Yes I do not see any change :( I just enclosed the script. That's how I interpreted the request for formatting. Ben On 23 Oct 2013, at 16:24, Camille Teruel camille.ter...@gmail.com wrote

Re: [Pharo-dev] default monospaced code font

2013-10-15 Thread Camille Teruel
On 15 oct. 2013, at 14:46, Camillo Bruni wrote: processing.org uses monospaced font, these are the art guys that have more sense graphics than any one this mailinglist (BTW, how many of you have visited an art school?) Me, many times. And surprisingly, most people there will tell you that

Re: [Pharo-dev] TestCase Announcers classvar is bizarre

2013-08-30 Thread Camille Teruel
On 30 août 2013, at 13:16, Igor Stasenko wrote: can someone explain me, PLEASE, what is it for, and why there are announcer per each subclass of TestCase needed and why you organize it in a dictionary It should be a class side instance variable instead of a classVar that maps test cases to

Re: [Pharo-dev] TestCase Announcers classvar is bizarre

2013-08-30 Thread Camille Teruel
On 30 août 2013, at 13:38, Igor Stasenko wrote: On 30 August 2013 13:31, Camille Teruel camille.ter...@gmail.com wrote: On 30 août 2013, at 13:16, Igor Stasenko wrote: can someone explain me, PLEASE, what is it for, and why there are announcer per each subclass of TestCase needed

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Camille Teruel
On 26 août 2013, at 10:56, Esteban Lorenzano wrote: On Aug 25, 2013, at 9:40 AM, Camille Teruel camille.ter...@gmail.com wrote: On 24 août 2013, at 19:20, Camillo Bruni wrote: We have now: String #asClass String #asClassIfAbsent: String #asClassIfPresent: I don't understand

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Camille Teruel
: are already there and if you want to ensure the global is a class you could have: classNamed:ifAbsent:ifPresent: On 26 August 2013 12:31, Camille Teruel camille.ter...@gmail.com wrote: On 26 août 2013, at 10:56, Esteban Lorenzano wrote: On Aug 25, 2013, at 9:40 AM, Camille Teruel

Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-26 Thread Camille Teruel
On 26 août 2013, at 15:04, Igor Stasenko wrote: On 26 August 2013 14:34, Camille Teruel camille.ter...@gmail.com wrote: On 26 août 2013, at 13:31, Igor Stasenko wrote: the intent was to replace Smalltalk at: Smalltalk globals at: idioms with shorter one, and get rid

Re: [Pharo-dev] Uniformizing Pharo

2013-08-17 Thread Camille Teruel
On 16 août 2013, at 21:57, Stéphane Ducasse wrote: On Aug 16, 2013, at 3:59 PM, Camille Teruel camille.ter...@gmail.com wrote: Also, to prevent explosion of the number of protocol names in the image, we could agree on some naming convention. For example, there are protocols ending

  1   2   >