Fossil SCM
Add vim modline everywhere
Commit
a496d8e88dc0c0a7f4647a68c7581a36553c1145
Parent
150074d1d6dc6cf…
112 files changed
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+11
-6
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
~
src/add.c
~
src/allrepo.c
~
src/attach.c
~
src/bag.c
~
src/bisect.c
~
src/blob.c
~
src/branch.c
~
src/browse.c
~
src/captcha.c
~
src/cgi.c
~
src/checkin.c
~
src/checkout.c
~
src/clearsign.c
~
src/clone.c
~
src/comformat.c
~
src/config.h
~
src/configure.c
~
src/content.c
~
src/cson_amalgamation.c
~
src/cson_amalgamation.h
~
src/db.c
~
src/delta.c
~
src/deltacmd.c
~
src/descendants.c
~
src/diff.c
~
src/diffcmd.c
~
src/doc.c
~
src/encode.c
~
src/event.c
~
src/export.c
~
src/file.c
~
src/finfo.c
~
src/glob.c
~
src/graph.c
~
src/gzip.c
~
src/http.c
~
src/http_socket.c
~
src/http_ssl.c
~
src/http_transport.c
~
src/import.c
~
src/info.c
~
src/json.c
~
src/json_artifact.c
~
src/json_branch.c
~
src/json_config.c
~
src/json_detail.h
~
src/json_diff.c
~
src/json_dir.c
~
src/json_finfo.c
~
src/json_login.c
~
src/json_query.c
~
src/json_report.c
~
src/json_tag.c
~
src/json_timeline.c
~
src/json_user.c
~
src/json_wiki.c
~
src/leaf.c
~
src/login.c
~
src/main.c
~
src/makeheaders.c
~
src/manifest.c
~
src/md5.c
~
src/merge.c
~
src/merge3.c
~
src/mkindex.c
~
src/mkversion.c
~
src/name.c
~
src/path.c
~
src/pivot.c
~
src/popen.c
~
src/pqueue.c
~
src/printf.c
~
src/rebuild.c
~
src/report.c
~
src/rss.c
~
src/schema.c
~
src/search.c
~
src/setup.c
~
src/sha1.c
~
src/shell.c
~
src/shun.c
~
src/skins.c
~
src/sqlcmd.c
~
src/sqlite3.c
~
src/sqlite3.h
~
src/stash.c
~
src/stat.c
~
src/style.c
~
src/sync.c
~
src/tag.c
~
src/tar.c
~
src/th.c
~
src/th.h
~
src/th_lang.c
~
src/th_main.c
~
src/th_tcl.c
~
src/timeline.c
~
src/tkt.c
~
src/tktsetup.c
~
src/translate.c
~
src/undo.c
~
src/update.c
~
src/url.c
~
src/user.c
~
src/verify.c
~
src/vfile.c
~
src/wiki.c
~
src/wikiformat.c
~
src/winhttp.c
~
src/xfer.c
~
src/xfersetup.c
~
src/zip.c
+5
| --- src/add.c | ||
| +++ src/add.c | ||
| @@ -588,5 +588,10 @@ | ||
| 588 | 588 | mv_one_file(vid, zFrom, zTo); |
| 589 | 589 | } |
| 590 | 590 | db_finalize(&q); |
| 591 | 591 | db_end_transaction(0); |
| 592 | 592 | } |
| 593 | + | |
| 594 | +/* | |
| 595 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 596 | + */ | |
| 597 | + | |
| 593 | 598 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -588,5 +588,10 @@ | |
| 588 | mv_one_file(vid, zFrom, zTo); |
| 589 | } |
| 590 | db_finalize(&q); |
| 591 | db_end_transaction(0); |
| 592 | } |
| 593 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -588,5 +588,10 @@ | |
| 588 | mv_one_file(vid, zFrom, zTo); |
| 589 | } |
| 590 | db_finalize(&q); |
| 591 | db_end_transaction(0); |
| 592 | } |
| 593 | |
| 594 | /* |
| 595 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 596 | */ |
| 597 | |
| 598 |
+5
| --- src/allrepo.c | ||
| +++ src/allrepo.c | ||
| @@ -179,5 +179,10 @@ | ||
| 179 | 179 | db_reset(&q); |
| 180 | 180 | db_end_transaction(0); |
| 181 | 181 | } |
| 182 | 182 | db_finalize(&q); |
| 183 | 183 | } |
| 184 | + | |
| 185 | +/* | |
| 186 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 187 | + */ | |
| 188 | + | |
| 184 | 189 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -179,5 +179,10 @@ | |
| 179 | db_reset(&q); |
| 180 | db_end_transaction(0); |
| 181 | } |
| 182 | db_finalize(&q); |
| 183 | } |
| 184 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -179,5 +179,10 @@ | |
| 179 | db_reset(&q); |
| 180 | db_end_transaction(0); |
| 181 | } |
| 182 | db_finalize(&q); |
| 183 | } |
| 184 | |
| 185 | /* |
| 186 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 187 | */ |
| 188 | |
| 189 |
+5
| --- src/attach.c | ||
| +++ src/attach.c | ||
| @@ -364,5 +364,10 @@ | ||
| 364 | 364 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 365 | 365 | @ </div></form> |
| 366 | 366 | style_footer(); |
| 367 | 367 | |
| 368 | 368 | } |
| 369 | + | |
| 370 | +/* | |
| 371 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 372 | + */ | |
| 373 | + | |
| 369 | 374 |
| --- src/attach.c | |
| +++ src/attach.c | |
| @@ -364,5 +364,10 @@ | |
| 364 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 365 | @ </div></form> |
| 366 | style_footer(); |
| 367 | |
| 368 | } |
| 369 |
| --- src/attach.c | |
| +++ src/attach.c | |
| @@ -364,5 +364,10 @@ | |
| 364 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 365 | @ </div></form> |
| 366 | style_footer(); |
| 367 | |
| 368 | } |
| 369 | |
| 370 | /* |
| 371 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 372 | */ |
| 373 | |
| 374 |
+5
| --- src/bag.c | ||
| +++ src/bag.c | ||
| @@ -227,5 +227,10 @@ | ||
| 227 | 227 | ** Return the number of elements in the bag. |
| 228 | 228 | */ |
| 229 | 229 | int bag_count(Bag *p){ |
| 230 | 230 | return p->cnt; |
| 231 | 231 | } |
| 232 | + | |
| 233 | +/* | |
| 234 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 235 | + */ | |
| 236 | + | |
| 232 | 237 |
| --- src/bag.c | |
| +++ src/bag.c | |
| @@ -227,5 +227,10 @@ | |
| 227 | ** Return the number of elements in the bag. |
| 228 | */ |
| 229 | int bag_count(Bag *p){ |
| 230 | return p->cnt; |
| 231 | } |
| 232 |
| --- src/bag.c | |
| +++ src/bag.c | |
| @@ -227,5 +227,10 @@ | |
| 227 | ** Return the number of elements in the bag. |
| 228 | */ |
| 229 | int bag_count(Bag *p){ |
| 230 | return p->cnt; |
| 231 | } |
| 232 | |
| 233 | /* |
| 234 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 235 | */ |
| 236 | |
| 237 |
+5
| --- src/bisect.c | ||
| +++ src/bisect.c | ||
| @@ -244,5 +244,10 @@ | ||
| 244 | 244 | db_finalize(&s); |
| 245 | 245 | }else{ |
| 246 | 246 | usage("bad|good|next|reset|vlist ..."); |
| 247 | 247 | } |
| 248 | 248 | } |
| 249 | + | |
| 250 | +/* | |
| 251 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 252 | + */ | |
| 253 | + | |
| 249 | 254 |
| --- src/bisect.c | |
| +++ src/bisect.c | |
| @@ -244,5 +244,10 @@ | |
| 244 | db_finalize(&s); |
| 245 | }else{ |
| 246 | usage("bad|good|next|reset|vlist ..."); |
| 247 | } |
| 248 | } |
| 249 |
| --- src/bisect.c | |
| +++ src/bisect.c | |
| @@ -244,5 +244,10 @@ | |
| 244 | db_finalize(&s); |
| 245 | }else{ |
| 246 | usage("bad|good|next|reset|vlist ..."); |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | /* |
| 251 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 252 | */ |
| 253 | |
| 254 |
+5
| --- src/blob.c | ||
| +++ src/blob.c | ||
| @@ -1081,5 +1081,10 @@ | ||
| 1081 | 1081 | memcpy( pDest, pIn->aData, nLen ); |
| 1082 | 1082 | pIn->iCursor += nLen; |
| 1083 | 1083 | } |
| 1084 | 1084 | return nLen; |
| 1085 | 1085 | } |
| 1086 | + | |
| 1087 | +/* | |
| 1088 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1089 | + */ | |
| 1090 | + | |
| 1086 | 1091 |
| --- src/blob.c | |
| +++ src/blob.c | |
| @@ -1081,5 +1081,10 @@ | |
| 1081 | memcpy( pDest, pIn->aData, nLen ); |
| 1082 | pIn->iCursor += nLen; |
| 1083 | } |
| 1084 | return nLen; |
| 1085 | } |
| 1086 |
| --- src/blob.c | |
| +++ src/blob.c | |
| @@ -1081,5 +1081,10 @@ | |
| 1081 | memcpy( pDest, pIn->aData, nLen ); |
| 1082 | pIn->iCursor += nLen; |
| 1083 | } |
| 1084 | return nLen; |
| 1085 | } |
| 1086 | |
| 1087 | /* |
| 1088 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1089 | */ |
| 1090 | |
| 1091 |
+5
| --- src/branch.c | ||
| +++ src/branch.c | ||
| @@ -425,5 +425,10 @@ | ||
| 425 | 425 | @ function xout(id){ |
| 426 | 426 | @ } |
| 427 | 427 | @ </script> |
| 428 | 428 | style_footer(); |
| 429 | 429 | } |
| 430 | + | |
| 431 | +/* | |
| 432 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 433 | + */ | |
| 434 | + | |
| 430 | 435 |
| --- src/branch.c | |
| +++ src/branch.c | |
| @@ -425,5 +425,10 @@ | |
| 425 | @ function xout(id){ |
| 426 | @ } |
| 427 | @ </script> |
| 428 | style_footer(); |
| 429 | } |
| 430 |
| --- src/branch.c | |
| +++ src/branch.c | |
| @@ -425,5 +425,10 @@ | |
| 425 | @ function xout(id){ |
| 426 | @ } |
| 427 | @ </script> |
| 428 | style_footer(); |
| 429 | } |
| 430 | |
| 431 | /* |
| 432 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 433 | */ |
| 434 | |
| 435 |
+5
| --- src/browse.c | ||
| +++ src/browse.c | ||
| @@ -291,5 +291,10 @@ | ||
| 291 | 291 | db_finalize(&q); |
| 292 | 292 | manifest_destroy(pM); |
| 293 | 293 | @ </ul></td></tr></table> |
| 294 | 294 | style_footer(); |
| 295 | 295 | } |
| 296 | + | |
| 297 | +/* | |
| 298 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 299 | + */ | |
| 300 | + | |
| 296 | 301 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -291,5 +291,10 @@ | |
| 291 | db_finalize(&q); |
| 292 | manifest_destroy(pM); |
| 293 | @ </ul></td></tr></table> |
| 294 | style_footer(); |
| 295 | } |
| 296 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -291,5 +291,10 @@ | |
| 291 | db_finalize(&q); |
| 292 | manifest_destroy(pM); |
| 293 | @ </ul></td></tr></table> |
| 294 | style_footer(); |
| 295 | } |
| 296 | |
| 297 | /* |
| 298 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 299 | */ |
| 300 | |
| 301 |
+5
| --- src/captcha.c | ||
| +++ src/captcha.c | ||
| @@ -438,5 +438,10 @@ | ||
| 438 | 438 | z = blob_buffer(&b); |
| 439 | 439 | memcpy(zRes, z, 8); |
| 440 | 440 | zRes[8] = 0; |
| 441 | 441 | return zRes; |
| 442 | 442 | } |
| 443 | + | |
| 444 | +/* | |
| 445 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 446 | + */ | |
| 447 | + | |
| 443 | 448 |
| --- src/captcha.c | |
| +++ src/captcha.c | |
| @@ -438,5 +438,10 @@ | |
| 438 | z = blob_buffer(&b); |
| 439 | memcpy(zRes, z, 8); |
| 440 | zRes[8] = 0; |
| 441 | return zRes; |
| 442 | } |
| 443 |
| --- src/captcha.c | |
| +++ src/captcha.c | |
| @@ -438,5 +438,10 @@ | |
| 438 | z = blob_buffer(&b); |
| 439 | memcpy(zRes, z, 8); |
| 440 | zRes[8] = 0; |
| 441 | return zRes; |
| 442 | } |
| 443 | |
| 444 | /* |
| 445 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 446 | */ |
| 447 | |
| 448 |
+5
| --- src/cgi.c | ||
| +++ src/cgi.c | ||
| @@ -1444,5 +1444,10 @@ | ||
| 1444 | 1444 | cgi_set_status(304,"Not Modified"); |
| 1445 | 1445 | cgi_reset_content(); |
| 1446 | 1446 | cgi_reply(); |
| 1447 | 1447 | fossil_exit(0); |
| 1448 | 1448 | } |
| 1449 | + | |
| 1450 | +/* | |
| 1451 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1452 | + */ | |
| 1453 | + | |
| 1449 | 1454 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -1444,5 +1444,10 @@ | |
| 1444 | cgi_set_status(304,"Not Modified"); |
| 1445 | cgi_reset_content(); |
| 1446 | cgi_reply(); |
| 1447 | fossil_exit(0); |
| 1448 | } |
| 1449 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -1444,5 +1444,10 @@ | |
| 1444 | cgi_set_status(304,"Not Modified"); |
| 1445 | cgi_reset_content(); |
| 1446 | cgi_reply(); |
| 1447 | fossil_exit(0); |
| 1448 | } |
| 1449 | |
| 1450 | /* |
| 1451 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1452 | */ |
| 1453 | |
| 1454 |
+5
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -1318,5 +1318,10 @@ | ||
| 1318 | 1318 | } |
| 1319 | 1319 | if( count_nonbranch_children(vid)>1 ){ |
| 1320 | 1320 | fossil_print("**** warning: a fork has occurred *****\n"); |
| 1321 | 1321 | } |
| 1322 | 1322 | } |
| 1323 | + | |
| 1324 | +/* | |
| 1325 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1326 | + */ | |
| 1327 | + | |
| 1323 | 1328 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -1318,5 +1318,10 @@ | |
| 1318 | } |
| 1319 | if( count_nonbranch_children(vid)>1 ){ |
| 1320 | fossil_print("**** warning: a fork has occurred *****\n"); |
| 1321 | } |
| 1322 | } |
| 1323 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -1318,5 +1318,10 @@ | |
| 1318 | } |
| 1319 | if( count_nonbranch_children(vid)>1 ){ |
| 1320 | fossil_print("**** warning: a fork has occurred *****\n"); |
| 1321 | } |
| 1322 | } |
| 1323 | |
| 1324 | /* |
| 1325 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1326 | */ |
| 1327 | |
| 1328 |
+5
| --- src/checkout.c | ||
| +++ src/checkout.c | ||
| @@ -295,5 +295,10 @@ | ||
| 295 | 295 | } |
| 296 | 296 | unlink_local_database(1); |
| 297 | 297 | db_close(1); |
| 298 | 298 | unlink_local_database(0); |
| 299 | 299 | } |
| 300 | + | |
| 301 | +/* | |
| 302 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 303 | + */ | |
| 304 | + | |
| 300 | 305 |
| --- src/checkout.c | |
| +++ src/checkout.c | |
| @@ -295,5 +295,10 @@ | |
| 295 | } |
| 296 | unlink_local_database(1); |
| 297 | db_close(1); |
| 298 | unlink_local_database(0); |
| 299 | } |
| 300 |
| --- src/checkout.c | |
| +++ src/checkout.c | |
| @@ -295,5 +295,10 @@ | |
| 295 | } |
| 296 | unlink_local_database(1); |
| 297 | db_close(1); |
| 298 | unlink_local_database(0); |
| 299 | } |
| 300 | |
| 301 | /* |
| 302 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 303 | */ |
| 304 | |
| 305 |
+5
| --- src/clearsign.c | ||
| +++ src/clearsign.c | ||
| @@ -58,5 +58,10 @@ | ||
| 58 | 58 | file_delete(zIn); |
| 59 | 59 | free(zOut); |
| 60 | 60 | free(zIn); |
| 61 | 61 | return rc; |
| 62 | 62 | } |
| 63 | + | |
| 64 | +/* | |
| 65 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 66 | + */ | |
| 67 | + | |
| 63 | 68 |
| --- src/clearsign.c | |
| +++ src/clearsign.c | |
| @@ -58,5 +58,10 @@ | |
| 58 | file_delete(zIn); |
| 59 | free(zOut); |
| 60 | free(zIn); |
| 61 | return rc; |
| 62 | } |
| 63 |
| --- src/clearsign.c | |
| +++ src/clearsign.c | |
| @@ -58,5 +58,10 @@ | |
| 58 | file_delete(zIn); |
| 59 | free(zOut); |
| 60 | free(zIn); |
| 61 | return rc; |
| 62 | } |
| 63 | |
| 64 | /* |
| 65 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 66 | */ |
| 67 | |
| 68 |
+5
| --- src/clone.c | ||
| +++ src/clone.c | ||
| @@ -183,5 +183,10 @@ | ||
| 183 | 183 | fossil_print("admin-user: %s (password is \"%s\")\n", g.zLogin, zPassword); |
| 184 | 184 | zPw = g.urlPasswd; |
| 185 | 185 | if( !g.dontKeepUrl && zPw) db_set("last-sync-pw", obscure(zPw), 0); |
| 186 | 186 | db_end_transaction(0); |
| 187 | 187 | } |
| 188 | + | |
| 189 | +/* | |
| 190 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 191 | + */ | |
| 192 | + | |
| 188 | 193 |
| --- src/clone.c | |
| +++ src/clone.c | |
| @@ -183,5 +183,10 @@ | |
| 183 | fossil_print("admin-user: %s (password is \"%s\")\n", g.zLogin, zPassword); |
| 184 | zPw = g.urlPasswd; |
| 185 | if( !g.dontKeepUrl && zPw) db_set("last-sync-pw", obscure(zPw), 0); |
| 186 | db_end_transaction(0); |
| 187 | } |
| 188 |
| --- src/clone.c | |
| +++ src/clone.c | |
| @@ -183,5 +183,10 @@ | |
| 183 | fossil_print("admin-user: %s (password is \"%s\")\n", g.zLogin, zPassword); |
| 184 | zPw = g.urlPasswd; |
| 185 | if( !g.dontKeepUrl && zPw) db_set("last-sync-pw", obscure(zPw), 0); |
| 186 | db_end_transaction(0); |
| 187 | } |
| 188 | |
| 189 | /* |
| 190 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 191 | */ |
| 192 | |
| 193 |
+5
| --- src/comformat.c | ||
| +++ src/comformat.c | ||
| @@ -96,5 +96,10 @@ | ||
| 96 | 96 | } |
| 97 | 97 | indent = strlen(g.argv[2]) + 1; |
| 98 | 98 | fossil_print("%s ", g.argv[2]); |
| 99 | 99 | fossil_print("(%d lines output)\n", comment_print(g.argv[3], indent, 79)); |
| 100 | 100 | } |
| 101 | + | |
| 102 | +/* | |
| 103 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 104 | + */ | |
| 105 | + | |
| 101 | 106 |
| --- src/comformat.c | |
| +++ src/comformat.c | |
| @@ -96,5 +96,10 @@ | |
| 96 | } |
| 97 | indent = strlen(g.argv[2]) + 1; |
| 98 | fossil_print("%s ", g.argv[2]); |
| 99 | fossil_print("(%d lines output)\n", comment_print(g.argv[3], indent, 79)); |
| 100 | } |
| 101 |
| --- src/comformat.c | |
| +++ src/comformat.c | |
| @@ -96,5 +96,10 @@ | |
| 96 | } |
| 97 | indent = strlen(g.argv[2]) + 1; |
| 98 | fossil_print("%s ", g.argv[2]); |
| 99 | fossil_print("(%d lines output)\n", comment_print(g.argv[3], indent, 79)); |
| 100 | } |
| 101 | |
| 102 | /* |
| 103 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 104 | */ |
| 105 | |
| 106 |
+5
| --- src/config.h | ||
| +++ src/config.h | ||
| @@ -144,5 +144,10 @@ | ||
| 144 | 144 | #else |
| 145 | 145 | # define NORETURN |
| 146 | 146 | #endif |
| 147 | 147 | |
| 148 | 148 | #endif /* _RC_COMPILE_ */ |
| 149 | + | |
| 150 | +/* | |
| 151 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 152 | + */ | |
| 153 | + | |
| 149 | 154 |
| --- src/config.h | |
| +++ src/config.h | |
| @@ -144,5 +144,10 @@ | |
| 144 | #else |
| 145 | # define NORETURN |
| 146 | #endif |
| 147 | |
| 148 | #endif /* _RC_COMPILE_ */ |
| 149 |
| --- src/config.h | |
| +++ src/config.h | |
| @@ -144,5 +144,10 @@ | |
| 144 | #else |
| 145 | # define NORETURN |
| 146 | #endif |
| 147 | |
| 148 | #endif /* _RC_COMPILE_ */ |
| 149 | |
| 150 | /* |
| 151 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 152 | */ |
| 153 | |
| 154 |
+5
| --- src/configure.c | ||
| +++ src/configure.c | ||
| @@ -908,5 +908,10 @@ | ||
| 908 | 908 | { |
| 909 | 909 | fossil_fatal("METHOD should be one of:" |
| 910 | 910 | " export import merge pull push reset"); |
| 911 | 911 | } |
| 912 | 912 | } |
| 913 | + | |
| 914 | +/* | |
| 915 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 916 | + */ | |
| 917 | + | |
| 913 | 918 |
| --- src/configure.c | |
| +++ src/configure.c | |
| @@ -908,5 +908,10 @@ | |
| 908 | { |
| 909 | fossil_fatal("METHOD should be one of:" |
| 910 | " export import merge pull push reset"); |
| 911 | } |
| 912 | } |
| 913 |
| --- src/configure.c | |
| +++ src/configure.c | |
| @@ -908,5 +908,10 @@ | |
| 908 | { |
| 909 | fossil_fatal("METHOD should be one of:" |
| 910 | " export import merge pull push reset"); |
| 911 | } |
| 912 | } |
| 913 | |
| 914 | /* |
| 915 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 916 | */ |
| 917 | |
| 918 |
+5
| --- src/content.c | ||
| +++ src/content.c | ||
| @@ -891,5 +891,10 @@ | ||
| 891 | 891 | } |
| 892 | 892 | db_finalize(&q); |
| 893 | 893 | fossil_print("%d non-phantom blobs (out of %d total) checked: %d errors\n", |
| 894 | 894 | n2, n1, nErr); |
| 895 | 895 | } |
| 896 | + | |
| 897 | +/* | |
| 898 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 899 | + */ | |
| 900 | + | |
| 896 | 901 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -891,5 +891,10 @@ | |
| 891 | } |
| 892 | db_finalize(&q); |
| 893 | fossil_print("%d non-phantom blobs (out of %d total) checked: %d errors\n", |
| 894 | n2, n1, nErr); |
| 895 | } |
| 896 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -891,5 +891,10 @@ | |
| 891 | } |
| 892 | db_finalize(&q); |
| 893 | fossil_print("%d non-phantom blobs (out of %d total) checked: %d errors\n", |
| 894 | n2, n1, nErr); |
| 895 | } |
| 896 | |
| 897 | /* |
| 898 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 899 | */ |
| 900 | |
| 901 |
| --- src/cson_amalgamation.c | ||
| +++ src/cson_amalgamation.c | ||
| @@ -5637,5 +5637,10 @@ | ||
| 5637 | 5637 | #endif |
| 5638 | 5638 | #undef MARKER |
| 5639 | 5639 | #endif /* CSON_ENABLE_SQLITE3 */ |
| 5640 | 5640 | /* end file ./cson_sqlite3.c */ |
| 5641 | 5641 | #endif /* FOSSIL_ENABLE_JSON */ |
| 5642 | + | |
| 5643 | +/* | |
| 5644 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 5645 | + */ | |
| 5646 | + | |
| 5642 | 5647 |
| --- src/cson_amalgamation.c | |
| +++ src/cson_amalgamation.c | |
| @@ -5637,5 +5637,10 @@ | |
| 5637 | #endif |
| 5638 | #undef MARKER |
| 5639 | #endif /* CSON_ENABLE_SQLITE3 */ |
| 5640 | /* end file ./cson_sqlite3.c */ |
| 5641 | #endif /* FOSSIL_ENABLE_JSON */ |
| 5642 |
| --- src/cson_amalgamation.c | |
| +++ src/cson_amalgamation.c | |
| @@ -5637,5 +5637,10 @@ | |
| 5637 | #endif |
| 5638 | #undef MARKER |
| 5639 | #endif /* CSON_ENABLE_SQLITE3 */ |
| 5640 | /* end file ./cson_sqlite3.c */ |
| 5641 | #endif /* FOSSIL_ENABLE_JSON */ |
| 5642 | |
| 5643 | /* |
| 5644 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 5645 | */ |
| 5646 | |
| 5647 |
| --- src/cson_amalgamation.h | ||
| +++ src/cson_amalgamation.h | ||
| @@ -2502,5 +2502,10 @@ | ||
| 2502 | 2502 | |
| 2503 | 2503 | #endif /* CSON_ENABLE_SQLITE3 */ |
| 2504 | 2504 | #endif /* WANDERINGHORSE_NET_CSON_SQLITE3_H_INCLUDED */ |
| 2505 | 2505 | /* end file include/wh/cson/cson_sqlite3.h */ |
| 2506 | 2506 | #endif /* FOSSIL_ENABLE_JSON */ |
| 2507 | + | |
| 2508 | +/* | |
| 2509 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 2510 | + */ | |
| 2511 | + | |
| 2507 | 2512 |
| --- src/cson_amalgamation.h | |
| +++ src/cson_amalgamation.h | |
| @@ -2502,5 +2502,10 @@ | |
| 2502 | |
| 2503 | #endif /* CSON_ENABLE_SQLITE3 */ |
| 2504 | #endif /* WANDERINGHORSE_NET_CSON_SQLITE3_H_INCLUDED */ |
| 2505 | /* end file include/wh/cson/cson_sqlite3.h */ |
| 2506 | #endif /* FOSSIL_ENABLE_JSON */ |
| 2507 |
| --- src/cson_amalgamation.h | |
| +++ src/cson_amalgamation.h | |
| @@ -2502,5 +2502,10 @@ | |
| 2502 | |
| 2503 | #endif /* CSON_ENABLE_SQLITE3 */ |
| 2504 | #endif /* WANDERINGHORSE_NET_CSON_SQLITE3_H_INCLUDED */ |
| 2505 | /* end file include/wh/cson/cson_sqlite3.h */ |
| 2506 | #endif /* FOSSIL_ENABLE_JSON */ |
| 2507 | |
| 2508 | /* |
| 2509 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 2510 | */ |
| 2511 | |
| 2512 |
M
src/db.c
+11
-6
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | ** Copyright (c) 2006 D. Richard Hipp |
| 3 | -** | |
| 3 | +** | |
| 4 | 4 | ** This program is free software; you can redistribute it and/or |
| 5 | 5 | ** modify it under the terms of the Simplified BSD License (also |
| 6 | 6 | ** known as the "2-Clause License" or "FreeBSD License".) |
| 7 | 7 | |
| 8 | 8 | ** This program is distributed in the hope that it will be useful, |
| @@ -863,15 +863,15 @@ | ||
| 863 | 863 | zPwd[n] = 0; |
| 864 | 864 | while( n>1 && zPwd[n-1]=='/' ){ |
| 865 | 865 | n--; |
| 866 | 866 | zPwd[n] = 0; |
| 867 | 867 | } |
| 868 | - if( zPwd[n-1] == '/'){ | |
| 869 | - g.zLocalRoot = mprintf("%s", zPwd); | |
| 870 | - }else{ | |
| 871 | - g.zLocalRoot = mprintf("%s/", zPwd); | |
| 872 | - } | |
| 868 | + if( zPwd[n-1] == '/'){ | |
| 869 | + g.zLocalRoot = mprintf("%s", zPwd); | |
| 870 | + }else{ | |
| 871 | + g.zLocalRoot = mprintf("%s/", zPwd); | |
| 872 | + } | |
| 873 | 873 | g.localOpen = 1; |
| 874 | 874 | db_open_config(0); |
| 875 | 875 | db_open_repository(0); |
| 876 | 876 | return 1; |
| 877 | 877 | } |
| @@ -2147,5 +2147,10 @@ | ||
| 2147 | 2147 | rDiff = db_double(0.0, "SELECT julianday('now') - julianday(%Q)", g.argv[2]); |
| 2148 | 2148 | fossil_print("Time differences: %s\n", db_timespan_name(rDiff)); |
| 2149 | 2149 | sqlite3_close(g.db); |
| 2150 | 2150 | g.db = 0; |
| 2151 | 2151 | } |
| 2152 | + | |
| 2153 | +/* | |
| 2154 | + * vim:ts=2:sts=2:et:sw=2 | |
| 2155 | + */ | |
| 2156 | + | |
| 2152 | 2157 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1,8 +1,8 @@ | |
| 1 | /* |
| 2 | ** Copyright (c) 2006 D. Richard Hipp |
| 3 | ** |
| 4 | ** This program is free software; you can redistribute it and/or |
| 5 | ** modify it under the terms of the Simplified BSD License (also |
| 6 | ** known as the "2-Clause License" or "FreeBSD License".) |
| 7 | |
| 8 | ** This program is distributed in the hope that it will be useful, |
| @@ -863,15 +863,15 @@ | |
| 863 | zPwd[n] = 0; |
| 864 | while( n>1 && zPwd[n-1]=='/' ){ |
| 865 | n--; |
| 866 | zPwd[n] = 0; |
| 867 | } |
| 868 | if( zPwd[n-1] == '/'){ |
| 869 | g.zLocalRoot = mprintf("%s", zPwd); |
| 870 | }else{ |
| 871 | g.zLocalRoot = mprintf("%s/", zPwd); |
| 872 | } |
| 873 | g.localOpen = 1; |
| 874 | db_open_config(0); |
| 875 | db_open_repository(0); |
| 876 | return 1; |
| 877 | } |
| @@ -2147,5 +2147,10 @@ | |
| 2147 | rDiff = db_double(0.0, "SELECT julianday('now') - julianday(%Q)", g.argv[2]); |
| 2148 | fossil_print("Time differences: %s\n", db_timespan_name(rDiff)); |
| 2149 | sqlite3_close(g.db); |
| 2150 | g.db = 0; |
| 2151 | } |
| 2152 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1,8 +1,8 @@ | |
| 1 | /* |
| 2 | ** Copyright (c) 2006 D. Richard Hipp |
| 3 | ** |
| 4 | ** This program is free software; you can redistribute it and/or |
| 5 | ** modify it under the terms of the Simplified BSD License (also |
| 6 | ** known as the "2-Clause License" or "FreeBSD License".) |
| 7 | |
| 8 | ** This program is distributed in the hope that it will be useful, |
| @@ -863,15 +863,15 @@ | |
| 863 | zPwd[n] = 0; |
| 864 | while( n>1 && zPwd[n-1]=='/' ){ |
| 865 | n--; |
| 866 | zPwd[n] = 0; |
| 867 | } |
| 868 | if( zPwd[n-1] == '/'){ |
| 869 | g.zLocalRoot = mprintf("%s", zPwd); |
| 870 | }else{ |
| 871 | g.zLocalRoot = mprintf("%s/", zPwd); |
| 872 | } |
| 873 | g.localOpen = 1; |
| 874 | db_open_config(0); |
| 875 | db_open_repository(0); |
| 876 | return 1; |
| 877 | } |
| @@ -2147,5 +2147,10 @@ | |
| 2147 | rDiff = db_double(0.0, "SELECT julianday('now') - julianday(%Q)", g.argv[2]); |
| 2148 | fossil_print("Time differences: %s\n", db_timespan_name(rDiff)); |
| 2149 | sqlite3_close(g.db); |
| 2150 | g.db = 0; |
| 2151 | } |
| 2152 | |
| 2153 | /* |
| 2154 | * vim:ts=2:sts=2:et:sw=2 |
| 2155 | */ |
| 2156 | |
| 2157 |
+5
| --- src/delta.c | ||
| +++ src/delta.c | ||
| @@ -597,5 +597,10 @@ | ||
| 597 | 597 | } |
| 598 | 598 | } |
| 599 | 599 | /* ERROR: unterminated delta */ |
| 600 | 600 | return -1; |
| 601 | 601 | } |
| 602 | + | |
| 603 | +/* | |
| 604 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 605 | + */ | |
| 606 | + | |
| 602 | 607 |
| --- src/delta.c | |
| +++ src/delta.c | |
| @@ -597,5 +597,10 @@ | |
| 597 | } |
| 598 | } |
| 599 | /* ERROR: unterminated delta */ |
| 600 | return -1; |
| 601 | } |
| 602 |
| --- src/delta.c | |
| +++ src/delta.c | |
| @@ -597,5 +597,10 @@ | |
| 597 | } |
| 598 | } |
| 599 | /* ERROR: unterminated delta */ |
| 600 | return -1; |
| 601 | } |
| 602 | |
| 603 | /* |
| 604 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 605 | */ |
| 606 | |
| 607 |
+5
| --- src/deltacmd.c | ||
| +++ src/deltacmd.c | ||
| @@ -148,5 +148,10 @@ | ||
| 148 | 148 | if( blob_compare(&f1,&a1) || blob_compare(&f2, &a2) ){ |
| 149 | 149 | fossil_panic("delta test failed"); |
| 150 | 150 | } |
| 151 | 151 | fossil_print("ok\n"); |
| 152 | 152 | } |
| 153 | + | |
| 154 | +/* | |
| 155 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 156 | + */ | |
| 157 | + | |
| 153 | 158 |
| --- src/deltacmd.c | |
| +++ src/deltacmd.c | |
| @@ -148,5 +148,10 @@ | |
| 148 | if( blob_compare(&f1,&a1) || blob_compare(&f2, &a2) ){ |
| 149 | fossil_panic("delta test failed"); |
| 150 | } |
| 151 | fossil_print("ok\n"); |
| 152 | } |
| 153 |
| --- src/deltacmd.c | |
| +++ src/deltacmd.c | |
| @@ -148,5 +148,10 @@ | |
| 148 | if( blob_compare(&f1,&a1) || blob_compare(&f2, &a2) ){ |
| 149 | fossil_panic("delta test failed"); |
| 150 | } |
| 151 | fossil_print("ok\n"); |
| 152 | } |
| 153 | |
| 154 | /* |
| 155 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 156 | */ |
| 157 | |
| 158 |
+5
| --- src/descendants.c | ||
| +++ src/descendants.c | ||
| @@ -405,5 +405,10 @@ | ||
| 405 | 405 | @ function xout(id){ |
| 406 | 406 | @ } |
| 407 | 407 | @ </script> |
| 408 | 408 | style_footer(); |
| 409 | 409 | } |
| 410 | + | |
| 411 | +/* | |
| 412 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 413 | + */ | |
| 414 | + | |
| 410 | 415 |
| --- src/descendants.c | |
| +++ src/descendants.c | |
| @@ -405,5 +405,10 @@ | |
| 405 | @ function xout(id){ |
| 406 | @ } |
| 407 | @ </script> |
| 408 | style_footer(); |
| 409 | } |
| 410 |
| --- src/descendants.c | |
| +++ src/descendants.c | |
| @@ -405,5 +405,10 @@ | |
| 405 | @ function xout(id){ |
| 406 | @ } |
| 407 | @ </script> |
| 408 | style_footer(); |
| 409 | } |
| 410 | |
| 411 | /* |
| 412 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 413 | */ |
| 414 | |
| 415 |
+5
| --- src/diff.c | ||
| +++ src/diff.c | ||
| @@ -1916,5 +1916,10 @@ | ||
| 1916 | 1916 | for(i=0; i<ann.nOrig; i++){ |
| 1917 | 1917 | fossil_print("%s: %.*s\n", |
| 1918 | 1918 | ann.aOrig[i].zSrc, ann.aOrig[i].n, ann.aOrig[i].z); |
| 1919 | 1919 | } |
| 1920 | 1920 | } |
| 1921 | + | |
| 1922 | +/* | |
| 1923 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1924 | + */ | |
| 1925 | + | |
| 1921 | 1926 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -1916,5 +1916,10 @@ | |
| 1916 | for(i=0; i<ann.nOrig; i++){ |
| 1917 | fossil_print("%s: %.*s\n", |
| 1918 | ann.aOrig[i].zSrc, ann.aOrig[i].n, ann.aOrig[i].z); |
| 1919 | } |
| 1920 | } |
| 1921 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -1916,5 +1916,10 @@ | |
| 1916 | for(i=0; i<ann.nOrig; i++){ |
| 1917 | fossil_print("%s: %.*s\n", |
| 1918 | ann.aOrig[i].zSrc, ann.aOrig[i].n, ann.aOrig[i].z); |
| 1919 | } |
| 1920 | } |
| 1921 | |
| 1922 | /* |
| 1923 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1924 | */ |
| 1925 | |
| 1926 |
+5
| --- src/diffcmd.c | ||
| +++ src/diffcmd.c | ||
| @@ -553,5 +553,10 @@ | ||
| 553 | 553 | if( zFrom==0 || zTo==0 ) fossil_redirect_home(); |
| 554 | 554 | |
| 555 | 555 | cgi_set_content_type("text/plain"); |
| 556 | 556 | diff_all_two_versions(zFrom, zTo, 0, DIFF_NEWFILE); |
| 557 | 557 | } |
| 558 | + | |
| 559 | +/* | |
| 560 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 561 | + */ | |
| 562 | + | |
| 558 | 563 |
| --- src/diffcmd.c | |
| +++ src/diffcmd.c | |
| @@ -553,5 +553,10 @@ | |
| 553 | if( zFrom==0 || zTo==0 ) fossil_redirect_home(); |
| 554 | |
| 555 | cgi_set_content_type("text/plain"); |
| 556 | diff_all_two_versions(zFrom, zTo, 0, DIFF_NEWFILE); |
| 557 | } |
| 558 |
| --- src/diffcmd.c | |
| +++ src/diffcmd.c | |
| @@ -553,5 +553,10 @@ | |
| 553 | if( zFrom==0 || zTo==0 ) fossil_redirect_home(); |
| 554 | |
| 555 | cgi_set_content_type("text/plain"); |
| 556 | diff_all_two_versions(zFrom, zTo, 0, DIFF_NEWFILE); |
| 557 | } |
| 558 | |
| 559 | /* |
| 560 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 561 | */ |
| 562 | |
| 563 |
+5
| --- src/doc.c | ||
| +++ src/doc.c | ||
| @@ -604,5 +604,10 @@ | ||
| 604 | 604 | } |
| 605 | 605 | cgi_set_content_type(zMime); |
| 606 | 606 | cgi_set_content(&logo); |
| 607 | 607 | g.isConst = 1; |
| 608 | 608 | } |
| 609 | + | |
| 610 | +/* | |
| 611 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 612 | + */ | |
| 613 | + | |
| 609 | 614 |
| --- src/doc.c | |
| +++ src/doc.c | |
| @@ -604,5 +604,10 @@ | |
| 604 | } |
| 605 | cgi_set_content_type(zMime); |
| 606 | cgi_set_content(&logo); |
| 607 | g.isConst = 1; |
| 608 | } |
| 609 |
| --- src/doc.c | |
| +++ src/doc.c | |
| @@ -604,5 +604,10 @@ | |
| 604 | } |
| 605 | cgi_set_content_type(zMime); |
| 606 | cgi_set_content(&logo); |
| 607 | g.isConst = 1; |
| 608 | } |
| 609 | |
| 610 | /* |
| 611 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 612 | */ |
| 613 | |
| 614 |
+5
| --- src/encode.c | ||
| +++ src/encode.c | ||
| @@ -587,5 +587,10 @@ | ||
| 587 | 587 | z = unobscure(g.argv[i]); |
| 588 | 588 | fossil_print("UNOBSCURE: %s -> %s\n", g.argv[i], z); |
| 589 | 589 | free(z); |
| 590 | 590 | } |
| 591 | 591 | } |
| 592 | + | |
| 593 | +/* | |
| 594 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 595 | + */ | |
| 596 | + | |
| 592 | 597 |
| --- src/encode.c | |
| +++ src/encode.c | |
| @@ -587,5 +587,10 @@ | |
| 587 | z = unobscure(g.argv[i]); |
| 588 | fossil_print("UNOBSCURE: %s -> %s\n", g.argv[i], z); |
| 589 | free(z); |
| 590 | } |
| 591 | } |
| 592 |
| --- src/encode.c | |
| +++ src/encode.c | |
| @@ -587,5 +587,10 @@ | |
| 587 | z = unobscure(g.argv[i]); |
| 588 | fossil_print("UNOBSCURE: %s -> %s\n", g.argv[i], z); |
| 589 | free(z); |
| 590 | } |
| 591 | } |
| 592 | |
| 593 | /* |
| 594 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 595 | */ |
| 596 | |
| 597 |
+5
| --- src/event.c | ||
| +++ src/event.c | ||
| @@ -433,5 +433,10 @@ | ||
| 433 | 433 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 434 | 434 | @ </td></tr></table> |
| 435 | 435 | @ </div></form> |
| 436 | 436 | style_footer(); |
| 437 | 437 | } |
| 438 | + | |
| 439 | +/* | |
| 440 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 441 | + */ | |
| 442 | + | |
| 438 | 443 |
| --- src/event.c | |
| +++ src/event.c | |
| @@ -433,5 +433,10 @@ | |
| 433 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 434 | @ </td></tr></table> |
| 435 | @ </div></form> |
| 436 | style_footer(); |
| 437 | } |
| 438 |
| --- src/event.c | |
| +++ src/event.c | |
| @@ -433,5 +433,10 @@ | |
| 433 | @ <input type="submit" name="cancel" value="Cancel" /> |
| 434 | @ </td></tr></table> |
| 435 | @ </div></form> |
| 436 | style_footer(); |
| 437 | } |
| 438 | |
| 439 | /* |
| 440 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 441 | */ |
| 442 | |
| 443 |
+5
| --- src/export.c | ||
| +++ src/export.c | ||
| @@ -344,5 +344,10 @@ | ||
| 344 | 344 | if( ferror(f)!=0 || fclose(f)!=0 ) { |
| 345 | 345 | fossil_panic("error while writing %s", markfile_out); |
| 346 | 346 | } |
| 347 | 347 | } |
| 348 | 348 | } |
| 349 | + | |
| 350 | +/* | |
| 351 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 352 | + */ | |
| 353 | + | |
| 349 | 354 |
| --- src/export.c | |
| +++ src/export.c | |
| @@ -344,5 +344,10 @@ | |
| 344 | if( ferror(f)!=0 || fclose(f)!=0 ) { |
| 345 | fossil_panic("error while writing %s", markfile_out); |
| 346 | } |
| 347 | } |
| 348 | } |
| 349 |
| --- src/export.c | |
| +++ src/export.c | |
| @@ -344,5 +344,10 @@ | |
| 344 | if( ferror(f)!=0 || fclose(f)!=0 ) { |
| 345 | fossil_panic("error while writing %s", markfile_out); |
| 346 | } |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | /* |
| 351 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 352 | */ |
| 353 | |
| 354 |
+5
| --- src/file.c | ||
| +++ src/file.c | ||
| @@ -1102,5 +1102,10 @@ | ||
| 1102 | 1102 | char *zMbcs = fossil_utf8_to_mbcs(zName); |
| 1103 | 1103 | FILE *f = fopen(zMbcs, zMode); |
| 1104 | 1104 | fossil_mbcs_free(zMbcs); |
| 1105 | 1105 | return f; |
| 1106 | 1106 | } |
| 1107 | + | |
| 1108 | +/* | |
| 1109 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1110 | + */ | |
| 1111 | + | |
| 1107 | 1112 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -1102,5 +1102,10 @@ | |
| 1102 | char *zMbcs = fossil_utf8_to_mbcs(zName); |
| 1103 | FILE *f = fopen(zMbcs, zMode); |
| 1104 | fossil_mbcs_free(zMbcs); |
| 1105 | return f; |
| 1106 | } |
| 1107 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -1102,5 +1102,10 @@ | |
| 1102 | char *zMbcs = fossil_utf8_to_mbcs(zName); |
| 1103 | FILE *f = fopen(zMbcs, zMode); |
| 1104 | fossil_mbcs_free(zMbcs); |
| 1105 | return f; |
| 1106 | } |
| 1107 | |
| 1108 | /* |
| 1109 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1110 | */ |
| 1111 | |
| 1112 |
+5
| --- src/finfo.c | ||
| +++ src/finfo.c | ||
| @@ -354,5 +354,10 @@ | ||
| 354 | 354 | } |
| 355 | 355 | @ </table> |
| 356 | 356 | timeline_output_graph_javascript(pGraph, 0); |
| 357 | 357 | style_footer(); |
| 358 | 358 | } |
| 359 | + | |
| 360 | +/* | |
| 361 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 362 | + */ | |
| 363 | + | |
| 359 | 364 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -354,5 +354,10 @@ | |
| 354 | } |
| 355 | @ </table> |
| 356 | timeline_output_graph_javascript(pGraph, 0); |
| 357 | style_footer(); |
| 358 | } |
| 359 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -354,5 +354,10 @@ | |
| 354 | } |
| 355 | @ </table> |
| 356 | timeline_output_graph_javascript(pGraph, 0); |
| 357 | style_footer(); |
| 358 | } |
| 359 | |
| 360 | /* |
| 361 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 362 | */ |
| 363 | |
| 364 |
+5
| --- src/glob.c | ||
| +++ src/glob.c | ||
| @@ -260,5 +260,10 @@ | ||
| 260 | 260 | for(i=3; i<g.argc; i++){ |
| 261 | 261 | fossil_print("%d %s\n", glob_match(pGlob, g.argv[i]), g.argv[i]); |
| 262 | 262 | } |
| 263 | 263 | glob_free(pGlob); |
| 264 | 264 | } |
| 265 | + | |
| 266 | +/* | |
| 267 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 268 | + */ | |
| 269 | + | |
| 265 | 270 |
| --- src/glob.c | |
| +++ src/glob.c | |
| @@ -260,5 +260,10 @@ | |
| 260 | for(i=3; i<g.argc; i++){ |
| 261 | fossil_print("%d %s\n", glob_match(pGlob, g.argv[i]), g.argv[i]); |
| 262 | } |
| 263 | glob_free(pGlob); |
| 264 | } |
| 265 |
| --- src/glob.c | |
| +++ src/glob.c | |
| @@ -260,5 +260,10 @@ | |
| 260 | for(i=3; i<g.argc; i++){ |
| 261 | fossil_print("%d %s\n", glob_match(pGlob, g.argv[i]), g.argv[i]); |
| 262 | } |
| 263 | glob_free(pGlob); |
| 264 | } |
| 265 | |
| 266 | /* |
| 267 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 268 | */ |
| 269 | |
| 270 |
+5
| --- src/graph.c | ||
| +++ src/graph.c | ||
| @@ -557,5 +557,10 @@ | ||
| 557 | 557 | ** Find the maximum rail number. |
| 558 | 558 | */ |
| 559 | 559 | find_max_rail(p); |
| 560 | 560 | p->nErr = 0; |
| 561 | 561 | } |
| 562 | + | |
| 563 | +/* | |
| 564 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 565 | + */ | |
| 566 | + | |
| 562 | 567 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -557,5 +557,10 @@ | |
| 557 | ** Find the maximum rail number. |
| 558 | */ |
| 559 | find_max_rail(p); |
| 560 | p->nErr = 0; |
| 561 | } |
| 562 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -557,5 +557,10 @@ | |
| 557 | ** Find the maximum rail number. |
| 558 | */ |
| 559 | find_max_rail(p); |
| 560 | p->nErr = 0; |
| 561 | } |
| 562 | |
| 563 | /* |
| 564 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 565 | */ |
| 566 | |
| 567 |
+5
| --- src/gzip.c | ||
| +++ src/gzip.c | ||
| @@ -136,5 +136,10 @@ | ||
| 136 | 136 | gzip_finish(&b); |
| 137 | 137 | blob_write_to_file(&b, zOut); |
| 138 | 138 | blob_reset(&b); |
| 139 | 139 | fossil_free(zOut); |
| 140 | 140 | } |
| 141 | + | |
| 142 | +/* | |
| 143 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 144 | + */ | |
| 145 | + | |
| 141 | 146 |
| --- src/gzip.c | |
| +++ src/gzip.c | |
| @@ -136,5 +136,10 @@ | |
| 136 | gzip_finish(&b); |
| 137 | blob_write_to_file(&b, zOut); |
| 138 | blob_reset(&b); |
| 139 | fossil_free(zOut); |
| 140 | } |
| 141 |
| --- src/gzip.c | |
| +++ src/gzip.c | |
| @@ -136,5 +136,10 @@ | |
| 136 | gzip_finish(&b); |
| 137 | blob_write_to_file(&b, zOut); |
| 138 | blob_reset(&b); |
| 139 | fossil_free(zOut); |
| 140 | } |
| 141 | |
| 142 | /* |
| 143 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 144 | */ |
| 145 | |
| 146 |
+5
| --- src/http.c | ||
| +++ src/http.c | ||
| @@ -307,5 +307,10 @@ | ||
| 307 | 307 | */ |
| 308 | 308 | write_err: |
| 309 | 309 | transport_close(); |
| 310 | 310 | return 1; |
| 311 | 311 | } |
| 312 | + | |
| 313 | +/* | |
| 314 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 315 | + */ | |
| 316 | + | |
| 312 | 317 |
| --- src/http.c | |
| +++ src/http.c | |
| @@ -307,5 +307,10 @@ | |
| 307 | */ |
| 308 | write_err: |
| 309 | transport_close(); |
| 310 | return 1; |
| 311 | } |
| 312 |
| --- src/http.c | |
| +++ src/http.c | |
| @@ -307,5 +307,10 @@ | |
| 307 | */ |
| 308 | write_err: |
| 309 | transport_close(); |
| 310 | return 1; |
| 311 | } |
| 312 | |
| 313 | /* |
| 314 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 315 | */ |
| 316 | |
| 317 |
+5
| --- src/http_socket.c | ||
| +++ src/http_socket.c | ||
| @@ -211,5 +211,10 @@ | ||
| 211 | 211 | N -= (size_t)got; |
| 212 | 212 | pContent = (void*)&((char*)pContent)[got]; |
| 213 | 213 | } |
| 214 | 214 | return total; |
| 215 | 215 | } |
| 216 | + | |
| 217 | +/* | |
| 218 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 219 | + */ | |
| 220 | + | |
| 216 | 221 |
| --- src/http_socket.c | |
| +++ src/http_socket.c | |
| @@ -211,5 +211,10 @@ | |
| 211 | N -= (size_t)got; |
| 212 | pContent = (void*)&((char*)pContent)[got]; |
| 213 | } |
| 214 | return total; |
| 215 | } |
| 216 |
| --- src/http_socket.c | |
| +++ src/http_socket.c | |
| @@ -211,5 +211,10 @@ | |
| 211 | N -= (size_t)got; |
| 212 | pContent = (void*)&((char*)pContent)[got]; |
| 213 | } |
| 214 | return total; |
| 215 | } |
| 216 | |
| 217 | /* |
| 218 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 219 | */ |
| 220 | |
| 221 |
+5
| --- src/http_ssl.c | ||
| +++ src/http_ssl.c | ||
| @@ -406,5 +406,10 @@ | ||
| 406 | 406 | } |
| 407 | 407 | return total; |
| 408 | 408 | } |
| 409 | 409 | |
| 410 | 410 | #endif /* FOSSIL_ENABLE_SSL */ |
| 411 | + | |
| 412 | +/* | |
| 413 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 414 | + */ | |
| 415 | + | |
| 411 | 416 |
| --- src/http_ssl.c | |
| +++ src/http_ssl.c | |
| @@ -406,5 +406,10 @@ | |
| 406 | } |
| 407 | return total; |
| 408 | } |
| 409 | |
| 410 | #endif /* FOSSIL_ENABLE_SSL */ |
| 411 |
| --- src/http_ssl.c | |
| +++ src/http_ssl.c | |
| @@ -406,5 +406,10 @@ | |
| 406 | } |
| 407 | return total; |
| 408 | } |
| 409 | |
| 410 | #endif /* FOSSIL_ENABLE_SSL */ |
| 411 | |
| 412 | /* |
| 413 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 414 | */ |
| 415 | |
| 416 |
+5
| --- src/http_transport.c | ||
| +++ src/http_transport.c | ||
| @@ -489,5 +489,10 @@ | ||
| 489 | 489 | #endif |
| 490 | 490 | }else{ |
| 491 | 491 | socket_global_shutdown(); |
| 492 | 492 | } |
| 493 | 493 | } |
| 494 | + | |
| 495 | +/* | |
| 496 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 497 | + */ | |
| 498 | + | |
| 494 | 499 |
| --- src/http_transport.c | |
| +++ src/http_transport.c | |
| @@ -489,5 +489,10 @@ | |
| 489 | #endif |
| 490 | }else{ |
| 491 | socket_global_shutdown(); |
| 492 | } |
| 493 | } |
| 494 |
| --- src/http_transport.c | |
| +++ src/http_transport.c | |
| @@ -489,5 +489,10 @@ | |
| 489 | #endif |
| 490 | }else{ |
| 491 | socket_global_shutdown(); |
| 492 | } |
| 493 | } |
| 494 | |
| 495 | /* |
| 496 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 497 | */ |
| 498 | |
| 499 |
+5
| --- src/import.c | ||
| +++ src/import.c | ||
| @@ -797,5 +797,10 @@ | ||
| 797 | 797 | fossil_print("server-id: %s\n", db_get("server-code", 0)); |
| 798 | 798 | zPassword = db_text(0, "SELECT pw FROM user WHERE login=%Q", g.zLogin); |
| 799 | 799 | fossil_print("admin-user: %s (password is \"%s\")\n", g.zLogin, zPassword); |
| 800 | 800 | } |
| 801 | 801 | } |
| 802 | + | |
| 803 | +/* | |
| 804 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 805 | + */ | |
| 806 | + | |
| 802 | 807 |
| --- src/import.c | |
| +++ src/import.c | |
| @@ -797,5 +797,10 @@ | |
| 797 | fossil_print("server-id: %s\n", db_get("server-code", 0)); |
| 798 | zPassword = db_text(0, "SELECT pw FROM user WHERE login=%Q", g.zLogin); |
| 799 | fossil_print("admin-user: %s (password is \"%s\")\n", g.zLogin, zPassword); |
| 800 | } |
| 801 | } |
| 802 |
| --- src/import.c | |
| +++ src/import.c | |
| @@ -797,5 +797,10 @@ | |
| 797 | fossil_print("server-id: %s\n", db_get("server-code", 0)); |
| 798 | zPassword = db_text(0, "SELECT pw FROM user WHERE login=%Q", g.zLogin); |
| 799 | fossil_print("admin-user: %s (password is \"%s\")\n", g.zLogin, zPassword); |
| 800 | } |
| 801 | } |
| 802 | |
| 803 | /* |
| 804 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 805 | */ |
| 806 | |
| 807 |
+5
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -2018,5 +2018,10 @@ | ||
| 2018 | 2018 | @ </td></tr> |
| 2019 | 2019 | @ </table> |
| 2020 | 2020 | @ </div></form> |
| 2021 | 2021 | style_footer(); |
| 2022 | 2022 | } |
| 2023 | + | |
| 2024 | +/* | |
| 2025 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 2026 | + */ | |
| 2027 | + | |
| 2023 | 2028 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2018,5 +2018,10 @@ | |
| 2018 | @ </td></tr> |
| 2019 | @ </table> |
| 2020 | @ </div></form> |
| 2021 | style_footer(); |
| 2022 | } |
| 2023 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2018,5 +2018,10 @@ | |
| 2018 | @ </td></tr> |
| 2019 | @ </table> |
| 2020 | @ </div></form> |
| 2021 | style_footer(); |
| 2022 | } |
| 2023 | |
| 2024 | /* |
| 2025 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 2026 | */ |
| 2027 | |
| 2028 |
+5
| --- src/json.c | ||
| +++ src/json.c | ||
| @@ -2430,5 +2430,10 @@ | ||
| 2430 | 2430 | } |
| 2431 | 2431 | } |
| 2432 | 2432 | #endif /* FOSSIL_ENABLE_JSON for mkindex */ |
| 2433 | 2433 | |
| 2434 | 2434 | #endif /* FOSSIL_ENABLE_JSON */ |
| 2435 | + | |
| 2436 | +/* | |
| 2437 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 2438 | + */ | |
| 2439 | + | |
| 2435 | 2440 |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -2430,5 +2430,10 @@ | |
| 2430 | } |
| 2431 | } |
| 2432 | #endif /* FOSSIL_ENABLE_JSON for mkindex */ |
| 2433 | |
| 2434 | #endif /* FOSSIL_ENABLE_JSON */ |
| 2435 |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -2430,5 +2430,10 @@ | |
| 2430 | } |
| 2431 | } |
| 2432 | #endif /* FOSSIL_ENABLE_JSON for mkindex */ |
| 2433 | |
| 2434 | #endif /* FOSSIL_ENABLE_JSON */ |
| 2435 | |
| 2436 | /* |
| 2437 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 2438 | */ |
| 2439 | |
| 2440 |
+5
| --- src/json_artifact.c | ||
| +++ src/json_artifact.c | ||
| @@ -438,5 +438,10 @@ | ||
| 438 | 438 | blob_reset(&uuid); |
| 439 | 439 | return cson_object_value(pay); |
| 440 | 440 | } |
| 441 | 441 | |
| 442 | 442 | #endif /* FOSSIL_ENABLE_JSON */ |
| 443 | + | |
| 444 | +/* | |
| 445 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 446 | + */ | |
| 447 | + | |
| 443 | 448 |
| --- src/json_artifact.c | |
| +++ src/json_artifact.c | |
| @@ -438,5 +438,10 @@ | |
| 438 | blob_reset(&uuid); |
| 439 | return cson_object_value(pay); |
| 440 | } |
| 441 | |
| 442 | #endif /* FOSSIL_ENABLE_JSON */ |
| 443 |
| --- src/json_artifact.c | |
| +++ src/json_artifact.c | |
| @@ -438,5 +438,10 @@ | |
| 438 | blob_reset(&uuid); |
| 439 | return cson_object_value(pay); |
| 440 | } |
| 441 | |
| 442 | #endif /* FOSSIL_ENABLE_JSON */ |
| 443 | |
| 444 | /* |
| 445 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 446 | */ |
| 447 | |
| 448 |
+5
| --- src/json_branch.c | ||
| +++ src/json_branch.c | ||
| @@ -387,5 +387,10 @@ | ||
| 387 | 387 | ok: |
| 388 | 388 | return payV; |
| 389 | 389 | } |
| 390 | 390 | |
| 391 | 391 | #endif /* FOSSIL_ENABLE_JSON */ |
| 392 | + | |
| 393 | +/* | |
| 394 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 395 | + */ | |
| 396 | + | |
| 392 | 397 |
| --- src/json_branch.c | |
| +++ src/json_branch.c | |
| @@ -387,5 +387,10 @@ | |
| 387 | ok: |
| 388 | return payV; |
| 389 | } |
| 390 | |
| 391 | #endif /* FOSSIL_ENABLE_JSON */ |
| 392 |
| --- src/json_branch.c | |
| +++ src/json_branch.c | |
| @@ -387,5 +387,10 @@ | |
| 387 | ok: |
| 388 | return payV; |
| 389 | } |
| 390 | |
| 391 | #endif /* FOSSIL_ENABLE_JSON */ |
| 392 | |
| 393 | /* |
| 394 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 395 | */ |
| 396 | |
| 397 |
+5
| --- src/json_config.c | ||
| +++ src/json_config.c | ||
| @@ -169,5 +169,10 @@ | ||
| 169 | 169 | static cson_value * json_config_save(){ |
| 170 | 170 | json_set_err(FSL_JSON_E_NYI, NULL); |
| 171 | 171 | return NULL; |
| 172 | 172 | } |
| 173 | 173 | #endif /* FOSSIL_ENABLE_JSON */ |
| 174 | + | |
| 175 | +/* | |
| 176 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 177 | + */ | |
| 178 | + | |
| 174 | 179 |
| --- src/json_config.c | |
| +++ src/json_config.c | |
| @@ -169,5 +169,10 @@ | |
| 169 | static cson_value * json_config_save(){ |
| 170 | json_set_err(FSL_JSON_E_NYI, NULL); |
| 171 | return NULL; |
| 172 | } |
| 173 | #endif /* FOSSIL_ENABLE_JSON */ |
| 174 |
| --- src/json_config.c | |
| +++ src/json_config.c | |
| @@ -169,5 +169,10 @@ | |
| 169 | static cson_value * json_config_save(){ |
| 170 | json_set_err(FSL_JSON_E_NYI, NULL); |
| 171 | return NULL; |
| 172 | } |
| 173 | #endif /* FOSSIL_ENABLE_JSON */ |
| 174 | |
| 175 | /* |
| 176 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 177 | */ |
| 178 | |
| 179 |
+5
| --- src/json_detail.h | ||
| +++ src/json_detail.h | ||
| @@ -267,5 +267,10 @@ | ||
| 267 | 267 | char fossil_has_json(); |
| 268 | 268 | |
| 269 | 269 | |
| 270 | 270 | #endif/*FOSSIL_JSON_DETAIL_H_INCLUDED*/ |
| 271 | 271 | #endif /* FOSSIL_ENABLE_JSON */ |
| 272 | + | |
| 273 | +/* | |
| 274 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 275 | + */ | |
| 276 | + | |
| 272 | 277 |
| --- src/json_detail.h | |
| +++ src/json_detail.h | |
| @@ -267,5 +267,10 @@ | |
| 267 | char fossil_has_json(); |
| 268 | |
| 269 | |
| 270 | #endif/*FOSSIL_JSON_DETAIL_H_INCLUDED*/ |
| 271 | #endif /* FOSSIL_ENABLE_JSON */ |
| 272 |
| --- src/json_detail.h | |
| +++ src/json_detail.h | |
| @@ -267,5 +267,10 @@ | |
| 267 | char fossil_has_json(); |
| 268 | |
| 269 | |
| 270 | #endif/*FOSSIL_JSON_DETAIL_H_INCLUDED*/ |
| 271 | #endif /* FOSSIL_ENABLE_JSON */ |
| 272 | |
| 273 | /* |
| 274 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 275 | */ |
| 276 | |
| 277 |
+5
| --- src/json_diff.c | ||
| +++ src/json_diff.c | ||
| @@ -134,5 +134,10 @@ | ||
| 134 | 134 | |
| 135 | 135 | return pay ? cson_object_value(pay) : NULL; |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | #endif /* FOSSIL_ENABLE_JSON */ |
| 139 | + | |
| 140 | +/* | |
| 141 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 142 | + */ | |
| 143 | + | |
| 139 | 144 |
| --- src/json_diff.c | |
| +++ src/json_diff.c | |
| @@ -134,5 +134,10 @@ | |
| 134 | |
| 135 | return pay ? cson_object_value(pay) : NULL; |
| 136 | } |
| 137 | |
| 138 | #endif /* FOSSIL_ENABLE_JSON */ |
| 139 |
| --- src/json_diff.c | |
| +++ src/json_diff.c | |
| @@ -134,5 +134,10 @@ | |
| 134 | |
| 135 | return pay ? cson_object_value(pay) : NULL; |
| 136 | } |
| 137 | |
| 138 | #endif /* FOSSIL_ENABLE_JSON */ |
| 139 | |
| 140 | /* |
| 141 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 142 | */ |
| 143 | |
| 144 |
+5
| --- src/json_dir.c | ||
| +++ src/json_dir.c | ||
| @@ -302,5 +302,10 @@ | ||
| 302 | 302 | return json_page_dispatch_helper(&JsonPageDefs_Dir[0]); |
| 303 | 303 | #endif |
| 304 | 304 | } |
| 305 | 305 | |
| 306 | 306 | #endif /* FOSSIL_ENABLE_JSON */ |
| 307 | + | |
| 308 | +/* | |
| 309 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 310 | + */ | |
| 311 | + | |
| 307 | 312 |
| --- src/json_dir.c | |
| +++ src/json_dir.c | |
| @@ -302,5 +302,10 @@ | |
| 302 | return json_page_dispatch_helper(&JsonPageDefs_Dir[0]); |
| 303 | #endif |
| 304 | } |
| 305 | |
| 306 | #endif /* FOSSIL_ENABLE_JSON */ |
| 307 |
| --- src/json_dir.c | |
| +++ src/json_dir.c | |
| @@ -302,5 +302,10 @@ | |
| 302 | return json_page_dispatch_helper(&JsonPageDefs_Dir[0]); |
| 303 | #endif |
| 304 | } |
| 305 | |
| 306 | #endif /* FOSSIL_ENABLE_JSON */ |
| 307 | |
| 308 | /* |
| 309 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 310 | */ |
| 311 | |
| 312 |
+5
| --- src/json_finfo.c | ||
| +++ src/json_finfo.c | ||
| @@ -144,5 +144,10 @@ | ||
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | |
| 147 | 147 | |
| 148 | 148 | #endif /* FOSSIL_ENABLE_JSON */ |
| 149 | + | |
| 150 | +/* | |
| 151 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 152 | + */ | |
| 153 | + | |
| 149 | 154 |
| --- src/json_finfo.c | |
| +++ src/json_finfo.c | |
| @@ -144,5 +144,10 @@ | |
| 144 | } |
| 145 | |
| 146 | |
| 147 | |
| 148 | #endif /* FOSSIL_ENABLE_JSON */ |
| 149 |
| --- src/json_finfo.c | |
| +++ src/json_finfo.c | |
| @@ -144,5 +144,10 @@ | |
| 144 | } |
| 145 | |
| 146 | |
| 147 | |
| 148 | #endif /* FOSSIL_ENABLE_JSON */ |
| 149 | |
| 150 | /* |
| 151 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 152 | */ |
| 153 | |
| 154 |
+5
| --- src/json_login.c | ||
| +++ src/json_login.c | ||
| @@ -267,5 +267,10 @@ | ||
| 267 | 267 | } |
| 268 | 268 | db_finalize(&q); |
| 269 | 269 | return payload; |
| 270 | 270 | } |
| 271 | 271 | #endif /* FOSSIL_ENABLE_JSON */ |
| 272 | + | |
| 273 | +/* | |
| 274 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 275 | + */ | |
| 276 | + | |
| 272 | 277 |
| --- src/json_login.c | |
| +++ src/json_login.c | |
| @@ -267,5 +267,10 @@ | |
| 267 | } |
| 268 | db_finalize(&q); |
| 269 | return payload; |
| 270 | } |
| 271 | #endif /* FOSSIL_ENABLE_JSON */ |
| 272 |
| --- src/json_login.c | |
| +++ src/json_login.c | |
| @@ -267,5 +267,10 @@ | |
| 267 | } |
| 268 | db_finalize(&q); |
| 269 | return payload; |
| 270 | } |
| 271 | #endif /* FOSSIL_ENABLE_JSON */ |
| 272 | |
| 273 | /* |
| 274 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 275 | */ |
| 276 | |
| 277 |
+5
| --- src/json_query.c | ||
| +++ src/json_query.c | ||
| @@ -85,5 +85,10 @@ | ||
| 85 | 85 | return payV; |
| 86 | 86 | |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | #endif /* FOSSIL_ENABLE_JSON */ |
| 90 | + | |
| 91 | +/* | |
| 92 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 93 | + */ | |
| 94 | + | |
| 90 | 95 |
| --- src/json_query.c | |
| +++ src/json_query.c | |
| @@ -85,5 +85,10 @@ | |
| 85 | return payV; |
| 86 | |
| 87 | } |
| 88 | |
| 89 | #endif /* FOSSIL_ENABLE_JSON */ |
| 90 |
| --- src/json_query.c | |
| +++ src/json_query.c | |
| @@ -85,5 +85,10 @@ | |
| 85 | return payV; |
| 86 | |
| 87 | } |
| 88 | |
| 89 | #endif /* FOSSIL_ENABLE_JSON */ |
| 90 | |
| 91 | /* |
| 92 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 93 | */ |
| 94 | |
| 95 |
+5
| --- src/json_report.c | ||
| +++ src/json_report.c | ||
| @@ -258,5 +258,10 @@ | ||
| 258 | 258 | |
| 259 | 259 | static cson_value * json_report_save(){ |
| 260 | 260 | return NULL; |
| 261 | 261 | } |
| 262 | 262 | #endif /* FOSSIL_ENABLE_JSON */ |
| 263 | + | |
| 264 | +/* | |
| 265 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 266 | + */ | |
| 267 | + | |
| 263 | 268 |
| --- src/json_report.c | |
| +++ src/json_report.c | |
| @@ -258,5 +258,10 @@ | |
| 258 | |
| 259 | static cson_value * json_report_save(){ |
| 260 | return NULL; |
| 261 | } |
| 262 | #endif /* FOSSIL_ENABLE_JSON */ |
| 263 |
| --- src/json_report.c | |
| +++ src/json_report.c | |
| @@ -258,5 +258,10 @@ | |
| 258 | |
| 259 | static cson_value * json_report_save(){ |
| 260 | return NULL; |
| 261 | } |
| 262 | #endif /* FOSSIL_ENABLE_JSON */ |
| 263 | |
| 264 | /* |
| 265 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 266 | */ |
| 267 | |
| 268 |
+5
| --- src/json_tag.c | ||
| +++ src/json_tag.c | ||
| @@ -473,5 +473,10 @@ | ||
| 473 | 473 | cson_object_set( pay, "tags", cson_value_null() ); |
| 474 | 474 | } |
| 475 | 475 | return payV; |
| 476 | 476 | } |
| 477 | 477 | #endif /* FOSSIL_ENABLE_JSON */ |
| 478 | + | |
| 479 | +/* | |
| 480 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 481 | + */ | |
| 482 | + | |
| 478 | 483 |
| --- src/json_tag.c | |
| +++ src/json_tag.c | |
| @@ -473,5 +473,10 @@ | |
| 473 | cson_object_set( pay, "tags", cson_value_null() ); |
| 474 | } |
| 475 | return payV; |
| 476 | } |
| 477 | #endif /* FOSSIL_ENABLE_JSON */ |
| 478 |
| --- src/json_tag.c | |
| +++ src/json_tag.c | |
| @@ -473,5 +473,10 @@ | |
| 473 | cson_object_set( pay, "tags", cson_value_null() ); |
| 474 | } |
| 475 | return payV; |
| 476 | } |
| 477 | #endif /* FOSSIL_ENABLE_JSON */ |
| 478 | |
| 479 | /* |
| 480 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 481 | */ |
| 482 | |
| 483 |
+5
| --- src/json_timeline.c | ||
| +++ src/json_timeline.c | ||
| @@ -670,5 +670,10 @@ | ||
| 670 | 670 | db_finalize(&q); |
| 671 | 671 | return payV; |
| 672 | 672 | } |
| 673 | 673 | |
| 674 | 674 | #endif /* FOSSIL_ENABLE_JSON */ |
| 675 | + | |
| 676 | +/* | |
| 677 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 678 | + */ | |
| 679 | + | |
| 675 | 680 |
| --- src/json_timeline.c | |
| +++ src/json_timeline.c | |
| @@ -670,5 +670,10 @@ | |
| 670 | db_finalize(&q); |
| 671 | return payV; |
| 672 | } |
| 673 | |
| 674 | #endif /* FOSSIL_ENABLE_JSON */ |
| 675 |
| --- src/json_timeline.c | |
| +++ src/json_timeline.c | |
| @@ -670,5 +670,10 @@ | |
| 670 | db_finalize(&q); |
| 671 | return payV; |
| 672 | } |
| 673 | |
| 674 | #endif /* FOSSIL_ENABLE_JSON */ |
| 675 | |
| 676 | /* |
| 677 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 678 | */ |
| 679 | |
| 680 |
+5
| --- src/json_user.c | ||
| +++ src/json_user.c | ||
| @@ -432,5 +432,10 @@ | ||
| 432 | 432 | } |
| 433 | 433 | cson_free_object(u); |
| 434 | 434 | return payload; |
| 435 | 435 | } |
| 436 | 436 | #endif /* FOSSIL_ENABLE_JSON */ |
| 437 | + | |
| 438 | +/* | |
| 439 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 440 | + */ | |
| 441 | + | |
| 437 | 442 |
| --- src/json_user.c | |
| +++ src/json_user.c | |
| @@ -432,5 +432,10 @@ | |
| 432 | } |
| 433 | cson_free_object(u); |
| 434 | return payload; |
| 435 | } |
| 436 | #endif /* FOSSIL_ENABLE_JSON */ |
| 437 |
| --- src/json_user.c | |
| +++ src/json_user.c | |
| @@ -432,5 +432,10 @@ | |
| 432 | } |
| 433 | cson_free_object(u); |
| 434 | return payload; |
| 435 | } |
| 436 | #endif /* FOSSIL_ENABLE_JSON */ |
| 437 | |
| 438 | /* |
| 439 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 440 | */ |
| 441 | |
| 442 |
+5
| --- src/json_wiki.c | ||
| +++ src/json_wiki.c | ||
| @@ -580,5 +580,10 @@ | ||
| 580 | 580 | cson_free_object(pay); |
| 581 | 581 | return NULL; |
| 582 | 582 | } |
| 583 | 583 | |
| 584 | 584 | #endif /* FOSSIL_ENABLE_JSON */ |
| 585 | + | |
| 586 | +/* | |
| 587 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 588 | + */ | |
| 589 | + | |
| 585 | 590 |
| --- src/json_wiki.c | |
| +++ src/json_wiki.c | |
| @@ -580,5 +580,10 @@ | |
| 580 | cson_free_object(pay); |
| 581 | return NULL; |
| 582 | } |
| 583 | |
| 584 | #endif /* FOSSIL_ENABLE_JSON */ |
| 585 |
| --- src/json_wiki.c | |
| +++ src/json_wiki.c | |
| @@ -580,5 +580,10 @@ | |
| 580 | cson_free_object(pay); |
| 581 | return NULL; |
| 582 | } |
| 583 | |
| 584 | #endif /* FOSSIL_ENABLE_JSON */ |
| 585 | |
| 586 | /* |
| 587 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 588 | */ |
| 589 | |
| 590 |
+5
| --- src/leaf.c | ||
| +++ src/leaf.c | ||
| @@ -179,5 +179,10 @@ | ||
| 179 | 179 | for(rid=bag_first(&needToCheck); rid; rid=bag_next(&needToCheck,rid)){ |
| 180 | 180 | leaf_check(rid); |
| 181 | 181 | } |
| 182 | 182 | bag_clear(&needToCheck); |
| 183 | 183 | } |
| 184 | + | |
| 185 | +/* | |
| 186 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 187 | + */ | |
| 188 | + | |
| 184 | 189 |
| --- src/leaf.c | |
| +++ src/leaf.c | |
| @@ -179,5 +179,10 @@ | |
| 179 | for(rid=bag_first(&needToCheck); rid; rid=bag_next(&needToCheck,rid)){ |
| 180 | leaf_check(rid); |
| 181 | } |
| 182 | bag_clear(&needToCheck); |
| 183 | } |
| 184 |
| --- src/leaf.c | |
| +++ src/leaf.c | |
| @@ -179,5 +179,10 @@ | |
| 179 | for(rid=bag_first(&needToCheck); rid; rid=bag_next(&needToCheck,rid)){ |
| 180 | leaf_check(rid); |
| 181 | } |
| 182 | bag_clear(&needToCheck); |
| 183 | } |
| 184 | |
| 185 | /* |
| 186 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 187 | */ |
| 188 | |
| 189 |
+5
| --- src/login.c | ||
| +++ src/login.c | ||
| @@ -1527,5 +1527,10 @@ | ||
| 1527 | 1527 | "DELETE FROM config " |
| 1528 | 1528 | " WHERE name GLOB 'peer-*'" |
| 1529 | 1529 | " OR name GLOB 'login-group-*';" |
| 1530 | 1530 | ); |
| 1531 | 1531 | } |
| 1532 | + | |
| 1533 | +/* | |
| 1534 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1535 | + */ | |
| 1536 | + | |
| 1532 | 1537 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -1527,5 +1527,10 @@ | |
| 1527 | "DELETE FROM config " |
| 1528 | " WHERE name GLOB 'peer-*'" |
| 1529 | " OR name GLOB 'login-group-*';" |
| 1530 | ); |
| 1531 | } |
| 1532 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -1527,5 +1527,10 @@ | |
| 1527 | "DELETE FROM config " |
| 1528 | " WHERE name GLOB 'peer-*'" |
| 1529 | " OR name GLOB 'login-group-*';" |
| 1530 | ); |
| 1531 | } |
| 1532 | |
| 1533 | /* |
| 1534 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1535 | */ |
| 1536 | |
| 1537 |
+5
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -1801,5 +1801,10 @@ | ||
| 1801 | 1801 | int i; |
| 1802 | 1802 | for(i=0; i<g.argc; i++){ |
| 1803 | 1803 | fossil_print("argv[%d] = [%s]\n", i, g.argv[i]); |
| 1804 | 1804 | } |
| 1805 | 1805 | } |
| 1806 | + | |
| 1807 | +/* | |
| 1808 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1809 | + */ | |
| 1810 | + | |
| 1806 | 1811 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1801,5 +1801,10 @@ | |
| 1801 | int i; |
| 1802 | for(i=0; i<g.argc; i++){ |
| 1803 | fossil_print("argv[%d] = [%s]\n", i, g.argv[i]); |
| 1804 | } |
| 1805 | } |
| 1806 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -1801,5 +1801,10 @@ | |
| 1801 | int i; |
| 1802 | for(i=0; i<g.argc; i++){ |
| 1803 | fossil_print("argv[%d] = [%s]\n", i, g.argv[i]); |
| 1804 | } |
| 1805 | } |
| 1806 | |
| 1807 | /* |
| 1808 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1809 | */ |
| 1810 | |
| 1811 |
+5
| --- src/makeheaders.c | ||
| +++ src/makeheaders.c | ||
| @@ -3378,5 +3378,10 @@ | ||
| 3378 | 3378 | } |
| 3379 | 3379 | } |
| 3380 | 3380 | return nErr; |
| 3381 | 3381 | } |
| 3382 | 3382 | #endif |
| 3383 | + | |
| 3384 | +/* | |
| 3385 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 3386 | + */ | |
| 3387 | + | |
| 3383 | 3388 |
| --- src/makeheaders.c | |
| +++ src/makeheaders.c | |
| @@ -3378,5 +3378,10 @@ | |
| 3378 | } |
| 3379 | } |
| 3380 | return nErr; |
| 3381 | } |
| 3382 | #endif |
| 3383 |
| --- src/makeheaders.c | |
| +++ src/makeheaders.c | |
| @@ -3378,5 +3378,10 @@ | |
| 3378 | } |
| 3379 | } |
| 3380 | return nErr; |
| 3381 | } |
| 3382 | #endif |
| 3383 | |
| 3384 | /* |
| 3385 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 3386 | */ |
| 3387 | |
| 3388 |
+5
| --- src/manifest.c | ||
| +++ src/manifest.c | ||
| @@ -1947,5 +1947,10 @@ | ||
| 1947 | 1947 | manifest_destroy(p); |
| 1948 | 1948 | } |
| 1949 | 1949 | assert( blob_is_reset(pContent) ); |
| 1950 | 1950 | return 1; |
| 1951 | 1951 | } |
| 1952 | + | |
| 1953 | +/* | |
| 1954 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1955 | + */ | |
| 1956 | + | |
| 1952 | 1957 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -1947,5 +1947,10 @@ | |
| 1947 | manifest_destroy(p); |
| 1948 | } |
| 1949 | assert( blob_is_reset(pContent) ); |
| 1950 | return 1; |
| 1951 | } |
| 1952 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -1947,5 +1947,10 @@ | |
| 1947 | manifest_destroy(p); |
| 1948 | } |
| 1949 | assert( blob_is_reset(pContent) ); |
| 1950 | return 1; |
| 1951 | } |
| 1952 | |
| 1953 | /* |
| 1954 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1955 | */ |
| 1956 | |
| 1957 |
+5
| --- src/md5.c | ||
| +++ src/md5.c | ||
| @@ -443,5 +443,10 @@ | ||
| 443 | 443 | } |
| 444 | 444 | fossil_print("%s %s\n", blob_str(&cksum), g.argv[i]); |
| 445 | 445 | blob_reset(&cksum); |
| 446 | 446 | } |
| 447 | 447 | } |
| 448 | + | |
| 449 | +/* | |
| 450 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 451 | + */ | |
| 452 | + | |
| 448 | 453 |
| --- src/md5.c | |
| +++ src/md5.c | |
| @@ -443,5 +443,10 @@ | |
| 443 | } |
| 444 | fossil_print("%s %s\n", blob_str(&cksum), g.argv[i]); |
| 445 | blob_reset(&cksum); |
| 446 | } |
| 447 | } |
| 448 |
| --- src/md5.c | |
| +++ src/md5.c | |
| @@ -443,5 +443,10 @@ | |
| 443 | } |
| 444 | fossil_print("%s %s\n", blob_str(&cksum), g.argv[i]); |
| 445 | blob_reset(&cksum); |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | /* |
| 450 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 451 | */ |
| 452 | |
| 453 |
+5
| --- src/merge.c | ||
| +++ src/merge.c | ||
| @@ -569,5 +569,10 @@ | ||
| 569 | 569 | ); |
| 570 | 570 | } |
| 571 | 571 | undo_finish(); |
| 572 | 572 | db_end_transaction(nochangeFlag); |
| 573 | 573 | } |
| 574 | + | |
| 575 | +/* | |
| 576 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 577 | + */ | |
| 578 | + | |
| 574 | 579 |
| --- src/merge.c | |
| +++ src/merge.c | |
| @@ -569,5 +569,10 @@ | |
| 569 | ); |
| 570 | } |
| 571 | undo_finish(); |
| 572 | db_end_transaction(nochangeFlag); |
| 573 | } |
| 574 |
| --- src/merge.c | |
| +++ src/merge.c | |
| @@ -569,5 +569,10 @@ | |
| 569 | ); |
| 570 | } |
| 571 | undo_finish(); |
| 572 | db_end_transaction(nochangeFlag); |
| 573 | } |
| 574 | |
| 575 | /* |
| 576 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 577 | */ |
| 578 | |
| 579 |
+5
| --- src/merge3.c | ||
| +++ src/merge3.c | ||
| @@ -445,5 +445,10 @@ | ||
| 445 | 445 | fossil_free(zOther); |
| 446 | 446 | } |
| 447 | 447 | blob_reset(&v1); |
| 448 | 448 | return rc; |
| 449 | 449 | } |
| 450 | + | |
| 451 | +/* | |
| 452 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 453 | + */ | |
| 454 | + | |
| 450 | 455 |
| --- src/merge3.c | |
| +++ src/merge3.c | |
| @@ -445,5 +445,10 @@ | |
| 445 | fossil_free(zOther); |
| 446 | } |
| 447 | blob_reset(&v1); |
| 448 | return rc; |
| 449 | } |
| 450 |
| --- src/merge3.c | |
| +++ src/merge3.c | |
| @@ -445,5 +445,10 @@ | |
| 445 | fossil_free(zOther); |
| 446 | } |
| 447 | blob_reset(&v1); |
| 448 | return rc; |
| 449 | } |
| 450 | |
| 451 | /* |
| 452 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 453 | */ |
| 454 | |
| 455 |
+5
| --- src/mkindex.c | ||
| +++ src/mkindex.c | ||
| @@ -367,5 +367,10 @@ | ||
| 367 | 367 | process_file(); |
| 368 | 368 | } |
| 369 | 369 | build_table(); |
| 370 | 370 | return 0; |
| 371 | 371 | } |
| 372 | + | |
| 373 | +/* | |
| 374 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 375 | + */ | |
| 376 | + | |
| 372 | 377 |
| --- src/mkindex.c | |
| +++ src/mkindex.c | |
| @@ -367,5 +367,10 @@ | |
| 367 | process_file(); |
| 368 | } |
| 369 | build_table(); |
| 370 | return 0; |
| 371 | } |
| 372 |
| --- src/mkindex.c | |
| +++ src/mkindex.c | |
| @@ -367,5 +367,10 @@ | |
| 367 | process_file(); |
| 368 | } |
| 369 | build_table(); |
| 370 | return 0; |
| 371 | } |
| 372 | |
| 373 | /* |
| 374 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 375 | */ |
| 376 | |
| 377 |
+5
| --- src/mkversion.c | ||
| +++ src/mkversion.c | ||
| @@ -53,5 +53,10 @@ | ||
| 53 | 53 | } |
| 54 | 54 | for(z=vx; z[0]=='0'; z++){} |
| 55 | 55 | printf("#define RELEASE_VERSION_NUMBER %s\n", z); |
| 56 | 56 | return 0; |
| 57 | 57 | } |
| 58 | + | |
| 59 | +/* | |
| 60 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 61 | + */ | |
| 62 | + | |
| 58 | 63 |
| --- src/mkversion.c | |
| +++ src/mkversion.c | |
| @@ -53,5 +53,10 @@ | |
| 53 | } |
| 54 | for(z=vx; z[0]=='0'; z++){} |
| 55 | printf("#define RELEASE_VERSION_NUMBER %s\n", z); |
| 56 | return 0; |
| 57 | } |
| 58 |
| --- src/mkversion.c | |
| +++ src/mkversion.c | |
| @@ -53,5 +53,10 @@ | |
| 53 | } |
| 54 | for(z=vx; z[0]=='0'; z++){} |
| 55 | printf("#define RELEASE_VERSION_NUMBER %s\n", z); |
| 56 | return 0; |
| 57 | } |
| 58 | |
| 59 | /* |
| 60 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 61 | */ |
| 62 | |
| 63 |
+5
| --- src/name.c | ||
| +++ src/name.c | ||
| @@ -491,5 +491,10 @@ | ||
| 491 | 491 | comment_print(db_column_text(&q,4), 10, 78); |
| 492 | 492 | } |
| 493 | 493 | db_finalize(&q); |
| 494 | 494 | } |
| 495 | 495 | } |
| 496 | + | |
| 497 | +/* | |
| 498 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 499 | + */ | |
| 500 | + | |
| 496 | 501 |
| --- src/name.c | |
| +++ src/name.c | |
| @@ -491,5 +491,10 @@ | |
| 491 | comment_print(db_column_text(&q,4), 10, 78); |
| 492 | } |
| 493 | db_finalize(&q); |
| 494 | } |
| 495 | } |
| 496 |
| --- src/name.c | |
| +++ src/name.c | |
| @@ -491,5 +491,10 @@ | |
| 491 | comment_print(db_column_text(&q,4), 10, 78); |
| 492 | } |
| 493 | db_finalize(&q); |
| 494 | } |
| 495 | } |
| 496 | |
| 497 | /* |
| 498 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 499 | */ |
| 500 | |
| 501 |
+5
| --- src/path.c | ||
| +++ src/path.c | ||
| @@ -508,5 +508,10 @@ | ||
| 508 | 508 | fossil_free(aChng); |
| 509 | 509 | g.argv += 2; |
| 510 | 510 | g.argc -= 2; |
| 511 | 511 | } |
| 512 | 512 | } |
| 513 | + | |
| 514 | +/* | |
| 515 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 516 | + */ | |
| 517 | + | |
| 513 | 518 |
| --- src/path.c | |
| +++ src/path.c | |
| @@ -508,5 +508,10 @@ | |
| 508 | fossil_free(aChng); |
| 509 | g.argv += 2; |
| 510 | g.argc -= 2; |
| 511 | } |
| 512 | } |
| 513 |
| --- src/path.c | |
| +++ src/path.c | |
| @@ -508,5 +508,10 @@ | |
| 508 | fossil_free(aChng); |
| 509 | g.argv += 2; |
| 510 | g.argc -= 2; |
| 511 | } |
| 512 | } |
| 513 | |
| 514 | /* |
| 515 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 516 | */ |
| 517 | |
| 518 |
+5
| --- src/pivot.c | ||
| +++ src/pivot.c | ||
| @@ -166,5 +166,10 @@ | ||
| 166 | 166 | rid = pivot_find(); |
| 167 | 167 | printf("pivot=%s\n", |
| 168 | 168 | db_text("?","SELECT uuid FROM blob WHERE rid=%d",rid) |
| 169 | 169 | ); |
| 170 | 170 | } |
| 171 | + | |
| 172 | +/* | |
| 173 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 174 | + */ | |
| 175 | + | |
| 171 | 176 |
| --- src/pivot.c | |
| +++ src/pivot.c | |
| @@ -166,5 +166,10 @@ | |
| 166 | rid = pivot_find(); |
| 167 | printf("pivot=%s\n", |
| 168 | db_text("?","SELECT uuid FROM blob WHERE rid=%d",rid) |
| 169 | ); |
| 170 | } |
| 171 |
| --- src/pivot.c | |
| +++ src/pivot.c | |
| @@ -166,5 +166,10 @@ | |
| 166 | rid = pivot_find(); |
| 167 | printf("pivot=%s\n", |
| 168 | db_text("?","SELECT uuid FROM blob WHERE rid=%d",rid) |
| 169 | ); |
| 170 | } |
| 171 | |
| 172 | /* |
| 173 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 174 | */ |
| 175 | |
| 176 |
+5
| --- src/popen.c | ||
| +++ src/popen.c | ||
| @@ -213,5 +213,10 @@ | ||
| 213 | 213 | close(fdIn); |
| 214 | 214 | fclose(pOut); |
| 215 | 215 | kill(childPid, SIGINT); |
| 216 | 216 | #endif |
| 217 | 217 | } |
| 218 | + | |
| 219 | +/* | |
| 220 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 221 | + */ | |
| 222 | + | |
| 218 | 223 |
| --- src/popen.c | |
| +++ src/popen.c | |
| @@ -213,5 +213,10 @@ | |
| 213 | close(fdIn); |
| 214 | fclose(pOut); |
| 215 | kill(childPid, SIGINT); |
| 216 | #endif |
| 217 | } |
| 218 |
| --- src/popen.c | |
| +++ src/popen.c | |
| @@ -213,5 +213,10 @@ | |
| 213 | close(fdIn); |
| 214 | fclose(pOut); |
| 215 | kill(childPid, SIGINT); |
| 216 | #endif |
| 217 | } |
| 218 | |
| 219 | /* |
| 220 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 221 | */ |
| 222 | |
| 223 |
+5
| --- src/pqueue.c | ||
| +++ src/pqueue.c | ||
| @@ -108,5 +108,10 @@ | ||
| 108 | 108 | p->a[i] = p->a[i+1]; |
| 109 | 109 | } |
| 110 | 110 | p->cnt--; |
| 111 | 111 | return e; |
| 112 | 112 | } |
| 113 | + | |
| 114 | +/* | |
| 115 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 116 | + */ | |
| 117 | + | |
| 113 | 118 |
| --- src/pqueue.c | |
| +++ src/pqueue.c | |
| @@ -108,5 +108,10 @@ | |
| 108 | p->a[i] = p->a[i+1]; |
| 109 | } |
| 110 | p->cnt--; |
| 111 | return e; |
| 112 | } |
| 113 |
| --- src/pqueue.c | |
| +++ src/pqueue.c | |
| @@ -108,5 +108,10 @@ | |
| 108 | p->a[i] = p->a[i+1]; |
| 109 | } |
| 110 | p->cnt--; |
| 111 | return e; |
| 112 | } |
| 113 | |
| 114 | /* |
| 115 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 116 | */ |
| 117 | |
| 118 |
+5
| --- src/printf.c | ||
| +++ src/printf.c | ||
| @@ -891,5 +891,10 @@ | ||
| 891 | 891 | nByte = strlen(zB); |
| 892 | 892 | rc = sqlite3_strnicmp(zA, zB, nByte); |
| 893 | 893 | if( rc==0 && zA[nByte] ) rc = 1; |
| 894 | 894 | return rc; |
| 895 | 895 | } |
| 896 | + | |
| 897 | +/* | |
| 898 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 899 | + */ | |
| 900 | + | |
| 896 | 901 |
| --- src/printf.c | |
| +++ src/printf.c | |
| @@ -891,5 +891,10 @@ | |
| 891 | nByte = strlen(zB); |
| 892 | rc = sqlite3_strnicmp(zA, zB, nByte); |
| 893 | if( rc==0 && zA[nByte] ) rc = 1; |
| 894 | return rc; |
| 895 | } |
| 896 |
| --- src/printf.c | |
| +++ src/printf.c | |
| @@ -891,5 +891,10 @@ | |
| 891 | nByte = strlen(zB); |
| 892 | rc = sqlite3_strnicmp(zA, zB, nByte); |
| 893 | if( rc==0 && zA[nByte] ) rc = 1; |
| 894 | return rc; |
| 895 | } |
| 896 | |
| 897 | /* |
| 898 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 899 | */ |
| 900 | |
| 901 |
+5
| --- src/rebuild.c | ||
| +++ src/rebuild.c | ||
| @@ -1026,5 +1026,10 @@ | ||
| 1026 | 1026 | |
| 1027 | 1027 | /* free filename format string */ |
| 1028 | 1028 | free(zFNameFormat); |
| 1029 | 1029 | zFNameFormat = 0; |
| 1030 | 1030 | } |
| 1031 | + | |
| 1032 | +/* | |
| 1033 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1034 | + */ | |
| 1035 | + | |
| 1031 | 1036 |
| --- src/rebuild.c | |
| +++ src/rebuild.c | |
| @@ -1026,5 +1026,10 @@ | |
| 1026 | |
| 1027 | /* free filename format string */ |
| 1028 | free(zFNameFormat); |
| 1029 | zFNameFormat = 0; |
| 1030 | } |
| 1031 |
| --- src/rebuild.c | |
| +++ src/rebuild.c | |
| @@ -1026,5 +1026,10 @@ | |
| 1026 | |
| 1027 | /* free filename format string */ |
| 1028 | free(zFNameFormat); |
| 1029 | zFNameFormat = 0; |
| 1030 | } |
| 1031 | |
| 1032 | /* |
| 1033 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1034 | */ |
| 1035 | |
| 1036 |
+5
| --- src/report.c | ||
| +++ src/report.c | ||
| @@ -1138,5 +1138,10 @@ | ||
| 1138 | 1138 | report_unrestrict_sql(); |
| 1139 | 1139 | if( zFilter ){ |
| 1140 | 1140 | free(zSql); |
| 1141 | 1141 | } |
| 1142 | 1142 | } |
| 1143 | + | |
| 1144 | +/* | |
| 1145 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1146 | + */ | |
| 1147 | + | |
| 1143 | 1148 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -1138,5 +1138,10 @@ | |
| 1138 | report_unrestrict_sql(); |
| 1139 | if( zFilter ){ |
| 1140 | free(zSql); |
| 1141 | } |
| 1142 | } |
| 1143 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -1138,5 +1138,10 @@ | |
| 1138 | report_unrestrict_sql(); |
| 1139 | if( zFilter ){ |
| 1140 | free(zSql); |
| 1141 | } |
| 1142 | } |
| 1143 | |
| 1144 | /* |
| 1145 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1146 | */ |
| 1147 | |
| 1148 |
+5
| --- src/rss.c | ||
| +++ src/rss.c | ||
| @@ -145,5 +145,10 @@ | ||
| 145 | 145 | |
| 146 | 146 | if( zFreeProjectName != 0 ){ |
| 147 | 147 | free( zFreeProjectName ); |
| 148 | 148 | } |
| 149 | 149 | } |
| 150 | + | |
| 151 | +/* | |
| 152 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 153 | + */ | |
| 154 | + | |
| 150 | 155 |
| --- src/rss.c | |
| +++ src/rss.c | |
| @@ -145,5 +145,10 @@ | |
| 145 | |
| 146 | if( zFreeProjectName != 0 ){ |
| 147 | free( zFreeProjectName ); |
| 148 | } |
| 149 | } |
| 150 |
| --- src/rss.c | |
| +++ src/rss.c | |
| @@ -145,5 +145,10 @@ | |
| 145 | |
| 146 | if( zFreeProjectName != 0 ){ |
| 147 | free( zFreeProjectName ); |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | /* |
| 152 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 153 | */ |
| 154 | |
| 155 |
+5
| --- src/schema.c | ||
| +++ src/schema.c | ||
| @@ -484,5 +484,10 @@ | ||
| 484 | 484 | @ merge INTEGER, -- Merged with this record |
| 485 | 485 | @ UNIQUE(id, merge) |
| 486 | 486 | @ ); |
| 487 | 487 | @ |
| 488 | 488 | ; |
| 489 | + | |
| 490 | +/* | |
| 491 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 492 | + */ | |
| 493 | + | |
| 489 | 494 |
| --- src/schema.c | |
| +++ src/schema.c | |
| @@ -484,5 +484,10 @@ | |
| 484 | @ merge INTEGER, -- Merged with this record |
| 485 | @ UNIQUE(id, merge) |
| 486 | @ ); |
| 487 | @ |
| 488 | ; |
| 489 |
| --- src/schema.c | |
| +++ src/schema.c | |
| @@ -484,5 +484,10 @@ | |
| 484 | @ merge INTEGER, -- Merged with this record |
| 485 | @ UNIQUE(id, merge) |
| 486 | @ ); |
| 487 | @ |
| 488 | ; |
| 489 | |
| 490 | /* |
| 491 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 492 | */ |
| 493 | |
| 494 |
+5
| --- src/search.c | ||
| +++ src/search.c | ||
| @@ -206,5 +206,10 @@ | ||
| 206 | 206 | iBest/3 |
| 207 | 207 | ); |
| 208 | 208 | print_timeline(&q, 1000, 0); |
| 209 | 209 | db_finalize(&q); |
| 210 | 210 | } |
| 211 | + | |
| 212 | +/* | |
| 213 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 214 | + */ | |
| 215 | + | |
| 211 | 216 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -206,5 +206,10 @@ | |
| 206 | iBest/3 |
| 207 | ); |
| 208 | print_timeline(&q, 1000, 0); |
| 209 | db_finalize(&q); |
| 210 | } |
| 211 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -206,5 +206,10 @@ | |
| 206 | iBest/3 |
| 207 | ); |
| 208 | print_timeline(&q, 1000, 0); |
| 209 | db_finalize(&q); |
| 210 | } |
| 211 | |
| 212 | /* |
| 213 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 214 | */ |
| 215 | |
| 216 |
+5
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -1383,5 +1383,10 @@ | ||
| 1383 | 1383 | @ browser after changing the logo to provoke your browser to reload the new |
| 1384 | 1384 | @ logo image. </p> |
| 1385 | 1385 | style_footer(); |
| 1386 | 1386 | db_end_transaction(0); |
| 1387 | 1387 | } |
| 1388 | + | |
| 1389 | +/* | |
| 1390 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1391 | + */ | |
| 1392 | + | |
| 1388 | 1393 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1383,5 +1383,10 @@ | |
| 1383 | @ browser after changing the logo to provoke your browser to reload the new |
| 1384 | @ logo image. </p> |
| 1385 | style_footer(); |
| 1386 | db_end_transaction(0); |
| 1387 | } |
| 1388 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1383,5 +1383,10 @@ | |
| 1383 | @ browser after changing the logo to provoke your browser to reload the new |
| 1384 | @ logo image. </p> |
| 1385 | style_footer(); |
| 1386 | db_end_transaction(0); |
| 1387 | } |
| 1388 | |
| 1389 | /* |
| 1390 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1391 | */ |
| 1392 | |
| 1393 |
+5
| --- src/sha1.c | ||
| +++ src/sha1.c | ||
| @@ -460,5 +460,10 @@ | ||
| 460 | 460 | } |
| 461 | 461 | fossil_print("%s %s\n", blob_str(&cksum), g.argv[i]); |
| 462 | 462 | blob_reset(&cksum); |
| 463 | 463 | } |
| 464 | 464 | } |
| 465 | + | |
| 466 | +/* | |
| 467 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 468 | + */ | |
| 469 | + | |
| 465 | 470 |
| --- src/sha1.c | |
| +++ src/sha1.c | |
| @@ -460,5 +460,10 @@ | |
| 460 | } |
| 461 | fossil_print("%s %s\n", blob_str(&cksum), g.argv[i]); |
| 462 | blob_reset(&cksum); |
| 463 | } |
| 464 | } |
| 465 |
| --- src/sha1.c | |
| +++ src/sha1.c | |
| @@ -460,5 +460,10 @@ | |
| 460 | } |
| 461 | fossil_print("%s %s\n", blob_str(&cksum), g.argv[i]); |
| 462 | blob_reset(&cksum); |
| 463 | } |
| 464 | } |
| 465 | |
| 466 | /* |
| 467 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 468 | */ |
| 469 | |
| 470 |
+5
| --- src/shell.c | ||
| +++ src/shell.c | ||
| @@ -3052,5 +3052,10 @@ | ||
| 3052 | 3052 | if( data.db ){ |
| 3053 | 3053 | sqlite3_close(data.db); |
| 3054 | 3054 | } |
| 3055 | 3055 | return rc; |
| 3056 | 3056 | } |
| 3057 | + | |
| 3058 | +/* | |
| 3059 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 3060 | + */ | |
| 3061 | + | |
| 3057 | 3062 |
| --- src/shell.c | |
| +++ src/shell.c | |
| @@ -3052,5 +3052,10 @@ | |
| 3052 | if( data.db ){ |
| 3053 | sqlite3_close(data.db); |
| 3054 | } |
| 3055 | return rc; |
| 3056 | } |
| 3057 |
| --- src/shell.c | |
| +++ src/shell.c | |
| @@ -3052,5 +3052,10 @@ | |
| 3052 | if( data.db ){ |
| 3053 | sqlite3_close(data.db); |
| 3054 | } |
| 3055 | return rc; |
| 3056 | } |
| 3057 | |
| 3058 | /* |
| 3059 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 3060 | */ |
| 3061 | |
| 3062 |
+5
| --- src/shun.c | ||
| +++ src/shun.c | ||
| @@ -324,5 +324,10 @@ | ||
| 324 | 324 | @ </td></tr> |
| 325 | 325 | @ </table> |
| 326 | 326 | db_finalize(&q); |
| 327 | 327 | style_footer(); |
| 328 | 328 | } |
| 329 | + | |
| 330 | +/* | |
| 331 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 332 | + */ | |
| 333 | + | |
| 329 | 334 |
| --- src/shun.c | |
| +++ src/shun.c | |
| @@ -324,5 +324,10 @@ | |
| 324 | @ </td></tr> |
| 325 | @ </table> |
| 326 | db_finalize(&q); |
| 327 | style_footer(); |
| 328 | } |
| 329 |
| --- src/shun.c | |
| +++ src/shun.c | |
| @@ -324,5 +324,10 @@ | |
| 324 | @ </td></tr> |
| 325 | @ </table> |
| 326 | db_finalize(&q); |
| 327 | style_footer(); |
| 328 | } |
| 329 | |
| 330 | /* |
| 331 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 332 | */ |
| 333 | |
| 334 |
+5
| --- src/skins.c | ||
| +++ src/skins.c | ||
| @@ -1153,5 +1153,10 @@ | ||
| 1153 | 1153 | db_finalize(&q); |
| 1154 | 1154 | @ </ol> |
| 1155 | 1155 | style_footer(); |
| 1156 | 1156 | db_end_transaction(0); |
| 1157 | 1157 | } |
| 1158 | + | |
| 1159 | +/* | |
| 1160 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1161 | + */ | |
| 1162 | + | |
| 1158 | 1163 |
| --- src/skins.c | |
| +++ src/skins.c | |
| @@ -1153,5 +1153,10 @@ | |
| 1153 | db_finalize(&q); |
| 1154 | @ </ol> |
| 1155 | style_footer(); |
| 1156 | db_end_transaction(0); |
| 1157 | } |
| 1158 |
| --- src/skins.c | |
| +++ src/skins.c | |
| @@ -1153,5 +1153,10 @@ | |
| 1153 | db_finalize(&q); |
| 1154 | @ </ol> |
| 1155 | style_footer(); |
| 1156 | db_end_transaction(0); |
| 1157 | } |
| 1158 | |
| 1159 | /* |
| 1160 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1161 | */ |
| 1162 | |
| 1163 |
+5
| --- src/sqlcmd.c | ||
| +++ src/sqlcmd.c | ||
| @@ -151,5 +151,10 @@ | ||
| 151 | 151 | */ |
| 152 | 152 | void fossil_open(const char **pzRepoName){ |
| 153 | 153 | sqlite3_auto_extension((void(*)(void))sqlcmd_autoinit); |
| 154 | 154 | *pzRepoName = g.zRepositoryName; |
| 155 | 155 | } |
| 156 | + | |
| 157 | +/* | |
| 158 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 159 | + */ | |
| 160 | + | |
| 156 | 161 |
| --- src/sqlcmd.c | |
| +++ src/sqlcmd.c | |
| @@ -151,5 +151,10 @@ | |
| 151 | */ |
| 152 | void fossil_open(const char **pzRepoName){ |
| 153 | sqlite3_auto_extension((void(*)(void))sqlcmd_autoinit); |
| 154 | *pzRepoName = g.zRepositoryName; |
| 155 | } |
| 156 |
| --- src/sqlcmd.c | |
| +++ src/sqlcmd.c | |
| @@ -151,5 +151,10 @@ | |
| 151 | */ |
| 152 | void fossil_open(const char **pzRepoName){ |
| 153 | sqlite3_auto_extension((void(*)(void))sqlcmd_autoinit); |
| 154 | *pzRepoName = g.zRepositoryName; |
| 155 | } |
| 156 | |
| 157 | /* |
| 158 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 159 | */ |
| 160 | |
| 161 |
+5
| --- src/sqlite3.c | ||
| +++ src/sqlite3.c | ||
| @@ -134124,5 +134124,10 @@ | ||
| 134124 | 134124 | |
| 134125 | 134125 | #endif /* defined(SQLITE_ENABLE_ICU) */ |
| 134126 | 134126 | #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ |
| 134127 | 134127 | |
| 134128 | 134128 | /************** End of fts3_icu.c ********************************************/ |
| 134129 | + | |
| 134130 | +/* | |
| 134131 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 134132 | + */ | |
| 134133 | + | |
| 134129 | 134134 |
| --- src/sqlite3.c | |
| +++ src/sqlite3.c | |
| @@ -134124,5 +134124,10 @@ | |
| 134124 | |
| 134125 | #endif /* defined(SQLITE_ENABLE_ICU) */ |
| 134126 | #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ |
| 134127 | |
| 134128 | /************** End of fts3_icu.c ********************************************/ |
| 134129 |
| --- src/sqlite3.c | |
| +++ src/sqlite3.c | |
| @@ -134124,5 +134124,10 @@ | |
| 134124 | |
| 134125 | #endif /* defined(SQLITE_ENABLE_ICU) */ |
| 134126 | #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ |
| 134127 | |
| 134128 | /************** End of fts3_icu.c ********************************************/ |
| 134129 | |
| 134130 | /* |
| 134131 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 134132 | */ |
| 134133 | |
| 134134 |
+5
| --- src/sqlite3.h | ||
| +++ src/sqlite3.h | ||
| @@ -6995,5 +6995,10 @@ | ||
| 6995 | 6995 | } /* end of the 'extern "C"' block */ |
| 6996 | 6996 | #endif |
| 6997 | 6997 | |
| 6998 | 6998 | #endif /* ifndef _SQLITE3RTREE_H_ */ |
| 6999 | 6999 | |
| 7000 | + | |
| 7001 | +/* | |
| 7002 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 7003 | + */ | |
| 7004 | + | |
| 7000 | 7005 |
| --- src/sqlite3.h | |
| +++ src/sqlite3.h | |
| @@ -6995,5 +6995,10 @@ | |
| 6995 | } /* end of the 'extern "C"' block */ |
| 6996 | #endif |
| 6997 | |
| 6998 | #endif /* ifndef _SQLITE3RTREE_H_ */ |
| 6999 | |
| 7000 |
| --- src/sqlite3.h | |
| +++ src/sqlite3.h | |
| @@ -6995,5 +6995,10 @@ | |
| 6995 | } /* end of the 'extern "C"' block */ |
| 6996 | #endif |
| 6997 | |
| 6998 | #endif /* ifndef _SQLITE3RTREE_H_ */ |
| 6999 | |
| 7000 | |
| 7001 | /* |
| 7002 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 7003 | */ |
| 7004 | |
| 7005 |
+5
| --- src/stash.c | ||
| +++ src/stash.c | ||
| @@ -573,5 +573,10 @@ | ||
| 573 | 573 | { |
| 574 | 574 | usage("SUBCOMMAND ARGS..."); |
| 575 | 575 | } |
| 576 | 576 | db_end_transaction(0); |
| 577 | 577 | } |
| 578 | + | |
| 579 | +/* | |
| 580 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 581 | + */ | |
| 582 | + | |
| 578 | 583 |
| --- src/stash.c | |
| +++ src/stash.c | |
| @@ -573,5 +573,10 @@ | |
| 573 | { |
| 574 | usage("SUBCOMMAND ARGS..."); |
| 575 | } |
| 576 | db_end_transaction(0); |
| 577 | } |
| 578 |
| --- src/stash.c | |
| +++ src/stash.c | |
| @@ -573,5 +573,10 @@ | |
| 573 | { |
| 574 | usage("SUBCOMMAND ARGS..."); |
| 575 | } |
| 576 | db_end_transaction(0); |
| 577 | } |
| 578 | |
| 579 | /* |
| 580 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 581 | */ |
| 582 | |
| 583 |
+5
| --- src/stat.c | ||
| +++ src/stat.c | ||
| @@ -124,5 +124,10 @@ | ||
| 124 | 124 | @ </td></tr> |
| 125 | 125 | |
| 126 | 126 | @ </table> |
| 127 | 127 | style_footer(); |
| 128 | 128 | } |
| 129 | + | |
| 130 | +/* | |
| 131 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 132 | + */ | |
| 133 | + | |
| 129 | 134 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -124,5 +124,10 @@ | |
| 124 | @ </td></tr> |
| 125 | |
| 126 | @ </table> |
| 127 | style_footer(); |
| 128 | } |
| 129 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -124,5 +124,10 @@ | |
| 124 | @ </td></tr> |
| 125 | |
| 126 | @ </table> |
| 127 | style_footer(); |
| 128 | } |
| 129 | |
| 130 | /* |
| 131 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 132 | */ |
| 133 | |
| 134 |
+5
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -877,5 +877,10 @@ | ||
| 877 | 877 | const char *zRedir = P("redirect"); |
| 878 | 878 | if( zRedir ) cgi_redirect(zRedir); |
| 879 | 879 | } |
| 880 | 880 | style_footer(); |
| 881 | 881 | } |
| 882 | + | |
| 883 | +/* | |
| 884 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 885 | + */ | |
| 886 | + | |
| 882 | 887 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -877,5 +877,10 @@ | |
| 877 | const char *zRedir = P("redirect"); |
| 878 | if( zRedir ) cgi_redirect(zRedir); |
| 879 | } |
| 880 | style_footer(); |
| 881 | } |
| 882 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -877,5 +877,10 @@ | |
| 877 | const char *zRedir = P("redirect"); |
| 878 | if( zRedir ) cgi_redirect(zRedir); |
| 879 | } |
| 880 | style_footer(); |
| 881 | } |
| 882 | |
| 883 | /* |
| 884 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 885 | */ |
| 886 | |
| 887 |
+5
| --- src/sync.c | ||
| +++ src/sync.c | ||
| @@ -281,5 +281,10 @@ | ||
| 281 | 281 | }else{ |
| 282 | 282 | url_parse(zUrl); |
| 283 | 283 | fossil_print("%s\n", g.urlCanonical); |
| 284 | 284 | } |
| 285 | 285 | } |
| 286 | + | |
| 287 | +/* | |
| 288 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 289 | + */ | |
| 290 | + | |
| 286 | 291 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -281,5 +281,10 @@ | |
| 281 | }else{ |
| 282 | url_parse(zUrl); |
| 283 | fossil_print("%s\n", g.urlCanonical); |
| 284 | } |
| 285 | } |
| 286 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -281,5 +281,10 @@ | |
| 281 | }else{ |
| 282 | url_parse(zUrl); |
| 283 | fossil_print("%s\n", g.urlCanonical); |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | /* |
| 288 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 289 | */ |
| 290 | |
| 291 |
+5
| --- src/tag.c | ||
| +++ src/tag.c | ||
| @@ -592,5 +592,10 @@ | ||
| 592 | 592 | @ function xout(id){ |
| 593 | 593 | @ } |
| 594 | 594 | @ </script> |
| 595 | 595 | style_footer(); |
| 596 | 596 | } |
| 597 | + | |
| 598 | +/* | |
| 599 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 600 | + */ | |
| 601 | + | |
| 597 | 602 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -592,5 +592,10 @@ | |
| 592 | @ function xout(id){ |
| 593 | @ } |
| 594 | @ </script> |
| 595 | style_footer(); |
| 596 | } |
| 597 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -592,5 +592,10 @@ | |
| 592 | @ function xout(id){ |
| 593 | @ } |
| 594 | @ </script> |
| 595 | style_footer(); |
| 596 | } |
| 597 | |
| 598 | /* |
| 599 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 600 | */ |
| 601 | |
| 602 |
+5
| --- src/tar.c | ||
| +++ src/tar.c | ||
| @@ -604,5 +604,10 @@ | ||
| 604 | 604 | free( zName ); |
| 605 | 605 | free( zRid ); |
| 606 | 606 | cgi_set_content(&tarball); |
| 607 | 607 | cgi_set_content_type("application/x-compressed"); |
| 608 | 608 | } |
| 609 | + | |
| 610 | +/* | |
| 611 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 612 | + */ | |
| 613 | + | |
| 609 | 614 |
| --- src/tar.c | |
| +++ src/tar.c | |
| @@ -604,5 +604,10 @@ | |
| 604 | free( zName ); |
| 605 | free( zRid ); |
| 606 | cgi_set_content(&tarball); |
| 607 | cgi_set_content_type("application/x-compressed"); |
| 608 | } |
| 609 |
| --- src/tar.c | |
| +++ src/tar.c | |
| @@ -604,5 +604,10 @@ | |
| 604 | free( zName ); |
| 605 | free( zRid ); |
| 606 | cgi_set_content(&tarball); |
| 607 | cgi_set_content_type("application/x-compressed"); |
| 608 | } |
| 609 | |
| 610 | /* |
| 611 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 612 | */ |
| 613 | |
| 614 |
M
src/th.c
+5
| --- src/th.c | ||
| +++ src/th.c | ||
| @@ -2605,5 +2605,10 @@ | ||
| 2605 | 2605 | } |
| 2606 | 2606 | |
| 2607 | 2607 | *z = '\0'; |
| 2608 | 2608 | return Th_SetResult(interp, zBuf, -1); |
| 2609 | 2609 | } |
| 2610 | + | |
| 2611 | +/* | |
| 2612 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 2613 | + */ | |
| 2614 | + | |
| 2610 | 2615 |
| --- src/th.c | |
| +++ src/th.c | |
| @@ -2605,5 +2605,10 @@ | |
| 2605 | } |
| 2606 | |
| 2607 | *z = '\0'; |
| 2608 | return Th_SetResult(interp, zBuf, -1); |
| 2609 | } |
| 2610 |
| --- src/th.c | |
| +++ src/th.c | |
| @@ -2605,5 +2605,10 @@ | |
| 2605 | } |
| 2606 | |
| 2607 | *z = '\0'; |
| 2608 | return Th_SetResult(interp, zBuf, -1); |
| 2609 | } |
| 2610 | |
| 2611 | /* |
| 2612 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 2613 | */ |
| 2614 | |
| 2615 |
M
src/th.h
+5
| --- src/th.h | ||
| +++ src/th.h | ||
| @@ -179,5 +179,10 @@ | ||
| 179 | 179 | */ |
| 180 | 180 | int Th_WrongNumArgs(Th_Interp *interp, const char *zMsg); |
| 181 | 181 | |
| 182 | 182 | typedef struct Th_SubCommand {char *zName; Th_CommandProc xProc;} Th_SubCommand; |
| 183 | 183 | int Th_CallSubCommand(Th_Interp*,void*,int,const char**,int*,Th_SubCommand*); |
| 184 | + | |
| 185 | +/* | |
| 186 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 187 | + */ | |
| 188 | + | |
| 184 | 189 |
| --- src/th.h | |
| +++ src/th.h | |
| @@ -179,5 +179,10 @@ | |
| 179 | */ |
| 180 | int Th_WrongNumArgs(Th_Interp *interp, const char *zMsg); |
| 181 | |
| 182 | typedef struct Th_SubCommand {char *zName; Th_CommandProc xProc;} Th_SubCommand; |
| 183 | int Th_CallSubCommand(Th_Interp*,void*,int,const char**,int*,Th_SubCommand*); |
| 184 |
| --- src/th.h | |
| +++ src/th.h | |
| @@ -179,5 +179,10 @@ | |
| 179 | */ |
| 180 | int Th_WrongNumArgs(Th_Interp *interp, const char *zMsg); |
| 181 | |
| 182 | typedef struct Th_SubCommand {char *zName; Th_CommandProc xProc;} Th_SubCommand; |
| 183 | int Th_CallSubCommand(Th_Interp*,void*,int,const char**,int*,Th_SubCommand*); |
| 184 | |
| 185 | /* |
| 186 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 187 | */ |
| 188 | |
| 189 |
+5
| --- src/th_lang.c | ||
| +++ src/th_lang.c | ||
| @@ -1068,5 +1068,10 @@ | ||
| 1068 | 1068 | Th_CreateCommand(interp, aCommand[i].zName, aCommand[i].xProc, ctx, 0); |
| 1069 | 1069 | } |
| 1070 | 1070 | |
| 1071 | 1071 | return TH_OK; |
| 1072 | 1072 | } |
| 1073 | + | |
| 1074 | +/* | |
| 1075 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1076 | + */ | |
| 1077 | + | |
| 1073 | 1078 |
| --- src/th_lang.c | |
| +++ src/th_lang.c | |
| @@ -1068,5 +1068,10 @@ | |
| 1068 | Th_CreateCommand(interp, aCommand[i].zName, aCommand[i].xProc, ctx, 0); |
| 1069 | } |
| 1070 | |
| 1071 | return TH_OK; |
| 1072 | } |
| 1073 |
| --- src/th_lang.c | |
| +++ src/th_lang.c | |
| @@ -1068,5 +1068,10 @@ | |
| 1068 | Th_CreateCommand(interp, aCommand[i].zName, aCommand[i].xProc, ctx, 0); |
| 1069 | } |
| 1070 | |
| 1071 | return TH_OK; |
| 1072 | } |
| 1073 | |
| 1074 | /* |
| 1075 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1076 | */ |
| 1077 | |
| 1078 |
+5
| --- src/th_main.c | ||
| +++ src/th_main.c | ||
| @@ -574,5 +574,10 @@ | ||
| 574 | 574 | db_open_config(0); /* Needed for global "tcl" setting. */ |
| 575 | 575 | blob_zero(&in); |
| 576 | 576 | blob_read_from_file(&in, g.argv[2]); |
| 577 | 577 | Th_Render(blob_str(&in)); |
| 578 | 578 | } |
| 579 | + | |
| 580 | +/* | |
| 581 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 582 | + */ | |
| 583 | + | |
| 579 | 584 |
| --- src/th_main.c | |
| +++ src/th_main.c | |
| @@ -574,5 +574,10 @@ | |
| 574 | db_open_config(0); /* Needed for global "tcl" setting. */ |
| 575 | blob_zero(&in); |
| 576 | blob_read_from_file(&in, g.argv[2]); |
| 577 | Th_Render(blob_str(&in)); |
| 578 | } |
| 579 |
| --- src/th_main.c | |
| +++ src/th_main.c | |
| @@ -574,5 +574,10 @@ | |
| 574 | db_open_config(0); /* Needed for global "tcl" setting. */ |
| 575 | blob_zero(&in); |
| 576 | blob_read_from_file(&in, g.argv[2]); |
| 577 | Th_Render(blob_str(&in)); |
| 578 | } |
| 579 | |
| 580 | /* |
| 581 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 582 | */ |
| 583 | |
| 584 |
+5
| --- src/th_tcl.c | ||
| +++ src/th_tcl.c | ||
| @@ -434,5 +434,10 @@ | ||
| 434 | 434 | } |
| 435 | 435 | return TH_OK; |
| 436 | 436 | } |
| 437 | 437 | |
| 438 | 438 | #endif /* FOSSIL_ENABLE_TCL */ |
| 439 | + | |
| 440 | +/* | |
| 441 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 442 | + */ | |
| 443 | + | |
| 439 | 444 |
| --- src/th_tcl.c | |
| +++ src/th_tcl.c | |
| @@ -434,5 +434,10 @@ | |
| 434 | } |
| 435 | return TH_OK; |
| 436 | } |
| 437 | |
| 438 | #endif /* FOSSIL_ENABLE_TCL */ |
| 439 |
| --- src/th_tcl.c | |
| +++ src/th_tcl.c | |
| @@ -434,5 +434,10 @@ | |
| 434 | } |
| 435 | return TH_OK; |
| 436 | } |
| 437 | |
| 438 | #endif /* FOSSIL_ENABLE_TCL */ |
| 439 | |
| 440 | /* |
| 441 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 442 | */ |
| 443 | |
| 444 |
+5
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1640,5 +1640,10 @@ | ||
| 1640 | 1640 | @ <a href="%s(g.zTop)/timeline?p=%S(zUuid)&d=%S(zUuid)">%S(zUuid)</a> |
| 1641 | 1641 | } |
| 1642 | 1642 | db_finalize(&q); |
| 1643 | 1643 | style_footer(); |
| 1644 | 1644 | } |
| 1645 | + | |
| 1646 | +/* | |
| 1647 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1648 | + */ | |
| 1649 | + | |
| 1645 | 1650 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1640,5 +1640,10 @@ | |
| 1640 | @ <a href="%s(g.zTop)/timeline?p=%S(zUuid)&d=%S(zUuid)">%S(zUuid)</a> |
| 1641 | } |
| 1642 | db_finalize(&q); |
| 1643 | style_footer(); |
| 1644 | } |
| 1645 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1640,5 +1640,10 @@ | |
| 1640 | @ <a href="%s(g.zTop)/timeline?p=%S(zUuid)&d=%S(zUuid)">%S(zUuid)</a> |
| 1641 | } |
| 1642 | db_finalize(&q); |
| 1643 | style_footer(); |
| 1644 | } |
| 1645 | |
| 1646 | /* |
| 1647 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1648 | */ |
| 1649 | |
| 1650 |
+5
| --- src/tkt.c | ||
| +++ src/tkt.c | ||
| @@ -1182,5 +1182,10 @@ | ||
| 1182 | 1182 | (eCmd==set?"set":"add"),zTktUuid); |
| 1183 | 1183 | } |
| 1184 | 1184 | } |
| 1185 | 1185 | } |
| 1186 | 1186 | } |
| 1187 | + | |
| 1188 | +/* | |
| 1189 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1190 | + */ | |
| 1191 | + | |
| 1187 | 1192 |
| --- src/tkt.c | |
| +++ src/tkt.c | |
| @@ -1182,5 +1182,10 @@ | |
| 1182 | (eCmd==set?"set":"add"),zTktUuid); |
| 1183 | } |
| 1184 | } |
| 1185 | } |
| 1186 | } |
| 1187 |
| --- src/tkt.c | |
| +++ src/tkt.c | |
| @@ -1182,5 +1182,10 @@ | |
| 1182 | (eCmd==set?"set":"add"),zTktUuid); |
| 1183 | } |
| 1184 | } |
| 1185 | } |
| 1186 | } |
| 1187 | |
| 1188 | /* |
| 1189 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1190 | */ |
| 1191 | |
| 1192 |
+5
| --- src/tktsetup.c | ||
| +++ src/tktsetup.c | ||
| @@ -760,5 +760,10 @@ | ||
| 760 | 760 | @ </div></form> |
| 761 | 761 | db_end_transaction(0); |
| 762 | 762 | style_footer(); |
| 763 | 763 | |
| 764 | 764 | } |
| 765 | + | |
| 766 | +/* | |
| 767 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 768 | + */ | |
| 769 | + | |
| 765 | 770 |
| --- src/tktsetup.c | |
| +++ src/tktsetup.c | |
| @@ -760,5 +760,10 @@ | |
| 760 | @ </div></form> |
| 761 | db_end_transaction(0); |
| 762 | style_footer(); |
| 763 | |
| 764 | } |
| 765 |
| --- src/tktsetup.c | |
| +++ src/tktsetup.c | |
| @@ -760,5 +760,10 @@ | |
| 760 | @ </div></form> |
| 761 | db_end_transaction(0); |
| 762 | style_footer(); |
| 763 | |
| 764 | } |
| 765 | |
| 766 | /* |
| 767 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 768 | */ |
| 769 | |
| 770 |
+5
| --- src/translate.c | ||
| +++ src/translate.c | ||
| @@ -182,5 +182,10 @@ | ||
| 182 | 182 | }else{ |
| 183 | 183 | trans(stdin, stdout); |
| 184 | 184 | } |
| 185 | 185 | return 0; |
| 186 | 186 | } |
| 187 | + | |
| 188 | +/* | |
| 189 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 190 | + */ | |
| 191 | + | |
| 187 | 192 |
| --- src/translate.c | |
| +++ src/translate.c | |
| @@ -182,5 +182,10 @@ | |
| 182 | }else{ |
| 183 | trans(stdin, stdout); |
| 184 | } |
| 185 | return 0; |
| 186 | } |
| 187 |
| --- src/translate.c | |
| +++ src/translate.c | |
| @@ -182,5 +182,10 @@ | |
| 182 | }else{ |
| 183 | trans(stdin, stdout); |
| 184 | } |
| 185 | return 0; |
| 186 | } |
| 187 | |
| 188 | /* |
| 189 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 190 | */ |
| 191 | |
| 192 |
+5
| --- src/undo.c | ||
| +++ src/undo.c | ||
| @@ -445,5 +445,10 @@ | ||
| 445 | 445 | show_common_info(vid2, "updated-to:", 1, 0); |
| 446 | 446 | } |
| 447 | 447 | } |
| 448 | 448 | db_end_transaction(0); |
| 449 | 449 | } |
| 450 | + | |
| 451 | +/* | |
| 452 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 453 | + */ | |
| 454 | + | |
| 450 | 455 |
| --- src/undo.c | |
| +++ src/undo.c | |
| @@ -445,5 +445,10 @@ | |
| 445 | show_common_info(vid2, "updated-to:", 1, 0); |
| 446 | } |
| 447 | } |
| 448 | db_end_transaction(0); |
| 449 | } |
| 450 |
| --- src/undo.c | |
| +++ src/undo.c | |
| @@ -445,5 +445,10 @@ | |
| 445 | show_common_info(vid2, "updated-to:", 1, 0); |
| 446 | } |
| 447 | } |
| 448 | db_end_transaction(0); |
| 449 | } |
| 450 | |
| 451 | /* |
| 452 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 453 | */ |
| 454 | |
| 455 |
+5
| --- src/update.c | ||
| +++ src/update.c | ||
| @@ -724,5 +724,10 @@ | ||
| 724 | 724 | } |
| 725 | 725 | db_finalize(&q); |
| 726 | 726 | undo_finish(); |
| 727 | 727 | db_end_transaction(0); |
| 728 | 728 | } |
| 729 | + | |
| 730 | +/* | |
| 731 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 732 | + */ | |
| 733 | + | |
| 729 | 734 |
| --- src/update.c | |
| +++ src/update.c | |
| @@ -724,5 +724,10 @@ | |
| 724 | } |
| 725 | db_finalize(&q); |
| 726 | undo_finish(); |
| 727 | db_end_transaction(0); |
| 728 | } |
| 729 |
| --- src/update.c | |
| +++ src/update.c | |
| @@ -724,5 +724,10 @@ | |
| 724 | } |
| 725 | db_finalize(&q); |
| 726 | undo_finish(); |
| 727 | db_end_transaction(0); |
| 728 | } |
| 729 | |
| 730 | /* |
| 731 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 732 | */ |
| 733 | |
| 734 |
+5
| --- src/url.c | ||
| +++ src/url.c | ||
| @@ -394,5 +394,10 @@ | ||
| 394 | 394 | && isatty(fileno(stdin)) |
| 395 | 395 | ){ |
| 396 | 396 | url_prompt_for_password(); |
| 397 | 397 | } |
| 398 | 398 | } |
| 399 | + | |
| 400 | +/* | |
| 401 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 402 | + */ | |
| 403 | + | |
| 399 | 404 |
| --- src/url.c | |
| +++ src/url.c | |
| @@ -394,5 +394,10 @@ | |
| 394 | && isatty(fileno(stdin)) |
| 395 | ){ |
| 396 | url_prompt_for_password(); |
| 397 | } |
| 398 | } |
| 399 |
| --- src/url.c | |
| +++ src/url.c | |
| @@ -394,5 +394,10 @@ | |
| 394 | && isatty(fileno(stdin)) |
| 395 | ){ |
| 396 | url_prompt_for_password(); |
| 397 | } |
| 398 | } |
| 399 | |
| 400 | /* |
| 401 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 402 | */ |
| 403 | |
| 404 |
+5
| --- src/user.c | ||
| +++ src/user.c | ||
| @@ -486,5 +486,10 @@ | ||
| 486 | 486 | @ Delete all entries</input> |
| 487 | 487 | @ <input type="submit" name="delallbtn" value="Delete"></input> |
| 488 | 488 | @ </form> |
| 489 | 489 | style_footer(); |
| 490 | 490 | } |
| 491 | + | |
| 492 | +/* | |
| 493 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 494 | + */ | |
| 495 | + | |
| 491 | 496 |
| --- src/user.c | |
| +++ src/user.c | |
| @@ -486,5 +486,10 @@ | |
| 486 | @ Delete all entries</input> |
| 487 | @ <input type="submit" name="delallbtn" value="Delete"></input> |
| 488 | @ </form> |
| 489 | style_footer(); |
| 490 | } |
| 491 |
| --- src/user.c | |
| +++ src/user.c | |
| @@ -486,5 +486,10 @@ | |
| 486 | @ Delete all entries</input> |
| 487 | @ <input type="submit" name="delallbtn" value="Delete"></input> |
| 488 | @ </form> |
| 489 | style_footer(); |
| 490 | } |
| 491 | |
| 492 | /* |
| 493 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 494 | */ |
| 495 | |
| 496 |
+5
| --- src/verify.c | ||
| +++ src/verify.c | ||
| @@ -128,5 +128,10 @@ | ||
| 128 | 128 | } |
| 129 | 129 | db_finalize(&q); |
| 130 | 130 | verify_at_commit(); |
| 131 | 131 | assert( bag_count(&toVerify)==0 ); |
| 132 | 132 | } |
| 133 | + | |
| 134 | +/* | |
| 135 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 136 | + */ | |
| 137 | + | |
| 133 | 138 |
| --- src/verify.c | |
| +++ src/verify.c | |
| @@ -128,5 +128,10 @@ | |
| 128 | } |
| 129 | db_finalize(&q); |
| 130 | verify_at_commit(); |
| 131 | assert( bag_count(&toVerify)==0 ); |
| 132 | } |
| 133 |
| --- src/verify.c | |
| +++ src/verify.c | |
| @@ -128,5 +128,10 @@ | |
| 128 | } |
| 129 | db_finalize(&q); |
| 130 | verify_at_commit(); |
| 131 | assert( bag_count(&toVerify)==0 ); |
| 132 | } |
| 133 | |
| 134 | /* |
| 135 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 136 | */ |
| 137 | |
| 138 |
+5
| --- src/vfile.c | ||
| +++ src/vfile.c | ||
| @@ -696,5 +696,10 @@ | ||
| 696 | 696 | blob_reset(&hash); |
| 697 | 697 | vfile_aggregate_checksum_manifest(vid, &hash, &hash2); |
| 698 | 698 | printf("manifest: %s\n", blob_str(&hash)); |
| 699 | 699 | printf("recorded: %s\n", blob_str(&hash2)); |
| 700 | 700 | } |
| 701 | + | |
| 702 | +/* | |
| 703 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 704 | + */ | |
| 705 | + | |
| 701 | 706 |
| --- src/vfile.c | |
| +++ src/vfile.c | |
| @@ -696,5 +696,10 @@ | |
| 696 | blob_reset(&hash); |
| 697 | vfile_aggregate_checksum_manifest(vid, &hash, &hash2); |
| 698 | printf("manifest: %s\n", blob_str(&hash)); |
| 699 | printf("recorded: %s\n", blob_str(&hash2)); |
| 700 | } |
| 701 |
| --- src/vfile.c | |
| +++ src/vfile.c | |
| @@ -696,5 +696,10 @@ | |
| 696 | blob_reset(&hash); |
| 697 | vfile_aggregate_checksum_manifest(vid, &hash, &hash2); |
| 698 | printf("manifest: %s\n", blob_str(&hash)); |
| 699 | printf("recorded: %s\n", blob_str(&hash2)); |
| 700 | } |
| 701 | |
| 702 | /* |
| 703 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 704 | */ |
| 705 | |
| 706 |
+5
| --- src/wiki.c | ||
| +++ src/wiki.c | ||
| @@ -985,5 +985,10 @@ | ||
| 985 | 985 | return; |
| 986 | 986 | |
| 987 | 987 | wiki_cmd_usage: |
| 988 | 988 | usage("export|create|commit|list ..."); |
| 989 | 989 | } |
| 990 | + | |
| 991 | +/* | |
| 992 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 993 | + */ | |
| 994 | + | |
| 990 | 995 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -985,5 +985,10 @@ | |
| 985 | return; |
| 986 | |
| 987 | wiki_cmd_usage: |
| 988 | usage("export|create|commit|list ..."); |
| 989 | } |
| 990 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -985,5 +985,10 @@ | |
| 985 | return; |
| 986 | |
| 987 | wiki_cmd_usage: |
| 988 | usage("export|create|commit|list ..."); |
| 989 | } |
| 990 | |
| 991 | /* |
| 992 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 993 | */ |
| 994 | |
| 995 |
+5
| --- src/wikiformat.c | ||
| +++ src/wikiformat.c | ||
| @@ -1734,5 +1734,10 @@ | ||
| 1734 | 1734 | } |
| 1735 | 1735 | z += n; |
| 1736 | 1736 | } |
| 1737 | 1737 | free(renderer.aStack); |
| 1738 | 1738 | } |
| 1739 | + | |
| 1740 | +/* | |
| 1741 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1742 | + */ | |
| 1743 | + | |
| 1739 | 1744 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1734,5 +1734,10 @@ | |
| 1734 | } |
| 1735 | z += n; |
| 1736 | } |
| 1737 | free(renderer.aStack); |
| 1738 | } |
| 1739 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1734,5 +1734,10 @@ | |
| 1734 | } |
| 1735 | z += n; |
| 1736 | } |
| 1737 | free(renderer.aStack); |
| 1738 | } |
| 1739 | |
| 1740 | /* |
| 1741 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1742 | */ |
| 1743 | |
| 1744 |
+5
| --- src/winhttp.c | ||
| +++ src/winhttp.c | ||
| @@ -849,5 +849,10 @@ | ||
| 849 | 849 | } |
| 850 | 850 | return; |
| 851 | 851 | } |
| 852 | 852 | |
| 853 | 853 | #endif /* _WIN32 -- This code is for win32 only */ |
| 854 | + | |
| 855 | +/* | |
| 856 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 857 | + */ | |
| 858 | + | |
| 854 | 859 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -849,5 +849,10 @@ | |
| 849 | } |
| 850 | return; |
| 851 | } |
| 852 | |
| 853 | #endif /* _WIN32 -- This code is for win32 only */ |
| 854 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -849,5 +849,10 @@ | |
| 849 | } |
| 850 | return; |
| 851 | } |
| 852 | |
| 853 | #endif /* _WIN32 -- This code is for win32 only */ |
| 854 | |
| 855 | /* |
| 856 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 857 | */ |
| 858 | |
| 859 |
+5
| --- src/xfer.c | ||
| +++ src/xfer.c | ||
| @@ -1779,5 +1779,10 @@ | ||
| 1779 | 1779 | manifest_crosslink_end(); |
| 1780 | 1780 | content_enable_dephantomize(1); |
| 1781 | 1781 | db_end_transaction(0); |
| 1782 | 1782 | return nErr; |
| 1783 | 1783 | } |
| 1784 | + | |
| 1785 | +/* | |
| 1786 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 1787 | + */ | |
| 1788 | + | |
| 1784 | 1789 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -1779,5 +1779,10 @@ | |
| 1779 | manifest_crosslink_end(); |
| 1780 | content_enable_dephantomize(1); |
| 1781 | db_end_transaction(0); |
| 1782 | return nErr; |
| 1783 | } |
| 1784 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -1779,5 +1779,10 @@ | |
| 1779 | manifest_crosslink_end(); |
| 1780 | content_enable_dephantomize(1); |
| 1781 | db_end_transaction(0); |
| 1782 | return nErr; |
| 1783 | } |
| 1784 | |
| 1785 | /* |
| 1786 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 1787 | */ |
| 1788 | |
| 1789 |
+5
| --- src/xfersetup.c | ||
| +++ src/xfersetup.c | ||
| @@ -144,5 +144,10 @@ | ||
| 144 | 144 | 0, |
| 145 | 145 | 0, |
| 146 | 146 | 30 |
| 147 | 147 | ); |
| 148 | 148 | } |
| 149 | + | |
| 150 | +/* | |
| 151 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 152 | + */ | |
| 153 | + | |
| 149 | 154 |
| --- src/xfersetup.c | |
| +++ src/xfersetup.c | |
| @@ -144,5 +144,10 @@ | |
| 144 | 0, |
| 145 | 0, |
| 146 | 30 |
| 147 | ); |
| 148 | } |
| 149 |
| --- src/xfersetup.c | |
| +++ src/xfersetup.c | |
| @@ -144,5 +144,10 @@ | |
| 144 | 0, |
| 145 | 0, |
| 146 | 30 |
| 147 | ); |
| 148 | } |
| 149 | |
| 150 | /* |
| 151 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 152 | */ |
| 153 | |
| 154 |
+5
| --- src/zip.c | ||
| +++ src/zip.c | ||
| @@ -449,5 +449,10 @@ | ||
| 449 | 449 | free( zName ); |
| 450 | 450 | free( zRid ); |
| 451 | 451 | cgi_set_content(&zip); |
| 452 | 452 | cgi_set_content_type("application/zip"); |
| 453 | 453 | } |
| 454 | + | |
| 455 | +/* | |
| 456 | + * vim:ts=2:sts=2:et:sw=2:ft=c | |
| 457 | + */ | |
| 458 | + | |
| 454 | 459 |
| --- src/zip.c | |
| +++ src/zip.c | |
| @@ -449,5 +449,10 @@ | |
| 449 | free( zName ); |
| 450 | free( zRid ); |
| 451 | cgi_set_content(&zip); |
| 452 | cgi_set_content_type("application/zip"); |
| 453 | } |
| 454 |
| --- src/zip.c | |
| +++ src/zip.c | |
| @@ -449,5 +449,10 @@ | |
| 449 | free( zName ); |
| 450 | free( zRid ); |
| 451 | cgi_set_content(&zip); |
| 452 | cgi_set_content_type("application/zip"); |
| 453 | } |
| 454 | |
| 455 | /* |
| 456 | * vim:ts=2:sts=2:et:sw=2:ft=c |
| 457 | */ |
| 458 | |
| 459 |