Re: [fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil

2011-07-26 Thread Remigiusz Modrzejewski
On Jul 23, 2011, at 01:25 , Richard Hipp wrote: > An experimental change to implement this is on the server. Add the "brbg" > query parameter to the timeline method to have the background color set by > branch name. Add "ubg" to have the background color set by user name. > Examples: > > h

Re: [fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil

2011-07-26 Thread Jan Danielsson
On 07/23/11 01:25, Richard Hipp wrote: [---] > I tried Ross's proposed color choosing algorithm but it didn't work out. So > instead I used the hash to select a Hue in an HSV color space, held the S > and V fixed, and mapped the result into RGB. The color chooser code is > here, if you are intere

Re: [fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil

2011-07-23 Thread Alaric Snell-Pym
On 07/23/11 01:06, Ross Berteig wrote: > I get the impression that your calculation picks hues that are > too close together... it might be better to quantize it more to > keep them further separated. I think that'll just force currently-similar colours to be the SAME colour, by reducing the spac

Re: [fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil

2011-07-22 Thread altufaltu
Never mind. I swapped ubg & brbg > - Original Message - > From: Altu Faltu > Sent: 07/23/11 12:01 PM > To: fossil-users@lists.fossil-scm.org > Subject: Re: [fossil-users] Automatic branch color selection. Was: Question > on short-lived branches in fossil > &

Re: [fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil

2011-07-22 Thread Altu Faltu
Why does the same branch (trunk) take different backgrounds? - Original Message - From: Richard Hipp Sent: 07/23/11 04:55 AM To: fossil-users@lists.fossil-scm.org Subject: [fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil On Fri, Jul 22

Re: [fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil

2011-07-22 Thread Wes Freeman
On Fri, Jul 22, 2011 at 7:25 PM, Richard Hipp wrote: > > Feedback is encouraged.  Remember this changes is experimental and might > disappear at any moment! Looks very nice. The pastel colors do a great job on white with black text. I'd say a worthwhile feature. Is there an easy way to make that

Re: [fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil

2011-07-22 Thread Ross Berteig
At 04:25 PM 7/22/2011, Richard Hipp wrote: >An experimental change to implement this is on the server... > >I tried Ross's proposed color choosing algorithm but it didn't >work out. So instead I used the hash to select a Hue in an HSV >color space, held the S and V fixed, and mapped the resul

Re: [fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil

2011-07-22 Thread Richard Hipp
On Fri, Jul 22, 2011 at 7:25 PM, Richard Hipp wrote: > > > On Fri, Jul 22, 2011 at 5:32 PM, Stephan Beal wrote: > >> On Fri, Jul 22, 2011 at 11:07 PM, Ross Berteig wrote: >> >>> For skins that are dark text on white background, then using the >>> existing MD5 hash on the tag name, picking a conv

Re: [fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil

2011-07-22 Thread Stephan Beal
On Sat, Jul 23, 2011 at 1:25 AM, Richard Hipp wrote: > An experimental change to implement this is on the server. Add the "brbg" > query parameter to the timeline method to have the background color set by > branch name. Add "ubg" to have the background color set by user name. > Examples: > >

[fossil-users] Automatic branch color selection. Was: Question on short-lived branches in fossil

2011-07-22 Thread Richard Hipp
On Fri, Jul 22, 2011 at 5:32 PM, Stephan Beal wrote: > On Fri, Jul 22, 2011 at 11:07 PM, Ross Berteig wrote: > >> For skins that are dark text on white background, then using the >> existing MD5 hash on the tag name, picking a convenient three; >> > ... > > it would make an entertaining experime