Re: [Pharo-dev] Random access to meta repos?

2015-10-27 Thread Thierry Goubier
Le 27/10/2015 02:22, Yuriy Tymchuk a écrit : So was this fixed or not? Because if I’m opening a git repo — it checks the meta, I’m saving to git repo — it checks the meta… Hi Uko, I thought I fixed it; but yes it is checking the meta too much. I'll have a look. Thierry Uko On 24 Aug

[Pharo-dev] [pharo-project/pharo-core] 433393: 50407

2015-10-27 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: 43339304094c660e251b06951a1e18b00b310103 https://github.com/pharo-project/pharo-core/commit/43339304094c660e251b06951a1e18b00b310103 Author: Jenkins Build Server Date:

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

2015-10-27 Thread GitHub
Branch: refs/tags/50407 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] Finding the reason of merge

2015-10-27 Thread Thierry Goubier
Le 27/10/2015 03:40, Chris Cunningham a écrit : you could try Merging instead of loading, and then look at the difference between the newly merged in-image package and version 74. Or, you could open the Monticello browser, highlight the package (which you've already done),and click on Changes

Re: [Pharo-dev] Finding the reason of merge

2015-10-27 Thread Yuriy Tymchuk
I think that I finally got it. Here is the scenario Project A depends on project B. A 1.0 depends on B 1.0 A 2.0 depends on B 2.0 A 1.0 provides extensions to a class which is present in B 1.0 but removed in B 2.0. If A 1.0 is present in the image, and A 2.0 is loaded, packages from B 2.0 are

[Pharo-dev] Loading a baseline locally

2015-10-27 Thread Yuriy Tymchuk
Hi, is it possible to load the baseline that is in a local repo? Because when I try to do that, I get: Could not resolve: … I need to test how the configuration works and it looks like a cannot do that if I have not committed it. Uko

Re: [Pharo-dev] Loading a baseline locally

2015-10-27 Thread Thierry Goubier
Can you list the command you are using as Metacello code? I tried a few fancy things at one point with multiple repositories and baselines, and Metacello gave me that power, but not in the way I expected (at all). Thierry 2015-10-27 9:54 GMT+01:00 Yuriy Tymchuk : > Hi, >

Re: [Pharo-dev] Loading a baseline locally

2015-10-27 Thread Yuriy Tymchuk
I inspect `BeselineOfQualityAssistant project` then in versions presentation I select the one and only baseline version and send `load` to it. > On 27 Oct 2015, at 10:52, Thierry Goubier wrote: > > Can you list the command you are using as Metacello code? > > I

[Pharo-dev] Measuring width string

2015-10-27 Thread Aliaksei Syrel
Hi I'm sending it here so that it doesn't get lost. There are multiple ways to measure string width. In the following examples performance will be tested measuring 10`000 times the width of the following string: *string := 'abcdefghijklmnopqrstuvwxyz 0123456789!@#$%^&*()_+'.* 1) The most

Re: [Pharo-dev] Loading a baseline locally

2015-10-27 Thread Gabriel Cotelli
Maybe something like: Metacello new baseline: 'QualityAssistant'; repository: 'filetree://REPO_LOCATION_IN_DISK'; load On Tue, Oct 27, 2015 at 7:25 AM, Yuriy Tymchuk wrote: > I inspect `BeselineOfQualityAssistant project` then in versions > presentation I select

Re: [Pharo-dev] Measuring width string

2015-10-27 Thread Peter Uhnák
But #widthOfString: is definitely weird... like it's adding some extra space on the sides or something. On Tue, Oct 27, 2015 at 12:50 PM, Peter Uhnák wrote: > Note that you shouldn't use 2) or 3) for non-monospace fonts because of > kerning. > > font := StandardFonts

Re: [Pharo-dev] Measuring width string

2015-10-27 Thread Yuriy Tymchuk
Hi Alex, This is indeed a very useful information. You can also put it on StackOverflow, then it will be Googlable. Cheers. Uko > On 27 Oct 2015, at 12:02, Aliaksei Syrel wrote: > > Hi > > I'm sending it here so that it doesn't get lost. > > There are multiple ways

Re: [Pharo-dev] Measuring width string

2015-10-27 Thread Peter Uhnák
Note that you shouldn't use 2) or 3) for non-monospace fonts because of kerning. font := StandardFonts defaultFont. font widthOfString: 'eT'. "16" font widthOfString: 'Te'. "15" 'eT' inject: 0 into: [ :width :c | width + (font getGlyphWidth: c) ]. "13.416015625" 'Te' inject: 0 into: [ :width :c

Re: [Pharo-dev] Measuring width string

2015-10-27 Thread Thierry Goubier
Hi Alex, thanks, this is very usefull. Can you tell which one of these measures is the closest to the effective length of a string morph? Number 4? Thierry 2015-10-27 12:02 GMT+01:00 Aliaksei Syrel : > Hi > > I'm sending it here so that it doesn't get lost. > > > There

Re: [Pharo-dev] Loading a baseline locally

2015-10-27 Thread Yuriy Tymchuk
Thanks, it worked! > On 27 Oct 2015, at 14:45, Thierry Goubier wrote: > > > > 2015-10-27 12:36 GMT+01:00 Gabriel Cotelli >: > Maybe something like: > Metacello new > baseline: 'QualityAssistant'; > repository:

Re: [Pharo-dev] tests should be green

2015-10-27 Thread Marcus Denker
> On 15 Oct 2015, at 09:36, Marcus Denker wrote: > > Yes, > > -> there is a bug somewhere that flattens traits in some cases > -> we need to write a script to delete all the wrong methods. > I inspected the failing lint rule and executed on the dictionary: self keys

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

2015-10-27 Thread GitHub
Branch: refs/tags/50409 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] Little Meeting at Pittsburg

2015-10-27 Thread stepharo
For me I can Wednesday morning at 9h in the lobby until 11h (I want to see the spur presentation of eliot) Thursday the complete afternoon Le 26/10/15 20:37, Juan Pablo Sandoval Alcocer a écrit : I am attending OOPSLA too, It would be a pleasure to be part of the meeting. Juampi

Re: [Pharo-dev] Random access to meta repos?

2015-10-27 Thread Thierry Goubier
Le 27/10/2015 02:22, Yuriy Tymchuk a écrit : So was this fixed or not? Because if I’m opening a git repo — it checks the meta, I’m saving to git repo — it checks the meta… Ok, I added a LRUCache of version info for handling that. Should / does certainly accelerate things (GitFileTree on

Re: [Pharo-dev] tests should be green

2015-10-27 Thread Nicolai Hess
2015-10-27 16:45 GMT+01:00 Marcus Denker : > > On 15 Oct 2015, at 09:36, Marcus Denker wrote: > > Yes, > > -> there is a bug somewhere that flattens traits in some cases > -> we need to write a script to delete all the wrong methods. > > > I

Re: [Pharo-dev] Loading a baseline locally

2015-10-27 Thread Thierry Goubier
2015-10-27 12:36 GMT+01:00 Gabriel Cotelli : > Maybe something like: > > Metacello new > baseline: 'QualityAssistant'; > repository: 'filetree://REPO_LOCATION_IN_DISK'; > load > > > That one certainly works, so that must be something else. (i.e. if you load a baseline

[Pharo-dev] [pharo-project/pharo-core] 8d04b4: 50408

2015-10-27 Thread GitHub
Branch: refs/heads/5.0 Home: https://github.com/pharo-project/pharo-core Commit: 8d04b4d89b7c181a00f9e1c16d89851b11b39fff https://github.com/pharo-project/pharo-core/commit/8d04b4d89b7c181a00f9e1c16d89851b11b39fff Author: Jenkins Build Server Date:

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

2015-10-27 Thread GitHub
Branch: refs/tags/50408 Home: https://github.com/pharo-project/pharo-core