Re: [Pharo-dev] can someone explain me this?

2015-05-21 Thread Esteban Lorenzano
> On 21 May 2015, at 23:52, Marcus Denker wrote: > > >> On 21 May 2015, at 22:14, Esteban Lorenzano wrote: >> >> Smalltalk allClassesAndTraits size. "5057" >> Object withAllSubclasses size. “9900" >> >> I really do not understand :) >> > > Metaclasses. For every X there is "X class” which

[Pharo-dev] Best practice for overwriting methods in other classes

2015-05-21 Thread Kasper Osterbye
I have now twice in two different situations felt a need to "steal" a method in Nautilus and make that method an extension method in my own package. In situation A, I wanted to steal the #buildCommentPane to use a different Morph for class comments, In situation B, Sergio and I needed to redefine

Re: [Pharo-dev] can someone explain me this?

2015-05-21 Thread Norbert Hartl
> Am 21.05.2015 um 22:14 schrieb Esteban Lorenzano : > > Smalltalk allClassesAndTraits size. "5057" > Object withAllSubclasses size. “9900" > > I really do not understand :) And I enjoy those times that you do not understand something. Makes me feel closer to you :P Norbert

Re: [Pharo-dev] can someone explain me this?

2015-05-21 Thread Marcus Denker
> On 21 May 2015, at 22:14, Esteban Lorenzano wrote: > > Smalltalk allClassesAndTraits size. "5057" > Object withAllSubclasses size. “9900" > > I really do not understand :) > Metaclasses. For every X there is "X class” which is (eventually) a subclass of Object, too. Marcus

Re: [Pharo-dev] Morphic menus

2015-05-21 Thread Matthieu Lacaton
Yeah it is really no big deal. Just some minor things I noticed while working my way through all those morphics ;) Le 21 mai 2015 21:10, "Nicolai Hess" a écrit : > > > 2015-05-21 16:50 GMT+02:00 Matthieu Lacaton : > >> Hello everyone, >> >> I had to understand how menus work in Morphic lately and

Re: [Pharo-dev] can someone explain me this?

2015-05-21 Thread Nicolas Cellier
You should try something like (Object withAllSubclasses reject: #isMeta) size... Also maybe start with ProtoObject... In Squeak, I have ((Smalltalk allClassesAndTraits reject: #isTrait) difference: (ProtoObject withAllSubclasses reject: #isMeta)) size = 0 2015-05-21 22:14 GMT+02:00 Esteban Lorenz

[Pharo-dev] can someone explain me this?

2015-05-21 Thread Esteban Lorenzano
Smalltalk allClassesAndTraits size. "5057" Object withAllSubclasses size. “9900" I really do not understand :) Esteban

Re: [Pharo-dev] Morphic menus

2015-05-21 Thread Nicolai Hess
2015-05-21 16:50 GMT+02:00 Matthieu Lacaton : > Hello everyone, > > I had to understand how menus work in Morphic lately and I noticed some > things : > > 1) When a menu has strictly more than 1 submenu active it cannot regain > the focus if the mouse doesn't pass over the submenus first. It is a

Re: [Pharo-dev] [Pharo-users] Next Pharo sprint & Moose dojo

2015-05-21 Thread Jean-Christophe Bach
* Tudor Girba [21.05.2015. @13:04:19 +0200]: > Great! > > It would be great if you could test Moose 5.1 (stable) and let us know if > you encounter problems or if you commit new changes so that we can finally > release it. Do you think this would fit in your sprint/dojo? > > Cheers, > Doru OK,

Re: [Pharo-dev] [Review]: Issue 15567 - TxText Cleanup for Pharo 5.0 #4

2015-05-21 Thread Nicolai Hess
Am 21.05.2015 5:29 nachm. schrieb "Sean P. DeNigris" : > > Nicolai Hess wrote > > There is still one change in a class that does not belong to this package: > > OCAbstractMethodScope > > But that method is in the "*TxText-Styler" protocol! > > Ah, sorry, didnt saw that. > > - > Cheers, > Sean

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

2015-05-21 Thread GitHub
Branch: refs/tags/50057 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 7bc238: 50057

2015-05-21 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: 7bc23816ad1b6dd5a13c64eb09b018b3865b4142 https://github.com/pharo-project/pharo-core/commit/7bc23816ad1b6dd5a13c64eb09b018b3865b4142 Author: Jenkins Build Server Date: 2015-05-21 (Thu, 21 May 2015

Re: [Pharo-dev] Null Coalesce Operator?

