Fossil SCM

eol-spacing fixes.

jan.nijtmans 2015-02-06 09:55 trunk
Commit b8e3dc16f48955d0f4e343c6e6c54bbce52644a2
+1 -1
--- src/cgi.c
+++ src/cgi.c
@@ -1205,11 +1205,11 @@
12051205
}else{
12061206
for(i=0; i<nUsedQP; i++){
12071207
if( strcmp(zName,aParamQP[i].zName)==0 ) aParamQP[i].cTag = 1;
12081208
}
12091209
}
1210
-}
1210
+}
12111211
12121212
/*
12131213
** This routine works like "printf" except that it has the
12141214
** extra formatting capabilities such as %h and %t.
12151215
*/
12161216
--- src/cgi.c
+++ src/cgi.c
@@ -1205,11 +1205,11 @@
1205 }else{
1206 for(i=0; i<nUsedQP; i++){
1207 if( strcmp(zName,aParamQP[i].zName)==0 ) aParamQP[i].cTag = 1;
1208 }
1209 }
1210 }
1211
1212 /*
1213 ** This routine works like "printf" except that it has the
1214 ** extra formatting capabilities such as %h and %t.
1215 */
1216
--- src/cgi.c
+++ src/cgi.c
@@ -1205,11 +1205,11 @@
1205 }else{
1206 for(i=0; i<nUsedQP; i++){
1207 if( strcmp(zName,aParamQP[i].zName)==0 ) aParamQP[i].cTag = 1;
1208 }
1209 }
1210 }
1211
1212 /*
1213 ** This routine works like "printf" except that it has the
1214 ** extra formatting capabilities such as %h and %t.
1215 */
1216
+1 -1
--- src/search.c
+++ src/search.c
@@ -589,11 +589,11 @@
589589
knownGood |= m;
590590
}else{
591591
knownBad |= m;
592592
}
593593
}
594
- return srchFlags & ~knownBad;
594
+ return srchFlags & ~knownBad;
595595
}
596596
597597
/*
598598
** When this routine is called, there already exists a table
599599
**
600600
--- src/search.c
+++ src/search.c
@@ -589,11 +589,11 @@
589 knownGood |= m;
590 }else{
591 knownBad |= m;
592 }
593 }
594 return srchFlags & ~knownBad;
595 }
596
597 /*
598 ** When this routine is called, there already exists a table
599 **
600
--- src/search.c
+++ src/search.c
@@ -589,11 +589,11 @@
589 knownGood |= m;
590 }else{
591 knownBad |= m;
592 }
593 }
594 return srchFlags & ~knownBad;
595 }
596
597 /*
598 ** When this routine is called, there already exists a table
599 **
600
+2 -2
--- src/style.c
+++ src/style.c
@@ -25,11 +25,11 @@
2525
2626
/*
2727
** Elements of the submenu are collected into the following
2828
** structure and displayed below the main menu.
2929
**
30
-** Populate these structure with calls to
30
+** Populate these structure with calls to
3131
**
3232
** style_submenu_element()
3333
** style_submenu_entry()
3434
** style_submenu_checkbox()
3535
** style_submenu_multichoice()
@@ -1330,11 +1330,11 @@
13301330
}
13311331
zHaystack = z + n;
13321332
}
13331333
return 0;
13341334
}
1335
-
1335
+
13361336
13371337
/*
13381338
** WEBPAGE: style.css
13391339
*/
13401340
void page_style_css(void){
13411341
--- src/style.c
+++ src/style.c
@@ -25,11 +25,11 @@
25
26 /*
27 ** Elements of the submenu are collected into the following
28 ** structure and displayed below the main menu.
29 **
30 ** Populate these structure with calls to
31 **
32 ** style_submenu_element()
33 ** style_submenu_entry()
34 ** style_submenu_checkbox()
35 ** style_submenu_multichoice()
@@ -1330,11 +1330,11 @@
1330 }
1331 zHaystack = z + n;
1332 }
1333 return 0;
1334 }
1335
1336
1337 /*
1338 ** WEBPAGE: style.css
1339 */
1340 void page_style_css(void){
1341
--- src/style.c
+++ src/style.c
@@ -25,11 +25,11 @@
25
26 /*
27 ** Elements of the submenu are collected into the following
28 ** structure and displayed below the main menu.
29 **
30 ** Populate these structure with calls to
31 **
32 ** style_submenu_element()
33 ** style_submenu_entry()
34 ** style_submenu_checkbox()
35 ** style_submenu_multichoice()
@@ -1330,11 +1330,11 @@
1330 }
1331 zHaystack = z + n;
1332 }
1333 return 0;
1334 }
1335
1336
1337 /*
1338 ** WEBPAGE: style.css
1339 */
1340 void page_style_css(void){
1341
+1 -1
--- src/th_main.c
+++ src/th_main.c
@@ -384,11 +384,11 @@
384384
**
385385
** To be clear, only one of the document classes identified by each STRING
386386
** needs to be searchable in order for that argument to be true. But
387387
** all arguments must be true for this routine to return true. Hence, to
388388
** see if ALL document classes are searchable:
389
-**
389
+**
390390
** if {[searchable c d t w]} {...}
391391
**
392392
** But to see if ANY document class is searchable:
393393
**
394394
** if {[searchable cdtw]} {...}
395395
--- src/th_main.c
+++ src/th_main.c
@@ -384,11 +384,11 @@
384 **
385 ** To be clear, only one of the document classes identified by each STRING
386 ** needs to be searchable in order for that argument to be true. But
387 ** all arguments must be true for this routine to return true. Hence, to
388 ** see if ALL document classes are searchable:
389 **
390 ** if {[searchable c d t w]} {...}
391 **
392 ** But to see if ANY document class is searchable:
393 **
394 ** if {[searchable cdtw]} {...}
395
--- src/th_main.c
+++ src/th_main.c
@@ -384,11 +384,11 @@
384 **
385 ** To be clear, only one of the document classes identified by each STRING
386 ** needs to be searchable in order for that argument to be true. But
387 ** all arguments must be true for this routine to return true. Hence, to
388 ** see if ALL document classes are searchable:
389 **
390 ** if {[searchable c d t w]} {...}
391 **
392 ** But to see if ANY document class is searchable:
393 **
394 ** if {[searchable cdtw]} {...}
395
+5 -5
--- src/timeline.c
+++ src/timeline.c
@@ -1023,11 +1023,11 @@
10231023
return blob_str(&out);
10241024
}
10251025
10261026
10271027
/*
1028
-** Add the select/option box to the timeline submenu that is used to
1028
+** Add the select/option box to the timeline submenu that is used to
10291029
** set the y= parameter that determines which elements to display
10301030
** on the timeline.
10311031
*/
10321032
static void timeline_y_submenu(void){
10331033
static int i = 0;
@@ -1176,11 +1176,11 @@
11761176
tagid = db_int(0, "SELECT tagid FROM tag WHERE tagname='sym-%q'",zBrName);
11771177
zThisTag = zBrName;
11781178
}else{
11791179
tagid = 0;
11801180
}
1181
- if( tagid>0
1181
+ if( tagid>0
11821182
&& db_int(0,"SELECT count(*) FROM tagxref WHERE tagid=%d",tagid)<=nEntry
11831183
){
11841184
zCirca = zBefore = zAfter = 0;
11851185
nEntry = -1;
11861186
}
@@ -1383,11 +1383,11 @@
13831383
" OR EXISTS(SELECT 1 FROM plink CROSS JOIN tagxref ON rid=pid"
13841384
" WHERE tagid=%d AND tagtype>0 AND cid=blob.rid)",
13851385
tagid
13861386
);
13871387
if( (tmFlags & TIMELINE_UNHIDE)==0 ){
1388
- blob_append_sql(&sql,
1388
+ blob_append_sql(&sql,
13891389
" AND NOT EXISTS(SELECT 1 FROM plink JOIN tagxref ON rid=pid"
13901390
" WHERE tagid=%d AND tagtype>0 AND cid=blob.rid)",
13911391
TAG_HIDDEN
13921392
);
13931393
}
@@ -1780,11 +1780,11 @@
17801780
** for the current version or "now" for the current time.
17811781
**
17821782
** Options:
17831783
** -n|--limit N Output the first N entries (default 20 lines).
17841784
** N=0 means no limit.
1785
-** -p|--path PATH Output items affecting PATH only.
1785
+** -p|--path PATH Output items affecting PATH only.
17861786
** PATH can be a file or a sub directory.
17871787
** --offset P skip P changes
17881788
** -t|--type TYPE Output items from the given types only, such as:
17891789
** ci = file commits only
17901790
** e = events only
@@ -1902,11 +1902,11 @@
19021902
if( mode==0 ){
19031903
if( isIsoDate(zOrigin) ) zShift = ",'+1 day'";
19041904
}
19051905
zDate = mprintf("(SELECT julianday(%Q%s, 'utc'))", zOrigin, zShift);
19061906
}
1907
-
1907
+
19081908
if( zFilePattern ){
19091909
if( zType==0 ){
19101910
/* When zFilePattern is specified and type is not specified, only show
19111911
* file checkins */
19121912
zType="ci";
19131913
--- src/timeline.c
+++ src/timeline.c
@@ -1023,11 +1023,11 @@
1023 return blob_str(&out);
1024 }
1025
1026
1027 /*
1028 ** Add the select/option box to the timeline submenu that is used to
1029 ** set the y= parameter that determines which elements to display
1030 ** on the timeline.
1031 */
1032 static void timeline_y_submenu(void){
1033 static int i = 0;
@@ -1176,11 +1176,11 @@
1176 tagid = db_int(0, "SELECT tagid FROM tag WHERE tagname='sym-%q'",zBrName);
1177 zThisTag = zBrName;
1178 }else{
1179 tagid = 0;
1180 }
1181 if( tagid>0
1182 && db_int(0,"SELECT count(*) FROM tagxref WHERE tagid=%d",tagid)<=nEntry
1183 ){
1184 zCirca = zBefore = zAfter = 0;
1185 nEntry = -1;
1186 }
@@ -1383,11 +1383,11 @@
1383 " OR EXISTS(SELECT 1 FROM plink CROSS JOIN tagxref ON rid=pid"
1384 " WHERE tagid=%d AND tagtype>0 AND cid=blob.rid)",
1385 tagid
1386 );
1387 if( (tmFlags & TIMELINE_UNHIDE)==0 ){
1388 blob_append_sql(&sql,
1389 " AND NOT EXISTS(SELECT 1 FROM plink JOIN tagxref ON rid=pid"
1390 " WHERE tagid=%d AND tagtype>0 AND cid=blob.rid)",
1391 TAG_HIDDEN
1392 );
1393 }
@@ -1780,11 +1780,11 @@
1780 ** for the current version or "now" for the current time.
1781 **
1782 ** Options:
1783 ** -n|--limit N Output the first N entries (default 20 lines).
1784 ** N=0 means no limit.
1785 ** -p|--path PATH Output items affecting PATH only.
1786 ** PATH can be a file or a sub directory.
1787 ** --offset P skip P changes
1788 ** -t|--type TYPE Output items from the given types only, such as:
1789 ** ci = file commits only
1790 ** e = events only
@@ -1902,11 +1902,11 @@
1902 if( mode==0 ){
1903 if( isIsoDate(zOrigin) ) zShift = ",'+1 day'";
1904 }
1905 zDate = mprintf("(SELECT julianday(%Q%s, 'utc'))", zOrigin, zShift);
1906 }
1907
1908 if( zFilePattern ){
1909 if( zType==0 ){
1910 /* When zFilePattern is specified and type is not specified, only show
1911 * file checkins */
1912 zType="ci";
1913
--- src/timeline.c
+++ src/timeline.c
@@ -1023,11 +1023,11 @@
1023 return blob_str(&out);
1024 }
1025
1026
1027 /*
1028 ** Add the select/option box to the timeline submenu that is used to
1029 ** set the y= parameter that determines which elements to display
1030 ** on the timeline.
1031 */
1032 static void timeline_y_submenu(void){
1033 static int i = 0;
@@ -1176,11 +1176,11 @@
1176 tagid = db_int(0, "SELECT tagid FROM tag WHERE tagname='sym-%q'",zBrName);
1177 zThisTag = zBrName;
1178 }else{
1179 tagid = 0;
1180 }
1181 if( tagid>0
1182 && db_int(0,"SELECT count(*) FROM tagxref WHERE tagid=%d",tagid)<=nEntry
1183 ){
1184 zCirca = zBefore = zAfter = 0;
1185 nEntry = -1;
1186 }
@@ -1383,11 +1383,11 @@
1383 " OR EXISTS(SELECT 1 FROM plink CROSS JOIN tagxref ON rid=pid"
1384 " WHERE tagid=%d AND tagtype>0 AND cid=blob.rid)",
1385 tagid
1386 );
1387 if( (tmFlags & TIMELINE_UNHIDE)==0 ){
1388 blob_append_sql(&sql,
1389 " AND NOT EXISTS(SELECT 1 FROM plink JOIN tagxref ON rid=pid"
1390 " WHERE tagid=%d AND tagtype>0 AND cid=blob.rid)",
1391 TAG_HIDDEN
1392 );
1393 }
@@ -1780,11 +1780,11 @@
1780 ** for the current version or "now" for the current time.
1781 **
1782 ** Options:
1783 ** -n|--limit N Output the first N entries (default 20 lines).
1784 ** N=0 means no limit.
1785 ** -p|--path PATH Output items affecting PATH only.
1786 ** PATH can be a file or a sub directory.
1787 ** --offset P skip P changes
1788 ** -t|--type TYPE Output items from the given types only, such as:
1789 ** ci = file commits only
1790 ** e = events only
@@ -1902,11 +1902,11 @@
1902 if( mode==0 ){
1903 if( isIsoDate(zOrigin) ) zShift = ",'+1 day'";
1904 }
1905 zDate = mprintf("(SELECT julianday(%Q%s, 'utc'))", zOrigin, zShift);
1906 }
1907
1908 if( zFilePattern ){
1909 if( zType==0 ){
1910 /* When zFilePattern is specified and type is not specified, only show
1911 * file checkins */
1912 zType="ci";
1913

Keyboard Shortcuts

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