Re: [Pharo-users] Using a private git repository with Metacello

2014-10-08 Thread Thierry Goubier
Hi Julien, it should be possible on Linux and Mac OS by loading GitFileTree and using an url like: 'gitfiletree://bitbucket.com/owner/reponame&protocol=git'. Regards, Thierry Le 08/10/2014 10:44, Julien Delplanque a écrit : Hello, Is it possible to use Metacello to load a Pharo project fr

Re: [Pharo-users] Configurations based on version of Pharo

2014-10-08 Thread Ben Coman
Jan Blizničenko wrote: Ok, found my mistake. It should be 'pharo3.x' etc., not 'Pharo3.x' (case sensitive) Thanks for the update. cheers -ben

Re: [Pharo-users] About Zinc http components

2014-10-08 Thread Alain Rastoul
Sorry, I think I have screwed my tests, I wasn't able to reload it right now (I think I was browsing the changeset while loading 0mq package in another image). There are missing references and lot of errors I will investigate later, I have other works in progress, and this one is in my list lat

Re: [Pharo-users] inaccuracy in drawing?

2014-10-08 Thread Alexandre Bergel
Yes, Athens works with Floats. But not with Fractions I think Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Oct 8, 2014, at 4:43 PM, Hilaire wrote: > Le 08/10/2014 20:08, Alexandre Be

Re: [Pharo-users] inaccuracy in drawing?

2014-10-08 Thread Hilaire
Le 08/10/2014 20:08, Alexandre Bergel a écrit : > Humm… Good question > It cannot be a point fraction? But maybe things may break because of this. > I guess so, but in my situation Rectangle attributes are already Float, so it does not change. Anyway it improves the accuracy in my case to redefi

Re: [Pharo-users] inaccuracy in drawing?

2014-10-08 Thread stepharo
Igor is sick at home. Not sure that he is reading mails. On 8/10/14 15:06, Hilaire wrote: Hello, I have noted inaccuracy when drawing circle (seen screenshot with circle and tangent line intersecting circle in two points and not one). I looked at my code with possible rounding error related to

Re: [Pharo-users] inaccuracy in drawing?

2014-10-08 Thread Alexandre Bergel
Humm… Good question It cannot be a point fraction? But maybe things may break because of this. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Oct 8, 2014, at 12:26 PM, Hilaire wrote:

Re: [Pharo-users] Configurations based on version of Pharo

2014-10-08 Thread Jan Blizničenko
Ok, found my mistake. It should be 'pharo3.x' etc., not 'Pharo3.x' (case sensitive) -- View this message in context: http://forum.world.st/Configurations-based-on-version-of-Pharo-tp4783486p4783500.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] inaccuracy in drawing?

2014-10-08 Thread Hilaire
Faulty point seems to be Rectangle>>center. May be some other ones to find. But not sure what to do with it, should it lands on float and not integer? Hilaire Le 08/10/2014 15:06, Hilaire a écrit : > Hello, > > I have noted inaccuracy when drawing circle (seen screenshot with circle > and tange

[Pharo-users] Configurations based on version of Pharo

2014-10-08 Thread Jan Blizničenko
Hello In our project we have different versions of packages for Pharo 3 and Pharo 4. I would like to make ConfigurationOfOURPROJECT which will automatically detect Pharo version and use correct package. I tried development: spec spec for: #'Pharo4.0' version: 'Pharo4'. sp

[Pharo-users] inaccuracy in drawing?

2014-10-08 Thread Hilaire
Hello, I have noted inaccuracy when drawing circle (seen screenshot with circle and tangent line intersecting circle in two points and not one). I looked at my code with possible rounding error related to a mix of float and integer, I pay attention to convert to float when needed, but I can't fix

Re: [Pharo-users] #quitSession

2014-10-08 Thread Hilaire
Le 08/10/2014 10:30, Guillermo Polito a écrit : > I'd say nobody used it before and that's why it is like it is :). Just > old unused code. Now I use it as it is now, at least I don't have to override system method to trap the quit session > > > I guess we can get something cleaner > w

[Pharo-users] Using a private git repository with Metacello

2014-10-08 Thread Julien Delplanque
Hello, Is it possible to use Metacello to load a Pharo project from a private git repository hosted on bitbucket for example? If it is, how? To load project from github I use: Metacello new baseline: 'Project'; repository: 'github://owner/reponame/repository'; load. Is there a prefi

Re: [Pharo-users] #quitSession

2014-10-08 Thread Guillermo Polito
On Wed, Oct 8, 2014 at 10:26 AM, Hilaire wrote: > > > ifNotNil: [^self windowEventHandler windowEvent: anEvent]. > > Just a remark > Looking at this code and the protocol, self windowEventHandler must > responds a Morph. There are no such things as a WindowEventHandler in > the image. A bit misle

Re: [Pharo-users] #quitSession

2014-10-08 Thread Hilaire
> ifNotNil: [^self windowEventHandler windowEvent: anEvent]. Just a remark Looking at this code and the protocol, self windowEventHandler must responds a Morph. There are no such things as a WindowEventHandler in the image. A bit misleading. This whole implementation smell. I guess we can get som