Re: [fossil-users] Build error in VS 2008 with JSON enabled

2012-06-20 Thread Александр Орефков
Hi. I add that line, and add it: $(OBJDIR)\cson_amalgamation$(O): $(SRCDIR)\cson_amalgamation.c $(TCC) -c $(SRCDIR)\cson_amalgamation.c -o $(OBJDIR)\cson_amalgamation$(O) -DCSON_FOSSIL_MODE And set CFLAGS = -nologo -MT -O2 -DFOSSIL_ENABLE_JSON After it Fossil with JSON builded sucessed i

Re: [fossil-users] Build error in VS 2008 with JSON enabled

2012-06-20 Thread Stephan Beal
On Wed, Jun 20, 2012 at 6:58 PM, Stephan Beal wrote: > src/Makefile.msc, line 929 (currently empty), add: > should be win/Makefile.msc. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ fossil-users mailing list

Re: [fossil-users] Build error in VS 2008 with JSON enabled

2012-06-20 Thread Stephan Beal
On Tue, Jun 19, 2012 at 3:44 PM, Stephan Beal wrote: > Thanks for the details. I will take a look at this asap, but... > Hi, Alexander! It looks like someone has already applied all of your json*.c patches except for the comment-after-ifdef (which i just comitted). i'm looking for a volunteer

Re: [fossil-users] Fossil on Android or compiling with tcc?

2012-06-20 Thread Remigiusz Modrzejewski
On Jun 20, 2012, at 13:07 , Kostas Karanikolas wrote: > I'm running an Arch linux chroot on my tablet. Compiling fossil from source > on the tablet worked fine for me. No patching necessary. Well, your Arch Linux chroot has a complete Linux useprspace, doesn't it? I don't know if it's the case

Re: [fossil-users] Broken alignment in side-by-side diffs

2012-06-20 Thread Martin Gagnon
Le 12-06-20 06:16, Александр Орефков a écrit : 2012/6/20 Lluís Batlle i Rossell : >> >> yes, that has been reported before. It's quite easy to count utf-8... but maybe >> not everyone uses utf-8. >> >> Should we add a 'setting' for 8-bit or utf-8 characters? > > In Fossil in web pages header

Re: [fossil-users] Broken alignment in side-by-side diffs

2012-06-20 Thread Richard Hipp
On Wed, Jun 20, 2012 at 1:24 AM, Александр Орефков wrote: > Hi. > If text of file in utf-8 contain not latin characters, alignment in > side-by-side diffs web page broken. > Seems to count bytes, not characters for alignment. > Fixed here: http://www.fossil-scm.org/fossil/info/484f8d29af Obs

Re: [fossil-users] Fossil on Android or compiling with tcc?

2012-06-20 Thread Kostas Karanikolas
I'm running an Arch linux chroot on my tablet. Compiling fossil from source on the tablet worked fine for me. No patching necessary. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/

Re: [fossil-users] Broken alignment in side-by-side diffs

2012-06-20 Thread Lluís Batlle i Rossell
On Wed, Jun 20, 2012 at 02:16:19PM +0400, Александр Орефков wrote: > 2012/6/20 Lluís Batlle i Rossell : > > > > yes, that has been reported before. It's quite easy to count utf-8... but > > maybe > > not everyone uses utf-8. > > > > Should we add a 'setting' for 8-bit or utf-8 characters? > > In

Re: [fossil-users] Broken alignment in side-by-side diffs

2012-06-20 Thread Александр Орефков
2012/6/20 Lluís Batlle i Rossell : > > yes, that has been reported before. It's quite easy to count utf-8... but > maybe > not everyone uses utf-8. > > Should we add a 'setting' for 8-bit or utf-8 characters? In Fossil in web pages header set utf-8 code page, so not utf-8 file text with non ascii

Re: [fossil-users] Broken alignment in side-by-side diffs

2012-06-20 Thread Lluís Batlle i Rossell
On Wed, Jun 20, 2012 at 09:24:53AM +0400, Александр Орефков wrote: > Hi. > If text of file in utf-8 contain not latin characters, alignment in > side-by-side diffs web page broken. > Seems to count bytes, not characters for alignment. yes, that has been reported before. It's quite easy to count ut

Re: [fossil-users] Broken alignment in side-by-side diffs

2012-06-20 Thread Александр Орефков
2012/6/20 Martin Gagnon : > Le 2012-06-20 à 04:49, Александр Орефков a écrit : > >> Hi. >> I temporary use simple crutch in diff.c in sbsWriteText: >> ... >>    }else if( c=='>' && p->escHtml ){ >>      memcpy(&z[j], ">", 4); >>      j += 4; >>    }else{ >>      z[j++] = c; >>      /*fix for russi

Re: [fossil-users] Broken alignment in side-by-side diffs

2012-06-20 Thread Martin Gagnon
Le 2012-06-20 à 04:49, Александр Орефков a écrit : > Hi. > I temporary use simple crutch in diff.c in sbsWriteText: > ... >}else if( c=='>' && p->escHtml ){ > memcpy(&z[j], ">", 4); > j += 4; >}else{ > z[j++] = c; > /*fix for russian utf-8 - 2 bytes per symbol*/ >

Re: [fossil-users] Broken alignment in side-by-side diffs

2012-06-20 Thread Александр Орефков
Hi. I temporary use simple crutch in diff.c in sbsWriteText: ... }else if( c=='>' && p->escHtml ){ memcpy(&z[j], ">", 4); j += 4; }else{ z[j++] = c; /*fix for russian utf-8 - 2 bytes per symbol*/ if( c<0 ) { z[j++] = zIn[++i]; } } It worked.

Re: [fossil-users] Broken alignment in side-by-side diffs

2012-06-20 Thread Richard Hipp
On Wed, Jun 20, 2012 at 1:24 AM, Александр Орефков wrote: > Hi. > If text of file in utf-8 contain not latin characters, alignment in > side-by-side diffs web page broken. > Seems to count bytes, not characters for alignment. > I have a note of your problem. I will address it when I get a chance