Fossil SCM

Remove an unused subroutine. Fix a minor CSS problem.

drh 2019-08-27 00:29 vdiff-improvements
Commit 2078c746a5abb9eaf30ca1cc801c41f1ac779f02962ea8728381bf0b8e6c75c7
2 files changed +1 -1 +3 -1
--- src/default_css.txt
+++ src/default_css.txt
@@ -45,11 +45,11 @@
4545
border: 2px solid lightgray;
4646
background-color: #ffc;
4747
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
4848
}
4949
.timelineSecondary {
50
- background-color: #ffc;
50
+ background-color: #cff;
5151
}
5252
tr.timelineSelected td {
5353
border-radius: 0;
5454
border-width: 0;
5555
}
5656
--- src/default_css.txt
+++ src/default_css.txt
@@ -45,11 +45,11 @@
45 border: 2px solid lightgray;
46 background-color: #ffc;
47 box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
48 }
49 .timelineSecondary {
50 background-color: #ffc;
51 }
52 tr.timelineSelected td {
53 border-radius: 0;
54 border-width: 0;
55 }
56
--- src/default_css.txt
+++ src/default_css.txt
@@ -45,11 +45,11 @@
45 border: 2px solid lightgray;
46 background-color: #ffc;
47 box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
48 }
49 .timelineSecondary {
50 background-color: #cff;
51 }
52 tr.timelineSelected td {
53 border-radius: 0;
54 border-width: 0;
55 }
56
+3 -1
--- src/info.c
+++ src/info.c
@@ -1111,10 +1111,11 @@
11111111
return 0;
11121112
}
11131113
return manifest_get(rid, CFTYPE_MANIFEST, 0);
11141114
}
11151115
1116
+#if 0 /* not used */
11161117
/*
11171118
** Output a description of a check-in
11181119
*/
11191120
static void checkin_description(int rid){
11201121
Stmt q;
@@ -1169,10 +1170,11 @@
11691170
hyperlink_to_date(zDate, ")");
11701171
tag_private_status(rid);
11711172
}
11721173
db_finalize(&q);
11731174
}
1175
+#endif /* not used */
11741176
11751177
11761178
/*
11771179
** WEBPAGE: vdiff
11781180
** URL: /vdiff?from=TAG&to=TAG
@@ -1267,18 +1269,18 @@
12671269
if( P("nohdr")==0 ){
12681270
@ <h2>Difference From <span class='timelineSelected'>\
12691271
@ %z(href("%R/info/%h",zFrom))%h(zFrom)</a></span>
12701272
@ To <span class='timelineSelected timelineSecondary'>\
12711273
@ %z(href("%R/info/%h",zTo))%h(zTo)</a></span></h2>
1274
+ render_checkin_context(ridFrom, ridTo, 0);
12721275
if( pRe ){
12731276
@ <p><b>Only differences that match regular expression "%h(zRe)"
12741277
@ are shown.</b></p>
12751278
}
12761279
if( zGlob ){
12771280
@ <p><b>Only files matching the glob "%h(zGlob)" are shown.</b></p>
12781281
}
1279
- render_checkin_context(ridFrom, ridTo, 0);
12801282
@<hr /><p>
12811283
}
12821284
12831285
manifest_file_rewind(pFrom);
12841286
pFileFrom = manifest_file_next(pFrom, 0);
12851287
--- src/info.c
+++ src/info.c
@@ -1111,10 +1111,11 @@
1111 return 0;
1112 }
1113 return manifest_get(rid, CFTYPE_MANIFEST, 0);
1114 }
1115
 
1116 /*
1117 ** Output a description of a check-in
1118 */
1119 static void checkin_description(int rid){
1120 Stmt q;
@@ -1169,10 +1170,11 @@
1169 hyperlink_to_date(zDate, ")");
1170 tag_private_status(rid);
1171 }
1172 db_finalize(&q);
1173 }
 
1174
1175
1176 /*
1177 ** WEBPAGE: vdiff
1178 ** URL: /vdiff?from=TAG&to=TAG
@@ -1267,18 +1269,18 @@
1267 if( P("nohdr")==0 ){
1268 @ <h2>Difference From <span class='timelineSelected'>\
1269 @ %z(href("%R/info/%h",zFrom))%h(zFrom)</a></span>
1270 @ To <span class='timelineSelected timelineSecondary'>\
1271 @ %z(href("%R/info/%h",zTo))%h(zTo)</a></span></h2>
 
1272 if( pRe ){
1273 @ <p><b>Only differences that match regular expression "%h(zRe)"
1274 @ are shown.</b></p>
1275 }
1276 if( zGlob ){
1277 @ <p><b>Only files matching the glob "%h(zGlob)" are shown.</b></p>
1278 }
1279 render_checkin_context(ridFrom, ridTo, 0);
1280 @<hr /><p>
1281 }
1282
1283 manifest_file_rewind(pFrom);
1284 pFileFrom = manifest_file_next(pFrom, 0);
1285
--- src/info.c
+++ src/info.c
@@ -1111,10 +1111,11 @@
1111 return 0;
1112 }
1113 return manifest_get(rid, CFTYPE_MANIFEST, 0);
1114 }
1115
1116 #if 0 /* not used */
1117 /*
1118 ** Output a description of a check-in
1119 */
1120 static void checkin_description(int rid){
1121 Stmt q;
@@ -1169,10 +1170,11 @@
1170 hyperlink_to_date(zDate, ")");
1171 tag_private_status(rid);
1172 }
1173 db_finalize(&q);
1174 }
1175 #endif /* not used */
1176
1177
1178 /*
1179 ** WEBPAGE: vdiff
1180 ** URL: /vdiff?from=TAG&to=TAG
@@ -1267,18 +1269,18 @@
1269 if( P("nohdr")==0 ){
1270 @ <h2>Difference From <span class='timelineSelected'>\
1271 @ %z(href("%R/info/%h",zFrom))%h(zFrom)</a></span>
1272 @ To <span class='timelineSelected timelineSecondary'>\
1273 @ %z(href("%R/info/%h",zTo))%h(zTo)</a></span></h2>
1274 render_checkin_context(ridFrom, ridTo, 0);
1275 if( pRe ){
1276 @ <p><b>Only differences that match regular expression "%h(zRe)"
1277 @ are shown.</b></p>
1278 }
1279 if( zGlob ){
1280 @ <p><b>Only files matching the glob "%h(zGlob)" are shown.</b></p>
1281 }
 
1282 @<hr /><p>
1283 }
1284
1285 manifest_file_rewind(pFrom);
1286 pFileFrom = manifest_file_next(pFrom, 0);
1287

Keyboard Shortcuts

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