Re: [fossil-users] Confusing highlighting in side-by-side ignore-whitespace diff

2014-04-03 Thread Jan Nijtmans
2014-04-03 3:53 GMT+02:00 Andy Bradford amb-fos...@bradfords.org: It looks like a bug to me. For example, line 45 seems to correctly show the purple #define on the left being replaced with a purple space on the right. But the tail end shows a red G at the end of the macro being replaced

Re: [fossil-users] Confusing highlighting in side-by-side ignore-whitespace diff

2014-04-03 Thread Jan Nijtmans
2014-04-03 8:56 GMT+02:00 Jan Nijtmans jan.nijtm...@gmail.com: Yes, this is definitely a bug, and from your example I can see what's the problem. Fixed here: www.fossil-scm.org/index.html/info/c23190a61d Thanks! Jan Nijtmans ___

[fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Sergei Gavrikov
Hi I have a small patch (it is attached just for reference) to make TH1 use the integers also in other formats (hexadecimal and octal forms). For example, we would use the same expressions then % expr {010+10+0x10} 34 Could we add such a support in Fossil TH1? I believe the TH1 stands for

Re: [fossil-users] Confusing highlighting in side-by-side ignore-whitespace diff

2014-04-03 Thread Jan Nijtmans
2014-04-03 9:06 GMT+02:00 Jan Nijtmans jan.nijtm...@gmail.com: 2014-04-03 8:56 GMT+02:00 Jan Nijtmans jan.nijtm...@gmail.com: Yes, this is definitely a bug, and from your example I can see what's the problem. Fixed here: www.fossil-scm.org/index.html/info/c23190a61d The effect of this

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Jan Nijtmans
2014-04-03 14:05 GMT+02:00 Sergei Gavrikov sergei.gavri...@gmail.com: Could anyone take a look on the workaround, please? Well, Th_ToInt() become itself a bit more slow, but I think it is still more fast than strtoll(). At the least, I can say that the patch does not break the existing Fossil

[fossil-users] Fwd: RCS import

2014-04-03 Thread Stephan Beal
Hi, all, i'd like to welcome Andy Goth to the development team, known as user andy (i got an off-list OK from andybradford regarding the user name). @AndyG: i'll send you your temporary password momentarily. -- Forwarded message -- From: Stephan Beal sgb...@googlemail.com Date:

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Sergei Gavrikov
On Thu, 3 Apr 2014, Jan Nijtmans wrote: 2014-04-03 14:05 GMT+02:00 Sergei Gavrikov sergei.gavri...@gmail.com: Could anyone take a look on the workaround, please? Well, Th_ToInt() become itself a bit more slow, but I think it is still more fast than strtoll(). At the least, I can say that

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Stephan Beal
On Thu, Apr 3, 2014 at 3:10 PM, Sergei Gavrikov sergei.gavri...@gmail.comwrote: On Thu, 3 Apr 2014, Jan Nijtmans wrote:Good point. Thak you. With new patch TH1 works as Tcl 8.5 % expr {0o10+10+0x10} 34 % expr {0O10+10+0X10} 34 % expr {0o77+99+0xff} 417 Weird - i've never

Re: [fossil-users] Suggestions for annotate/blame UI

2014-04-03 Thread Stephan Beal
On Thu, Apr 3, 2014 at 3:37 AM, Andy Goth andrew.m.g...@gmail.com wrote: 1. With the potentially wider screen offered by a web browser, I don't see a reason why the user and line number can't both be displayed. Can annotate and blame be combined somehow? Perhaps offer magic JavaScript

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Jan Nijtmans
2014-04-03 15:14 GMT+02:00 Stephan Beal sgb...@googlemail.com: Weird - i've never seen octals written that way, but i trust Jan's judgement implicitly regarding issued of TCL-ness. See: http://en.wikipedia.org/wiki/Octal Newer languages have been abandoning the prefix 0, as decimal numbers

Re: [fossil-users] [fossil all extras] useless without --showfile

2014-04-03 Thread Andy Goth
On 4/2/2014 11:42 PM, Joe Mistachkin wrote: Andy Goth wrote: I'm curious how a script could make use of [fossil extras] without the benefit of the --showfile option. The --showfile option is processed by the [fossil all] command, not the [fossil extras] command, which basically explains the

Re: [fossil-users] Confusing highlighting in side-by-side ignore-whitespace diff

2014-04-03 Thread Andy Bradford
Thus said Jan Nijtmans on Thu, 03 Apr 2014 09:06:30 +0200: Fixed here: www.fossil-scm.org/index.html/info/c23190a61d Looks good! Thanks, Andy -- TAI64 timestamp: 4000533d73db ___ fossil-users mailing list

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Jan Nijtmans
2014-04-03 15:10 GMT+02:00 Sergei Gavrikov sergei.gavri...@gmail.com: Good point. Thak you. With new patch TH1 works as Tcl 8.5 While on it, I added binary as well. http://www.fossil-scm.org/index.html/info/1f6734c30b Thanks! Regards, Jan Nijtmans

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Sergei Gavrikov
On Thu, 3 Apr 2014, Jan Nijtmans wrote: 2014-04-03 15:10 GMT+02:00 Sergei Gavrikov sergei.gavri...@gmail.com: Good point. Thak you. With new patch TH1 works as Tcl 8.5 While on it, I added binary as well. http://www.fossil-scm.org/index.html/info/1f6734c30b Thanks! Sure, '0b' also

Re: [fossil-users] libfossil minor milestone: diff app

2014-04-03 Thread Stephan Beal
On Tue, Apr 1, 2014 at 7:25 PM, Stephan Beal sgb...@googlemail.com wrote: KNOWN BUGS: 1) this app cannot currently diff against the checkout version. All the pieces are in place, it just needs to be done. It can now: [stephan@host:~/cvs/fossil/libfossil]$ f-vdiff current . | head DIFF:

Re: [fossil-users] Very short UUID abbreviations

2014-04-03 Thread Andy Goth
On 4/3/2014 12:46 AM, Andy Bradford wrote: Thus said Andy Goth on Wed, 02 Apr 2014 21:37:35 -0500: When the UUID is abbreviated to one or two characters, the ambiguous artifact page is bypassed, and it always seems to link to a ticket. It appears that if you happen to have a ticket UUID/SHA1

Re: [fossil-users] [fossil all extras] useless without --showfile

2014-04-03 Thread Joe Mistachkin
Andy Goth wrote: A possible compromise is to have [fossil all] only give --header to [fossil extras] when [fossil all] was not given --showfile. I suggest this on the presumption that any existing scripts that actually use [fossil all extras] must use --showfile, because the output is

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Sergei Gavrikov
On Thu, 3 Apr 2014, Sergei Gavrikov wrote: TH does trig on such typos expr 0+0b2 expr 0+0o8 I mean % fossil test-th-eval 'expr 0+0b2' fossil: ../src/th.c:2140: exprMakeTree: Assertion `!apToken[jj] || !apToken[0]' failed. Aborted So, for the new three things I would enter three

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Sergei Gavrikov
On Thu, 3 Apr 2014, Sergei Gavrikov wrote: The fix is attached. ^^^ Please, forget it! Sorry. Sergei ___ fossil-users mailing list fossil-users@lists.fossil-scm.org

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Ron Wilson
On Thu, Apr 3, 2014 at 10:34 AM, Jan Nijtmans jan.nijtm...@gmail.comwrote: See: http://en.wikipedia.org/wiki/Octal Newer languages have been abandoning the prefix 0, as decimal numbers are often represented with leading zeroes. The prefix q was introduced to avoid the prefix o being