[fossil-dev] Unused variable in export.c

2018-05-08 Thread Johan Kuuse
Hi, fossil version This is fossil version 2.6 [c0ed95060c] 2018-05-05 19:10:20 UTC uname -a Linux kuuse-VirtualBox 4.13.0-38-generic #43-Ubuntu SMP Wed Mar 14 15:20:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux cc -I. -I./src -Ibld -Wall -DFOSSIL_DYNAMIC_BUILD=1 -g -O2 -DHAVE_AUTOCONFIG_H

Re: [fossil-dev] Emacs users:vc-region-history only for git so far.

2018-01-17 Thread Johan Kuuse
+1 (Emacs fan) /J El 17 ene. 2018 3:21, "Stephan Beal" escribió: > You don't need emacs for this: > > f annotate ... ¦ sed - n ${startLine},${endLine}p > > should do the trick. Except on Windows, of course (of course). > > - stephan > Sent from a mobile device,

[fossil-dev] Patch: h2 to h3

2018-01-16 Thread Johan Kuuse
Hi, Probably a typo in the default skins CSS makes H3 headers look bigger than H2 ones. BR, Johan Index: skins/default/css.txt == --- skins/default/css.txt +++ skins/default/css.txt @@ -42,11 +42,11 @@ font-size: 1.25em; }

[fossil-dev] Patch: setup.c unused var, linenoise note

2017-12-22 Thread Johan Kuuse
Hi, Minor things. BR, Johan Index: src/setup.c == --- src/setup.c +++ src/setup.c @@ -1385,19 +1385,10 @@ "1", "HH:MM:SS", "2", "-MM-DD HH:MM", "3", "YYMMDD HH:MM", "4", "(off)" }; - static

[fossil-dev] minor issues

2017-12-14 Thread Johan Kuuse
Hi, ./src/db.c:69:14: missing initializer for field ‘rc’ of ‘const struct Stmt’ #define empty_Stmt_m {BLOB_INITIALIZER,NULL, NULL, NULL, 0} Fix, line 67: #define empty_Stmt_m {BLOB_INITIALIZER,NULL, NULL, NULL, 0, 0} ./src/search.c:1077:21: C++ style comment or typo ? zDisable1 = ""; //

[fossil-dev] Unused variables in stat.c

2017-12-12 Thread Johan Kuuse
Hi, Patch removes 3 lines. BR, Johan Index: src/stat.c == --- src/stat.c +++ src/stat.c @@ -62,11 +62,10 @@ void stat_page(void){ i64 t, fsize; int n, m; int szMax, szAvg; int brief; - char zBuf[100]; const char

Re: [fossil-dev] Typo

2017-12-04 Thread Johan Kuuse
src/file.c:65 #define RepoFILE 1/* Follow symlinks if*f* allow-symlinks is OFF */ Should be: #define RepoFILE 1/* Follow symlinks if allow-symlinks is OFF */ On Mon, Dec 4, 2017 at 10:56 AM, Johan Kuuse <jo...@kuu.se> wrote: > Hi, > > src/configure.c:343 > &g

[fossil-dev] finfo.c cleanup (unused variables)

2017-11-30 Thread Johan Kuuse
Hi, Patch removing unused variables in finfo.c. BR, Johan ___ fossil-dev mailing list fossil-dev@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

[fossil-dev] timeline.c cleanup patch

2017-11-27 Thread Johan Kuuse
Hi, If the timeline_submenu() function is planned to not be used any longer, here is a patch to remover the function (and a couple of commented lines). If its removal is only temporary, ignore this patch. BR, Johan ___ fossil-dev mailing list

[fossil-dev] Patch for www/style.wiki

2017-11-22 Thread Johan Kuuse
Hi, A minor patch for the enumeration in www/style.wiki. Included a proposal for a few comments about ANSI C-89. Best regards, Johan Index: www/style.wiki == --- www/style.wiki +++ www/style.wiki @@ -1,63 +1,89 @@ Coding Style

Re: [fossil-dev] Backout the --no-dir-symlinks option. Was strange problem with graphical diff

2017-08-24 Thread Johan Kuuse
Hi, Minimal fix: remove unused variable in Check-in [92ea6183] Index: src/file.c == --- src/file.c +++ src/file.c @@ -626,11 +626,11 @@ ** ** On success, return zero. On error, return errorReturn if positive, otherwise ** print

[fossil-dev] sqlite3_module initializing warnings with -Wmissing-field-initializers

2017-07-12 Thread Johan Kuuse
Hi, In sqlite3.c, I see that most of the times, but not always, all members of the sqlite3_module struct are initialized: static const sqlite3_module fts5Vocab = ... static const sqlite3_module fts3Module = ... static const sqlite3_module pragmaVtabModule = ... ... 0,

Re: [fossil-dev] Patch for HTTP HEAD Method

2017-07-04 Thread Johan Kuuse
Out); CGIDEBUG(("DONE\n")); On Tue, Jul 4, 2017 at 2:35 PM, Stephan Beal <sgb...@googlemail.com> wrote: > On Tue, Jul 4, 2017 at 8:39 AM, Johan Kuuse <jo...@kuu.se> wrote: > >> + if (fossil_strcmp((char*)P("REQUEST_METHOD"),"HEAD")!=0) &g

[fossil-dev] Patch for HTTP HEAD Method

2017-07-03 Thread Johan Kuuse
Hi, I see that the upcoming fossil 2.3 release coming up soon, so there may be other (higher) priorities and interests right now, but I post this patch here and now anyway, for the record. Playing around with the "fossil http" command, I found a bug in the behavior for the HTTP HEAD method.