2015-05-21 Thread Richard Sargent
abergel wrote > Hi! > > I perfectly understand the purpose of this method "??” > Although I do not think this will seriously impact the quality of the code > being produced, ... Actually, I would argue it that it would degrade the quality of code. There is less clarity conveyed by infix operators

Re: [Pharo-dev] [Moose-dev] Re: Fwd: Magritte = Auto-GT Presentation

2015-05-21 Thread Sean P. DeNigris
Tudor Girba-2 wrote > Hi Sean, > > Sorry for the slow response. > ... > gtInspectorMagritteIn: composite > > > composite magritte > title: 'Form'; > display: [ self ] Bravo! Well done! This is *so* useful. Thank you and keep it up :) You just saved me time, and more impo

Re: [Pharo-dev] [Review]: Issue 15567 - TxText Cleanup for Pharo 5.0 #4

2015-05-21 Thread Sean P. DeNigris
Nicolai Hess wrote > There is still one change in a class that does not belong to this package: > OCAbstractMethodScope But that method is in the "*TxText-Styler" protocol! - Cheers, Sean -- View this message in context: http://forum.world.st/Review-Issue-15567-TxText-Cleanup-for-Pharo-5-0

Re: [Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread Damien Pollet
On 21 May 2015 at 16:22, Max Leske wrote: > About the spaceship operator (<=>), is this something we'd like to have > around? (I like it). http://en.wikipedia.org/wiki/Three-way_comparison > > How would you make this “object oriented”? Have three singleton objects > “Less”, “Greater”, “Equal” (s

Re: [Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread p...@highoctane.be
On Thu, May 21, 2015 at 4:39 PM, Max Leske wrote: > > On 21 May 2015, at 16:31, p...@highoctane.be wrote: > > 56 <=> 43 --> -1 > > "abcd" <=> "defgh" --> +1 > > > I said “object oriented”… :p > Bah, let's got with lots of ifTrue:ifFalse: ... Hopefully, a kind soul will iterate on this and make

Re: [Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread Sven Van Caekenberghe
> On 21 May 2015, at 16:50, Esteban A. Maringolo wrote: > > 2015-05-21 10:01 GMT-03:00 p...@highoctane.be : >> >> >> On Thu, May 21, 2015 at 2:19 PM, Sean P. DeNigris >> wrote: >>> >>> Squeak 4.6 "Spur" Release Notes >>> http://wiki.squeak.org/squeak/6192 >> >> >> Tag sort functions looks

Re: [Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread Sven Van Caekenberghe
> On 21 May 2015, at 15:01, p...@highoctane.be wrote: > > Tag sort functions looks great to have around. > > About the spaceship operator (<=>), is this something we'd like to have > around? (I like it). http://en.wikipedia.org/wiki/Three-way_comparison http://objology.blogspot.be/2010/11/tag

Re: [Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread Esteban A. Maringolo
2015-05-21 10:01 GMT-03:00 p...@highoctane.be : > > > On Thu, May 21, 2015 at 2:19 PM, Sean P. DeNigris > wrote: >> >> Squeak 4.6 "Spur" Release Notes >> http://wiki.squeak.org/squeak/6192 > > > Tag sort functions looks great to have around. > > About the spaceship operator (<=>), is this somethin

[Pharo-dev] Morphic menus

2015-05-21 Thread Matthieu Lacaton
Hello everyone, I had to understand how menus work in Morphic lately and I noticed some things : 1) When a menu has strictly more than 1 submenu active it cannot regain the focus if the mouse doesn't pass over the submenus first. It is a bit hard for me to explain so I will give you an example :

Re: [Pharo-dev] [Review]: Issue 15567 - TxText Cleanup for Pharo 5.0 #4

2015-05-21 Thread Nicolai Hess
2015-05-21 16:03 GMT+02:00 Sean P. DeNigris : > Nicolai Hess wrote > > But TxText has its own repository > > Okay, new config version 2.10, validated by the monkey. > > > There is still one change in a class that does not belong to this package: OCAbstractMethodScope all other changes are looking

Re: [Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread Max Leske
> On 21 May 2015, at 16:31, p...@highoctane.be wrote: > > 56 <=> 43 --> -1 > > "abcd" <=> "defgh" --> +1 I said “object oriented”… :p > > > Just get a numerical result out of it. > > Phil > > > > On Thu, May 21, 2015 at 4:22 PM, Max Leske > wrote: > >> On 21

Re: [Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread Sven Van Caekenberghe
The elegant API for multi-level sorting is more important (and orthogonal to this weird operator, there is already String>>#compare:) > On 21 May 2015, at 16:22, Max Leske wrote: > >> >> On 21 May 2015, at 15:01, p...@highoctane.be wrote: >> >> >> >> On Thu, May 21, 2015 at 2:19 PM, Sean P.

Re: [Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread p...@highoctane.be
56 <=> 43 --> -1 "abcd" <=> "defgh" --> +1 Just get a numerical result out of it. Phil On Thu, May 21, 2015 at 4:22 PM, Max Leske wrote: > > On 21 May 2015, at 15:01, p...@highoctane.be wrote: > > > > On Thu, May 21, 2015 at 2:19 PM, Sean P. DeNigris > wrote: > >> Squeak 4.6 "Spur" Releas

Re: [Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread Max Leske
> On 21 May 2015, at 15:01, p...@highoctane.be wrote: > > > > On Thu, May 21, 2015 at 2:19 PM, Sean P. DeNigris > wrote: > Squeak 4.6 "Spur" Release Notes > http://wiki.squeak.org/squeak/6192 > > Tag sort functions looks great

Re: [Pharo-dev] [Review]: Issue 15567 - TxText Cleanup for Pharo 5.0 #4

2015-05-21 Thread Sean P. DeNigris
Nicolai Hess wrote > But TxText has its own repository Okay, new config version 2.10, validated by the monkey. - Cheers, Sean -- View this message in context: http://forum.world.st/Review-Issue-15567-TxText-Cleanup-for-Pharo-5-0-4-tp4827853p4827872.html Sent from the Pharo Smalltalk Develo

Re: [Pharo-dev] Versionner: New version from current package versions?

2015-05-21 Thread Sean P. DeNigris
EstebanLM wrote > - take latests versions *in image* if they are not Aha! I didn't know that. Exactly what I was looking for :) - Cheers, Sean -- View this message in context: http://forum.world.st/Versionner-New-version-from-current-package-versions-tp4827868p4827870.html Sent from the Ph

Re: [Pharo-dev] Versionner: New version from current package versions?

2015-05-21 Thread Esteban Lorenzano
new version will - save versions if they are dirty - take latests versions *in image* if they are not so if you have them in your image, just saying “new patch” will do the trick. Esteban > On 21 May 2015, at 15:33, Sean P. DeNigris wrote: > > Is there currently a way to say "create a new v

[Pharo-dev] Versionner: New version from current package versions?

2015-05-21 Thread Sean P. DeNigris
Is there currently a way to say "create a new version of my project updating all packages to the current versions in the image"? It's pretty much like the cool new options Esteban introduced, but in the case where the underlying packages have already been saved. Thanks! - Cheers, Sean -- Vie

Re: [Pharo-dev] [Review]: Issue 15567 - TxText Cleanup for Pharo 5.0 #4

2015-05-21 Thread Sean P. DeNigris
Nicolai Hess wrote > But TxText has its own repository Drats I forgot! Okay I'll copy the packages over and make a new config version. Thanks for the reminder :) - Cheers, Sean -- View this message in context: http://forum.world.st/Review-Issue-15567-TxText-Cleanup-for-Pharo-5-0-4-tp482785

Re: [Pharo-dev] [Review]: Issue 15567 - TxText Cleanup for Pharo 5.0 #4

2015-05-21 Thread Nicolai Hess
2015-05-21 14:55 GMT+02:00 Sean P. DeNigris : > I have a lot more work to do on Tx and I'd like to do it before we start > using it in earnest, so if we could keep quickly reviewing and integrating > these issues in particular, it would be very helpful. Thanks :) > > https://pharo.fogbugz.com/defa

[Pharo-dev] [Review]: Issue 15567 - TxText Cleanup for Pharo 5.0 #4

2015-05-21 Thread Sean P. DeNigris
I have a lot more work to do on Tx and I'd like to do it before we start using it in earnest, so if we could keep quickly reviewing and integrating these issues in particular, it would be very helpful. Thanks :) https://pharo.fogbugz.com/default.asp?15567 Fix in inbox: SLICE-Issue-15567-TxText-Cl

Re: [Pharo-dev] MongoTalk UpdateOperation and options. How to?

2015-05-21 Thread philippeback
I've been able to get it working by modifying the flags in the wire protocol handling. There is a version of MongoTalk I do use here: http://smalltalkhub.com/#!/~philippeback/HOExtras/packages/ConfigurationOfMongoTalk This is drifting a bit from the official one and maybe I should integrate thi

Re: [Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread p...@highoctane.be
On Thu, May 21, 2015 at 2:19 PM, Sean P. DeNigris wrote: > Squeak 4.6 "Spur" Release Notes > http://wiki.squeak.org/squeak/6192 > Tag sort functions looks great to have around. About the spaceship operator (<=>), is this something we'd like to have around? (I like it). http://en.wikipedia.org/

[Pharo-dev] Opportunity to steal good ideas from dad ;)

2015-05-21 Thread Sean P. DeNigris
Squeak 4.6 "Spur" Release Notes http://wiki.squeak.org/squeak/6192 - Cheers, Sean -- View this message in context: http://forum.world.st/Opportunity-to-steal-good-ideas-from-dad-tp4827836.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

[Pharo-dev] [pharo-project/pharo-core] 3e3d7f: 50056

2015-05-21 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: 3e3d7fa78522f003b843e1955f578e9e17f748bb https://github.com/pharo-project/pharo-core/commit/3e3d7fa78522f003b843e1955f578e9e17f748bb Author: Jenkins Build Server Date: 2015-05-21 (Thu, 21 May 2015

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

2015-05-21 Thread GitHub
Branch: refs/tags/50056 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] about the donwload win.zip pharo 40

2015-05-21 Thread valmy roi
I tried, everything is ok for me 2015-05-21 8:36 UTC+01:00, Sven Van Caekenberghe : > >> On 21 May 2015, at 08:45, Marcus Denker wrote: >> >> >>> On 20 May 2015, at 20:46, stepharo wrote: >>> >>> Hi >>> >>> one student of saint-louis tried to download pharo from the pharo web >>> site >>> and on

Re: [Pharo-dev] [Pharo-users] Next Pharo sprint & Moose dojo

2015-05-21 Thread Tudor Girba
Great! It would be great if you could test Moose 5.1 (stable) and let us know if you encounter problems or if you commit new changes so that we can finally release it. Do you think this would fit in your sprint/dojo? Cheers, Doru On Thu, May 21, 2015 at 1:00 PM, Jean-Christophe Bach < jeanchris

Re: [Pharo-dev] [Pharo-users] Next Pharo sprint & Moose dojo

2015-05-21 Thread Jean-Christophe Bach
* Jean-Christophe Bach [01.05.2015. @19:59:08 +0200]: > Hello Pharoers, > > We propose a Pharo sprint / Moose dojo on Friday, 22nd May, starting at > 10:00am. (Local Time Lille). > > It will be at the Inria Lille, Building B, third floor (RMoD offices). > Remotely, you can join us on the offi

Re: [Pharo-dev] Critics Browser should diff formatted original

2015-05-21 Thread Yuriy Tymchuk
You are welcome. There are more things to take into account. There is prettyprinted diff class, that should do it automatically, but it does not work because what you are getting after applying transformation - is regenerated source code i.e. there can be extra parentheses and so on. Also the d

Re: [Pharo-dev] Code generation for ASTs with syntax errors

2015-05-21 Thread Marcus Denker
Yes, we should fix it… > On 21 May 2015, at 09:22, Denis Kudriashov wrote: > > But statement after error is parsed and ast node exists for them. > Is it not correct to make end of error equal to start of next ast node? > > 19 мая 2015 г. 11:22 пользователь "Marcus Denker"

Re: [Pharo-dev] about the donwload win.zip pharo 40

2015-05-21 Thread Sven Van Caekenberghe
> On 21 May 2015, at 08:45, Marcus Denker wrote: > > >> On 20 May 2015, at 20:46, stepharo wrote: >> >> Hi >> >> one student of saint-louis tried to download pharo from the pharo web site >> and on windows the archive seems broken. >> >> Could someone try and let me know? > > > It could b

Re: [Pharo-dev] Code generation for ASTs with syntax errors

2015-05-21 Thread Denis Kudriashov
But statement after error is parsed and ast node exists for them. Is it not correct to make end of error equal to start of next ast node? 19 мая 2015 г. 11:22 пользователь "Marcus Denker" написал: > > On 19 May 2015, at 10:32, Thierry Goubier > wrote: > > > > 2015-05-19 10:27 GMT+02:00 Marcus De

Re: [Pharo-dev] Code generation for ASTs with syntax errors

2015-05-21 Thread Denis Kudriashov
Perfect! 19 мая 2015 г. 7:49 пользователь "Marcus Denker" написал: > > On 13 May 2015, at 11:21, Denis Kudriashov wrote: > > Thanks's Marcus. It is beautiful thing. > > Is parsing locate errors by "dot"s? I mean how it will parse "3+. 1+2"? It > will be super cool if we have only "3+." as error