Fossil SCM

Merge trunk

jan.nijtmans 2016-06-16 09:14 invalid_utf8_table merge
Commit a3328c00b74a0d160b9732d76cbddd0160327b16
+6 -6
--- src/attach.c
+++ src/attach.c
@@ -26,11 +26,11 @@
2626
** List attachments.
2727
**
2828
** tkt=TICKETUUID
2929
** page=WIKIPAGE
3030
**
31
-** At most one of technote=, tkt= or page= are supplied.
31
+** At most one of technote=, tkt= or page= are supplied.
3232
** If none is given, all attachments are listed. If one is given,
3333
** only attachments for the designated technote, ticket or wiki page
3434
** are shown. TECHNOTEUUID and TICKETUUID may be just a prefix of the
3535
** relevant technical note or ticket, in which case all attachments
3636
** of all technical notes or tickets with the prefix will be listed.
@@ -109,11 +109,11 @@
109109
@ <li><p>
110110
@ Attachment %z(href("%R/ainfo/%!S",zUuid))%S(zUuid)</a>
111111
if( moderation_pending(attachid) ){
112112
@ <span class="modpending">*** Awaiting Moderator Approval ***</span>
113113
}
114
- @ <br><a href="%R/attachview?%s(zUrlTail)">%h(zFilename)</a>
114
+ @ <br /><a href="%R/attachview?%s(zUrlTail)">%h(zFilename)</a>
115115
@ [<a href="%R/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br />
116116
if( zComment ) while( fossil_isspace(zComment[0]) ) zComment++;
117117
if( zComment && zComment[0] ){
118118
@ %!W(zComment)<br />
119119
}
@@ -358,11 +358,11 @@
358358
if( zTechNote==0) fossil_redirect_home();
359359
}
360360
zTarget = zTechNote;
361361
zTargetType = mprintf("Tech Note <a href=\"%R/technote/%s\">%S</a>",
362362
zTechNote, zTechNote);
363
-
363
+
364364
}else{
365365
if( g.perm.ApndTkt==0 || g.perm.Attach==0 ){
366366
login_needed(g.anon.ApndTkt && g.anon.Attach);
367367
return;
368368
}
@@ -493,11 +493,11 @@
493493
}
494494
}
495495
zDate = db_text(0, "SELECT datetime(%.12f)", pAttach->rDate);
496496
497497
if( P("confirm")
498
- && ((zTktUuid && g.perm.WrTkt) ||
498
+ && ((zTktUuid && g.perm.WrTkt) ||
499499
(zWikiName && g.perm.WrWiki) ||
500500
(zTNUuid && g.perm.Write && g.perm.WrWiki))
501501
){
502502
int i, n, rid;
503503
char *zDate;
@@ -627,11 +627,11 @@
627627
@ %h(z)
628628
@ </pre>
629629
}
630630
}else if( strncmp(zMime, "image/", 6)==0 ){
631631
int sz = db_int(0, "SELECT size FROM blob WHERE rid=%d", ridSrc);
632
- @ <i>(file is %d(sz) bytes of image data)</i><br>
632
+ @ <i>(file is %d(sz) bytes of image data)</i><br />
633633
@ <img src="%R/raw/%s(zSrc)?m=%s(zMime)"></img>
634634
style_submenu_element("Image", "Image", "%R/raw/%s?m=%s", zSrc, zMime);
635635
}else{
636636
int sz = db_int(0, "SELECT size FROM blob WHERE rid=%d", ridSrc);
637637
@ <i>(file is %d(sz) bytes of binary data)</i>
@@ -730,11 +730,11 @@
730730
zPageName = g.argv[3];
731731
rid = db_int(0, "SELECT x.rid FROM tag t, tagxref x"
732732
" WHERE x.tagid=t.tagid AND t.tagname='wiki-%q'"
733733
" ORDER BY x.mtime DESC LIMIT 1",
734734
zPageName
735
- );
735
+ );
736736
if( (pWiki = manifest_get(rid, CFTYPE_WIKI, 0))!=0 ){
737737
zBody = pWiki->zWiki;
738738
}
739739
if( zBody==0 ){
740740
fossil_fatal("wiki page [%s] not found",zPageName);
741741
--- src/attach.c
+++ src/attach.c
@@ -26,11 +26,11 @@
26 ** List attachments.
27 **
28 ** tkt=TICKETUUID
29 ** page=WIKIPAGE
30 **
31 ** At most one of technote=, tkt= or page= are supplied.
32 ** If none is given, all attachments are listed. If one is given,
33 ** only attachments for the designated technote, ticket or wiki page
34 ** are shown. TECHNOTEUUID and TICKETUUID may be just a prefix of the
35 ** relevant technical note or ticket, in which case all attachments
36 ** of all technical notes or tickets with the prefix will be listed.
@@ -109,11 +109,11 @@
109 @ <li><p>
110 @ Attachment %z(href("%R/ainfo/%!S",zUuid))%S(zUuid)</a>
111 if( moderation_pending(attachid) ){
112 @ <span class="modpending">*** Awaiting Moderator Approval ***</span>
113 }
114 @ <br><a href="%R/attachview?%s(zUrlTail)">%h(zFilename)</a>
115 @ [<a href="%R/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br />
116 if( zComment ) while( fossil_isspace(zComment[0]) ) zComment++;
117 if( zComment && zComment[0] ){
118 @ %!W(zComment)<br />
119 }
@@ -358,11 +358,11 @@
358 if( zTechNote==0) fossil_redirect_home();
359 }
360 zTarget = zTechNote;
361 zTargetType = mprintf("Tech Note <a href=\"%R/technote/%s\">%S</a>",
362 zTechNote, zTechNote);
363
364 }else{
365 if( g.perm.ApndTkt==0 || g.perm.Attach==0 ){
366 login_needed(g.anon.ApndTkt && g.anon.Attach);
367 return;
368 }
@@ -493,11 +493,11 @@
493 }
494 }
495 zDate = db_text(0, "SELECT datetime(%.12f)", pAttach->rDate);
496
497 if( P("confirm")
498 && ((zTktUuid && g.perm.WrTkt) ||
499 (zWikiName && g.perm.WrWiki) ||
500 (zTNUuid && g.perm.Write && g.perm.WrWiki))
501 ){
502 int i, n, rid;
503 char *zDate;
@@ -627,11 +627,11 @@
627 @ %h(z)
628 @ </pre>
629 }
630 }else if( strncmp(zMime, "image/", 6)==0 ){
631 int sz = db_int(0, "SELECT size FROM blob WHERE rid=%d", ridSrc);
632 @ <i>(file is %d(sz) bytes of image data)</i><br>
633 @ <img src="%R/raw/%s(zSrc)?m=%s(zMime)"></img>
634 style_submenu_element("Image", "Image", "%R/raw/%s?m=%s", zSrc, zMime);
635 }else{
636 int sz = db_int(0, "SELECT size FROM blob WHERE rid=%d", ridSrc);
637 @ <i>(file is %d(sz) bytes of binary data)</i>
@@ -730,11 +730,11 @@
730 zPageName = g.argv[3];
731 rid = db_int(0, "SELECT x.rid FROM tag t, tagxref x"
732 " WHERE x.tagid=t.tagid AND t.tagname='wiki-%q'"
733 " ORDER BY x.mtime DESC LIMIT 1",
734 zPageName
735 );
736 if( (pWiki = manifest_get(rid, CFTYPE_WIKI, 0))!=0 ){
737 zBody = pWiki->zWiki;
738 }
739 if( zBody==0 ){
740 fossil_fatal("wiki page [%s] not found",zPageName);
741
--- src/attach.c
+++ src/attach.c
@@ -26,11 +26,11 @@
26 ** List attachments.
27 **
28 ** tkt=TICKETUUID
29 ** page=WIKIPAGE
30 **
31 ** At most one of technote=, tkt= or page= are supplied.
32 ** If none is given, all attachments are listed. If one is given,
33 ** only attachments for the designated technote, ticket or wiki page
34 ** are shown. TECHNOTEUUID and TICKETUUID may be just a prefix of the
35 ** relevant technical note or ticket, in which case all attachments
36 ** of all technical notes or tickets with the prefix will be listed.
@@ -109,11 +109,11 @@
109 @ <li><p>
110 @ Attachment %z(href("%R/ainfo/%!S",zUuid))%S(zUuid)</a>
111 if( moderation_pending(attachid) ){
112 @ <span class="modpending">*** Awaiting Moderator Approval ***</span>
113 }
114 @ <br /><a href="%R/attachview?%s(zUrlTail)">%h(zFilename)</a>
115 @ [<a href="%R/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br />
116 if( zComment ) while( fossil_isspace(zComment[0]) ) zComment++;
117 if( zComment && zComment[0] ){
118 @ %!W(zComment)<br />
119 }
@@ -358,11 +358,11 @@
358 if( zTechNote==0) fossil_redirect_home();
359 }
360 zTarget = zTechNote;
361 zTargetType = mprintf("Tech Note <a href=\"%R/technote/%s\">%S</a>",
362 zTechNote, zTechNote);
363
364 }else{
365 if( g.perm.ApndTkt==0 || g.perm.Attach==0 ){
366 login_needed(g.anon.ApndTkt && g.anon.Attach);
367 return;
368 }
@@ -493,11 +493,11 @@
493 }
494 }
495 zDate = db_text(0, "SELECT datetime(%.12f)", pAttach->rDate);
496
497 if( P("confirm")
498 && ((zTktUuid && g.perm.WrTkt) ||
499 (zWikiName && g.perm.WrWiki) ||
500 (zTNUuid && g.perm.Write && g.perm.WrWiki))
501 ){
502 int i, n, rid;
503 char *zDate;
@@ -627,11 +627,11 @@
627 @ %h(z)
628 @ </pre>
629 }
630 }else if( strncmp(zMime, "image/", 6)==0 ){
631 int sz = db_int(0, "SELECT size FROM blob WHERE rid=%d", ridSrc);
632 @ <i>(file is %d(sz) bytes of image data)</i><br />
633 @ <img src="%R/raw/%s(zSrc)?m=%s(zMime)"></img>
634 style_submenu_element("Image", "Image", "%R/raw/%s?m=%s", zSrc, zMime);
635 }else{
636 int sz = db_int(0, "SELECT size FROM blob WHERE rid=%d", ridSrc);
637 @ <i>(file is %d(sz) bytes of binary data)</i>
@@ -730,11 +730,11 @@
730 zPageName = g.argv[3];
731 rid = db_int(0, "SELECT x.rid FROM tag t, tagxref x"
732 " WHERE x.tagid=t.tagid AND t.tagname='wiki-%q'"
733 " ORDER BY x.mtime DESC LIMIT 1",
734 zPageName
735 );
736 if( (pWiki = manifest_get(rid, CFTYPE_WIKI, 0))!=0 ){
737 zBody = pWiki->zWiki;
738 }
739 if( zBody==0 ){
740 fossil_fatal("wiki page [%s] not found",zPageName);
741
+2 -2
--- src/browse.c
+++ src/browse.c
@@ -1088,13 +1088,13 @@
10881088
while( db_step(&q2)==SQLITE_ROW ){
10891089
const char *zFUuid = db_column_text(&q2,0);
10901090
const char *zFile = db_column_text(&q2,1);
10911091
int fid = db_column_int(&q2,2);
10921092
if( showId ){
1093
- @ %z(href("%R/artifact/%!S",zFUuid))%h(zFile)</a> (%d(fid))<br>
1093
+ @ %z(href("%R/artifact/%!S",zFUuid))%h(zFile)</a> (%d(fid))<br />
10941094
}else{
1095
- @ %z(href("%R/artifact/%!S",zFUuid))%h(zFile)</a><br>
1095
+ @ %z(href("%R/artifact/%!S",zFUuid))%h(zFile)</a><br />
10961096
}
10971097
}
10981098
db_reset(&q2);
10991099
@ </td>
11001100
@ <td>
11011101
--- src/browse.c
+++ src/browse.c
@@ -1088,13 +1088,13 @@
1088 while( db_step(&q2)==SQLITE_ROW ){
1089 const char *zFUuid = db_column_text(&q2,0);
1090 const char *zFile = db_column_text(&q2,1);
1091 int fid = db_column_int(&q2,2);
1092 if( showId ){
1093 @ %z(href("%R/artifact/%!S",zFUuid))%h(zFile)</a> (%d(fid))<br>
1094 }else{
1095 @ %z(href("%R/artifact/%!S",zFUuid))%h(zFile)</a><br>
1096 }
1097 }
1098 db_reset(&q2);
1099 @ </td>
1100 @ <td>
1101
--- src/browse.c
+++ src/browse.c
@@ -1088,13 +1088,13 @@
1088 while( db_step(&q2)==SQLITE_ROW ){
1089 const char *zFUuid = db_column_text(&q2,0);
1090 const char *zFile = db_column_text(&q2,1);
1091 int fid = db_column_int(&q2,2);
1092 if( showId ){
1093 @ %z(href("%R/artifact/%!S",zFUuid))%h(zFile)</a> (%d(fid))<br />
1094 }else{
1095 @ %z(href("%R/artifact/%!S",zFUuid))%h(zFile)</a><br />
1096 }
1097 }
1098 db_reset(&q2);
1099 @ </td>
1100 @ <td>
1101
+2 -2
--- src/cache.c
+++ src/cache.c
@@ -237,11 +237,11 @@
237237
sqlite3_close(cacheOpen(1));
238238
}
239239
240240
/*
241241
** COMMAND: cache*
242
-**
242
+**
243243
** Usage: %fossil cache SUBCOMMAND
244244
**
245245
** Manage the cache used for potentially expensive web pages such as
246246
** /zip and /tarball. SUBCOMMAND can be:
247247
**
@@ -356,11 +356,11 @@
356356
);
357357
if( pStmt ){
358358
@ <ol>
359359
while( sqlite3_step(pStmt)==SQLITE_ROW ){
360360
const unsigned char *zName = sqlite3_column_text(pStmt,0);
361
- @ <li><p>%z(href("%R/cacheget?key=%T",zName))%h(zName)</a><br>
361
+ @ <li><p>%z(href("%R/cacheget?key=%T",zName))%h(zName)</a><br />
362362
@ size: %s(sqlite3_column_text(pStmt,1))
363363
@ hit-count: %d(sqlite3_column_int(pStmt,2))
364364
@ last-access: %s(sqlite3_column_text(pStmt,3))</p></li>
365365
}
366366
sqlite3_finalize(pStmt);
367367
--- src/cache.c
+++ src/cache.c
@@ -237,11 +237,11 @@
237 sqlite3_close(cacheOpen(1));
238 }
239
240 /*
241 ** COMMAND: cache*
242 **
243 ** Usage: %fossil cache SUBCOMMAND
244 **
245 ** Manage the cache used for potentially expensive web pages such as
246 ** /zip and /tarball. SUBCOMMAND can be:
247 **
@@ -356,11 +356,11 @@
356 );
357 if( pStmt ){
358 @ <ol>
359 while( sqlite3_step(pStmt)==SQLITE_ROW ){
360 const unsigned char *zName = sqlite3_column_text(pStmt,0);
361 @ <li><p>%z(href("%R/cacheget?key=%T",zName))%h(zName)</a><br>
362 @ size: %s(sqlite3_column_text(pStmt,1))
363 @ hit-count: %d(sqlite3_column_int(pStmt,2))
364 @ last-access: %s(sqlite3_column_text(pStmt,3))</p></li>
365 }
366 sqlite3_finalize(pStmt);
367
--- src/cache.c
+++ src/cache.c
@@ -237,11 +237,11 @@
237 sqlite3_close(cacheOpen(1));
238 }
239
240 /*
241 ** COMMAND: cache*
242 **
243 ** Usage: %fossil cache SUBCOMMAND
244 **
245 ** Manage the cache used for potentially expensive web pages such as
246 ** /zip and /tarball. SUBCOMMAND can be:
247 **
@@ -356,11 +356,11 @@
356 );
357 if( pStmt ){
358 @ <ol>
359 while( sqlite3_step(pStmt)==SQLITE_ROW ){
360 const unsigned char *zName = sqlite3_column_text(pStmt,0);
361 @ <li><p>%z(href("%R/cacheget?key=%T",zName))%h(zName)</a><br />
362 @ size: %s(sqlite3_column_text(pStmt,1))
363 @ hit-count: %d(sqlite3_column_int(pStmt,2))
364 @ last-access: %s(sqlite3_column_text(pStmt,3))</p></li>
365 }
366 sqlite3_finalize(pStmt);
367
+3 -3
--- src/finfo.c
+++ src/finfo.c
@@ -531,11 +531,11 @@
531531
}
532532
}
533533
if( fDebug & FINFO_DEBUG_MLINK ){
534534
int ii;
535535
char *zAncLink;
536
- @ <br>fid=%d(frid) pid=%d(fpid) mid=%d(fmid)
536
+ @ <br />fid=%d(frid) pid=%d(fpid) mid=%d(fmid)
537537
if( nParent>0 ){
538538
@ parents=%d(aParent[0])
539539
for(ii=1; ii<nParent; ii++){
540540
@ %d(aParent[ii])
541541
}
@@ -573,11 +573,11 @@
573573
*/
574574
void mlink_page(void){
575575
const char *zFName = P("name");
576576
const char *zCI = P("ci");
577577
Stmt q;
578
-
578
+
579579
login_check_credentials();
580580
if( !g.perm.Admin ){ login_needed(g.anon.Admin); return; }
581581
style_header("MLINK Table");
582582
if( zFName==0 && zCI==0 ){
583583
@ <span class='generalError'>
@@ -676,11 +676,11 @@
676676
" FROM mlink WHERE mid=%d ORDER BY 1",
677677
mid
678678
);
679679
@ <h1>MLINK table for check-in %h(zCI)</h1>
680680
render_checkin_context(mid, 1);
681
- @ <hr>
681
+ @ <hr />
682682
@ <div class='brlist'>
683683
@ <table id='mlinktable'>
684684
@ <thead><tr>
685685
@ <th>File</th>
686686
@ <th>From</th>
687687
--- src/finfo.c
+++ src/finfo.c
@@ -531,11 +531,11 @@
531 }
532 }
533 if( fDebug & FINFO_DEBUG_MLINK ){
534 int ii;
535 char *zAncLink;
536 @ <br>fid=%d(frid) pid=%d(fpid) mid=%d(fmid)
537 if( nParent>0 ){
538 @ parents=%d(aParent[0])
539 for(ii=1; ii<nParent; ii++){
540 @ %d(aParent[ii])
541 }
@@ -573,11 +573,11 @@
573 */
574 void mlink_page(void){
575 const char *zFName = P("name");
576 const char *zCI = P("ci");
577 Stmt q;
578
579 login_check_credentials();
580 if( !g.perm.Admin ){ login_needed(g.anon.Admin); return; }
581 style_header("MLINK Table");
582 if( zFName==0 && zCI==0 ){
583 @ <span class='generalError'>
@@ -676,11 +676,11 @@
676 " FROM mlink WHERE mid=%d ORDER BY 1",
677 mid
678 );
679 @ <h1>MLINK table for check-in %h(zCI)</h1>
680 render_checkin_context(mid, 1);
681 @ <hr>
682 @ <div class='brlist'>
683 @ <table id='mlinktable'>
684 @ <thead><tr>
685 @ <th>File</th>
686 @ <th>From</th>
687
--- src/finfo.c
+++ src/finfo.c
@@ -531,11 +531,11 @@
531 }
532 }
533 if( fDebug & FINFO_DEBUG_MLINK ){
534 int ii;
535 char *zAncLink;
536 @ <br />fid=%d(frid) pid=%d(fpid) mid=%d(fmid)
537 if( nParent>0 ){
538 @ parents=%d(aParent[0])
539 for(ii=1; ii<nParent; ii++){
540 @ %d(aParent[ii])
541 }
@@ -573,11 +573,11 @@
573 */
574 void mlink_page(void){
575 const char *zFName = P("name");
576 const char *zCI = P("ci");
577 Stmt q;
578
579 login_check_credentials();
580 if( !g.perm.Admin ){ login_needed(g.anon.Admin); return; }
581 style_header("MLINK Table");
582 if( zFName==0 && zCI==0 ){
583 @ <span class='generalError'>
@@ -676,11 +676,11 @@
676 " FROM mlink WHERE mid=%d ORDER BY 1",
677 mid
678 );
679 @ <h1>MLINK table for check-in %h(zCI)</h1>
680 render_checkin_context(mid, 1);
681 @ <hr />
682 @ <div class='brlist'>
683 @ <table id='mlinktable'>
684 @ <thead><tr>
685 @ <th>File</th>
686 @ <th>From</th>
687
+3 -3
--- src/info.c
+++ src/info.c
@@ -1349,11 +1349,11 @@
13491349
if( eventTagId != 0) {
13501350
@ Instance of technote
13511351
objType |= OBJTYPE_EVENT;
13521352
hyperlink_to_event_tagid(db_column_int(&q, 5));
13531353
}else{
1354
- @ Attachment to technote
1354
+ @ Attachment to technote
13551355
}
13561356
}else{
13571357
@ Tag referencing
13581358
}
13591359
if( zType[0]!='e' || eventTagId == 0){
@@ -1977,11 +1977,11 @@
19771977
@ <pre>
19781978
@ %h(z)
19791979
@ </pre>
19801980
}
19811981
}else if( strncmp(zMime, "image/", 6)==0 ){
1982
- @ <i>(file is %d(blob_size(&content)) bytes of image data)</i><br>
1982
+ @ <i>(file is %d(blob_size(&content)) bytes of image data)</i><br />
19831983
@ <img src="%R/raw/%s(zUuid)?m=%s(zMime)" />
19841984
style_submenu_element("Image", "Image",
19851985
"%R/raw/%s?m=%s", zUuid, zMime);
19861986
}else{
19871987
@ <i>(file is %d(blob_size(&content)) bytes of binary data)</i>
@@ -2072,11 +2072,11 @@
20722072
@ <span class="modpending">*** Awaiting Moderator Approval ***</span>
20732073
}
20742074
@ <tr><th>Ticket:</th>
20752075
@ <td>%z(href("%R/tktview/%s",zTktName))%s(zTktName)</a>
20762076
if( zTktTitle ){
2077
- @<br>%h(zTktTitle)
2077
+ @<br />%h(zTktTitle)
20782078
}
20792079
@</td></tr>
20802080
@ <tr><th>Date:</th><td>
20812081
hyperlink_to_date(zDate, "</td></tr>");
20822082
@ <tr><th>User:</th><td>
20832083
--- src/info.c
+++ src/info.c
@@ -1349,11 +1349,11 @@
1349 if( eventTagId != 0) {
1350 @ Instance of technote
1351 objType |= OBJTYPE_EVENT;
1352 hyperlink_to_event_tagid(db_column_int(&q, 5));
1353 }else{
1354 @ Attachment to technote
1355 }
1356 }else{
1357 @ Tag referencing
1358 }
1359 if( zType[0]!='e' || eventTagId == 0){
@@ -1977,11 +1977,11 @@
1977 @ <pre>
1978 @ %h(z)
1979 @ </pre>
1980 }
1981 }else if( strncmp(zMime, "image/", 6)==0 ){
1982 @ <i>(file is %d(blob_size(&content)) bytes of image data)</i><br>
1983 @ <img src="%R/raw/%s(zUuid)?m=%s(zMime)" />
1984 style_submenu_element("Image", "Image",
1985 "%R/raw/%s?m=%s", zUuid, zMime);
1986 }else{
1987 @ <i>(file is %d(blob_size(&content)) bytes of binary data)</i>
@@ -2072,11 +2072,11 @@
2072 @ <span class="modpending">*** Awaiting Moderator Approval ***</span>
2073 }
2074 @ <tr><th>Ticket:</th>
2075 @ <td>%z(href("%R/tktview/%s",zTktName))%s(zTktName)</a>
2076 if( zTktTitle ){
2077 @<br>%h(zTktTitle)
2078 }
2079 @</td></tr>
2080 @ <tr><th>Date:</th><td>
2081 hyperlink_to_date(zDate, "</td></tr>");
2082 @ <tr><th>User:</th><td>
2083
--- src/info.c
+++ src/info.c
@@ -1349,11 +1349,11 @@
1349 if( eventTagId != 0) {
1350 @ Instance of technote
1351 objType |= OBJTYPE_EVENT;
1352 hyperlink_to_event_tagid(db_column_int(&q, 5));
1353 }else{
1354 @ Attachment to technote
1355 }
1356 }else{
1357 @ Tag referencing
1358 }
1359 if( zType[0]!='e' || eventTagId == 0){
@@ -1977,11 +1977,11 @@
1977 @ <pre>
1978 @ %h(z)
1979 @ </pre>
1980 }
1981 }else if( strncmp(zMime, "image/", 6)==0 ){
1982 @ <i>(file is %d(blob_size(&content)) bytes of image data)</i><br />
1983 @ <img src="%R/raw/%s(zUuid)?m=%s(zMime)" />
1984 style_submenu_element("Image", "Image",
1985 "%R/raw/%s?m=%s", zUuid, zMime);
1986 }else{
1987 @ <i>(file is %d(blob_size(&content)) bytes of binary data)</i>
@@ -2072,11 +2072,11 @@
2072 @ <span class="modpending">*** Awaiting Moderator Approval ***</span>
2073 }
2074 @ <tr><th>Ticket:</th>
2075 @ <td>%z(href("%R/tktview/%s",zTktName))%s(zTktName)</a>
2076 if( zTktTitle ){
2077 @<br />%h(zTktTitle)
2078 }
2079 @</td></tr>
2080 @ <tr><th>Date:</th><td>
2081 hyperlink_to_date(zDate, "</td></tr>");
2082 @ <tr><th>User:</th><td>
2083
+4 -4
--- src/piechart.c
+++ src/piechart.c
@@ -299,22 +299,22 @@
299299
blob_reset(&all);
300300
if( n>0 ){
301301
@ <svg width=%d(width) height=%d(height) style="border:1px solid #d3d3d3;">
302302
piechart_render(width,height, PIE_OTHER);
303303
@ </svg>
304
- @ <hr>
304
+ @ <hr />
305305
}
306306
@ <form method="post" action='%R/test-piechart'>
307307
@ <p>One slice per line. Value and then Label.<p>
308
- @ <textarea name='data' rows='20' cols='80'>%h(zData)</textarea><br/>
308
+ @ <textarea name='data' rows='20' cols='80'>%h(zData)</textarea><br />
309309
@ Width: <input type='text' size='8' name='width' value='%d(width)'/>
310
- @ Height: <input type='text' size='8' name='height' value='%d(height)'/><br/>
310
+ @ Height: <input type='text' size='8' name='height' value='%d(height)'/><br />
311311
@ <input type='hidden' name='width' value='%d(width)'/>
312312
@ <input type='hidden' name='height' value='%d(height)'/>
313313
@ <input type='submit' value='Draw The Pie Chart'/>
314314
@ </form>
315
- @ <hr><p>Previous Data:</p>
315
+ @ <hr /><p>Previous Data:</p>
316316
@ <table border="1">
317317
db_prepare(&q, "SELECT rowid, amt, label FROM piechart");
318318
while( db_step(&q)==SQLITE_ROW ){
319319
@ <tr><td>%d(db_column_int(&q,0))</td>
320320
@ <td>%g(db_column_double(&q,1))</td>
321321
--- src/piechart.c
+++ src/piechart.c
@@ -299,22 +299,22 @@
299 blob_reset(&all);
300 if( n>0 ){
301 @ <svg width=%d(width) height=%d(height) style="border:1px solid #d3d3d3;">
302 piechart_render(width,height, PIE_OTHER);
303 @ </svg>
304 @ <hr>
305 }
306 @ <form method="post" action='%R/test-piechart'>
307 @ <p>One slice per line. Value and then Label.<p>
308 @ <textarea name='data' rows='20' cols='80'>%h(zData)</textarea><br/>
309 @ Width: <input type='text' size='8' name='width' value='%d(width)'/>
310 @ Height: <input type='text' size='8' name='height' value='%d(height)'/><br/>
311 @ <input type='hidden' name='width' value='%d(width)'/>
312 @ <input type='hidden' name='height' value='%d(height)'/>
313 @ <input type='submit' value='Draw The Pie Chart'/>
314 @ </form>
315 @ <hr><p>Previous Data:</p>
316 @ <table border="1">
317 db_prepare(&q, "SELECT rowid, amt, label FROM piechart");
318 while( db_step(&q)==SQLITE_ROW ){
319 @ <tr><td>%d(db_column_int(&q,0))</td>
320 @ <td>%g(db_column_double(&q,1))</td>
321
--- src/piechart.c
+++ src/piechart.c
@@ -299,22 +299,22 @@
299 blob_reset(&all);
300 if( n>0 ){
301 @ <svg width=%d(width) height=%d(height) style="border:1px solid #d3d3d3;">
302 piechart_render(width,height, PIE_OTHER);
303 @ </svg>
304 @ <hr />
305 }
306 @ <form method="post" action='%R/test-piechart'>
307 @ <p>One slice per line. Value and then Label.<p>
308 @ <textarea name='data' rows='20' cols='80'>%h(zData)</textarea><br />
309 @ Width: <input type='text' size='8' name='width' value='%d(width)'/>
310 @ Height: <input type='text' size='8' name='height' value='%d(height)'/><br />
311 @ <input type='hidden' name='width' value='%d(width)'/>
312 @ <input type='hidden' name='height' value='%d(height)'/>
313 @ <input type='submit' value='Draw The Pie Chart'/>
314 @ </form>
315 @ <hr /><p>Previous Data:</p>
316 @ <table border="1">
317 db_prepare(&q, "SELECT rowid, amt, label FROM piechart");
318 while( db_step(&q)==SQLITE_ROW ){
319 @ <tr><td>%d(db_column_int(&q,0))</td>
320 @ <td>%g(db_column_double(&q,1))</td>
321
+2 -2
--- src/search.c
+++ src/search.c
@@ -516,11 +516,11 @@
516516
517517
/*
518518
** Testing the search function.
519519
**
520520
** COMMAND: search*
521
-**
521
+**
522522
** Usage: %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern...
523523
**
524524
** Search for timeline entries matching all words provided on the
525525
** command line. Whole-word matches scope more highly than partial
526526
** matches.
@@ -949,11 +949,11 @@
949949
nRow++;
950950
@ <li><p><a href='%R%s(zUrl)'>%h(zLabel)</a>
951951
if( fDebug ){
952952
@ (%e(db_column_double(&q,3)), %s(db_column_text(&q,4)))
953953
}
954
- @ <br><span class='snippet'>%z(cleanSnippet(zSnippet))</span></li>
954
+ @ <br /><span class='snippet'>%z(cleanSnippet(zSnippet))</span></li>
955955
}
956956
db_finalize(&q);
957957
if( nRow ){
958958
@ </ol>
959959
}
960960
--- src/search.c
+++ src/search.c
@@ -516,11 +516,11 @@
516
517 /*
518 ** Testing the search function.
519 **
520 ** COMMAND: search*
521 **
522 ** Usage: %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern...
523 **
524 ** Search for timeline entries matching all words provided on the
525 ** command line. Whole-word matches scope more highly than partial
526 ** matches.
@@ -949,11 +949,11 @@
949 nRow++;
950 @ <li><p><a href='%R%s(zUrl)'>%h(zLabel)</a>
951 if( fDebug ){
952 @ (%e(db_column_double(&q,3)), %s(db_column_text(&q,4)))
953 }
954 @ <br><span class='snippet'>%z(cleanSnippet(zSnippet))</span></li>
955 }
956 db_finalize(&q);
957 if( nRow ){
958 @ </ol>
959 }
960
--- src/search.c
+++ src/search.c
@@ -516,11 +516,11 @@
516
517 /*
518 ** Testing the search function.
519 **
520 ** COMMAND: search*
521 **
522 ** Usage: %fossil search [-all|-a] [-limit|-n #] [-width|-W #] pattern...
523 **
524 ** Search for timeline entries matching all words provided on the
525 ** command line. Whole-word matches scope more highly than partial
526 ** matches.
@@ -949,11 +949,11 @@
949 nRow++;
950 @ <li><p><a href='%R%s(zUrl)'>%h(zLabel)</a>
951 if( fDebug ){
952 @ (%e(db_column_double(&q,3)), %s(db_column_text(&q,4)))
953 }
954 @ <br /><span class='snippet'>%z(cleanSnippet(zSnippet))</span></li>
955 }
956 db_finalize(&q);
957 if( nRow ){
958 @ </ol>
959 }
960
+10 -10
--- src/setup.c
+++ src/setup.c
@@ -175,11 +175,11 @@
175175
const char *zDate = db_column_text(&s, 4);
176176
@ <tr>
177177
@ <td><a href='setup_uedit?id=%d(uid)'>%d(uid)</a>
178178
@ <td><a href='setup_uedit?id=%d(uid)'>%h(zLogin)</a>
179179
@ <td>%h(zCap)
180
-
180
+
181181
if( fossil_strcmp(zLogin,"anonymous")==0 ){
182182
@ <td>All logged-in users
183183
}else if( fossil_strcmp(zLogin,"developer")==0 ){
184184
@ <td>Users with '<b>v</b>' capability
185185
}else if( fossil_strcmp(zLogin,"nobody")==0 ){
@@ -1154,14 +1154,14 @@
11541154
@ <p>Additional parameters that control this behavior:</p>
11551155
@ <blockquote>
11561156
onoff_attribute("Enable hyperlinks for humans (as deduced from the UserAgent "
11571157
" HTTP header string)",
11581158
"auto-hyperlink-ishuman", "ahis", 0, 0);
1159
- @ <br>
1159
+ @ <br />
11601160
onoff_attribute("Require mouse movement before enabling hyperlinks",
11611161
"auto-hyperlink-mouseover", "ahmo", 0, 0);
1162
- @ <br>
1162
+ @ <br />
11631163
entry_attribute("Delay before enabling hyperlinks (milliseconds)", 5,
11641164
"auto-hyperlink-delay", "ah-delay", "10", 0);
11651165
@ </blockquote>
11661166
@ <p>Hyperlinks for user "nobody" are normally enabled as soon as the page
11671167
@ finishes loading. But the first check-box below can be set to require mouse
@@ -1314,11 +1314,11 @@
13141314
@ <p><form action="%s(g.zTop)/setup_login_group" method="post"><div>
13151315
login_insert_csrf_secret();
13161316
@ To leave this login group press
13171317
@ <input type="submit" value="Leave Login Group" name="leave">
13181318
@ </form></p>
1319
- @ <hr><h2>Implementation Details</h2>
1319
+ @ <hr /><h2>Implementation Details</h2>
13201320
@ <p>The following are fields from the CONFIG table related to login-groups,
13211321
@ provided here for instructional and debugging purposes:</p>
13221322
@ <table border='1' id='configTab'>
13231323
@ <thead><tr><th>Config.Name<th>Config.Value<th>Config.mtime</tr></thead><tbody>
13241324
db_prepare(&q, "SELECT name, value, datetime(mtime,'unixepoch') FROM config"
@@ -2153,21 +2153,21 @@
21532153
@ <hr />
21542154
entry_attribute("Document Branch", 20, "doc-branch", "db", "trunk", 0);
21552155
@ <p>When searching documents, use the versions of the files found at the
21562156
@ type of the "Document Branch" branch. Recommended value: "trunk".
21572157
@ Document search is disabled if blank.
2158
- @ <hr/>
2158
+ @ <hr />
21592159
onoff_attribute("Search Check-in Comments", "search-ci", "sc", 0, 0);
2160
- @ <br>
2160
+ @ <br />
21612161
onoff_attribute("Search Documents", "search-doc", "sd", 0, 0);
2162
- @ <br>
2162
+ @ <br />
21632163
onoff_attribute("Search Tickets", "search-tkt", "st", 0, 0);
2164
- @ <br>
2164
+ @ <br />
21652165
onoff_attribute("Search Wiki","search-wiki", "sw", 0, 0);
2166
- @ <hr/>
2166
+ @ <hr />
21672167
@ <p><input type="submit" name="submit" value="Apply Changes" /></p>
2168
- @ <hr/>
2168
+ @ <hr />
21692169
if( P("fts0") ){
21702170
search_drop_index();
21712171
}else if( P("fts1") ){
21722172
search_drop_index();
21732173
search_create_index();
21742174
--- src/setup.c
+++ src/setup.c
@@ -175,11 +175,11 @@
175 const char *zDate = db_column_text(&s, 4);
176 @ <tr>
177 @ <td><a href='setup_uedit?id=%d(uid)'>%d(uid)</a>
178 @ <td><a href='setup_uedit?id=%d(uid)'>%h(zLogin)</a>
179 @ <td>%h(zCap)
180
181 if( fossil_strcmp(zLogin,"anonymous")==0 ){
182 @ <td>All logged-in users
183 }else if( fossil_strcmp(zLogin,"developer")==0 ){
184 @ <td>Users with '<b>v</b>' capability
185 }else if( fossil_strcmp(zLogin,"nobody")==0 ){
@@ -1154,14 +1154,14 @@
1154 @ <p>Additional parameters that control this behavior:</p>
1155 @ <blockquote>
1156 onoff_attribute("Enable hyperlinks for humans (as deduced from the UserAgent "
1157 " HTTP header string)",
1158 "auto-hyperlink-ishuman", "ahis", 0, 0);
1159 @ <br>
1160 onoff_attribute("Require mouse movement before enabling hyperlinks",
1161 "auto-hyperlink-mouseover", "ahmo", 0, 0);
1162 @ <br>
1163 entry_attribute("Delay before enabling hyperlinks (milliseconds)", 5,
1164 "auto-hyperlink-delay", "ah-delay", "10", 0);
1165 @ </blockquote>
1166 @ <p>Hyperlinks for user "nobody" are normally enabled as soon as the page
1167 @ finishes loading. But the first check-box below can be set to require mouse
@@ -1314,11 +1314,11 @@
1314 @ <p><form action="%s(g.zTop)/setup_login_group" method="post"><div>
1315 login_insert_csrf_secret();
1316 @ To leave this login group press
1317 @ <input type="submit" value="Leave Login Group" name="leave">
1318 @ </form></p>
1319 @ <hr><h2>Implementation Details</h2>
1320 @ <p>The following are fields from the CONFIG table related to login-groups,
1321 @ provided here for instructional and debugging purposes:</p>
1322 @ <table border='1' id='configTab'>
1323 @ <thead><tr><th>Config.Name<th>Config.Value<th>Config.mtime</tr></thead><tbody>
1324 db_prepare(&q, "SELECT name, value, datetime(mtime,'unixepoch') FROM config"
@@ -2153,21 +2153,21 @@
2153 @ <hr />
2154 entry_attribute("Document Branch", 20, "doc-branch", "db", "trunk", 0);
2155 @ <p>When searching documents, use the versions of the files found at the
2156 @ type of the "Document Branch" branch. Recommended value: "trunk".
2157 @ Document search is disabled if blank.
2158 @ <hr/>
2159 onoff_attribute("Search Check-in Comments", "search-ci", "sc", 0, 0);
2160 @ <br>
2161 onoff_attribute("Search Documents", "search-doc", "sd", 0, 0);
2162 @ <br>
2163 onoff_attribute("Search Tickets", "search-tkt", "st", 0, 0);
2164 @ <br>
2165 onoff_attribute("Search Wiki","search-wiki", "sw", 0, 0);
2166 @ <hr/>
2167 @ <p><input type="submit" name="submit" value="Apply Changes" /></p>
2168 @ <hr/>
2169 if( P("fts0") ){
2170 search_drop_index();
2171 }else if( P("fts1") ){
2172 search_drop_index();
2173 search_create_index();
2174
--- src/setup.c
+++ src/setup.c
@@ -175,11 +175,11 @@
175 const char *zDate = db_column_text(&s, 4);
176 @ <tr>
177 @ <td><a href='setup_uedit?id=%d(uid)'>%d(uid)</a>
178 @ <td><a href='setup_uedit?id=%d(uid)'>%h(zLogin)</a>
179 @ <td>%h(zCap)
180
181 if( fossil_strcmp(zLogin,"anonymous")==0 ){
182 @ <td>All logged-in users
183 }else if( fossil_strcmp(zLogin,"developer")==0 ){
184 @ <td>Users with '<b>v</b>' capability
185 }else if( fossil_strcmp(zLogin,"nobody")==0 ){
@@ -1154,14 +1154,14 @@
1154 @ <p>Additional parameters that control this behavior:</p>
1155 @ <blockquote>
1156 onoff_attribute("Enable hyperlinks for humans (as deduced from the UserAgent "
1157 " HTTP header string)",
1158 "auto-hyperlink-ishuman", "ahis", 0, 0);
1159 @ <br />
1160 onoff_attribute("Require mouse movement before enabling hyperlinks",
1161 "auto-hyperlink-mouseover", "ahmo", 0, 0);
1162 @ <br />
1163 entry_attribute("Delay before enabling hyperlinks (milliseconds)", 5,
1164 "auto-hyperlink-delay", "ah-delay", "10", 0);
1165 @ </blockquote>
1166 @ <p>Hyperlinks for user "nobody" are normally enabled as soon as the page
1167 @ finishes loading. But the first check-box below can be set to require mouse
@@ -1314,11 +1314,11 @@
1314 @ <p><form action="%s(g.zTop)/setup_login_group" method="post"><div>
1315 login_insert_csrf_secret();
1316 @ To leave this login group press
1317 @ <input type="submit" value="Leave Login Group" name="leave">
1318 @ </form></p>
1319 @ <hr /><h2>Implementation Details</h2>
1320 @ <p>The following are fields from the CONFIG table related to login-groups,
1321 @ provided here for instructional and debugging purposes:</p>
1322 @ <table border='1' id='configTab'>
1323 @ <thead><tr><th>Config.Name<th>Config.Value<th>Config.mtime</tr></thead><tbody>
1324 db_prepare(&q, "SELECT name, value, datetime(mtime,'unixepoch') FROM config"
@@ -2153,21 +2153,21 @@
2153 @ <hr />
2154 entry_attribute("Document Branch", 20, "doc-branch", "db", "trunk", 0);
2155 @ <p>When searching documents, use the versions of the files found at the
2156 @ type of the "Document Branch" branch. Recommended value: "trunk".
2157 @ Document search is disabled if blank.
2158 @ <hr />
2159 onoff_attribute("Search Check-in Comments", "search-ci", "sc", 0, 0);
2160 @ <br />
2161 onoff_attribute("Search Documents", "search-doc", "sd", 0, 0);
2162 @ <br />
2163 onoff_attribute("Search Tickets", "search-tkt", "st", 0, 0);
2164 @ <br />
2165 onoff_attribute("Search Wiki","search-wiki", "sw", 0, 0);
2166 @ <hr />
2167 @ <p><input type="submit" name="submit" value="Apply Changes" /></p>
2168 @ <hr />
2169 if( P("fts0") ){
2170 search_drop_index();
2171 }else if( P("fts1") ){
2172 search_drop_index();
2173 search_create_index();
2174
+6 -6
--- src/statrep.c
+++ src/statrep.c
@@ -311,12 +311,12 @@
311311
}
312312
@ </tbody></table>
313313
if(nEventTotal){
314314
const char *zAvgLabel = includeMonth ? "month" : "year";
315315
int nAvg = iterations ? (nEventTotal/iterations) : 0;
316
- @ <br><div>Total events: %d(nEventTotal)
317
- @ <br>Average per active %s(zAvgLabel): %d(nAvg)
316
+ @ <br /><div>Total events: %d(nEventTotal)
317
+ @ <br />Average per active %s(zAvgLabel): %d(nAvg)
318318
@ </div>
319319
}
320320
if( !includeMonth ){
321321
output_table_sorting_javascript("statsTable","tnx",-1);
322322
}
@@ -342,11 +342,11 @@
342342
" GROUP BY ifnull(euser,user) ORDER BY count(*) DESC;"
343343
);
344344
if( db_int(0, "SELECT count(*) FROM piechart")>=2 ){
345345
@ <center><svg width=700 height=400>
346346
piechart_render(700, 400, PIE_OTHER|PIE_PERCENT);
347
- @ </svg></centre><hr/>
347
+ @ </svg></centre><hr />
348348
}
349349
@ <table class='statistics-report-table-events' border='0'
350350
@ cellpadding='2' cellspacing='0' id='statsTable'>
351351
@ <thead><tr>
352352
@ <th>User</th>
@@ -503,11 +503,11 @@
503503
, zUserName
504504
);
505505
if( db_int(0, "SELECT count(*) FROM piechart")>=2 ){
506506
@ <center><svg width=700 height=400>
507507
piechart_render(700, 400, PIE_OTHER|PIE_PERCENT);
508
- @ </svg></centre><hr/>
508
+ @ </svg></centre><hr />
509509
}
510510
@ <table class='statistics-report-table-events' border='0'
511511
@ cellpadding='2' cellspacing='0' id='statsTable'>
512512
@ <thead><tr>
513513
@ <th>DoW</th>
@@ -571,11 +571,11 @@
571571
" WHERE b>0+(SELECT substr(date(min(mtime)),1,4) FROM event)"
572572
") SELECT b, b FROM a ORDER BY b DESC");
573573
if( zYear==0 || strlen(zYear)!=4 ){
574574
zYear = db_text("1970","SELECT substr(date('now'),1,4);");
575575
}
576
- cgi_printf("<br/>");
576
+ cgi_printf("<br />");
577577
db_prepare(&q,
578578
"SELECT DISTINCT strftime('%%W',mtime) AS wk, "
579579
" count(*) AS n "
580580
" FROM v_reports "
581581
" WHERE %Q=substr(date(mtime),1,4) "
@@ -633,11 +633,11 @@
633633
}
634634
db_finalize(&q);
635635
cgi_printf("</tbody></table>");
636636
if(total){
637637
int nAvg = iterations ? (total/iterations) : 0;
638
- cgi_printf("<br><div>Total events: %d<br>"
638
+ cgi_printf("<br /><div>Total events: %d<br />"
639639
"Average per active week: %d</div>",
640640
total, nAvg);
641641
}
642642
output_table_sorting_javascript("statsTable","tnx",-1);
643643
}
644644
--- src/statrep.c
+++ src/statrep.c
@@ -311,12 +311,12 @@
311 }
312 @ </tbody></table>
313 if(nEventTotal){
314 const char *zAvgLabel = includeMonth ? "month" : "year";
315 int nAvg = iterations ? (nEventTotal/iterations) : 0;
316 @ <br><div>Total events: %d(nEventTotal)
317 @ <br>Average per active %s(zAvgLabel): %d(nAvg)
318 @ </div>
319 }
320 if( !includeMonth ){
321 output_table_sorting_javascript("statsTable","tnx",-1);
322 }
@@ -342,11 +342,11 @@
342 " GROUP BY ifnull(euser,user) ORDER BY count(*) DESC;"
343 );
344 if( db_int(0, "SELECT count(*) FROM piechart")>=2 ){
345 @ <center><svg width=700 height=400>
346 piechart_render(700, 400, PIE_OTHER|PIE_PERCENT);
347 @ </svg></centre><hr/>
348 }
349 @ <table class='statistics-report-table-events' border='0'
350 @ cellpadding='2' cellspacing='0' id='statsTable'>
351 @ <thead><tr>
352 @ <th>User</th>
@@ -503,11 +503,11 @@
503 , zUserName
504 );
505 if( db_int(0, "SELECT count(*) FROM piechart")>=2 ){
506 @ <center><svg width=700 height=400>
507 piechart_render(700, 400, PIE_OTHER|PIE_PERCENT);
508 @ </svg></centre><hr/>
509 }
510 @ <table class='statistics-report-table-events' border='0'
511 @ cellpadding='2' cellspacing='0' id='statsTable'>
512 @ <thead><tr>
513 @ <th>DoW</th>
@@ -571,11 +571,11 @@
571 " WHERE b>0+(SELECT substr(date(min(mtime)),1,4) FROM event)"
572 ") SELECT b, b FROM a ORDER BY b DESC");
573 if( zYear==0 || strlen(zYear)!=4 ){
574 zYear = db_text("1970","SELECT substr(date('now'),1,4);");
575 }
576 cgi_printf("<br/>");
577 db_prepare(&q,
578 "SELECT DISTINCT strftime('%%W',mtime) AS wk, "
579 " count(*) AS n "
580 " FROM v_reports "
581 " WHERE %Q=substr(date(mtime),1,4) "
@@ -633,11 +633,11 @@
633 }
634 db_finalize(&q);
635 cgi_printf("</tbody></table>");
636 if(total){
637 int nAvg = iterations ? (total/iterations) : 0;
638 cgi_printf("<br><div>Total events: %d<br>"
639 "Average per active week: %d</div>",
640 total, nAvg);
641 }
642 output_table_sorting_javascript("statsTable","tnx",-1);
643 }
644
--- src/statrep.c
+++ src/statrep.c
@@ -311,12 +311,12 @@
311 }
312 @ </tbody></table>
313 if(nEventTotal){
314 const char *zAvgLabel = includeMonth ? "month" : "year";
315 int nAvg = iterations ? (nEventTotal/iterations) : 0;
316 @ <br /><div>Total events: %d(nEventTotal)
317 @ <br />Average per active %s(zAvgLabel): %d(nAvg)
318 @ </div>
319 }
320 if( !includeMonth ){
321 output_table_sorting_javascript("statsTable","tnx",-1);
322 }
@@ -342,11 +342,11 @@
342 " GROUP BY ifnull(euser,user) ORDER BY count(*) DESC;"
343 );
344 if( db_int(0, "SELECT count(*) FROM piechart")>=2 ){
345 @ <center><svg width=700 height=400>
346 piechart_render(700, 400, PIE_OTHER|PIE_PERCENT);
347 @ </svg></centre><hr />
348 }
349 @ <table class='statistics-report-table-events' border='0'
350 @ cellpadding='2' cellspacing='0' id='statsTable'>
351 @ <thead><tr>
352 @ <th>User</th>
@@ -503,11 +503,11 @@
503 , zUserName
504 );
505 if( db_int(0, "SELECT count(*) FROM piechart")>=2 ){
506 @ <center><svg width=700 height=400>
507 piechart_render(700, 400, PIE_OTHER|PIE_PERCENT);
508 @ </svg></centre><hr />
509 }
510 @ <table class='statistics-report-table-events' border='0'
511 @ cellpadding='2' cellspacing='0' id='statsTable'>
512 @ <thead><tr>
513 @ <th>DoW</th>
@@ -571,11 +571,11 @@
571 " WHERE b>0+(SELECT substr(date(min(mtime)),1,4) FROM event)"
572 ") SELECT b, b FROM a ORDER BY b DESC");
573 if( zYear==0 || strlen(zYear)!=4 ){
574 zYear = db_text("1970","SELECT substr(date('now'),1,4);");
575 }
576 cgi_printf("<br />");
577 db_prepare(&q,
578 "SELECT DISTINCT strftime('%%W',mtime) AS wk, "
579 " count(*) AS n "
580 " FROM v_reports "
581 " WHERE %Q=substr(date(mtime),1,4) "
@@ -633,11 +633,11 @@
633 }
634 db_finalize(&q);
635 cgi_printf("</tbody></table>");
636 if(total){
637 int nAvg = iterations ? (total/iterations) : 0;
638 cgi_printf("<br /><div>Total events: %d<br />"
639 "Average per active week: %d</div>",
640 total, nAvg);
641 }
642 output_table_sorting_javascript("statsTable","tnx",-1);
643 }
644
+5 -5
--- src/tar.c
+++ src/tar.c
@@ -684,20 +684,20 @@
684684
blob_appendf(&cacheKey, "/tarball/%z", rid_to_uuid(rid));
685685
if( zInclude ) blob_appendf(&cacheKey, ",in=%Q", zInclude);
686686
if( zExclude ) blob_appendf(&cacheKey, ",ex=%Q", zExclude);
687687
blob_appendf(&cacheKey, "/%q", zName);
688688
zKey = blob_str(&cacheKey);
689
-
689
+
690690
if( P("debug")!=0 ){
691691
style_header("Tarball Generator Debug Screen");
692
- @ zName = "%h(zName)"<br>
693
- @ rid = %d(rid)<br>
692
+ @ zName = "%h(zName)"<br />
693
+ @ rid = %d(rid)<br />
694694
if( zInclude ){
695
- @ zInclude = "%h(zInclude)"<br>
695
+ @ zInclude = "%h(zInclude)"<br />
696696
}
697697
if( zExclude ){
698
- @ zExclude = "%h(zExclude)"<br>
698
+ @ zExclude = "%h(zExclude)"<br />
699699
}
700700
@ zKey = "%h(zKey)"
701701
style_footer();
702702
return;
703703
}
704704
--- src/tar.c
+++ src/tar.c
@@ -684,20 +684,20 @@
684 blob_appendf(&cacheKey, "/tarball/%z", rid_to_uuid(rid));
685 if( zInclude ) blob_appendf(&cacheKey, ",in=%Q", zInclude);
686 if( zExclude ) blob_appendf(&cacheKey, ",ex=%Q", zExclude);
687 blob_appendf(&cacheKey, "/%q", zName);
688 zKey = blob_str(&cacheKey);
689
690 if( P("debug")!=0 ){
691 style_header("Tarball Generator Debug Screen");
692 @ zName = "%h(zName)"<br>
693 @ rid = %d(rid)<br>
694 if( zInclude ){
695 @ zInclude = "%h(zInclude)"<br>
696 }
697 if( zExclude ){
698 @ zExclude = "%h(zExclude)"<br>
699 }
700 @ zKey = "%h(zKey)"
701 style_footer();
702 return;
703 }
704
--- src/tar.c
+++ src/tar.c
@@ -684,20 +684,20 @@
684 blob_appendf(&cacheKey, "/tarball/%z", rid_to_uuid(rid));
685 if( zInclude ) blob_appendf(&cacheKey, ",in=%Q", zInclude);
686 if( zExclude ) blob_appendf(&cacheKey, ",ex=%Q", zExclude);
687 blob_appendf(&cacheKey, "/%q", zName);
688 zKey = blob_str(&cacheKey);
689
690 if( P("debug")!=0 ){
691 style_header("Tarball Generator Debug Screen");
692 @ zName = "%h(zName)"<br />
693 @ rid = %d(rid)<br />
694 if( zInclude ){
695 @ zInclude = "%h(zInclude)"<br />
696 }
697 if( zExclude ){
698 @ zExclude = "%h(zExclude)"<br />
699 }
700 @ zKey = "%h(zKey)"
701 style_footer();
702 return;
703 }
704
+3 -3
--- src/th_main.c
+++ src/th_main.c
@@ -282,11 +282,11 @@
282282
if( argc<2 || argc>3 ){
283283
return Th_WrongNumArgs(interp, "enable_output [LABEL] BOOLEAN");
284284
}
285285
rc = Th_ToInt(interp, argv[argc-1], argl[argc-1], &enableOutput);
286286
if( g.thTrace ){
287
- Th_Trace("enable_output {%.*s} -> %d<br>\n", argl[1],argv[1],enableOutput);
287
+ Th_Trace("enable_output {%.*s} -> %d<br />\n", argl[1],argv[1],enableOutput);
288288
}
289289
return rc;
290290
}
291291
292292
/*
@@ -332,11 +332,11 @@
332332
333333
static void sendError(const char *z, int n, int forceCgi){
334334
int savedEnable = enableOutput;
335335
enableOutput = 1;
336336
if( forceCgi || g.cgiOutput ){
337
- sendText("<hr><p class=\"thmainError\">", -1, 0);
337
+ sendText("<hr /><p class=\"thmainError\">", -1, 0);
338338
}
339339
sendText("ERROR: ", -1, 0);
340340
sendText((char*)z, n, 1);
341341
sendText(forceCgi || g.cgiOutput ? "</p>" : "\n", -1, 0);
342342
enableOutput = savedEnable;
@@ -2327,11 +2327,11 @@
23272327
}else if( z[i]=='<' && isBeginScriptTag(&z[i]) ){
23282328
sendText(z, i, 0);
23292329
z += i+5;
23302330
for(i=0; z[i] && (z[i]!='<' || !isEndScriptTag(&z[i])); i++){}
23312331
if( g.thTrace ){
2332
- Th_Trace("eval {<pre>%#h</pre>}<br>", i, z);
2332
+ Th_Trace("eval {<pre>%#h</pre>}<br />", i, z);
23332333
}
23342334
rc = Th_Eval(g.interp, 0, (const char*)z, i);
23352335
if( rc!=TH_OK ) break;
23362336
z += i;
23372337
if( z[0] ){ z += 6; }
23382338
--- src/th_main.c
+++ src/th_main.c
@@ -282,11 +282,11 @@
282 if( argc<2 || argc>3 ){
283 return Th_WrongNumArgs(interp, "enable_output [LABEL] BOOLEAN");
284 }
285 rc = Th_ToInt(interp, argv[argc-1], argl[argc-1], &enableOutput);
286 if( g.thTrace ){
287 Th_Trace("enable_output {%.*s} -> %d<br>\n", argl[1],argv[1],enableOutput);
288 }
289 return rc;
290 }
291
292 /*
@@ -332,11 +332,11 @@
332
333 static void sendError(const char *z, int n, int forceCgi){
334 int savedEnable = enableOutput;
335 enableOutput = 1;
336 if( forceCgi || g.cgiOutput ){
337 sendText("<hr><p class=\"thmainError\">", -1, 0);
338 }
339 sendText("ERROR: ", -1, 0);
340 sendText((char*)z, n, 1);
341 sendText(forceCgi || g.cgiOutput ? "</p>" : "\n", -1, 0);
342 enableOutput = savedEnable;
@@ -2327,11 +2327,11 @@
2327 }else if( z[i]=='<' && isBeginScriptTag(&z[i]) ){
2328 sendText(z, i, 0);
2329 z += i+5;
2330 for(i=0; z[i] && (z[i]!='<' || !isEndScriptTag(&z[i])); i++){}
2331 if( g.thTrace ){
2332 Th_Trace("eval {<pre>%#h</pre>}<br>", i, z);
2333 }
2334 rc = Th_Eval(g.interp, 0, (const char*)z, i);
2335 if( rc!=TH_OK ) break;
2336 z += i;
2337 if( z[0] ){ z += 6; }
2338
--- src/th_main.c
+++ src/th_main.c
@@ -282,11 +282,11 @@
282 if( argc<2 || argc>3 ){
283 return Th_WrongNumArgs(interp, "enable_output [LABEL] BOOLEAN");
284 }
285 rc = Th_ToInt(interp, argv[argc-1], argl[argc-1], &enableOutput);
286 if( g.thTrace ){
287 Th_Trace("enable_output {%.*s} -> %d<br />\n", argl[1],argv[1],enableOutput);
288 }
289 return rc;
290 }
291
292 /*
@@ -332,11 +332,11 @@
332
333 static void sendError(const char *z, int n, int forceCgi){
334 int savedEnable = enableOutput;
335 enableOutput = 1;
336 if( forceCgi || g.cgiOutput ){
337 sendText("<hr /><p class=\"thmainError\">", -1, 0);
338 }
339 sendText("ERROR: ", -1, 0);
340 sendText((char*)z, n, 1);
341 sendText(forceCgi || g.cgiOutput ? "</p>" : "\n", -1, 0);
342 enableOutput = savedEnable;
@@ -2327,11 +2327,11 @@
2327 }else if( z[i]=='<' && isBeginScriptTag(&z[i]) ){
2328 sendText(z, i, 0);
2329 z += i+5;
2330 for(i=0; z[i] && (z[i]!='<' || !isEndScriptTag(&z[i])); i++){}
2331 if( g.thTrace ){
2332 Th_Trace("eval {<pre>%#h</pre>}<br />", i, z);
2333 }
2334 rc = Th_Eval(g.interp, 0, (const char*)z, i);
2335 if( rc!=TH_OK ) break;
2336 z += i;
2337 if( z[0] ){ z += 6; }
2338
+5 -5
--- src/timeline.c
+++ src/timeline.c
@@ -178,11 +178,11 @@
178178
@ suam declinavit.</p>
179179
cnt++;
180180
}
181181
}
182182
if( cnt ){
183
- @ <hr>
183
+ @ <hr />
184184
}
185185
@ <form method="post" action="%s(g.zTop)/hash-color-test">
186186
@ <p>Enter candidate branch names below and see them displayed in their
187187
@ default background colors above.</p>
188188
for(i=0; i<10; i++){
@@ -299,11 +299,11 @@
299299
}
300300
pendingEndTr = 0;
301301
}
302302
if( fossil_strcmp(zType,"div")==0 ){
303303
if( !prevWasDivider ){
304
- @ <tr><td colspan="3"><hr class="timelineMarker"/></td></tr>
304
+ @ <tr><td colspan="3"><hr class="timelineMarker" /></td></tr>
305305
}
306306
prevWasDivider = 1;
307307
continue;
308308
}
309309
prevWasDivider = 0;
@@ -1217,11 +1217,11 @@
12171217
** forks Show only forks and their children
12181218
** ym=YYYY-MM Show only events for the given year/month.
12191219
** yw=YYYY-WW Show only events for the given week of the given year
12201220
** ymd=YYYY-MM-DD Show only events on the given day
12211221
** datefmt=N Override the date format
1222
-** bisect Show the check-ins that are in the current bisect
1222
+** bisect Show the check-ins that are in the current bisect
12231223
**
12241224
** p= and d= can appear individually or together. If either p= or d=
12251225
** appear, then u=, y=, a=, and b= are ignored.
12261226
**
12271227
** If both a= and b= appear then both upper and lower bounds are honored.
@@ -1439,11 +1439,11 @@
14391439
}
14401440
blob_append(&sql, ")", -1);
14411441
path_reset();
14421442
tmFlags |= TIMELINE_DISJOINT;
14431443
db_multi_exec("%s", blob_sql_text(&sql));
1444
- blob_appendf(&desc, "%d check-ins going from ",
1444
+ blob_appendf(&desc, "%d check-ins going from ",
14451445
db_int(0, "SELECT count(*) FROM timeline"));
14461446
blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h", zFrom), zFrom);
14471447
blob_append(&desc, " to ", -1);
14481448
blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h",zTo), zTo);
14491449
}else if( (p_rid || d_rid) && g.perm.Read ){
@@ -1732,11 +1732,11 @@
17321732
blob_appendf(&desc, " related to \"%h\"", zBrName);
17331733
tmFlags |= TIMELINE_DISJOINT;
17341734
}
17351735
if( rAfter>0.0 ){
17361736
if( rBefore>0.0 ){
1737
- blob_appendf(&desc, " occurring between %h and %h.<br>",
1737
+ blob_appendf(&desc, " occurring between %h and %h.<br />",
17381738
zAfter, zBefore);
17391739
}else{
17401740
blob_appendf(&desc, " occurring on or after %h.<br />", zAfter);
17411741
}
17421742
}else if( rBefore>0.0 ){
17431743
--- src/timeline.c
+++ src/timeline.c
@@ -178,11 +178,11 @@
178 @ suam declinavit.</p>
179 cnt++;
180 }
181 }
182 if( cnt ){
183 @ <hr>
184 }
185 @ <form method="post" action="%s(g.zTop)/hash-color-test">
186 @ <p>Enter candidate branch names below and see them displayed in their
187 @ default background colors above.</p>
188 for(i=0; i<10; i++){
@@ -299,11 +299,11 @@
299 }
300 pendingEndTr = 0;
301 }
302 if( fossil_strcmp(zType,"div")==0 ){
303 if( !prevWasDivider ){
304 @ <tr><td colspan="3"><hr class="timelineMarker"/></td></tr>
305 }
306 prevWasDivider = 1;
307 continue;
308 }
309 prevWasDivider = 0;
@@ -1217,11 +1217,11 @@
1217 ** forks Show only forks and their children
1218 ** ym=YYYY-MM Show only events for the given year/month.
1219 ** yw=YYYY-WW Show only events for the given week of the given year
1220 ** ymd=YYYY-MM-DD Show only events on the given day
1221 ** datefmt=N Override the date format
1222 ** bisect Show the check-ins that are in the current bisect
1223 **
1224 ** p= and d= can appear individually or together. If either p= or d=
1225 ** appear, then u=, y=, a=, and b= are ignored.
1226 **
1227 ** If both a= and b= appear then both upper and lower bounds are honored.
@@ -1439,11 +1439,11 @@
1439 }
1440 blob_append(&sql, ")", -1);
1441 path_reset();
1442 tmFlags |= TIMELINE_DISJOINT;
1443 db_multi_exec("%s", blob_sql_text(&sql));
1444 blob_appendf(&desc, "%d check-ins going from ",
1445 db_int(0, "SELECT count(*) FROM timeline"));
1446 blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h", zFrom), zFrom);
1447 blob_append(&desc, " to ", -1);
1448 blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h",zTo), zTo);
1449 }else if( (p_rid || d_rid) && g.perm.Read ){
@@ -1732,11 +1732,11 @@
1732 blob_appendf(&desc, " related to \"%h\"", zBrName);
1733 tmFlags |= TIMELINE_DISJOINT;
1734 }
1735 if( rAfter>0.0 ){
1736 if( rBefore>0.0 ){
1737 blob_appendf(&desc, " occurring between %h and %h.<br>",
1738 zAfter, zBefore);
1739 }else{
1740 blob_appendf(&desc, " occurring on or after %h.<br />", zAfter);
1741 }
1742 }else if( rBefore>0.0 ){
1743
--- src/timeline.c
+++ src/timeline.c
@@ -178,11 +178,11 @@
178 @ suam declinavit.</p>
179 cnt++;
180 }
181 }
182 if( cnt ){
183 @ <hr />
184 }
185 @ <form method="post" action="%s(g.zTop)/hash-color-test">
186 @ <p>Enter candidate branch names below and see them displayed in their
187 @ default background colors above.</p>
188 for(i=0; i<10; i++){
@@ -299,11 +299,11 @@
299 }
300 pendingEndTr = 0;
301 }
302 if( fossil_strcmp(zType,"div")==0 ){
303 if( !prevWasDivider ){
304 @ <tr><td colspan="3"><hr class="timelineMarker" /></td></tr>
305 }
306 prevWasDivider = 1;
307 continue;
308 }
309 prevWasDivider = 0;
@@ -1217,11 +1217,11 @@
1217 ** forks Show only forks and their children
1218 ** ym=YYYY-MM Show only events for the given year/month.
1219 ** yw=YYYY-WW Show only events for the given week of the given year
1220 ** ymd=YYYY-MM-DD Show only events on the given day
1221 ** datefmt=N Override the date format
1222 ** bisect Show the check-ins that are in the current bisect
1223 **
1224 ** p= and d= can appear individually or together. If either p= or d=
1225 ** appear, then u=, y=, a=, and b= are ignored.
1226 **
1227 ** If both a= and b= appear then both upper and lower bounds are honored.
@@ -1439,11 +1439,11 @@
1439 }
1440 blob_append(&sql, ")", -1);
1441 path_reset();
1442 tmFlags |= TIMELINE_DISJOINT;
1443 db_multi_exec("%s", blob_sql_text(&sql));
1444 blob_appendf(&desc, "%d check-ins going from ",
1445 db_int(0, "SELECT count(*) FROM timeline"));
1446 blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h", zFrom), zFrom);
1447 blob_append(&desc, " to ", -1);
1448 blob_appendf(&desc, "%z[%h]</a>", href("%R/info/%h",zTo), zTo);
1449 }else if( (p_rid || d_rid) && g.perm.Read ){
@@ -1732,11 +1732,11 @@
1732 blob_appendf(&desc, " related to \"%h\"", zBrName);
1733 tmFlags |= TIMELINE_DISJOINT;
1734 }
1735 if( rAfter>0.0 ){
1736 if( rBefore>0.0 ){
1737 blob_appendf(&desc, " occurring between %h and %h.<br />",
1738 zAfter, zBefore);
1739 }else{
1740 blob_appendf(&desc, " occurring on or after %h.<br />", zAfter);
1741 }
1742 }else if( rBefore>0.0 ){
1743
+3 -3
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -524,11 +524,11 @@
524524
@ mimetype as xmimetype, icomment AS xcomment,
525525
@ username AS xusername
526526
@ FROM ticketchng
527527
@ WHERE tkt_id=$tkt_id AND length(icomment)>0} {
528528
@ if {$seenRow} {
529
-@ html "<hr>\n"
529
+@ html "<hr />\n"
530530
@ } else {
531531
@ html "<tr><td class='tktDspLabel'>User Comments:</td></tr>\n"
532532
@ html "<tr><td colspan='5' class='tktDspValue'>\n"
533533
@ set seenRow 1
534534
@ }
@@ -651,11 +651,11 @@
651651
@ wrap="virtual" class="wikiedit">$<icomment></textarea>
652652
@ </td></tr>
653653
@
654654
@ <th1>enable_output [info exists preview]</th1>
655655
@ <tr><td colspan="2">
656
-@ Description Preview:<br><hr>
656
+@ Description Preview:<br /><hr />
657657
@ <th1>
658658
@ if {$mutype eq "Wiki"} {
659659
@ wiki $icomment
660660
@ } elseif {$mutype eq "Plain Text"} {
661661
@ set r [randhex]
@@ -665,11 +665,11 @@
665665
@ wiki "<verbatim-$r links>\n[string trimright $icomment]</verbatim-$r>"
666666
@ } else {
667667
@ wiki "<nowiki>\n[string trimright $icomment]\n</nowiki>"
668668
@ }
669669
@ </th1>
670
-@ <hr>
670
+@ <hr />
671671
@ </td></tr>
672672
@ <th1>enable_output 1</th1>
673673
@
674674
@ <tr>
675675
@ <td align="right">
676676
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -524,11 +524,11 @@
524 @ mimetype as xmimetype, icomment AS xcomment,
525 @ username AS xusername
526 @ FROM ticketchng
527 @ WHERE tkt_id=$tkt_id AND length(icomment)>0} {
528 @ if {$seenRow} {
529 @ html "<hr>\n"
530 @ } else {
531 @ html "<tr><td class='tktDspLabel'>User Comments:</td></tr>\n"
532 @ html "<tr><td colspan='5' class='tktDspValue'>\n"
533 @ set seenRow 1
534 @ }
@@ -651,11 +651,11 @@
651 @ wrap="virtual" class="wikiedit">$<icomment></textarea>
652 @ </td></tr>
653 @
654 @ <th1>enable_output [info exists preview]</th1>
655 @ <tr><td colspan="2">
656 @ Description Preview:<br><hr>
657 @ <th1>
658 @ if {$mutype eq "Wiki"} {
659 @ wiki $icomment
660 @ } elseif {$mutype eq "Plain Text"} {
661 @ set r [randhex]
@@ -665,11 +665,11 @@
665 @ wiki "<verbatim-$r links>\n[string trimright $icomment]</verbatim-$r>"
666 @ } else {
667 @ wiki "<nowiki>\n[string trimright $icomment]\n</nowiki>"
668 @ }
669 @ </th1>
670 @ <hr>
671 @ </td></tr>
672 @ <th1>enable_output 1</th1>
673 @
674 @ <tr>
675 @ <td align="right">
676
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -524,11 +524,11 @@
524 @ mimetype as xmimetype, icomment AS xcomment,
525 @ username AS xusername
526 @ FROM ticketchng
527 @ WHERE tkt_id=$tkt_id AND length(icomment)>0} {
528 @ if {$seenRow} {
529 @ html "<hr />\n"
530 @ } else {
531 @ html "<tr><td class='tktDspLabel'>User Comments:</td></tr>\n"
532 @ html "<tr><td colspan='5' class='tktDspValue'>\n"
533 @ set seenRow 1
534 @ }
@@ -651,11 +651,11 @@
651 @ wrap="virtual" class="wikiedit">$<icomment></textarea>
652 @ </td></tr>
653 @
654 @ <th1>enable_output [info exists preview]</th1>
655 @ <tr><td colspan="2">
656 @ Description Preview:<br /><hr />
657 @ <th1>
658 @ if {$mutype eq "Wiki"} {
659 @ wiki $icomment
660 @ } elseif {$mutype eq "Plain Text"} {
661 @ set r [randhex]
@@ -665,11 +665,11 @@
665 @ wiki "<verbatim-$r links>\n[string trimright $icomment]</verbatim-$r>"
666 @ } else {
667 @ wiki "<nowiki>\n[string trimright $icomment]\n</nowiki>"
668 @ }
669 @ </th1>
670 @ <hr />
671 @ </td></tr>
672 @ <th1>enable_output 1</th1>
673 @
674 @ <tr>
675 @ <td align="right">
676
+1 -1
--- src/xfersetup.c
+++ src/xfersetup.c
@@ -61,11 +61,11 @@
6161
zButton = "Synchronize";
6262
zWarning = mprintf("WARNING: Pushing to \"%s\" is enabled.",
6363
g.url.canonical);
6464
}
6565
@ <p>Press the <strong>%h(zButton)</strong> button below to
66
- @ synchronize with the <em>%h(g.url.canonical)</em> repository now.<br/>
66
+ @ synchronize with the <em>%h(g.url.canonical)</em> repository now.<br />
6767
@ This may be useful when testing the various transfer scripts.</p>
6868
@ <p>You can use the <code>http -async</code> command in your scripts, but
6969
@ make sure the <code>th1-uri-regexp</code> setting is set first.</p>
7070
if( zWarning ){
7171
@
7272
--- src/xfersetup.c
+++ src/xfersetup.c
@@ -61,11 +61,11 @@
61 zButton = "Synchronize";
62 zWarning = mprintf("WARNING: Pushing to \"%s\" is enabled.",
63 g.url.canonical);
64 }
65 @ <p>Press the <strong>%h(zButton)</strong> button below to
66 @ synchronize with the <em>%h(g.url.canonical)</em> repository now.<br/>
67 @ This may be useful when testing the various transfer scripts.</p>
68 @ <p>You can use the <code>http -async</code> command in your scripts, but
69 @ make sure the <code>th1-uri-regexp</code> setting is set first.</p>
70 if( zWarning ){
71 @
72
--- src/xfersetup.c
+++ src/xfersetup.c
@@ -61,11 +61,11 @@
61 zButton = "Synchronize";
62 zWarning = mprintf("WARNING: Pushing to \"%s\" is enabled.",
63 g.url.canonical);
64 }
65 @ <p>Press the <strong>%h(zButton)</strong> button below to
66 @ synchronize with the <em>%h(g.url.canonical)</em> repository now.<br />
67 @ This may be useful when testing the various transfer scripts.</p>
68 @ <p>You can use the <code>http -async</code> command in your scripts, but
69 @ make sure the <code>th1-uri-regexp</code> setting is set first.</p>
70 if( zWarning ){
71 @
72

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button