Fossil SCM

merge trunk

jan.nijtmans 2012-09-04 06:52 UTC eclipse-project merge
Commit 26aa3eeab8e333704453c70477893aefade5a6a1
131 files changed +1 -1 +2 -2 +1 -1 +1 -1 +1 -1 +1 -1 +2 -2 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +3 -3 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +2 -2 +1 -1 +2 -2 +2 -2 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +2 -2 +6 -6 +6 -6 +69 -31 +1 -1 +2 -2 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +2 -2 +1 -1 +1 -1 +1 -1 +1 -1 +12 -12 +4 -4 +1 -1 +1 -1 +1 -1 +1 -1 +1 -1 +4 -4 +1 -1 +1 -1 +1 -1 +1 -1 +2 -2 +4 -4 +4 -4 +1 -1 +1 -1 +1 -1 +1 -1 +2 -1 +1 -1 +1 -1 +1 -1 +3 -23 +4 -4 +50 -46 +50 -46 +1 -1 +2 -2 +1 -1 +1 -1 +256 -116 +256 -116 +202 -55 +4 -4 +4 -4 -31 -23 -19 -19 -50 -38 -55 -24 -33 -40 -52 -22 -29 -12 +2 -2 +2 -1 +89 -89 -620 +1 -1
~ 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/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/info.c ~ src/json.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/main.c ~ src/makemake.tcl ~ src/manifest.c ~ src/merge.c ~ src/merge3.c ~ src/mkindex.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/shun.c ~ src/skins.c ~ src/sqlcmd.c ~ src/stash.c ~ src/stat.c ~ src/style.c ~ src/sync.c ~ src/tag.c ~ src/tag.c ~ src/tar.c ~ src/th_main.c ~ src/th_tcl.c ~ src/timeline.c ~ src/timeline.c ~ src/tkt.c ~ src/tktsetup.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/winhttp.c ~ src/wysiwyg.c ~ src/xfer.c ~ src/xfersetup.c ~ src/zip.c ~ win/Makefile.mingw ~ win/Makefile.mingw.mistachkin ~ win/include/dirent.h ~ www/build.wiki ~ www/checkin.wiki - www/cmd_add.wiki - www/cmd_all.wiki - www/cmd_cgi.wiki - www/cmd_changes.wiki - www/cmd_checkout.wiki - www/cmd_extra.wiki - www/cmd_ls.wiki - www/cmd_mv.wiki - www/cmd_new.wiki - www/cmd_rm.wiki - www/cmd_status.wiki - www/cmd_sync.wiki - www/cmd_update.wiki - www/cmd_version.wiki ~ www/inout.wiki ~ www/mkindex.tcl ~ www/permutedindex.wiki - www/reference.wiki ~ www/reviews.wiki
+1 -1
--- src/add.c
+++ src/add.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/add.c
+++ src/add.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/add.c
+++ src/add.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+2 -2
--- src/allrepo.c
+++ src/allrepo.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2008 D. Richard Hipp
2
+** Copyright (c) 2008 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -77,11 +77,11 @@
7777
**
7878
** rebuild Rebuild on all repositories
7979
**
8080
** sync Run a "sync" on all repositories
8181
**
82
-** Respositories are automatically added to the set of known repositories
82
+** Repositories are automatically added to the set of known repositories
8383
** when one of the following commands are run against the repository: clone,
8484
** info, pull, push, or sync. Even previously ignored repositories are
8585
** added back to the list of repositories by these commands.
8686
*/
8787
void all_cmd(void){
8888
--- src/allrepo.c
+++ src/allrepo.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2008 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
@@ -77,11 +77,11 @@
77 **
78 ** rebuild Rebuild on all repositories
79 **
80 ** sync Run a "sync" on all repositories
81 **
82 ** Respositories are automatically added to the set of known repositories
83 ** when one of the following commands are run against the repository: clone,
84 ** info, pull, push, or sync. Even previously ignored repositories are
85 ** added back to the list of repositories by these commands.
86 */
87 void all_cmd(void){
88
--- src/allrepo.c
+++ src/allrepo.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2008 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
@@ -77,11 +77,11 @@
77 **
78 ** rebuild Rebuild on all repositories
79 **
80 ** sync Run a "sync" on all repositories
81 **
82 ** Repositories are automatically added to the set of known repositories
83 ** when one of the following commands are run against the repository: clone,
84 ** info, pull, push, or sync. Even previously ignored repositories are
85 ** added back to the list of repositories by these commands.
86 */
87 void all_cmd(void){
88
+1 -1
--- src/attach.c
+++ src/attach.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2010 D. Richard Hipp
2
+** Copyright (c) 2010 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/attach.c
+++ src/attach.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2010 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
--- src/attach.c
+++ src/attach.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2010 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
+1 -1
--- src/bag.c
+++ src/bag.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/bag.c
+++ src/bag.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/bag.c
+++ src/bag.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/bisect.c
+++ src/bisect.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2010 D. Richard Hipp
2
+** Copyright (c) 2010 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/bisect.c
+++ src/bisect.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2010 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
--- src/bisect.c
+++ src/bisect.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2010 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
+1 -1
--- src/blob.c
+++ src/blob.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/blob.c
+++ src/blob.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/blob.c
+++ src/blob.c
@@ -1,7 +1,7 @@
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
+2 -2
--- src/branch.c
+++ src/branch.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -355,11 +355,11 @@
355355
cnt++;
356356
}
357357
if( colorTest ){
358358
const char *zColor = hash_color(zBr);
359359
@ <li><span style="background-color: %s(zColor)">
360
- @ %h(zBr) → %s(zColor)</span></li>
360
+ @ %h(zBr) &rarr; %s(zColor)</span></li>
361361
}else{
362362
@ <li>%z(href("%R/timeline?r=%T",zBr))%h(zBr)</a></li>
363363
}
364364
}
365365
if( cnt ){
366366
--- src/branch.c
+++ src/branch.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -355,11 +355,11 @@
355 cnt++;
356 }
357 if( colorTest ){
358 const char *zColor = hash_color(zBr);
359 @ <li><span style="background-color: %s(zColor)">
360 @ %h(zBr) → %s(zColor)</span></li>
361 }else{
362 @ <li>%z(href("%R/timeline?r=%T",zBr))%h(zBr)</a></li>
363 }
364 }
365 if( cnt ){
366
--- src/branch.c
+++ src/branch.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -355,11 +355,11 @@
355 cnt++;
356 }
357 if( colorTest ){
358 const char *zColor = hash_color(zBr);
359 @ <li><span style="background-color: %s(zColor)">
360 @ %h(zBr) &rarr; %s(zColor)</span></li>
361 }else{
362 @ <li>%z(href("%R/timeline?r=%T",zBr))%h(zBr)</a></li>
363 }
364 }
365 if( cnt ){
366
+1 -1
--- src/browse.c
+++ src/browse.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2008 D. Richard Hipp
2
+** Copyright (c) 2008 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/browse.c
+++ src/browse.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2008 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
--- src/browse.c
+++ src/browse.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2008 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
+1 -1
--- src/captcha.c
+++ src/captcha.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2009 D. Richard Hipp
2
+** Copyright (c) 2009 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/captcha.c
+++ src/captcha.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2009 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
--- src/captcha.c
+++ src/captcha.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2009 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
+1 -1
--- src/cgi.c
+++ src/cgi.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
**
88
--- src/cgi.c
+++ src/cgi.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/cgi.c
+++ src/cgi.c
@@ -1,7 +1,7 @@
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
+1 -1
--- src/checkin.c
+++ src/checkin.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/checkin.c
+++ src/checkin.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/checkin.c
+++ src/checkin.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/checkout.c
+++ src/checkout.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/checkout.c
+++ src/checkout.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/checkout.c
+++ src/checkout.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/clearsign.c
+++ src/clearsign.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/clearsign.c
+++ src/clearsign.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/clearsign.c
+++ src/clearsign.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/clone.c
+++ src/clone.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/clone.c
+++ src/clone.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/clone.c
+++ src/clone.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/comformat.c
+++ src/comformat.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/comformat.c
+++ src/comformat.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/comformat.c
+++ src/comformat.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/config.h
+++ src/config.h
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/config.h
+++ src/config.h
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/config.h
+++ src/config.h
@@ -1,7 +1,7 @@
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
+1 -1
--- src/configure.c
+++ src/configure.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2008 D. Richard Hipp
2
+** Copyright (c) 2008 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
**
88
--- src/configure.c
+++ src/configure.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2008 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
--- src/configure.c
+++ src/configure.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2008 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
+1 -1
--- src/content.c
+++ src/content.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/content.c
+++ src/content.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/content.c
+++ src/content.c
@@ -1,7 +1,7 @@
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
+1 -1
--- src/db.c
+++ src/db.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/db.c
+++ src/db.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/db.c
+++ src/db.c
@@ -1,7 +1,7 @@
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
+1 -1
--- src/delta.c
+++ src/delta.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/delta.c
+++ src/delta.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/delta.c
+++ src/delta.c
@@ -1,7 +1,7 @@
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
+1 -1
--- src/deltacmd.c
+++ src/deltacmd.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/deltacmd.c
+++ src/deltacmd.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/deltacmd.c
+++ src/deltacmd.c
@@ -1,7 +1,7 @@
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
--- src/descendants.c
+++ src/descendants.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/descendants.c
+++ src/descendants.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/descendants.c
+++ src/descendants.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/diff.c
+++ src/diff.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/diff.c
+++ src/diff.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/diff.c
+++ src/diff.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/doc.c
+++ src/doc.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/doc.c
+++ src/doc.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/doc.c
+++ src/doc.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/encode.c
+++ src/encode.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/encode.c
+++ src/encode.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/encode.c
+++ src/encode.c
@@ -1,7 +1,7 @@
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
+1 -1
--- src/event.c
+++ src/event.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2010 D. Richard Hipp
2
+** Copyright (c) 2010 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/event.c
+++ src/event.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2010 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
--- src/event.c
+++ src/event.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2010 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
+1 -1
--- src/export.c
+++ src/export.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2010 D. Richard Hipp
2
+** Copyright (c) 2010 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/export.c
+++ src/export.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2010 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
--- src/export.c
+++ src/export.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2010 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
+3 -3
--- src/file.c
+++ src/file.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -49,11 +49,11 @@
4949
# define stat _stati64
5050
#endif
5151
/*
5252
** On Windows S_ISLNK always returns FALSE.
5353
*/
54
-#if defined(_WIN32)
54
+#if !defined(S_ISLNK)
5555
# define S_ISLNK(x) (0)
5656
#endif
5757
static int fileStatValid = 0;
5858
static struct stat fileStat;
5959
@@ -222,11 +222,11 @@
222222
** - PERM_REG for all other cases (regular file, directory, fifo, etc).
223223
*/
224224
int file_wd_perm(const char *zFilename){
225225
if( getStat(zFilename, 1) ) return PERM_REG;
226226
#if defined(_WIN32)
227
-# if defined(__DMC__) || defined(_MSC_VER)
227
+# ifndef S_IXUSR
228228
# define S_IXUSR _S_IEXEC
229229
# endif
230230
if( S_ISREG(fileStat.st_mode) && ((S_IXUSR)&fileStat.st_mode)!=0 )
231231
return PERM_EXE;
232232
else
233233
--- src/file.c
+++ src/file.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
@@ -49,11 +49,11 @@
49 # define stat _stati64
50 #endif
51 /*
52 ** On Windows S_ISLNK always returns FALSE.
53 */
54 #if defined(_WIN32)
55 # define S_ISLNK(x) (0)
56 #endif
57 static int fileStatValid = 0;
58 static struct stat fileStat;
59
@@ -222,11 +222,11 @@
222 ** - PERM_REG for all other cases (regular file, directory, fifo, etc).
223 */
224 int file_wd_perm(const char *zFilename){
225 if( getStat(zFilename, 1) ) return PERM_REG;
226 #if defined(_WIN32)
227 # if defined(__DMC__) || defined(_MSC_VER)
228 # define S_IXUSR _S_IEXEC
229 # endif
230 if( S_ISREG(fileStat.st_mode) && ((S_IXUSR)&fileStat.st_mode)!=0 )
231 return PERM_EXE;
232 else
233
--- src/file.c
+++ src/file.c
@@ -1,7 +1,7 @@
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
@@ -49,11 +49,11 @@
49 # define stat _stati64
50 #endif
51 /*
52 ** On Windows S_ISLNK always returns FALSE.
53 */
54 #if !defined(S_ISLNK)
55 # define S_ISLNK(x) (0)
56 #endif
57 static int fileStatValid = 0;
58 static struct stat fileStat;
59
@@ -222,11 +222,11 @@
222 ** - PERM_REG for all other cases (regular file, directory, fifo, etc).
223 */
224 int file_wd_perm(const char *zFilename){
225 if( getStat(zFilename, 1) ) return PERM_REG;
226 #if defined(_WIN32)
227 # ifndef S_IXUSR
228 # define S_IXUSR _S_IEXEC
229 # endif
230 if( S_ISREG(fileStat.st_mode) && ((S_IXUSR)&fileStat.st_mode)!=0 )
231 return PERM_EXE;
232 else
233
+1 -1
--- src/finfo.c
+++ src/finfo.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2009 D. Richard Hipp
2
+** Copyright (c) 2009 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/finfo.c
+++ src/finfo.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2009 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
--- src/finfo.c
+++ src/finfo.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2009 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
+1 -1
--- src/glob.c
+++ src/glob.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2011 D. Richard Hipp
2
+** Copyright (c) 2011 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/glob.c
+++ src/glob.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2011 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
--- src/glob.c
+++ src/glob.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2011 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
+1 -1
--- src/graph.c
+++ src/graph.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2010 D. Richard Hipp
2
+** Copyright (c) 2010 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/graph.c
+++ src/graph.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2010 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
--- src/graph.c
+++ src/graph.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2010 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
+1 -1
--- src/gzip.c
+++ src/gzip.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2011 D. Richard Hipp
2
+** Copyright (c) 2011 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/gzip.c
+++ src/gzip.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2011 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
--- src/gzip.c
+++ src/gzip.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2011 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
+1 -1
--- src/http.c
+++ src/http.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/http.c
+++ src/http.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/http.c
+++ src/http.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
--- src/http_socket.c
+++ src/http_socket.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2009 D. Richard Hipp
2
+** Copyright (c) 2009 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/http_socket.c
+++ src/http_socket.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2009 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
--- src/http_socket.c
+++ src/http_socket.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2009 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
+1 -1
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2009 D. Richard Hipp
2
+** Copyright (c) 2009 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the GNU General Public
66
** License version 2 as published by the Free Software Foundation.
77
**
88
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2009 D. Richard Hipp
3 **
4 ** This program is free software; you can redistribute it and/or
5 ** modify it under the terms of the GNU General Public
6 ** License version 2 as published by the Free Software Foundation.
7 **
8
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2009 D. Richard Hipp
3 **
4 ** This program is free software; you can redistribute it and/or
5 ** modify it under the terms of the GNU General Public
6 ** License version 2 as published by the Free Software Foundation.
7 **
8
--- src/http_transport.c
+++ src/http_transport.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2009 D. Richard Hipp
2
+** Copyright (c) 2009 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -476,11 +476,11 @@
476476
return &transport.pBuf[iStart];
477477
}
478478
479479
void transport_global_shutdown(void){
480480
if( g.urlIsSsh && sshPid ){
481
- printf("Closing SSH tunnel: ");
481
+ /*printf("Closing SSH tunnel: ");*/
482482
fflush(stdout);
483483
pclose2(sshIn, sshOut, sshPid);
484484
sshPid = 0;
485485
}
486486
if( g.urlIsHttps ){
487487
--- src/http_transport.c
+++ src/http_transport.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2009 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
@@ -476,11 +476,11 @@
476 return &transport.pBuf[iStart];
477 }
478
479 void transport_global_shutdown(void){
480 if( g.urlIsSsh && sshPid ){
481 printf("Closing SSH tunnel: ");
482 fflush(stdout);
483 pclose2(sshIn, sshOut, sshPid);
484 sshPid = 0;
485 }
486 if( g.urlIsHttps ){
487
--- src/http_transport.c
+++ src/http_transport.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2009 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
@@ -476,11 +476,11 @@
476 return &transport.pBuf[iStart];
477 }
478
479 void transport_global_shutdown(void){
480 if( g.urlIsSsh && sshPid ){
481 /*printf("Closing SSH tunnel: ");*/
482 fflush(stdout);
483 pclose2(sshIn, sshOut, sshPid);
484 sshPid = 0;
485 }
486 if( g.urlIsHttps ){
487
+1 -1
--- src/import.c
+++ src/import.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2010 D. Richard Hipp
2
+** Copyright (c) 2010 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/import.c
+++ src/import.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2010 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
--- src/import.c
+++ src/import.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2010 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
+2 -2
--- src/info.c
+++ src/info.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -161,11 +161,11 @@
161161
**
162162
** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME? ?OPTIONS?
163163
**
164164
** With no arguments, provide information about the current tree.
165165
** If an argument is specified, provide information about the object
166
-** in the respository of the current tree that the argument refers
166
+** in the repository of the current tree that the argument refers
167167
** to. Or if the argument is the name of a repository, show
168168
** information about that repository.
169169
**
170170
** Use the "finfo" command to get information about a specific
171171
** file in a checkout.
172172
--- src/info.c
+++ src/info.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -161,11 +161,11 @@
161 **
162 ** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME? ?OPTIONS?
163 **
164 ** With no arguments, provide information about the current tree.
165 ** If an argument is specified, provide information about the object
166 ** in the respository of the current tree that the argument refers
167 ** to. Or if the argument is the name of a repository, show
168 ** information about that repository.
169 **
170 ** Use the "finfo" command to get information about a specific
171 ** file in a checkout.
172
--- src/info.c
+++ src/info.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -161,11 +161,11 @@
161 **
162 ** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME? ?OPTIONS?
163 **
164 ** With no arguments, provide information about the current tree.
165 ** If an argument is specified, provide information about the object
166 ** in the repository of the current tree that the argument refers
167 ** to. Or if the argument is the name of a repository, show
168 ** information about that repository.
169 **
170 ** Use the "finfo" command to get information about a specific
171 ** file in a checkout.
172
+2 -2
--- src/info.c
+++ src/info.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -161,11 +161,11 @@
161161
**
162162
** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME? ?OPTIONS?
163163
**
164164
** With no arguments, provide information about the current tree.
165165
** If an argument is specified, provide information about the object
166
-** in the respository of the current tree that the argument refers
166
+** in the repository of the current tree that the argument refers
167167
** to. Or if the argument is the name of a repository, show
168168
** information about that repository.
169169
**
170170
** Use the "finfo" command to get information about a specific
171171
** file in a checkout.
172172
--- src/info.c
+++ src/info.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -161,11 +161,11 @@
161 **
162 ** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME? ?OPTIONS?
163 **
164 ** With no arguments, provide information about the current tree.
165 ** If an argument is specified, provide information about the object
166 ** in the respository of the current tree that the argument refers
167 ** to. Or if the argument is the name of a repository, show
168 ** information about that repository.
169 **
170 ** Use the "finfo" command to get information about a specific
171 ** file in a checkout.
172
--- src/info.c
+++ src/info.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -161,11 +161,11 @@
161 **
162 ** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME? ?OPTIONS?
163 **
164 ** With no arguments, provide information about the current tree.
165 ** If an argument is specified, provide information about the object
166 ** in the repository of the current tree that the argument refers
167 ** to. Or if the argument is the name of a repository, show
168 ** information about that repository.
169 **
170 ** Use the "finfo" command to get information about a specific
171 ** file in a checkout.
172
+1 -1
--- src/json.c
+++ src/json.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
99
--- src/json.c
+++ src/json.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8
9
--- src/json.c
+++ src/json.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8
9
+1 -1
--- src/json.c
+++ src/json.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
99
--- src/json.c
+++ src/json.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8
9
--- src/json.c
+++ src/json.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8
9
--- src/json_artifact.c
+++ src/json_artifact.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_artifact.c
+++ src/json_artifact.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_artifact.c
+++ src/json_artifact.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_branch.c
+++ src/json_branch.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_branch.c
+++ src/json_branch.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_branch.c
+++ src/json_branch.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_config.c
+++ src/json_config.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_config.c
+++ src/json_config.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_config.c
+++ src/json_config.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_detail.h
+++ src/json_detail.h
@@ -1,10 +1,10 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
#if !defined(FOSSIL_JSON_DETAIL_H_INCLUDED)
33
#define FOSSIL_JSON_DETAIL_H_INCLUDED
44
/*
5
-** Copyright © 2011 D. Richard Hipp
5
+** Copyright (c) 2011 D. Richard Hipp
66
**
77
** This program is free software; you can redistribute it and/or
88
** modify it under the terms of the Simplified BSD License (also
99
** known as the "2-Clause License" or "FreeBSD License".)
1010
**
1111
--- src/json_detail.h
+++ src/json_detail.h
@@ -1,10 +1,10 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 #if !defined(FOSSIL_JSON_DETAIL_H_INCLUDED)
3 #define FOSSIL_JSON_DETAIL_H_INCLUDED
4 /*
5 ** Copyright © 2011 D. Richard Hipp
6 **
7 ** This program is free software; you can redistribute it and/or
8 ** modify it under the terms of the Simplified BSD License (also
9 ** known as the "2-Clause License" or "FreeBSD License".)
10 **
11
--- src/json_detail.h
+++ src/json_detail.h
@@ -1,10 +1,10 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 #if !defined(FOSSIL_JSON_DETAIL_H_INCLUDED)
3 #define FOSSIL_JSON_DETAIL_H_INCLUDED
4 /*
5 ** Copyright (c) 2011 D. Richard Hipp
6 **
7 ** This program is free software; you can redistribute it and/or
8 ** modify it under the terms of the Simplified BSD License (also
9 ** known as the "2-Clause License" or "FreeBSD License".)
10 **
11
+1 -1
--- src/json_diff.c
+++ src/json_diff.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_diff.c
+++ src/json_diff.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_diff.c
+++ src/json_diff.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
+1 -1
--- src/json_dir.c
+++ src/json_dir.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_dir.c
+++ src/json_dir.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_dir.c
+++ src/json_dir.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_finfo.c
+++ src/json_finfo.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_finfo.c
+++ src/json_finfo.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_finfo.c
+++ src/json_finfo.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_login.c
+++ src/json_login.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_login.c
+++ src/json_login.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_login.c
+++ src/json_login.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_query.c
+++ src/json_query.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_query.c
+++ src/json_query.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_query.c
+++ src/json_query.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_report.c
+++ src/json_report.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_report.c
+++ src/json_report.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_report.c
+++ src/json_report.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
+1 -1
--- src/json_tag.c
+++ src/json_tag.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_tag.c
+++ src/json_tag.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_tag.c
+++ src/json_tag.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_timeline.c
+++ src/json_timeline.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_timeline.c
+++ src/json_timeline.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_timeline.c
+++ src/json_timeline.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
+1 -1
--- src/json_user.c
+++ src/json_user.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011 D. Richard Hipp
3
+** Copyright (c) 2011 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_user.c
+++ src/json_user.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_user.c
+++ src/json_user.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
+1 -1
--- src/json_wiki.c
+++ src/json_wiki.c
@@ -1,8 +1,8 @@
11
#ifdef FOSSIL_ENABLE_JSON
22
/*
3
-** Copyright © 2011-12 D. Richard Hipp
3
+** Copyright (c) 2011-12 D. Richard Hipp
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
**
99
--- src/json_wiki.c
+++ src/json_wiki.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright © 2011-12 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
--- src/json_wiki.c
+++ src/json_wiki.c
@@ -1,8 +1,8 @@
1 #ifdef FOSSIL_ENABLE_JSON
2 /*
3 ** Copyright (c) 2011-12 D. Richard Hipp
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8 **
9
+1 -1
--- src/leaf.c
+++ src/leaf.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2011 D. Richard Hipp
2
+** Copyright (c) 2011 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/leaf.c
+++ src/leaf.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2011 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
--- src/leaf.c
+++ src/leaf.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2011 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
+2 -2
--- src/login.c
+++ src/login.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -1441,11 +1441,11 @@
14411441
rc = sqlite3_exec(pOther, "SELECT count(*) FROM user", 0, 0, pzErrMsg);
14421442
}
14431443
sqlite3_close(pOther);
14441444
if( rc ) return;
14451445
1446
- /* Attach the other respository. Make sure the username/password is
1446
+ /* Attach the other repository. Make sure the username/password is
14471447
** valid and has Setup permission.
14481448
*/
14491449
db_multi_exec("ATTACH %Q AS other", zRepo);
14501450
zOtherProjCode = db_text("x", "SELECT value FROM other.config"
14511451
" WHERE name='project-code'");
14521452
--- src/login.c
+++ src/login.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -1441,11 +1441,11 @@
1441 rc = sqlite3_exec(pOther, "SELECT count(*) FROM user", 0, 0, pzErrMsg);
1442 }
1443 sqlite3_close(pOther);
1444 if( rc ) return;
1445
1446 /* Attach the other respository. Make sure the username/password is
1447 ** valid and has Setup permission.
1448 */
1449 db_multi_exec("ATTACH %Q AS other", zRepo);
1450 zOtherProjCode = db_text("x", "SELECT value FROM other.config"
1451 " WHERE name='project-code'");
1452
--- src/login.c
+++ src/login.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -1441,11 +1441,11 @@
1441 rc = sqlite3_exec(pOther, "SELECT count(*) FROM user", 0, 0, pzErrMsg);
1442 }
1443 sqlite3_close(pOther);
1444 if( rc ) return;
1445
1446 /* Attach the other repository. Make sure the username/password is
1447 ** valid and has Setup permission.
1448 */
1449 db_multi_exec("ATTACH %Q AS other", zRepo);
1450 zOtherProjCode = db_text("x", "SELECT value FROM other.config"
1451 " WHERE name='project-code'");
1452
+6 -6
--- src/main.c
+++ src/main.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
**
@@ -353,17 +353,17 @@
353353
char **newArgv; /* New expanded g.argv under construction */
354354
char const * zFileName; /* input file name */
355355
FILE * zInFile; /* input FILE */
356356
int foundBom = -1; /* -1= not searched yet, 0 = no; 1=yes */
357357
#ifdef _WIN32
358
- wchar_t buf[PATH_MAX];
358
+ wchar_t buf[MAX_PATH];
359359
#endif
360360
361361
g.argc = argc;
362362
g.argv = argv;
363363
#ifdef _WIN32
364
- GetModuleFileNameW(NULL, buf, PATH_MAX);
364
+ GetModuleFileNameW(NULL, buf, MAX_PATH);
365365
g.argv[0] = fossil_unicode_to_utf8(buf);
366366
#ifdef UNICODE
367367
for(i=1; i<g.argc; i++) g.argv[i] = fossil_unicode_to_utf8(g.argv[i]);
368368
#else
369369
for(i=1; i<g.argc; i++) g.argv[i] = fossil_mbcs_to_utf8(g.argv[i]);
@@ -1571,11 +1571,11 @@
15711571
** is a directory, the repositories it contains must be named
15721572
** "*.fossil". If g.argv[2] does not exists, then we must be within
15731573
** a check-out and the repository to be served is the repository of
15741574
** that check-out.
15751575
**
1576
-** Open the respository to be served if it is known. If g.argv[2] is
1576
+** Open the repository to be served if it is known. If g.argv[2] is
15771577
** a directory full of repositories, then set g.zRepositoryName to
15781578
** the name of that directory and the specific repository will be
15791579
** opened later by process_one_web_page() based on the content of
15801580
** the PATH_INFO variable.
15811581
**
@@ -1607,11 +1607,11 @@
16071607
** Handle a single HTTP request appearing on stdin. The resulting webpage
16081608
** is delivered on stdout. This method is used to launch an HTTP request
16091609
** handler from inetd, for example. The argument is the name of the
16101610
** repository.
16111611
**
1612
-** If REPOSITORY is a directory that contains one or more respositories
1612
+** If REPOSITORY is a directory that contains one or more repositories
16131613
** with names of the form "*.fossil" then the first element of the URL
16141614
** pathname selects among the various repositories. If the pathname does
16151615
** not select a valid repository and the --notfound option is available,
16161616
** then the server redirects (HTTP code 302) to the URL of --notfound.
16171617
**
@@ -1723,11 +1723,11 @@
17231723
** The "ui" command automatically starts a web browser after initializing
17241724
** the web server. The "ui" command also binds to 127.0.0.1 and so will
17251725
** only process HTTP traffic from the local machine.
17261726
**
17271727
** In the "server" command, the REPOSITORY can be a directory (aka folder)
1728
-** that contains one or more respositories with names ending in ".fossil".
1728
+** that contains one or more rspositories with names ending in ".fossil".
17291729
** In that case, the first element of the URL is used to select among the
17301730
** various repositories.
17311731
**
17321732
** By default, the "ui" command provides full administrative access without
17331733
** having to log in. This can be disabled by setting turning off the
17341734
--- src/main.c
+++ src/main.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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 **
@@ -353,17 +353,17 @@
353 char **newArgv; /* New expanded g.argv under construction */
354 char const * zFileName; /* input file name */
355 FILE * zInFile; /* input FILE */
356 int foundBom = -1; /* -1= not searched yet, 0 = no; 1=yes */
357 #ifdef _WIN32
358 wchar_t buf[PATH_MAX];
359 #endif
360
361 g.argc = argc;
362 g.argv = argv;
363 #ifdef _WIN32
364 GetModuleFileNameW(NULL, buf, PATH_MAX);
365 g.argv[0] = fossil_unicode_to_utf8(buf);
366 #ifdef UNICODE
367 for(i=1; i<g.argc; i++) g.argv[i] = fossil_unicode_to_utf8(g.argv[i]);
368 #else
369 for(i=1; i<g.argc; i++) g.argv[i] = fossil_mbcs_to_utf8(g.argv[i]);
@@ -1571,11 +1571,11 @@
1571 ** is a directory, the repositories it contains must be named
1572 ** "*.fossil". If g.argv[2] does not exists, then we must be within
1573 ** a check-out and the repository to be served is the repository of
1574 ** that check-out.
1575 **
1576 ** Open the respository to be served if it is known. If g.argv[2] is
1577 ** a directory full of repositories, then set g.zRepositoryName to
1578 ** the name of that directory and the specific repository will be
1579 ** opened later by process_one_web_page() based on the content of
1580 ** the PATH_INFO variable.
1581 **
@@ -1607,11 +1607,11 @@
1607 ** Handle a single HTTP request appearing on stdin. The resulting webpage
1608 ** is delivered on stdout. This method is used to launch an HTTP request
1609 ** handler from inetd, for example. The argument is the name of the
1610 ** repository.
1611 **
1612 ** If REPOSITORY is a directory that contains one or more respositories
1613 ** with names of the form "*.fossil" then the first element of the URL
1614 ** pathname selects among the various repositories. If the pathname does
1615 ** not select a valid repository and the --notfound option is available,
1616 ** then the server redirects (HTTP code 302) to the URL of --notfound.
1617 **
@@ -1723,11 +1723,11 @@
1723 ** The "ui" command automatically starts a web browser after initializing
1724 ** the web server. The "ui" command also binds to 127.0.0.1 and so will
1725 ** only process HTTP traffic from the local machine.
1726 **
1727 ** In the "server" command, the REPOSITORY can be a directory (aka folder)
1728 ** that contains one or more respositories with names ending in ".fossil".
1729 ** In that case, the first element of the URL is used to select among the
1730 ** various repositories.
1731 **
1732 ** By default, the "ui" command provides full administrative access without
1733 ** having to log in. This can be disabled by setting turning off the
1734
--- src/main.c
+++ src/main.c
@@ -1,7 +1,7 @@
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 **
@@ -353,17 +353,17 @@
353 char **newArgv; /* New expanded g.argv under construction */
354 char const * zFileName; /* input file name */
355 FILE * zInFile; /* input FILE */
356 int foundBom = -1; /* -1= not searched yet, 0 = no; 1=yes */
357 #ifdef _WIN32
358 wchar_t buf[MAX_PATH];
359 #endif
360
361 g.argc = argc;
362 g.argv = argv;
363 #ifdef _WIN32
364 GetModuleFileNameW(NULL, buf, MAX_PATH);
365 g.argv[0] = fossil_unicode_to_utf8(buf);
366 #ifdef UNICODE
367 for(i=1; i<g.argc; i++) g.argv[i] = fossil_unicode_to_utf8(g.argv[i]);
368 #else
369 for(i=1; i<g.argc; i++) g.argv[i] = fossil_mbcs_to_utf8(g.argv[i]);
@@ -1571,11 +1571,11 @@
1571 ** is a directory, the repositories it contains must be named
1572 ** "*.fossil". If g.argv[2] does not exists, then we must be within
1573 ** a check-out and the repository to be served is the repository of
1574 ** that check-out.
1575 **
1576 ** Open the repository to be served if it is known. If g.argv[2] is
1577 ** a directory full of repositories, then set g.zRepositoryName to
1578 ** the name of that directory and the specific repository will be
1579 ** opened later by process_one_web_page() based on the content of
1580 ** the PATH_INFO variable.
1581 **
@@ -1607,11 +1607,11 @@
1607 ** Handle a single HTTP request appearing on stdin. The resulting webpage
1608 ** is delivered on stdout. This method is used to launch an HTTP request
1609 ** handler from inetd, for example. The argument is the name of the
1610 ** repository.
1611 **
1612 ** If REPOSITORY is a directory that contains one or more repositories
1613 ** with names of the form "*.fossil" then the first element of the URL
1614 ** pathname selects among the various repositories. If the pathname does
1615 ** not select a valid repository and the --notfound option is available,
1616 ** then the server redirects (HTTP code 302) to the URL of --notfound.
1617 **
@@ -1723,11 +1723,11 @@
1723 ** The "ui" command automatically starts a web browser after initializing
1724 ** the web server. The "ui" command also binds to 127.0.0.1 and so will
1725 ** only process HTTP traffic from the local machine.
1726 **
1727 ** In the "server" command, the REPOSITORY can be a directory (aka folder)
1728 ** that contains one or more rspositories with names ending in ".fossil".
1729 ** In that case, the first element of the URL is used to select among the
1730 ** various repositories.
1731 **
1732 ** By default, the "ui" command provides full administrative access without
1733 ** having to log in. This can be disabled by setting turning off the
1734
+6 -6
--- src/main.c
+++ src/main.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
**
@@ -353,17 +353,17 @@
353353
char **newArgv; /* New expanded g.argv under construction */
354354
char const * zFileName; /* input file name */
355355
FILE * zInFile; /* input FILE */
356356
int foundBom = -1; /* -1= not searched yet, 0 = no; 1=yes */
357357
#ifdef _WIN32
358
- wchar_t buf[PATH_MAX];
358
+ wchar_t buf[MAX_PATH];
359359
#endif
360360
361361
g.argc = argc;
362362
g.argv = argv;
363363
#ifdef _WIN32
364
- GetModuleFileNameW(NULL, buf, PATH_MAX);
364
+ GetModuleFileNameW(NULL, buf, MAX_PATH);
365365
g.argv[0] = fossil_unicode_to_utf8(buf);
366366
#ifdef UNICODE
367367
for(i=1; i<g.argc; i++) g.argv[i] = fossil_unicode_to_utf8(g.argv[i]);
368368
#else
369369
for(i=1; i<g.argc; i++) g.argv[i] = fossil_mbcs_to_utf8(g.argv[i]);
@@ -1571,11 +1571,11 @@
15711571
** is a directory, the repositories it contains must be named
15721572
** "*.fossil". If g.argv[2] does not exists, then we must be within
15731573
** a check-out and the repository to be served is the repository of
15741574
** that check-out.
15751575
**
1576
-** Open the respository to be served if it is known. If g.argv[2] is
1576
+** Open the repository to be served if it is known. If g.argv[2] is
15771577
** a directory full of repositories, then set g.zRepositoryName to
15781578
** the name of that directory and the specific repository will be
15791579
** opened later by process_one_web_page() based on the content of
15801580
** the PATH_INFO variable.
15811581
**
@@ -1607,11 +1607,11 @@
16071607
** Handle a single HTTP request appearing on stdin. The resulting webpage
16081608
** is delivered on stdout. This method is used to launch an HTTP request
16091609
** handler from inetd, for example. The argument is the name of the
16101610
** repository.
16111611
**
1612
-** If REPOSITORY is a directory that contains one or more respositories
1612
+** If REPOSITORY is a directory that contains one or more repositories
16131613
** with names of the form "*.fossil" then the first element of the URL
16141614
** pathname selects among the various repositories. If the pathname does
16151615
** not select a valid repository and the --notfound option is available,
16161616
** then the server redirects (HTTP code 302) to the URL of --notfound.
16171617
**
@@ -1723,11 +1723,11 @@
17231723
** The "ui" command automatically starts a web browser after initializing
17241724
** the web server. The "ui" command also binds to 127.0.0.1 and so will
17251725
** only process HTTP traffic from the local machine.
17261726
**
17271727
** In the "server" command, the REPOSITORY can be a directory (aka folder)
1728
-** that contains one or more respositories with names ending in ".fossil".
1728
+** that contains one or more rspositories with names ending in ".fossil".
17291729
** In that case, the first element of the URL is used to select among the
17301730
** various repositories.
17311731
**
17321732
** By default, the "ui" command provides full administrative access without
17331733
** having to log in. This can be disabled by setting turning off the
17341734
--- src/main.c
+++ src/main.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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 **
@@ -353,17 +353,17 @@
353 char **newArgv; /* New expanded g.argv under construction */
354 char const * zFileName; /* input file name */
355 FILE * zInFile; /* input FILE */
356 int foundBom = -1; /* -1= not searched yet, 0 = no; 1=yes */
357 #ifdef _WIN32
358 wchar_t buf[PATH_MAX];
359 #endif
360
361 g.argc = argc;
362 g.argv = argv;
363 #ifdef _WIN32
364 GetModuleFileNameW(NULL, buf, PATH_MAX);
365 g.argv[0] = fossil_unicode_to_utf8(buf);
366 #ifdef UNICODE
367 for(i=1; i<g.argc; i++) g.argv[i] = fossil_unicode_to_utf8(g.argv[i]);
368 #else
369 for(i=1; i<g.argc; i++) g.argv[i] = fossil_mbcs_to_utf8(g.argv[i]);
@@ -1571,11 +1571,11 @@
1571 ** is a directory, the repositories it contains must be named
1572 ** "*.fossil". If g.argv[2] does not exists, then we must be within
1573 ** a check-out and the repository to be served is the repository of
1574 ** that check-out.
1575 **
1576 ** Open the respository to be served if it is known. If g.argv[2] is
1577 ** a directory full of repositories, then set g.zRepositoryName to
1578 ** the name of that directory and the specific repository will be
1579 ** opened later by process_one_web_page() based on the content of
1580 ** the PATH_INFO variable.
1581 **
@@ -1607,11 +1607,11 @@
1607 ** Handle a single HTTP request appearing on stdin. The resulting webpage
1608 ** is delivered on stdout. This method is used to launch an HTTP request
1609 ** handler from inetd, for example. The argument is the name of the
1610 ** repository.
1611 **
1612 ** If REPOSITORY is a directory that contains one or more respositories
1613 ** with names of the form "*.fossil" then the first element of the URL
1614 ** pathname selects among the various repositories. If the pathname does
1615 ** not select a valid repository and the --notfound option is available,
1616 ** then the server redirects (HTTP code 302) to the URL of --notfound.
1617 **
@@ -1723,11 +1723,11 @@
1723 ** The "ui" command automatically starts a web browser after initializing
1724 ** the web server. The "ui" command also binds to 127.0.0.1 and so will
1725 ** only process HTTP traffic from the local machine.
1726 **
1727 ** In the "server" command, the REPOSITORY can be a directory (aka folder)
1728 ** that contains one or more respositories with names ending in ".fossil".
1729 ** In that case, the first element of the URL is used to select among the
1730 ** various repositories.
1731 **
1732 ** By default, the "ui" command provides full administrative access without
1733 ** having to log in. This can be disabled by setting turning off the
1734
--- src/main.c
+++ src/main.c
@@ -1,7 +1,7 @@
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 **
@@ -353,17 +353,17 @@
353 char **newArgv; /* New expanded g.argv under construction */
354 char const * zFileName; /* input file name */
355 FILE * zInFile; /* input FILE */
356 int foundBom = -1; /* -1= not searched yet, 0 = no; 1=yes */
357 #ifdef _WIN32
358 wchar_t buf[MAX_PATH];
359 #endif
360
361 g.argc = argc;
362 g.argv = argv;
363 #ifdef _WIN32
364 GetModuleFileNameW(NULL, buf, MAX_PATH);
365 g.argv[0] = fossil_unicode_to_utf8(buf);
366 #ifdef UNICODE
367 for(i=1; i<g.argc; i++) g.argv[i] = fossil_unicode_to_utf8(g.argv[i]);
368 #else
369 for(i=1; i<g.argc; i++) g.argv[i] = fossil_mbcs_to_utf8(g.argv[i]);
@@ -1571,11 +1571,11 @@
1571 ** is a directory, the repositories it contains must be named
1572 ** "*.fossil". If g.argv[2] does not exists, then we must be within
1573 ** a check-out and the repository to be served is the repository of
1574 ** that check-out.
1575 **
1576 ** Open the repository to be served if it is known. If g.argv[2] is
1577 ** a directory full of repositories, then set g.zRepositoryName to
1578 ** the name of that directory and the specific repository will be
1579 ** opened later by process_one_web_page() based on the content of
1580 ** the PATH_INFO variable.
1581 **
@@ -1607,11 +1607,11 @@
1607 ** Handle a single HTTP request appearing on stdin. The resulting webpage
1608 ** is delivered on stdout. This method is used to launch an HTTP request
1609 ** handler from inetd, for example. The argument is the name of the
1610 ** repository.
1611 **
1612 ** If REPOSITORY is a directory that contains one or more repositories
1613 ** with names of the form "*.fossil" then the first element of the URL
1614 ** pathname selects among the various repositories. If the pathname does
1615 ** not select a valid repository and the --notfound option is available,
1616 ** then the server redirects (HTTP code 302) to the URL of --notfound.
1617 **
@@ -1723,11 +1723,11 @@
1723 ** The "ui" command automatically starts a web browser after initializing
1724 ** the web server. The "ui" command also binds to 127.0.0.1 and so will
1725 ** only process HTTP traffic from the local machine.
1726 **
1727 ** In the "server" command, the REPOSITORY can be a directory (aka folder)
1728 ** that contains one or more rspositories with names ending in ".fossil".
1729 ** In that case, the first element of the URL is used to select among the
1730 ** various repositories.
1731 **
1732 ** By default, the "ui" command provides full administrative access without
1733 ** having to log in. This can be disabled by setting turning off the
1734
+69 -31
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -311,11 +311,11 @@
311311
#
312312
# End of the main.mk output
313313
##############################################################################
314314
##############################################################################
315315
##############################################################################
316
-# Begin win/Makefile.mingw
316
+# Begin win/Makefile.mingw output
317317
#
318318
puts "building ../win/Makefile.mingw"
319319
set output_file [open ../win/Makefile.mingw w]
320320
fconfigure $output_file -translation binary
321321
@@ -335,10 +335,11 @@
335335
336336
#### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
337337
# By default, this is an empty string (i.e. use the native compiler).
338338
#
339339
PREFIX =
340
+# PREFIX = mingw32-
340341
# PREFIX = i686-pc-mingw32-
341342
# PREFIX = i686-w64-mingw32-
342343
# PREFIX = x86_64-w64-mingw32-
343344
344345
#### The toplevel directory of the source tree. Fossil can be built
@@ -530,30 +531,68 @@
530531
foreach s [lsort $src] {
531532
writeln -nonewline " \\\n \$(OBJDIR)/$s.o"
532533
}
533534
writeln "\n"
534535
writeln "APPNAME = ${name}.exe"
535
-writeln {TRANSLATE = $(OBJDIR)/translate.exe
536
-MAKEHEADERS = $(OBJDIR)/makeheaders.exe
537
-MKINDEX = $(OBJDIR)/mkindex.exe
538
-VERSION = $(OBJDIR)/version.exe
539
-}
536
+writeln {
537
+#### If the USE_WINDOWS variable exists, it is assumed that we are building
538
+# inside of a Windows-style shell; otherwise, it is assumed that we are
539
+# building inside of a Unix-style shell. Note that the "move" command is
540
+# broken when attempting to use it from the Windows shell via MinGW make
541
+# because the SHELL variable is only used for certain commands that are
542
+# recognized internally by make.
543
+#
544
+ifdef USE_WINDOWS
545
+TRANSLATE = $(subst /,\,$(OBJDIR)/translate)
546
+MAKEHEADERS = $(subst /,\,$(OBJDIR)/makeheaders)
547
+MKINDEX = $(subst /,\,$(OBJDIR)/mkindex)
548
+VERSION = $(subst /,\,$(OBJDIR)/version)
549
+CP = copy
550
+MV = copy
551
+RM = del /Q
552
+MKDIR = -mkdir
553
+RMDIR = rmdir /S /Q
554
+else
555
+TRANSLATE = $(OBJDIR)/translate
556
+MAKEHEADERS = $(OBJDIR)/makeheaders
557
+MKINDEX = $(OBJDIR)/mkindex
558
+VERSION = $(OBJDIR)/version
559
+CP = cp
560
+MV = mv
561
+RM = rm -f
562
+MKDIR = -mkdir -p
563
+RMDIR = rm -rf
564
+endif}
540565
541566
writeln {
542567
all: $(OBJDIR) $(APPNAME)
543568
544
-$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc
545
- cp $(SRCDIR)/../win/fossil.rc $(OBJDIR)
546
- cp $(SRCDIR)/../win/fossil.ico $(OBJDIR)
569
+$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h
570
+ifdef USE_WINDOWS
571
+ $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR))
572
+ $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR))
573
+else
574
+ $(CP) $(SRCDIR)/../win/fossil.rc $(OBJDIR)
575
+ $(CP) $(SRCDIR)/../win/fossil.ico $(OBJDIR)
576
+endif
547577
$(RCC) $(OBJDIR)/fossil.rc -o $(OBJDIR)/fossil.o
548578
549
-install: $(APPNAME)
550
- mkdir -p $(INSTALLDIR)
551
- mv $(APPNAME) $(INSTALLDIR)
579
+install: $(OBJDIR) $(APPNAME)
580
+ifdef USE_WINDOWS
581
+ $(MKDIR) $(subst /,\,$(INSTALLDIR))
582
+ $(MV) $(subst /,\,$(APPNAME)) $(subst /,\,$(INSTALLDIR))
583
+else
584
+ $(MKDIR) $(INSTALLDIR)
585
+ $(MV) $(APPNAME) $(INSTALLDIR)
586
+endif
552587
553588
$(OBJDIR):
554
- mkdir $(OBJDIR)
589
+ifdef USE_WINDOWS
590
+ $(MKDIR) $(subst /,\,$(OBJDIR))
591
+else
592
+ $(MKDIR) $(OBJDIR)
593
+endif
555594
556595
$(OBJDIR)/translate: $(SRCDIR)/translate.c
557596
$(BCC) -o $(OBJDIR)/translate $(SRCDIR)/translate.c
558597
559598
$(OBJDIR)/makeheaders: $(SRCDIR)/makeheaders.c
@@ -592,20 +631,21 @@
592631
# an executable named "manifest" out of the file named "manifest.c"
593632
#
594633
$(SRCDIR)/../manifest:
595634
# noop
596635
597
-# Requires MSYS to be installed in addition to the MinGW, for the "rm"
598
-# command. "del" will not work here because it is not a separate command
599
-# but a MSDOS-shell builtin.
600
-#
601636
clean:
602
- rm -rf $(OBJDIR) $(APPNAME)
637
+ifdef USE_WINDOWS
638
+ $(RM) $(subst /,\,$(APPNAME))
639
+ $(RMDIR) $(subst /,\,$(OBJDIR))
640
+else
641
+ $(RM) $(APPNAME)
642
+ $(RMDIR) $(OBJDIR)
643
+endif
603644
604645
setup: $(OBJDIR) $(APPNAME)
605646
$(MAKENSIS) ./fossil.nsi
606
-
607647
}
608648
609649
set mhargs {}
610650
foreach s [lsort $src] {
611651
append mhargs " \$(OBJDIR)/${s}_.c:\$(OBJDIR)/$s.h"
@@ -613,25 +653,24 @@
613653
}
614654
append mhargs " \$(SRCDIR)/sqlite3.h"
615655
append mhargs " \$(SRCDIR)/th.h"
616656
append mhargs " \$(OBJDIR)/VERSION.h"
617657
writeln "\$(OBJDIR)/page_index.h: \$(TRANS_SRC) \$(OBJDIR)/mkindex"
618
-writeln "\t\$(MKINDEX) \$(TRANS_SRC) >$@"
658
+writeln "\t\$(MKINDEX) \$(TRANS_SRC) >$@\n"
619659
writeln "\$(OBJDIR)/headers:\t\$(OBJDIR)/page_index.h \$(OBJDIR)/makeheaders \$(OBJDIR)/VERSION.h"
620660
writeln "\t\$(MAKEHEADERS) $mhargs"
621
-writeln "\techo Done >\$(OBJDIR)/headers"
622
-writeln ""
623
-writeln "\$(OBJDIR)/headers: Makefile"
624
-writeln "Makefile:"
661
+writeln "\techo Done >\$(OBJDIR)/headers\n"
662
+writeln "\$(OBJDIR)/headers: Makefile\n"
663
+writeln "Makefile:\n"
625664
set extra_h(main) \$(OBJDIR)/page_index.h
626665
627666
foreach s [lsort $src] {
628667
writeln "\$(OBJDIR)/${s}_.c:\t\$(SRCDIR)/$s.c \$(OBJDIR)/translate"
629668
writeln "\t\$(TRANSLATE) \$(SRCDIR)/$s.c >\$(OBJDIR)/${s}_.c\n"
630669
writeln "\$(OBJDIR)/$s.o:\t\$(OBJDIR)/${s}_.c \$(OBJDIR)/$s.h $extra_h($s) \$(SRCDIR)/config.h"
631670
writeln "\t\$(XTCC) -o \$(OBJDIR)/$s.o -c \$(OBJDIR)/${s}_.c\n"
632
- writeln "$s.h:\t\$(OBJDIR)/headers"
671
+ writeln "\$(OBJDIR)/${s}.h:\t\$(OBJDIR)/headers\n"
633672
}
634673
635674
636675
writeln "\$(OBJDIR)/sqlite3.o:\t\$(SRCDIR)/sqlite3.c"
637676
set opt $SQLITE_OPTIONS
@@ -654,20 +693,19 @@
654693
writeln "\t\$(XTCC) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
655694
656695
writeln {ifdef FOSSIL_ENABLE_TCL
657696
$(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
658697
$(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
659
-endif
660
-}
698
+endif}
661699
662700
close $output_file
663701
#
664
-# End of the main.mk output
702
+# End of the win/Makefile.mingw output
665703
##############################################################################
666704
##############################################################################
667705
##############################################################################
668
-# Begin win/Makefile.dmc
706
+# Begin win/Makefile.dmc output
669707
#
670708
puts "building ../win/Makefile.dmc"
671709
set output_file [open ../win/Makefile.dmc w]
672710
fconfigure $output_file -translation binary
673711
@@ -814,11 +852,11 @@
814852
#
815853
# End of the win/Makefile.dmc output
816854
##############################################################################
817855
##############################################################################
818856
##############################################################################
819
-# Begin win/Makefile.msc
857
+# Begin win/Makefile.msc output
820858
#
821859
puts "building ../win/Makefile.msc"
822860
set output_file [open ../win/Makefile.msc w]
823861
fconfigure $output_file -translation binary
824862
@@ -974,11 +1012,11 @@
9741012
#
9751013
# End of the win/Makefile.msc output
9761014
##############################################################################
9771015
##############################################################################
9781016
##############################################################################
979
-# Begin win/Makefile.PellesCGMake
1017
+# Begin win/Makefile.PellesCGMake output
9801018
#
9811019
puts "building ../win/Makefile.PellesCGMake"
9821020
set output_file [open ../win/Makefile.PellesCGMake w]
9831021
fconfigure $output_file -translation binary
9841022
9851023
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -311,11 +311,11 @@
311 #
312 # End of the main.mk output
313 ##############################################################################
314 ##############################################################################
315 ##############################################################################
316 # Begin win/Makefile.mingw
317 #
318 puts "building ../win/Makefile.mingw"
319 set output_file [open ../win/Makefile.mingw w]
320 fconfigure $output_file -translation binary
321
@@ -335,10 +335,11 @@
335
336 #### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
337 # By default, this is an empty string (i.e. use the native compiler).
338 #
339 PREFIX =
 
340 # PREFIX = i686-pc-mingw32-
341 # PREFIX = i686-w64-mingw32-
342 # PREFIX = x86_64-w64-mingw32-
343
344 #### The toplevel directory of the source tree. Fossil can be built
@@ -530,30 +531,68 @@
530 foreach s [lsort $src] {
531 writeln -nonewline " \\\n \$(OBJDIR)/$s.o"
532 }
533 writeln "\n"
534 writeln "APPNAME = ${name}.exe"
535 writeln {TRANSLATE = $(OBJDIR)/translate.exe
536 MAKEHEADERS = $(OBJDIR)/makeheaders.exe
537 MKINDEX = $(OBJDIR)/mkindex.exe
538 VERSION = $(OBJDIR)/version.exe
539 }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
540
541 writeln {
542 all: $(OBJDIR) $(APPNAME)
543
544 $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc
545 cp $(SRCDIR)/../win/fossil.rc $(OBJDIR)
546 cp $(SRCDIR)/../win/fossil.ico $(OBJDIR)
 
 
 
 
 
547 $(RCC) $(OBJDIR)/fossil.rc -o $(OBJDIR)/fossil.o
548
549 install: $(APPNAME)
550 mkdir -p $(INSTALLDIR)
551 mv $(APPNAME) $(INSTALLDIR)
 
 
 
 
 
552
553 $(OBJDIR):
554 mkdir $(OBJDIR)
 
 
 
 
555
556 $(OBJDIR)/translate: $(SRCDIR)/translate.c
557 $(BCC) -o $(OBJDIR)/translate $(SRCDIR)/translate.c
558
559 $(OBJDIR)/makeheaders: $(SRCDIR)/makeheaders.c
@@ -592,20 +631,21 @@
592 # an executable named "manifest" out of the file named "manifest.c"
593 #
594 $(SRCDIR)/../manifest:
595 # noop
596
597 # Requires MSYS to be installed in addition to the MinGW, for the "rm"
598 # command. "del" will not work here because it is not a separate command
599 # but a MSDOS-shell builtin.
600 #
601 clean:
602 rm -rf $(OBJDIR) $(APPNAME)
 
 
 
 
 
 
603
604 setup: $(OBJDIR) $(APPNAME)
605 $(MAKENSIS) ./fossil.nsi
606
607 }
608
609 set mhargs {}
610 foreach s [lsort $src] {
611 append mhargs " \$(OBJDIR)/${s}_.c:\$(OBJDIR)/$s.h"
@@ -613,25 +653,24 @@
613 }
614 append mhargs " \$(SRCDIR)/sqlite3.h"
615 append mhargs " \$(SRCDIR)/th.h"
616 append mhargs " \$(OBJDIR)/VERSION.h"
617 writeln "\$(OBJDIR)/page_index.h: \$(TRANS_SRC) \$(OBJDIR)/mkindex"
618 writeln "\t\$(MKINDEX) \$(TRANS_SRC) >$@"
619 writeln "\$(OBJDIR)/headers:\t\$(OBJDIR)/page_index.h \$(OBJDIR)/makeheaders \$(OBJDIR)/VERSION.h"
620 writeln "\t\$(MAKEHEADERS) $mhargs"
621 writeln "\techo Done >\$(OBJDIR)/headers"
622 writeln ""
623 writeln "\$(OBJDIR)/headers: Makefile"
624 writeln "Makefile:"
625 set extra_h(main) \$(OBJDIR)/page_index.h
626
627 foreach s [lsort $src] {
628 writeln "\$(OBJDIR)/${s}_.c:\t\$(SRCDIR)/$s.c \$(OBJDIR)/translate"
629 writeln "\t\$(TRANSLATE) \$(SRCDIR)/$s.c >\$(OBJDIR)/${s}_.c\n"
630 writeln "\$(OBJDIR)/$s.o:\t\$(OBJDIR)/${s}_.c \$(OBJDIR)/$s.h $extra_h($s) \$(SRCDIR)/config.h"
631 writeln "\t\$(XTCC) -o \$(OBJDIR)/$s.o -c \$(OBJDIR)/${s}_.c\n"
632 writeln "$s.h:\t\$(OBJDIR)/headers"
633 }
634
635
636 writeln "\$(OBJDIR)/sqlite3.o:\t\$(SRCDIR)/sqlite3.c"
637 set opt $SQLITE_OPTIONS
@@ -654,20 +693,19 @@
654 writeln "\t\$(XTCC) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
655
656 writeln {ifdef FOSSIL_ENABLE_TCL
657 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
658 $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
659 endif
660 }
661
662 close $output_file
663 #
664 # End of the main.mk output
665 ##############################################################################
666 ##############################################################################
667 ##############################################################################
668 # Begin win/Makefile.dmc
669 #
670 puts "building ../win/Makefile.dmc"
671 set output_file [open ../win/Makefile.dmc w]
672 fconfigure $output_file -translation binary
673
@@ -814,11 +852,11 @@
814 #
815 # End of the win/Makefile.dmc output
816 ##############################################################################
817 ##############################################################################
818 ##############################################################################
819 # Begin win/Makefile.msc
820 #
821 puts "building ../win/Makefile.msc"
822 set output_file [open ../win/Makefile.msc w]
823 fconfigure $output_file -translation binary
824
@@ -974,11 +1012,11 @@
974 #
975 # End of the win/Makefile.msc output
976 ##############################################################################
977 ##############################################################################
978 ##############################################################################
979 # Begin win/Makefile.PellesCGMake
980 #
981 puts "building ../win/Makefile.PellesCGMake"
982 set output_file [open ../win/Makefile.PellesCGMake w]
983 fconfigure $output_file -translation binary
984
985
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -311,11 +311,11 @@
311 #
312 # End of the main.mk output
313 ##############################################################################
314 ##############################################################################
315 ##############################################################################
316 # Begin win/Makefile.mingw output
317 #
318 puts "building ../win/Makefile.mingw"
319 set output_file [open ../win/Makefile.mingw w]
320 fconfigure $output_file -translation binary
321
@@ -335,10 +335,11 @@
335
336 #### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
337 # By default, this is an empty string (i.e. use the native compiler).
338 #
339 PREFIX =
340 # PREFIX = mingw32-
341 # PREFIX = i686-pc-mingw32-
342 # PREFIX = i686-w64-mingw32-
343 # PREFIX = x86_64-w64-mingw32-
344
345 #### The toplevel directory of the source tree. Fossil can be built
@@ -530,30 +531,68 @@
531 foreach s [lsort $src] {
532 writeln -nonewline " \\\n \$(OBJDIR)/$s.o"
533 }
534 writeln "\n"
535 writeln "APPNAME = ${name}.exe"
536 writeln {
537 #### If the USE_WINDOWS variable exists, it is assumed that we are building
538 # inside of a Windows-style shell; otherwise, it is assumed that we are
539 # building inside of a Unix-style shell. Note that the "move" command is
540 # broken when attempting to use it from the Windows shell via MinGW make
541 # because the SHELL variable is only used for certain commands that are
542 # recognized internally by make.
543 #
544 ifdef USE_WINDOWS
545 TRANSLATE = $(subst /,\,$(OBJDIR)/translate)
546 MAKEHEADERS = $(subst /,\,$(OBJDIR)/makeheaders)
547 MKINDEX = $(subst /,\,$(OBJDIR)/mkindex)
548 VERSION = $(subst /,\,$(OBJDIR)/version)
549 CP = copy
550 MV = copy
551 RM = del /Q
552 MKDIR = -mkdir
553 RMDIR = rmdir /S /Q
554 else
555 TRANSLATE = $(OBJDIR)/translate
556 MAKEHEADERS = $(OBJDIR)/makeheaders
557 MKINDEX = $(OBJDIR)/mkindex
558 VERSION = $(OBJDIR)/version
559 CP = cp
560 MV = mv
561 RM = rm -f
562 MKDIR = -mkdir -p
563 RMDIR = rm -rf
564 endif}
565
566 writeln {
567 all: $(OBJDIR) $(APPNAME)
568
569 $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h
570 ifdef USE_WINDOWS
571 $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR))
572 $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR))
573 else
574 $(CP) $(SRCDIR)/../win/fossil.rc $(OBJDIR)
575 $(CP) $(SRCDIR)/../win/fossil.ico $(OBJDIR)
576 endif
577 $(RCC) $(OBJDIR)/fossil.rc -o $(OBJDIR)/fossil.o
578
579 install: $(OBJDIR) $(APPNAME)
580 ifdef USE_WINDOWS
581 $(MKDIR) $(subst /,\,$(INSTALLDIR))
582 $(MV) $(subst /,\,$(APPNAME)) $(subst /,\,$(INSTALLDIR))
583 else
584 $(MKDIR) $(INSTALLDIR)
585 $(MV) $(APPNAME) $(INSTALLDIR)
586 endif
587
588 $(OBJDIR):
589 ifdef USE_WINDOWS
590 $(MKDIR) $(subst /,\,$(OBJDIR))
591 else
592 $(MKDIR) $(OBJDIR)
593 endif
594
595 $(OBJDIR)/translate: $(SRCDIR)/translate.c
596 $(BCC) -o $(OBJDIR)/translate $(SRCDIR)/translate.c
597
598 $(OBJDIR)/makeheaders: $(SRCDIR)/makeheaders.c
@@ -592,20 +631,21 @@
631 # an executable named "manifest" out of the file named "manifest.c"
632 #
633 $(SRCDIR)/../manifest:
634 # noop
635
 
 
 
 
636 clean:
637 ifdef USE_WINDOWS
638 $(RM) $(subst /,\,$(APPNAME))
639 $(RMDIR) $(subst /,\,$(OBJDIR))
640 else
641 $(RM) $(APPNAME)
642 $(RMDIR) $(OBJDIR)
643 endif
644
645 setup: $(OBJDIR) $(APPNAME)
646 $(MAKENSIS) ./fossil.nsi
 
647 }
648
649 set mhargs {}
650 foreach s [lsort $src] {
651 append mhargs " \$(OBJDIR)/${s}_.c:\$(OBJDIR)/$s.h"
@@ -613,25 +653,24 @@
653 }
654 append mhargs " \$(SRCDIR)/sqlite3.h"
655 append mhargs " \$(SRCDIR)/th.h"
656 append mhargs " \$(OBJDIR)/VERSION.h"
657 writeln "\$(OBJDIR)/page_index.h: \$(TRANS_SRC) \$(OBJDIR)/mkindex"
658 writeln "\t\$(MKINDEX) \$(TRANS_SRC) >$@\n"
659 writeln "\$(OBJDIR)/headers:\t\$(OBJDIR)/page_index.h \$(OBJDIR)/makeheaders \$(OBJDIR)/VERSION.h"
660 writeln "\t\$(MAKEHEADERS) $mhargs"
661 writeln "\techo Done >\$(OBJDIR)/headers\n"
662 writeln "\$(OBJDIR)/headers: Makefile\n"
663 writeln "Makefile:\n"
 
664 set extra_h(main) \$(OBJDIR)/page_index.h
665
666 foreach s [lsort $src] {
667 writeln "\$(OBJDIR)/${s}_.c:\t\$(SRCDIR)/$s.c \$(OBJDIR)/translate"
668 writeln "\t\$(TRANSLATE) \$(SRCDIR)/$s.c >\$(OBJDIR)/${s}_.c\n"
669 writeln "\$(OBJDIR)/$s.o:\t\$(OBJDIR)/${s}_.c \$(OBJDIR)/$s.h $extra_h($s) \$(SRCDIR)/config.h"
670 writeln "\t\$(XTCC) -o \$(OBJDIR)/$s.o -c \$(OBJDIR)/${s}_.c\n"
671 writeln "\$(OBJDIR)/${s}.h:\t\$(OBJDIR)/headers\n"
672 }
673
674
675 writeln "\$(OBJDIR)/sqlite3.o:\t\$(SRCDIR)/sqlite3.c"
676 set opt $SQLITE_OPTIONS
@@ -654,20 +693,19 @@
693 writeln "\t\$(XTCC) -c \$(SRCDIR)/th_lang.c -o \$(OBJDIR)/th_lang.o\n"
694
695 writeln {ifdef FOSSIL_ENABLE_TCL
696 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
697 $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
698 endif}
 
699
700 close $output_file
701 #
702 # End of the win/Makefile.mingw output
703 ##############################################################################
704 ##############################################################################
705 ##############################################################################
706 # Begin win/Makefile.dmc output
707 #
708 puts "building ../win/Makefile.dmc"
709 set output_file [open ../win/Makefile.dmc w]
710 fconfigure $output_file -translation binary
711
@@ -814,11 +852,11 @@
852 #
853 # End of the win/Makefile.dmc output
854 ##############################################################################
855 ##############################################################################
856 ##############################################################################
857 # Begin win/Makefile.msc output
858 #
859 puts "building ../win/Makefile.msc"
860 set output_file [open ../win/Makefile.msc w]
861 fconfigure $output_file -translation binary
862
@@ -974,11 +1012,11 @@
1012 #
1013 # End of the win/Makefile.msc output
1014 ##############################################################################
1015 ##############################################################################
1016 ##############################################################################
1017 # Begin win/Makefile.PellesCGMake output
1018 #
1019 puts "building ../win/Makefile.PellesCGMake"
1020 set output_file [open ../win/Makefile.PellesCGMake w]
1021 fconfigure $output_file -translation binary
1022
1023
+1 -1
--- src/manifest.c
+++ src/manifest.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/manifest.c
+++ src/manifest.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/manifest.c
+++ src/manifest.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+2 -2
--- src/merge.c
+++ src/merge.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -180,11 +180,11 @@
180180
mid = t;
181181
}
182182
if( !is_a_version(pid) ){
183183
fossil_fatal("not a version: record #%d", pid);
184184
}
185
- if( !forceFlag && (mid==pid || vid==pid || mid==vid) ){
185
+ if( !forceFlag && mid==pid ){
186186
fossil_print("Merge skipped because it is a no-op. "
187187
" Use --force to override.\n");
188188
return;
189189
}
190190
if( detailFlag ){
191191
--- src/merge.c
+++ src/merge.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -180,11 +180,11 @@
180 mid = t;
181 }
182 if( !is_a_version(pid) ){
183 fossil_fatal("not a version: record #%d", pid);
184 }
185 if( !forceFlag && (mid==pid || vid==pid || mid==vid) ){
186 fossil_print("Merge skipped because it is a no-op. "
187 " Use --force to override.\n");
188 return;
189 }
190 if( detailFlag ){
191
--- src/merge.c
+++ src/merge.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -180,11 +180,11 @@
180 mid = t;
181 }
182 if( !is_a_version(pid) ){
183 fossil_fatal("not a version: record #%d", pid);
184 }
185 if( !forceFlag && mid==pid ){
186 fossil_print("Merge skipped because it is a no-op. "
187 " Use --force to override.\n");
188 return;
189 }
190 if( detailFlag ){
191
+1 -1
--- src/merge3.c
+++ src/merge3.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/merge3.c
+++ src/merge3.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/merge3.c
+++ src/merge3.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/mkindex.c
+++ src/mkindex.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2002 D. Richard Hipp
2
+** Copyright (c) 2002 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/mkindex.c
+++ src/mkindex.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2002 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
--- src/mkindex.c
+++ src/mkindex.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2002 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
+1 -1
--- src/name.c
+++ src/name.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/name.c
+++ src/name.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/name.c
+++ src/name.c
@@ -1,7 +1,7 @@
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
+1 -1
--- src/path.c
+++ src/path.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2011 D. Richard Hipp
2
+** Copyright (c) 2011 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/path.c
+++ src/path.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2011 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
--- src/path.c
+++ src/path.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2011 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
+1 -1
--- src/pivot.c
+++ src/pivot.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/pivot.c
+++ src/pivot.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/pivot.c
+++ src/pivot.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/popen.c
+++ src/popen.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2010 D. Richard Hipp
2
+** Copyright (c) 2010 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/popen.c
+++ src/popen.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2010 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
--- src/popen.c
+++ src/popen.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2010 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
+1 -1
--- src/pqueue.c
+++ src/pqueue.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/pqueue.c
+++ src/pqueue.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/pqueue.c
+++ src/pqueue.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/printf.c
+++ src/printf.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/printf.c
+++ src/printf.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/printf.c
+++ src/printf.c
@@ -1,7 +1,7 @@
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
+2 -2
--- src/rebuild.c
+++ src/rebuild.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -745,11 +745,11 @@
745745
/*
746746
** COMMAND: scrub*
747747
** %fossil scrub ?OPTIONS? ?REPOSITORY?
748748
**
749749
** The command removes sensitive information (such as passwords) from a
750
-** repository so that the respository can be sent to an untrusted reader.
750
+** repository so that the repository can be sent to an untrusted reader.
751751
**
752752
** By default, only passwords are removed. However, if the --verily option
753753
** is added, then private branches, concealed email addresses, IP
754754
** addresses of correspondents, and similar privacy-sensitive fields
755755
** are also purged. If the --private option is used, then only private
756756
--- src/rebuild.c
+++ src/rebuild.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -745,11 +745,11 @@
745 /*
746 ** COMMAND: scrub*
747 ** %fossil scrub ?OPTIONS? ?REPOSITORY?
748 **
749 ** The command removes sensitive information (such as passwords) from a
750 ** repository so that the respository can be sent to an untrusted reader.
751 **
752 ** By default, only passwords are removed. However, if the --verily option
753 ** is added, then private branches, concealed email addresses, IP
754 ** addresses of correspondents, and similar privacy-sensitive fields
755 ** are also purged. If the --private option is used, then only private
756
--- src/rebuild.c
+++ src/rebuild.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -745,11 +745,11 @@
745 /*
746 ** COMMAND: scrub*
747 ** %fossil scrub ?OPTIONS? ?REPOSITORY?
748 **
749 ** The command removes sensitive information (such as passwords) from a
750 ** repository so that the repository can be sent to an untrusted reader.
751 **
752 ** By default, only passwords are removed. However, if the --verily option
753 ** is added, then private branches, concealed email addresses, IP
754 ** addresses of correspondents, and similar privacy-sensitive fields
755 ** are also purged. If the --private option is used, then only private
756
+1 -1
--- src/report.c
+++ src/report.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/report.c
+++ src/report.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/report.c
+++ src/report.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/rss.c
+++ src/rss.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/rss.c
+++ src/rss.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/rss.c
+++ src/rss.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/schema.c
+++ src/schema.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/schema.c
+++ src/schema.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/schema.c
+++ src/schema.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/search.c
+++ src/search.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2009 D. Richard Hipp
2
+** Copyright (c) 2009 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/search.c
+++ src/search.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2009 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
--- src/search.c
+++ src/search.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2009 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
+12 -12
--- src/setup.c
+++ src/setup.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -496,38 +496,38 @@
496496
if( fossil_strcmp(zLogin, "developer") ){
497497
char *z1, *z2;
498498
z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='developer'");
499499
while( z1 && *z1 ){
500500
inherit[0x7f & *(z1++)] =
501
- "<span class=\"ueditInheritDeveloper\">•</span>";
501
+ "<span class=\"ueditInheritDeveloper\">&bull;</span>";
502502
}
503503
free(z2);
504504
}
505505
if( fossil_strcmp(zLogin, "reader") ){
506506
char *z1, *z2;
507507
z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='reader'");
508508
while( z1 && *z1 ){
509509
inherit[0x7f & *(z1++)] =
510
- "<span class=\"ueditInheritReader\">•</span>";
510
+ "<span class=\"ueditInheritReader\">&bull;</span>";
511511
}
512512
free(z2);
513513
}
514514
if( fossil_strcmp(zLogin, "anonymous") ){
515515
char *z1, *z2;
516516
z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='anonymous'");
517517
while( z1 && *z1 ){
518518
inherit[0x7f & *(z1++)] =
519
- "<span class=\"ueditInheritAnonymous\">•</span>";
519
+ "<span class=\"ueditInheritAnonymous\">&bull;</span>";
520520
}
521521
free(z2);
522522
}
523523
if( fossil_strcmp(zLogin, "nobody") ){
524524
char *z1, *z2;
525525
z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='nobody'");
526526
while( z1 && *z1 ){
527527
inherit[0x7f & *(z1++)] =
528
- "<span class=\"ueditInheritNobody\">•</span>";
528
+ "<span class=\"ueditInheritNobody\">&bull;</span>";
529529
}
530530
free(z2);
531531
}
532532
533533
/* Begin generating the page
@@ -662,30 +662,30 @@
662662
@ and reset user passwords. Both automatically get all other privileges
663663
@ listed below. Use these two settings with discretion.
664664
@ </p></li>
665665
@
666666
@ <li><p>
667
- @ The "<span class="ueditInheritNobody"><big>•</big></span>" mark
667
+ @ The "<span class="ueditInheritNobody"><big>&bull;</big></span>" mark
668668
@ indicates the privileges of <span class="usertype">nobody</span> that
669669
@ are available to all users regardless of whether or not they are logged in.
670670
@ </p></li>
671671
@
672672
@ <li><p>
673
- @ The "<span class="ueditInheritAnonymous"><big>•</big></span>" mark
673
+ @ The "<span class="ueditInheritAnonymous"><big>&bull;</big></span>" mark
674674
@ indicates the privileges of <span class="usertype">anonymous</span> that
675675
@ are inherited by all logged-in users.
676676
@ </p></li>
677677
@
678678
@ <li><p>
679
- @ The "<span class="ueditInheritDeveloper"><big>•</big></span>" mark
679
+ @ The "<span class="ueditInheritDeveloper"><big>&bull;</big></span>" mark
680680
@ indicates the privileges of <span class="usertype">developer</span> that
681681
@ are inherited by all users with the
682682
@ <span class="capability">Developer</span> privilege.
683683
@ </p></li>
684684
@
685685
@ <li><p>
686
- @ The "<span class="ueditInheritReader"><big>•</big></span>" mark
686
+ @ The "<span class="ueditInheritReader"><big>&bull;</big></span>" mark
687687
@ indicates the privileges of <span class="usertype">reader</span> that
688688
@ are inherited by all users with the <span class="capability">Reader</span>
689689
@ privilege.
690690
@ </p></li>
691691
@
@@ -1616,16 +1616,16 @@
16161616
style_header("Raw SQL Commands");
16171617
@ <p><b>Caution:</b> There are no restrictions on the SQL that can be
16181618
@ run by this page. You can do serious and irrepairable damage to the
16191619
@ repository. Proceed with extreme caution.</p>
16201620
@
1621
- @ <p>Database names:<ul><li>repository → %s(db_name("repository"))
1621
+ @ <p>Database names:<ul><li>repository &rarr; %s(db_name("repository"))
16221622
if( g.configOpen ){
1623
- @ <li>config → %s(db_name("configdb"))
1623
+ @ <li>config &rarr; %s(db_name("configdb"))
16241624
}
16251625
if( g.localOpen ){
1626
- @ <li>local-checkout → %s(db_name("localdb"))
1626
+ @ <li>local-checkout &rarr; %s(db_name("localdb"))
16271627
}
16281628
@ </ul></p>
16291629
@
16301630
@ <form method="post" action="%s(g.zTop)/admin_sql">
16311631
login_insert_csrf_secret();
16321632
--- src/setup.c
+++ src/setup.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -496,38 +496,38 @@
496 if( fossil_strcmp(zLogin, "developer") ){
497 char *z1, *z2;
498 z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='developer'");
499 while( z1 && *z1 ){
500 inherit[0x7f & *(z1++)] =
501 "<span class=\"ueditInheritDeveloper\">•</span>";
502 }
503 free(z2);
504 }
505 if( fossil_strcmp(zLogin, "reader") ){
506 char *z1, *z2;
507 z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='reader'");
508 while( z1 && *z1 ){
509 inherit[0x7f & *(z1++)] =
510 "<span class=\"ueditInheritReader\">•</span>";
511 }
512 free(z2);
513 }
514 if( fossil_strcmp(zLogin, "anonymous") ){
515 char *z1, *z2;
516 z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='anonymous'");
517 while( z1 && *z1 ){
518 inherit[0x7f & *(z1++)] =
519 "<span class=\"ueditInheritAnonymous\">•</span>";
520 }
521 free(z2);
522 }
523 if( fossil_strcmp(zLogin, "nobody") ){
524 char *z1, *z2;
525 z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='nobody'");
526 while( z1 && *z1 ){
527 inherit[0x7f & *(z1++)] =
528 "<span class=\"ueditInheritNobody\">•</span>";
529 }
530 free(z2);
531 }
532
533 /* Begin generating the page
@@ -662,30 +662,30 @@
662 @ and reset user passwords. Both automatically get all other privileges
663 @ listed below. Use these two settings with discretion.
664 @ </p></li>
665 @
666 @ <li><p>
667 @ The "<span class="ueditInheritNobody"><big>•</big></span>" mark
668 @ indicates the privileges of <span class="usertype">nobody</span> that
669 @ are available to all users regardless of whether or not they are logged in.
670 @ </p></li>
671 @
672 @ <li><p>
673 @ The "<span class="ueditInheritAnonymous"><big>•</big></span>" mark
674 @ indicates the privileges of <span class="usertype">anonymous</span> that
675 @ are inherited by all logged-in users.
676 @ </p></li>
677 @
678 @ <li><p>
679 @ The "<span class="ueditInheritDeveloper"><big>•</big></span>" mark
680 @ indicates the privileges of <span class="usertype">developer</span> that
681 @ are inherited by all users with the
682 @ <span class="capability">Developer</span> privilege.
683 @ </p></li>
684 @
685 @ <li><p>
686 @ The "<span class="ueditInheritReader"><big>•</big></span>" mark
687 @ indicates the privileges of <span class="usertype">reader</span> that
688 @ are inherited by all users with the <span class="capability">Reader</span>
689 @ privilege.
690 @ </p></li>
691 @
@@ -1616,16 +1616,16 @@
1616 style_header("Raw SQL Commands");
1617 @ <p><b>Caution:</b> There are no restrictions on the SQL that can be
1618 @ run by this page. You can do serious and irrepairable damage to the
1619 @ repository. Proceed with extreme caution.</p>
1620 @
1621 @ <p>Database names:<ul><li>repository → %s(db_name("repository"))
1622 if( g.configOpen ){
1623 @ <li>config → %s(db_name("configdb"))
1624 }
1625 if( g.localOpen ){
1626 @ <li>local-checkout → %s(db_name("localdb"))
1627 }
1628 @ </ul></p>
1629 @
1630 @ <form method="post" action="%s(g.zTop)/admin_sql">
1631 login_insert_csrf_secret();
1632
--- src/setup.c
+++ src/setup.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -496,38 +496,38 @@
496 if( fossil_strcmp(zLogin, "developer") ){
497 char *z1, *z2;
498 z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='developer'");
499 while( z1 && *z1 ){
500 inherit[0x7f & *(z1++)] =
501 "<span class=\"ueditInheritDeveloper\">&bull;</span>";
502 }
503 free(z2);
504 }
505 if( fossil_strcmp(zLogin, "reader") ){
506 char *z1, *z2;
507 z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='reader'");
508 while( z1 && *z1 ){
509 inherit[0x7f & *(z1++)] =
510 "<span class=\"ueditInheritReader\">&bull;</span>";
511 }
512 free(z2);
513 }
514 if( fossil_strcmp(zLogin, "anonymous") ){
515 char *z1, *z2;
516 z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='anonymous'");
517 while( z1 && *z1 ){
518 inherit[0x7f & *(z1++)] =
519 "<span class=\"ueditInheritAnonymous\">&bull;</span>";
520 }
521 free(z2);
522 }
523 if( fossil_strcmp(zLogin, "nobody") ){
524 char *z1, *z2;
525 z1 = z2 = db_text(0,"SELECT cap FROM user WHERE login='nobody'");
526 while( z1 && *z1 ){
527 inherit[0x7f & *(z1++)] =
528 "<span class=\"ueditInheritNobody\">&bull;</span>";
529 }
530 free(z2);
531 }
532
533 /* Begin generating the page
@@ -662,30 +662,30 @@
662 @ and reset user passwords. Both automatically get all other privileges
663 @ listed below. Use these two settings with discretion.
664 @ </p></li>
665 @
666 @ <li><p>
667 @ The "<span class="ueditInheritNobody"><big>&bull;</big></span>" mark
668 @ indicates the privileges of <span class="usertype">nobody</span> that
669 @ are available to all users regardless of whether or not they are logged in.
670 @ </p></li>
671 @
672 @ <li><p>
673 @ The "<span class="ueditInheritAnonymous"><big>&bull;</big></span>" mark
674 @ indicates the privileges of <span class="usertype">anonymous</span> that
675 @ are inherited by all logged-in users.
676 @ </p></li>
677 @
678 @ <li><p>
679 @ The "<span class="ueditInheritDeveloper"><big>&bull;</big></span>" mark
680 @ indicates the privileges of <span class="usertype">developer</span> that
681 @ are inherited by all users with the
682 @ <span class="capability">Developer</span> privilege.
683 @ </p></li>
684 @
685 @ <li><p>
686 @ The "<span class="ueditInheritReader"><big>&bull;</big></span>" mark
687 @ indicates the privileges of <span class="usertype">reader</span> that
688 @ are inherited by all users with the <span class="capability">Reader</span>
689 @ privilege.
690 @ </p></li>
691 @
@@ -1616,16 +1616,16 @@
1616 style_header("Raw SQL Commands");
1617 @ <p><b>Caution:</b> There are no restrictions on the SQL that can be
1618 @ run by this page. You can do serious and irrepairable damage to the
1619 @ repository. Proceed with extreme caution.</p>
1620 @
1621 @ <p>Database names:<ul><li>repository &rarr; %s(db_name("repository"))
1622 if( g.configOpen ){
1623 @ <li>config &rarr; %s(db_name("configdb"))
1624 }
1625 if( g.localOpen ){
1626 @ <li>local-checkout &rarr; %s(db_name("localdb"))
1627 }
1628 @ </ul></p>
1629 @
1630 @ <form method="post" action="%s(g.zTop)/admin_sql">
1631 login_insert_csrf_secret();
1632
+4 -4
--- src/shun.c
+++ src/shun.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2008 D. Richard Hipp
2
+** Copyright (c) 2008 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -77,11 +77,11 @@
7777
}else{
7878
@ <p class="noMoreShun">Artifact %s(zUuid) will no longer
7979
@ be shunned. But it does not exist in the repository. It
8080
@ may be necessary to rebuild the repository using the
8181
@ <b>fossil rebuild</b> command-line before the artifact content
82
- @ can pulled in from other respositories.</p>
82
+ @ can pulled in from other repositories.</p>
8383
}
8484
}
8585
if( zUuid && P("add") ){
8686
int rid, tagid;
8787
login_verify_csrf_secret();
@@ -89,11 +89,11 @@
8989
"INSERT OR IGNORE INTO shun(uuid,mtime)"
9090
" VALUES('%s', now())", zUuid);
9191
@ <p class="shunned">Artifact
9292
@ <a href="%s(g.zTop)/artifact/%s(zUuid)">%s(zUuid)</a> has been
9393
@ shunned. It will no longer be pushed.
94
- @ It will be removed from the repository the next time the respository
94
+ @ It will be removed from the repository the next time the repository
9595
@ is rebuilt using the <b>fossil rebuild</b> command-line</p>
9696
db_multi_exec("DELETE FROM attachment WHERE src=%Q", zUuid);
9797
rid = db_int(0, "SELECT rid FROM blob WHERE uuid=%Q", zUuid);
9898
if( rid ){
9999
db_multi_exec("DELETE FROM event WHERE objid=%d", rid);
@@ -147,11 +147,11 @@
147147
@ <input type="text" name="uuid" size="50" />
148148
@ <input type="submit" name="sub" value="Accept" />
149149
@ </div></form>
150150
@ </blockquote>
151151
@
152
- @ <p>Press the Rebuild button below to rebuild the respository. The
152
+ @ <p>Press the Rebuild button below to rebuild the repository. The
153153
@ content of newly shunned artifacts is not purged until the repository
154154
@ is rebuilt. On larger repositories, the rebuild may take minute or
155155
@ two, so be patient after pressing the button.</p>
156156
@
157157
@ <blockquote>
158158
--- src/shun.c
+++ src/shun.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2008 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
@@ -77,11 +77,11 @@
77 }else{
78 @ <p class="noMoreShun">Artifact %s(zUuid) will no longer
79 @ be shunned. But it does not exist in the repository. It
80 @ may be necessary to rebuild the repository using the
81 @ <b>fossil rebuild</b> command-line before the artifact content
82 @ can pulled in from other respositories.</p>
83 }
84 }
85 if( zUuid && P("add") ){
86 int rid, tagid;
87 login_verify_csrf_secret();
@@ -89,11 +89,11 @@
89 "INSERT OR IGNORE INTO shun(uuid,mtime)"
90 " VALUES('%s', now())", zUuid);
91 @ <p class="shunned">Artifact
92 @ <a href="%s(g.zTop)/artifact/%s(zUuid)">%s(zUuid)</a> has been
93 @ shunned. It will no longer be pushed.
94 @ It will be removed from the repository the next time the respository
95 @ is rebuilt using the <b>fossil rebuild</b> command-line</p>
96 db_multi_exec("DELETE FROM attachment WHERE src=%Q", zUuid);
97 rid = db_int(0, "SELECT rid FROM blob WHERE uuid=%Q", zUuid);
98 if( rid ){
99 db_multi_exec("DELETE FROM event WHERE objid=%d", rid);
@@ -147,11 +147,11 @@
147 @ <input type="text" name="uuid" size="50" />
148 @ <input type="submit" name="sub" value="Accept" />
149 @ </div></form>
150 @ </blockquote>
151 @
152 @ <p>Press the Rebuild button below to rebuild the respository. The
153 @ content of newly shunned artifacts is not purged until the repository
154 @ is rebuilt. On larger repositories, the rebuild may take minute or
155 @ two, so be patient after pressing the button.</p>
156 @
157 @ <blockquote>
158
--- src/shun.c
+++ src/shun.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2008 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
@@ -77,11 +77,11 @@
77 }else{
78 @ <p class="noMoreShun">Artifact %s(zUuid) will no longer
79 @ be shunned. But it does not exist in the repository. It
80 @ may be necessary to rebuild the repository using the
81 @ <b>fossil rebuild</b> command-line before the artifact content
82 @ can pulled in from other repositories.</p>
83 }
84 }
85 if( zUuid && P("add") ){
86 int rid, tagid;
87 login_verify_csrf_secret();
@@ -89,11 +89,11 @@
89 "INSERT OR IGNORE INTO shun(uuid,mtime)"
90 " VALUES('%s', now())", zUuid);
91 @ <p class="shunned">Artifact
92 @ <a href="%s(g.zTop)/artifact/%s(zUuid)">%s(zUuid)</a> has been
93 @ shunned. It will no longer be pushed.
94 @ It will be removed from the repository the next time the repository
95 @ is rebuilt using the <b>fossil rebuild</b> command-line</p>
96 db_multi_exec("DELETE FROM attachment WHERE src=%Q", zUuid);
97 rid = db_int(0, "SELECT rid FROM blob WHERE uuid=%Q", zUuid);
98 if( rid ){
99 db_multi_exec("DELETE FROM event WHERE objid=%d", rid);
@@ -147,11 +147,11 @@
147 @ <input type="text" name="uuid" size="50" />
148 @ <input type="submit" name="sub" value="Accept" />
149 @ </div></form>
150 @ </blockquote>
151 @
152 @ <p>Press the Rebuild button below to rebuild the repository. The
153 @ content of newly shunned artifacts is not purged until the repository
154 @ is rebuilt. On larger repositories, the rebuild may take minute or
155 @ two, so be patient after pressing the button.</p>
156 @
157 @ <blockquote>
158
+1 -1
--- src/skins.c
+++ src/skins.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2009 D. Richard Hipp
2
+** Copyright (c) 2009 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/skins.c
+++ src/skins.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2009 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
--- src/skins.c
+++ src/skins.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2009 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
+1 -1
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2010 D. Richard Hipp
2
+** Copyright (c) 2010 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2010 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
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2010 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
+1 -1
--- src/stash.c
+++ src/stash.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2010 D. Richard Hipp
2
+** Copyright (c) 2010 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/stash.c
+++ src/stash.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2010 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
--- src/stash.c
+++ src/stash.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2010 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
+1 -1
--- src/stat.c
+++ src/stat.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/stat.c
+++ src/stat.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/stat.c
+++ src/stat.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/style.c
+++ src/style.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006,2007 D. Richard Hipp
2
+** Copyright (c) 2006,2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/style.c
+++ src/style.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2006,2007 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
--- src/style.c
+++ src/style.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2006,2007 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
+4 -4
--- src/sync.c
+++ src/sync.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -29,11 +29,11 @@
2929
#define AUTOSYNC_PULL 2
3030
3131
#endif /* INTERFACE */
3232
3333
/*
34
-** If the respository is configured for autosyncing, then do an
34
+** If the repository is configured for autosyncing, then do an
3535
** autosync. This will be a pull if the argument is true or a push
3636
** if the argument is false.
3737
**
3838
** Return the number of errors.
3939
*/
@@ -114,11 +114,11 @@
114114
if( zUrl==0 ){
115115
if( urlOptional ) fossil_exit(0);
116116
usage("URL");
117117
}
118118
url_parse(zUrl);
119
- if( g.urlUser!=0 && g.urlPasswd==0 ){
119
+ if( g.urlUser!=0 && g.urlPasswd==0 && g.urlIsSsh==0 ){
120120
if( zPw==0 ){
121121
url_prompt_for_password();
122122
}else{
123123
g.urlPasswd = mprintf("%s", zPw);
124124
}
@@ -261,11 +261,11 @@
261261
if( fossil_strcmp(g.argv[2],"off")==0 ){
262262
db_unset("last-sync-url", 0);
263263
db_unset("last-sync-pw", 0);
264264
}else{
265265
url_parse(g.argv[2]);
266
- if( g.urlUser && g.urlPasswd==0 ){
266
+ if( g.urlUser && g.urlPasswd==0 && g.urlIsSsh==0 ){
267267
url_prompt_for_password();
268268
}
269269
db_set("last-sync-url", g.urlCanonical, 0);
270270
if( g.urlPasswd ){
271271
db_set("last-sync-pw", obscure(g.urlPasswd), 0);
272272
--- src/sync.c
+++ src/sync.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -29,11 +29,11 @@
29 #define AUTOSYNC_PULL 2
30
31 #endif /* INTERFACE */
32
33 /*
34 ** If the respository is configured for autosyncing, then do an
35 ** autosync. This will be a pull if the argument is true or a push
36 ** if the argument is false.
37 **
38 ** Return the number of errors.
39 */
@@ -114,11 +114,11 @@
114 if( zUrl==0 ){
115 if( urlOptional ) fossil_exit(0);
116 usage("URL");
117 }
118 url_parse(zUrl);
119 if( g.urlUser!=0 && g.urlPasswd==0 ){
120 if( zPw==0 ){
121 url_prompt_for_password();
122 }else{
123 g.urlPasswd = mprintf("%s", zPw);
124 }
@@ -261,11 +261,11 @@
261 if( fossil_strcmp(g.argv[2],"off")==0 ){
262 db_unset("last-sync-url", 0);
263 db_unset("last-sync-pw", 0);
264 }else{
265 url_parse(g.argv[2]);
266 if( g.urlUser && g.urlPasswd==0 ){
267 url_prompt_for_password();
268 }
269 db_set("last-sync-url", g.urlCanonical, 0);
270 if( g.urlPasswd ){
271 db_set("last-sync-pw", obscure(g.urlPasswd), 0);
272
--- src/sync.c
+++ src/sync.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -29,11 +29,11 @@
29 #define AUTOSYNC_PULL 2
30
31 #endif /* INTERFACE */
32
33 /*
34 ** If the repository is configured for autosyncing, then do an
35 ** autosync. This will be a pull if the argument is true or a push
36 ** if the argument is false.
37 **
38 ** Return the number of errors.
39 */
@@ -114,11 +114,11 @@
114 if( zUrl==0 ){
115 if( urlOptional ) fossil_exit(0);
116 usage("URL");
117 }
118 url_parse(zUrl);
119 if( g.urlUser!=0 && g.urlPasswd==0 && g.urlIsSsh==0 ){
120 if( zPw==0 ){
121 url_prompt_for_password();
122 }else{
123 g.urlPasswd = mprintf("%s", zPw);
124 }
@@ -261,11 +261,11 @@
261 if( fossil_strcmp(g.argv[2],"off")==0 ){
262 db_unset("last-sync-url", 0);
263 db_unset("last-sync-pw", 0);
264 }else{
265 url_parse(g.argv[2]);
266 if( g.urlUser && g.urlPasswd==0 && g.urlIsSsh==0 ){
267 url_prompt_for_password();
268 }
269 db_set("last-sync-url", g.urlCanonical, 0);
270 if( g.urlPasswd ){
271 db_set("last-sync-pw", obscure(g.urlPasswd), 0);
272
+1 -1
--- src/tag.c
+++ src/tag.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/tag.c
+++ src/tag.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/tag.c
+++ src/tag.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/tag.c
+++ src/tag.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/tag.c
+++ src/tag.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/tag.c
+++ src/tag.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/tar.c
+++ src/tar.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2011 D. Richard Hipp
2
+** Copyright (c) 2011 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/tar.c
+++ src/tar.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2011 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
--- src/tar.c
+++ src/tar.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2011 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
+1 -1
--- src/th_main.c
+++ src/th_main.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2008 D. Richard Hipp
2
+** Copyright (c) 2008 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/th_main.c
+++ src/th_main.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2008 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
--- src/th_main.c
+++ src/th_main.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2008 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
+2 -2
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -1,8 +1,8 @@
11
/*
2
-** Copyright © 2011 D. Richard Hipp
3
-** Copyright © 2011 Joe Mistachkin
2
+** Copyright (c) 2011 D. Richard Hipp
3
+** Copyright (c) 2011 Joe Mistachkin
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
99
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -1,8 +1,8 @@
1 /*
2 ** Copyright © 2011 D. Richard Hipp
3 ** Copyright © 2011 Joe Mistachkin
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8
9
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -1,8 +1,8 @@
1 /*
2 ** Copyright (c) 2011 D. Richard Hipp
3 ** Copyright (c) 2011 Joe Mistachkin
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8
9
+4 -4
--- src/timeline.c
+++ src/timeline.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -318,11 +318,11 @@
318318
@ <td class="timelineTableCell" style="background-color: %h(zBgClr);">
319319
}else{
320320
@ <td class="timelineTableCell">
321321
}
322322
if( pGraph && zType[0]!='c' ){
323
- @ •
323
+ @ &bull;
324324
}
325325
if( zType[0]=='c' ){
326326
hyperlink_to_uuid(zUuid);
327327
if( isLeaf ){
328328
if( db_exists("SELECT 1 FROM tagxref"
@@ -436,16 +436,16 @@
436436
@ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
437437
@ [view]</a></li>
438438
}else if( isDel ){
439439
@ <li> %h(zFilename) (deleted)</li>
440440
}else if( fossil_strcmp(zOld,zNew)==0 && zOldName!=0 ){
441
- @ <li> %h(zOldName) → %h(zFilename)
441
+ @ <li> %h(zOldName) &rarr; %h(zFilename)
442442
@ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
443443
@ [view]</a></li>
444444
}else{
445445
if( zOldName!=0 ){
446
- @ <li> %h(zOldName) → %h(zFilename)
446
+ @ <li> %h(zOldName) &rarr; %h(zFilename)
447447
}else{
448448
@ <li> %h(zFilename) &nbsp;
449449
}
450450
@ %z(xhref("target='diffwindow'","%R/fdiff?v1=%S&v2=%S",zOld,zNew))
451451
@ [diff]</a></li>
452452
--- src/timeline.c
+++ src/timeline.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -318,11 +318,11 @@
318 @ <td class="timelineTableCell" style="background-color: %h(zBgClr);">
319 }else{
320 @ <td class="timelineTableCell">
321 }
322 if( pGraph && zType[0]!='c' ){
323 @ •
324 }
325 if( zType[0]=='c' ){
326 hyperlink_to_uuid(zUuid);
327 if( isLeaf ){
328 if( db_exists("SELECT 1 FROM tagxref"
@@ -436,16 +436,16 @@
436 @ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
437 @ [view]</a></li>
438 }else if( isDel ){
439 @ <li> %h(zFilename) (deleted)</li>
440 }else if( fossil_strcmp(zOld,zNew)==0 && zOldName!=0 ){
441 @ <li> %h(zOldName) → %h(zFilename)
442 @ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
443 @ [view]</a></li>
444 }else{
445 if( zOldName!=0 ){
446 @ <li> %h(zOldName) → %h(zFilename)
447 }else{
448 @ <li> %h(zFilename) &nbsp;
449 }
450 @ %z(xhref("target='diffwindow'","%R/fdiff?v1=%S&v2=%S",zOld,zNew))
451 @ [diff]</a></li>
452
--- src/timeline.c
+++ src/timeline.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -318,11 +318,11 @@
318 @ <td class="timelineTableCell" style="background-color: %h(zBgClr);">
319 }else{
320 @ <td class="timelineTableCell">
321 }
322 if( pGraph && zType[0]!='c' ){
323 @ &bull;
324 }
325 if( zType[0]=='c' ){
326 hyperlink_to_uuid(zUuid);
327 if( isLeaf ){
328 if( db_exists("SELECT 1 FROM tagxref"
@@ -436,16 +436,16 @@
436 @ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
437 @ [view]</a></li>
438 }else if( isDel ){
439 @ <li> %h(zFilename) (deleted)</li>
440 }else if( fossil_strcmp(zOld,zNew)==0 && zOldName!=0 ){
441 @ <li> %h(zOldName) &rarr; %h(zFilename)
442 @ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
443 @ [view]</a></li>
444 }else{
445 if( zOldName!=0 ){
446 @ <li> %h(zOldName) &rarr; %h(zFilename)
447 }else{
448 @ <li> %h(zFilename) &nbsp;
449 }
450 @ %z(xhref("target='diffwindow'","%R/fdiff?v1=%S&v2=%S",zOld,zNew))
451 @ [diff]</a></li>
452
+4 -4
--- src/timeline.c
+++ src/timeline.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -318,11 +318,11 @@
318318
@ <td class="timelineTableCell" style="background-color: %h(zBgClr);">
319319
}else{
320320
@ <td class="timelineTableCell">
321321
}
322322
if( pGraph && zType[0]!='c' ){
323
- @ •
323
+ @ &bull;
324324
}
325325
if( zType[0]=='c' ){
326326
hyperlink_to_uuid(zUuid);
327327
if( isLeaf ){
328328
if( db_exists("SELECT 1 FROM tagxref"
@@ -436,16 +436,16 @@
436436
@ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
437437
@ [view]</a></li>
438438
}else if( isDel ){
439439
@ <li> %h(zFilename) (deleted)</li>
440440
}else if( fossil_strcmp(zOld,zNew)==0 && zOldName!=0 ){
441
- @ <li> %h(zOldName) → %h(zFilename)
441
+ @ <li> %h(zOldName) &rarr; %h(zFilename)
442442
@ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
443443
@ [view]</a></li>
444444
}else{
445445
if( zOldName!=0 ){
446
- @ <li> %h(zOldName) → %h(zFilename)
446
+ @ <li> %h(zOldName) &rarr; %h(zFilename)
447447
}else{
448448
@ <li> %h(zFilename) &nbsp;
449449
}
450450
@ %z(xhref("target='diffwindow'","%R/fdiff?v1=%S&v2=%S",zOld,zNew))
451451
@ [diff]</a></li>
452452
--- src/timeline.c
+++ src/timeline.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -318,11 +318,11 @@
318 @ <td class="timelineTableCell" style="background-color: %h(zBgClr);">
319 }else{
320 @ <td class="timelineTableCell">
321 }
322 if( pGraph && zType[0]!='c' ){
323 @ •
324 }
325 if( zType[0]=='c' ){
326 hyperlink_to_uuid(zUuid);
327 if( isLeaf ){
328 if( db_exists("SELECT 1 FROM tagxref"
@@ -436,16 +436,16 @@
436 @ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
437 @ [view]</a></li>
438 }else if( isDel ){
439 @ <li> %h(zFilename) (deleted)</li>
440 }else if( fossil_strcmp(zOld,zNew)==0 && zOldName!=0 ){
441 @ <li> %h(zOldName) → %h(zFilename)
442 @ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
443 @ [view]</a></li>
444 }else{
445 if( zOldName!=0 ){
446 @ <li> %h(zOldName) → %h(zFilename)
447 }else{
448 @ <li> %h(zFilename) &nbsp;
449 }
450 @ %z(xhref("target='diffwindow'","%R/fdiff?v1=%S&v2=%S",zOld,zNew))
451 @ [diff]</a></li>
452
--- src/timeline.c
+++ src/timeline.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -318,11 +318,11 @@
318 @ <td class="timelineTableCell" style="background-color: %h(zBgClr);">
319 }else{
320 @ <td class="timelineTableCell">
321 }
322 if( pGraph && zType[0]!='c' ){
323 @ &bull;
324 }
325 if( zType[0]=='c' ){
326 hyperlink_to_uuid(zUuid);
327 if( isLeaf ){
328 if( db_exists("SELECT 1 FROM tagxref"
@@ -436,16 +436,16 @@
436 @ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
437 @ [view]</a></li>
438 }else if( isDel ){
439 @ <li> %h(zFilename) (deleted)</li>
440 }else if( fossil_strcmp(zOld,zNew)==0 && zOldName!=0 ){
441 @ <li> %h(zOldName) &rarr; %h(zFilename)
442 @ %z(xhref("target='diffwindow'","%R/artifact/%S",zNew))
443 @ [view]</a></li>
444 }else{
445 if( zOldName!=0 ){
446 @ <li> %h(zOldName) &rarr; %h(zFilename)
447 }else{
448 @ <li> %h(zFilename) &nbsp;
449 }
450 @ %z(xhref("target='diffwindow'","%R/fdiff?v1=%S&v2=%S",zOld,zNew))
451 @ [diff]</a></li>
452
+1 -1
--- src/tkt.c
+++ src/tkt.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/tkt.c
+++ src/tkt.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/tkt.c
+++ src/tkt.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/undo.c
+++ src/undo.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/undo.c
+++ src/undo.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/undo.c
+++ src/undo.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/update.c
+++ src/update.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/update.c
+++ src/update.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/update.c
+++ src/update.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+2 -1
--- src/url.c
+++ src/url.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -390,9 +390,10 @@
390390
*/
391391
void url_get_password_if_needed(void){
392392
if( (g.urlUser && g.urlUser[0])
393393
&& (g.urlPasswd==0 || g.urlPasswd[0]==0)
394394
&& isatty(fileno(stdin))
395
+ && g.urlIsSsh==0
395396
){
396397
url_prompt_for_password();
397398
}
398399
}
399400
--- src/url.c
+++ src/url.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -390,9 +390,10 @@
390 */
391 void url_get_password_if_needed(void){
392 if( (g.urlUser && g.urlUser[0])
393 && (g.urlPasswd==0 || g.urlPasswd[0]==0)
394 && isatty(fileno(stdin))
 
395 ){
396 url_prompt_for_password();
397 }
398 }
399
--- src/url.c
+++ src/url.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -390,9 +390,10 @@
390 */
391 void url_get_password_if_needed(void){
392 if( (g.urlUser && g.urlUser[0])
393 && (g.urlPasswd==0 || g.urlPasswd[0]==0)
394 && isatty(fileno(stdin))
395 && g.urlIsSsh==0
396 ){
397 url_prompt_for_password();
398 }
399 }
400
+1 -1
--- src/user.c
+++ src/user.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2006 D. Richard Hipp
2
+** Copyright (c) 2006 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/user.c
+++ src/user.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 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
--- src/user.c
+++ src/user.c
@@ -1,7 +1,7 @@
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
+1 -1
--- src/verify.c
+++ src/verify.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/verify.c
+++ src/verify.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/verify.c
+++ src/verify.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/vfile.c
+++ src/vfile.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/vfile.c
+++ src/vfile.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/vfile.c
+++ src/vfile.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+3 -23
--- src/wiki.c
+++ src/wiki.c
@@ -1,8 +1,8 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
3
-** Copyright © 2008 Stephan Beal
2
+** Copyright (c) 2007 D. Richard Hipp
3
+** Copyright (c) 2008 Stephan Beal
44
**
55
** This program is free software; you can redistribute it and/or
66
** modify it under the terms of the Simplified BSD License (also
77
** known as the "2-Clause License" or "FreeBSD License".)
88
@@ -825,11 +825,11 @@
825825
@ </ol>
826826
style_footer();
827827
}
828828
829829
/*
830
-** Add a new wiki page to the respository. The page name is
830
+** Add a new wiki page to the repository. The page name is
831831
** given by the zPageName parameter. isNew must be true to create
832832
** a new page. If no previous page with the name zPageName exists
833833
** and isNew is false, then this routine throws an error.
834834
**
835835
** The content of the new page is given by the blob pContent.
@@ -915,30 +915,10 @@
915915
** %fossil wiki list
916916
**
917917
** Lists all wiki entries, one per line, ordered
918918
** case-insentively by name.
919919
**
920
-** TODOs:
921
-**
922
-** %fossil wiki export ?-u ARTIFACT? WikiName ?FILE?
923
-**
924
-** Outputs the selected version of WikiName.
925
-**
926
-** %fossil wiki delete ?-m MESSAGE? WikiName
927
-**
928
-** The same as deleting a file entry, but i don't know if fossil
929
-** supports a commit message for Wiki entries.
930
-**
931
-** %fossil wiki ?-u? ?-d? ?-s=[|]? list
932
-**
933
-** Lists the artifact ID and/or Date of last change along with
934
-** each entry name, delimited by the -s char.
935
-**
936
-** %fossil wiki diff ?ARTIFACT? ?-f infile[=stdin]? EntryName
937
-**
938
-** Diffs the local copy of a page with a given version (defaulting
939
-** to the head version).
940920
*/
941921
void wiki_cmd(void){
942922
int n;
943923
db_find_and_open_repository(0, 0);
944924
if( g.argc<3 ){
945925
--- src/wiki.c
+++ src/wiki.c
@@ -1,8 +1,8 @@
1 /*
2 ** Copyright © 2007 D. Richard Hipp
3 ** Copyright © 2008 Stephan Beal
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8
@@ -825,11 +825,11 @@
825 @ </ol>
826 style_footer();
827 }
828
829 /*
830 ** Add a new wiki page to the respository. The page name is
831 ** given by the zPageName parameter. isNew must be true to create
832 ** a new page. If no previous page with the name zPageName exists
833 ** and isNew is false, then this routine throws an error.
834 **
835 ** The content of the new page is given by the blob pContent.
@@ -915,30 +915,10 @@
915 ** %fossil wiki list
916 **
917 ** Lists all wiki entries, one per line, ordered
918 ** case-insentively by name.
919 **
920 ** TODOs:
921 **
922 ** %fossil wiki export ?-u ARTIFACT? WikiName ?FILE?
923 **
924 ** Outputs the selected version of WikiName.
925 **
926 ** %fossil wiki delete ?-m MESSAGE? WikiName
927 **
928 ** The same as deleting a file entry, but i don't know if fossil
929 ** supports a commit message for Wiki entries.
930 **
931 ** %fossil wiki ?-u? ?-d? ?-s=[|]? list
932 **
933 ** Lists the artifact ID and/or Date of last change along with
934 ** each entry name, delimited by the -s char.
935 **
936 ** %fossil wiki diff ?ARTIFACT? ?-f infile[=stdin]? EntryName
937 **
938 ** Diffs the local copy of a page with a given version (defaulting
939 ** to the head version).
940 */
941 void wiki_cmd(void){
942 int n;
943 db_find_and_open_repository(0, 0);
944 if( g.argc<3 ){
945
--- src/wiki.c
+++ src/wiki.c
@@ -1,8 +1,8 @@
1 /*
2 ** Copyright (c) 2007 D. Richard Hipp
3 ** Copyright (c) 2008 Stephan Beal
4 **
5 ** This program is free software; you can redistribute it and/or
6 ** modify it under the terms of the Simplified BSD License (also
7 ** known as the "2-Clause License" or "FreeBSD License".)
8
@@ -825,11 +825,11 @@
825 @ </ol>
826 style_footer();
827 }
828
829 /*
830 ** Add a new wiki page to the repository. The page name is
831 ** given by the zPageName parameter. isNew must be true to create
832 ** a new page. If no previous page with the name zPageName exists
833 ** and isNew is false, then this routine throws an error.
834 **
835 ** The content of the new page is given by the blob pContent.
@@ -915,30 +915,10 @@
915 ** %fossil wiki list
916 **
917 ** Lists all wiki entries, one per line, ordered
918 ** case-insentively by name.
919 **
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
920 */
921 void wiki_cmd(void){
922 int n;
923 db_find_and_open_repository(0, 0);
924 if( g.argc<3 ){
925
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -1190,11 +1190,11 @@
11901190
p->state |= AT_NEWLINE;
11911191
break;
11921192
}
11931193
case TOKEN_BUL_LI: {
11941194
if( inlineOnly ){
1195
- blob_append(p->pOut, " • ", -1);
1195
+ blob_append(p->pOut, " &bull; ", -1);
11961196
}else{
11971197
if( p->wikiList!=MARKUP_UL ){
11981198
if( p->wikiList ){
11991199
popStackToTag(p, p->wikiList);
12001200
}
@@ -1410,18 +1410,18 @@
14101410
p->state &= ~ALLOW_WIKI;
14111411
for (vAttrIdx = 0; vAttrIdx < markup.nAttr; vAttrIdx++){
14121412
if( markup.aAttr[vAttrIdx].iACode == ATTR_ID ){
14131413
p->zVerbatimId = markup.aAttr[0].zValue;
14141414
}else if( markup.aAttr[vAttrIdx].iACode == ATTR_TYPE ){
1415
- blob_appendf(p->pOut, "<pre name=\"code\" class=\"%s\">",
1415
+ blob_appendf(p->pOut, "<pre name='code' class='%s'>",
14161416
markup.aAttr[vAttrIdx].zValue);
14171417
vAttrDidAppend=1;
14181418
}
14191419
}
14201420
if( !vAttrDidAppend ) {
14211421
endAutoParagraph(p);
1422
- blob_append(p->pOut, "<pre class=\"verbatim\">",-1);
1422
+ blob_append(p->pOut, "<pre class='verbatim'>",-1);
14231423
}
14241424
p->wantAutoParagraph = 0;
14251425
}else
14261426
if( markup.iType==MUTYPE_LI ){
14271427
if( backupToType(p, MUTYPE_LIST)==0 ){
14281428
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -1190,11 +1190,11 @@
1190 p->state |= AT_NEWLINE;
1191 break;
1192 }
1193 case TOKEN_BUL_LI: {
1194 if( inlineOnly ){
1195 blob_append(p->pOut, " • ", -1);
1196 }else{
1197 if( p->wikiList!=MARKUP_UL ){
1198 if( p->wikiList ){
1199 popStackToTag(p, p->wikiList);
1200 }
@@ -1410,18 +1410,18 @@
1410 p->state &= ~ALLOW_WIKI;
1411 for (vAttrIdx = 0; vAttrIdx < markup.nAttr; vAttrIdx++){
1412 if( markup.aAttr[vAttrIdx].iACode == ATTR_ID ){
1413 p->zVerbatimId = markup.aAttr[0].zValue;
1414 }else if( markup.aAttr[vAttrIdx].iACode == ATTR_TYPE ){
1415 blob_appendf(p->pOut, "<pre name=\"code\" class=\"%s\">",
1416 markup.aAttr[vAttrIdx].zValue);
1417 vAttrDidAppend=1;
1418 }
1419 }
1420 if( !vAttrDidAppend ) {
1421 endAutoParagraph(p);
1422 blob_append(p->pOut, "<pre class=\"verbatim\">",-1);
1423 }
1424 p->wantAutoParagraph = 0;
1425 }else
1426 if( markup.iType==MUTYPE_LI ){
1427 if( backupToType(p, MUTYPE_LIST)==0 ){
1428
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -1190,11 +1190,11 @@
1190 p->state |= AT_NEWLINE;
1191 break;
1192 }
1193 case TOKEN_BUL_LI: {
1194 if( inlineOnly ){
1195 blob_append(p->pOut, " &bull; ", -1);
1196 }else{
1197 if( p->wikiList!=MARKUP_UL ){
1198 if( p->wikiList ){
1199 popStackToTag(p, p->wikiList);
1200 }
@@ -1410,18 +1410,18 @@
1410 p->state &= ~ALLOW_WIKI;
1411 for (vAttrIdx = 0; vAttrIdx < markup.nAttr; vAttrIdx++){
1412 if( markup.aAttr[vAttrIdx].iACode == ATTR_ID ){
1413 p->zVerbatimId = markup.aAttr[0].zValue;
1414 }else if( markup.aAttr[vAttrIdx].iACode == ATTR_TYPE ){
1415 blob_appendf(p->pOut, "<pre name='code' class='%s'>",
1416 markup.aAttr[vAttrIdx].zValue);
1417 vAttrDidAppend=1;
1418 }
1419 }
1420 if( !vAttrDidAppend ) {
1421 endAutoParagraph(p);
1422 blob_append(p->pOut, "<pre class='verbatim'>",-1);
1423 }
1424 p->wantAutoParagraph = 0;
1425 }else
1426 if( markup.iType==MUTYPE_LI ){
1427 if( backupToType(p, MUTYPE_LIST)==0 ){
1428
+50 -46
--- src/winhttp.c
+++ src/winhttp.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2008 D. Richard Hipp
2
+** Copyright (c) 2008 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -23,10 +23,14 @@
2323
#ifdef _WIN32
2424
/* This code is for win32 only */
2525
#include <windows.h>
2626
#include "winhttp.h"
2727
28
+#ifndef UNICODE
29
+# define fossil_unicode_to_utf8 fossil_mbcs_to_utf8
30
+# define fossil_utf8_to_unicode fossil_utf8_to_mbcs
31
+#endif
2832
/*
2933
** The HttpRequest structure holds information about each incoming
3034
** HTTP request.
3135
*/
3236
typedef struct HttpRequest HttpRequest;
@@ -67,18 +71,18 @@
6771
HttpRequest *p = (HttpRequest*)pAppData;
6872
FILE *in = 0, *out = 0;
6973
int amt, got;
7074
int wanted = 0;
7175
char *z;
72
- char zRequestFName[100];
73
- char zReplyFName[100];
76
+ char zRequestFName[MAX_PATH];
77
+ char zReplyFName[MAX_PATH];
7478
char zCmd[2000]; /* Command-line to process the request */
7579
char zHdr[2000]; /* The HTTP request header */
7680
77
- sqlite3_snprintf(sizeof(zRequestFName), zRequestFName,
81
+ sqlite3_snprintf(MAX_PATH, zRequestFName,
7882
"%s_in%d.txt", zTempPrefix, p->id);
79
- sqlite3_snprintf(sizeof(zReplyFName), zReplyFName,
83
+ sqlite3_snprintf(MAX_PATH, zReplyFName,
8084
"%s_out%d.txt", zTempPrefix, p->id);
8185
amt = 0;
8286
while( amt<sizeof(zHdr) ){
8387
got = recv(p->s, &zHdr[amt], sizeof(zHdr)-1-amt, 0);
8488
if( got==SOCKET_ERROR ) goto end_request;
@@ -146,11 +150,11 @@
146150
SOCKET s = INVALID_SOCKET;
147151
SOCKADDR_IN addr;
148152
int idCnt = 0;
149153
int iPort = mnPort;
150154
Blob options;
151
- wchar_t zTmpPath[MAX_PATH];
155
+ TCHAR zTmpPath[MAX_PATH];
152156
153157
if( zStopper ) file_delete(zStopper);
154158
blob_zero(&options);
155159
if( zNotFound ){
156160
blob_appendf(&options, " --notfound %s", zNotFound);
@@ -191,11 +195,11 @@
191195
}else{
192196
fossil_fatal("unable to open listening socket on any"
193197
" port in the range %d..%d", mnPort, mxPort);
194198
}
195199
}
196
- if( !GetTempPathW(MAX_PATH, zTmpPath) ){
200
+ if( !GetTempPath(MAX_PATH, zTmpPath) ){
197201
fossil_fatal("unable to get path to the temporary directory.");
198202
}
199203
zTempPrefix = mprintf("%sfossil_server_P%d_", fossil_unicode_to_utf8(zTmpPath), iPort);
200204
fossil_print("Listening for HTTP requests on TCP port %d\n", iPort);
201205
if( zBrowser ){
@@ -249,11 +253,11 @@
249253
struct HttpService {
250254
int port; /* Port on which the http server should run */
251255
const char *zNotFound; /* The --notfound option, or NULL */
252256
int flags; /* One or more HTTP_SERVER_ flags */
253257
int isRunningAsService; /* Are we running as a service ? */
254
- const char *zServiceName; /* Name of the service */
258
+ const TCHAR *zServiceName;/* Name of the service */
255259
SOCKET s; /* Socket on which the http server listens */
256260
};
257261
258262
/*
259263
** Variables used for running as windows service.
@@ -268,35 +272,35 @@
268272
** to store the message string when done.
269273
*/
270274
static char *win32_get_last_errmsg(void){
271275
DWORD nMsg;
272276
DWORD nErr = GetLastError();
273
- LPWSTR tmp = NULL;
277
+ LPTSTR tmp = NULL;
274278
char *zMsg = NULL;
275279
276280
/* Try first to get the error text in english. */
277
- nMsg = FormatMessageW(
281
+ nMsg = FormatMessage(
278282
FORMAT_MESSAGE_ALLOCATE_BUFFER |
279283
FORMAT_MESSAGE_FROM_SYSTEM |
280284
FORMAT_MESSAGE_IGNORE_INSERTS,
281285
NULL,
282286
nErr,
283287
MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
284
- (LPWSTR) &tmp,
288
+ (LPTSTR) &tmp,
285289
0,
286290
NULL
287291
);
288292
if( !nMsg ){
289293
/* No english, get what the system has available. */
290
- nMsg = FormatMessageW(
294
+ nMsg = FormatMessage(
291295
FORMAT_MESSAGE_ALLOCATE_BUFFER |
292296
FORMAT_MESSAGE_FROM_SYSTEM |
293297
FORMAT_MESSAGE_IGNORE_INSERTS,
294298
NULL,
295299
nErr,
296300
0,
297
- (LPWSTR) &tmp,
301
+ (LPTSTR) &tmp,
298302
0,
299303
NULL
300304
);
301305
}
302306
if( nMsg ){
@@ -380,15 +384,15 @@
380384
){
381385
382386
/* Update the service information. */
383387
hsData.isRunningAsService = 1;
384388
if( argc>0 ){
385
- hsData.zServiceName = fossil_unicode_to_utf8(argv[0]);
389
+ hsData.zServiceName = argv[0];
386390
}
387391
388392
/* Register the service control handler function */
389
- sshStatusHandle = RegisterServiceCtrlHandlerW(L"", win32_http_service_ctrl);
393
+ sshStatusHandle = RegisterServiceCtrlHandler(TEXT(""), win32_http_service_ctrl);
390394
if( !sshStatusHandle ){
391395
win32_report_service_status(SERVICE_STOPPED, NO_ERROR, 0);
392396
return;
393397
}
394398
@@ -428,20 +432,20 @@
428432
int nPort, /* TCP port number */
429433
const char *zNotFound, /* The --notfound option, or NULL */
430434
int flags /* One or more HTTP_SERVER_ flags */
431435
){
432436
/* Define the service table. */
433
- SERVICE_TABLE_ENTRYW ServiceTable[] =
434
- {{L"", (LPSERVICE_MAIN_FUNCTIONW)win32_http_service_main}, {NULL, NULL}};
437
+ SERVICE_TABLE_ENTRY ServiceTable[] =
438
+ {{TEXT(""), (LPSERVICE_MAIN_FUNCTION)win32_http_service_main}, {NULL, NULL}};
435439
436440
/* Initialize the HttpService structure. */
437441
hsData.port = nPort;
438442
hsData.zNotFound = zNotFound;
439443
hsData.flags = flags;
440444
441445
/* Try to start the control dispatcher thread for the service. */
442
- if( !StartServiceCtrlDispatcherW(ServiceTable) ){
446
+ if( !StartServiceCtrlDispatcher(ServiceTable) ){
443447
if( GetLastError()==ERROR_FAILED_SERVICE_CONTROLLER_CONNECT ){
444448
return 1;
445449
}else{
446450
fossil_fatal("error from StartServiceCtrlDispatcher()");
447451
}
@@ -504,18 +508,18 @@
504508
**
505509
** Specifies the name of the repository to be served.
506510
** The repository option may be omitted if the working directory
507511
** is within an open checkout.
508512
** The REPOSITORY can be a directory (aka folder) that contains
509
-** one or more respositories with names ending in ".fossil".
513
+** one or more repositories with names ending in ".fossil".
510514
** In that case, the first element of the URL is used to select
511515
** among the various repositories.
512516
**
513517
** --notfound URL
514518
**
515519
** If REPOSITORY is a directory that contains one or more
516
-** respositories with names of the form "*.fossil" then the
520
+** repositories with names of the form "*.fossil" then the
517521
** first element of the URL pathname selects among the various
518522
** repositories. If the pathname does not select a valid
519523
** repository and the --notfound option is available,
520524
** then the server redirects (HTTP code 302) to the URL of
521525
** --notfound.
@@ -564,12 +568,12 @@
564568
n = strlen(zMethod);
565569
566570
if( strncmp(zMethod, "create", n)==0 ){
567571
SC_HANDLE hScm;
568572
SC_HANDLE hSvc;
569
- SERVICE_DESCRIPTIONW
570
- svcDescr = {L"Fossil - Distributed Software Configuration Management"};
573
+ SERVICE_DESCRIPTION
574
+ svcDescr = {TEXT("Fossil - Distributed Software Configuration Management")};
571575
char *zErrFmt = "unable to create service '%s': %s";
572576
DWORD dwStartType = SERVICE_DEMAND_START;
573577
const char *zDisplay = find_option("display", "D", 1);
574578
const char *zStart = find_option("start", "S", 1);
575579
const char *zUsername = find_option("username", "U", 1);
@@ -620,13 +624,13 @@
620624
if( zPort ) blob_appendf(&binPath, " --port %s", zPort);
621625
if( zNotFound ) blob_appendf(&binPath, " --notfound \"%s\"", zNotFound);
622626
if( zLocalAuth ) blob_append(&binPath, " --localauth", -1);
623627
blob_appendf(&binPath, " \"%s\"", g.zRepositoryName);
624628
/* Create the service. */
625
- hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
629
+ hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
626630
if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
627
- hSvc = CreateServiceW(
631
+ hSvc = CreateService(
628632
hScm, /* Handle to the SCM */
629633
fossil_utf8_to_unicode(zSvcName), /* Name of the service */
630634
fossil_utf8_to_unicode(zDisplay), /* Display name */
631635
SERVICE_ALL_ACCESS, /* Desired access */
632636
SERVICE_WIN32_OWN_PROCESS, /* Service type */
@@ -639,11 +643,11 @@
639643
fossil_utf8_to_unicode(zUsername), /* Service account */
640644
fossil_utf8_to_unicode(zPassword) /* Account password */
641645
);
642646
if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
643647
/* Set the service description. */
644
- ChangeServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION, &svcDescr);
648
+ ChangeServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION, &svcDescr);
645649
fossil_print("Service '%s' successfully created.\n", zSvcName);
646650
CloseServiceHandle(hSvc);
647651
CloseServiceHandle(hScm);
648652
}else
649653
if( strncmp(zMethod, "delete", n)==0 ){
@@ -656,13 +660,13 @@
656660
if( g.argc==4 ){
657661
zSvcName = g.argv[3];
658662
}else if( g.argc>4 ){
659663
fossil_fatal("to much arguments for delete method.");
660664
}
661
- hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
665
+ hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
662666
if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
663
- hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
667
+ hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
664668
if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
665669
QueryServiceStatus(hSvc, &sstat);
666670
if( sstat.dwCurrentState!=SERVICE_STOPPED ){
667671
fossil_print("Stopping service '%s'", zSvcName);
668672
if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
@@ -691,54 +695,54 @@
691695
}else
692696
if( strncmp(zMethod, "show", n)==0 ){
693697
SC_HANDLE hScm;
694698
SC_HANDLE hSvc;
695699
SERVICE_STATUS sstat;
696
- LPQUERY_SERVICE_CONFIGW pSvcConfig;
697
- LPSERVICE_DESCRIPTIONW pSvcDescr;
700
+ LPQUERY_SERVICE_CONFIG pSvcConfig;
701
+ LPSERVICE_DESCRIPTION pSvcDescr;
698702
BOOL bStatus;
699703
DWORD nRequired;
700
- static const char *zErrFmt = "unable to show service '%s': %s";
704
+ const char *zErrFmt = "unable to show service '%s': %s";
701705
static const char *const zSvcTypes[] = {
702706
"Driver service",
703707
"File system driver service",
704708
"Service runs in its own process",
705709
"Service shares a process with other services",
706710
"Service can interact with the desktop"
707711
};
708
- static const char *zSvcType = "";
709
- static const char *zSvcStartTypes[] = {
712
+ const char *zSvcType = "";
713
+ static const char *const zSvcStartTypes[] = {
710714
"Started by the system loader",
711715
"Started by the IoInitSystem function",
712716
"Started automatically by the service control manager",
713717
"Started manually",
714718
"Service cannot be started"
715719
};
716
- static const char *zSvcStartType = "";
717
- static const char *zSvcStates[] = {
720
+ const char *zSvcStartType = "";
721
+ static const char *const zSvcStates[] = {
718722
"Stopped", "Starting", "Stopping", "Running",
719723
"Continue pending", "Pause pending", "Paused"
720724
};
721
- static const char *zSvcState = "";
725
+ const char *zSvcState = "";
722726
723727
verify_all_options();
724728
if( g.argc==4 ){
725729
zSvcName = g.argv[3];
726730
}else if( g.argc>4 ){
727731
fossil_fatal("to much arguments for show method.");
728732
}
729
- hScm = OpenSCManagerW(NULL, NULL, GENERIC_READ);
733
+ hScm = OpenSCManager(NULL, NULL, GENERIC_READ);
730734
if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
731
- hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), GENERIC_READ);
735
+ hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), GENERIC_READ);
732736
if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
733737
/* Get the service configuration */
734
- bStatus = QueryServiceConfigW(hSvc, NULL, 0, &nRequired);
738
+ bStatus = QueryServiceConfig(hSvc, NULL, 0, &nRequired);
735739
if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
736740
fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
737741
}
738742
pSvcConfig = fossil_malloc(nRequired);
739
- bStatus = QueryServiceConfigW(hSvc, pSvcConfig, nRequired, &nRequired);
743
+ bStatus = QueryServiceConfig(hSvc, pSvcConfig, nRequired, &nRequired);
740744
if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
741745
/* Translate the service type */
742746
switch( pSvcConfig->dwServiceType ){
743747
case SERVICE_KERNEL_DRIVER: zSvcType = zSvcTypes[0]; break;
744748
case SERVICE_FILE_SYSTEM_DRIVER: zSvcType = zSvcTypes[1]; break;
@@ -753,17 +757,17 @@
753757
case SERVICE_AUTO_START: zSvcStartType = zSvcStartTypes[2]; break;
754758
case SERVICE_DEMAND_START: zSvcStartType = zSvcStartTypes[3]; break;
755759
case SERVICE_DISABLED: zSvcStartType = zSvcStartTypes[4]; break;
756760
}
757761
/* Get the service description. */
758
- bStatus = QueryServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION,
762
+ bStatus = QueryServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION,
759763
NULL, 0, &nRequired);
760764
if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
761765
fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
762766
}
763767
pSvcDescr = fossil_malloc(nRequired);
764
- bStatus = QueryServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION,
768
+ bStatus = QueryServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION,
765769
(LPBYTE)pSvcDescr, nRequired, &nRequired);
766770
if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
767771
/* Retrieves the current status of the specified service. */
768772
bStatus = QueryServiceStatus(hSvc, &sstat);
769773
if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
@@ -806,19 +810,19 @@
806810
if( g.argc==4 ){
807811
zSvcName = g.argv[3];
808812
}else if( g.argc>4 ){
809813
fossil_fatal("to much arguments for start method.");
810814
}
811
- hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
815
+ hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
812816
if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
813
- hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
817
+ hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
814818
if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
815819
QueryServiceStatus(hSvc, &sstat);
816820
if( sstat.dwCurrentState!=SERVICE_RUNNING ){
817821
fossil_print("Starting service '%s'", zSvcName);
818822
if( sstat.dwCurrentState!=SERVICE_START_PENDING ){
819
- if( !StartServiceW(hSvc, 0, NULL) ){
823
+ if( !StartService(hSvc, 0, NULL) ){
820824
fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
821825
}
822826
}
823827
while( sstat.dwCurrentState!=SERVICE_RUNNING ){
824828
Sleep(100);
@@ -842,13 +846,13 @@
842846
if( g.argc==4 ){
843847
zSvcName = g.argv[3];
844848
}else if( g.argc>4 ){
845849
fossil_fatal("to much arguments for stop method.");
846850
}
847
- hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
851
+ hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
848852
if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
849
- hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
853
+ hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
850854
if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
851855
QueryServiceStatus(hSvc, &sstat);
852856
if( sstat.dwCurrentState!=SERVICE_STOPPED ){
853857
fossil_print("Stopping service '%s'", zSvcName);
854858
if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
855859
--- src/winhttp.c
+++ src/winhttp.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2008 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
@@ -23,10 +23,14 @@
23 #ifdef _WIN32
24 /* This code is for win32 only */
25 #include <windows.h>
26 #include "winhttp.h"
27
 
 
 
 
28 /*
29 ** The HttpRequest structure holds information about each incoming
30 ** HTTP request.
31 */
32 typedef struct HttpRequest HttpRequest;
@@ -67,18 +71,18 @@
67 HttpRequest *p = (HttpRequest*)pAppData;
68 FILE *in = 0, *out = 0;
69 int amt, got;
70 int wanted = 0;
71 char *z;
72 char zRequestFName[100];
73 char zReplyFName[100];
74 char zCmd[2000]; /* Command-line to process the request */
75 char zHdr[2000]; /* The HTTP request header */
76
77 sqlite3_snprintf(sizeof(zRequestFName), zRequestFName,
78 "%s_in%d.txt", zTempPrefix, p->id);
79 sqlite3_snprintf(sizeof(zReplyFName), zReplyFName,
80 "%s_out%d.txt", zTempPrefix, p->id);
81 amt = 0;
82 while( amt<sizeof(zHdr) ){
83 got = recv(p->s, &zHdr[amt], sizeof(zHdr)-1-amt, 0);
84 if( got==SOCKET_ERROR ) goto end_request;
@@ -146,11 +150,11 @@
146 SOCKET s = INVALID_SOCKET;
147 SOCKADDR_IN addr;
148 int idCnt = 0;
149 int iPort = mnPort;
150 Blob options;
151 wchar_t zTmpPath[MAX_PATH];
152
153 if( zStopper ) file_delete(zStopper);
154 blob_zero(&options);
155 if( zNotFound ){
156 blob_appendf(&options, " --notfound %s", zNotFound);
@@ -191,11 +195,11 @@
191 }else{
192 fossil_fatal("unable to open listening socket on any"
193 " port in the range %d..%d", mnPort, mxPort);
194 }
195 }
196 if( !GetTempPathW(MAX_PATH, zTmpPath) ){
197 fossil_fatal("unable to get path to the temporary directory.");
198 }
199 zTempPrefix = mprintf("%sfossil_server_P%d_", fossil_unicode_to_utf8(zTmpPath), iPort);
200 fossil_print("Listening for HTTP requests on TCP port %d\n", iPort);
201 if( zBrowser ){
@@ -249,11 +253,11 @@
249 struct HttpService {
250 int port; /* Port on which the http server should run */
251 const char *zNotFound; /* The --notfound option, or NULL */
252 int flags; /* One or more HTTP_SERVER_ flags */
253 int isRunningAsService; /* Are we running as a service ? */
254 const char *zServiceName; /* Name of the service */
255 SOCKET s; /* Socket on which the http server listens */
256 };
257
258 /*
259 ** Variables used for running as windows service.
@@ -268,35 +272,35 @@
268 ** to store the message string when done.
269 */
270 static char *win32_get_last_errmsg(void){
271 DWORD nMsg;
272 DWORD nErr = GetLastError();
273 LPWSTR tmp = NULL;
274 char *zMsg = NULL;
275
276 /* Try first to get the error text in english. */
277 nMsg = FormatMessageW(
278 FORMAT_MESSAGE_ALLOCATE_BUFFER |
279 FORMAT_MESSAGE_FROM_SYSTEM |
280 FORMAT_MESSAGE_IGNORE_INSERTS,
281 NULL,
282 nErr,
283 MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
284 (LPWSTR) &tmp,
285 0,
286 NULL
287 );
288 if( !nMsg ){
289 /* No english, get what the system has available. */
290 nMsg = FormatMessageW(
291 FORMAT_MESSAGE_ALLOCATE_BUFFER |
292 FORMAT_MESSAGE_FROM_SYSTEM |
293 FORMAT_MESSAGE_IGNORE_INSERTS,
294 NULL,
295 nErr,
296 0,
297 (LPWSTR) &tmp,
298 0,
299 NULL
300 );
301 }
302 if( nMsg ){
@@ -380,15 +384,15 @@
380 ){
381
382 /* Update the service information. */
383 hsData.isRunningAsService = 1;
384 if( argc>0 ){
385 hsData.zServiceName = fossil_unicode_to_utf8(argv[0]);
386 }
387
388 /* Register the service control handler function */
389 sshStatusHandle = RegisterServiceCtrlHandlerW(L"", win32_http_service_ctrl);
390 if( !sshStatusHandle ){
391 win32_report_service_status(SERVICE_STOPPED, NO_ERROR, 0);
392 return;
393 }
394
@@ -428,20 +432,20 @@
428 int nPort, /* TCP port number */
429 const char *zNotFound, /* The --notfound option, or NULL */
430 int flags /* One or more HTTP_SERVER_ flags */
431 ){
432 /* Define the service table. */
433 SERVICE_TABLE_ENTRYW ServiceTable[] =
434 {{L"", (LPSERVICE_MAIN_FUNCTIONW)win32_http_service_main}, {NULL, NULL}};
435
436 /* Initialize the HttpService structure. */
437 hsData.port = nPort;
438 hsData.zNotFound = zNotFound;
439 hsData.flags = flags;
440
441 /* Try to start the control dispatcher thread for the service. */
442 if( !StartServiceCtrlDispatcherW(ServiceTable) ){
443 if( GetLastError()==ERROR_FAILED_SERVICE_CONTROLLER_CONNECT ){
444 return 1;
445 }else{
446 fossil_fatal("error from StartServiceCtrlDispatcher()");
447 }
@@ -504,18 +508,18 @@
504 **
505 ** Specifies the name of the repository to be served.
506 ** The repository option may be omitted if the working directory
507 ** is within an open checkout.
508 ** The REPOSITORY can be a directory (aka folder) that contains
509 ** one or more respositories with names ending in ".fossil".
510 ** In that case, the first element of the URL is used to select
511 ** among the various repositories.
512 **
513 ** --notfound URL
514 **
515 ** If REPOSITORY is a directory that contains one or more
516 ** respositories with names of the form "*.fossil" then the
517 ** first element of the URL pathname selects among the various
518 ** repositories. If the pathname does not select a valid
519 ** repository and the --notfound option is available,
520 ** then the server redirects (HTTP code 302) to the URL of
521 ** --notfound.
@@ -564,12 +568,12 @@
564 n = strlen(zMethod);
565
566 if( strncmp(zMethod, "create", n)==0 ){
567 SC_HANDLE hScm;
568 SC_HANDLE hSvc;
569 SERVICE_DESCRIPTIONW
570 svcDescr = {L"Fossil - Distributed Software Configuration Management"};
571 char *zErrFmt = "unable to create service '%s': %s";
572 DWORD dwStartType = SERVICE_DEMAND_START;
573 const char *zDisplay = find_option("display", "D", 1);
574 const char *zStart = find_option("start", "S", 1);
575 const char *zUsername = find_option("username", "U", 1);
@@ -620,13 +624,13 @@
620 if( zPort ) blob_appendf(&binPath, " --port %s", zPort);
621 if( zNotFound ) blob_appendf(&binPath, " --notfound \"%s\"", zNotFound);
622 if( zLocalAuth ) blob_append(&binPath, " --localauth", -1);
623 blob_appendf(&binPath, " \"%s\"", g.zRepositoryName);
624 /* Create the service. */
625 hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
626 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
627 hSvc = CreateServiceW(
628 hScm, /* Handle to the SCM */
629 fossil_utf8_to_unicode(zSvcName), /* Name of the service */
630 fossil_utf8_to_unicode(zDisplay), /* Display name */
631 SERVICE_ALL_ACCESS, /* Desired access */
632 SERVICE_WIN32_OWN_PROCESS, /* Service type */
@@ -639,11 +643,11 @@
639 fossil_utf8_to_unicode(zUsername), /* Service account */
640 fossil_utf8_to_unicode(zPassword) /* Account password */
641 );
642 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
643 /* Set the service description. */
644 ChangeServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION, &svcDescr);
645 fossil_print("Service '%s' successfully created.\n", zSvcName);
646 CloseServiceHandle(hSvc);
647 CloseServiceHandle(hScm);
648 }else
649 if( strncmp(zMethod, "delete", n)==0 ){
@@ -656,13 +660,13 @@
656 if( g.argc==4 ){
657 zSvcName = g.argv[3];
658 }else if( g.argc>4 ){
659 fossil_fatal("to much arguments for delete method.");
660 }
661 hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
662 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
663 hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
664 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
665 QueryServiceStatus(hSvc, &sstat);
666 if( sstat.dwCurrentState!=SERVICE_STOPPED ){
667 fossil_print("Stopping service '%s'", zSvcName);
668 if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
@@ -691,54 +695,54 @@
691 }else
692 if( strncmp(zMethod, "show", n)==0 ){
693 SC_HANDLE hScm;
694 SC_HANDLE hSvc;
695 SERVICE_STATUS sstat;
696 LPQUERY_SERVICE_CONFIGW pSvcConfig;
697 LPSERVICE_DESCRIPTIONW pSvcDescr;
698 BOOL bStatus;
699 DWORD nRequired;
700 static const char *zErrFmt = "unable to show service '%s': %s";
701 static const char *const zSvcTypes[] = {
702 "Driver service",
703 "File system driver service",
704 "Service runs in its own process",
705 "Service shares a process with other services",
706 "Service can interact with the desktop"
707 };
708 static const char *zSvcType = "";
709 static const char *zSvcStartTypes[] = {
710 "Started by the system loader",
711 "Started by the IoInitSystem function",
712 "Started automatically by the service control manager",
713 "Started manually",
714 "Service cannot be started"
715 };
716 static const char *zSvcStartType = "";
717 static const char *zSvcStates[] = {
718 "Stopped", "Starting", "Stopping", "Running",
719 "Continue pending", "Pause pending", "Paused"
720 };
721 static const char *zSvcState = "";
722
723 verify_all_options();
724 if( g.argc==4 ){
725 zSvcName = g.argv[3];
726 }else if( g.argc>4 ){
727 fossil_fatal("to much arguments for show method.");
728 }
729 hScm = OpenSCManagerW(NULL, NULL, GENERIC_READ);
730 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
731 hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), GENERIC_READ);
732 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
733 /* Get the service configuration */
734 bStatus = QueryServiceConfigW(hSvc, NULL, 0, &nRequired);
735 if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
736 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
737 }
738 pSvcConfig = fossil_malloc(nRequired);
739 bStatus = QueryServiceConfigW(hSvc, pSvcConfig, nRequired, &nRequired);
740 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
741 /* Translate the service type */
742 switch( pSvcConfig->dwServiceType ){
743 case SERVICE_KERNEL_DRIVER: zSvcType = zSvcTypes[0]; break;
744 case SERVICE_FILE_SYSTEM_DRIVER: zSvcType = zSvcTypes[1]; break;
@@ -753,17 +757,17 @@
753 case SERVICE_AUTO_START: zSvcStartType = zSvcStartTypes[2]; break;
754 case SERVICE_DEMAND_START: zSvcStartType = zSvcStartTypes[3]; break;
755 case SERVICE_DISABLED: zSvcStartType = zSvcStartTypes[4]; break;
756 }
757 /* Get the service description. */
758 bStatus = QueryServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION,
759 NULL, 0, &nRequired);
760 if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
761 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
762 }
763 pSvcDescr = fossil_malloc(nRequired);
764 bStatus = QueryServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION,
765 (LPBYTE)pSvcDescr, nRequired, &nRequired);
766 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
767 /* Retrieves the current status of the specified service. */
768 bStatus = QueryServiceStatus(hSvc, &sstat);
769 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
@@ -806,19 +810,19 @@
806 if( g.argc==4 ){
807 zSvcName = g.argv[3];
808 }else if( g.argc>4 ){
809 fossil_fatal("to much arguments for start method.");
810 }
811 hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
812 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
813 hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
814 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
815 QueryServiceStatus(hSvc, &sstat);
816 if( sstat.dwCurrentState!=SERVICE_RUNNING ){
817 fossil_print("Starting service '%s'", zSvcName);
818 if( sstat.dwCurrentState!=SERVICE_START_PENDING ){
819 if( !StartServiceW(hSvc, 0, NULL) ){
820 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
821 }
822 }
823 while( sstat.dwCurrentState!=SERVICE_RUNNING ){
824 Sleep(100);
@@ -842,13 +846,13 @@
842 if( g.argc==4 ){
843 zSvcName = g.argv[3];
844 }else if( g.argc>4 ){
845 fossil_fatal("to much arguments for stop method.");
846 }
847 hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
848 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
849 hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
850 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
851 QueryServiceStatus(hSvc, &sstat);
852 if( sstat.dwCurrentState!=SERVICE_STOPPED ){
853 fossil_print("Stopping service '%s'", zSvcName);
854 if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
855
--- src/winhttp.c
+++ src/winhttp.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2008 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
@@ -23,10 +23,14 @@
23 #ifdef _WIN32
24 /* This code is for win32 only */
25 #include <windows.h>
26 #include "winhttp.h"
27
28 #ifndef UNICODE
29 # define fossil_unicode_to_utf8 fossil_mbcs_to_utf8
30 # define fossil_utf8_to_unicode fossil_utf8_to_mbcs
31 #endif
32 /*
33 ** The HttpRequest structure holds information about each incoming
34 ** HTTP request.
35 */
36 typedef struct HttpRequest HttpRequest;
@@ -67,18 +71,18 @@
71 HttpRequest *p = (HttpRequest*)pAppData;
72 FILE *in = 0, *out = 0;
73 int amt, got;
74 int wanted = 0;
75 char *z;
76 char zRequestFName[MAX_PATH];
77 char zReplyFName[MAX_PATH];
78 char zCmd[2000]; /* Command-line to process the request */
79 char zHdr[2000]; /* The HTTP request header */
80
81 sqlite3_snprintf(MAX_PATH, zRequestFName,
82 "%s_in%d.txt", zTempPrefix, p->id);
83 sqlite3_snprintf(MAX_PATH, zReplyFName,
84 "%s_out%d.txt", zTempPrefix, p->id);
85 amt = 0;
86 while( amt<sizeof(zHdr) ){
87 got = recv(p->s, &zHdr[amt], sizeof(zHdr)-1-amt, 0);
88 if( got==SOCKET_ERROR ) goto end_request;
@@ -146,11 +150,11 @@
150 SOCKET s = INVALID_SOCKET;
151 SOCKADDR_IN addr;
152 int idCnt = 0;
153 int iPort = mnPort;
154 Blob options;
155 TCHAR zTmpPath[MAX_PATH];
156
157 if( zStopper ) file_delete(zStopper);
158 blob_zero(&options);
159 if( zNotFound ){
160 blob_appendf(&options, " --notfound %s", zNotFound);
@@ -191,11 +195,11 @@
195 }else{
196 fossil_fatal("unable to open listening socket on any"
197 " port in the range %d..%d", mnPort, mxPort);
198 }
199 }
200 if( !GetTempPath(MAX_PATH, zTmpPath) ){
201 fossil_fatal("unable to get path to the temporary directory.");
202 }
203 zTempPrefix = mprintf("%sfossil_server_P%d_", fossil_unicode_to_utf8(zTmpPath), iPort);
204 fossil_print("Listening for HTTP requests on TCP port %d\n", iPort);
205 if( zBrowser ){
@@ -249,11 +253,11 @@
253 struct HttpService {
254 int port; /* Port on which the http server should run */
255 const char *zNotFound; /* The --notfound option, or NULL */
256 int flags; /* One or more HTTP_SERVER_ flags */
257 int isRunningAsService; /* Are we running as a service ? */
258 const TCHAR *zServiceName;/* Name of the service */
259 SOCKET s; /* Socket on which the http server listens */
260 };
261
262 /*
263 ** Variables used for running as windows service.
@@ -268,35 +272,35 @@
272 ** to store the message string when done.
273 */
274 static char *win32_get_last_errmsg(void){
275 DWORD nMsg;
276 DWORD nErr = GetLastError();
277 LPTSTR tmp = NULL;
278 char *zMsg = NULL;
279
280 /* Try first to get the error text in english. */
281 nMsg = FormatMessage(
282 FORMAT_MESSAGE_ALLOCATE_BUFFER |
283 FORMAT_MESSAGE_FROM_SYSTEM |
284 FORMAT_MESSAGE_IGNORE_INSERTS,
285 NULL,
286 nErr,
287 MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
288 (LPTSTR) &tmp,
289 0,
290 NULL
291 );
292 if( !nMsg ){
293 /* No english, get what the system has available. */
294 nMsg = FormatMessage(
295 FORMAT_MESSAGE_ALLOCATE_BUFFER |
296 FORMAT_MESSAGE_FROM_SYSTEM |
297 FORMAT_MESSAGE_IGNORE_INSERTS,
298 NULL,
299 nErr,
300 0,
301 (LPTSTR) &tmp,
302 0,
303 NULL
304 );
305 }
306 if( nMsg ){
@@ -380,15 +384,15 @@
384 ){
385
386 /* Update the service information. */
387 hsData.isRunningAsService = 1;
388 if( argc>0 ){
389 hsData.zServiceName = argv[0];
390 }
391
392 /* Register the service control handler function */
393 sshStatusHandle = RegisterServiceCtrlHandler(TEXT(""), win32_http_service_ctrl);
394 if( !sshStatusHandle ){
395 win32_report_service_status(SERVICE_STOPPED, NO_ERROR, 0);
396 return;
397 }
398
@@ -428,20 +432,20 @@
432 int nPort, /* TCP port number */
433 const char *zNotFound, /* The --notfound option, or NULL */
434 int flags /* One or more HTTP_SERVER_ flags */
435 ){
436 /* Define the service table. */
437 SERVICE_TABLE_ENTRY ServiceTable[] =
438 {{TEXT(""), (LPSERVICE_MAIN_FUNCTION)win32_http_service_main}, {NULL, NULL}};
439
440 /* Initialize the HttpService structure. */
441 hsData.port = nPort;
442 hsData.zNotFound = zNotFound;
443 hsData.flags = flags;
444
445 /* Try to start the control dispatcher thread for the service. */
446 if( !StartServiceCtrlDispatcher(ServiceTable) ){
447 if( GetLastError()==ERROR_FAILED_SERVICE_CONTROLLER_CONNECT ){
448 return 1;
449 }else{
450 fossil_fatal("error from StartServiceCtrlDispatcher()");
451 }
@@ -504,18 +508,18 @@
508 **
509 ** Specifies the name of the repository to be served.
510 ** The repository option may be omitted if the working directory
511 ** is within an open checkout.
512 ** The REPOSITORY can be a directory (aka folder) that contains
513 ** one or more repositories with names ending in ".fossil".
514 ** In that case, the first element of the URL is used to select
515 ** among the various repositories.
516 **
517 ** --notfound URL
518 **
519 ** If REPOSITORY is a directory that contains one or more
520 ** repositories with names of the form "*.fossil" then the
521 ** first element of the URL pathname selects among the various
522 ** repositories. If the pathname does not select a valid
523 ** repository and the --notfound option is available,
524 ** then the server redirects (HTTP code 302) to the URL of
525 ** --notfound.
@@ -564,12 +568,12 @@
568 n = strlen(zMethod);
569
570 if( strncmp(zMethod, "create", n)==0 ){
571 SC_HANDLE hScm;
572 SC_HANDLE hSvc;
573 SERVICE_DESCRIPTION
574 svcDescr = {TEXT("Fossil - Distributed Software Configuration Management")};
575 char *zErrFmt = "unable to create service '%s': %s";
576 DWORD dwStartType = SERVICE_DEMAND_START;
577 const char *zDisplay = find_option("display", "D", 1);
578 const char *zStart = find_option("start", "S", 1);
579 const char *zUsername = find_option("username", "U", 1);
@@ -620,13 +624,13 @@
624 if( zPort ) blob_appendf(&binPath, " --port %s", zPort);
625 if( zNotFound ) blob_appendf(&binPath, " --notfound \"%s\"", zNotFound);
626 if( zLocalAuth ) blob_append(&binPath, " --localauth", -1);
627 blob_appendf(&binPath, " \"%s\"", g.zRepositoryName);
628 /* Create the service. */
629 hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
630 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
631 hSvc = CreateService(
632 hScm, /* Handle to the SCM */
633 fossil_utf8_to_unicode(zSvcName), /* Name of the service */
634 fossil_utf8_to_unicode(zDisplay), /* Display name */
635 SERVICE_ALL_ACCESS, /* Desired access */
636 SERVICE_WIN32_OWN_PROCESS, /* Service type */
@@ -639,11 +643,11 @@
643 fossil_utf8_to_unicode(zUsername), /* Service account */
644 fossil_utf8_to_unicode(zPassword) /* Account password */
645 );
646 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
647 /* Set the service description. */
648 ChangeServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION, &svcDescr);
649 fossil_print("Service '%s' successfully created.\n", zSvcName);
650 CloseServiceHandle(hSvc);
651 CloseServiceHandle(hScm);
652 }else
653 if( strncmp(zMethod, "delete", n)==0 ){
@@ -656,13 +660,13 @@
660 if( g.argc==4 ){
661 zSvcName = g.argv[3];
662 }else if( g.argc>4 ){
663 fossil_fatal("to much arguments for delete method.");
664 }
665 hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
666 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
667 hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
668 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
669 QueryServiceStatus(hSvc, &sstat);
670 if( sstat.dwCurrentState!=SERVICE_STOPPED ){
671 fossil_print("Stopping service '%s'", zSvcName);
672 if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
@@ -691,54 +695,54 @@
695 }else
696 if( strncmp(zMethod, "show", n)==0 ){
697 SC_HANDLE hScm;
698 SC_HANDLE hSvc;
699 SERVICE_STATUS sstat;
700 LPQUERY_SERVICE_CONFIG pSvcConfig;
701 LPSERVICE_DESCRIPTION pSvcDescr;
702 BOOL bStatus;
703 DWORD nRequired;
704 const char *zErrFmt = "unable to show service '%s': %s";
705 static const char *const zSvcTypes[] = {
706 "Driver service",
707 "File system driver service",
708 "Service runs in its own process",
709 "Service shares a process with other services",
710 "Service can interact with the desktop"
711 };
712 const char *zSvcType = "";
713 static const char *const zSvcStartTypes[] = {
714 "Started by the system loader",
715 "Started by the IoInitSystem function",
716 "Started automatically by the service control manager",
717 "Started manually",
718 "Service cannot be started"
719 };
720 const char *zSvcStartType = "";
721 static const char *const zSvcStates[] = {
722 "Stopped", "Starting", "Stopping", "Running",
723 "Continue pending", "Pause pending", "Paused"
724 };
725 const char *zSvcState = "";
726
727 verify_all_options();
728 if( g.argc==4 ){
729 zSvcName = g.argv[3];
730 }else if( g.argc>4 ){
731 fossil_fatal("to much arguments for show method.");
732 }
733 hScm = OpenSCManager(NULL, NULL, GENERIC_READ);
734 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
735 hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), GENERIC_READ);
736 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
737 /* Get the service configuration */
738 bStatus = QueryServiceConfig(hSvc, NULL, 0, &nRequired);
739 if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
740 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
741 }
742 pSvcConfig = fossil_malloc(nRequired);
743 bStatus = QueryServiceConfig(hSvc, pSvcConfig, nRequired, &nRequired);
744 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
745 /* Translate the service type */
746 switch( pSvcConfig->dwServiceType ){
747 case SERVICE_KERNEL_DRIVER: zSvcType = zSvcTypes[0]; break;
748 case SERVICE_FILE_SYSTEM_DRIVER: zSvcType = zSvcTypes[1]; break;
@@ -753,17 +757,17 @@
757 case SERVICE_AUTO_START: zSvcStartType = zSvcStartTypes[2]; break;
758 case SERVICE_DEMAND_START: zSvcStartType = zSvcStartTypes[3]; break;
759 case SERVICE_DISABLED: zSvcStartType = zSvcStartTypes[4]; break;
760 }
761 /* Get the service description. */
762 bStatus = QueryServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION,
763 NULL, 0, &nRequired);
764 if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
765 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
766 }
767 pSvcDescr = fossil_malloc(nRequired);
768 bStatus = QueryServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION,
769 (LPBYTE)pSvcDescr, nRequired, &nRequired);
770 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
771 /* Retrieves the current status of the specified service. */
772 bStatus = QueryServiceStatus(hSvc, &sstat);
773 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
@@ -806,19 +810,19 @@
810 if( g.argc==4 ){
811 zSvcName = g.argv[3];
812 }else if( g.argc>4 ){
813 fossil_fatal("to much arguments for start method.");
814 }
815 hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
816 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
817 hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
818 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
819 QueryServiceStatus(hSvc, &sstat);
820 if( sstat.dwCurrentState!=SERVICE_RUNNING ){
821 fossil_print("Starting service '%s'", zSvcName);
822 if( sstat.dwCurrentState!=SERVICE_START_PENDING ){
823 if( !StartService(hSvc, 0, NULL) ){
824 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
825 }
826 }
827 while( sstat.dwCurrentState!=SERVICE_RUNNING ){
828 Sleep(100);
@@ -842,13 +846,13 @@
846 if( g.argc==4 ){
847 zSvcName = g.argv[3];
848 }else if( g.argc>4 ){
849 fossil_fatal("to much arguments for stop method.");
850 }
851 hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
852 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
853 hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
854 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
855 QueryServiceStatus(hSvc, &sstat);
856 if( sstat.dwCurrentState!=SERVICE_STOPPED ){
857 fossil_print("Stopping service '%s'", zSvcName);
858 if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
859
+50 -46
--- src/winhttp.c
+++ src/winhttp.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2008 D. Richard Hipp
2
+** Copyright (c) 2008 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -23,10 +23,14 @@
2323
#ifdef _WIN32
2424
/* This code is for win32 only */
2525
#include <windows.h>
2626
#include "winhttp.h"
2727
28
+#ifndef UNICODE
29
+# define fossil_unicode_to_utf8 fossil_mbcs_to_utf8
30
+# define fossil_utf8_to_unicode fossil_utf8_to_mbcs
31
+#endif
2832
/*
2933
** The HttpRequest structure holds information about each incoming
3034
** HTTP request.
3135
*/
3236
typedef struct HttpRequest HttpRequest;
@@ -67,18 +71,18 @@
6771
HttpRequest *p = (HttpRequest*)pAppData;
6872
FILE *in = 0, *out = 0;
6973
int amt, got;
7074
int wanted = 0;
7175
char *z;
72
- char zRequestFName[100];
73
- char zReplyFName[100];
76
+ char zRequestFName[MAX_PATH];
77
+ char zReplyFName[MAX_PATH];
7478
char zCmd[2000]; /* Command-line to process the request */
7579
char zHdr[2000]; /* The HTTP request header */
7680
77
- sqlite3_snprintf(sizeof(zRequestFName), zRequestFName,
81
+ sqlite3_snprintf(MAX_PATH, zRequestFName,
7882
"%s_in%d.txt", zTempPrefix, p->id);
79
- sqlite3_snprintf(sizeof(zReplyFName), zReplyFName,
83
+ sqlite3_snprintf(MAX_PATH, zReplyFName,
8084
"%s_out%d.txt", zTempPrefix, p->id);
8185
amt = 0;
8286
while( amt<sizeof(zHdr) ){
8387
got = recv(p->s, &zHdr[amt], sizeof(zHdr)-1-amt, 0);
8488
if( got==SOCKET_ERROR ) goto end_request;
@@ -146,11 +150,11 @@
146150
SOCKET s = INVALID_SOCKET;
147151
SOCKADDR_IN addr;
148152
int idCnt = 0;
149153
int iPort = mnPort;
150154
Blob options;
151
- wchar_t zTmpPath[MAX_PATH];
155
+ TCHAR zTmpPath[MAX_PATH];
152156
153157
if( zStopper ) file_delete(zStopper);
154158
blob_zero(&options);
155159
if( zNotFound ){
156160
blob_appendf(&options, " --notfound %s", zNotFound);
@@ -191,11 +195,11 @@
191195
}else{
192196
fossil_fatal("unable to open listening socket on any"
193197
" port in the range %d..%d", mnPort, mxPort);
194198
}
195199
}
196
- if( !GetTempPathW(MAX_PATH, zTmpPath) ){
200
+ if( !GetTempPath(MAX_PATH, zTmpPath) ){
197201
fossil_fatal("unable to get path to the temporary directory.");
198202
}
199203
zTempPrefix = mprintf("%sfossil_server_P%d_", fossil_unicode_to_utf8(zTmpPath), iPort);
200204
fossil_print("Listening for HTTP requests on TCP port %d\n", iPort);
201205
if( zBrowser ){
@@ -249,11 +253,11 @@
249253
struct HttpService {
250254
int port; /* Port on which the http server should run */
251255
const char *zNotFound; /* The --notfound option, or NULL */
252256
int flags; /* One or more HTTP_SERVER_ flags */
253257
int isRunningAsService; /* Are we running as a service ? */
254
- const char *zServiceName; /* Name of the service */
258
+ const TCHAR *zServiceName;/* Name of the service */
255259
SOCKET s; /* Socket on which the http server listens */
256260
};
257261
258262
/*
259263
** Variables used for running as windows service.
@@ -268,35 +272,35 @@
268272
** to store the message string when done.
269273
*/
270274
static char *win32_get_last_errmsg(void){
271275
DWORD nMsg;
272276
DWORD nErr = GetLastError();
273
- LPWSTR tmp = NULL;
277
+ LPTSTR tmp = NULL;
274278
char *zMsg = NULL;
275279
276280
/* Try first to get the error text in english. */
277
- nMsg = FormatMessageW(
281
+ nMsg = FormatMessage(
278282
FORMAT_MESSAGE_ALLOCATE_BUFFER |
279283
FORMAT_MESSAGE_FROM_SYSTEM |
280284
FORMAT_MESSAGE_IGNORE_INSERTS,
281285
NULL,
282286
nErr,
283287
MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
284
- (LPWSTR) &tmp,
288
+ (LPTSTR) &tmp,
285289
0,
286290
NULL
287291
);
288292
if( !nMsg ){
289293
/* No english, get what the system has available. */
290
- nMsg = FormatMessageW(
294
+ nMsg = FormatMessage(
291295
FORMAT_MESSAGE_ALLOCATE_BUFFER |
292296
FORMAT_MESSAGE_FROM_SYSTEM |
293297
FORMAT_MESSAGE_IGNORE_INSERTS,
294298
NULL,
295299
nErr,
296300
0,
297
- (LPWSTR) &tmp,
301
+ (LPTSTR) &tmp,
298302
0,
299303
NULL
300304
);
301305
}
302306
if( nMsg ){
@@ -380,15 +384,15 @@
380384
){
381385
382386
/* Update the service information. */
383387
hsData.isRunningAsService = 1;
384388
if( argc>0 ){
385
- hsData.zServiceName = fossil_unicode_to_utf8(argv[0]);
389
+ hsData.zServiceName = argv[0];
386390
}
387391
388392
/* Register the service control handler function */
389
- sshStatusHandle = RegisterServiceCtrlHandlerW(L"", win32_http_service_ctrl);
393
+ sshStatusHandle = RegisterServiceCtrlHandler(TEXT(""), win32_http_service_ctrl);
390394
if( !sshStatusHandle ){
391395
win32_report_service_status(SERVICE_STOPPED, NO_ERROR, 0);
392396
return;
393397
}
394398
@@ -428,20 +432,20 @@
428432
int nPort, /* TCP port number */
429433
const char *zNotFound, /* The --notfound option, or NULL */
430434
int flags /* One or more HTTP_SERVER_ flags */
431435
){
432436
/* Define the service table. */
433
- SERVICE_TABLE_ENTRYW ServiceTable[] =
434
- {{L"", (LPSERVICE_MAIN_FUNCTIONW)win32_http_service_main}, {NULL, NULL}};
437
+ SERVICE_TABLE_ENTRY ServiceTable[] =
438
+ {{TEXT(""), (LPSERVICE_MAIN_FUNCTION)win32_http_service_main}, {NULL, NULL}};
435439
436440
/* Initialize the HttpService structure. */
437441
hsData.port = nPort;
438442
hsData.zNotFound = zNotFound;
439443
hsData.flags = flags;
440444
441445
/* Try to start the control dispatcher thread for the service. */
442
- if( !StartServiceCtrlDispatcherW(ServiceTable) ){
446
+ if( !StartServiceCtrlDispatcher(ServiceTable) ){
443447
if( GetLastError()==ERROR_FAILED_SERVICE_CONTROLLER_CONNECT ){
444448
return 1;
445449
}else{
446450
fossil_fatal("error from StartServiceCtrlDispatcher()");
447451
}
@@ -504,18 +508,18 @@
504508
**
505509
** Specifies the name of the repository to be served.
506510
** The repository option may be omitted if the working directory
507511
** is within an open checkout.
508512
** The REPOSITORY can be a directory (aka folder) that contains
509
-** one or more respositories with names ending in ".fossil".
513
+** one or more repositories with names ending in ".fossil".
510514
** In that case, the first element of the URL is used to select
511515
** among the various repositories.
512516
**
513517
** --notfound URL
514518
**
515519
** If REPOSITORY is a directory that contains one or more
516
-** respositories with names of the form "*.fossil" then the
520
+** repositories with names of the form "*.fossil" then the
517521
** first element of the URL pathname selects among the various
518522
** repositories. If the pathname does not select a valid
519523
** repository and the --notfound option is available,
520524
** then the server redirects (HTTP code 302) to the URL of
521525
** --notfound.
@@ -564,12 +568,12 @@
564568
n = strlen(zMethod);
565569
566570
if( strncmp(zMethod, "create", n)==0 ){
567571
SC_HANDLE hScm;
568572
SC_HANDLE hSvc;
569
- SERVICE_DESCRIPTIONW
570
- svcDescr = {L"Fossil - Distributed Software Configuration Management"};
573
+ SERVICE_DESCRIPTION
574
+ svcDescr = {TEXT("Fossil - Distributed Software Configuration Management")};
571575
char *zErrFmt = "unable to create service '%s': %s";
572576
DWORD dwStartType = SERVICE_DEMAND_START;
573577
const char *zDisplay = find_option("display", "D", 1);
574578
const char *zStart = find_option("start", "S", 1);
575579
const char *zUsername = find_option("username", "U", 1);
@@ -620,13 +624,13 @@
620624
if( zPort ) blob_appendf(&binPath, " --port %s", zPort);
621625
if( zNotFound ) blob_appendf(&binPath, " --notfound \"%s\"", zNotFound);
622626
if( zLocalAuth ) blob_append(&binPath, " --localauth", -1);
623627
blob_appendf(&binPath, " \"%s\"", g.zRepositoryName);
624628
/* Create the service. */
625
- hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
629
+ hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
626630
if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
627
- hSvc = CreateServiceW(
631
+ hSvc = CreateService(
628632
hScm, /* Handle to the SCM */
629633
fossil_utf8_to_unicode(zSvcName), /* Name of the service */
630634
fossil_utf8_to_unicode(zDisplay), /* Display name */
631635
SERVICE_ALL_ACCESS, /* Desired access */
632636
SERVICE_WIN32_OWN_PROCESS, /* Service type */
@@ -639,11 +643,11 @@
639643
fossil_utf8_to_unicode(zUsername), /* Service account */
640644
fossil_utf8_to_unicode(zPassword) /* Account password */
641645
);
642646
if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
643647
/* Set the service description. */
644
- ChangeServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION, &svcDescr);
648
+ ChangeServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION, &svcDescr);
645649
fossil_print("Service '%s' successfully created.\n", zSvcName);
646650
CloseServiceHandle(hSvc);
647651
CloseServiceHandle(hScm);
648652
}else
649653
if( strncmp(zMethod, "delete", n)==0 ){
@@ -656,13 +660,13 @@
656660
if( g.argc==4 ){
657661
zSvcName = g.argv[3];
658662
}else if( g.argc>4 ){
659663
fossil_fatal("to much arguments for delete method.");
660664
}
661
- hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
665
+ hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
662666
if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
663
- hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
667
+ hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
664668
if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
665669
QueryServiceStatus(hSvc, &sstat);
666670
if( sstat.dwCurrentState!=SERVICE_STOPPED ){
667671
fossil_print("Stopping service '%s'", zSvcName);
668672
if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
@@ -691,54 +695,54 @@
691695
}else
692696
if( strncmp(zMethod, "show", n)==0 ){
693697
SC_HANDLE hScm;
694698
SC_HANDLE hSvc;
695699
SERVICE_STATUS sstat;
696
- LPQUERY_SERVICE_CONFIGW pSvcConfig;
697
- LPSERVICE_DESCRIPTIONW pSvcDescr;
700
+ LPQUERY_SERVICE_CONFIG pSvcConfig;
701
+ LPSERVICE_DESCRIPTION pSvcDescr;
698702
BOOL bStatus;
699703
DWORD nRequired;
700
- static const char *zErrFmt = "unable to show service '%s': %s";
704
+ const char *zErrFmt = "unable to show service '%s': %s";
701705
static const char *const zSvcTypes[] = {
702706
"Driver service",
703707
"File system driver service",
704708
"Service runs in its own process",
705709
"Service shares a process with other services",
706710
"Service can interact with the desktop"
707711
};
708
- static const char *zSvcType = "";
709
- static const char *zSvcStartTypes[] = {
712
+ const char *zSvcType = "";
713
+ static const char *const zSvcStartTypes[] = {
710714
"Started by the system loader",
711715
"Started by the IoInitSystem function",
712716
"Started automatically by the service control manager",
713717
"Started manually",
714718
"Service cannot be started"
715719
};
716
- static const char *zSvcStartType = "";
717
- static const char *zSvcStates[] = {
720
+ const char *zSvcStartType = "";
721
+ static const char *const zSvcStates[] = {
718722
"Stopped", "Starting", "Stopping", "Running",
719723
"Continue pending", "Pause pending", "Paused"
720724
};
721
- static const char *zSvcState = "";
725
+ const char *zSvcState = "";
722726
723727
verify_all_options();
724728
if( g.argc==4 ){
725729
zSvcName = g.argv[3];
726730
}else if( g.argc>4 ){
727731
fossil_fatal("to much arguments for show method.");
728732
}
729
- hScm = OpenSCManagerW(NULL, NULL, GENERIC_READ);
733
+ hScm = OpenSCManager(NULL, NULL, GENERIC_READ);
730734
if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
731
- hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), GENERIC_READ);
735
+ hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), GENERIC_READ);
732736
if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
733737
/* Get the service configuration */
734
- bStatus = QueryServiceConfigW(hSvc, NULL, 0, &nRequired);
738
+ bStatus = QueryServiceConfig(hSvc, NULL, 0, &nRequired);
735739
if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
736740
fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
737741
}
738742
pSvcConfig = fossil_malloc(nRequired);
739
- bStatus = QueryServiceConfigW(hSvc, pSvcConfig, nRequired, &nRequired);
743
+ bStatus = QueryServiceConfig(hSvc, pSvcConfig, nRequired, &nRequired);
740744
if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
741745
/* Translate the service type */
742746
switch( pSvcConfig->dwServiceType ){
743747
case SERVICE_KERNEL_DRIVER: zSvcType = zSvcTypes[0]; break;
744748
case SERVICE_FILE_SYSTEM_DRIVER: zSvcType = zSvcTypes[1]; break;
@@ -753,17 +757,17 @@
753757
case SERVICE_AUTO_START: zSvcStartType = zSvcStartTypes[2]; break;
754758
case SERVICE_DEMAND_START: zSvcStartType = zSvcStartTypes[3]; break;
755759
case SERVICE_DISABLED: zSvcStartType = zSvcStartTypes[4]; break;
756760
}
757761
/* Get the service description. */
758
- bStatus = QueryServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION,
762
+ bStatus = QueryServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION,
759763
NULL, 0, &nRequired);
760764
if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
761765
fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
762766
}
763767
pSvcDescr = fossil_malloc(nRequired);
764
- bStatus = QueryServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION,
768
+ bStatus = QueryServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION,
765769
(LPBYTE)pSvcDescr, nRequired, &nRequired);
766770
if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
767771
/* Retrieves the current status of the specified service. */
768772
bStatus = QueryServiceStatus(hSvc, &sstat);
769773
if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
@@ -806,19 +810,19 @@
806810
if( g.argc==4 ){
807811
zSvcName = g.argv[3];
808812
}else if( g.argc>4 ){
809813
fossil_fatal("to much arguments for start method.");
810814
}
811
- hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
815
+ hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
812816
if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
813
- hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
817
+ hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
814818
if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
815819
QueryServiceStatus(hSvc, &sstat);
816820
if( sstat.dwCurrentState!=SERVICE_RUNNING ){
817821
fossil_print("Starting service '%s'", zSvcName);
818822
if( sstat.dwCurrentState!=SERVICE_START_PENDING ){
819
- if( !StartServiceW(hSvc, 0, NULL) ){
823
+ if( !StartService(hSvc, 0, NULL) ){
820824
fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
821825
}
822826
}
823827
while( sstat.dwCurrentState!=SERVICE_RUNNING ){
824828
Sleep(100);
@@ -842,13 +846,13 @@
842846
if( g.argc==4 ){
843847
zSvcName = g.argv[3];
844848
}else if( g.argc>4 ){
845849
fossil_fatal("to much arguments for stop method.");
846850
}
847
- hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
851
+ hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
848852
if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
849
- hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
853
+ hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
850854
if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
851855
QueryServiceStatus(hSvc, &sstat);
852856
if( sstat.dwCurrentState!=SERVICE_STOPPED ){
853857
fossil_print("Stopping service '%s'", zSvcName);
854858
if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
855859
--- src/winhttp.c
+++ src/winhttp.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2008 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
@@ -23,10 +23,14 @@
23 #ifdef _WIN32
24 /* This code is for win32 only */
25 #include <windows.h>
26 #include "winhttp.h"
27
 
 
 
 
28 /*
29 ** The HttpRequest structure holds information about each incoming
30 ** HTTP request.
31 */
32 typedef struct HttpRequest HttpRequest;
@@ -67,18 +71,18 @@
67 HttpRequest *p = (HttpRequest*)pAppData;
68 FILE *in = 0, *out = 0;
69 int amt, got;
70 int wanted = 0;
71 char *z;
72 char zRequestFName[100];
73 char zReplyFName[100];
74 char zCmd[2000]; /* Command-line to process the request */
75 char zHdr[2000]; /* The HTTP request header */
76
77 sqlite3_snprintf(sizeof(zRequestFName), zRequestFName,
78 "%s_in%d.txt", zTempPrefix, p->id);
79 sqlite3_snprintf(sizeof(zReplyFName), zReplyFName,
80 "%s_out%d.txt", zTempPrefix, p->id);
81 amt = 0;
82 while( amt<sizeof(zHdr) ){
83 got = recv(p->s, &zHdr[amt], sizeof(zHdr)-1-amt, 0);
84 if( got==SOCKET_ERROR ) goto end_request;
@@ -146,11 +150,11 @@
146 SOCKET s = INVALID_SOCKET;
147 SOCKADDR_IN addr;
148 int idCnt = 0;
149 int iPort = mnPort;
150 Blob options;
151 wchar_t zTmpPath[MAX_PATH];
152
153 if( zStopper ) file_delete(zStopper);
154 blob_zero(&options);
155 if( zNotFound ){
156 blob_appendf(&options, " --notfound %s", zNotFound);
@@ -191,11 +195,11 @@
191 }else{
192 fossil_fatal("unable to open listening socket on any"
193 " port in the range %d..%d", mnPort, mxPort);
194 }
195 }
196 if( !GetTempPathW(MAX_PATH, zTmpPath) ){
197 fossil_fatal("unable to get path to the temporary directory.");
198 }
199 zTempPrefix = mprintf("%sfossil_server_P%d_", fossil_unicode_to_utf8(zTmpPath), iPort);
200 fossil_print("Listening for HTTP requests on TCP port %d\n", iPort);
201 if( zBrowser ){
@@ -249,11 +253,11 @@
249 struct HttpService {
250 int port; /* Port on which the http server should run */
251 const char *zNotFound; /* The --notfound option, or NULL */
252 int flags; /* One or more HTTP_SERVER_ flags */
253 int isRunningAsService; /* Are we running as a service ? */
254 const char *zServiceName; /* Name of the service */
255 SOCKET s; /* Socket on which the http server listens */
256 };
257
258 /*
259 ** Variables used for running as windows service.
@@ -268,35 +272,35 @@
268 ** to store the message string when done.
269 */
270 static char *win32_get_last_errmsg(void){
271 DWORD nMsg;
272 DWORD nErr = GetLastError();
273 LPWSTR tmp = NULL;
274 char *zMsg = NULL;
275
276 /* Try first to get the error text in english. */
277 nMsg = FormatMessageW(
278 FORMAT_MESSAGE_ALLOCATE_BUFFER |
279 FORMAT_MESSAGE_FROM_SYSTEM |
280 FORMAT_MESSAGE_IGNORE_INSERTS,
281 NULL,
282 nErr,
283 MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
284 (LPWSTR) &tmp,
285 0,
286 NULL
287 );
288 if( !nMsg ){
289 /* No english, get what the system has available. */
290 nMsg = FormatMessageW(
291 FORMAT_MESSAGE_ALLOCATE_BUFFER |
292 FORMAT_MESSAGE_FROM_SYSTEM |
293 FORMAT_MESSAGE_IGNORE_INSERTS,
294 NULL,
295 nErr,
296 0,
297 (LPWSTR) &tmp,
298 0,
299 NULL
300 );
301 }
302 if( nMsg ){
@@ -380,15 +384,15 @@
380 ){
381
382 /* Update the service information. */
383 hsData.isRunningAsService = 1;
384 if( argc>0 ){
385 hsData.zServiceName = fossil_unicode_to_utf8(argv[0]);
386 }
387
388 /* Register the service control handler function */
389 sshStatusHandle = RegisterServiceCtrlHandlerW(L"", win32_http_service_ctrl);
390 if( !sshStatusHandle ){
391 win32_report_service_status(SERVICE_STOPPED, NO_ERROR, 0);
392 return;
393 }
394
@@ -428,20 +432,20 @@
428 int nPort, /* TCP port number */
429 const char *zNotFound, /* The --notfound option, or NULL */
430 int flags /* One or more HTTP_SERVER_ flags */
431 ){
432 /* Define the service table. */
433 SERVICE_TABLE_ENTRYW ServiceTable[] =
434 {{L"", (LPSERVICE_MAIN_FUNCTIONW)win32_http_service_main}, {NULL, NULL}};
435
436 /* Initialize the HttpService structure. */
437 hsData.port = nPort;
438 hsData.zNotFound = zNotFound;
439 hsData.flags = flags;
440
441 /* Try to start the control dispatcher thread for the service. */
442 if( !StartServiceCtrlDispatcherW(ServiceTable) ){
443 if( GetLastError()==ERROR_FAILED_SERVICE_CONTROLLER_CONNECT ){
444 return 1;
445 }else{
446 fossil_fatal("error from StartServiceCtrlDispatcher()");
447 }
@@ -504,18 +508,18 @@
504 **
505 ** Specifies the name of the repository to be served.
506 ** The repository option may be omitted if the working directory
507 ** is within an open checkout.
508 ** The REPOSITORY can be a directory (aka folder) that contains
509 ** one or more respositories with names ending in ".fossil".
510 ** In that case, the first element of the URL is used to select
511 ** among the various repositories.
512 **
513 ** --notfound URL
514 **
515 ** If REPOSITORY is a directory that contains one or more
516 ** respositories with names of the form "*.fossil" then the
517 ** first element of the URL pathname selects among the various
518 ** repositories. If the pathname does not select a valid
519 ** repository and the --notfound option is available,
520 ** then the server redirects (HTTP code 302) to the URL of
521 ** --notfound.
@@ -564,12 +568,12 @@
564 n = strlen(zMethod);
565
566 if( strncmp(zMethod, "create", n)==0 ){
567 SC_HANDLE hScm;
568 SC_HANDLE hSvc;
569 SERVICE_DESCRIPTIONW
570 svcDescr = {L"Fossil - Distributed Software Configuration Management"};
571 char *zErrFmt = "unable to create service '%s': %s";
572 DWORD dwStartType = SERVICE_DEMAND_START;
573 const char *zDisplay = find_option("display", "D", 1);
574 const char *zStart = find_option("start", "S", 1);
575 const char *zUsername = find_option("username", "U", 1);
@@ -620,13 +624,13 @@
620 if( zPort ) blob_appendf(&binPath, " --port %s", zPort);
621 if( zNotFound ) blob_appendf(&binPath, " --notfound \"%s\"", zNotFound);
622 if( zLocalAuth ) blob_append(&binPath, " --localauth", -1);
623 blob_appendf(&binPath, " \"%s\"", g.zRepositoryName);
624 /* Create the service. */
625 hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
626 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
627 hSvc = CreateServiceW(
628 hScm, /* Handle to the SCM */
629 fossil_utf8_to_unicode(zSvcName), /* Name of the service */
630 fossil_utf8_to_unicode(zDisplay), /* Display name */
631 SERVICE_ALL_ACCESS, /* Desired access */
632 SERVICE_WIN32_OWN_PROCESS, /* Service type */
@@ -639,11 +643,11 @@
639 fossil_utf8_to_unicode(zUsername), /* Service account */
640 fossil_utf8_to_unicode(zPassword) /* Account password */
641 );
642 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
643 /* Set the service description. */
644 ChangeServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION, &svcDescr);
645 fossil_print("Service '%s' successfully created.\n", zSvcName);
646 CloseServiceHandle(hSvc);
647 CloseServiceHandle(hScm);
648 }else
649 if( strncmp(zMethod, "delete", n)==0 ){
@@ -656,13 +660,13 @@
656 if( g.argc==4 ){
657 zSvcName = g.argv[3];
658 }else if( g.argc>4 ){
659 fossil_fatal("to much arguments for delete method.");
660 }
661 hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
662 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
663 hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
664 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
665 QueryServiceStatus(hSvc, &sstat);
666 if( sstat.dwCurrentState!=SERVICE_STOPPED ){
667 fossil_print("Stopping service '%s'", zSvcName);
668 if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
@@ -691,54 +695,54 @@
691 }else
692 if( strncmp(zMethod, "show", n)==0 ){
693 SC_HANDLE hScm;
694 SC_HANDLE hSvc;
695 SERVICE_STATUS sstat;
696 LPQUERY_SERVICE_CONFIGW pSvcConfig;
697 LPSERVICE_DESCRIPTIONW pSvcDescr;
698 BOOL bStatus;
699 DWORD nRequired;
700 static const char *zErrFmt = "unable to show service '%s': %s";
701 static const char *const zSvcTypes[] = {
702 "Driver service",
703 "File system driver service",
704 "Service runs in its own process",
705 "Service shares a process with other services",
706 "Service can interact with the desktop"
707 };
708 static const char *zSvcType = "";
709 static const char *zSvcStartTypes[] = {
710 "Started by the system loader",
711 "Started by the IoInitSystem function",
712 "Started automatically by the service control manager",
713 "Started manually",
714 "Service cannot be started"
715 };
716 static const char *zSvcStartType = "";
717 static const char *zSvcStates[] = {
718 "Stopped", "Starting", "Stopping", "Running",
719 "Continue pending", "Pause pending", "Paused"
720 };
721 static const char *zSvcState = "";
722
723 verify_all_options();
724 if( g.argc==4 ){
725 zSvcName = g.argv[3];
726 }else if( g.argc>4 ){
727 fossil_fatal("to much arguments for show method.");
728 }
729 hScm = OpenSCManagerW(NULL, NULL, GENERIC_READ);
730 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
731 hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), GENERIC_READ);
732 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
733 /* Get the service configuration */
734 bStatus = QueryServiceConfigW(hSvc, NULL, 0, &nRequired);
735 if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
736 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
737 }
738 pSvcConfig = fossil_malloc(nRequired);
739 bStatus = QueryServiceConfigW(hSvc, pSvcConfig, nRequired, &nRequired);
740 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
741 /* Translate the service type */
742 switch( pSvcConfig->dwServiceType ){
743 case SERVICE_KERNEL_DRIVER: zSvcType = zSvcTypes[0]; break;
744 case SERVICE_FILE_SYSTEM_DRIVER: zSvcType = zSvcTypes[1]; break;
@@ -753,17 +757,17 @@
753 case SERVICE_AUTO_START: zSvcStartType = zSvcStartTypes[2]; break;
754 case SERVICE_DEMAND_START: zSvcStartType = zSvcStartTypes[3]; break;
755 case SERVICE_DISABLED: zSvcStartType = zSvcStartTypes[4]; break;
756 }
757 /* Get the service description. */
758 bStatus = QueryServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION,
759 NULL, 0, &nRequired);
760 if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
761 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
762 }
763 pSvcDescr = fossil_malloc(nRequired);
764 bStatus = QueryServiceConfig2W(hSvc, SERVICE_CONFIG_DESCRIPTION,
765 (LPBYTE)pSvcDescr, nRequired, &nRequired);
766 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
767 /* Retrieves the current status of the specified service. */
768 bStatus = QueryServiceStatus(hSvc, &sstat);
769 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
@@ -806,19 +810,19 @@
806 if( g.argc==4 ){
807 zSvcName = g.argv[3];
808 }else if( g.argc>4 ){
809 fossil_fatal("to much arguments for start method.");
810 }
811 hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
812 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
813 hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
814 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
815 QueryServiceStatus(hSvc, &sstat);
816 if( sstat.dwCurrentState!=SERVICE_RUNNING ){
817 fossil_print("Starting service '%s'", zSvcName);
818 if( sstat.dwCurrentState!=SERVICE_START_PENDING ){
819 if( !StartServiceW(hSvc, 0, NULL) ){
820 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
821 }
822 }
823 while( sstat.dwCurrentState!=SERVICE_RUNNING ){
824 Sleep(100);
@@ -842,13 +846,13 @@
842 if( g.argc==4 ){
843 zSvcName = g.argv[3];
844 }else if( g.argc>4 ){
845 fossil_fatal("to much arguments for stop method.");
846 }
847 hScm = OpenSCManagerW(NULL, NULL, SC_MANAGER_ALL_ACCESS);
848 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
849 hSvc = OpenServiceW(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
850 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
851 QueryServiceStatus(hSvc, &sstat);
852 if( sstat.dwCurrentState!=SERVICE_STOPPED ){
853 fossil_print("Stopping service '%s'", zSvcName);
854 if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
855
--- src/winhttp.c
+++ src/winhttp.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2008 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
@@ -23,10 +23,14 @@
23 #ifdef _WIN32
24 /* This code is for win32 only */
25 #include <windows.h>
26 #include "winhttp.h"
27
28 #ifndef UNICODE
29 # define fossil_unicode_to_utf8 fossil_mbcs_to_utf8
30 # define fossil_utf8_to_unicode fossil_utf8_to_mbcs
31 #endif
32 /*
33 ** The HttpRequest structure holds information about each incoming
34 ** HTTP request.
35 */
36 typedef struct HttpRequest HttpRequest;
@@ -67,18 +71,18 @@
71 HttpRequest *p = (HttpRequest*)pAppData;
72 FILE *in = 0, *out = 0;
73 int amt, got;
74 int wanted = 0;
75 char *z;
76 char zRequestFName[MAX_PATH];
77 char zReplyFName[MAX_PATH];
78 char zCmd[2000]; /* Command-line to process the request */
79 char zHdr[2000]; /* The HTTP request header */
80
81 sqlite3_snprintf(MAX_PATH, zRequestFName,
82 "%s_in%d.txt", zTempPrefix, p->id);
83 sqlite3_snprintf(MAX_PATH, zReplyFName,
84 "%s_out%d.txt", zTempPrefix, p->id);
85 amt = 0;
86 while( amt<sizeof(zHdr) ){
87 got = recv(p->s, &zHdr[amt], sizeof(zHdr)-1-amt, 0);
88 if( got==SOCKET_ERROR ) goto end_request;
@@ -146,11 +150,11 @@
150 SOCKET s = INVALID_SOCKET;
151 SOCKADDR_IN addr;
152 int idCnt = 0;
153 int iPort = mnPort;
154 Blob options;
155 TCHAR zTmpPath[MAX_PATH];
156
157 if( zStopper ) file_delete(zStopper);
158 blob_zero(&options);
159 if( zNotFound ){
160 blob_appendf(&options, " --notfound %s", zNotFound);
@@ -191,11 +195,11 @@
195 }else{
196 fossil_fatal("unable to open listening socket on any"
197 " port in the range %d..%d", mnPort, mxPort);
198 }
199 }
200 if( !GetTempPath(MAX_PATH, zTmpPath) ){
201 fossil_fatal("unable to get path to the temporary directory.");
202 }
203 zTempPrefix = mprintf("%sfossil_server_P%d_", fossil_unicode_to_utf8(zTmpPath), iPort);
204 fossil_print("Listening for HTTP requests on TCP port %d\n", iPort);
205 if( zBrowser ){
@@ -249,11 +253,11 @@
253 struct HttpService {
254 int port; /* Port on which the http server should run */
255 const char *zNotFound; /* The --notfound option, or NULL */
256 int flags; /* One or more HTTP_SERVER_ flags */
257 int isRunningAsService; /* Are we running as a service ? */
258 const TCHAR *zServiceName;/* Name of the service */
259 SOCKET s; /* Socket on which the http server listens */
260 };
261
262 /*
263 ** Variables used for running as windows service.
@@ -268,35 +272,35 @@
272 ** to store the message string when done.
273 */
274 static char *win32_get_last_errmsg(void){
275 DWORD nMsg;
276 DWORD nErr = GetLastError();
277 LPTSTR tmp = NULL;
278 char *zMsg = NULL;
279
280 /* Try first to get the error text in english. */
281 nMsg = FormatMessage(
282 FORMAT_MESSAGE_ALLOCATE_BUFFER |
283 FORMAT_MESSAGE_FROM_SYSTEM |
284 FORMAT_MESSAGE_IGNORE_INSERTS,
285 NULL,
286 nErr,
287 MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
288 (LPTSTR) &tmp,
289 0,
290 NULL
291 );
292 if( !nMsg ){
293 /* No english, get what the system has available. */
294 nMsg = FormatMessage(
295 FORMAT_MESSAGE_ALLOCATE_BUFFER |
296 FORMAT_MESSAGE_FROM_SYSTEM |
297 FORMAT_MESSAGE_IGNORE_INSERTS,
298 NULL,
299 nErr,
300 0,
301 (LPTSTR) &tmp,
302 0,
303 NULL
304 );
305 }
306 if( nMsg ){
@@ -380,15 +384,15 @@
384 ){
385
386 /* Update the service information. */
387 hsData.isRunningAsService = 1;
388 if( argc>0 ){
389 hsData.zServiceName = argv[0];
390 }
391
392 /* Register the service control handler function */
393 sshStatusHandle = RegisterServiceCtrlHandler(TEXT(""), win32_http_service_ctrl);
394 if( !sshStatusHandle ){
395 win32_report_service_status(SERVICE_STOPPED, NO_ERROR, 0);
396 return;
397 }
398
@@ -428,20 +432,20 @@
432 int nPort, /* TCP port number */
433 const char *zNotFound, /* The --notfound option, or NULL */
434 int flags /* One or more HTTP_SERVER_ flags */
435 ){
436 /* Define the service table. */
437 SERVICE_TABLE_ENTRY ServiceTable[] =
438 {{TEXT(""), (LPSERVICE_MAIN_FUNCTION)win32_http_service_main}, {NULL, NULL}};
439
440 /* Initialize the HttpService structure. */
441 hsData.port = nPort;
442 hsData.zNotFound = zNotFound;
443 hsData.flags = flags;
444
445 /* Try to start the control dispatcher thread for the service. */
446 if( !StartServiceCtrlDispatcher(ServiceTable) ){
447 if( GetLastError()==ERROR_FAILED_SERVICE_CONTROLLER_CONNECT ){
448 return 1;
449 }else{
450 fossil_fatal("error from StartServiceCtrlDispatcher()");
451 }
@@ -504,18 +508,18 @@
508 **
509 ** Specifies the name of the repository to be served.
510 ** The repository option may be omitted if the working directory
511 ** is within an open checkout.
512 ** The REPOSITORY can be a directory (aka folder) that contains
513 ** one or more repositories with names ending in ".fossil".
514 ** In that case, the first element of the URL is used to select
515 ** among the various repositories.
516 **
517 ** --notfound URL
518 **
519 ** If REPOSITORY is a directory that contains one or more
520 ** repositories with names of the form "*.fossil" then the
521 ** first element of the URL pathname selects among the various
522 ** repositories. If the pathname does not select a valid
523 ** repository and the --notfound option is available,
524 ** then the server redirects (HTTP code 302) to the URL of
525 ** --notfound.
@@ -564,12 +568,12 @@
568 n = strlen(zMethod);
569
570 if( strncmp(zMethod, "create", n)==0 ){
571 SC_HANDLE hScm;
572 SC_HANDLE hSvc;
573 SERVICE_DESCRIPTION
574 svcDescr = {TEXT("Fossil - Distributed Software Configuration Management")};
575 char *zErrFmt = "unable to create service '%s': %s";
576 DWORD dwStartType = SERVICE_DEMAND_START;
577 const char *zDisplay = find_option("display", "D", 1);
578 const char *zStart = find_option("start", "S", 1);
579 const char *zUsername = find_option("username", "U", 1);
@@ -620,13 +624,13 @@
624 if( zPort ) blob_appendf(&binPath, " --port %s", zPort);
625 if( zNotFound ) blob_appendf(&binPath, " --notfound \"%s\"", zNotFound);
626 if( zLocalAuth ) blob_append(&binPath, " --localauth", -1);
627 blob_appendf(&binPath, " \"%s\"", g.zRepositoryName);
628 /* Create the service. */
629 hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
630 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
631 hSvc = CreateService(
632 hScm, /* Handle to the SCM */
633 fossil_utf8_to_unicode(zSvcName), /* Name of the service */
634 fossil_utf8_to_unicode(zDisplay), /* Display name */
635 SERVICE_ALL_ACCESS, /* Desired access */
636 SERVICE_WIN32_OWN_PROCESS, /* Service type */
@@ -639,11 +643,11 @@
643 fossil_utf8_to_unicode(zUsername), /* Service account */
644 fossil_utf8_to_unicode(zPassword) /* Account password */
645 );
646 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
647 /* Set the service description. */
648 ChangeServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION, &svcDescr);
649 fossil_print("Service '%s' successfully created.\n", zSvcName);
650 CloseServiceHandle(hSvc);
651 CloseServiceHandle(hScm);
652 }else
653 if( strncmp(zMethod, "delete", n)==0 ){
@@ -656,13 +660,13 @@
660 if( g.argc==4 ){
661 zSvcName = g.argv[3];
662 }else if( g.argc>4 ){
663 fossil_fatal("to much arguments for delete method.");
664 }
665 hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
666 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
667 hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
668 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
669 QueryServiceStatus(hSvc, &sstat);
670 if( sstat.dwCurrentState!=SERVICE_STOPPED ){
671 fossil_print("Stopping service '%s'", zSvcName);
672 if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
@@ -691,54 +695,54 @@
695 }else
696 if( strncmp(zMethod, "show", n)==0 ){
697 SC_HANDLE hScm;
698 SC_HANDLE hSvc;
699 SERVICE_STATUS sstat;
700 LPQUERY_SERVICE_CONFIG pSvcConfig;
701 LPSERVICE_DESCRIPTION pSvcDescr;
702 BOOL bStatus;
703 DWORD nRequired;
704 const char *zErrFmt = "unable to show service '%s': %s";
705 static const char *const zSvcTypes[] = {
706 "Driver service",
707 "File system driver service",
708 "Service runs in its own process",
709 "Service shares a process with other services",
710 "Service can interact with the desktop"
711 };
712 const char *zSvcType = "";
713 static const char *const zSvcStartTypes[] = {
714 "Started by the system loader",
715 "Started by the IoInitSystem function",
716 "Started automatically by the service control manager",
717 "Started manually",
718 "Service cannot be started"
719 };
720 const char *zSvcStartType = "";
721 static const char *const zSvcStates[] = {
722 "Stopped", "Starting", "Stopping", "Running",
723 "Continue pending", "Pause pending", "Paused"
724 };
725 const char *zSvcState = "";
726
727 verify_all_options();
728 if( g.argc==4 ){
729 zSvcName = g.argv[3];
730 }else if( g.argc>4 ){
731 fossil_fatal("to much arguments for show method.");
732 }
733 hScm = OpenSCManager(NULL, NULL, GENERIC_READ);
734 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
735 hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), GENERIC_READ);
736 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
737 /* Get the service configuration */
738 bStatus = QueryServiceConfig(hSvc, NULL, 0, &nRequired);
739 if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
740 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
741 }
742 pSvcConfig = fossil_malloc(nRequired);
743 bStatus = QueryServiceConfig(hSvc, pSvcConfig, nRequired, &nRequired);
744 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
745 /* Translate the service type */
746 switch( pSvcConfig->dwServiceType ){
747 case SERVICE_KERNEL_DRIVER: zSvcType = zSvcTypes[0]; break;
748 case SERVICE_FILE_SYSTEM_DRIVER: zSvcType = zSvcTypes[1]; break;
@@ -753,17 +757,17 @@
757 case SERVICE_AUTO_START: zSvcStartType = zSvcStartTypes[2]; break;
758 case SERVICE_DEMAND_START: zSvcStartType = zSvcStartTypes[3]; break;
759 case SERVICE_DISABLED: zSvcStartType = zSvcStartTypes[4]; break;
760 }
761 /* Get the service description. */
762 bStatus = QueryServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION,
763 NULL, 0, &nRequired);
764 if( !bStatus && GetLastError()!=ERROR_INSUFFICIENT_BUFFER ){
765 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
766 }
767 pSvcDescr = fossil_malloc(nRequired);
768 bStatus = QueryServiceConfig2(hSvc, SERVICE_CONFIG_DESCRIPTION,
769 (LPBYTE)pSvcDescr, nRequired, &nRequired);
770 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
771 /* Retrieves the current status of the specified service. */
772 bStatus = QueryServiceStatus(hSvc, &sstat);
773 if( !bStatus ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
@@ -806,19 +810,19 @@
810 if( g.argc==4 ){
811 zSvcName = g.argv[3];
812 }else if( g.argc>4 ){
813 fossil_fatal("to much arguments for start method.");
814 }
815 hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
816 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
817 hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
818 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
819 QueryServiceStatus(hSvc, &sstat);
820 if( sstat.dwCurrentState!=SERVICE_RUNNING ){
821 fossil_print("Starting service '%s'", zSvcName);
822 if( sstat.dwCurrentState!=SERVICE_START_PENDING ){
823 if( !StartService(hSvc, 0, NULL) ){
824 fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
825 }
826 }
827 while( sstat.dwCurrentState!=SERVICE_RUNNING ){
828 Sleep(100);
@@ -842,13 +846,13 @@
846 if( g.argc==4 ){
847 zSvcName = g.argv[3];
848 }else if( g.argc>4 ){
849 fossil_fatal("to much arguments for stop method.");
850 }
851 hScm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
852 if( !hScm ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
853 hSvc = OpenService(hScm, fossil_utf8_to_unicode(zSvcName), SERVICE_ALL_ACCESS);
854 if( !hSvc ) fossil_fatal(zErrFmt, zSvcName, win32_get_last_errmsg());
855 QueryServiceStatus(hSvc, &sstat);
856 if( sstat.dwCurrentState!=SERVICE_STOPPED ){
857 fossil_print("Stopping service '%s'", zSvcName);
858 if( sstat.dwCurrentState!=SERVICE_STOP_PENDING ){
859
+1 -1
--- src/wysiwyg.c
+++ src/wysiwyg.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2012 D. Richard Hipp
2
+** Copyright (c) 2012 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
**
88
--- src/wysiwyg.c
+++ src/wysiwyg.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2012 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
--- src/wysiwyg.c
+++ src/wysiwyg.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2012 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
+2 -2
--- src/xfer.c
+++ src/xfer.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
@@ -1206,11 +1206,11 @@
12061206
request_phantoms(&xfer, 500);
12071207
}
12081208
if( isClone && nGimme==0 ){
12091209
/* The initial "clone" message from client to server contains no
12101210
** "gimme" cards. On that initial message, send the client an "igot"
1211
- ** card for every artifact currently in the respository. This will
1211
+ ** card for every artifact currently in the repository. This will
12121212
** cause the client to create phantoms for all artifacts, which will
12131213
** in turn make sure that the entire repository is sent efficiently
12141214
** and expeditiously.
12151215
*/
12161216
send_all(&xfer);
12171217
--- src/xfer.c
+++ src/xfer.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
@@ -1206,11 +1206,11 @@
1206 request_phantoms(&xfer, 500);
1207 }
1208 if( isClone && nGimme==0 ){
1209 /* The initial "clone" message from client to server contains no
1210 ** "gimme" cards. On that initial message, send the client an "igot"
1211 ** card for every artifact currently in the respository. This will
1212 ** cause the client to create phantoms for all artifacts, which will
1213 ** in turn make sure that the entire repository is sent efficiently
1214 ** and expeditiously.
1215 */
1216 send_all(&xfer);
1217
--- src/xfer.c
+++ src/xfer.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
@@ -1206,11 +1206,11 @@
1206 request_phantoms(&xfer, 500);
1207 }
1208 if( isClone && nGimme==0 ){
1209 /* The initial "clone" message from client to server contains no
1210 ** "gimme" cards. On that initial message, send the client an "igot"
1211 ** card for every artifact currently in the repository. This will
1212 ** cause the client to create phantoms for all artifacts, which will
1213 ** in turn make sure that the entire repository is sent efficiently
1214 ** and expeditiously.
1215 */
1216 send_all(&xfer);
1217
+1 -1
--- src/xfersetup.c
+++ src/xfersetup.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/xfersetup.c
+++ src/xfersetup.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/xfersetup.c
+++ src/xfersetup.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+1 -1
--- src/zip.c
+++ src/zip.c
@@ -1,7 +1,7 @@
11
/*
2
-** Copyright © 2007 D. Richard Hipp
2
+** Copyright (c) 2007 D. Richard Hipp
33
**
44
** This program is free software; you can redistribute it and/or
55
** modify it under the terms of the Simplified BSD License (also
66
** known as the "2-Clause License" or "FreeBSD License".)
77
88
--- src/zip.c
+++ src/zip.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright © 2007 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
--- src/zip.c
+++ src/zip.c
@@ -1,7 +1,7 @@
1 /*
2 ** Copyright (c) 2007 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
+256 -116
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -14,10 +14,11 @@
1414
1515
#### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
1616
# By default, this is an empty string (i.e. use the native compiler).
1717
#
1818
PREFIX =
19
+# PREFIX = mingw32-
1920
# PREFIX = i686-pc-mingw32-
2021
# PREFIX = i686-w64-mingw32-
2122
# PREFIX = x86_64-w64-mingw32-
2223
2324
#### The toplevel directory of the source tree. Fossil can be built
@@ -494,29 +495,67 @@
494495
$(OBJDIR)/xfer.o \
495496
$(OBJDIR)/xfersetup.o \
496497
$(OBJDIR)/zip.o
497498
498499
APPNAME = fossil.exe
499
-TRANSLATE = $(OBJDIR)/translate.exe
500
-MAKEHEADERS = $(OBJDIR)/makeheaders.exe
501
-MKINDEX = $(OBJDIR)/mkindex.exe
502
-VERSION = $(OBJDIR)/version.exe
503500
501
+#### If the USE_WINDOWS variable exists, it is assumed that we are building
502
+# inside of a Windows-style shell; otherwise, it is assumed that we are
503
+# building inside of a Unix-style shell. Note that the "move" command is
504
+# broken when attempting to use it from the Windows shell via MinGW make
505
+# because the SHELL variable is only used for certain commands that are
506
+# recognized internally by make.
507
+#
508
+ifdef USE_WINDOWS
509
+TRANSLATE = $(subst /,\,$(OBJDIR)/translate)
510
+MAKEHEADERS = $(subst /,\,$(OBJDIR)/makeheaders)
511
+MKINDEX = $(subst /,\,$(OBJDIR)/mkindex)
512
+VERSION = $(subst /,\,$(OBJDIR)/version)
513
+CP = copy
514
+MV = copy
515
+RM = del /Q
516
+MKDIR = -mkdir
517
+RMDIR = rmdir /S /Q
518
+else
519
+TRANSLATE = $(OBJDIR)/translate
520
+MAKEHEADERS = $(OBJDIR)/makeheaders
521
+MKINDEX = $(OBJDIR)/mkindex
522
+VERSION = $(OBJDIR)/version
523
+CP = cp
524
+MV = mv
525
+RM = rm -f
526
+MKDIR = -mkdir -p
527
+RMDIR = rm -rf
528
+endif
504529
505530
all: $(OBJDIR) $(APPNAME)
506531
507
-$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc
508
- cp $(SRCDIR)/../win/fossil.rc $(OBJDIR)
509
- cp $(SRCDIR)/../win/fossil.ico $(OBJDIR)
532
+$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h
533
+ifdef USE_WINDOWS
534
+ $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR))
535
+ $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR))
536
+else
537
+ $(CP) $(SRCDIR)/../win/fossil.rc $(OBJDIR)
538
+ $(CP) $(SRCDIR)/../win/fossil.ico $(OBJDIR)
539
+endif
510540
$(RCC) $(OBJDIR)/fossil.rc -o $(OBJDIR)/fossil.o
511541
512
-install: $(APPNAME)
513
- mkdir -p $(INSTALLDIR)
514
- mv $(APPNAME) $(INSTALLDIR)
542
+install: $(OBJDIR) $(APPNAME)
543
+ifdef USE_WINDOWS
544
+ $(MKDIR) $(subst /,\,$(INSTALLDIR))
545
+ $(MV) $(subst /,\,$(APPNAME)) $(subst /,\,$(INSTALLDIR))
546
+else
547
+ $(MKDIR) $(INSTALLDIR)
548
+ $(MV) $(APPNAME) $(INSTALLDIR)
549
+endif
515550
516551
$(OBJDIR):
517
- mkdir $(OBJDIR)
552
+ifdef USE_WINDOWS
553
+ $(MKDIR) $(subst /,\,$(OBJDIR))
554
+else
555
+ $(MKDIR) $(OBJDIR)
556
+endif
518557
519558
$(OBJDIR)/translate: $(SRCDIR)/translate.c
520559
$(BCC) -o $(OBJDIR)/translate $(SRCDIR)/translate.c
521560
522561
$(OBJDIR)/makeheaders: $(SRCDIR)/makeheaders.c
@@ -550,715 +589,817 @@
550589
# an executable named "manifest" out of the file named "manifest.c"
551590
#
552591
$(SRCDIR)/../manifest:
553592
# noop
554593
555
-# Requires MSYS to be installed in addition to the MinGW, for the "rm"
556
-# command. "del" will not work here because it is not a separate command
557
-# but a MSDOS-shell builtin.
558
-#
559594
clean:
560
- rm -rf $(OBJDIR) $(APPNAME)
595
+ifdef USE_WINDOWS
596
+ $(RM) $(subst /,\,$(APPNAME))
597
+ $(RMDIR) $(subst /,\,$(OBJDIR))
598
+else
599
+ $(RM) $(APPNAME)
600
+ $(RMDIR) $(OBJDIR)
601
+endif
561602
562603
setup: $(OBJDIR) $(APPNAME)
563604
$(MAKENSIS) ./fossil.nsi
564605
565
-
566606
$(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex
567607
$(MKINDEX) $(TRANS_SRC) >$@
608
+
568609
$(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h
569610
$(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/path_.c:$(OBJDIR)/path.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/tar_.c:$(OBJDIR)/tar.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/wysiwyg_.c:$(OBJDIR)/wysiwyg.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h
570611
echo Done >$(OBJDIR)/headers
571612
572613
$(OBJDIR)/headers: Makefile
614
+
573615
Makefile:
616
+
574617
$(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate
575618
$(TRANSLATE) $(SRCDIR)/add.c >$(OBJDIR)/add_.c
576619
577620
$(OBJDIR)/add.o: $(OBJDIR)/add_.c $(OBJDIR)/add.h $(SRCDIR)/config.h
578621
$(XTCC) -o $(OBJDIR)/add.o -c $(OBJDIR)/add_.c
579622
580
-add.h: $(OBJDIR)/headers
623
+$(OBJDIR)/add.h: $(OBJDIR)/headers
624
+
581625
$(OBJDIR)/allrepo_.c: $(SRCDIR)/allrepo.c $(OBJDIR)/translate
582626
$(TRANSLATE) $(SRCDIR)/allrepo.c >$(OBJDIR)/allrepo_.c
583627
584628
$(OBJDIR)/allrepo.o: $(OBJDIR)/allrepo_.c $(OBJDIR)/allrepo.h $(SRCDIR)/config.h
585629
$(XTCC) -o $(OBJDIR)/allrepo.o -c $(OBJDIR)/allrepo_.c
586630
587
-allrepo.h: $(OBJDIR)/headers
631
+$(OBJDIR)/allrepo.h: $(OBJDIR)/headers
632
+
588633
$(OBJDIR)/attach_.c: $(SRCDIR)/attach.c $(OBJDIR)/translate
589634
$(TRANSLATE) $(SRCDIR)/attach.c >$(OBJDIR)/attach_.c
590635
591636
$(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h
592637
$(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c
593638
594
-attach.h: $(OBJDIR)/headers
639
+$(OBJDIR)/attach.h: $(OBJDIR)/headers
640
+
595641
$(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(OBJDIR)/translate
596642
$(TRANSLATE) $(SRCDIR)/bag.c >$(OBJDIR)/bag_.c
597643
598644
$(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h
599645
$(XTCC) -o $(OBJDIR)/bag.o -c $(OBJDIR)/bag_.c
600646
601
-bag.h: $(OBJDIR)/headers
647
+$(OBJDIR)/bag.h: $(OBJDIR)/headers
648
+
602649
$(OBJDIR)/bisect_.c: $(SRCDIR)/bisect.c $(OBJDIR)/translate
603650
$(TRANSLATE) $(SRCDIR)/bisect.c >$(OBJDIR)/bisect_.c
604651
605652
$(OBJDIR)/bisect.o: $(OBJDIR)/bisect_.c $(OBJDIR)/bisect.h $(SRCDIR)/config.h
606653
$(XTCC) -o $(OBJDIR)/bisect.o -c $(OBJDIR)/bisect_.c
607654
608
-bisect.h: $(OBJDIR)/headers
655
+$(OBJDIR)/bisect.h: $(OBJDIR)/headers
656
+
609657
$(OBJDIR)/blob_.c: $(SRCDIR)/blob.c $(OBJDIR)/translate
610658
$(TRANSLATE) $(SRCDIR)/blob.c >$(OBJDIR)/blob_.c
611659
612660
$(OBJDIR)/blob.o: $(OBJDIR)/blob_.c $(OBJDIR)/blob.h $(SRCDIR)/config.h
613661
$(XTCC) -o $(OBJDIR)/blob.o -c $(OBJDIR)/blob_.c
614662
615
-blob.h: $(OBJDIR)/headers
663
+$(OBJDIR)/blob.h: $(OBJDIR)/headers
664
+
616665
$(OBJDIR)/branch_.c: $(SRCDIR)/branch.c $(OBJDIR)/translate
617666
$(TRANSLATE) $(SRCDIR)/branch.c >$(OBJDIR)/branch_.c
618667
619668
$(OBJDIR)/branch.o: $(OBJDIR)/branch_.c $(OBJDIR)/branch.h $(SRCDIR)/config.h
620669
$(XTCC) -o $(OBJDIR)/branch.o -c $(OBJDIR)/branch_.c
621670
622
-branch.h: $(OBJDIR)/headers
671
+$(OBJDIR)/branch.h: $(OBJDIR)/headers
672
+
623673
$(OBJDIR)/browse_.c: $(SRCDIR)/browse.c $(OBJDIR)/translate
624674
$(TRANSLATE) $(SRCDIR)/browse.c >$(OBJDIR)/browse_.c
625675
626676
$(OBJDIR)/browse.o: $(OBJDIR)/browse_.c $(OBJDIR)/browse.h $(SRCDIR)/config.h
627677
$(XTCC) -o $(OBJDIR)/browse.o -c $(OBJDIR)/browse_.c
628678
629
-browse.h: $(OBJDIR)/headers
679
+$(OBJDIR)/browse.h: $(OBJDIR)/headers
680
+
630681
$(OBJDIR)/captcha_.c: $(SRCDIR)/captcha.c $(OBJDIR)/translate
631682
$(TRANSLATE) $(SRCDIR)/captcha.c >$(OBJDIR)/captcha_.c
632683
633684
$(OBJDIR)/captcha.o: $(OBJDIR)/captcha_.c $(OBJDIR)/captcha.h $(SRCDIR)/config.h
634685
$(XTCC) -o $(OBJDIR)/captcha.o -c $(OBJDIR)/captcha_.c
635686
636
-captcha.h: $(OBJDIR)/headers
687
+$(OBJDIR)/captcha.h: $(OBJDIR)/headers
688
+
637689
$(OBJDIR)/cgi_.c: $(SRCDIR)/cgi.c $(OBJDIR)/translate
638690
$(TRANSLATE) $(SRCDIR)/cgi.c >$(OBJDIR)/cgi_.c
639691
640692
$(OBJDIR)/cgi.o: $(OBJDIR)/cgi_.c $(OBJDIR)/cgi.h $(SRCDIR)/config.h
641693
$(XTCC) -o $(OBJDIR)/cgi.o -c $(OBJDIR)/cgi_.c
642694
643
-cgi.h: $(OBJDIR)/headers
695
+$(OBJDIR)/cgi.h: $(OBJDIR)/headers
696
+
644697
$(OBJDIR)/checkin_.c: $(SRCDIR)/checkin.c $(OBJDIR)/translate
645698
$(TRANSLATE) $(SRCDIR)/checkin.c >$(OBJDIR)/checkin_.c
646699
647700
$(OBJDIR)/checkin.o: $(OBJDIR)/checkin_.c $(OBJDIR)/checkin.h $(SRCDIR)/config.h
648701
$(XTCC) -o $(OBJDIR)/checkin.o -c $(OBJDIR)/checkin_.c
649702
650
-checkin.h: $(OBJDIR)/headers
703
+$(OBJDIR)/checkin.h: $(OBJDIR)/headers
704
+
651705
$(OBJDIR)/checkout_.c: $(SRCDIR)/checkout.c $(OBJDIR)/translate
652706
$(TRANSLATE) $(SRCDIR)/checkout.c >$(OBJDIR)/checkout_.c
653707
654708
$(OBJDIR)/checkout.o: $(OBJDIR)/checkout_.c $(OBJDIR)/checkout.h $(SRCDIR)/config.h
655709
$(XTCC) -o $(OBJDIR)/checkout.o -c $(OBJDIR)/checkout_.c
656710
657
-checkout.h: $(OBJDIR)/headers
711
+$(OBJDIR)/checkout.h: $(OBJDIR)/headers
712
+
658713
$(OBJDIR)/clearsign_.c: $(SRCDIR)/clearsign.c $(OBJDIR)/translate
659714
$(TRANSLATE) $(SRCDIR)/clearsign.c >$(OBJDIR)/clearsign_.c
660715
661716
$(OBJDIR)/clearsign.o: $(OBJDIR)/clearsign_.c $(OBJDIR)/clearsign.h $(SRCDIR)/config.h
662717
$(XTCC) -o $(OBJDIR)/clearsign.o -c $(OBJDIR)/clearsign_.c
663718
664
-clearsign.h: $(OBJDIR)/headers
719
+$(OBJDIR)/clearsign.h: $(OBJDIR)/headers
720
+
665721
$(OBJDIR)/clone_.c: $(SRCDIR)/clone.c $(OBJDIR)/translate
666722
$(TRANSLATE) $(SRCDIR)/clone.c >$(OBJDIR)/clone_.c
667723
668724
$(OBJDIR)/clone.o: $(OBJDIR)/clone_.c $(OBJDIR)/clone.h $(SRCDIR)/config.h
669725
$(XTCC) -o $(OBJDIR)/clone.o -c $(OBJDIR)/clone_.c
670726
671
-clone.h: $(OBJDIR)/headers
727
+$(OBJDIR)/clone.h: $(OBJDIR)/headers
728
+
672729
$(OBJDIR)/comformat_.c: $(SRCDIR)/comformat.c $(OBJDIR)/translate
673730
$(TRANSLATE) $(SRCDIR)/comformat.c >$(OBJDIR)/comformat_.c
674731
675732
$(OBJDIR)/comformat.o: $(OBJDIR)/comformat_.c $(OBJDIR)/comformat.h $(SRCDIR)/config.h
676733
$(XTCC) -o $(OBJDIR)/comformat.o -c $(OBJDIR)/comformat_.c
677734
678
-comformat.h: $(OBJDIR)/headers
735
+$(OBJDIR)/comformat.h: $(OBJDIR)/headers
736
+
679737
$(OBJDIR)/configure_.c: $(SRCDIR)/configure.c $(OBJDIR)/translate
680738
$(TRANSLATE) $(SRCDIR)/configure.c >$(OBJDIR)/configure_.c
681739
682740
$(OBJDIR)/configure.o: $(OBJDIR)/configure_.c $(OBJDIR)/configure.h $(SRCDIR)/config.h
683741
$(XTCC) -o $(OBJDIR)/configure.o -c $(OBJDIR)/configure_.c
684742
685
-configure.h: $(OBJDIR)/headers
743
+$(OBJDIR)/configure.h: $(OBJDIR)/headers
744
+
686745
$(OBJDIR)/content_.c: $(SRCDIR)/content.c $(OBJDIR)/translate
687746
$(TRANSLATE) $(SRCDIR)/content.c >$(OBJDIR)/content_.c
688747
689748
$(OBJDIR)/content.o: $(OBJDIR)/content_.c $(OBJDIR)/content.h $(SRCDIR)/config.h
690749
$(XTCC) -o $(OBJDIR)/content.o -c $(OBJDIR)/content_.c
691750
692
-content.h: $(OBJDIR)/headers
751
+$(OBJDIR)/content.h: $(OBJDIR)/headers
752
+
693753
$(OBJDIR)/db_.c: $(SRCDIR)/db.c $(OBJDIR)/translate
694754
$(TRANSLATE) $(SRCDIR)/db.c >$(OBJDIR)/db_.c
695755
696756
$(OBJDIR)/db.o: $(OBJDIR)/db_.c $(OBJDIR)/db.h $(SRCDIR)/config.h
697757
$(XTCC) -o $(OBJDIR)/db.o -c $(OBJDIR)/db_.c
698758
699
-db.h: $(OBJDIR)/headers
759
+$(OBJDIR)/db.h: $(OBJDIR)/headers
760
+
700761
$(OBJDIR)/delta_.c: $(SRCDIR)/delta.c $(OBJDIR)/translate
701762
$(TRANSLATE) $(SRCDIR)/delta.c >$(OBJDIR)/delta_.c
702763
703764
$(OBJDIR)/delta.o: $(OBJDIR)/delta_.c $(OBJDIR)/delta.h $(SRCDIR)/config.h
704765
$(XTCC) -o $(OBJDIR)/delta.o -c $(OBJDIR)/delta_.c
705766
706
-delta.h: $(OBJDIR)/headers
767
+$(OBJDIR)/delta.h: $(OBJDIR)/headers
768
+
707769
$(OBJDIR)/deltacmd_.c: $(SRCDIR)/deltacmd.c $(OBJDIR)/translate
708770
$(TRANSLATE) $(SRCDIR)/deltacmd.c >$(OBJDIR)/deltacmd_.c
709771
710772
$(OBJDIR)/deltacmd.o: $(OBJDIR)/deltacmd_.c $(OBJDIR)/deltacmd.h $(SRCDIR)/config.h
711773
$(XTCC) -o $(OBJDIR)/deltacmd.o -c $(OBJDIR)/deltacmd_.c
712774
713
-deltacmd.h: $(OBJDIR)/headers
775
+$(OBJDIR)/deltacmd.h: $(OBJDIR)/headers
776
+
714777
$(OBJDIR)/descendants_.c: $(SRCDIR)/descendants.c $(OBJDIR)/translate
715778
$(TRANSLATE) $(SRCDIR)/descendants.c >$(OBJDIR)/descendants_.c
716779
717780
$(OBJDIR)/descendants.o: $(OBJDIR)/descendants_.c $(OBJDIR)/descendants.h $(SRCDIR)/config.h
718781
$(XTCC) -o $(OBJDIR)/descendants.o -c $(OBJDIR)/descendants_.c
719782
720
-descendants.h: $(OBJDIR)/headers
783
+$(OBJDIR)/descendants.h: $(OBJDIR)/headers
784
+
721785
$(OBJDIR)/diff_.c: $(SRCDIR)/diff.c $(OBJDIR)/translate
722786
$(TRANSLATE) $(SRCDIR)/diff.c >$(OBJDIR)/diff_.c
723787
724788
$(OBJDIR)/diff.o: $(OBJDIR)/diff_.c $(OBJDIR)/diff.h $(SRCDIR)/config.h
725789
$(XTCC) -o $(OBJDIR)/diff.o -c $(OBJDIR)/diff_.c
726790
727
-diff.h: $(OBJDIR)/headers
791
+$(OBJDIR)/diff.h: $(OBJDIR)/headers
792
+
728793
$(OBJDIR)/diffcmd_.c: $(SRCDIR)/diffcmd.c $(OBJDIR)/translate
729794
$(TRANSLATE) $(SRCDIR)/diffcmd.c >$(OBJDIR)/diffcmd_.c
730795
731796
$(OBJDIR)/diffcmd.o: $(OBJDIR)/diffcmd_.c $(OBJDIR)/diffcmd.h $(SRCDIR)/config.h
732797
$(XTCC) -o $(OBJDIR)/diffcmd.o -c $(OBJDIR)/diffcmd_.c
733798
734
-diffcmd.h: $(OBJDIR)/headers
799
+$(OBJDIR)/diffcmd.h: $(OBJDIR)/headers
800
+
735801
$(OBJDIR)/doc_.c: $(SRCDIR)/doc.c $(OBJDIR)/translate
736802
$(TRANSLATE) $(SRCDIR)/doc.c >$(OBJDIR)/doc_.c
737803
738804
$(OBJDIR)/doc.o: $(OBJDIR)/doc_.c $(OBJDIR)/doc.h $(SRCDIR)/config.h
739805
$(XTCC) -o $(OBJDIR)/doc.o -c $(OBJDIR)/doc_.c
740806
741
-doc.h: $(OBJDIR)/headers
807
+$(OBJDIR)/doc.h: $(OBJDIR)/headers
808
+
742809
$(OBJDIR)/encode_.c: $(SRCDIR)/encode.c $(OBJDIR)/translate
743810
$(TRANSLATE) $(SRCDIR)/encode.c >$(OBJDIR)/encode_.c
744811
745812
$(OBJDIR)/encode.o: $(OBJDIR)/encode_.c $(OBJDIR)/encode.h $(SRCDIR)/config.h
746813
$(XTCC) -o $(OBJDIR)/encode.o -c $(OBJDIR)/encode_.c
747814
748
-encode.h: $(OBJDIR)/headers
815
+$(OBJDIR)/encode.h: $(OBJDIR)/headers
816
+
749817
$(OBJDIR)/event_.c: $(SRCDIR)/event.c $(OBJDIR)/translate
750818
$(TRANSLATE) $(SRCDIR)/event.c >$(OBJDIR)/event_.c
751819
752820
$(OBJDIR)/event.o: $(OBJDIR)/event_.c $(OBJDIR)/event.h $(SRCDIR)/config.h
753821
$(XTCC) -o $(OBJDIR)/event.o -c $(OBJDIR)/event_.c
754822
755
-event.h: $(OBJDIR)/headers
823
+$(OBJDIR)/event.h: $(OBJDIR)/headers
824
+
756825
$(OBJDIR)/export_.c: $(SRCDIR)/export.c $(OBJDIR)/translate
757826
$(TRANSLATE) $(SRCDIR)/export.c >$(OBJDIR)/export_.c
758827
759828
$(OBJDIR)/export.o: $(OBJDIR)/export_.c $(OBJDIR)/export.h $(SRCDIR)/config.h
760829
$(XTCC) -o $(OBJDIR)/export.o -c $(OBJDIR)/export_.c
761830
762
-export.h: $(OBJDIR)/headers
831
+$(OBJDIR)/export.h: $(OBJDIR)/headers
832
+
763833
$(OBJDIR)/file_.c: $(SRCDIR)/file.c $(OBJDIR)/translate
764834
$(TRANSLATE) $(SRCDIR)/file.c >$(OBJDIR)/file_.c
765835
766836
$(OBJDIR)/file.o: $(OBJDIR)/file_.c $(OBJDIR)/file.h $(SRCDIR)/config.h
767837
$(XTCC) -o $(OBJDIR)/file.o -c $(OBJDIR)/file_.c
768838
769
-file.h: $(OBJDIR)/headers
839
+$(OBJDIR)/file.h: $(OBJDIR)/headers
840
+
770841
$(OBJDIR)/finfo_.c: $(SRCDIR)/finfo.c $(OBJDIR)/translate
771842
$(TRANSLATE) $(SRCDIR)/finfo.c >$(OBJDIR)/finfo_.c
772843
773844
$(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h
774845
$(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c
775846
776
-finfo.h: $(OBJDIR)/headers
847
+$(OBJDIR)/finfo.h: $(OBJDIR)/headers
848
+
777849
$(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate
778850
$(TRANSLATE) $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c
779851
780852
$(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h
781853
$(XTCC) -o $(OBJDIR)/glob.o -c $(OBJDIR)/glob_.c
782854
783
-glob.h: $(OBJDIR)/headers
855
+$(OBJDIR)/glob.h: $(OBJDIR)/headers
856
+
784857
$(OBJDIR)/graph_.c: $(SRCDIR)/graph.c $(OBJDIR)/translate
785858
$(TRANSLATE) $(SRCDIR)/graph.c >$(OBJDIR)/graph_.c
786859
787860
$(OBJDIR)/graph.o: $(OBJDIR)/graph_.c $(OBJDIR)/graph.h $(SRCDIR)/config.h
788861
$(XTCC) -o $(OBJDIR)/graph.o -c $(OBJDIR)/graph_.c
789862
790
-graph.h: $(OBJDIR)/headers
863
+$(OBJDIR)/graph.h: $(OBJDIR)/headers
864
+
791865
$(OBJDIR)/gzip_.c: $(SRCDIR)/gzip.c $(OBJDIR)/translate
792866
$(TRANSLATE) $(SRCDIR)/gzip.c >$(OBJDIR)/gzip_.c
793867
794868
$(OBJDIR)/gzip.o: $(OBJDIR)/gzip_.c $(OBJDIR)/gzip.h $(SRCDIR)/config.h
795869
$(XTCC) -o $(OBJDIR)/gzip.o -c $(OBJDIR)/gzip_.c
796870
797
-gzip.h: $(OBJDIR)/headers
871
+$(OBJDIR)/gzip.h: $(OBJDIR)/headers
872
+
798873
$(OBJDIR)/http_.c: $(SRCDIR)/http.c $(OBJDIR)/translate
799874
$(TRANSLATE) $(SRCDIR)/http.c >$(OBJDIR)/http_.c
800875
801876
$(OBJDIR)/http.o: $(OBJDIR)/http_.c $(OBJDIR)/http.h $(SRCDIR)/config.h
802877
$(XTCC) -o $(OBJDIR)/http.o -c $(OBJDIR)/http_.c
803878
804
-http.h: $(OBJDIR)/headers
879
+$(OBJDIR)/http.h: $(OBJDIR)/headers
880
+
805881
$(OBJDIR)/http_socket_.c: $(SRCDIR)/http_socket.c $(OBJDIR)/translate
806882
$(TRANSLATE) $(SRCDIR)/http_socket.c >$(OBJDIR)/http_socket_.c
807883
808884
$(OBJDIR)/http_socket.o: $(OBJDIR)/http_socket_.c $(OBJDIR)/http_socket.h $(SRCDIR)/config.h
809885
$(XTCC) -o $(OBJDIR)/http_socket.o -c $(OBJDIR)/http_socket_.c
810886
811
-http_socket.h: $(OBJDIR)/headers
887
+$(OBJDIR)/http_socket.h: $(OBJDIR)/headers
888
+
812889
$(OBJDIR)/http_ssl_.c: $(SRCDIR)/http_ssl.c $(OBJDIR)/translate
813890
$(TRANSLATE) $(SRCDIR)/http_ssl.c >$(OBJDIR)/http_ssl_.c
814891
815892
$(OBJDIR)/http_ssl.o: $(OBJDIR)/http_ssl_.c $(OBJDIR)/http_ssl.h $(SRCDIR)/config.h
816893
$(XTCC) -o $(OBJDIR)/http_ssl.o -c $(OBJDIR)/http_ssl_.c
817894
818
-http_ssl.h: $(OBJDIR)/headers
895
+$(OBJDIR)/http_ssl.h: $(OBJDIR)/headers
896
+
819897
$(OBJDIR)/http_transport_.c: $(SRCDIR)/http_transport.c $(OBJDIR)/translate
820898
$(TRANSLATE) $(SRCDIR)/http_transport.c >$(OBJDIR)/http_transport_.c
821899
822900
$(OBJDIR)/http_transport.o: $(OBJDIR)/http_transport_.c $(OBJDIR)/http_transport.h $(SRCDIR)/config.h
823901
$(XTCC) -o $(OBJDIR)/http_transport.o -c $(OBJDIR)/http_transport_.c
824902
825
-http_transport.h: $(OBJDIR)/headers
903
+$(OBJDIR)/http_transport.h: $(OBJDIR)/headers
904
+
826905
$(OBJDIR)/import_.c: $(SRCDIR)/import.c $(OBJDIR)/translate
827906
$(TRANSLATE) $(SRCDIR)/import.c >$(OBJDIR)/import_.c
828907
829908
$(OBJDIR)/import.o: $(OBJDIR)/import_.c $(OBJDIR)/import.h $(SRCDIR)/config.h
830909
$(XTCC) -o $(OBJDIR)/import.o -c $(OBJDIR)/import_.c
831910
832
-import.h: $(OBJDIR)/headers
911
+$(OBJDIR)/import.h: $(OBJDIR)/headers
912
+
833913
$(OBJDIR)/info_.c: $(SRCDIR)/info.c $(OBJDIR)/translate
834914
$(TRANSLATE) $(SRCDIR)/info.c >$(OBJDIR)/info_.c
835915
836916
$(OBJDIR)/info.o: $(OBJDIR)/info_.c $(OBJDIR)/info.h $(SRCDIR)/config.h
837917
$(XTCC) -o $(OBJDIR)/info.o -c $(OBJDIR)/info_.c
838918
839
-info.h: $(OBJDIR)/headers
919
+$(OBJDIR)/info.h: $(OBJDIR)/headers
920
+
840921
$(OBJDIR)/json_.c: $(SRCDIR)/json.c $(OBJDIR)/translate
841922
$(TRANSLATE) $(SRCDIR)/json.c >$(OBJDIR)/json_.c
842923
843924
$(OBJDIR)/json.o: $(OBJDIR)/json_.c $(OBJDIR)/json.h $(SRCDIR)/config.h
844925
$(XTCC) -o $(OBJDIR)/json.o -c $(OBJDIR)/json_.c
845926
846
-json.h: $(OBJDIR)/headers
927
+$(OBJDIR)/json.h: $(OBJDIR)/headers
928
+
847929
$(OBJDIR)/json_artifact_.c: $(SRCDIR)/json_artifact.c $(OBJDIR)/translate
848930
$(TRANSLATE) $(SRCDIR)/json_artifact.c >$(OBJDIR)/json_artifact_.c
849931
850932
$(OBJDIR)/json_artifact.o: $(OBJDIR)/json_artifact_.c $(OBJDIR)/json_artifact.h $(SRCDIR)/config.h
851933
$(XTCC) -o $(OBJDIR)/json_artifact.o -c $(OBJDIR)/json_artifact_.c
852934
853
-json_artifact.h: $(OBJDIR)/headers
935
+$(OBJDIR)/json_artifact.h: $(OBJDIR)/headers
936
+
854937
$(OBJDIR)/json_branch_.c: $(SRCDIR)/json_branch.c $(OBJDIR)/translate
855938
$(TRANSLATE) $(SRCDIR)/json_branch.c >$(OBJDIR)/json_branch_.c
856939
857940
$(OBJDIR)/json_branch.o: $(OBJDIR)/json_branch_.c $(OBJDIR)/json_branch.h $(SRCDIR)/config.h
858941
$(XTCC) -o $(OBJDIR)/json_branch.o -c $(OBJDIR)/json_branch_.c
859942
860
-json_branch.h: $(OBJDIR)/headers
943
+$(OBJDIR)/json_branch.h: $(OBJDIR)/headers
944
+
861945
$(OBJDIR)/json_config_.c: $(SRCDIR)/json_config.c $(OBJDIR)/translate
862946
$(TRANSLATE) $(SRCDIR)/json_config.c >$(OBJDIR)/json_config_.c
863947
864948
$(OBJDIR)/json_config.o: $(OBJDIR)/json_config_.c $(OBJDIR)/json_config.h $(SRCDIR)/config.h
865949
$(XTCC) -o $(OBJDIR)/json_config.o -c $(OBJDIR)/json_config_.c
866950
867
-json_config.h: $(OBJDIR)/headers
951
+$(OBJDIR)/json_config.h: $(OBJDIR)/headers
952
+
868953
$(OBJDIR)/json_diff_.c: $(SRCDIR)/json_diff.c $(OBJDIR)/translate
869954
$(TRANSLATE) $(SRCDIR)/json_diff.c >$(OBJDIR)/json_diff_.c
870955
871956
$(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h
872957
$(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c
873958
874
-json_diff.h: $(OBJDIR)/headers
959
+$(OBJDIR)/json_diff.h: $(OBJDIR)/headers
960
+
875961
$(OBJDIR)/json_dir_.c: $(SRCDIR)/json_dir.c $(OBJDIR)/translate
876962
$(TRANSLATE) $(SRCDIR)/json_dir.c >$(OBJDIR)/json_dir_.c
877963
878964
$(OBJDIR)/json_dir.o: $(OBJDIR)/json_dir_.c $(OBJDIR)/json_dir.h $(SRCDIR)/config.h
879965
$(XTCC) -o $(OBJDIR)/json_dir.o -c $(OBJDIR)/json_dir_.c
880966
881
-json_dir.h: $(OBJDIR)/headers
967
+$(OBJDIR)/json_dir.h: $(OBJDIR)/headers
968
+
882969
$(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate
883970
$(TRANSLATE) $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c
884971
885972
$(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h
886973
$(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c
887974
888
-json_finfo.h: $(OBJDIR)/headers
975
+$(OBJDIR)/json_finfo.h: $(OBJDIR)/headers
976
+
889977
$(OBJDIR)/json_login_.c: $(SRCDIR)/json_login.c $(OBJDIR)/translate
890978
$(TRANSLATE) $(SRCDIR)/json_login.c >$(OBJDIR)/json_login_.c
891979
892980
$(OBJDIR)/json_login.o: $(OBJDIR)/json_login_.c $(OBJDIR)/json_login.h $(SRCDIR)/config.h
893981
$(XTCC) -o $(OBJDIR)/json_login.o -c $(OBJDIR)/json_login_.c
894982
895
-json_login.h: $(OBJDIR)/headers
983
+$(OBJDIR)/json_login.h: $(OBJDIR)/headers
984
+
896985
$(OBJDIR)/json_query_.c: $(SRCDIR)/json_query.c $(OBJDIR)/translate
897986
$(TRANSLATE) $(SRCDIR)/json_query.c >$(OBJDIR)/json_query_.c
898987
899988
$(OBJDIR)/json_query.o: $(OBJDIR)/json_query_.c $(OBJDIR)/json_query.h $(SRCDIR)/config.h
900989
$(XTCC) -o $(OBJDIR)/json_query.o -c $(OBJDIR)/json_query_.c
901990
902
-json_query.h: $(OBJDIR)/headers
991
+$(OBJDIR)/json_query.h: $(OBJDIR)/headers
992
+
903993
$(OBJDIR)/json_report_.c: $(SRCDIR)/json_report.c $(OBJDIR)/translate
904994
$(TRANSLATE) $(SRCDIR)/json_report.c >$(OBJDIR)/json_report_.c
905995
906996
$(OBJDIR)/json_report.o: $(OBJDIR)/json_report_.c $(OBJDIR)/json_report.h $(SRCDIR)/config.h
907997
$(XTCC) -o $(OBJDIR)/json_report.o -c $(OBJDIR)/json_report_.c
908998
909
-json_report.h: $(OBJDIR)/headers
999
+$(OBJDIR)/json_report.h: $(OBJDIR)/headers
1000
+
9101001
$(OBJDIR)/json_tag_.c: $(SRCDIR)/json_tag.c $(OBJDIR)/translate
9111002
$(TRANSLATE) $(SRCDIR)/json_tag.c >$(OBJDIR)/json_tag_.c
9121003
9131004
$(OBJDIR)/json_tag.o: $(OBJDIR)/json_tag_.c $(OBJDIR)/json_tag.h $(SRCDIR)/config.h
9141005
$(XTCC) -o $(OBJDIR)/json_tag.o -c $(OBJDIR)/json_tag_.c
9151006
916
-json_tag.h: $(OBJDIR)/headers
1007
+$(OBJDIR)/json_tag.h: $(OBJDIR)/headers
1008
+
9171009
$(OBJDIR)/json_timeline_.c: $(SRCDIR)/json_timeline.c $(OBJDIR)/translate
9181010
$(TRANSLATE) $(SRCDIR)/json_timeline.c >$(OBJDIR)/json_timeline_.c
9191011
9201012
$(OBJDIR)/json_timeline.o: $(OBJDIR)/json_timeline_.c $(OBJDIR)/json_timeline.h $(SRCDIR)/config.h
9211013
$(XTCC) -o $(OBJDIR)/json_timeline.o -c $(OBJDIR)/json_timeline_.c
9221014
923
-json_timeline.h: $(OBJDIR)/headers
1015
+$(OBJDIR)/json_timeline.h: $(OBJDIR)/headers
1016
+
9241017
$(OBJDIR)/json_user_.c: $(SRCDIR)/json_user.c $(OBJDIR)/translate
9251018
$(TRANSLATE) $(SRCDIR)/json_user.c >$(OBJDIR)/json_user_.c
9261019
9271020
$(OBJDIR)/json_user.o: $(OBJDIR)/json_user_.c $(OBJDIR)/json_user.h $(SRCDIR)/config.h
9281021
$(XTCC) -o $(OBJDIR)/json_user.o -c $(OBJDIR)/json_user_.c
9291022
930
-json_user.h: $(OBJDIR)/headers
1023
+$(OBJDIR)/json_user.h: $(OBJDIR)/headers
1024
+
9311025
$(OBJDIR)/json_wiki_.c: $(SRCDIR)/json_wiki.c $(OBJDIR)/translate
9321026
$(TRANSLATE) $(SRCDIR)/json_wiki.c >$(OBJDIR)/json_wiki_.c
9331027
9341028
$(OBJDIR)/json_wiki.o: $(OBJDIR)/json_wiki_.c $(OBJDIR)/json_wiki.h $(SRCDIR)/config.h
9351029
$(XTCC) -o $(OBJDIR)/json_wiki.o -c $(OBJDIR)/json_wiki_.c
9361030
937
-json_wiki.h: $(OBJDIR)/headers
1031
+$(OBJDIR)/json_wiki.h: $(OBJDIR)/headers
1032
+
9381033
$(OBJDIR)/leaf_.c: $(SRCDIR)/leaf.c $(OBJDIR)/translate
9391034
$(TRANSLATE) $(SRCDIR)/leaf.c >$(OBJDIR)/leaf_.c
9401035
9411036
$(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h
9421037
$(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c
9431038
944
-leaf.h: $(OBJDIR)/headers
1039
+$(OBJDIR)/leaf.h: $(OBJDIR)/headers
1040
+
9451041
$(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate
9461042
$(TRANSLATE) $(SRCDIR)/login.c >$(OBJDIR)/login_.c
9471043
9481044
$(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h
9491045
$(XTCC) -o $(OBJDIR)/login.o -c $(OBJDIR)/login_.c
9501046
951
-login.h: $(OBJDIR)/headers
1047
+$(OBJDIR)/login.h: $(OBJDIR)/headers
1048
+
9521049
$(OBJDIR)/main_.c: $(SRCDIR)/main.c $(OBJDIR)/translate
9531050
$(TRANSLATE) $(SRCDIR)/main.c >$(OBJDIR)/main_.c
9541051
9551052
$(OBJDIR)/main.o: $(OBJDIR)/main_.c $(OBJDIR)/main.h $(OBJDIR)/page_index.h $(SRCDIR)/config.h
9561053
$(XTCC) -o $(OBJDIR)/main.o -c $(OBJDIR)/main_.c
9571054
958
-main.h: $(OBJDIR)/headers
1055
+$(OBJDIR)/main.h: $(OBJDIR)/headers
1056
+
9591057
$(OBJDIR)/manifest_.c: $(SRCDIR)/manifest.c $(OBJDIR)/translate
9601058
$(TRANSLATE) $(SRCDIR)/manifest.c >$(OBJDIR)/manifest_.c
9611059
9621060
$(OBJDIR)/manifest.o: $(OBJDIR)/manifest_.c $(OBJDIR)/manifest.h $(SRCDIR)/config.h
9631061
$(XTCC) -o $(OBJDIR)/manifest.o -c $(OBJDIR)/manifest_.c
9641062
965
-manifest.h: $(OBJDIR)/headers
1063
+$(OBJDIR)/manifest.h: $(OBJDIR)/headers
1064
+
9661065
$(OBJDIR)/md5_.c: $(SRCDIR)/md5.c $(OBJDIR)/translate
9671066
$(TRANSLATE) $(SRCDIR)/md5.c >$(OBJDIR)/md5_.c
9681067
9691068
$(OBJDIR)/md5.o: $(OBJDIR)/md5_.c $(OBJDIR)/md5.h $(SRCDIR)/config.h
9701069
$(XTCC) -o $(OBJDIR)/md5.o -c $(OBJDIR)/md5_.c
9711070
972
-md5.h: $(OBJDIR)/headers
1071
+$(OBJDIR)/md5.h: $(OBJDIR)/headers
1072
+
9731073
$(OBJDIR)/merge_.c: $(SRCDIR)/merge.c $(OBJDIR)/translate
9741074
$(TRANSLATE) $(SRCDIR)/merge.c >$(OBJDIR)/merge_.c
9751075
9761076
$(OBJDIR)/merge.o: $(OBJDIR)/merge_.c $(OBJDIR)/merge.h $(SRCDIR)/config.h
9771077
$(XTCC) -o $(OBJDIR)/merge.o -c $(OBJDIR)/merge_.c
9781078
979
-merge.h: $(OBJDIR)/headers
1079
+$(OBJDIR)/merge.h: $(OBJDIR)/headers
1080
+
9801081
$(OBJDIR)/merge3_.c: $(SRCDIR)/merge3.c $(OBJDIR)/translate
9811082
$(TRANSLATE) $(SRCDIR)/merge3.c >$(OBJDIR)/merge3_.c
9821083
9831084
$(OBJDIR)/merge3.o: $(OBJDIR)/merge3_.c $(OBJDIR)/merge3.h $(SRCDIR)/config.h
9841085
$(XTCC) -o $(OBJDIR)/merge3.o -c $(OBJDIR)/merge3_.c
9851086
986
-merge3.h: $(OBJDIR)/headers
1087
+$(OBJDIR)/merge3.h: $(OBJDIR)/headers
1088
+
9871089
$(OBJDIR)/name_.c: $(SRCDIR)/name.c $(OBJDIR)/translate
9881090
$(TRANSLATE) $(SRCDIR)/name.c >$(OBJDIR)/name_.c
9891091
9901092
$(OBJDIR)/name.o: $(OBJDIR)/name_.c $(OBJDIR)/name.h $(SRCDIR)/config.h
9911093
$(XTCC) -o $(OBJDIR)/name.o -c $(OBJDIR)/name_.c
9921094
993
-name.h: $(OBJDIR)/headers
1095
+$(OBJDIR)/name.h: $(OBJDIR)/headers
1096
+
9941097
$(OBJDIR)/path_.c: $(SRCDIR)/path.c $(OBJDIR)/translate
9951098
$(TRANSLATE) $(SRCDIR)/path.c >$(OBJDIR)/path_.c
9961099
9971100
$(OBJDIR)/path.o: $(OBJDIR)/path_.c $(OBJDIR)/path.h $(SRCDIR)/config.h
9981101
$(XTCC) -o $(OBJDIR)/path.o -c $(OBJDIR)/path_.c
9991102
1000
-path.h: $(OBJDIR)/headers
1103
+$(OBJDIR)/path.h: $(OBJDIR)/headers
1104
+
10011105
$(OBJDIR)/pivot_.c: $(SRCDIR)/pivot.c $(OBJDIR)/translate
10021106
$(TRANSLATE) $(SRCDIR)/pivot.c >$(OBJDIR)/pivot_.c
10031107
10041108
$(OBJDIR)/pivot.o: $(OBJDIR)/pivot_.c $(OBJDIR)/pivot.h $(SRCDIR)/config.h
10051109
$(XTCC) -o $(OBJDIR)/pivot.o -c $(OBJDIR)/pivot_.c
10061110
1007
-pivot.h: $(OBJDIR)/headers
1111
+$(OBJDIR)/pivot.h: $(OBJDIR)/headers
1112
+
10081113
$(OBJDIR)/popen_.c: $(SRCDIR)/popen.c $(OBJDIR)/translate
10091114
$(TRANSLATE) $(SRCDIR)/popen.c >$(OBJDIR)/popen_.c
10101115
10111116
$(OBJDIR)/popen.o: $(OBJDIR)/popen_.c $(OBJDIR)/popen.h $(SRCDIR)/config.h
10121117
$(XTCC) -o $(OBJDIR)/popen.o -c $(OBJDIR)/popen_.c
10131118
1014
-popen.h: $(OBJDIR)/headers
1119
+$(OBJDIR)/popen.h: $(OBJDIR)/headers
1120
+
10151121
$(OBJDIR)/pqueue_.c: $(SRCDIR)/pqueue.c $(OBJDIR)/translate
10161122
$(TRANSLATE) $(SRCDIR)/pqueue.c >$(OBJDIR)/pqueue_.c
10171123
10181124
$(OBJDIR)/pqueue.o: $(OBJDIR)/pqueue_.c $(OBJDIR)/pqueue.h $(SRCDIR)/config.h
10191125
$(XTCC) -o $(OBJDIR)/pqueue.o -c $(OBJDIR)/pqueue_.c
10201126
1021
-pqueue.h: $(OBJDIR)/headers
1127
+$(OBJDIR)/pqueue.h: $(OBJDIR)/headers
1128
+
10221129
$(OBJDIR)/printf_.c: $(SRCDIR)/printf.c $(OBJDIR)/translate
10231130
$(TRANSLATE) $(SRCDIR)/printf.c >$(OBJDIR)/printf_.c
10241131
10251132
$(OBJDIR)/printf.o: $(OBJDIR)/printf_.c $(OBJDIR)/printf.h $(SRCDIR)/config.h
10261133
$(XTCC) -o $(OBJDIR)/printf.o -c $(OBJDIR)/printf_.c
10271134
1028
-printf.h: $(OBJDIR)/headers
1135
+$(OBJDIR)/printf.h: $(OBJDIR)/headers
1136
+
10291137
$(OBJDIR)/rebuild_.c: $(SRCDIR)/rebuild.c $(OBJDIR)/translate
10301138
$(TRANSLATE) $(SRCDIR)/rebuild.c >$(OBJDIR)/rebuild_.c
10311139
10321140
$(OBJDIR)/rebuild.o: $(OBJDIR)/rebuild_.c $(OBJDIR)/rebuild.h $(SRCDIR)/config.h
10331141
$(XTCC) -o $(OBJDIR)/rebuild.o -c $(OBJDIR)/rebuild_.c
10341142
1035
-rebuild.h: $(OBJDIR)/headers
1143
+$(OBJDIR)/rebuild.h: $(OBJDIR)/headers
1144
+
10361145
$(OBJDIR)/report_.c: $(SRCDIR)/report.c $(OBJDIR)/translate
10371146
$(TRANSLATE) $(SRCDIR)/report.c >$(OBJDIR)/report_.c
10381147
10391148
$(OBJDIR)/report.o: $(OBJDIR)/report_.c $(OBJDIR)/report.h $(SRCDIR)/config.h
10401149
$(XTCC) -o $(OBJDIR)/report.o -c $(OBJDIR)/report_.c
10411150
1042
-report.h: $(OBJDIR)/headers
1151
+$(OBJDIR)/report.h: $(OBJDIR)/headers
1152
+
10431153
$(OBJDIR)/rss_.c: $(SRCDIR)/rss.c $(OBJDIR)/translate
10441154
$(TRANSLATE) $(SRCDIR)/rss.c >$(OBJDIR)/rss_.c
10451155
10461156
$(OBJDIR)/rss.o: $(OBJDIR)/rss_.c $(OBJDIR)/rss.h $(SRCDIR)/config.h
10471157
$(XTCC) -o $(OBJDIR)/rss.o -c $(OBJDIR)/rss_.c
10481158
1049
-rss.h: $(OBJDIR)/headers
1159
+$(OBJDIR)/rss.h: $(OBJDIR)/headers
1160
+
10501161
$(OBJDIR)/schema_.c: $(SRCDIR)/schema.c $(OBJDIR)/translate
10511162
$(TRANSLATE) $(SRCDIR)/schema.c >$(OBJDIR)/schema_.c
10521163
10531164
$(OBJDIR)/schema.o: $(OBJDIR)/schema_.c $(OBJDIR)/schema.h $(SRCDIR)/config.h
10541165
$(XTCC) -o $(OBJDIR)/schema.o -c $(OBJDIR)/schema_.c
10551166
1056
-schema.h: $(OBJDIR)/headers
1167
+$(OBJDIR)/schema.h: $(OBJDIR)/headers
1168
+
10571169
$(OBJDIR)/search_.c: $(SRCDIR)/search.c $(OBJDIR)/translate
10581170
$(TRANSLATE) $(SRCDIR)/search.c >$(OBJDIR)/search_.c
10591171
10601172
$(OBJDIR)/search.o: $(OBJDIR)/search_.c $(OBJDIR)/search.h $(SRCDIR)/config.h
10611173
$(XTCC) -o $(OBJDIR)/search.o -c $(OBJDIR)/search_.c
10621174
1063
-search.h: $(OBJDIR)/headers
1175
+$(OBJDIR)/search.h: $(OBJDIR)/headers
1176
+
10641177
$(OBJDIR)/setup_.c: $(SRCDIR)/setup.c $(OBJDIR)/translate
10651178
$(TRANSLATE) $(SRCDIR)/setup.c >$(OBJDIR)/setup_.c
10661179
10671180
$(OBJDIR)/setup.o: $(OBJDIR)/setup_.c $(OBJDIR)/setup.h $(SRCDIR)/config.h
10681181
$(XTCC) -o $(OBJDIR)/setup.o -c $(OBJDIR)/setup_.c
10691182
1070
-setup.h: $(OBJDIR)/headers
1183
+$(OBJDIR)/setup.h: $(OBJDIR)/headers
1184
+
10711185
$(OBJDIR)/sha1_.c: $(SRCDIR)/sha1.c $(OBJDIR)/translate
10721186
$(TRANSLATE) $(SRCDIR)/sha1.c >$(OBJDIR)/sha1_.c
10731187
10741188
$(OBJDIR)/sha1.o: $(OBJDIR)/sha1_.c $(OBJDIR)/sha1.h $(SRCDIR)/config.h
10751189
$(XTCC) -o $(OBJDIR)/sha1.o -c $(OBJDIR)/sha1_.c
10761190
1077
-sha1.h: $(OBJDIR)/headers
1191
+$(OBJDIR)/sha1.h: $(OBJDIR)/headers
1192
+
10781193
$(OBJDIR)/shun_.c: $(SRCDIR)/shun.c $(OBJDIR)/translate
10791194
$(TRANSLATE) $(SRCDIR)/shun.c >$(OBJDIR)/shun_.c
10801195
10811196
$(OBJDIR)/shun.o: $(OBJDIR)/shun_.c $(OBJDIR)/shun.h $(SRCDIR)/config.h
10821197
$(XTCC) -o $(OBJDIR)/shun.o -c $(OBJDIR)/shun_.c
10831198
1084
-shun.h: $(OBJDIR)/headers
1199
+$(OBJDIR)/shun.h: $(OBJDIR)/headers
1200
+
10851201
$(OBJDIR)/skins_.c: $(SRCDIR)/skins.c $(OBJDIR)/translate
10861202
$(TRANSLATE) $(SRCDIR)/skins.c >$(OBJDIR)/skins_.c
10871203
10881204
$(OBJDIR)/skins.o: $(OBJDIR)/skins_.c $(OBJDIR)/skins.h $(SRCDIR)/config.h
10891205
$(XTCC) -o $(OBJDIR)/skins.o -c $(OBJDIR)/skins_.c
10901206
1091
-skins.h: $(OBJDIR)/headers
1207
+$(OBJDIR)/skins.h: $(OBJDIR)/headers
1208
+
10921209
$(OBJDIR)/sqlcmd_.c: $(SRCDIR)/sqlcmd.c $(OBJDIR)/translate
10931210
$(TRANSLATE) $(SRCDIR)/sqlcmd.c >$(OBJDIR)/sqlcmd_.c
10941211
10951212
$(OBJDIR)/sqlcmd.o: $(OBJDIR)/sqlcmd_.c $(OBJDIR)/sqlcmd.h $(SRCDIR)/config.h
10961213
$(XTCC) -o $(OBJDIR)/sqlcmd.o -c $(OBJDIR)/sqlcmd_.c
10971214
1098
-sqlcmd.h: $(OBJDIR)/headers
1215
+$(OBJDIR)/sqlcmd.h: $(OBJDIR)/headers
1216
+
10991217
$(OBJDIR)/stash_.c: $(SRCDIR)/stash.c $(OBJDIR)/translate
11001218
$(TRANSLATE) $(SRCDIR)/stash.c >$(OBJDIR)/stash_.c
11011219
11021220
$(OBJDIR)/stash.o: $(OBJDIR)/stash_.c $(OBJDIR)/stash.h $(SRCDIR)/config.h
11031221
$(XTCC) -o $(OBJDIR)/stash.o -c $(OBJDIR)/stash_.c
11041222
1105
-stash.h: $(OBJDIR)/headers
1223
+$(OBJDIR)/stash.h: $(OBJDIR)/headers
1224
+
11061225
$(OBJDIR)/stat_.c: $(SRCDIR)/stat.c $(OBJDIR)/translate
11071226
$(TRANSLATE) $(SRCDIR)/stat.c >$(OBJDIR)/stat_.c
11081227
11091228
$(OBJDIR)/stat.o: $(OBJDIR)/stat_.c $(OBJDIR)/stat.h $(SRCDIR)/config.h
11101229
$(XTCC) -o $(OBJDIR)/stat.o -c $(OBJDIR)/stat_.c
11111230
1112
-stat.h: $(OBJDIR)/headers
1231
+$(OBJDIR)/stat.h: $(OBJDIR)/headers
1232
+
11131233
$(OBJDIR)/style_.c: $(SRCDIR)/style.c $(OBJDIR)/translate
11141234
$(TRANSLATE) $(SRCDIR)/style.c >$(OBJDIR)/style_.c
11151235
11161236
$(OBJDIR)/style.o: $(OBJDIR)/style_.c $(OBJDIR)/style.h $(SRCDIR)/config.h
11171237
$(XTCC) -o $(OBJDIR)/style.o -c $(OBJDIR)/style_.c
11181238
1119
-style.h: $(OBJDIR)/headers
1239
+$(OBJDIR)/style.h: $(OBJDIR)/headers
1240
+
11201241
$(OBJDIR)/sync_.c: $(SRCDIR)/sync.c $(OBJDIR)/translate
11211242
$(TRANSLATE) $(SRCDIR)/sync.c >$(OBJDIR)/sync_.c
11221243
11231244
$(OBJDIR)/sync.o: $(OBJDIR)/sync_.c $(OBJDIR)/sync.h $(SRCDIR)/config.h
11241245
$(XTCC) -o $(OBJDIR)/sync.o -c $(OBJDIR)/sync_.c
11251246
1126
-sync.h: $(OBJDIR)/headers
1247
+$(OBJDIR)/sync.h: $(OBJDIR)/headers
1248
+
11271249
$(OBJDIR)/tag_.c: $(SRCDIR)/tag.c $(OBJDIR)/translate
11281250
$(TRANSLATE) $(SRCDIR)/tag.c >$(OBJDIR)/tag_.c
11291251
11301252
$(OBJDIR)/tag.o: $(OBJDIR)/tag_.c $(OBJDIR)/tag.h $(SRCDIR)/config.h
11311253
$(XTCC) -o $(OBJDIR)/tag.o -c $(OBJDIR)/tag_.c
11321254
1133
-tag.h: $(OBJDIR)/headers
1255
+$(OBJDIR)/tag.h: $(OBJDIR)/headers
1256
+
11341257
$(OBJDIR)/tar_.c: $(SRCDIR)/tar.c $(OBJDIR)/translate
11351258
$(TRANSLATE) $(SRCDIR)/tar.c >$(OBJDIR)/tar_.c
11361259
11371260
$(OBJDIR)/tar.o: $(OBJDIR)/tar_.c $(OBJDIR)/tar.h $(SRCDIR)/config.h
11381261
$(XTCC) -o $(OBJDIR)/tar.o -c $(OBJDIR)/tar_.c
11391262
1140
-tar.h: $(OBJDIR)/headers
1263
+$(OBJDIR)/tar.h: $(OBJDIR)/headers
1264
+
11411265
$(OBJDIR)/th_main_.c: $(SRCDIR)/th_main.c $(OBJDIR)/translate
11421266
$(TRANSLATE) $(SRCDIR)/th_main.c >$(OBJDIR)/th_main_.c
11431267
11441268
$(OBJDIR)/th_main.o: $(OBJDIR)/th_main_.c $(OBJDIR)/th_main.h $(SRCDIR)/config.h
11451269
$(XTCC) -o $(OBJDIR)/th_main.o -c $(OBJDIR)/th_main_.c
11461270
1147
-th_main.h: $(OBJDIR)/headers
1271
+$(OBJDIR)/th_main.h: $(OBJDIR)/headers
1272
+
11481273
$(OBJDIR)/timeline_.c: $(SRCDIR)/timeline.c $(OBJDIR)/translate
11491274
$(TRANSLATE) $(SRCDIR)/timeline.c >$(OBJDIR)/timeline_.c
11501275
11511276
$(OBJDIR)/timeline.o: $(OBJDIR)/timeline_.c $(OBJDIR)/timeline.h $(SRCDIR)/config.h
11521277
$(XTCC) -o $(OBJDIR)/timeline.o -c $(OBJDIR)/timeline_.c
11531278
1154
-timeline.h: $(OBJDIR)/headers
1279
+$(OBJDIR)/timeline.h: $(OBJDIR)/headers
1280
+
11551281
$(OBJDIR)/tkt_.c: $(SRCDIR)/tkt.c $(OBJDIR)/translate
11561282
$(TRANSLATE) $(SRCDIR)/tkt.c >$(OBJDIR)/tkt_.c
11571283
11581284
$(OBJDIR)/tkt.o: $(OBJDIR)/tkt_.c $(OBJDIR)/tkt.h $(SRCDIR)/config.h
11591285
$(XTCC) -o $(OBJDIR)/tkt.o -c $(OBJDIR)/tkt_.c
11601286
1161
-tkt.h: $(OBJDIR)/headers
1287
+$(OBJDIR)/tkt.h: $(OBJDIR)/headers
1288
+
11621289
$(OBJDIR)/tktsetup_.c: $(SRCDIR)/tktsetup.c $(OBJDIR)/translate
11631290
$(TRANSLATE) $(SRCDIR)/tktsetup.c >$(OBJDIR)/tktsetup_.c
11641291
11651292
$(OBJDIR)/tktsetup.o: $(OBJDIR)/tktsetup_.c $(OBJDIR)/tktsetup.h $(SRCDIR)/config.h
11661293
$(XTCC) -o $(OBJDIR)/tktsetup.o -c $(OBJDIR)/tktsetup_.c
11671294
1168
-tktsetup.h: $(OBJDIR)/headers
1295
+$(OBJDIR)/tktsetup.h: $(OBJDIR)/headers
1296
+
11691297
$(OBJDIR)/undo_.c: $(SRCDIR)/undo.c $(OBJDIR)/translate
11701298
$(TRANSLATE) $(SRCDIR)/undo.c >$(OBJDIR)/undo_.c
11711299
11721300
$(OBJDIR)/undo.o: $(OBJDIR)/undo_.c $(OBJDIR)/undo.h $(SRCDIR)/config.h
11731301
$(XTCC) -o $(OBJDIR)/undo.o -c $(OBJDIR)/undo_.c
11741302
1175
-undo.h: $(OBJDIR)/headers
1303
+$(OBJDIR)/undo.h: $(OBJDIR)/headers
1304
+
11761305
$(OBJDIR)/update_.c: $(SRCDIR)/update.c $(OBJDIR)/translate
11771306
$(TRANSLATE) $(SRCDIR)/update.c >$(OBJDIR)/update_.c
11781307
11791308
$(OBJDIR)/update.o: $(OBJDIR)/update_.c $(OBJDIR)/update.h $(SRCDIR)/config.h
11801309
$(XTCC) -o $(OBJDIR)/update.o -c $(OBJDIR)/update_.c
11811310
1182
-update.h: $(OBJDIR)/headers
1311
+$(OBJDIR)/update.h: $(OBJDIR)/headers
1312
+
11831313
$(OBJDIR)/url_.c: $(SRCDIR)/url.c $(OBJDIR)/translate
11841314
$(TRANSLATE) $(SRCDIR)/url.c >$(OBJDIR)/url_.c
11851315
11861316
$(OBJDIR)/url.o: $(OBJDIR)/url_.c $(OBJDIR)/url.h $(SRCDIR)/config.h
11871317
$(XTCC) -o $(OBJDIR)/url.o -c $(OBJDIR)/url_.c
11881318
1189
-url.h: $(OBJDIR)/headers
1319
+$(OBJDIR)/url.h: $(OBJDIR)/headers
1320
+
11901321
$(OBJDIR)/user_.c: $(SRCDIR)/user.c $(OBJDIR)/translate
11911322
$(TRANSLATE) $(SRCDIR)/user.c >$(OBJDIR)/user_.c
11921323
11931324
$(OBJDIR)/user.o: $(OBJDIR)/user_.c $(OBJDIR)/user.h $(SRCDIR)/config.h
11941325
$(XTCC) -o $(OBJDIR)/user.o -c $(OBJDIR)/user_.c
11951326
1196
-user.h: $(OBJDIR)/headers
1327
+$(OBJDIR)/user.h: $(OBJDIR)/headers
1328
+
11971329
$(OBJDIR)/verify_.c: $(SRCDIR)/verify.c $(OBJDIR)/translate
11981330
$(TRANSLATE) $(SRCDIR)/verify.c >$(OBJDIR)/verify_.c
11991331
12001332
$(OBJDIR)/verify.o: $(OBJDIR)/verify_.c $(OBJDIR)/verify.h $(SRCDIR)/config.h
12011333
$(XTCC) -o $(OBJDIR)/verify.o -c $(OBJDIR)/verify_.c
12021334
1203
-verify.h: $(OBJDIR)/headers
1335
+$(OBJDIR)/verify.h: $(OBJDIR)/headers
1336
+
12041337
$(OBJDIR)/vfile_.c: $(SRCDIR)/vfile.c $(OBJDIR)/translate
12051338
$(TRANSLATE) $(SRCDIR)/vfile.c >$(OBJDIR)/vfile_.c
12061339
12071340
$(OBJDIR)/vfile.o: $(OBJDIR)/vfile_.c $(OBJDIR)/vfile.h $(SRCDIR)/config.h
12081341
$(XTCC) -o $(OBJDIR)/vfile.o -c $(OBJDIR)/vfile_.c
12091342
1210
-vfile.h: $(OBJDIR)/headers
1343
+$(OBJDIR)/vfile.h: $(OBJDIR)/headers
1344
+
12111345
$(OBJDIR)/wiki_.c: $(SRCDIR)/wiki.c $(OBJDIR)/translate
12121346
$(TRANSLATE) $(SRCDIR)/wiki.c >$(OBJDIR)/wiki_.c
12131347
12141348
$(OBJDIR)/wiki.o: $(OBJDIR)/wiki_.c $(OBJDIR)/wiki.h $(SRCDIR)/config.h
12151349
$(XTCC) -o $(OBJDIR)/wiki.o -c $(OBJDIR)/wiki_.c
12161350
1217
-wiki.h: $(OBJDIR)/headers
1351
+$(OBJDIR)/wiki.h: $(OBJDIR)/headers
1352
+
12181353
$(OBJDIR)/wikiformat_.c: $(SRCDIR)/wikiformat.c $(OBJDIR)/translate
12191354
$(TRANSLATE) $(SRCDIR)/wikiformat.c >$(OBJDIR)/wikiformat_.c
12201355
12211356
$(OBJDIR)/wikiformat.o: $(OBJDIR)/wikiformat_.c $(OBJDIR)/wikiformat.h $(SRCDIR)/config.h
12221357
$(XTCC) -o $(OBJDIR)/wikiformat.o -c $(OBJDIR)/wikiformat_.c
12231358
1224
-wikiformat.h: $(OBJDIR)/headers
1359
+$(OBJDIR)/wikiformat.h: $(OBJDIR)/headers
1360
+
12251361
$(OBJDIR)/winhttp_.c: $(SRCDIR)/winhttp.c $(OBJDIR)/translate
12261362
$(TRANSLATE) $(SRCDIR)/winhttp.c >$(OBJDIR)/winhttp_.c
12271363
12281364
$(OBJDIR)/winhttp.o: $(OBJDIR)/winhttp_.c $(OBJDIR)/winhttp.h $(SRCDIR)/config.h
12291365
$(XTCC) -o $(OBJDIR)/winhttp.o -c $(OBJDIR)/winhttp_.c
12301366
1231
-winhttp.h: $(OBJDIR)/headers
1367
+$(OBJDIR)/winhttp.h: $(OBJDIR)/headers
1368
+
12321369
$(OBJDIR)/wysiwyg_.c: $(SRCDIR)/wysiwyg.c $(OBJDIR)/translate
12331370
$(TRANSLATE) $(SRCDIR)/wysiwyg.c >$(OBJDIR)/wysiwyg_.c
12341371
12351372
$(OBJDIR)/wysiwyg.o: $(OBJDIR)/wysiwyg_.c $(OBJDIR)/wysiwyg.h $(SRCDIR)/config.h
12361373
$(XTCC) -o $(OBJDIR)/wysiwyg.o -c $(OBJDIR)/wysiwyg_.c
12371374
1238
-wysiwyg.h: $(OBJDIR)/headers
1375
+$(OBJDIR)/wysiwyg.h: $(OBJDIR)/headers
1376
+
12391377
$(OBJDIR)/xfer_.c: $(SRCDIR)/xfer.c $(OBJDIR)/translate
12401378
$(TRANSLATE) $(SRCDIR)/xfer.c >$(OBJDIR)/xfer_.c
12411379
12421380
$(OBJDIR)/xfer.o: $(OBJDIR)/xfer_.c $(OBJDIR)/xfer.h $(SRCDIR)/config.h
12431381
$(XTCC) -o $(OBJDIR)/xfer.o -c $(OBJDIR)/xfer_.c
12441382
1245
-xfer.h: $(OBJDIR)/headers
1383
+$(OBJDIR)/xfer.h: $(OBJDIR)/headers
1384
+
12461385
$(OBJDIR)/xfersetup_.c: $(SRCDIR)/xfersetup.c $(OBJDIR)/translate
12471386
$(TRANSLATE) $(SRCDIR)/xfersetup.c >$(OBJDIR)/xfersetup_.c
12481387
12491388
$(OBJDIR)/xfersetup.o: $(OBJDIR)/xfersetup_.c $(OBJDIR)/xfersetup.h $(SRCDIR)/config.h
12501389
$(XTCC) -o $(OBJDIR)/xfersetup.o -c $(OBJDIR)/xfersetup_.c
12511390
1252
-xfersetup.h: $(OBJDIR)/headers
1391
+$(OBJDIR)/xfersetup.h: $(OBJDIR)/headers
1392
+
12531393
$(OBJDIR)/zip_.c: $(SRCDIR)/zip.c $(OBJDIR)/translate
12541394
$(TRANSLATE) $(SRCDIR)/zip.c >$(OBJDIR)/zip_.c
12551395
12561396
$(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h
12571397
$(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c
12581398
1259
-zip.h: $(OBJDIR)/headers
1399
+$(OBJDIR)/zip.h: $(OBJDIR)/headers
1400
+
12601401
$(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c
12611402
$(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o
12621403
12631404
$(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
12641405
$(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
@@ -1276,6 +1417,5 @@
12761417
12771418
ifdef FOSSIL_ENABLE_TCL
12781419
$(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
12791420
$(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
12801421
endif
1281
-
12821422
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -14,10 +14,11 @@
14
15 #### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
16 # By default, this is an empty string (i.e. use the native compiler).
17 #
18 PREFIX =
 
19 # PREFIX = i686-pc-mingw32-
20 # PREFIX = i686-w64-mingw32-
21 # PREFIX = x86_64-w64-mingw32-
22
23 #### The toplevel directory of the source tree. Fossil can be built
@@ -494,29 +495,67 @@
494 $(OBJDIR)/xfer.o \
495 $(OBJDIR)/xfersetup.o \
496 $(OBJDIR)/zip.o
497
498 APPNAME = fossil.exe
499 TRANSLATE = $(OBJDIR)/translate.exe
500 MAKEHEADERS = $(OBJDIR)/makeheaders.exe
501 MKINDEX = $(OBJDIR)/mkindex.exe
502 VERSION = $(OBJDIR)/version.exe
503
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
504
505 all: $(OBJDIR) $(APPNAME)
506
507 $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc
508 cp $(SRCDIR)/../win/fossil.rc $(OBJDIR)
509 cp $(SRCDIR)/../win/fossil.ico $(OBJDIR)
 
 
 
 
 
510 $(RCC) $(OBJDIR)/fossil.rc -o $(OBJDIR)/fossil.o
511
512 install: $(APPNAME)
513 mkdir -p $(INSTALLDIR)
514 mv $(APPNAME) $(INSTALLDIR)
 
 
 
 
 
515
516 $(OBJDIR):
517 mkdir $(OBJDIR)
 
 
 
 
518
519 $(OBJDIR)/translate: $(SRCDIR)/translate.c
520 $(BCC) -o $(OBJDIR)/translate $(SRCDIR)/translate.c
521
522 $(OBJDIR)/makeheaders: $(SRCDIR)/makeheaders.c
@@ -550,715 +589,817 @@
550 # an executable named "manifest" out of the file named "manifest.c"
551 #
552 $(SRCDIR)/../manifest:
553 # noop
554
555 # Requires MSYS to be installed in addition to the MinGW, for the "rm"
556 # command. "del" will not work here because it is not a separate command
557 # but a MSDOS-shell builtin.
558 #
559 clean:
560 rm -rf $(OBJDIR) $(APPNAME)
 
 
 
 
 
 
561
562 setup: $(OBJDIR) $(APPNAME)
563 $(MAKENSIS) ./fossil.nsi
564
565
566 $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex
567 $(MKINDEX) $(TRANS_SRC) >$@
 
568 $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h
569 $(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/path_.c:$(OBJDIR)/path.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/tar_.c:$(OBJDIR)/tar.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/wysiwyg_.c:$(OBJDIR)/wysiwyg.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h
570 echo Done >$(OBJDIR)/headers
571
572 $(OBJDIR)/headers: Makefile
 
573 Makefile:
 
574 $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate
575 $(TRANSLATE) $(SRCDIR)/add.c >$(OBJDIR)/add_.c
576
577 $(OBJDIR)/add.o: $(OBJDIR)/add_.c $(OBJDIR)/add.h $(SRCDIR)/config.h
578 $(XTCC) -o $(OBJDIR)/add.o -c $(OBJDIR)/add_.c
579
580 add.h: $(OBJDIR)/headers
 
581 $(OBJDIR)/allrepo_.c: $(SRCDIR)/allrepo.c $(OBJDIR)/translate
582 $(TRANSLATE) $(SRCDIR)/allrepo.c >$(OBJDIR)/allrepo_.c
583
584 $(OBJDIR)/allrepo.o: $(OBJDIR)/allrepo_.c $(OBJDIR)/allrepo.h $(SRCDIR)/config.h
585 $(XTCC) -o $(OBJDIR)/allrepo.o -c $(OBJDIR)/allrepo_.c
586
587 allrepo.h: $(OBJDIR)/headers
 
588 $(OBJDIR)/attach_.c: $(SRCDIR)/attach.c $(OBJDIR)/translate
589 $(TRANSLATE) $(SRCDIR)/attach.c >$(OBJDIR)/attach_.c
590
591 $(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h
592 $(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c
593
594 attach.h: $(OBJDIR)/headers
 
595 $(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(OBJDIR)/translate
596 $(TRANSLATE) $(SRCDIR)/bag.c >$(OBJDIR)/bag_.c
597
598 $(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h
599 $(XTCC) -o $(OBJDIR)/bag.o -c $(OBJDIR)/bag_.c
600
601 bag.h: $(OBJDIR)/headers
 
602 $(OBJDIR)/bisect_.c: $(SRCDIR)/bisect.c $(OBJDIR)/translate
603 $(TRANSLATE) $(SRCDIR)/bisect.c >$(OBJDIR)/bisect_.c
604
605 $(OBJDIR)/bisect.o: $(OBJDIR)/bisect_.c $(OBJDIR)/bisect.h $(SRCDIR)/config.h
606 $(XTCC) -o $(OBJDIR)/bisect.o -c $(OBJDIR)/bisect_.c
607
608 bisect.h: $(OBJDIR)/headers
 
609 $(OBJDIR)/blob_.c: $(SRCDIR)/blob.c $(OBJDIR)/translate
610 $(TRANSLATE) $(SRCDIR)/blob.c >$(OBJDIR)/blob_.c
611
612 $(OBJDIR)/blob.o: $(OBJDIR)/blob_.c $(OBJDIR)/blob.h $(SRCDIR)/config.h
613 $(XTCC) -o $(OBJDIR)/blob.o -c $(OBJDIR)/blob_.c
614
615 blob.h: $(OBJDIR)/headers
 
616 $(OBJDIR)/branch_.c: $(SRCDIR)/branch.c $(OBJDIR)/translate
617 $(TRANSLATE) $(SRCDIR)/branch.c >$(OBJDIR)/branch_.c
618
619 $(OBJDIR)/branch.o: $(OBJDIR)/branch_.c $(OBJDIR)/branch.h $(SRCDIR)/config.h
620 $(XTCC) -o $(OBJDIR)/branch.o -c $(OBJDIR)/branch_.c
621
622 branch.h: $(OBJDIR)/headers
 
623 $(OBJDIR)/browse_.c: $(SRCDIR)/browse.c $(OBJDIR)/translate
624 $(TRANSLATE) $(SRCDIR)/browse.c >$(OBJDIR)/browse_.c
625
626 $(OBJDIR)/browse.o: $(OBJDIR)/browse_.c $(OBJDIR)/browse.h $(SRCDIR)/config.h
627 $(XTCC) -o $(OBJDIR)/browse.o -c $(OBJDIR)/browse_.c
628
629 browse.h: $(OBJDIR)/headers
 
630 $(OBJDIR)/captcha_.c: $(SRCDIR)/captcha.c $(OBJDIR)/translate
631 $(TRANSLATE) $(SRCDIR)/captcha.c >$(OBJDIR)/captcha_.c
632
633 $(OBJDIR)/captcha.o: $(OBJDIR)/captcha_.c $(OBJDIR)/captcha.h $(SRCDIR)/config.h
634 $(XTCC) -o $(OBJDIR)/captcha.o -c $(OBJDIR)/captcha_.c
635
636 captcha.h: $(OBJDIR)/headers
 
637 $(OBJDIR)/cgi_.c: $(SRCDIR)/cgi.c $(OBJDIR)/translate
638 $(TRANSLATE) $(SRCDIR)/cgi.c >$(OBJDIR)/cgi_.c
639
640 $(OBJDIR)/cgi.o: $(OBJDIR)/cgi_.c $(OBJDIR)/cgi.h $(SRCDIR)/config.h
641 $(XTCC) -o $(OBJDIR)/cgi.o -c $(OBJDIR)/cgi_.c
642
643 cgi.h: $(OBJDIR)/headers
 
644 $(OBJDIR)/checkin_.c: $(SRCDIR)/checkin.c $(OBJDIR)/translate
645 $(TRANSLATE) $(SRCDIR)/checkin.c >$(OBJDIR)/checkin_.c
646
647 $(OBJDIR)/checkin.o: $(OBJDIR)/checkin_.c $(OBJDIR)/checkin.h $(SRCDIR)/config.h
648 $(XTCC) -o $(OBJDIR)/checkin.o -c $(OBJDIR)/checkin_.c
649
650 checkin.h: $(OBJDIR)/headers
 
651 $(OBJDIR)/checkout_.c: $(SRCDIR)/checkout.c $(OBJDIR)/translate
652 $(TRANSLATE) $(SRCDIR)/checkout.c >$(OBJDIR)/checkout_.c
653
654 $(OBJDIR)/checkout.o: $(OBJDIR)/checkout_.c $(OBJDIR)/checkout.h $(SRCDIR)/config.h
655 $(XTCC) -o $(OBJDIR)/checkout.o -c $(OBJDIR)/checkout_.c
656
657 checkout.h: $(OBJDIR)/headers
 
658 $(OBJDIR)/clearsign_.c: $(SRCDIR)/clearsign.c $(OBJDIR)/translate
659 $(TRANSLATE) $(SRCDIR)/clearsign.c >$(OBJDIR)/clearsign_.c
660
661 $(OBJDIR)/clearsign.o: $(OBJDIR)/clearsign_.c $(OBJDIR)/clearsign.h $(SRCDIR)/config.h
662 $(XTCC) -o $(OBJDIR)/clearsign.o -c $(OBJDIR)/clearsign_.c
663
664 clearsign.h: $(OBJDIR)/headers
 
665 $(OBJDIR)/clone_.c: $(SRCDIR)/clone.c $(OBJDIR)/translate
666 $(TRANSLATE) $(SRCDIR)/clone.c >$(OBJDIR)/clone_.c
667
668 $(OBJDIR)/clone.o: $(OBJDIR)/clone_.c $(OBJDIR)/clone.h $(SRCDIR)/config.h
669 $(XTCC) -o $(OBJDIR)/clone.o -c $(OBJDIR)/clone_.c
670
671 clone.h: $(OBJDIR)/headers
 
672 $(OBJDIR)/comformat_.c: $(SRCDIR)/comformat.c $(OBJDIR)/translate
673 $(TRANSLATE) $(SRCDIR)/comformat.c >$(OBJDIR)/comformat_.c
674
675 $(OBJDIR)/comformat.o: $(OBJDIR)/comformat_.c $(OBJDIR)/comformat.h $(SRCDIR)/config.h
676 $(XTCC) -o $(OBJDIR)/comformat.o -c $(OBJDIR)/comformat_.c
677
678 comformat.h: $(OBJDIR)/headers
 
679 $(OBJDIR)/configure_.c: $(SRCDIR)/configure.c $(OBJDIR)/translate
680 $(TRANSLATE) $(SRCDIR)/configure.c >$(OBJDIR)/configure_.c
681
682 $(OBJDIR)/configure.o: $(OBJDIR)/configure_.c $(OBJDIR)/configure.h $(SRCDIR)/config.h
683 $(XTCC) -o $(OBJDIR)/configure.o -c $(OBJDIR)/configure_.c
684
685 configure.h: $(OBJDIR)/headers
 
686 $(OBJDIR)/content_.c: $(SRCDIR)/content.c $(OBJDIR)/translate
687 $(TRANSLATE) $(SRCDIR)/content.c >$(OBJDIR)/content_.c
688
689 $(OBJDIR)/content.o: $(OBJDIR)/content_.c $(OBJDIR)/content.h $(SRCDIR)/config.h
690 $(XTCC) -o $(OBJDIR)/content.o -c $(OBJDIR)/content_.c
691
692 content.h: $(OBJDIR)/headers
 
693 $(OBJDIR)/db_.c: $(SRCDIR)/db.c $(OBJDIR)/translate
694 $(TRANSLATE) $(SRCDIR)/db.c >$(OBJDIR)/db_.c
695
696 $(OBJDIR)/db.o: $(OBJDIR)/db_.c $(OBJDIR)/db.h $(SRCDIR)/config.h
697 $(XTCC) -o $(OBJDIR)/db.o -c $(OBJDIR)/db_.c
698
699 db.h: $(OBJDIR)/headers
 
700 $(OBJDIR)/delta_.c: $(SRCDIR)/delta.c $(OBJDIR)/translate
701 $(TRANSLATE) $(SRCDIR)/delta.c >$(OBJDIR)/delta_.c
702
703 $(OBJDIR)/delta.o: $(OBJDIR)/delta_.c $(OBJDIR)/delta.h $(SRCDIR)/config.h
704 $(XTCC) -o $(OBJDIR)/delta.o -c $(OBJDIR)/delta_.c
705
706 delta.h: $(OBJDIR)/headers
 
707 $(OBJDIR)/deltacmd_.c: $(SRCDIR)/deltacmd.c $(OBJDIR)/translate
708 $(TRANSLATE) $(SRCDIR)/deltacmd.c >$(OBJDIR)/deltacmd_.c
709
710 $(OBJDIR)/deltacmd.o: $(OBJDIR)/deltacmd_.c $(OBJDIR)/deltacmd.h $(SRCDIR)/config.h
711 $(XTCC) -o $(OBJDIR)/deltacmd.o -c $(OBJDIR)/deltacmd_.c
712
713 deltacmd.h: $(OBJDIR)/headers
 
714 $(OBJDIR)/descendants_.c: $(SRCDIR)/descendants.c $(OBJDIR)/translate
715 $(TRANSLATE) $(SRCDIR)/descendants.c >$(OBJDIR)/descendants_.c
716
717 $(OBJDIR)/descendants.o: $(OBJDIR)/descendants_.c $(OBJDIR)/descendants.h $(SRCDIR)/config.h
718 $(XTCC) -o $(OBJDIR)/descendants.o -c $(OBJDIR)/descendants_.c
719
720 descendants.h: $(OBJDIR)/headers
 
721 $(OBJDIR)/diff_.c: $(SRCDIR)/diff.c $(OBJDIR)/translate
722 $(TRANSLATE) $(SRCDIR)/diff.c >$(OBJDIR)/diff_.c
723
724 $(OBJDIR)/diff.o: $(OBJDIR)/diff_.c $(OBJDIR)/diff.h $(SRCDIR)/config.h
725 $(XTCC) -o $(OBJDIR)/diff.o -c $(OBJDIR)/diff_.c
726
727 diff.h: $(OBJDIR)/headers
 
728 $(OBJDIR)/diffcmd_.c: $(SRCDIR)/diffcmd.c $(OBJDIR)/translate
729 $(TRANSLATE) $(SRCDIR)/diffcmd.c >$(OBJDIR)/diffcmd_.c
730
731 $(OBJDIR)/diffcmd.o: $(OBJDIR)/diffcmd_.c $(OBJDIR)/diffcmd.h $(SRCDIR)/config.h
732 $(XTCC) -o $(OBJDIR)/diffcmd.o -c $(OBJDIR)/diffcmd_.c
733
734 diffcmd.h: $(OBJDIR)/headers
 
735 $(OBJDIR)/doc_.c: $(SRCDIR)/doc.c $(OBJDIR)/translate
736 $(TRANSLATE) $(SRCDIR)/doc.c >$(OBJDIR)/doc_.c
737
738 $(OBJDIR)/doc.o: $(OBJDIR)/doc_.c $(OBJDIR)/doc.h $(SRCDIR)/config.h
739 $(XTCC) -o $(OBJDIR)/doc.o -c $(OBJDIR)/doc_.c
740
741 doc.h: $(OBJDIR)/headers
 
742 $(OBJDIR)/encode_.c: $(SRCDIR)/encode.c $(OBJDIR)/translate
743 $(TRANSLATE) $(SRCDIR)/encode.c >$(OBJDIR)/encode_.c
744
745 $(OBJDIR)/encode.o: $(OBJDIR)/encode_.c $(OBJDIR)/encode.h $(SRCDIR)/config.h
746 $(XTCC) -o $(OBJDIR)/encode.o -c $(OBJDIR)/encode_.c
747
748 encode.h: $(OBJDIR)/headers
 
749 $(OBJDIR)/event_.c: $(SRCDIR)/event.c $(OBJDIR)/translate
750 $(TRANSLATE) $(SRCDIR)/event.c >$(OBJDIR)/event_.c
751
752 $(OBJDIR)/event.o: $(OBJDIR)/event_.c $(OBJDIR)/event.h $(SRCDIR)/config.h
753 $(XTCC) -o $(OBJDIR)/event.o -c $(OBJDIR)/event_.c
754
755 event.h: $(OBJDIR)/headers
 
756 $(OBJDIR)/export_.c: $(SRCDIR)/export.c $(OBJDIR)/translate
757 $(TRANSLATE) $(SRCDIR)/export.c >$(OBJDIR)/export_.c
758
759 $(OBJDIR)/export.o: $(OBJDIR)/export_.c $(OBJDIR)/export.h $(SRCDIR)/config.h
760 $(XTCC) -o $(OBJDIR)/export.o -c $(OBJDIR)/export_.c
761
762 export.h: $(OBJDIR)/headers
 
763 $(OBJDIR)/file_.c: $(SRCDIR)/file.c $(OBJDIR)/translate
764 $(TRANSLATE) $(SRCDIR)/file.c >$(OBJDIR)/file_.c
765
766 $(OBJDIR)/file.o: $(OBJDIR)/file_.c $(OBJDIR)/file.h $(SRCDIR)/config.h
767 $(XTCC) -o $(OBJDIR)/file.o -c $(OBJDIR)/file_.c
768
769 file.h: $(OBJDIR)/headers
 
770 $(OBJDIR)/finfo_.c: $(SRCDIR)/finfo.c $(OBJDIR)/translate
771 $(TRANSLATE) $(SRCDIR)/finfo.c >$(OBJDIR)/finfo_.c
772
773 $(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h
774 $(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c
775
776 finfo.h: $(OBJDIR)/headers
 
777 $(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate
778 $(TRANSLATE) $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c
779
780 $(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h
781 $(XTCC) -o $(OBJDIR)/glob.o -c $(OBJDIR)/glob_.c
782
783 glob.h: $(OBJDIR)/headers
 
784 $(OBJDIR)/graph_.c: $(SRCDIR)/graph.c $(OBJDIR)/translate
785 $(TRANSLATE) $(SRCDIR)/graph.c >$(OBJDIR)/graph_.c
786
787 $(OBJDIR)/graph.o: $(OBJDIR)/graph_.c $(OBJDIR)/graph.h $(SRCDIR)/config.h
788 $(XTCC) -o $(OBJDIR)/graph.o -c $(OBJDIR)/graph_.c
789
790 graph.h: $(OBJDIR)/headers
 
791 $(OBJDIR)/gzip_.c: $(SRCDIR)/gzip.c $(OBJDIR)/translate
792 $(TRANSLATE) $(SRCDIR)/gzip.c >$(OBJDIR)/gzip_.c
793
794 $(OBJDIR)/gzip.o: $(OBJDIR)/gzip_.c $(OBJDIR)/gzip.h $(SRCDIR)/config.h
795 $(XTCC) -o $(OBJDIR)/gzip.o -c $(OBJDIR)/gzip_.c
796
797 gzip.h: $(OBJDIR)/headers
 
798 $(OBJDIR)/http_.c: $(SRCDIR)/http.c $(OBJDIR)/translate
799 $(TRANSLATE) $(SRCDIR)/http.c >$(OBJDIR)/http_.c
800
801 $(OBJDIR)/http.o: $(OBJDIR)/http_.c $(OBJDIR)/http.h $(SRCDIR)/config.h
802 $(XTCC) -o $(OBJDIR)/http.o -c $(OBJDIR)/http_.c
803
804 http.h: $(OBJDIR)/headers
 
805 $(OBJDIR)/http_socket_.c: $(SRCDIR)/http_socket.c $(OBJDIR)/translate
806 $(TRANSLATE) $(SRCDIR)/http_socket.c >$(OBJDIR)/http_socket_.c
807
808 $(OBJDIR)/http_socket.o: $(OBJDIR)/http_socket_.c $(OBJDIR)/http_socket.h $(SRCDIR)/config.h
809 $(XTCC) -o $(OBJDIR)/http_socket.o -c $(OBJDIR)/http_socket_.c
810
811 http_socket.h: $(OBJDIR)/headers
 
812 $(OBJDIR)/http_ssl_.c: $(SRCDIR)/http_ssl.c $(OBJDIR)/translate
813 $(TRANSLATE) $(SRCDIR)/http_ssl.c >$(OBJDIR)/http_ssl_.c
814
815 $(OBJDIR)/http_ssl.o: $(OBJDIR)/http_ssl_.c $(OBJDIR)/http_ssl.h $(SRCDIR)/config.h
816 $(XTCC) -o $(OBJDIR)/http_ssl.o -c $(OBJDIR)/http_ssl_.c
817
818 http_ssl.h: $(OBJDIR)/headers
 
819 $(OBJDIR)/http_transport_.c: $(SRCDIR)/http_transport.c $(OBJDIR)/translate
820 $(TRANSLATE) $(SRCDIR)/http_transport.c >$(OBJDIR)/http_transport_.c
821
822 $(OBJDIR)/http_transport.o: $(OBJDIR)/http_transport_.c $(OBJDIR)/http_transport.h $(SRCDIR)/config.h
823 $(XTCC) -o $(OBJDIR)/http_transport.o -c $(OBJDIR)/http_transport_.c
824
825 http_transport.h: $(OBJDIR)/headers
 
826 $(OBJDIR)/import_.c: $(SRCDIR)/import.c $(OBJDIR)/translate
827 $(TRANSLATE) $(SRCDIR)/import.c >$(OBJDIR)/import_.c
828
829 $(OBJDIR)/import.o: $(OBJDIR)/import_.c $(OBJDIR)/import.h $(SRCDIR)/config.h
830 $(XTCC) -o $(OBJDIR)/import.o -c $(OBJDIR)/import_.c
831
832 import.h: $(OBJDIR)/headers
 
833 $(OBJDIR)/info_.c: $(SRCDIR)/info.c $(OBJDIR)/translate
834 $(TRANSLATE) $(SRCDIR)/info.c >$(OBJDIR)/info_.c
835
836 $(OBJDIR)/info.o: $(OBJDIR)/info_.c $(OBJDIR)/info.h $(SRCDIR)/config.h
837 $(XTCC) -o $(OBJDIR)/info.o -c $(OBJDIR)/info_.c
838
839 info.h: $(OBJDIR)/headers
 
840 $(OBJDIR)/json_.c: $(SRCDIR)/json.c $(OBJDIR)/translate
841 $(TRANSLATE) $(SRCDIR)/json.c >$(OBJDIR)/json_.c
842
843 $(OBJDIR)/json.o: $(OBJDIR)/json_.c $(OBJDIR)/json.h $(SRCDIR)/config.h
844 $(XTCC) -o $(OBJDIR)/json.o -c $(OBJDIR)/json_.c
845
846 json.h: $(OBJDIR)/headers
 
847 $(OBJDIR)/json_artifact_.c: $(SRCDIR)/json_artifact.c $(OBJDIR)/translate
848 $(TRANSLATE) $(SRCDIR)/json_artifact.c >$(OBJDIR)/json_artifact_.c
849
850 $(OBJDIR)/json_artifact.o: $(OBJDIR)/json_artifact_.c $(OBJDIR)/json_artifact.h $(SRCDIR)/config.h
851 $(XTCC) -o $(OBJDIR)/json_artifact.o -c $(OBJDIR)/json_artifact_.c
852
853 json_artifact.h: $(OBJDIR)/headers
 
854 $(OBJDIR)/json_branch_.c: $(SRCDIR)/json_branch.c $(OBJDIR)/translate
855 $(TRANSLATE) $(SRCDIR)/json_branch.c >$(OBJDIR)/json_branch_.c
856
857 $(OBJDIR)/json_branch.o: $(OBJDIR)/json_branch_.c $(OBJDIR)/json_branch.h $(SRCDIR)/config.h
858 $(XTCC) -o $(OBJDIR)/json_branch.o -c $(OBJDIR)/json_branch_.c
859
860 json_branch.h: $(OBJDIR)/headers
 
861 $(OBJDIR)/json_config_.c: $(SRCDIR)/json_config.c $(OBJDIR)/translate
862 $(TRANSLATE) $(SRCDIR)/json_config.c >$(OBJDIR)/json_config_.c
863
864 $(OBJDIR)/json_config.o: $(OBJDIR)/json_config_.c $(OBJDIR)/json_config.h $(SRCDIR)/config.h
865 $(XTCC) -o $(OBJDIR)/json_config.o -c $(OBJDIR)/json_config_.c
866
867 json_config.h: $(OBJDIR)/headers
 
868 $(OBJDIR)/json_diff_.c: $(SRCDIR)/json_diff.c $(OBJDIR)/translate
869 $(TRANSLATE) $(SRCDIR)/json_diff.c >$(OBJDIR)/json_diff_.c
870
871 $(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h
872 $(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c
873
874 json_diff.h: $(OBJDIR)/headers
 
875 $(OBJDIR)/json_dir_.c: $(SRCDIR)/json_dir.c $(OBJDIR)/translate
876 $(TRANSLATE) $(SRCDIR)/json_dir.c >$(OBJDIR)/json_dir_.c
877
878 $(OBJDIR)/json_dir.o: $(OBJDIR)/json_dir_.c $(OBJDIR)/json_dir.h $(SRCDIR)/config.h
879 $(XTCC) -o $(OBJDIR)/json_dir.o -c $(OBJDIR)/json_dir_.c
880
881 json_dir.h: $(OBJDIR)/headers
 
882 $(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate
883 $(TRANSLATE) $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c
884
885 $(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h
886 $(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c
887
888 json_finfo.h: $(OBJDIR)/headers
 
889 $(OBJDIR)/json_login_.c: $(SRCDIR)/json_login.c $(OBJDIR)/translate
890 $(TRANSLATE) $(SRCDIR)/json_login.c >$(OBJDIR)/json_login_.c
891
892 $(OBJDIR)/json_login.o: $(OBJDIR)/json_login_.c $(OBJDIR)/json_login.h $(SRCDIR)/config.h
893 $(XTCC) -o $(OBJDIR)/json_login.o -c $(OBJDIR)/json_login_.c
894
895 json_login.h: $(OBJDIR)/headers
 
896 $(OBJDIR)/json_query_.c: $(SRCDIR)/json_query.c $(OBJDIR)/translate
897 $(TRANSLATE) $(SRCDIR)/json_query.c >$(OBJDIR)/json_query_.c
898
899 $(OBJDIR)/json_query.o: $(OBJDIR)/json_query_.c $(OBJDIR)/json_query.h $(SRCDIR)/config.h
900 $(XTCC) -o $(OBJDIR)/json_query.o -c $(OBJDIR)/json_query_.c
901
902 json_query.h: $(OBJDIR)/headers
 
903 $(OBJDIR)/json_report_.c: $(SRCDIR)/json_report.c $(OBJDIR)/translate
904 $(TRANSLATE) $(SRCDIR)/json_report.c >$(OBJDIR)/json_report_.c
905
906 $(OBJDIR)/json_report.o: $(OBJDIR)/json_report_.c $(OBJDIR)/json_report.h $(SRCDIR)/config.h
907 $(XTCC) -o $(OBJDIR)/json_report.o -c $(OBJDIR)/json_report_.c
908
909 json_report.h: $(OBJDIR)/headers
 
910 $(OBJDIR)/json_tag_.c: $(SRCDIR)/json_tag.c $(OBJDIR)/translate
911 $(TRANSLATE) $(SRCDIR)/json_tag.c >$(OBJDIR)/json_tag_.c
912
913 $(OBJDIR)/json_tag.o: $(OBJDIR)/json_tag_.c $(OBJDIR)/json_tag.h $(SRCDIR)/config.h
914 $(XTCC) -o $(OBJDIR)/json_tag.o -c $(OBJDIR)/json_tag_.c
915
916 json_tag.h: $(OBJDIR)/headers
 
917 $(OBJDIR)/json_timeline_.c: $(SRCDIR)/json_timeline.c $(OBJDIR)/translate
918 $(TRANSLATE) $(SRCDIR)/json_timeline.c >$(OBJDIR)/json_timeline_.c
919
920 $(OBJDIR)/json_timeline.o: $(OBJDIR)/json_timeline_.c $(OBJDIR)/json_timeline.h $(SRCDIR)/config.h
921 $(XTCC) -o $(OBJDIR)/json_timeline.o -c $(OBJDIR)/json_timeline_.c
922
923 json_timeline.h: $(OBJDIR)/headers
 
924 $(OBJDIR)/json_user_.c: $(SRCDIR)/json_user.c $(OBJDIR)/translate
925 $(TRANSLATE) $(SRCDIR)/json_user.c >$(OBJDIR)/json_user_.c
926
927 $(OBJDIR)/json_user.o: $(OBJDIR)/json_user_.c $(OBJDIR)/json_user.h $(SRCDIR)/config.h
928 $(XTCC) -o $(OBJDIR)/json_user.o -c $(OBJDIR)/json_user_.c
929
930 json_user.h: $(OBJDIR)/headers
 
931 $(OBJDIR)/json_wiki_.c: $(SRCDIR)/json_wiki.c $(OBJDIR)/translate
932 $(TRANSLATE) $(SRCDIR)/json_wiki.c >$(OBJDIR)/json_wiki_.c
933
934 $(OBJDIR)/json_wiki.o: $(OBJDIR)/json_wiki_.c $(OBJDIR)/json_wiki.h $(SRCDIR)/config.h
935 $(XTCC) -o $(OBJDIR)/json_wiki.o -c $(OBJDIR)/json_wiki_.c
936
937 json_wiki.h: $(OBJDIR)/headers
 
938 $(OBJDIR)/leaf_.c: $(SRCDIR)/leaf.c $(OBJDIR)/translate
939 $(TRANSLATE) $(SRCDIR)/leaf.c >$(OBJDIR)/leaf_.c
940
941 $(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h
942 $(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c
943
944 leaf.h: $(OBJDIR)/headers
 
945 $(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate
946 $(TRANSLATE) $(SRCDIR)/login.c >$(OBJDIR)/login_.c
947
948 $(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h
949 $(XTCC) -o $(OBJDIR)/login.o -c $(OBJDIR)/login_.c
950
951 login.h: $(OBJDIR)/headers
 
952 $(OBJDIR)/main_.c: $(SRCDIR)/main.c $(OBJDIR)/translate
953 $(TRANSLATE) $(SRCDIR)/main.c >$(OBJDIR)/main_.c
954
955 $(OBJDIR)/main.o: $(OBJDIR)/main_.c $(OBJDIR)/main.h $(OBJDIR)/page_index.h $(SRCDIR)/config.h
956 $(XTCC) -o $(OBJDIR)/main.o -c $(OBJDIR)/main_.c
957
958 main.h: $(OBJDIR)/headers
 
959 $(OBJDIR)/manifest_.c: $(SRCDIR)/manifest.c $(OBJDIR)/translate
960 $(TRANSLATE) $(SRCDIR)/manifest.c >$(OBJDIR)/manifest_.c
961
962 $(OBJDIR)/manifest.o: $(OBJDIR)/manifest_.c $(OBJDIR)/manifest.h $(SRCDIR)/config.h
963 $(XTCC) -o $(OBJDIR)/manifest.o -c $(OBJDIR)/manifest_.c
964
965 manifest.h: $(OBJDIR)/headers
 
966 $(OBJDIR)/md5_.c: $(SRCDIR)/md5.c $(OBJDIR)/translate
967 $(TRANSLATE) $(SRCDIR)/md5.c >$(OBJDIR)/md5_.c
968
969 $(OBJDIR)/md5.o: $(OBJDIR)/md5_.c $(OBJDIR)/md5.h $(SRCDIR)/config.h
970 $(XTCC) -o $(OBJDIR)/md5.o -c $(OBJDIR)/md5_.c
971
972 md5.h: $(OBJDIR)/headers
 
973 $(OBJDIR)/merge_.c: $(SRCDIR)/merge.c $(OBJDIR)/translate
974 $(TRANSLATE) $(SRCDIR)/merge.c >$(OBJDIR)/merge_.c
975
976 $(OBJDIR)/merge.o: $(OBJDIR)/merge_.c $(OBJDIR)/merge.h $(SRCDIR)/config.h
977 $(XTCC) -o $(OBJDIR)/merge.o -c $(OBJDIR)/merge_.c
978
979 merge.h: $(OBJDIR)/headers
 
980 $(OBJDIR)/merge3_.c: $(SRCDIR)/merge3.c $(OBJDIR)/translate
981 $(TRANSLATE) $(SRCDIR)/merge3.c >$(OBJDIR)/merge3_.c
982
983 $(OBJDIR)/merge3.o: $(OBJDIR)/merge3_.c $(OBJDIR)/merge3.h $(SRCDIR)/config.h
984 $(XTCC) -o $(OBJDIR)/merge3.o -c $(OBJDIR)/merge3_.c
985
986 merge3.h: $(OBJDIR)/headers
 
987 $(OBJDIR)/name_.c: $(SRCDIR)/name.c $(OBJDIR)/translate
988 $(TRANSLATE) $(SRCDIR)/name.c >$(OBJDIR)/name_.c
989
990 $(OBJDIR)/name.o: $(OBJDIR)/name_.c $(OBJDIR)/name.h $(SRCDIR)/config.h
991 $(XTCC) -o $(OBJDIR)/name.o -c $(OBJDIR)/name_.c
992
993 name.h: $(OBJDIR)/headers
 
994 $(OBJDIR)/path_.c: $(SRCDIR)/path.c $(OBJDIR)/translate
995 $(TRANSLATE) $(SRCDIR)/path.c >$(OBJDIR)/path_.c
996
997 $(OBJDIR)/path.o: $(OBJDIR)/path_.c $(OBJDIR)/path.h $(SRCDIR)/config.h
998 $(XTCC) -o $(OBJDIR)/path.o -c $(OBJDIR)/path_.c
999
1000 path.h: $(OBJDIR)/headers
 
1001 $(OBJDIR)/pivot_.c: $(SRCDIR)/pivot.c $(OBJDIR)/translate
1002 $(TRANSLATE) $(SRCDIR)/pivot.c >$(OBJDIR)/pivot_.c
1003
1004 $(OBJDIR)/pivot.o: $(OBJDIR)/pivot_.c $(OBJDIR)/pivot.h $(SRCDIR)/config.h
1005 $(XTCC) -o $(OBJDIR)/pivot.o -c $(OBJDIR)/pivot_.c
1006
1007 pivot.h: $(OBJDIR)/headers
 
1008 $(OBJDIR)/popen_.c: $(SRCDIR)/popen.c $(OBJDIR)/translate
1009 $(TRANSLATE) $(SRCDIR)/popen.c >$(OBJDIR)/popen_.c
1010
1011 $(OBJDIR)/popen.o: $(OBJDIR)/popen_.c $(OBJDIR)/popen.h $(SRCDIR)/config.h
1012 $(XTCC) -o $(OBJDIR)/popen.o -c $(OBJDIR)/popen_.c
1013
1014 popen.h: $(OBJDIR)/headers
 
1015 $(OBJDIR)/pqueue_.c: $(SRCDIR)/pqueue.c $(OBJDIR)/translate
1016 $(TRANSLATE) $(SRCDIR)/pqueue.c >$(OBJDIR)/pqueue_.c
1017
1018 $(OBJDIR)/pqueue.o: $(OBJDIR)/pqueue_.c $(OBJDIR)/pqueue.h $(SRCDIR)/config.h
1019 $(XTCC) -o $(OBJDIR)/pqueue.o -c $(OBJDIR)/pqueue_.c
1020
1021 pqueue.h: $(OBJDIR)/headers
 
1022 $(OBJDIR)/printf_.c: $(SRCDIR)/printf.c $(OBJDIR)/translate
1023 $(TRANSLATE) $(SRCDIR)/printf.c >$(OBJDIR)/printf_.c
1024
1025 $(OBJDIR)/printf.o: $(OBJDIR)/printf_.c $(OBJDIR)/printf.h $(SRCDIR)/config.h
1026 $(XTCC) -o $(OBJDIR)/printf.o -c $(OBJDIR)/printf_.c
1027
1028 printf.h: $(OBJDIR)/headers
 
1029 $(OBJDIR)/rebuild_.c: $(SRCDIR)/rebuild.c $(OBJDIR)/translate
1030 $(TRANSLATE) $(SRCDIR)/rebuild.c >$(OBJDIR)/rebuild_.c
1031
1032 $(OBJDIR)/rebuild.o: $(OBJDIR)/rebuild_.c $(OBJDIR)/rebuild.h $(SRCDIR)/config.h
1033 $(XTCC) -o $(OBJDIR)/rebuild.o -c $(OBJDIR)/rebuild_.c
1034
1035 rebuild.h: $(OBJDIR)/headers
 
1036 $(OBJDIR)/report_.c: $(SRCDIR)/report.c $(OBJDIR)/translate
1037 $(TRANSLATE) $(SRCDIR)/report.c >$(OBJDIR)/report_.c
1038
1039 $(OBJDIR)/report.o: $(OBJDIR)/report_.c $(OBJDIR)/report.h $(SRCDIR)/config.h
1040 $(XTCC) -o $(OBJDIR)/report.o -c $(OBJDIR)/report_.c
1041
1042 report.h: $(OBJDIR)/headers
 
1043 $(OBJDIR)/rss_.c: $(SRCDIR)/rss.c $(OBJDIR)/translate
1044 $(TRANSLATE) $(SRCDIR)/rss.c >$(OBJDIR)/rss_.c
1045
1046 $(OBJDIR)/rss.o: $(OBJDIR)/rss_.c $(OBJDIR)/rss.h $(SRCDIR)/config.h
1047 $(XTCC) -o $(OBJDIR)/rss.o -c $(OBJDIR)/rss_.c
1048
1049 rss.h: $(OBJDIR)/headers
 
1050 $(OBJDIR)/schema_.c: $(SRCDIR)/schema.c $(OBJDIR)/translate
1051 $(TRANSLATE) $(SRCDIR)/schema.c >$(OBJDIR)/schema_.c
1052
1053 $(OBJDIR)/schema.o: $(OBJDIR)/schema_.c $(OBJDIR)/schema.h $(SRCDIR)/config.h
1054 $(XTCC) -o $(OBJDIR)/schema.o -c $(OBJDIR)/schema_.c
1055
1056 schema.h: $(OBJDIR)/headers
 
1057 $(OBJDIR)/search_.c: $(SRCDIR)/search.c $(OBJDIR)/translate
1058 $(TRANSLATE) $(SRCDIR)/search.c >$(OBJDIR)/search_.c
1059
1060 $(OBJDIR)/search.o: $(OBJDIR)/search_.c $(OBJDIR)/search.h $(SRCDIR)/config.h
1061 $(XTCC) -o $(OBJDIR)/search.o -c $(OBJDIR)/search_.c
1062
1063 search.h: $(OBJDIR)/headers
 
1064 $(OBJDIR)/setup_.c: $(SRCDIR)/setup.c $(OBJDIR)/translate
1065 $(TRANSLATE) $(SRCDIR)/setup.c >$(OBJDIR)/setup_.c
1066
1067 $(OBJDIR)/setup.o: $(OBJDIR)/setup_.c $(OBJDIR)/setup.h $(SRCDIR)/config.h
1068 $(XTCC) -o $(OBJDIR)/setup.o -c $(OBJDIR)/setup_.c
1069
1070 setup.h: $(OBJDIR)/headers
 
1071 $(OBJDIR)/sha1_.c: $(SRCDIR)/sha1.c $(OBJDIR)/translate
1072 $(TRANSLATE) $(SRCDIR)/sha1.c >$(OBJDIR)/sha1_.c
1073
1074 $(OBJDIR)/sha1.o: $(OBJDIR)/sha1_.c $(OBJDIR)/sha1.h $(SRCDIR)/config.h
1075 $(XTCC) -o $(OBJDIR)/sha1.o -c $(OBJDIR)/sha1_.c
1076
1077 sha1.h: $(OBJDIR)/headers
 
1078 $(OBJDIR)/shun_.c: $(SRCDIR)/shun.c $(OBJDIR)/translate
1079 $(TRANSLATE) $(SRCDIR)/shun.c >$(OBJDIR)/shun_.c
1080
1081 $(OBJDIR)/shun.o: $(OBJDIR)/shun_.c $(OBJDIR)/shun.h $(SRCDIR)/config.h
1082 $(XTCC) -o $(OBJDIR)/shun.o -c $(OBJDIR)/shun_.c
1083
1084 shun.h: $(OBJDIR)/headers
 
1085 $(OBJDIR)/skins_.c: $(SRCDIR)/skins.c $(OBJDIR)/translate
1086 $(TRANSLATE) $(SRCDIR)/skins.c >$(OBJDIR)/skins_.c
1087
1088 $(OBJDIR)/skins.o: $(OBJDIR)/skins_.c $(OBJDIR)/skins.h $(SRCDIR)/config.h
1089 $(XTCC) -o $(OBJDIR)/skins.o -c $(OBJDIR)/skins_.c
1090
1091 skins.h: $(OBJDIR)/headers
 
1092 $(OBJDIR)/sqlcmd_.c: $(SRCDIR)/sqlcmd.c $(OBJDIR)/translate
1093 $(TRANSLATE) $(SRCDIR)/sqlcmd.c >$(OBJDIR)/sqlcmd_.c
1094
1095 $(OBJDIR)/sqlcmd.o: $(OBJDIR)/sqlcmd_.c $(OBJDIR)/sqlcmd.h $(SRCDIR)/config.h
1096 $(XTCC) -o $(OBJDIR)/sqlcmd.o -c $(OBJDIR)/sqlcmd_.c
1097
1098 sqlcmd.h: $(OBJDIR)/headers
 
1099 $(OBJDIR)/stash_.c: $(SRCDIR)/stash.c $(OBJDIR)/translate
1100 $(TRANSLATE) $(SRCDIR)/stash.c >$(OBJDIR)/stash_.c
1101
1102 $(OBJDIR)/stash.o: $(OBJDIR)/stash_.c $(OBJDIR)/stash.h $(SRCDIR)/config.h
1103 $(XTCC) -o $(OBJDIR)/stash.o -c $(OBJDIR)/stash_.c
1104
1105 stash.h: $(OBJDIR)/headers
 
1106 $(OBJDIR)/stat_.c: $(SRCDIR)/stat.c $(OBJDIR)/translate
1107 $(TRANSLATE) $(SRCDIR)/stat.c >$(OBJDIR)/stat_.c
1108
1109 $(OBJDIR)/stat.o: $(OBJDIR)/stat_.c $(OBJDIR)/stat.h $(SRCDIR)/config.h
1110 $(XTCC) -o $(OBJDIR)/stat.o -c $(OBJDIR)/stat_.c
1111
1112 stat.h: $(OBJDIR)/headers
 
1113 $(OBJDIR)/style_.c: $(SRCDIR)/style.c $(OBJDIR)/translate
1114 $(TRANSLATE) $(SRCDIR)/style.c >$(OBJDIR)/style_.c
1115
1116 $(OBJDIR)/style.o: $(OBJDIR)/style_.c $(OBJDIR)/style.h $(SRCDIR)/config.h
1117 $(XTCC) -o $(OBJDIR)/style.o -c $(OBJDIR)/style_.c
1118
1119 style.h: $(OBJDIR)/headers
 
1120 $(OBJDIR)/sync_.c: $(SRCDIR)/sync.c $(OBJDIR)/translate
1121 $(TRANSLATE) $(SRCDIR)/sync.c >$(OBJDIR)/sync_.c
1122
1123 $(OBJDIR)/sync.o: $(OBJDIR)/sync_.c $(OBJDIR)/sync.h $(SRCDIR)/config.h
1124 $(XTCC) -o $(OBJDIR)/sync.o -c $(OBJDIR)/sync_.c
1125
1126 sync.h: $(OBJDIR)/headers
 
1127 $(OBJDIR)/tag_.c: $(SRCDIR)/tag.c $(OBJDIR)/translate
1128 $(TRANSLATE) $(SRCDIR)/tag.c >$(OBJDIR)/tag_.c
1129
1130 $(OBJDIR)/tag.o: $(OBJDIR)/tag_.c $(OBJDIR)/tag.h $(SRCDIR)/config.h
1131 $(XTCC) -o $(OBJDIR)/tag.o -c $(OBJDIR)/tag_.c
1132
1133 tag.h: $(OBJDIR)/headers
 
1134 $(OBJDIR)/tar_.c: $(SRCDIR)/tar.c $(OBJDIR)/translate
1135 $(TRANSLATE) $(SRCDIR)/tar.c >$(OBJDIR)/tar_.c
1136
1137 $(OBJDIR)/tar.o: $(OBJDIR)/tar_.c $(OBJDIR)/tar.h $(SRCDIR)/config.h
1138 $(XTCC) -o $(OBJDIR)/tar.o -c $(OBJDIR)/tar_.c
1139
1140 tar.h: $(OBJDIR)/headers
 
1141 $(OBJDIR)/th_main_.c: $(SRCDIR)/th_main.c $(OBJDIR)/translate
1142 $(TRANSLATE) $(SRCDIR)/th_main.c >$(OBJDIR)/th_main_.c
1143
1144 $(OBJDIR)/th_main.o: $(OBJDIR)/th_main_.c $(OBJDIR)/th_main.h $(SRCDIR)/config.h
1145 $(XTCC) -o $(OBJDIR)/th_main.o -c $(OBJDIR)/th_main_.c
1146
1147 th_main.h: $(OBJDIR)/headers
 
1148 $(OBJDIR)/timeline_.c: $(SRCDIR)/timeline.c $(OBJDIR)/translate
1149 $(TRANSLATE) $(SRCDIR)/timeline.c >$(OBJDIR)/timeline_.c
1150
1151 $(OBJDIR)/timeline.o: $(OBJDIR)/timeline_.c $(OBJDIR)/timeline.h $(SRCDIR)/config.h
1152 $(XTCC) -o $(OBJDIR)/timeline.o -c $(OBJDIR)/timeline_.c
1153
1154 timeline.h: $(OBJDIR)/headers
 
1155 $(OBJDIR)/tkt_.c: $(SRCDIR)/tkt.c $(OBJDIR)/translate
1156 $(TRANSLATE) $(SRCDIR)/tkt.c >$(OBJDIR)/tkt_.c
1157
1158 $(OBJDIR)/tkt.o: $(OBJDIR)/tkt_.c $(OBJDIR)/tkt.h $(SRCDIR)/config.h
1159 $(XTCC) -o $(OBJDIR)/tkt.o -c $(OBJDIR)/tkt_.c
1160
1161 tkt.h: $(OBJDIR)/headers
 
1162 $(OBJDIR)/tktsetup_.c: $(SRCDIR)/tktsetup.c $(OBJDIR)/translate
1163 $(TRANSLATE) $(SRCDIR)/tktsetup.c >$(OBJDIR)/tktsetup_.c
1164
1165 $(OBJDIR)/tktsetup.o: $(OBJDIR)/tktsetup_.c $(OBJDIR)/tktsetup.h $(SRCDIR)/config.h
1166 $(XTCC) -o $(OBJDIR)/tktsetup.o -c $(OBJDIR)/tktsetup_.c
1167
1168 tktsetup.h: $(OBJDIR)/headers
 
1169 $(OBJDIR)/undo_.c: $(SRCDIR)/undo.c $(OBJDIR)/translate
1170 $(TRANSLATE) $(SRCDIR)/undo.c >$(OBJDIR)/undo_.c
1171
1172 $(OBJDIR)/undo.o: $(OBJDIR)/undo_.c $(OBJDIR)/undo.h $(SRCDIR)/config.h
1173 $(XTCC) -o $(OBJDIR)/undo.o -c $(OBJDIR)/undo_.c
1174
1175 undo.h: $(OBJDIR)/headers
 
1176 $(OBJDIR)/update_.c: $(SRCDIR)/update.c $(OBJDIR)/translate
1177 $(TRANSLATE) $(SRCDIR)/update.c >$(OBJDIR)/update_.c
1178
1179 $(OBJDIR)/update.o: $(OBJDIR)/update_.c $(OBJDIR)/update.h $(SRCDIR)/config.h
1180 $(XTCC) -o $(OBJDIR)/update.o -c $(OBJDIR)/update_.c
1181
1182 update.h: $(OBJDIR)/headers
 
1183 $(OBJDIR)/url_.c: $(SRCDIR)/url.c $(OBJDIR)/translate
1184 $(TRANSLATE) $(SRCDIR)/url.c >$(OBJDIR)/url_.c
1185
1186 $(OBJDIR)/url.o: $(OBJDIR)/url_.c $(OBJDIR)/url.h $(SRCDIR)/config.h
1187 $(XTCC) -o $(OBJDIR)/url.o -c $(OBJDIR)/url_.c
1188
1189 url.h: $(OBJDIR)/headers
 
1190 $(OBJDIR)/user_.c: $(SRCDIR)/user.c $(OBJDIR)/translate
1191 $(TRANSLATE) $(SRCDIR)/user.c >$(OBJDIR)/user_.c
1192
1193 $(OBJDIR)/user.o: $(OBJDIR)/user_.c $(OBJDIR)/user.h $(SRCDIR)/config.h
1194 $(XTCC) -o $(OBJDIR)/user.o -c $(OBJDIR)/user_.c
1195
1196 user.h: $(OBJDIR)/headers
 
1197 $(OBJDIR)/verify_.c: $(SRCDIR)/verify.c $(OBJDIR)/translate
1198 $(TRANSLATE) $(SRCDIR)/verify.c >$(OBJDIR)/verify_.c
1199
1200 $(OBJDIR)/verify.o: $(OBJDIR)/verify_.c $(OBJDIR)/verify.h $(SRCDIR)/config.h
1201 $(XTCC) -o $(OBJDIR)/verify.o -c $(OBJDIR)/verify_.c
1202
1203 verify.h: $(OBJDIR)/headers
 
1204 $(OBJDIR)/vfile_.c: $(SRCDIR)/vfile.c $(OBJDIR)/translate
1205 $(TRANSLATE) $(SRCDIR)/vfile.c >$(OBJDIR)/vfile_.c
1206
1207 $(OBJDIR)/vfile.o: $(OBJDIR)/vfile_.c $(OBJDIR)/vfile.h $(SRCDIR)/config.h
1208 $(XTCC) -o $(OBJDIR)/vfile.o -c $(OBJDIR)/vfile_.c
1209
1210 vfile.h: $(OBJDIR)/headers
 
1211 $(OBJDIR)/wiki_.c: $(SRCDIR)/wiki.c $(OBJDIR)/translate
1212 $(TRANSLATE) $(SRCDIR)/wiki.c >$(OBJDIR)/wiki_.c
1213
1214 $(OBJDIR)/wiki.o: $(OBJDIR)/wiki_.c $(OBJDIR)/wiki.h $(SRCDIR)/config.h
1215 $(XTCC) -o $(OBJDIR)/wiki.o -c $(OBJDIR)/wiki_.c
1216
1217 wiki.h: $(OBJDIR)/headers
 
1218 $(OBJDIR)/wikiformat_.c: $(SRCDIR)/wikiformat.c $(OBJDIR)/translate
1219 $(TRANSLATE) $(SRCDIR)/wikiformat.c >$(OBJDIR)/wikiformat_.c
1220
1221 $(OBJDIR)/wikiformat.o: $(OBJDIR)/wikiformat_.c $(OBJDIR)/wikiformat.h $(SRCDIR)/config.h
1222 $(XTCC) -o $(OBJDIR)/wikiformat.o -c $(OBJDIR)/wikiformat_.c
1223
1224 wikiformat.h: $(OBJDIR)/headers
 
1225 $(OBJDIR)/winhttp_.c: $(SRCDIR)/winhttp.c $(OBJDIR)/translate
1226 $(TRANSLATE) $(SRCDIR)/winhttp.c >$(OBJDIR)/winhttp_.c
1227
1228 $(OBJDIR)/winhttp.o: $(OBJDIR)/winhttp_.c $(OBJDIR)/winhttp.h $(SRCDIR)/config.h
1229 $(XTCC) -o $(OBJDIR)/winhttp.o -c $(OBJDIR)/winhttp_.c
1230
1231 winhttp.h: $(OBJDIR)/headers
 
1232 $(OBJDIR)/wysiwyg_.c: $(SRCDIR)/wysiwyg.c $(OBJDIR)/translate
1233 $(TRANSLATE) $(SRCDIR)/wysiwyg.c >$(OBJDIR)/wysiwyg_.c
1234
1235 $(OBJDIR)/wysiwyg.o: $(OBJDIR)/wysiwyg_.c $(OBJDIR)/wysiwyg.h $(SRCDIR)/config.h
1236 $(XTCC) -o $(OBJDIR)/wysiwyg.o -c $(OBJDIR)/wysiwyg_.c
1237
1238 wysiwyg.h: $(OBJDIR)/headers
 
1239 $(OBJDIR)/xfer_.c: $(SRCDIR)/xfer.c $(OBJDIR)/translate
1240 $(TRANSLATE) $(SRCDIR)/xfer.c >$(OBJDIR)/xfer_.c
1241
1242 $(OBJDIR)/xfer.o: $(OBJDIR)/xfer_.c $(OBJDIR)/xfer.h $(SRCDIR)/config.h
1243 $(XTCC) -o $(OBJDIR)/xfer.o -c $(OBJDIR)/xfer_.c
1244
1245 xfer.h: $(OBJDIR)/headers
 
1246 $(OBJDIR)/xfersetup_.c: $(SRCDIR)/xfersetup.c $(OBJDIR)/translate
1247 $(TRANSLATE) $(SRCDIR)/xfersetup.c >$(OBJDIR)/xfersetup_.c
1248
1249 $(OBJDIR)/xfersetup.o: $(OBJDIR)/xfersetup_.c $(OBJDIR)/xfersetup.h $(SRCDIR)/config.h
1250 $(XTCC) -o $(OBJDIR)/xfersetup.o -c $(OBJDIR)/xfersetup_.c
1251
1252 xfersetup.h: $(OBJDIR)/headers
 
1253 $(OBJDIR)/zip_.c: $(SRCDIR)/zip.c $(OBJDIR)/translate
1254 $(TRANSLATE) $(SRCDIR)/zip.c >$(OBJDIR)/zip_.c
1255
1256 $(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h
1257 $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c
1258
1259 zip.h: $(OBJDIR)/headers
 
1260 $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c
1261 $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o
1262
1263 $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
1264 $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
@@ -1276,6 +1417,5 @@
1276
1277 ifdef FOSSIL_ENABLE_TCL
1278 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1279 $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1280 endif
1281
1282
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -14,10 +14,11 @@
14
15 #### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
16 # By default, this is an empty string (i.e. use the native compiler).
17 #
18 PREFIX =
19 # PREFIX = mingw32-
20 # PREFIX = i686-pc-mingw32-
21 # PREFIX = i686-w64-mingw32-
22 # PREFIX = x86_64-w64-mingw32-
23
24 #### The toplevel directory of the source tree. Fossil can be built
@@ -494,29 +495,67 @@
495 $(OBJDIR)/xfer.o \
496 $(OBJDIR)/xfersetup.o \
497 $(OBJDIR)/zip.o
498
499 APPNAME = fossil.exe
 
 
 
 
500
501 #### If the USE_WINDOWS variable exists, it is assumed that we are building
502 # inside of a Windows-style shell; otherwise, it is assumed that we are
503 # building inside of a Unix-style shell. Note that the "move" command is
504 # broken when attempting to use it from the Windows shell via MinGW make
505 # because the SHELL variable is only used for certain commands that are
506 # recognized internally by make.
507 #
508 ifdef USE_WINDOWS
509 TRANSLATE = $(subst /,\,$(OBJDIR)/translate)
510 MAKEHEADERS = $(subst /,\,$(OBJDIR)/makeheaders)
511 MKINDEX = $(subst /,\,$(OBJDIR)/mkindex)
512 VERSION = $(subst /,\,$(OBJDIR)/version)
513 CP = copy
514 MV = copy
515 RM = del /Q
516 MKDIR = -mkdir
517 RMDIR = rmdir /S /Q
518 else
519 TRANSLATE = $(OBJDIR)/translate
520 MAKEHEADERS = $(OBJDIR)/makeheaders
521 MKINDEX = $(OBJDIR)/mkindex
522 VERSION = $(OBJDIR)/version
523 CP = cp
524 MV = mv
525 RM = rm -f
526 MKDIR = -mkdir -p
527 RMDIR = rm -rf
528 endif
529
530 all: $(OBJDIR) $(APPNAME)
531
532 $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h
533 ifdef USE_WINDOWS
534 $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR))
535 $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR))
536 else
537 $(CP) $(SRCDIR)/../win/fossil.rc $(OBJDIR)
538 $(CP) $(SRCDIR)/../win/fossil.ico $(OBJDIR)
539 endif
540 $(RCC) $(OBJDIR)/fossil.rc -o $(OBJDIR)/fossil.o
541
542 install: $(OBJDIR) $(APPNAME)
543 ifdef USE_WINDOWS
544 $(MKDIR) $(subst /,\,$(INSTALLDIR))
545 $(MV) $(subst /,\,$(APPNAME)) $(subst /,\,$(INSTALLDIR))
546 else
547 $(MKDIR) $(INSTALLDIR)
548 $(MV) $(APPNAME) $(INSTALLDIR)
549 endif
550
551 $(OBJDIR):
552 ifdef USE_WINDOWS
553 $(MKDIR) $(subst /,\,$(OBJDIR))
554 else
555 $(MKDIR) $(OBJDIR)
556 endif
557
558 $(OBJDIR)/translate: $(SRCDIR)/translate.c
559 $(BCC) -o $(OBJDIR)/translate $(SRCDIR)/translate.c
560
561 $(OBJDIR)/makeheaders: $(SRCDIR)/makeheaders.c
@@ -550,715 +589,817 @@
589 # an executable named "manifest" out of the file named "manifest.c"
590 #
591 $(SRCDIR)/../manifest:
592 # noop
593
 
 
 
 
594 clean:
595 ifdef USE_WINDOWS
596 $(RM) $(subst /,\,$(APPNAME))
597 $(RMDIR) $(subst /,\,$(OBJDIR))
598 else
599 $(RM) $(APPNAME)
600 $(RMDIR) $(OBJDIR)
601 endif
602
603 setup: $(OBJDIR) $(APPNAME)
604 $(MAKENSIS) ./fossil.nsi
605
 
606 $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex
607 $(MKINDEX) $(TRANS_SRC) >$@
608
609 $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h
610 $(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/path_.c:$(OBJDIR)/path.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/tar_.c:$(OBJDIR)/tar.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/wysiwyg_.c:$(OBJDIR)/wysiwyg.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h
611 echo Done >$(OBJDIR)/headers
612
613 $(OBJDIR)/headers: Makefile
614
615 Makefile:
616
617 $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate
618 $(TRANSLATE) $(SRCDIR)/add.c >$(OBJDIR)/add_.c
619
620 $(OBJDIR)/add.o: $(OBJDIR)/add_.c $(OBJDIR)/add.h $(SRCDIR)/config.h
621 $(XTCC) -o $(OBJDIR)/add.o -c $(OBJDIR)/add_.c
622
623 $(OBJDIR)/add.h: $(OBJDIR)/headers
624
625 $(OBJDIR)/allrepo_.c: $(SRCDIR)/allrepo.c $(OBJDIR)/translate
626 $(TRANSLATE) $(SRCDIR)/allrepo.c >$(OBJDIR)/allrepo_.c
627
628 $(OBJDIR)/allrepo.o: $(OBJDIR)/allrepo_.c $(OBJDIR)/allrepo.h $(SRCDIR)/config.h
629 $(XTCC) -o $(OBJDIR)/allrepo.o -c $(OBJDIR)/allrepo_.c
630
631 $(OBJDIR)/allrepo.h: $(OBJDIR)/headers
632
633 $(OBJDIR)/attach_.c: $(SRCDIR)/attach.c $(OBJDIR)/translate
634 $(TRANSLATE) $(SRCDIR)/attach.c >$(OBJDIR)/attach_.c
635
636 $(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h
637 $(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c
638
639 $(OBJDIR)/attach.h: $(OBJDIR)/headers
640
641 $(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(OBJDIR)/translate
642 $(TRANSLATE) $(SRCDIR)/bag.c >$(OBJDIR)/bag_.c
643
644 $(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h
645 $(XTCC) -o $(OBJDIR)/bag.o -c $(OBJDIR)/bag_.c
646
647 $(OBJDIR)/bag.h: $(OBJDIR)/headers
648
649 $(OBJDIR)/bisect_.c: $(SRCDIR)/bisect.c $(OBJDIR)/translate
650 $(TRANSLATE) $(SRCDIR)/bisect.c >$(OBJDIR)/bisect_.c
651
652 $(OBJDIR)/bisect.o: $(OBJDIR)/bisect_.c $(OBJDIR)/bisect.h $(SRCDIR)/config.h
653 $(XTCC) -o $(OBJDIR)/bisect.o -c $(OBJDIR)/bisect_.c
654
655 $(OBJDIR)/bisect.h: $(OBJDIR)/headers
656
657 $(OBJDIR)/blob_.c: $(SRCDIR)/blob.c $(OBJDIR)/translate
658 $(TRANSLATE) $(SRCDIR)/blob.c >$(OBJDIR)/blob_.c
659
660 $(OBJDIR)/blob.o: $(OBJDIR)/blob_.c $(OBJDIR)/blob.h $(SRCDIR)/config.h
661 $(XTCC) -o $(OBJDIR)/blob.o -c $(OBJDIR)/blob_.c
662
663 $(OBJDIR)/blob.h: $(OBJDIR)/headers
664
665 $(OBJDIR)/branch_.c: $(SRCDIR)/branch.c $(OBJDIR)/translate
666 $(TRANSLATE) $(SRCDIR)/branch.c >$(OBJDIR)/branch_.c
667
668 $(OBJDIR)/branch.o: $(OBJDIR)/branch_.c $(OBJDIR)/branch.h $(SRCDIR)/config.h
669 $(XTCC) -o $(OBJDIR)/branch.o -c $(OBJDIR)/branch_.c
670
671 $(OBJDIR)/branch.h: $(OBJDIR)/headers
672
673 $(OBJDIR)/browse_.c: $(SRCDIR)/browse.c $(OBJDIR)/translate
674 $(TRANSLATE) $(SRCDIR)/browse.c >$(OBJDIR)/browse_.c
675
676 $(OBJDIR)/browse.o: $(OBJDIR)/browse_.c $(OBJDIR)/browse.h $(SRCDIR)/config.h
677 $(XTCC) -o $(OBJDIR)/browse.o -c $(OBJDIR)/browse_.c
678
679 $(OBJDIR)/browse.h: $(OBJDIR)/headers
680
681 $(OBJDIR)/captcha_.c: $(SRCDIR)/captcha.c $(OBJDIR)/translate
682 $(TRANSLATE) $(SRCDIR)/captcha.c >$(OBJDIR)/captcha_.c
683
684 $(OBJDIR)/captcha.o: $(OBJDIR)/captcha_.c $(OBJDIR)/captcha.h $(SRCDIR)/config.h
685 $(XTCC) -o $(OBJDIR)/captcha.o -c $(OBJDIR)/captcha_.c
686
687 $(OBJDIR)/captcha.h: $(OBJDIR)/headers
688
689 $(OBJDIR)/cgi_.c: $(SRCDIR)/cgi.c $(OBJDIR)/translate
690 $(TRANSLATE) $(SRCDIR)/cgi.c >$(OBJDIR)/cgi_.c
691
692 $(OBJDIR)/cgi.o: $(OBJDIR)/cgi_.c $(OBJDIR)/cgi.h $(SRCDIR)/config.h
693 $(XTCC) -o $(OBJDIR)/cgi.o -c $(OBJDIR)/cgi_.c
694
695 $(OBJDIR)/cgi.h: $(OBJDIR)/headers
696
697 $(OBJDIR)/checkin_.c: $(SRCDIR)/checkin.c $(OBJDIR)/translate
698 $(TRANSLATE) $(SRCDIR)/checkin.c >$(OBJDIR)/checkin_.c
699
700 $(OBJDIR)/checkin.o: $(OBJDIR)/checkin_.c $(OBJDIR)/checkin.h $(SRCDIR)/config.h
701 $(XTCC) -o $(OBJDIR)/checkin.o -c $(OBJDIR)/checkin_.c
702
703 $(OBJDIR)/checkin.h: $(OBJDIR)/headers
704
705 $(OBJDIR)/checkout_.c: $(SRCDIR)/checkout.c $(OBJDIR)/translate
706 $(TRANSLATE) $(SRCDIR)/checkout.c >$(OBJDIR)/checkout_.c
707
708 $(OBJDIR)/checkout.o: $(OBJDIR)/checkout_.c $(OBJDIR)/checkout.h $(SRCDIR)/config.h
709 $(XTCC) -o $(OBJDIR)/checkout.o -c $(OBJDIR)/checkout_.c
710
711 $(OBJDIR)/checkout.h: $(OBJDIR)/headers
712
713 $(OBJDIR)/clearsign_.c: $(SRCDIR)/clearsign.c $(OBJDIR)/translate
714 $(TRANSLATE) $(SRCDIR)/clearsign.c >$(OBJDIR)/clearsign_.c
715
716 $(OBJDIR)/clearsign.o: $(OBJDIR)/clearsign_.c $(OBJDIR)/clearsign.h $(SRCDIR)/config.h
717 $(XTCC) -o $(OBJDIR)/clearsign.o -c $(OBJDIR)/clearsign_.c
718
719 $(OBJDIR)/clearsign.h: $(OBJDIR)/headers
720
721 $(OBJDIR)/clone_.c: $(SRCDIR)/clone.c $(OBJDIR)/translate
722 $(TRANSLATE) $(SRCDIR)/clone.c >$(OBJDIR)/clone_.c
723
724 $(OBJDIR)/clone.o: $(OBJDIR)/clone_.c $(OBJDIR)/clone.h $(SRCDIR)/config.h
725 $(XTCC) -o $(OBJDIR)/clone.o -c $(OBJDIR)/clone_.c
726
727 $(OBJDIR)/clone.h: $(OBJDIR)/headers
728
729 $(OBJDIR)/comformat_.c: $(SRCDIR)/comformat.c $(OBJDIR)/translate
730 $(TRANSLATE) $(SRCDIR)/comformat.c >$(OBJDIR)/comformat_.c
731
732 $(OBJDIR)/comformat.o: $(OBJDIR)/comformat_.c $(OBJDIR)/comformat.h $(SRCDIR)/config.h
733 $(XTCC) -o $(OBJDIR)/comformat.o -c $(OBJDIR)/comformat_.c
734
735 $(OBJDIR)/comformat.h: $(OBJDIR)/headers
736
737 $(OBJDIR)/configure_.c: $(SRCDIR)/configure.c $(OBJDIR)/translate
738 $(TRANSLATE) $(SRCDIR)/configure.c >$(OBJDIR)/configure_.c
739
740 $(OBJDIR)/configure.o: $(OBJDIR)/configure_.c $(OBJDIR)/configure.h $(SRCDIR)/config.h
741 $(XTCC) -o $(OBJDIR)/configure.o -c $(OBJDIR)/configure_.c
742
743 $(OBJDIR)/configure.h: $(OBJDIR)/headers
744
745 $(OBJDIR)/content_.c: $(SRCDIR)/content.c $(OBJDIR)/translate
746 $(TRANSLATE) $(SRCDIR)/content.c >$(OBJDIR)/content_.c
747
748 $(OBJDIR)/content.o: $(OBJDIR)/content_.c $(OBJDIR)/content.h $(SRCDIR)/config.h
749 $(XTCC) -o $(OBJDIR)/content.o -c $(OBJDIR)/content_.c
750
751 $(OBJDIR)/content.h: $(OBJDIR)/headers
752
753 $(OBJDIR)/db_.c: $(SRCDIR)/db.c $(OBJDIR)/translate
754 $(TRANSLATE) $(SRCDIR)/db.c >$(OBJDIR)/db_.c
755
756 $(OBJDIR)/db.o: $(OBJDIR)/db_.c $(OBJDIR)/db.h $(SRCDIR)/config.h
757 $(XTCC) -o $(OBJDIR)/db.o -c $(OBJDIR)/db_.c
758
759 $(OBJDIR)/db.h: $(OBJDIR)/headers
760
761 $(OBJDIR)/delta_.c: $(SRCDIR)/delta.c $(OBJDIR)/translate
762 $(TRANSLATE) $(SRCDIR)/delta.c >$(OBJDIR)/delta_.c
763
764 $(OBJDIR)/delta.o: $(OBJDIR)/delta_.c $(OBJDIR)/delta.h $(SRCDIR)/config.h
765 $(XTCC) -o $(OBJDIR)/delta.o -c $(OBJDIR)/delta_.c
766
767 $(OBJDIR)/delta.h: $(OBJDIR)/headers
768
769 $(OBJDIR)/deltacmd_.c: $(SRCDIR)/deltacmd.c $(OBJDIR)/translate
770 $(TRANSLATE) $(SRCDIR)/deltacmd.c >$(OBJDIR)/deltacmd_.c
771
772 $(OBJDIR)/deltacmd.o: $(OBJDIR)/deltacmd_.c $(OBJDIR)/deltacmd.h $(SRCDIR)/config.h
773 $(XTCC) -o $(OBJDIR)/deltacmd.o -c $(OBJDIR)/deltacmd_.c
774
775 $(OBJDIR)/deltacmd.h: $(OBJDIR)/headers
776
777 $(OBJDIR)/descendants_.c: $(SRCDIR)/descendants.c $(OBJDIR)/translate
778 $(TRANSLATE) $(SRCDIR)/descendants.c >$(OBJDIR)/descendants_.c
779
780 $(OBJDIR)/descendants.o: $(OBJDIR)/descendants_.c $(OBJDIR)/descendants.h $(SRCDIR)/config.h
781 $(XTCC) -o $(OBJDIR)/descendants.o -c $(OBJDIR)/descendants_.c
782
783 $(OBJDIR)/descendants.h: $(OBJDIR)/headers
784
785 $(OBJDIR)/diff_.c: $(SRCDIR)/diff.c $(OBJDIR)/translate
786 $(TRANSLATE) $(SRCDIR)/diff.c >$(OBJDIR)/diff_.c
787
788 $(OBJDIR)/diff.o: $(OBJDIR)/diff_.c $(OBJDIR)/diff.h $(SRCDIR)/config.h
789 $(XTCC) -o $(OBJDIR)/diff.o -c $(OBJDIR)/diff_.c
790
791 $(OBJDIR)/diff.h: $(OBJDIR)/headers
792
793 $(OBJDIR)/diffcmd_.c: $(SRCDIR)/diffcmd.c $(OBJDIR)/translate
794 $(TRANSLATE) $(SRCDIR)/diffcmd.c >$(OBJDIR)/diffcmd_.c
795
796 $(OBJDIR)/diffcmd.o: $(OBJDIR)/diffcmd_.c $(OBJDIR)/diffcmd.h $(SRCDIR)/config.h
797 $(XTCC) -o $(OBJDIR)/diffcmd.o -c $(OBJDIR)/diffcmd_.c
798
799 $(OBJDIR)/diffcmd.h: $(OBJDIR)/headers
800
801 $(OBJDIR)/doc_.c: $(SRCDIR)/doc.c $(OBJDIR)/translate
802 $(TRANSLATE) $(SRCDIR)/doc.c >$(OBJDIR)/doc_.c
803
804 $(OBJDIR)/doc.o: $(OBJDIR)/doc_.c $(OBJDIR)/doc.h $(SRCDIR)/config.h
805 $(XTCC) -o $(OBJDIR)/doc.o -c $(OBJDIR)/doc_.c
806
807 $(OBJDIR)/doc.h: $(OBJDIR)/headers
808
809 $(OBJDIR)/encode_.c: $(SRCDIR)/encode.c $(OBJDIR)/translate
810 $(TRANSLATE) $(SRCDIR)/encode.c >$(OBJDIR)/encode_.c
811
812 $(OBJDIR)/encode.o: $(OBJDIR)/encode_.c $(OBJDIR)/encode.h $(SRCDIR)/config.h
813 $(XTCC) -o $(OBJDIR)/encode.o -c $(OBJDIR)/encode_.c
814
815 $(OBJDIR)/encode.h: $(OBJDIR)/headers
816
817 $(OBJDIR)/event_.c: $(SRCDIR)/event.c $(OBJDIR)/translate
818 $(TRANSLATE) $(SRCDIR)/event.c >$(OBJDIR)/event_.c
819
820 $(OBJDIR)/event.o: $(OBJDIR)/event_.c $(OBJDIR)/event.h $(SRCDIR)/config.h
821 $(XTCC) -o $(OBJDIR)/event.o -c $(OBJDIR)/event_.c
822
823 $(OBJDIR)/event.h: $(OBJDIR)/headers
824
825 $(OBJDIR)/export_.c: $(SRCDIR)/export.c $(OBJDIR)/translate
826 $(TRANSLATE) $(SRCDIR)/export.c >$(OBJDIR)/export_.c
827
828 $(OBJDIR)/export.o: $(OBJDIR)/export_.c $(OBJDIR)/export.h $(SRCDIR)/config.h
829 $(XTCC) -o $(OBJDIR)/export.o -c $(OBJDIR)/export_.c
830
831 $(OBJDIR)/export.h: $(OBJDIR)/headers
832
833 $(OBJDIR)/file_.c: $(SRCDIR)/file.c $(OBJDIR)/translate
834 $(TRANSLATE) $(SRCDIR)/file.c >$(OBJDIR)/file_.c
835
836 $(OBJDIR)/file.o: $(OBJDIR)/file_.c $(OBJDIR)/file.h $(SRCDIR)/config.h
837 $(XTCC) -o $(OBJDIR)/file.o -c $(OBJDIR)/file_.c
838
839 $(OBJDIR)/file.h: $(OBJDIR)/headers
840
841 $(OBJDIR)/finfo_.c: $(SRCDIR)/finfo.c $(OBJDIR)/translate
842 $(TRANSLATE) $(SRCDIR)/finfo.c >$(OBJDIR)/finfo_.c
843
844 $(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h
845 $(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c
846
847 $(OBJDIR)/finfo.h: $(OBJDIR)/headers
848
849 $(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate
850 $(TRANSLATE) $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c
851
852 $(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h
853 $(XTCC) -o $(OBJDIR)/glob.o -c $(OBJDIR)/glob_.c
854
855 $(OBJDIR)/glob.h: $(OBJDIR)/headers
856
857 $(OBJDIR)/graph_.c: $(SRCDIR)/graph.c $(OBJDIR)/translate
858 $(TRANSLATE) $(SRCDIR)/graph.c >$(OBJDIR)/graph_.c
859
860 $(OBJDIR)/graph.o: $(OBJDIR)/graph_.c $(OBJDIR)/graph.h $(SRCDIR)/config.h
861 $(XTCC) -o $(OBJDIR)/graph.o -c $(OBJDIR)/graph_.c
862
863 $(OBJDIR)/graph.h: $(OBJDIR)/headers
864
865 $(OBJDIR)/gzip_.c: $(SRCDIR)/gzip.c $(OBJDIR)/translate
866 $(TRANSLATE) $(SRCDIR)/gzip.c >$(OBJDIR)/gzip_.c
867
868 $(OBJDIR)/gzip.o: $(OBJDIR)/gzip_.c $(OBJDIR)/gzip.h $(SRCDIR)/config.h
869 $(XTCC) -o $(OBJDIR)/gzip.o -c $(OBJDIR)/gzip_.c
870
871 $(OBJDIR)/gzip.h: $(OBJDIR)/headers
872
873 $(OBJDIR)/http_.c: $(SRCDIR)/http.c $(OBJDIR)/translate
874 $(TRANSLATE) $(SRCDIR)/http.c >$(OBJDIR)/http_.c
875
876 $(OBJDIR)/http.o: $(OBJDIR)/http_.c $(OBJDIR)/http.h $(SRCDIR)/config.h
877 $(XTCC) -o $(OBJDIR)/http.o -c $(OBJDIR)/http_.c
878
879 $(OBJDIR)/http.h: $(OBJDIR)/headers
880
881 $(OBJDIR)/http_socket_.c: $(SRCDIR)/http_socket.c $(OBJDIR)/translate
882 $(TRANSLATE) $(SRCDIR)/http_socket.c >$(OBJDIR)/http_socket_.c
883
884 $(OBJDIR)/http_socket.o: $(OBJDIR)/http_socket_.c $(OBJDIR)/http_socket.h $(SRCDIR)/config.h
885 $(XTCC) -o $(OBJDIR)/http_socket.o -c $(OBJDIR)/http_socket_.c
886
887 $(OBJDIR)/http_socket.h: $(OBJDIR)/headers
888
889 $(OBJDIR)/http_ssl_.c: $(SRCDIR)/http_ssl.c $(OBJDIR)/translate
890 $(TRANSLATE) $(SRCDIR)/http_ssl.c >$(OBJDIR)/http_ssl_.c
891
892 $(OBJDIR)/http_ssl.o: $(OBJDIR)/http_ssl_.c $(OBJDIR)/http_ssl.h $(SRCDIR)/config.h
893 $(XTCC) -o $(OBJDIR)/http_ssl.o -c $(OBJDIR)/http_ssl_.c
894
895 $(OBJDIR)/http_ssl.h: $(OBJDIR)/headers
896
897 $(OBJDIR)/http_transport_.c: $(SRCDIR)/http_transport.c $(OBJDIR)/translate
898 $(TRANSLATE) $(SRCDIR)/http_transport.c >$(OBJDIR)/http_transport_.c
899
900 $(OBJDIR)/http_transport.o: $(OBJDIR)/http_transport_.c $(OBJDIR)/http_transport.h $(SRCDIR)/config.h
901 $(XTCC) -o $(OBJDIR)/http_transport.o -c $(OBJDIR)/http_transport_.c
902
903 $(OBJDIR)/http_transport.h: $(OBJDIR)/headers
904
905 $(OBJDIR)/import_.c: $(SRCDIR)/import.c $(OBJDIR)/translate
906 $(TRANSLATE) $(SRCDIR)/import.c >$(OBJDIR)/import_.c
907
908 $(OBJDIR)/import.o: $(OBJDIR)/import_.c $(OBJDIR)/import.h $(SRCDIR)/config.h
909 $(XTCC) -o $(OBJDIR)/import.o -c $(OBJDIR)/import_.c
910
911 $(OBJDIR)/import.h: $(OBJDIR)/headers
912
913 $(OBJDIR)/info_.c: $(SRCDIR)/info.c $(OBJDIR)/translate
914 $(TRANSLATE) $(SRCDIR)/info.c >$(OBJDIR)/info_.c
915
916 $(OBJDIR)/info.o: $(OBJDIR)/info_.c $(OBJDIR)/info.h $(SRCDIR)/config.h
917 $(XTCC) -o $(OBJDIR)/info.o -c $(OBJDIR)/info_.c
918
919 $(OBJDIR)/info.h: $(OBJDIR)/headers
920
921 $(OBJDIR)/json_.c: $(SRCDIR)/json.c $(OBJDIR)/translate
922 $(TRANSLATE) $(SRCDIR)/json.c >$(OBJDIR)/json_.c
923
924 $(OBJDIR)/json.o: $(OBJDIR)/json_.c $(OBJDIR)/json.h $(SRCDIR)/config.h
925 $(XTCC) -o $(OBJDIR)/json.o -c $(OBJDIR)/json_.c
926
927 $(OBJDIR)/json.h: $(OBJDIR)/headers
928
929 $(OBJDIR)/json_artifact_.c: $(SRCDIR)/json_artifact.c $(OBJDIR)/translate
930 $(TRANSLATE) $(SRCDIR)/json_artifact.c >$(OBJDIR)/json_artifact_.c
931
932 $(OBJDIR)/json_artifact.o: $(OBJDIR)/json_artifact_.c $(OBJDIR)/json_artifact.h $(SRCDIR)/config.h
933 $(XTCC) -o $(OBJDIR)/json_artifact.o -c $(OBJDIR)/json_artifact_.c
934
935 $(OBJDIR)/json_artifact.h: $(OBJDIR)/headers
936
937 $(OBJDIR)/json_branch_.c: $(SRCDIR)/json_branch.c $(OBJDIR)/translate
938 $(TRANSLATE) $(SRCDIR)/json_branch.c >$(OBJDIR)/json_branch_.c
939
940 $(OBJDIR)/json_branch.o: $(OBJDIR)/json_branch_.c $(OBJDIR)/json_branch.h $(SRCDIR)/config.h
941 $(XTCC) -o $(OBJDIR)/json_branch.o -c $(OBJDIR)/json_branch_.c
942
943 $(OBJDIR)/json_branch.h: $(OBJDIR)/headers
944
945 $(OBJDIR)/json_config_.c: $(SRCDIR)/json_config.c $(OBJDIR)/translate
946 $(TRANSLATE) $(SRCDIR)/json_config.c >$(OBJDIR)/json_config_.c
947
948 $(OBJDIR)/json_config.o: $(OBJDIR)/json_config_.c $(OBJDIR)/json_config.h $(SRCDIR)/config.h
949 $(XTCC) -o $(OBJDIR)/json_config.o -c $(OBJDIR)/json_config_.c
950
951 $(OBJDIR)/json_config.h: $(OBJDIR)/headers
952
953 $(OBJDIR)/json_diff_.c: $(SRCDIR)/json_diff.c $(OBJDIR)/translate
954 $(TRANSLATE) $(SRCDIR)/json_diff.c >$(OBJDIR)/json_diff_.c
955
956 $(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h
957 $(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c
958
959 $(OBJDIR)/json_diff.h: $(OBJDIR)/headers
960
961 $(OBJDIR)/json_dir_.c: $(SRCDIR)/json_dir.c $(OBJDIR)/translate
962 $(TRANSLATE) $(SRCDIR)/json_dir.c >$(OBJDIR)/json_dir_.c
963
964 $(OBJDIR)/json_dir.o: $(OBJDIR)/json_dir_.c $(OBJDIR)/json_dir.h $(SRCDIR)/config.h
965 $(XTCC) -o $(OBJDIR)/json_dir.o -c $(OBJDIR)/json_dir_.c
966
967 $(OBJDIR)/json_dir.h: $(OBJDIR)/headers
968
969 $(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate
970 $(TRANSLATE) $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c
971
972 $(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h
973 $(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c
974
975 $(OBJDIR)/json_finfo.h: $(OBJDIR)/headers
976
977 $(OBJDIR)/json_login_.c: $(SRCDIR)/json_login.c $(OBJDIR)/translate
978 $(TRANSLATE) $(SRCDIR)/json_login.c >$(OBJDIR)/json_login_.c
979
980 $(OBJDIR)/json_login.o: $(OBJDIR)/json_login_.c $(OBJDIR)/json_login.h $(SRCDIR)/config.h
981 $(XTCC) -o $(OBJDIR)/json_login.o -c $(OBJDIR)/json_login_.c
982
983 $(OBJDIR)/json_login.h: $(OBJDIR)/headers
984
985 $(OBJDIR)/json_query_.c: $(SRCDIR)/json_query.c $(OBJDIR)/translate
986 $(TRANSLATE) $(SRCDIR)/json_query.c >$(OBJDIR)/json_query_.c
987
988 $(OBJDIR)/json_query.o: $(OBJDIR)/json_query_.c $(OBJDIR)/json_query.h $(SRCDIR)/config.h
989 $(XTCC) -o $(OBJDIR)/json_query.o -c $(OBJDIR)/json_query_.c
990
991 $(OBJDIR)/json_query.h: $(OBJDIR)/headers
992
993 $(OBJDIR)/json_report_.c: $(SRCDIR)/json_report.c $(OBJDIR)/translate
994 $(TRANSLATE) $(SRCDIR)/json_report.c >$(OBJDIR)/json_report_.c
995
996 $(OBJDIR)/json_report.o: $(OBJDIR)/json_report_.c $(OBJDIR)/json_report.h $(SRCDIR)/config.h
997 $(XTCC) -o $(OBJDIR)/json_report.o -c $(OBJDIR)/json_report_.c
998
999 $(OBJDIR)/json_report.h: $(OBJDIR)/headers
1000
1001 $(OBJDIR)/json_tag_.c: $(SRCDIR)/json_tag.c $(OBJDIR)/translate
1002 $(TRANSLATE) $(SRCDIR)/json_tag.c >$(OBJDIR)/json_tag_.c
1003
1004 $(OBJDIR)/json_tag.o: $(OBJDIR)/json_tag_.c $(OBJDIR)/json_tag.h $(SRCDIR)/config.h
1005 $(XTCC) -o $(OBJDIR)/json_tag.o -c $(OBJDIR)/json_tag_.c
1006
1007 $(OBJDIR)/json_tag.h: $(OBJDIR)/headers
1008
1009 $(OBJDIR)/json_timeline_.c: $(SRCDIR)/json_timeline.c $(OBJDIR)/translate
1010 $(TRANSLATE) $(SRCDIR)/json_timeline.c >$(OBJDIR)/json_timeline_.c
1011
1012 $(OBJDIR)/json_timeline.o: $(OBJDIR)/json_timeline_.c $(OBJDIR)/json_timeline.h $(SRCDIR)/config.h
1013 $(XTCC) -o $(OBJDIR)/json_timeline.o -c $(OBJDIR)/json_timeline_.c
1014
1015 $(OBJDIR)/json_timeline.h: $(OBJDIR)/headers
1016
1017 $(OBJDIR)/json_user_.c: $(SRCDIR)/json_user.c $(OBJDIR)/translate
1018 $(TRANSLATE) $(SRCDIR)/json_user.c >$(OBJDIR)/json_user_.c
1019
1020 $(OBJDIR)/json_user.o: $(OBJDIR)/json_user_.c $(OBJDIR)/json_user.h $(SRCDIR)/config.h
1021 $(XTCC) -o $(OBJDIR)/json_user.o -c $(OBJDIR)/json_user_.c
1022
1023 $(OBJDIR)/json_user.h: $(OBJDIR)/headers
1024
1025 $(OBJDIR)/json_wiki_.c: $(SRCDIR)/json_wiki.c $(OBJDIR)/translate
1026 $(TRANSLATE) $(SRCDIR)/json_wiki.c >$(OBJDIR)/json_wiki_.c
1027
1028 $(OBJDIR)/json_wiki.o: $(OBJDIR)/json_wiki_.c $(OBJDIR)/json_wiki.h $(SRCDIR)/config.h
1029 $(XTCC) -o $(OBJDIR)/json_wiki.o -c $(OBJDIR)/json_wiki_.c
1030
1031 $(OBJDIR)/json_wiki.h: $(OBJDIR)/headers
1032
1033 $(OBJDIR)/leaf_.c: $(SRCDIR)/leaf.c $(OBJDIR)/translate
1034 $(TRANSLATE) $(SRCDIR)/leaf.c >$(OBJDIR)/leaf_.c
1035
1036 $(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h
1037 $(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c
1038
1039 $(OBJDIR)/leaf.h: $(OBJDIR)/headers
1040
1041 $(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate
1042 $(TRANSLATE) $(SRCDIR)/login.c >$(OBJDIR)/login_.c
1043
1044 $(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h
1045 $(XTCC) -o $(OBJDIR)/login.o -c $(OBJDIR)/login_.c
1046
1047 $(OBJDIR)/login.h: $(OBJDIR)/headers
1048
1049 $(OBJDIR)/main_.c: $(SRCDIR)/main.c $(OBJDIR)/translate
1050 $(TRANSLATE) $(SRCDIR)/main.c >$(OBJDIR)/main_.c
1051
1052 $(OBJDIR)/main.o: $(OBJDIR)/main_.c $(OBJDIR)/main.h $(OBJDIR)/page_index.h $(SRCDIR)/config.h
1053 $(XTCC) -o $(OBJDIR)/main.o -c $(OBJDIR)/main_.c
1054
1055 $(OBJDIR)/main.h: $(OBJDIR)/headers
1056
1057 $(OBJDIR)/manifest_.c: $(SRCDIR)/manifest.c $(OBJDIR)/translate
1058 $(TRANSLATE) $(SRCDIR)/manifest.c >$(OBJDIR)/manifest_.c
1059
1060 $(OBJDIR)/manifest.o: $(OBJDIR)/manifest_.c $(OBJDIR)/manifest.h $(SRCDIR)/config.h
1061 $(XTCC) -o $(OBJDIR)/manifest.o -c $(OBJDIR)/manifest_.c
1062
1063 $(OBJDIR)/manifest.h: $(OBJDIR)/headers
1064
1065 $(OBJDIR)/md5_.c: $(SRCDIR)/md5.c $(OBJDIR)/translate
1066 $(TRANSLATE) $(SRCDIR)/md5.c >$(OBJDIR)/md5_.c
1067
1068 $(OBJDIR)/md5.o: $(OBJDIR)/md5_.c $(OBJDIR)/md5.h $(SRCDIR)/config.h
1069 $(XTCC) -o $(OBJDIR)/md5.o -c $(OBJDIR)/md5_.c
1070
1071 $(OBJDIR)/md5.h: $(OBJDIR)/headers
1072
1073 $(OBJDIR)/merge_.c: $(SRCDIR)/merge.c $(OBJDIR)/translate
1074 $(TRANSLATE) $(SRCDIR)/merge.c >$(OBJDIR)/merge_.c
1075
1076 $(OBJDIR)/merge.o: $(OBJDIR)/merge_.c $(OBJDIR)/merge.h $(SRCDIR)/config.h
1077 $(XTCC) -o $(OBJDIR)/merge.o -c $(OBJDIR)/merge_.c
1078
1079 $(OBJDIR)/merge.h: $(OBJDIR)/headers
1080
1081 $(OBJDIR)/merge3_.c: $(SRCDIR)/merge3.c $(OBJDIR)/translate
1082 $(TRANSLATE) $(SRCDIR)/merge3.c >$(OBJDIR)/merge3_.c
1083
1084 $(OBJDIR)/merge3.o: $(OBJDIR)/merge3_.c $(OBJDIR)/merge3.h $(SRCDIR)/config.h
1085 $(XTCC) -o $(OBJDIR)/merge3.o -c $(OBJDIR)/merge3_.c
1086
1087 $(OBJDIR)/merge3.h: $(OBJDIR)/headers
1088
1089 $(OBJDIR)/name_.c: $(SRCDIR)/name.c $(OBJDIR)/translate
1090 $(TRANSLATE) $(SRCDIR)/name.c >$(OBJDIR)/name_.c
1091
1092 $(OBJDIR)/name.o: $(OBJDIR)/name_.c $(OBJDIR)/name.h $(SRCDIR)/config.h
1093 $(XTCC) -o $(OBJDIR)/name.o -c $(OBJDIR)/name_.c
1094
1095 $(OBJDIR)/name.h: $(OBJDIR)/headers
1096
1097 $(OBJDIR)/path_.c: $(SRCDIR)/path.c $(OBJDIR)/translate
1098 $(TRANSLATE) $(SRCDIR)/path.c >$(OBJDIR)/path_.c
1099
1100 $(OBJDIR)/path.o: $(OBJDIR)/path_.c $(OBJDIR)/path.h $(SRCDIR)/config.h
1101 $(XTCC) -o $(OBJDIR)/path.o -c $(OBJDIR)/path_.c
1102
1103 $(OBJDIR)/path.h: $(OBJDIR)/headers
1104
1105 $(OBJDIR)/pivot_.c: $(SRCDIR)/pivot.c $(OBJDIR)/translate
1106 $(TRANSLATE) $(SRCDIR)/pivot.c >$(OBJDIR)/pivot_.c
1107
1108 $(OBJDIR)/pivot.o: $(OBJDIR)/pivot_.c $(OBJDIR)/pivot.h $(SRCDIR)/config.h
1109 $(XTCC) -o $(OBJDIR)/pivot.o -c $(OBJDIR)/pivot_.c
1110
1111 $(OBJDIR)/pivot.h: $(OBJDIR)/headers
1112
1113 $(OBJDIR)/popen_.c: $(SRCDIR)/popen.c $(OBJDIR)/translate
1114 $(TRANSLATE) $(SRCDIR)/popen.c >$(OBJDIR)/popen_.c
1115
1116 $(OBJDIR)/popen.o: $(OBJDIR)/popen_.c $(OBJDIR)/popen.h $(SRCDIR)/config.h
1117 $(XTCC) -o $(OBJDIR)/popen.o -c $(OBJDIR)/popen_.c
1118
1119 $(OBJDIR)/popen.h: $(OBJDIR)/headers
1120
1121 $(OBJDIR)/pqueue_.c: $(SRCDIR)/pqueue.c $(OBJDIR)/translate
1122 $(TRANSLATE) $(SRCDIR)/pqueue.c >$(OBJDIR)/pqueue_.c
1123
1124 $(OBJDIR)/pqueue.o: $(OBJDIR)/pqueue_.c $(OBJDIR)/pqueue.h $(SRCDIR)/config.h
1125 $(XTCC) -o $(OBJDIR)/pqueue.o -c $(OBJDIR)/pqueue_.c
1126
1127 $(OBJDIR)/pqueue.h: $(OBJDIR)/headers
1128
1129 $(OBJDIR)/printf_.c: $(SRCDIR)/printf.c $(OBJDIR)/translate
1130 $(TRANSLATE) $(SRCDIR)/printf.c >$(OBJDIR)/printf_.c
1131
1132 $(OBJDIR)/printf.o: $(OBJDIR)/printf_.c $(OBJDIR)/printf.h $(SRCDIR)/config.h
1133 $(XTCC) -o $(OBJDIR)/printf.o -c $(OBJDIR)/printf_.c
1134
1135 $(OBJDIR)/printf.h: $(OBJDIR)/headers
1136
1137 $(OBJDIR)/rebuild_.c: $(SRCDIR)/rebuild.c $(OBJDIR)/translate
1138 $(TRANSLATE) $(SRCDIR)/rebuild.c >$(OBJDIR)/rebuild_.c
1139
1140 $(OBJDIR)/rebuild.o: $(OBJDIR)/rebuild_.c $(OBJDIR)/rebuild.h $(SRCDIR)/config.h
1141 $(XTCC) -o $(OBJDIR)/rebuild.o -c $(OBJDIR)/rebuild_.c
1142
1143 $(OBJDIR)/rebuild.h: $(OBJDIR)/headers
1144
1145 $(OBJDIR)/report_.c: $(SRCDIR)/report.c $(OBJDIR)/translate
1146 $(TRANSLATE) $(SRCDIR)/report.c >$(OBJDIR)/report_.c
1147
1148 $(OBJDIR)/report.o: $(OBJDIR)/report_.c $(OBJDIR)/report.h $(SRCDIR)/config.h
1149 $(XTCC) -o $(OBJDIR)/report.o -c $(OBJDIR)/report_.c
1150
1151 $(OBJDIR)/report.h: $(OBJDIR)/headers
1152
1153 $(OBJDIR)/rss_.c: $(SRCDIR)/rss.c $(OBJDIR)/translate
1154 $(TRANSLATE) $(SRCDIR)/rss.c >$(OBJDIR)/rss_.c
1155
1156 $(OBJDIR)/rss.o: $(OBJDIR)/rss_.c $(OBJDIR)/rss.h $(SRCDIR)/config.h
1157 $(XTCC) -o $(OBJDIR)/rss.o -c $(OBJDIR)/rss_.c
1158
1159 $(OBJDIR)/rss.h: $(OBJDIR)/headers
1160
1161 $(OBJDIR)/schema_.c: $(SRCDIR)/schema.c $(OBJDIR)/translate
1162 $(TRANSLATE) $(SRCDIR)/schema.c >$(OBJDIR)/schema_.c
1163
1164 $(OBJDIR)/schema.o: $(OBJDIR)/schema_.c $(OBJDIR)/schema.h $(SRCDIR)/config.h
1165 $(XTCC) -o $(OBJDIR)/schema.o -c $(OBJDIR)/schema_.c
1166
1167 $(OBJDIR)/schema.h: $(OBJDIR)/headers
1168
1169 $(OBJDIR)/search_.c: $(SRCDIR)/search.c $(OBJDIR)/translate
1170 $(TRANSLATE) $(SRCDIR)/search.c >$(OBJDIR)/search_.c
1171
1172 $(OBJDIR)/search.o: $(OBJDIR)/search_.c $(OBJDIR)/search.h $(SRCDIR)/config.h
1173 $(XTCC) -o $(OBJDIR)/search.o -c $(OBJDIR)/search_.c
1174
1175 $(OBJDIR)/search.h: $(OBJDIR)/headers
1176
1177 $(OBJDIR)/setup_.c: $(SRCDIR)/setup.c $(OBJDIR)/translate
1178 $(TRANSLATE) $(SRCDIR)/setup.c >$(OBJDIR)/setup_.c
1179
1180 $(OBJDIR)/setup.o: $(OBJDIR)/setup_.c $(OBJDIR)/setup.h $(SRCDIR)/config.h
1181 $(XTCC) -o $(OBJDIR)/setup.o -c $(OBJDIR)/setup_.c
1182
1183 $(OBJDIR)/setup.h: $(OBJDIR)/headers
1184
1185 $(OBJDIR)/sha1_.c: $(SRCDIR)/sha1.c $(OBJDIR)/translate
1186 $(TRANSLATE) $(SRCDIR)/sha1.c >$(OBJDIR)/sha1_.c
1187
1188 $(OBJDIR)/sha1.o: $(OBJDIR)/sha1_.c $(OBJDIR)/sha1.h $(SRCDIR)/config.h
1189 $(XTCC) -o $(OBJDIR)/sha1.o -c $(OBJDIR)/sha1_.c
1190
1191 $(OBJDIR)/sha1.h: $(OBJDIR)/headers
1192
1193 $(OBJDIR)/shun_.c: $(SRCDIR)/shun.c $(OBJDIR)/translate
1194 $(TRANSLATE) $(SRCDIR)/shun.c >$(OBJDIR)/shun_.c
1195
1196 $(OBJDIR)/shun.o: $(OBJDIR)/shun_.c $(OBJDIR)/shun.h $(SRCDIR)/config.h
1197 $(XTCC) -o $(OBJDIR)/shun.o -c $(OBJDIR)/shun_.c
1198
1199 $(OBJDIR)/shun.h: $(OBJDIR)/headers
1200
1201 $(OBJDIR)/skins_.c: $(SRCDIR)/skins.c $(OBJDIR)/translate
1202 $(TRANSLATE) $(SRCDIR)/skins.c >$(OBJDIR)/skins_.c
1203
1204 $(OBJDIR)/skins.o: $(OBJDIR)/skins_.c $(OBJDIR)/skins.h $(SRCDIR)/config.h
1205 $(XTCC) -o $(OBJDIR)/skins.o -c $(OBJDIR)/skins_.c
1206
1207 $(OBJDIR)/skins.h: $(OBJDIR)/headers
1208
1209 $(OBJDIR)/sqlcmd_.c: $(SRCDIR)/sqlcmd.c $(OBJDIR)/translate
1210 $(TRANSLATE) $(SRCDIR)/sqlcmd.c >$(OBJDIR)/sqlcmd_.c
1211
1212 $(OBJDIR)/sqlcmd.o: $(OBJDIR)/sqlcmd_.c $(OBJDIR)/sqlcmd.h $(SRCDIR)/config.h
1213 $(XTCC) -o $(OBJDIR)/sqlcmd.o -c $(OBJDIR)/sqlcmd_.c
1214
1215 $(OBJDIR)/sqlcmd.h: $(OBJDIR)/headers
1216
1217 $(OBJDIR)/stash_.c: $(SRCDIR)/stash.c $(OBJDIR)/translate
1218 $(TRANSLATE) $(SRCDIR)/stash.c >$(OBJDIR)/stash_.c
1219
1220 $(OBJDIR)/stash.o: $(OBJDIR)/stash_.c $(OBJDIR)/stash.h $(SRCDIR)/config.h
1221 $(XTCC) -o $(OBJDIR)/stash.o -c $(OBJDIR)/stash_.c
1222
1223 $(OBJDIR)/stash.h: $(OBJDIR)/headers
1224
1225 $(OBJDIR)/stat_.c: $(SRCDIR)/stat.c $(OBJDIR)/translate
1226 $(TRANSLATE) $(SRCDIR)/stat.c >$(OBJDIR)/stat_.c
1227
1228 $(OBJDIR)/stat.o: $(OBJDIR)/stat_.c $(OBJDIR)/stat.h $(SRCDIR)/config.h
1229 $(XTCC) -o $(OBJDIR)/stat.o -c $(OBJDIR)/stat_.c
1230
1231 $(OBJDIR)/stat.h: $(OBJDIR)/headers
1232
1233 $(OBJDIR)/style_.c: $(SRCDIR)/style.c $(OBJDIR)/translate
1234 $(TRANSLATE) $(SRCDIR)/style.c >$(OBJDIR)/style_.c
1235
1236 $(OBJDIR)/style.o: $(OBJDIR)/style_.c $(OBJDIR)/style.h $(SRCDIR)/config.h
1237 $(XTCC) -o $(OBJDIR)/style.o -c $(OBJDIR)/style_.c
1238
1239 $(OBJDIR)/style.h: $(OBJDIR)/headers
1240
1241 $(OBJDIR)/sync_.c: $(SRCDIR)/sync.c $(OBJDIR)/translate
1242 $(TRANSLATE) $(SRCDIR)/sync.c >$(OBJDIR)/sync_.c
1243
1244 $(OBJDIR)/sync.o: $(OBJDIR)/sync_.c $(OBJDIR)/sync.h $(SRCDIR)/config.h
1245 $(XTCC) -o $(OBJDIR)/sync.o -c $(OBJDIR)/sync_.c
1246
1247 $(OBJDIR)/sync.h: $(OBJDIR)/headers
1248
1249 $(OBJDIR)/tag_.c: $(SRCDIR)/tag.c $(OBJDIR)/translate
1250 $(TRANSLATE) $(SRCDIR)/tag.c >$(OBJDIR)/tag_.c
1251
1252 $(OBJDIR)/tag.o: $(OBJDIR)/tag_.c $(OBJDIR)/tag.h $(SRCDIR)/config.h
1253 $(XTCC) -o $(OBJDIR)/tag.o -c $(OBJDIR)/tag_.c
1254
1255 $(OBJDIR)/tag.h: $(OBJDIR)/headers
1256
1257 $(OBJDIR)/tar_.c: $(SRCDIR)/tar.c $(OBJDIR)/translate
1258 $(TRANSLATE) $(SRCDIR)/tar.c >$(OBJDIR)/tar_.c
1259
1260 $(OBJDIR)/tar.o: $(OBJDIR)/tar_.c $(OBJDIR)/tar.h $(SRCDIR)/config.h
1261 $(XTCC) -o $(OBJDIR)/tar.o -c $(OBJDIR)/tar_.c
1262
1263 $(OBJDIR)/tar.h: $(OBJDIR)/headers
1264
1265 $(OBJDIR)/th_main_.c: $(SRCDIR)/th_main.c $(OBJDIR)/translate
1266 $(TRANSLATE) $(SRCDIR)/th_main.c >$(OBJDIR)/th_main_.c
1267
1268 $(OBJDIR)/th_main.o: $(OBJDIR)/th_main_.c $(OBJDIR)/th_main.h $(SRCDIR)/config.h
1269 $(XTCC) -o $(OBJDIR)/th_main.o -c $(OBJDIR)/th_main_.c
1270
1271 $(OBJDIR)/th_main.h: $(OBJDIR)/headers
1272
1273 $(OBJDIR)/timeline_.c: $(SRCDIR)/timeline.c $(OBJDIR)/translate
1274 $(TRANSLATE) $(SRCDIR)/timeline.c >$(OBJDIR)/timeline_.c
1275
1276 $(OBJDIR)/timeline.o: $(OBJDIR)/timeline_.c $(OBJDIR)/timeline.h $(SRCDIR)/config.h
1277 $(XTCC) -o $(OBJDIR)/timeline.o -c $(OBJDIR)/timeline_.c
1278
1279 $(OBJDIR)/timeline.h: $(OBJDIR)/headers
1280
1281 $(OBJDIR)/tkt_.c: $(SRCDIR)/tkt.c $(OBJDIR)/translate
1282 $(TRANSLATE) $(SRCDIR)/tkt.c >$(OBJDIR)/tkt_.c
1283
1284 $(OBJDIR)/tkt.o: $(OBJDIR)/tkt_.c $(OBJDIR)/tkt.h $(SRCDIR)/config.h
1285 $(XTCC) -o $(OBJDIR)/tkt.o -c $(OBJDIR)/tkt_.c
1286
1287 $(OBJDIR)/tkt.h: $(OBJDIR)/headers
1288
1289 $(OBJDIR)/tktsetup_.c: $(SRCDIR)/tktsetup.c $(OBJDIR)/translate
1290 $(TRANSLATE) $(SRCDIR)/tktsetup.c >$(OBJDIR)/tktsetup_.c
1291
1292 $(OBJDIR)/tktsetup.o: $(OBJDIR)/tktsetup_.c $(OBJDIR)/tktsetup.h $(SRCDIR)/config.h
1293 $(XTCC) -o $(OBJDIR)/tktsetup.o -c $(OBJDIR)/tktsetup_.c
1294
1295 $(OBJDIR)/tktsetup.h: $(OBJDIR)/headers
1296
1297 $(OBJDIR)/undo_.c: $(SRCDIR)/undo.c $(OBJDIR)/translate
1298 $(TRANSLATE) $(SRCDIR)/undo.c >$(OBJDIR)/undo_.c
1299
1300 $(OBJDIR)/undo.o: $(OBJDIR)/undo_.c $(OBJDIR)/undo.h $(SRCDIR)/config.h
1301 $(XTCC) -o $(OBJDIR)/undo.o -c $(OBJDIR)/undo_.c
1302
1303 $(OBJDIR)/undo.h: $(OBJDIR)/headers
1304
1305 $(OBJDIR)/update_.c: $(SRCDIR)/update.c $(OBJDIR)/translate
1306 $(TRANSLATE) $(SRCDIR)/update.c >$(OBJDIR)/update_.c
1307
1308 $(OBJDIR)/update.o: $(OBJDIR)/update_.c $(OBJDIR)/update.h $(SRCDIR)/config.h
1309 $(XTCC) -o $(OBJDIR)/update.o -c $(OBJDIR)/update_.c
1310
1311 $(OBJDIR)/update.h: $(OBJDIR)/headers
1312
1313 $(OBJDIR)/url_.c: $(SRCDIR)/url.c $(OBJDIR)/translate
1314 $(TRANSLATE) $(SRCDIR)/url.c >$(OBJDIR)/url_.c
1315
1316 $(OBJDIR)/url.o: $(OBJDIR)/url_.c $(OBJDIR)/url.h $(SRCDIR)/config.h
1317 $(XTCC) -o $(OBJDIR)/url.o -c $(OBJDIR)/url_.c
1318
1319 $(OBJDIR)/url.h: $(OBJDIR)/headers
1320
1321 $(OBJDIR)/user_.c: $(SRCDIR)/user.c $(OBJDIR)/translate
1322 $(TRANSLATE) $(SRCDIR)/user.c >$(OBJDIR)/user_.c
1323
1324 $(OBJDIR)/user.o: $(OBJDIR)/user_.c $(OBJDIR)/user.h $(SRCDIR)/config.h
1325 $(XTCC) -o $(OBJDIR)/user.o -c $(OBJDIR)/user_.c
1326
1327 $(OBJDIR)/user.h: $(OBJDIR)/headers
1328
1329 $(OBJDIR)/verify_.c: $(SRCDIR)/verify.c $(OBJDIR)/translate
1330 $(TRANSLATE) $(SRCDIR)/verify.c >$(OBJDIR)/verify_.c
1331
1332 $(OBJDIR)/verify.o: $(OBJDIR)/verify_.c $(OBJDIR)/verify.h $(SRCDIR)/config.h
1333 $(XTCC) -o $(OBJDIR)/verify.o -c $(OBJDIR)/verify_.c
1334
1335 $(OBJDIR)/verify.h: $(OBJDIR)/headers
1336
1337 $(OBJDIR)/vfile_.c: $(SRCDIR)/vfile.c $(OBJDIR)/translate
1338 $(TRANSLATE) $(SRCDIR)/vfile.c >$(OBJDIR)/vfile_.c
1339
1340 $(OBJDIR)/vfile.o: $(OBJDIR)/vfile_.c $(OBJDIR)/vfile.h $(SRCDIR)/config.h
1341 $(XTCC) -o $(OBJDIR)/vfile.o -c $(OBJDIR)/vfile_.c
1342
1343 $(OBJDIR)/vfile.h: $(OBJDIR)/headers
1344
1345 $(OBJDIR)/wiki_.c: $(SRCDIR)/wiki.c $(OBJDIR)/translate
1346 $(TRANSLATE) $(SRCDIR)/wiki.c >$(OBJDIR)/wiki_.c
1347
1348 $(OBJDIR)/wiki.o: $(OBJDIR)/wiki_.c $(OBJDIR)/wiki.h $(SRCDIR)/config.h
1349 $(XTCC) -o $(OBJDIR)/wiki.o -c $(OBJDIR)/wiki_.c
1350
1351 $(OBJDIR)/wiki.h: $(OBJDIR)/headers
1352
1353 $(OBJDIR)/wikiformat_.c: $(SRCDIR)/wikiformat.c $(OBJDIR)/translate
1354 $(TRANSLATE) $(SRCDIR)/wikiformat.c >$(OBJDIR)/wikiformat_.c
1355
1356 $(OBJDIR)/wikiformat.o: $(OBJDIR)/wikiformat_.c $(OBJDIR)/wikiformat.h $(SRCDIR)/config.h
1357 $(XTCC) -o $(OBJDIR)/wikiformat.o -c $(OBJDIR)/wikiformat_.c
1358
1359 $(OBJDIR)/wikiformat.h: $(OBJDIR)/headers
1360
1361 $(OBJDIR)/winhttp_.c: $(SRCDIR)/winhttp.c $(OBJDIR)/translate
1362 $(TRANSLATE) $(SRCDIR)/winhttp.c >$(OBJDIR)/winhttp_.c
1363
1364 $(OBJDIR)/winhttp.o: $(OBJDIR)/winhttp_.c $(OBJDIR)/winhttp.h $(SRCDIR)/config.h
1365 $(XTCC) -o $(OBJDIR)/winhttp.o -c $(OBJDIR)/winhttp_.c
1366
1367 $(OBJDIR)/winhttp.h: $(OBJDIR)/headers
1368
1369 $(OBJDIR)/wysiwyg_.c: $(SRCDIR)/wysiwyg.c $(OBJDIR)/translate
1370 $(TRANSLATE) $(SRCDIR)/wysiwyg.c >$(OBJDIR)/wysiwyg_.c
1371
1372 $(OBJDIR)/wysiwyg.o: $(OBJDIR)/wysiwyg_.c $(OBJDIR)/wysiwyg.h $(SRCDIR)/config.h
1373 $(XTCC) -o $(OBJDIR)/wysiwyg.o -c $(OBJDIR)/wysiwyg_.c
1374
1375 $(OBJDIR)/wysiwyg.h: $(OBJDIR)/headers
1376
1377 $(OBJDIR)/xfer_.c: $(SRCDIR)/xfer.c $(OBJDIR)/translate
1378 $(TRANSLATE) $(SRCDIR)/xfer.c >$(OBJDIR)/xfer_.c
1379
1380 $(OBJDIR)/xfer.o: $(OBJDIR)/xfer_.c $(OBJDIR)/xfer.h $(SRCDIR)/config.h
1381 $(XTCC) -o $(OBJDIR)/xfer.o -c $(OBJDIR)/xfer_.c
1382
1383 $(OBJDIR)/xfer.h: $(OBJDIR)/headers
1384
1385 $(OBJDIR)/xfersetup_.c: $(SRCDIR)/xfersetup.c $(OBJDIR)/translate
1386 $(TRANSLATE) $(SRCDIR)/xfersetup.c >$(OBJDIR)/xfersetup_.c
1387
1388 $(OBJDIR)/xfersetup.o: $(OBJDIR)/xfersetup_.c $(OBJDIR)/xfersetup.h $(SRCDIR)/config.h
1389 $(XTCC) -o $(OBJDIR)/xfersetup.o -c $(OBJDIR)/xfersetup_.c
1390
1391 $(OBJDIR)/xfersetup.h: $(OBJDIR)/headers
1392
1393 $(OBJDIR)/zip_.c: $(SRCDIR)/zip.c $(OBJDIR)/translate
1394 $(TRANSLATE) $(SRCDIR)/zip.c >$(OBJDIR)/zip_.c
1395
1396 $(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h
1397 $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c
1398
1399 $(OBJDIR)/zip.h: $(OBJDIR)/headers
1400
1401 $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c
1402 $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o
1403
1404 $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
1405 $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
@@ -1276,6 +1417,5 @@
1417
1418 ifdef FOSSIL_ENABLE_TCL
1419 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1420 $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1421 endif
 
1422
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -14,10 +14,11 @@
1414
1515
#### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
1616
# By default, this is an empty string (i.e. use the native compiler).
1717
#
1818
PREFIX =
19
+# PREFIX = mingw32-
1920
# PREFIX = i686-pc-mingw32-
2021
# PREFIX = i686-w64-mingw32-
2122
# PREFIX = x86_64-w64-mingw32-
2223
2324
#### The toplevel directory of the source tree. Fossil can be built
@@ -494,29 +495,67 @@
494495
$(OBJDIR)/xfer.o \
495496
$(OBJDIR)/xfersetup.o \
496497
$(OBJDIR)/zip.o
497498
498499
APPNAME = fossil.exe
499
-TRANSLATE = $(OBJDIR)/translate.exe
500
-MAKEHEADERS = $(OBJDIR)/makeheaders.exe
501
-MKINDEX = $(OBJDIR)/mkindex.exe
502
-VERSION = $(OBJDIR)/version.exe
503500
501
+#### If the USE_WINDOWS variable exists, it is assumed that we are building
502
+# inside of a Windows-style shell; otherwise, it is assumed that we are
503
+# building inside of a Unix-style shell. Note that the "move" command is
504
+# broken when attempting to use it from the Windows shell via MinGW make
505
+# because the SHELL variable is only used for certain commands that are
506
+# recognized internally by make.
507
+#
508
+ifdef USE_WINDOWS
509
+TRANSLATE = $(subst /,\,$(OBJDIR)/translate)
510
+MAKEHEADERS = $(subst /,\,$(OBJDIR)/makeheaders)
511
+MKINDEX = $(subst /,\,$(OBJDIR)/mkindex)
512
+VERSION = $(subst /,\,$(OBJDIR)/version)
513
+CP = copy
514
+MV = copy
515
+RM = del /Q
516
+MKDIR = -mkdir
517
+RMDIR = rmdir /S /Q
518
+else
519
+TRANSLATE = $(OBJDIR)/translate
520
+MAKEHEADERS = $(OBJDIR)/makeheaders
521
+MKINDEX = $(OBJDIR)/mkindex
522
+VERSION = $(OBJDIR)/version
523
+CP = cp
524
+MV = mv
525
+RM = rm -f
526
+MKDIR = -mkdir -p
527
+RMDIR = rm -rf
528
+endif
504529
505530
all: $(OBJDIR) $(APPNAME)
506531
507
-$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc
508
- cp $(SRCDIR)/../win/fossil.rc $(OBJDIR)
509
- cp $(SRCDIR)/../win/fossil.ico $(OBJDIR)
532
+$(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h
533
+ifdef USE_WINDOWS
534
+ $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR))
535
+ $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR))
536
+else
537
+ $(CP) $(SRCDIR)/../win/fossil.rc $(OBJDIR)
538
+ $(CP) $(SRCDIR)/../win/fossil.ico $(OBJDIR)
539
+endif
510540
$(RCC) $(OBJDIR)/fossil.rc -o $(OBJDIR)/fossil.o
511541
512
-install: $(APPNAME)
513
- mkdir -p $(INSTALLDIR)
514
- mv $(APPNAME) $(INSTALLDIR)
542
+install: $(OBJDIR) $(APPNAME)
543
+ifdef USE_WINDOWS
544
+ $(MKDIR) $(subst /,\,$(INSTALLDIR))
545
+ $(MV) $(subst /,\,$(APPNAME)) $(subst /,\,$(INSTALLDIR))
546
+else
547
+ $(MKDIR) $(INSTALLDIR)
548
+ $(MV) $(APPNAME) $(INSTALLDIR)
549
+endif
515550
516551
$(OBJDIR):
517
- mkdir $(OBJDIR)
552
+ifdef USE_WINDOWS
553
+ $(MKDIR) $(subst /,\,$(OBJDIR))
554
+else
555
+ $(MKDIR) $(OBJDIR)
556
+endif
518557
519558
$(OBJDIR)/translate: $(SRCDIR)/translate.c
520559
$(BCC) -o $(OBJDIR)/translate $(SRCDIR)/translate.c
521560
522561
$(OBJDIR)/makeheaders: $(SRCDIR)/makeheaders.c
@@ -550,715 +589,817 @@
550589
# an executable named "manifest" out of the file named "manifest.c"
551590
#
552591
$(SRCDIR)/../manifest:
553592
# noop
554593
555
-# Requires MSYS to be installed in addition to the MinGW, for the "rm"
556
-# command. "del" will not work here because it is not a separate command
557
-# but a MSDOS-shell builtin.
558
-#
559594
clean:
560
- rm -rf $(OBJDIR) $(APPNAME)
595
+ifdef USE_WINDOWS
596
+ $(RM) $(subst /,\,$(APPNAME))
597
+ $(RMDIR) $(subst /,\,$(OBJDIR))
598
+else
599
+ $(RM) $(APPNAME)
600
+ $(RMDIR) $(OBJDIR)
601
+endif
561602
562603
setup: $(OBJDIR) $(APPNAME)
563604
$(MAKENSIS) ./fossil.nsi
564605
565
-
566606
$(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex
567607
$(MKINDEX) $(TRANS_SRC) >$@
608
+
568609
$(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h
569610
$(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/path_.c:$(OBJDIR)/path.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/tar_.c:$(OBJDIR)/tar.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/wysiwyg_.c:$(OBJDIR)/wysiwyg.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h
570611
echo Done >$(OBJDIR)/headers
571612
572613
$(OBJDIR)/headers: Makefile
614
+
573615
Makefile:
616
+
574617
$(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate
575618
$(TRANSLATE) $(SRCDIR)/add.c >$(OBJDIR)/add_.c
576619
577620
$(OBJDIR)/add.o: $(OBJDIR)/add_.c $(OBJDIR)/add.h $(SRCDIR)/config.h
578621
$(XTCC) -o $(OBJDIR)/add.o -c $(OBJDIR)/add_.c
579622
580
-add.h: $(OBJDIR)/headers
623
+$(OBJDIR)/add.h: $(OBJDIR)/headers
624
+
581625
$(OBJDIR)/allrepo_.c: $(SRCDIR)/allrepo.c $(OBJDIR)/translate
582626
$(TRANSLATE) $(SRCDIR)/allrepo.c >$(OBJDIR)/allrepo_.c
583627
584628
$(OBJDIR)/allrepo.o: $(OBJDIR)/allrepo_.c $(OBJDIR)/allrepo.h $(SRCDIR)/config.h
585629
$(XTCC) -o $(OBJDIR)/allrepo.o -c $(OBJDIR)/allrepo_.c
586630
587
-allrepo.h: $(OBJDIR)/headers
631
+$(OBJDIR)/allrepo.h: $(OBJDIR)/headers
632
+
588633
$(OBJDIR)/attach_.c: $(SRCDIR)/attach.c $(OBJDIR)/translate
589634
$(TRANSLATE) $(SRCDIR)/attach.c >$(OBJDIR)/attach_.c
590635
591636
$(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h
592637
$(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c
593638
594
-attach.h: $(OBJDIR)/headers
639
+$(OBJDIR)/attach.h: $(OBJDIR)/headers
640
+
595641
$(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(OBJDIR)/translate
596642
$(TRANSLATE) $(SRCDIR)/bag.c >$(OBJDIR)/bag_.c
597643
598644
$(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h
599645
$(XTCC) -o $(OBJDIR)/bag.o -c $(OBJDIR)/bag_.c
600646
601
-bag.h: $(OBJDIR)/headers
647
+$(OBJDIR)/bag.h: $(OBJDIR)/headers
648
+
602649
$(OBJDIR)/bisect_.c: $(SRCDIR)/bisect.c $(OBJDIR)/translate
603650
$(TRANSLATE) $(SRCDIR)/bisect.c >$(OBJDIR)/bisect_.c
604651
605652
$(OBJDIR)/bisect.o: $(OBJDIR)/bisect_.c $(OBJDIR)/bisect.h $(SRCDIR)/config.h
606653
$(XTCC) -o $(OBJDIR)/bisect.o -c $(OBJDIR)/bisect_.c
607654
608
-bisect.h: $(OBJDIR)/headers
655
+$(OBJDIR)/bisect.h: $(OBJDIR)/headers
656
+
609657
$(OBJDIR)/blob_.c: $(SRCDIR)/blob.c $(OBJDIR)/translate
610658
$(TRANSLATE) $(SRCDIR)/blob.c >$(OBJDIR)/blob_.c
611659
612660
$(OBJDIR)/blob.o: $(OBJDIR)/blob_.c $(OBJDIR)/blob.h $(SRCDIR)/config.h
613661
$(XTCC) -o $(OBJDIR)/blob.o -c $(OBJDIR)/blob_.c
614662
615
-blob.h: $(OBJDIR)/headers
663
+$(OBJDIR)/blob.h: $(OBJDIR)/headers
664
+
616665
$(OBJDIR)/branch_.c: $(SRCDIR)/branch.c $(OBJDIR)/translate
617666
$(TRANSLATE) $(SRCDIR)/branch.c >$(OBJDIR)/branch_.c
618667
619668
$(OBJDIR)/branch.o: $(OBJDIR)/branch_.c $(OBJDIR)/branch.h $(SRCDIR)/config.h
620669
$(XTCC) -o $(OBJDIR)/branch.o -c $(OBJDIR)/branch_.c
621670
622
-branch.h: $(OBJDIR)/headers
671
+$(OBJDIR)/branch.h: $(OBJDIR)/headers
672
+
623673
$(OBJDIR)/browse_.c: $(SRCDIR)/browse.c $(OBJDIR)/translate
624674
$(TRANSLATE) $(SRCDIR)/browse.c >$(OBJDIR)/browse_.c
625675
626676
$(OBJDIR)/browse.o: $(OBJDIR)/browse_.c $(OBJDIR)/browse.h $(SRCDIR)/config.h
627677
$(XTCC) -o $(OBJDIR)/browse.o -c $(OBJDIR)/browse_.c
628678
629
-browse.h: $(OBJDIR)/headers
679
+$(OBJDIR)/browse.h: $(OBJDIR)/headers
680
+
630681
$(OBJDIR)/captcha_.c: $(SRCDIR)/captcha.c $(OBJDIR)/translate
631682
$(TRANSLATE) $(SRCDIR)/captcha.c >$(OBJDIR)/captcha_.c
632683
633684
$(OBJDIR)/captcha.o: $(OBJDIR)/captcha_.c $(OBJDIR)/captcha.h $(SRCDIR)/config.h
634685
$(XTCC) -o $(OBJDIR)/captcha.o -c $(OBJDIR)/captcha_.c
635686
636
-captcha.h: $(OBJDIR)/headers
687
+$(OBJDIR)/captcha.h: $(OBJDIR)/headers
688
+
637689
$(OBJDIR)/cgi_.c: $(SRCDIR)/cgi.c $(OBJDIR)/translate
638690
$(TRANSLATE) $(SRCDIR)/cgi.c >$(OBJDIR)/cgi_.c
639691
640692
$(OBJDIR)/cgi.o: $(OBJDIR)/cgi_.c $(OBJDIR)/cgi.h $(SRCDIR)/config.h
641693
$(XTCC) -o $(OBJDIR)/cgi.o -c $(OBJDIR)/cgi_.c
642694
643
-cgi.h: $(OBJDIR)/headers
695
+$(OBJDIR)/cgi.h: $(OBJDIR)/headers
696
+
644697
$(OBJDIR)/checkin_.c: $(SRCDIR)/checkin.c $(OBJDIR)/translate
645698
$(TRANSLATE) $(SRCDIR)/checkin.c >$(OBJDIR)/checkin_.c
646699
647700
$(OBJDIR)/checkin.o: $(OBJDIR)/checkin_.c $(OBJDIR)/checkin.h $(SRCDIR)/config.h
648701
$(XTCC) -o $(OBJDIR)/checkin.o -c $(OBJDIR)/checkin_.c
649702
650
-checkin.h: $(OBJDIR)/headers
703
+$(OBJDIR)/checkin.h: $(OBJDIR)/headers
704
+
651705
$(OBJDIR)/checkout_.c: $(SRCDIR)/checkout.c $(OBJDIR)/translate
652706
$(TRANSLATE) $(SRCDIR)/checkout.c >$(OBJDIR)/checkout_.c
653707
654708
$(OBJDIR)/checkout.o: $(OBJDIR)/checkout_.c $(OBJDIR)/checkout.h $(SRCDIR)/config.h
655709
$(XTCC) -o $(OBJDIR)/checkout.o -c $(OBJDIR)/checkout_.c
656710
657
-checkout.h: $(OBJDIR)/headers
711
+$(OBJDIR)/checkout.h: $(OBJDIR)/headers
712
+
658713
$(OBJDIR)/clearsign_.c: $(SRCDIR)/clearsign.c $(OBJDIR)/translate
659714
$(TRANSLATE) $(SRCDIR)/clearsign.c >$(OBJDIR)/clearsign_.c
660715
661716
$(OBJDIR)/clearsign.o: $(OBJDIR)/clearsign_.c $(OBJDIR)/clearsign.h $(SRCDIR)/config.h
662717
$(XTCC) -o $(OBJDIR)/clearsign.o -c $(OBJDIR)/clearsign_.c
663718
664
-clearsign.h: $(OBJDIR)/headers
719
+$(OBJDIR)/clearsign.h: $(OBJDIR)/headers
720
+
665721
$(OBJDIR)/clone_.c: $(SRCDIR)/clone.c $(OBJDIR)/translate
666722
$(TRANSLATE) $(SRCDIR)/clone.c >$(OBJDIR)/clone_.c
667723
668724
$(OBJDIR)/clone.o: $(OBJDIR)/clone_.c $(OBJDIR)/clone.h $(SRCDIR)/config.h
669725
$(XTCC) -o $(OBJDIR)/clone.o -c $(OBJDIR)/clone_.c
670726
671
-clone.h: $(OBJDIR)/headers
727
+$(OBJDIR)/clone.h: $(OBJDIR)/headers
728
+
672729
$(OBJDIR)/comformat_.c: $(SRCDIR)/comformat.c $(OBJDIR)/translate
673730
$(TRANSLATE) $(SRCDIR)/comformat.c >$(OBJDIR)/comformat_.c
674731
675732
$(OBJDIR)/comformat.o: $(OBJDIR)/comformat_.c $(OBJDIR)/comformat.h $(SRCDIR)/config.h
676733
$(XTCC) -o $(OBJDIR)/comformat.o -c $(OBJDIR)/comformat_.c
677734
678
-comformat.h: $(OBJDIR)/headers
735
+$(OBJDIR)/comformat.h: $(OBJDIR)/headers
736
+
679737
$(OBJDIR)/configure_.c: $(SRCDIR)/configure.c $(OBJDIR)/translate
680738
$(TRANSLATE) $(SRCDIR)/configure.c >$(OBJDIR)/configure_.c
681739
682740
$(OBJDIR)/configure.o: $(OBJDIR)/configure_.c $(OBJDIR)/configure.h $(SRCDIR)/config.h
683741
$(XTCC) -o $(OBJDIR)/configure.o -c $(OBJDIR)/configure_.c
684742
685
-configure.h: $(OBJDIR)/headers
743
+$(OBJDIR)/configure.h: $(OBJDIR)/headers
744
+
686745
$(OBJDIR)/content_.c: $(SRCDIR)/content.c $(OBJDIR)/translate
687746
$(TRANSLATE) $(SRCDIR)/content.c >$(OBJDIR)/content_.c
688747
689748
$(OBJDIR)/content.o: $(OBJDIR)/content_.c $(OBJDIR)/content.h $(SRCDIR)/config.h
690749
$(XTCC) -o $(OBJDIR)/content.o -c $(OBJDIR)/content_.c
691750
692
-content.h: $(OBJDIR)/headers
751
+$(OBJDIR)/content.h: $(OBJDIR)/headers
752
+
693753
$(OBJDIR)/db_.c: $(SRCDIR)/db.c $(OBJDIR)/translate
694754
$(TRANSLATE) $(SRCDIR)/db.c >$(OBJDIR)/db_.c
695755
696756
$(OBJDIR)/db.o: $(OBJDIR)/db_.c $(OBJDIR)/db.h $(SRCDIR)/config.h
697757
$(XTCC) -o $(OBJDIR)/db.o -c $(OBJDIR)/db_.c
698758
699
-db.h: $(OBJDIR)/headers
759
+$(OBJDIR)/db.h: $(OBJDIR)/headers
760
+
700761
$(OBJDIR)/delta_.c: $(SRCDIR)/delta.c $(OBJDIR)/translate
701762
$(TRANSLATE) $(SRCDIR)/delta.c >$(OBJDIR)/delta_.c
702763
703764
$(OBJDIR)/delta.o: $(OBJDIR)/delta_.c $(OBJDIR)/delta.h $(SRCDIR)/config.h
704765
$(XTCC) -o $(OBJDIR)/delta.o -c $(OBJDIR)/delta_.c
705766
706
-delta.h: $(OBJDIR)/headers
767
+$(OBJDIR)/delta.h: $(OBJDIR)/headers
768
+
707769
$(OBJDIR)/deltacmd_.c: $(SRCDIR)/deltacmd.c $(OBJDIR)/translate
708770
$(TRANSLATE) $(SRCDIR)/deltacmd.c >$(OBJDIR)/deltacmd_.c
709771
710772
$(OBJDIR)/deltacmd.o: $(OBJDIR)/deltacmd_.c $(OBJDIR)/deltacmd.h $(SRCDIR)/config.h
711773
$(XTCC) -o $(OBJDIR)/deltacmd.o -c $(OBJDIR)/deltacmd_.c
712774
713
-deltacmd.h: $(OBJDIR)/headers
775
+$(OBJDIR)/deltacmd.h: $(OBJDIR)/headers
776
+
714777
$(OBJDIR)/descendants_.c: $(SRCDIR)/descendants.c $(OBJDIR)/translate
715778
$(TRANSLATE) $(SRCDIR)/descendants.c >$(OBJDIR)/descendants_.c
716779
717780
$(OBJDIR)/descendants.o: $(OBJDIR)/descendants_.c $(OBJDIR)/descendants.h $(SRCDIR)/config.h
718781
$(XTCC) -o $(OBJDIR)/descendants.o -c $(OBJDIR)/descendants_.c
719782
720
-descendants.h: $(OBJDIR)/headers
783
+$(OBJDIR)/descendants.h: $(OBJDIR)/headers
784
+
721785
$(OBJDIR)/diff_.c: $(SRCDIR)/diff.c $(OBJDIR)/translate
722786
$(TRANSLATE) $(SRCDIR)/diff.c >$(OBJDIR)/diff_.c
723787
724788
$(OBJDIR)/diff.o: $(OBJDIR)/diff_.c $(OBJDIR)/diff.h $(SRCDIR)/config.h
725789
$(XTCC) -o $(OBJDIR)/diff.o -c $(OBJDIR)/diff_.c
726790
727
-diff.h: $(OBJDIR)/headers
791
+$(OBJDIR)/diff.h: $(OBJDIR)/headers
792
+
728793
$(OBJDIR)/diffcmd_.c: $(SRCDIR)/diffcmd.c $(OBJDIR)/translate
729794
$(TRANSLATE) $(SRCDIR)/diffcmd.c >$(OBJDIR)/diffcmd_.c
730795
731796
$(OBJDIR)/diffcmd.o: $(OBJDIR)/diffcmd_.c $(OBJDIR)/diffcmd.h $(SRCDIR)/config.h
732797
$(XTCC) -o $(OBJDIR)/diffcmd.o -c $(OBJDIR)/diffcmd_.c
733798
734
-diffcmd.h: $(OBJDIR)/headers
799
+$(OBJDIR)/diffcmd.h: $(OBJDIR)/headers
800
+
735801
$(OBJDIR)/doc_.c: $(SRCDIR)/doc.c $(OBJDIR)/translate
736802
$(TRANSLATE) $(SRCDIR)/doc.c >$(OBJDIR)/doc_.c
737803
738804
$(OBJDIR)/doc.o: $(OBJDIR)/doc_.c $(OBJDIR)/doc.h $(SRCDIR)/config.h
739805
$(XTCC) -o $(OBJDIR)/doc.o -c $(OBJDIR)/doc_.c
740806
741
-doc.h: $(OBJDIR)/headers
807
+$(OBJDIR)/doc.h: $(OBJDIR)/headers
808
+
742809
$(OBJDIR)/encode_.c: $(SRCDIR)/encode.c $(OBJDIR)/translate
743810
$(TRANSLATE) $(SRCDIR)/encode.c >$(OBJDIR)/encode_.c
744811
745812
$(OBJDIR)/encode.o: $(OBJDIR)/encode_.c $(OBJDIR)/encode.h $(SRCDIR)/config.h
746813
$(XTCC) -o $(OBJDIR)/encode.o -c $(OBJDIR)/encode_.c
747814
748
-encode.h: $(OBJDIR)/headers
815
+$(OBJDIR)/encode.h: $(OBJDIR)/headers
816
+
749817
$(OBJDIR)/event_.c: $(SRCDIR)/event.c $(OBJDIR)/translate
750818
$(TRANSLATE) $(SRCDIR)/event.c >$(OBJDIR)/event_.c
751819
752820
$(OBJDIR)/event.o: $(OBJDIR)/event_.c $(OBJDIR)/event.h $(SRCDIR)/config.h
753821
$(XTCC) -o $(OBJDIR)/event.o -c $(OBJDIR)/event_.c
754822
755
-event.h: $(OBJDIR)/headers
823
+$(OBJDIR)/event.h: $(OBJDIR)/headers
824
+
756825
$(OBJDIR)/export_.c: $(SRCDIR)/export.c $(OBJDIR)/translate
757826
$(TRANSLATE) $(SRCDIR)/export.c >$(OBJDIR)/export_.c
758827
759828
$(OBJDIR)/export.o: $(OBJDIR)/export_.c $(OBJDIR)/export.h $(SRCDIR)/config.h
760829
$(XTCC) -o $(OBJDIR)/export.o -c $(OBJDIR)/export_.c
761830
762
-export.h: $(OBJDIR)/headers
831
+$(OBJDIR)/export.h: $(OBJDIR)/headers
832
+
763833
$(OBJDIR)/file_.c: $(SRCDIR)/file.c $(OBJDIR)/translate
764834
$(TRANSLATE) $(SRCDIR)/file.c >$(OBJDIR)/file_.c
765835
766836
$(OBJDIR)/file.o: $(OBJDIR)/file_.c $(OBJDIR)/file.h $(SRCDIR)/config.h
767837
$(XTCC) -o $(OBJDIR)/file.o -c $(OBJDIR)/file_.c
768838
769
-file.h: $(OBJDIR)/headers
839
+$(OBJDIR)/file.h: $(OBJDIR)/headers
840
+
770841
$(OBJDIR)/finfo_.c: $(SRCDIR)/finfo.c $(OBJDIR)/translate
771842
$(TRANSLATE) $(SRCDIR)/finfo.c >$(OBJDIR)/finfo_.c
772843
773844
$(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h
774845
$(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c
775846
776
-finfo.h: $(OBJDIR)/headers
847
+$(OBJDIR)/finfo.h: $(OBJDIR)/headers
848
+
777849
$(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate
778850
$(TRANSLATE) $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c
779851
780852
$(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h
781853
$(XTCC) -o $(OBJDIR)/glob.o -c $(OBJDIR)/glob_.c
782854
783
-glob.h: $(OBJDIR)/headers
855
+$(OBJDIR)/glob.h: $(OBJDIR)/headers
856
+
784857
$(OBJDIR)/graph_.c: $(SRCDIR)/graph.c $(OBJDIR)/translate
785858
$(TRANSLATE) $(SRCDIR)/graph.c >$(OBJDIR)/graph_.c
786859
787860
$(OBJDIR)/graph.o: $(OBJDIR)/graph_.c $(OBJDIR)/graph.h $(SRCDIR)/config.h
788861
$(XTCC) -o $(OBJDIR)/graph.o -c $(OBJDIR)/graph_.c
789862
790
-graph.h: $(OBJDIR)/headers
863
+$(OBJDIR)/graph.h: $(OBJDIR)/headers
864
+
791865
$(OBJDIR)/gzip_.c: $(SRCDIR)/gzip.c $(OBJDIR)/translate
792866
$(TRANSLATE) $(SRCDIR)/gzip.c >$(OBJDIR)/gzip_.c
793867
794868
$(OBJDIR)/gzip.o: $(OBJDIR)/gzip_.c $(OBJDIR)/gzip.h $(SRCDIR)/config.h
795869
$(XTCC) -o $(OBJDIR)/gzip.o -c $(OBJDIR)/gzip_.c
796870
797
-gzip.h: $(OBJDIR)/headers
871
+$(OBJDIR)/gzip.h: $(OBJDIR)/headers
872
+
798873
$(OBJDIR)/http_.c: $(SRCDIR)/http.c $(OBJDIR)/translate
799874
$(TRANSLATE) $(SRCDIR)/http.c >$(OBJDIR)/http_.c
800875
801876
$(OBJDIR)/http.o: $(OBJDIR)/http_.c $(OBJDIR)/http.h $(SRCDIR)/config.h
802877
$(XTCC) -o $(OBJDIR)/http.o -c $(OBJDIR)/http_.c
803878
804
-http.h: $(OBJDIR)/headers
879
+$(OBJDIR)/http.h: $(OBJDIR)/headers
880
+
805881
$(OBJDIR)/http_socket_.c: $(SRCDIR)/http_socket.c $(OBJDIR)/translate
806882
$(TRANSLATE) $(SRCDIR)/http_socket.c >$(OBJDIR)/http_socket_.c
807883
808884
$(OBJDIR)/http_socket.o: $(OBJDIR)/http_socket_.c $(OBJDIR)/http_socket.h $(SRCDIR)/config.h
809885
$(XTCC) -o $(OBJDIR)/http_socket.o -c $(OBJDIR)/http_socket_.c
810886
811
-http_socket.h: $(OBJDIR)/headers
887
+$(OBJDIR)/http_socket.h: $(OBJDIR)/headers
888
+
812889
$(OBJDIR)/http_ssl_.c: $(SRCDIR)/http_ssl.c $(OBJDIR)/translate
813890
$(TRANSLATE) $(SRCDIR)/http_ssl.c >$(OBJDIR)/http_ssl_.c
814891
815892
$(OBJDIR)/http_ssl.o: $(OBJDIR)/http_ssl_.c $(OBJDIR)/http_ssl.h $(SRCDIR)/config.h
816893
$(XTCC) -o $(OBJDIR)/http_ssl.o -c $(OBJDIR)/http_ssl_.c
817894
818
-http_ssl.h: $(OBJDIR)/headers
895
+$(OBJDIR)/http_ssl.h: $(OBJDIR)/headers
896
+
819897
$(OBJDIR)/http_transport_.c: $(SRCDIR)/http_transport.c $(OBJDIR)/translate
820898
$(TRANSLATE) $(SRCDIR)/http_transport.c >$(OBJDIR)/http_transport_.c
821899
822900
$(OBJDIR)/http_transport.o: $(OBJDIR)/http_transport_.c $(OBJDIR)/http_transport.h $(SRCDIR)/config.h
823901
$(XTCC) -o $(OBJDIR)/http_transport.o -c $(OBJDIR)/http_transport_.c
824902
825
-http_transport.h: $(OBJDIR)/headers
903
+$(OBJDIR)/http_transport.h: $(OBJDIR)/headers
904
+
826905
$(OBJDIR)/import_.c: $(SRCDIR)/import.c $(OBJDIR)/translate
827906
$(TRANSLATE) $(SRCDIR)/import.c >$(OBJDIR)/import_.c
828907
829908
$(OBJDIR)/import.o: $(OBJDIR)/import_.c $(OBJDIR)/import.h $(SRCDIR)/config.h
830909
$(XTCC) -o $(OBJDIR)/import.o -c $(OBJDIR)/import_.c
831910
832
-import.h: $(OBJDIR)/headers
911
+$(OBJDIR)/import.h: $(OBJDIR)/headers
912
+
833913
$(OBJDIR)/info_.c: $(SRCDIR)/info.c $(OBJDIR)/translate
834914
$(TRANSLATE) $(SRCDIR)/info.c >$(OBJDIR)/info_.c
835915
836916
$(OBJDIR)/info.o: $(OBJDIR)/info_.c $(OBJDIR)/info.h $(SRCDIR)/config.h
837917
$(XTCC) -o $(OBJDIR)/info.o -c $(OBJDIR)/info_.c
838918
839
-info.h: $(OBJDIR)/headers
919
+$(OBJDIR)/info.h: $(OBJDIR)/headers
920
+
840921
$(OBJDIR)/json_.c: $(SRCDIR)/json.c $(OBJDIR)/translate
841922
$(TRANSLATE) $(SRCDIR)/json.c >$(OBJDIR)/json_.c
842923
843924
$(OBJDIR)/json.o: $(OBJDIR)/json_.c $(OBJDIR)/json.h $(SRCDIR)/config.h
844925
$(XTCC) -o $(OBJDIR)/json.o -c $(OBJDIR)/json_.c
845926
846
-json.h: $(OBJDIR)/headers
927
+$(OBJDIR)/json.h: $(OBJDIR)/headers
928
+
847929
$(OBJDIR)/json_artifact_.c: $(SRCDIR)/json_artifact.c $(OBJDIR)/translate
848930
$(TRANSLATE) $(SRCDIR)/json_artifact.c >$(OBJDIR)/json_artifact_.c
849931
850932
$(OBJDIR)/json_artifact.o: $(OBJDIR)/json_artifact_.c $(OBJDIR)/json_artifact.h $(SRCDIR)/config.h
851933
$(XTCC) -o $(OBJDIR)/json_artifact.o -c $(OBJDIR)/json_artifact_.c
852934
853
-json_artifact.h: $(OBJDIR)/headers
935
+$(OBJDIR)/json_artifact.h: $(OBJDIR)/headers
936
+
854937
$(OBJDIR)/json_branch_.c: $(SRCDIR)/json_branch.c $(OBJDIR)/translate
855938
$(TRANSLATE) $(SRCDIR)/json_branch.c >$(OBJDIR)/json_branch_.c
856939
857940
$(OBJDIR)/json_branch.o: $(OBJDIR)/json_branch_.c $(OBJDIR)/json_branch.h $(SRCDIR)/config.h
858941
$(XTCC) -o $(OBJDIR)/json_branch.o -c $(OBJDIR)/json_branch_.c
859942
860
-json_branch.h: $(OBJDIR)/headers
943
+$(OBJDIR)/json_branch.h: $(OBJDIR)/headers
944
+
861945
$(OBJDIR)/json_config_.c: $(SRCDIR)/json_config.c $(OBJDIR)/translate
862946
$(TRANSLATE) $(SRCDIR)/json_config.c >$(OBJDIR)/json_config_.c
863947
864948
$(OBJDIR)/json_config.o: $(OBJDIR)/json_config_.c $(OBJDIR)/json_config.h $(SRCDIR)/config.h
865949
$(XTCC) -o $(OBJDIR)/json_config.o -c $(OBJDIR)/json_config_.c
866950
867
-json_config.h: $(OBJDIR)/headers
951
+$(OBJDIR)/json_config.h: $(OBJDIR)/headers
952
+
868953
$(OBJDIR)/json_diff_.c: $(SRCDIR)/json_diff.c $(OBJDIR)/translate
869954
$(TRANSLATE) $(SRCDIR)/json_diff.c >$(OBJDIR)/json_diff_.c
870955
871956
$(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h
872957
$(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c
873958
874
-json_diff.h: $(OBJDIR)/headers
959
+$(OBJDIR)/json_diff.h: $(OBJDIR)/headers
960
+
875961
$(OBJDIR)/json_dir_.c: $(SRCDIR)/json_dir.c $(OBJDIR)/translate
876962
$(TRANSLATE) $(SRCDIR)/json_dir.c >$(OBJDIR)/json_dir_.c
877963
878964
$(OBJDIR)/json_dir.o: $(OBJDIR)/json_dir_.c $(OBJDIR)/json_dir.h $(SRCDIR)/config.h
879965
$(XTCC) -o $(OBJDIR)/json_dir.o -c $(OBJDIR)/json_dir_.c
880966
881
-json_dir.h: $(OBJDIR)/headers
967
+$(OBJDIR)/json_dir.h: $(OBJDIR)/headers
968
+
882969
$(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate
883970
$(TRANSLATE) $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c
884971
885972
$(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h
886973
$(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c
887974
888
-json_finfo.h: $(OBJDIR)/headers
975
+$(OBJDIR)/json_finfo.h: $(OBJDIR)/headers
976
+
889977
$(OBJDIR)/json_login_.c: $(SRCDIR)/json_login.c $(OBJDIR)/translate
890978
$(TRANSLATE) $(SRCDIR)/json_login.c >$(OBJDIR)/json_login_.c
891979
892980
$(OBJDIR)/json_login.o: $(OBJDIR)/json_login_.c $(OBJDIR)/json_login.h $(SRCDIR)/config.h
893981
$(XTCC) -o $(OBJDIR)/json_login.o -c $(OBJDIR)/json_login_.c
894982
895
-json_login.h: $(OBJDIR)/headers
983
+$(OBJDIR)/json_login.h: $(OBJDIR)/headers
984
+
896985
$(OBJDIR)/json_query_.c: $(SRCDIR)/json_query.c $(OBJDIR)/translate
897986
$(TRANSLATE) $(SRCDIR)/json_query.c >$(OBJDIR)/json_query_.c
898987
899988
$(OBJDIR)/json_query.o: $(OBJDIR)/json_query_.c $(OBJDIR)/json_query.h $(SRCDIR)/config.h
900989
$(XTCC) -o $(OBJDIR)/json_query.o -c $(OBJDIR)/json_query_.c
901990
902
-json_query.h: $(OBJDIR)/headers
991
+$(OBJDIR)/json_query.h: $(OBJDIR)/headers
992
+
903993
$(OBJDIR)/json_report_.c: $(SRCDIR)/json_report.c $(OBJDIR)/translate
904994
$(TRANSLATE) $(SRCDIR)/json_report.c >$(OBJDIR)/json_report_.c
905995
906996
$(OBJDIR)/json_report.o: $(OBJDIR)/json_report_.c $(OBJDIR)/json_report.h $(SRCDIR)/config.h
907997
$(XTCC) -o $(OBJDIR)/json_report.o -c $(OBJDIR)/json_report_.c
908998
909
-json_report.h: $(OBJDIR)/headers
999
+$(OBJDIR)/json_report.h: $(OBJDIR)/headers
1000
+
9101001
$(OBJDIR)/json_tag_.c: $(SRCDIR)/json_tag.c $(OBJDIR)/translate
9111002
$(TRANSLATE) $(SRCDIR)/json_tag.c >$(OBJDIR)/json_tag_.c
9121003
9131004
$(OBJDIR)/json_tag.o: $(OBJDIR)/json_tag_.c $(OBJDIR)/json_tag.h $(SRCDIR)/config.h
9141005
$(XTCC) -o $(OBJDIR)/json_tag.o -c $(OBJDIR)/json_tag_.c
9151006
916
-json_tag.h: $(OBJDIR)/headers
1007
+$(OBJDIR)/json_tag.h: $(OBJDIR)/headers
1008
+
9171009
$(OBJDIR)/json_timeline_.c: $(SRCDIR)/json_timeline.c $(OBJDIR)/translate
9181010
$(TRANSLATE) $(SRCDIR)/json_timeline.c >$(OBJDIR)/json_timeline_.c
9191011
9201012
$(OBJDIR)/json_timeline.o: $(OBJDIR)/json_timeline_.c $(OBJDIR)/json_timeline.h $(SRCDIR)/config.h
9211013
$(XTCC) -o $(OBJDIR)/json_timeline.o -c $(OBJDIR)/json_timeline_.c
9221014
923
-json_timeline.h: $(OBJDIR)/headers
1015
+$(OBJDIR)/json_timeline.h: $(OBJDIR)/headers
1016
+
9241017
$(OBJDIR)/json_user_.c: $(SRCDIR)/json_user.c $(OBJDIR)/translate
9251018
$(TRANSLATE) $(SRCDIR)/json_user.c >$(OBJDIR)/json_user_.c
9261019
9271020
$(OBJDIR)/json_user.o: $(OBJDIR)/json_user_.c $(OBJDIR)/json_user.h $(SRCDIR)/config.h
9281021
$(XTCC) -o $(OBJDIR)/json_user.o -c $(OBJDIR)/json_user_.c
9291022
930
-json_user.h: $(OBJDIR)/headers
1023
+$(OBJDIR)/json_user.h: $(OBJDIR)/headers
1024
+
9311025
$(OBJDIR)/json_wiki_.c: $(SRCDIR)/json_wiki.c $(OBJDIR)/translate
9321026
$(TRANSLATE) $(SRCDIR)/json_wiki.c >$(OBJDIR)/json_wiki_.c
9331027
9341028
$(OBJDIR)/json_wiki.o: $(OBJDIR)/json_wiki_.c $(OBJDIR)/json_wiki.h $(SRCDIR)/config.h
9351029
$(XTCC) -o $(OBJDIR)/json_wiki.o -c $(OBJDIR)/json_wiki_.c
9361030
937
-json_wiki.h: $(OBJDIR)/headers
1031
+$(OBJDIR)/json_wiki.h: $(OBJDIR)/headers
1032
+
9381033
$(OBJDIR)/leaf_.c: $(SRCDIR)/leaf.c $(OBJDIR)/translate
9391034
$(TRANSLATE) $(SRCDIR)/leaf.c >$(OBJDIR)/leaf_.c
9401035
9411036
$(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h
9421037
$(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c
9431038
944
-leaf.h: $(OBJDIR)/headers
1039
+$(OBJDIR)/leaf.h: $(OBJDIR)/headers
1040
+
9451041
$(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate
9461042
$(TRANSLATE) $(SRCDIR)/login.c >$(OBJDIR)/login_.c
9471043
9481044
$(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h
9491045
$(XTCC) -o $(OBJDIR)/login.o -c $(OBJDIR)/login_.c
9501046
951
-login.h: $(OBJDIR)/headers
1047
+$(OBJDIR)/login.h: $(OBJDIR)/headers
1048
+
9521049
$(OBJDIR)/main_.c: $(SRCDIR)/main.c $(OBJDIR)/translate
9531050
$(TRANSLATE) $(SRCDIR)/main.c >$(OBJDIR)/main_.c
9541051
9551052
$(OBJDIR)/main.o: $(OBJDIR)/main_.c $(OBJDIR)/main.h $(OBJDIR)/page_index.h $(SRCDIR)/config.h
9561053
$(XTCC) -o $(OBJDIR)/main.o -c $(OBJDIR)/main_.c
9571054
958
-main.h: $(OBJDIR)/headers
1055
+$(OBJDIR)/main.h: $(OBJDIR)/headers
1056
+
9591057
$(OBJDIR)/manifest_.c: $(SRCDIR)/manifest.c $(OBJDIR)/translate
9601058
$(TRANSLATE) $(SRCDIR)/manifest.c >$(OBJDIR)/manifest_.c
9611059
9621060
$(OBJDIR)/manifest.o: $(OBJDIR)/manifest_.c $(OBJDIR)/manifest.h $(SRCDIR)/config.h
9631061
$(XTCC) -o $(OBJDIR)/manifest.o -c $(OBJDIR)/manifest_.c
9641062
965
-manifest.h: $(OBJDIR)/headers
1063
+$(OBJDIR)/manifest.h: $(OBJDIR)/headers
1064
+
9661065
$(OBJDIR)/md5_.c: $(SRCDIR)/md5.c $(OBJDIR)/translate
9671066
$(TRANSLATE) $(SRCDIR)/md5.c >$(OBJDIR)/md5_.c
9681067
9691068
$(OBJDIR)/md5.o: $(OBJDIR)/md5_.c $(OBJDIR)/md5.h $(SRCDIR)/config.h
9701069
$(XTCC) -o $(OBJDIR)/md5.o -c $(OBJDIR)/md5_.c
9711070
972
-md5.h: $(OBJDIR)/headers
1071
+$(OBJDIR)/md5.h: $(OBJDIR)/headers
1072
+
9731073
$(OBJDIR)/merge_.c: $(SRCDIR)/merge.c $(OBJDIR)/translate
9741074
$(TRANSLATE) $(SRCDIR)/merge.c >$(OBJDIR)/merge_.c
9751075
9761076
$(OBJDIR)/merge.o: $(OBJDIR)/merge_.c $(OBJDIR)/merge.h $(SRCDIR)/config.h
9771077
$(XTCC) -o $(OBJDIR)/merge.o -c $(OBJDIR)/merge_.c
9781078
979
-merge.h: $(OBJDIR)/headers
1079
+$(OBJDIR)/merge.h: $(OBJDIR)/headers
1080
+
9801081
$(OBJDIR)/merge3_.c: $(SRCDIR)/merge3.c $(OBJDIR)/translate
9811082
$(TRANSLATE) $(SRCDIR)/merge3.c >$(OBJDIR)/merge3_.c
9821083
9831084
$(OBJDIR)/merge3.o: $(OBJDIR)/merge3_.c $(OBJDIR)/merge3.h $(SRCDIR)/config.h
9841085
$(XTCC) -o $(OBJDIR)/merge3.o -c $(OBJDIR)/merge3_.c
9851086
986
-merge3.h: $(OBJDIR)/headers
1087
+$(OBJDIR)/merge3.h: $(OBJDIR)/headers
1088
+
9871089
$(OBJDIR)/name_.c: $(SRCDIR)/name.c $(OBJDIR)/translate
9881090
$(TRANSLATE) $(SRCDIR)/name.c >$(OBJDIR)/name_.c
9891091
9901092
$(OBJDIR)/name.o: $(OBJDIR)/name_.c $(OBJDIR)/name.h $(SRCDIR)/config.h
9911093
$(XTCC) -o $(OBJDIR)/name.o -c $(OBJDIR)/name_.c
9921094
993
-name.h: $(OBJDIR)/headers
1095
+$(OBJDIR)/name.h: $(OBJDIR)/headers
1096
+
9941097
$(OBJDIR)/path_.c: $(SRCDIR)/path.c $(OBJDIR)/translate
9951098
$(TRANSLATE) $(SRCDIR)/path.c >$(OBJDIR)/path_.c
9961099
9971100
$(OBJDIR)/path.o: $(OBJDIR)/path_.c $(OBJDIR)/path.h $(SRCDIR)/config.h
9981101
$(XTCC) -o $(OBJDIR)/path.o -c $(OBJDIR)/path_.c
9991102
1000
-path.h: $(OBJDIR)/headers
1103
+$(OBJDIR)/path.h: $(OBJDIR)/headers
1104
+
10011105
$(OBJDIR)/pivot_.c: $(SRCDIR)/pivot.c $(OBJDIR)/translate
10021106
$(TRANSLATE) $(SRCDIR)/pivot.c >$(OBJDIR)/pivot_.c
10031107
10041108
$(OBJDIR)/pivot.o: $(OBJDIR)/pivot_.c $(OBJDIR)/pivot.h $(SRCDIR)/config.h
10051109
$(XTCC) -o $(OBJDIR)/pivot.o -c $(OBJDIR)/pivot_.c
10061110
1007
-pivot.h: $(OBJDIR)/headers
1111
+$(OBJDIR)/pivot.h: $(OBJDIR)/headers
1112
+
10081113
$(OBJDIR)/popen_.c: $(SRCDIR)/popen.c $(OBJDIR)/translate
10091114
$(TRANSLATE) $(SRCDIR)/popen.c >$(OBJDIR)/popen_.c
10101115
10111116
$(OBJDIR)/popen.o: $(OBJDIR)/popen_.c $(OBJDIR)/popen.h $(SRCDIR)/config.h
10121117
$(XTCC) -o $(OBJDIR)/popen.o -c $(OBJDIR)/popen_.c
10131118
1014
-popen.h: $(OBJDIR)/headers
1119
+$(OBJDIR)/popen.h: $(OBJDIR)/headers
1120
+
10151121
$(OBJDIR)/pqueue_.c: $(SRCDIR)/pqueue.c $(OBJDIR)/translate
10161122
$(TRANSLATE) $(SRCDIR)/pqueue.c >$(OBJDIR)/pqueue_.c
10171123
10181124
$(OBJDIR)/pqueue.o: $(OBJDIR)/pqueue_.c $(OBJDIR)/pqueue.h $(SRCDIR)/config.h
10191125
$(XTCC) -o $(OBJDIR)/pqueue.o -c $(OBJDIR)/pqueue_.c
10201126
1021
-pqueue.h: $(OBJDIR)/headers
1127
+$(OBJDIR)/pqueue.h: $(OBJDIR)/headers
1128
+
10221129
$(OBJDIR)/printf_.c: $(SRCDIR)/printf.c $(OBJDIR)/translate
10231130
$(TRANSLATE) $(SRCDIR)/printf.c >$(OBJDIR)/printf_.c
10241131
10251132
$(OBJDIR)/printf.o: $(OBJDIR)/printf_.c $(OBJDIR)/printf.h $(SRCDIR)/config.h
10261133
$(XTCC) -o $(OBJDIR)/printf.o -c $(OBJDIR)/printf_.c
10271134
1028
-printf.h: $(OBJDIR)/headers
1135
+$(OBJDIR)/printf.h: $(OBJDIR)/headers
1136
+
10291137
$(OBJDIR)/rebuild_.c: $(SRCDIR)/rebuild.c $(OBJDIR)/translate
10301138
$(TRANSLATE) $(SRCDIR)/rebuild.c >$(OBJDIR)/rebuild_.c
10311139
10321140
$(OBJDIR)/rebuild.o: $(OBJDIR)/rebuild_.c $(OBJDIR)/rebuild.h $(SRCDIR)/config.h
10331141
$(XTCC) -o $(OBJDIR)/rebuild.o -c $(OBJDIR)/rebuild_.c
10341142
1035
-rebuild.h: $(OBJDIR)/headers
1143
+$(OBJDIR)/rebuild.h: $(OBJDIR)/headers
1144
+
10361145
$(OBJDIR)/report_.c: $(SRCDIR)/report.c $(OBJDIR)/translate
10371146
$(TRANSLATE) $(SRCDIR)/report.c >$(OBJDIR)/report_.c
10381147
10391148
$(OBJDIR)/report.o: $(OBJDIR)/report_.c $(OBJDIR)/report.h $(SRCDIR)/config.h
10401149
$(XTCC) -o $(OBJDIR)/report.o -c $(OBJDIR)/report_.c
10411150
1042
-report.h: $(OBJDIR)/headers
1151
+$(OBJDIR)/report.h: $(OBJDIR)/headers
1152
+
10431153
$(OBJDIR)/rss_.c: $(SRCDIR)/rss.c $(OBJDIR)/translate
10441154
$(TRANSLATE) $(SRCDIR)/rss.c >$(OBJDIR)/rss_.c
10451155
10461156
$(OBJDIR)/rss.o: $(OBJDIR)/rss_.c $(OBJDIR)/rss.h $(SRCDIR)/config.h
10471157
$(XTCC) -o $(OBJDIR)/rss.o -c $(OBJDIR)/rss_.c
10481158
1049
-rss.h: $(OBJDIR)/headers
1159
+$(OBJDIR)/rss.h: $(OBJDIR)/headers
1160
+
10501161
$(OBJDIR)/schema_.c: $(SRCDIR)/schema.c $(OBJDIR)/translate
10511162
$(TRANSLATE) $(SRCDIR)/schema.c >$(OBJDIR)/schema_.c
10521163
10531164
$(OBJDIR)/schema.o: $(OBJDIR)/schema_.c $(OBJDIR)/schema.h $(SRCDIR)/config.h
10541165
$(XTCC) -o $(OBJDIR)/schema.o -c $(OBJDIR)/schema_.c
10551166
1056
-schema.h: $(OBJDIR)/headers
1167
+$(OBJDIR)/schema.h: $(OBJDIR)/headers
1168
+
10571169
$(OBJDIR)/search_.c: $(SRCDIR)/search.c $(OBJDIR)/translate
10581170
$(TRANSLATE) $(SRCDIR)/search.c >$(OBJDIR)/search_.c
10591171
10601172
$(OBJDIR)/search.o: $(OBJDIR)/search_.c $(OBJDIR)/search.h $(SRCDIR)/config.h
10611173
$(XTCC) -o $(OBJDIR)/search.o -c $(OBJDIR)/search_.c
10621174
1063
-search.h: $(OBJDIR)/headers
1175
+$(OBJDIR)/search.h: $(OBJDIR)/headers
1176
+
10641177
$(OBJDIR)/setup_.c: $(SRCDIR)/setup.c $(OBJDIR)/translate
10651178
$(TRANSLATE) $(SRCDIR)/setup.c >$(OBJDIR)/setup_.c
10661179
10671180
$(OBJDIR)/setup.o: $(OBJDIR)/setup_.c $(OBJDIR)/setup.h $(SRCDIR)/config.h
10681181
$(XTCC) -o $(OBJDIR)/setup.o -c $(OBJDIR)/setup_.c
10691182
1070
-setup.h: $(OBJDIR)/headers
1183
+$(OBJDIR)/setup.h: $(OBJDIR)/headers
1184
+
10711185
$(OBJDIR)/sha1_.c: $(SRCDIR)/sha1.c $(OBJDIR)/translate
10721186
$(TRANSLATE) $(SRCDIR)/sha1.c >$(OBJDIR)/sha1_.c
10731187
10741188
$(OBJDIR)/sha1.o: $(OBJDIR)/sha1_.c $(OBJDIR)/sha1.h $(SRCDIR)/config.h
10751189
$(XTCC) -o $(OBJDIR)/sha1.o -c $(OBJDIR)/sha1_.c
10761190
1077
-sha1.h: $(OBJDIR)/headers
1191
+$(OBJDIR)/sha1.h: $(OBJDIR)/headers
1192
+
10781193
$(OBJDIR)/shun_.c: $(SRCDIR)/shun.c $(OBJDIR)/translate
10791194
$(TRANSLATE) $(SRCDIR)/shun.c >$(OBJDIR)/shun_.c
10801195
10811196
$(OBJDIR)/shun.o: $(OBJDIR)/shun_.c $(OBJDIR)/shun.h $(SRCDIR)/config.h
10821197
$(XTCC) -o $(OBJDIR)/shun.o -c $(OBJDIR)/shun_.c
10831198
1084
-shun.h: $(OBJDIR)/headers
1199
+$(OBJDIR)/shun.h: $(OBJDIR)/headers
1200
+
10851201
$(OBJDIR)/skins_.c: $(SRCDIR)/skins.c $(OBJDIR)/translate
10861202
$(TRANSLATE) $(SRCDIR)/skins.c >$(OBJDIR)/skins_.c
10871203
10881204
$(OBJDIR)/skins.o: $(OBJDIR)/skins_.c $(OBJDIR)/skins.h $(SRCDIR)/config.h
10891205
$(XTCC) -o $(OBJDIR)/skins.o -c $(OBJDIR)/skins_.c
10901206
1091
-skins.h: $(OBJDIR)/headers
1207
+$(OBJDIR)/skins.h: $(OBJDIR)/headers
1208
+
10921209
$(OBJDIR)/sqlcmd_.c: $(SRCDIR)/sqlcmd.c $(OBJDIR)/translate
10931210
$(TRANSLATE) $(SRCDIR)/sqlcmd.c >$(OBJDIR)/sqlcmd_.c
10941211
10951212
$(OBJDIR)/sqlcmd.o: $(OBJDIR)/sqlcmd_.c $(OBJDIR)/sqlcmd.h $(SRCDIR)/config.h
10961213
$(XTCC) -o $(OBJDIR)/sqlcmd.o -c $(OBJDIR)/sqlcmd_.c
10971214
1098
-sqlcmd.h: $(OBJDIR)/headers
1215
+$(OBJDIR)/sqlcmd.h: $(OBJDIR)/headers
1216
+
10991217
$(OBJDIR)/stash_.c: $(SRCDIR)/stash.c $(OBJDIR)/translate
11001218
$(TRANSLATE) $(SRCDIR)/stash.c >$(OBJDIR)/stash_.c
11011219
11021220
$(OBJDIR)/stash.o: $(OBJDIR)/stash_.c $(OBJDIR)/stash.h $(SRCDIR)/config.h
11031221
$(XTCC) -o $(OBJDIR)/stash.o -c $(OBJDIR)/stash_.c
11041222
1105
-stash.h: $(OBJDIR)/headers
1223
+$(OBJDIR)/stash.h: $(OBJDIR)/headers
1224
+
11061225
$(OBJDIR)/stat_.c: $(SRCDIR)/stat.c $(OBJDIR)/translate
11071226
$(TRANSLATE) $(SRCDIR)/stat.c >$(OBJDIR)/stat_.c
11081227
11091228
$(OBJDIR)/stat.o: $(OBJDIR)/stat_.c $(OBJDIR)/stat.h $(SRCDIR)/config.h
11101229
$(XTCC) -o $(OBJDIR)/stat.o -c $(OBJDIR)/stat_.c
11111230
1112
-stat.h: $(OBJDIR)/headers
1231
+$(OBJDIR)/stat.h: $(OBJDIR)/headers
1232
+
11131233
$(OBJDIR)/style_.c: $(SRCDIR)/style.c $(OBJDIR)/translate
11141234
$(TRANSLATE) $(SRCDIR)/style.c >$(OBJDIR)/style_.c
11151235
11161236
$(OBJDIR)/style.o: $(OBJDIR)/style_.c $(OBJDIR)/style.h $(SRCDIR)/config.h
11171237
$(XTCC) -o $(OBJDIR)/style.o -c $(OBJDIR)/style_.c
11181238
1119
-style.h: $(OBJDIR)/headers
1239
+$(OBJDIR)/style.h: $(OBJDIR)/headers
1240
+
11201241
$(OBJDIR)/sync_.c: $(SRCDIR)/sync.c $(OBJDIR)/translate
11211242
$(TRANSLATE) $(SRCDIR)/sync.c >$(OBJDIR)/sync_.c
11221243
11231244
$(OBJDIR)/sync.o: $(OBJDIR)/sync_.c $(OBJDIR)/sync.h $(SRCDIR)/config.h
11241245
$(XTCC) -o $(OBJDIR)/sync.o -c $(OBJDIR)/sync_.c
11251246
1126
-sync.h: $(OBJDIR)/headers
1247
+$(OBJDIR)/sync.h: $(OBJDIR)/headers
1248
+
11271249
$(OBJDIR)/tag_.c: $(SRCDIR)/tag.c $(OBJDIR)/translate
11281250
$(TRANSLATE) $(SRCDIR)/tag.c >$(OBJDIR)/tag_.c
11291251
11301252
$(OBJDIR)/tag.o: $(OBJDIR)/tag_.c $(OBJDIR)/tag.h $(SRCDIR)/config.h
11311253
$(XTCC) -o $(OBJDIR)/tag.o -c $(OBJDIR)/tag_.c
11321254
1133
-tag.h: $(OBJDIR)/headers
1255
+$(OBJDIR)/tag.h: $(OBJDIR)/headers
1256
+
11341257
$(OBJDIR)/tar_.c: $(SRCDIR)/tar.c $(OBJDIR)/translate
11351258
$(TRANSLATE) $(SRCDIR)/tar.c >$(OBJDIR)/tar_.c
11361259
11371260
$(OBJDIR)/tar.o: $(OBJDIR)/tar_.c $(OBJDIR)/tar.h $(SRCDIR)/config.h
11381261
$(XTCC) -o $(OBJDIR)/tar.o -c $(OBJDIR)/tar_.c
11391262
1140
-tar.h: $(OBJDIR)/headers
1263
+$(OBJDIR)/tar.h: $(OBJDIR)/headers
1264
+
11411265
$(OBJDIR)/th_main_.c: $(SRCDIR)/th_main.c $(OBJDIR)/translate
11421266
$(TRANSLATE) $(SRCDIR)/th_main.c >$(OBJDIR)/th_main_.c
11431267
11441268
$(OBJDIR)/th_main.o: $(OBJDIR)/th_main_.c $(OBJDIR)/th_main.h $(SRCDIR)/config.h
11451269
$(XTCC) -o $(OBJDIR)/th_main.o -c $(OBJDIR)/th_main_.c
11461270
1147
-th_main.h: $(OBJDIR)/headers
1271
+$(OBJDIR)/th_main.h: $(OBJDIR)/headers
1272
+
11481273
$(OBJDIR)/timeline_.c: $(SRCDIR)/timeline.c $(OBJDIR)/translate
11491274
$(TRANSLATE) $(SRCDIR)/timeline.c >$(OBJDIR)/timeline_.c
11501275
11511276
$(OBJDIR)/timeline.o: $(OBJDIR)/timeline_.c $(OBJDIR)/timeline.h $(SRCDIR)/config.h
11521277
$(XTCC) -o $(OBJDIR)/timeline.o -c $(OBJDIR)/timeline_.c
11531278
1154
-timeline.h: $(OBJDIR)/headers
1279
+$(OBJDIR)/timeline.h: $(OBJDIR)/headers
1280
+
11551281
$(OBJDIR)/tkt_.c: $(SRCDIR)/tkt.c $(OBJDIR)/translate
11561282
$(TRANSLATE) $(SRCDIR)/tkt.c >$(OBJDIR)/tkt_.c
11571283
11581284
$(OBJDIR)/tkt.o: $(OBJDIR)/tkt_.c $(OBJDIR)/tkt.h $(SRCDIR)/config.h
11591285
$(XTCC) -o $(OBJDIR)/tkt.o -c $(OBJDIR)/tkt_.c
11601286
1161
-tkt.h: $(OBJDIR)/headers
1287
+$(OBJDIR)/tkt.h: $(OBJDIR)/headers
1288
+
11621289
$(OBJDIR)/tktsetup_.c: $(SRCDIR)/tktsetup.c $(OBJDIR)/translate
11631290
$(TRANSLATE) $(SRCDIR)/tktsetup.c >$(OBJDIR)/tktsetup_.c
11641291
11651292
$(OBJDIR)/tktsetup.o: $(OBJDIR)/tktsetup_.c $(OBJDIR)/tktsetup.h $(SRCDIR)/config.h
11661293
$(XTCC) -o $(OBJDIR)/tktsetup.o -c $(OBJDIR)/tktsetup_.c
11671294
1168
-tktsetup.h: $(OBJDIR)/headers
1295
+$(OBJDIR)/tktsetup.h: $(OBJDIR)/headers
1296
+
11691297
$(OBJDIR)/undo_.c: $(SRCDIR)/undo.c $(OBJDIR)/translate
11701298
$(TRANSLATE) $(SRCDIR)/undo.c >$(OBJDIR)/undo_.c
11711299
11721300
$(OBJDIR)/undo.o: $(OBJDIR)/undo_.c $(OBJDIR)/undo.h $(SRCDIR)/config.h
11731301
$(XTCC) -o $(OBJDIR)/undo.o -c $(OBJDIR)/undo_.c
11741302
1175
-undo.h: $(OBJDIR)/headers
1303
+$(OBJDIR)/undo.h: $(OBJDIR)/headers
1304
+
11761305
$(OBJDIR)/update_.c: $(SRCDIR)/update.c $(OBJDIR)/translate
11771306
$(TRANSLATE) $(SRCDIR)/update.c >$(OBJDIR)/update_.c
11781307
11791308
$(OBJDIR)/update.o: $(OBJDIR)/update_.c $(OBJDIR)/update.h $(SRCDIR)/config.h
11801309
$(XTCC) -o $(OBJDIR)/update.o -c $(OBJDIR)/update_.c
11811310
1182
-update.h: $(OBJDIR)/headers
1311
+$(OBJDIR)/update.h: $(OBJDIR)/headers
1312
+
11831313
$(OBJDIR)/url_.c: $(SRCDIR)/url.c $(OBJDIR)/translate
11841314
$(TRANSLATE) $(SRCDIR)/url.c >$(OBJDIR)/url_.c
11851315
11861316
$(OBJDIR)/url.o: $(OBJDIR)/url_.c $(OBJDIR)/url.h $(SRCDIR)/config.h
11871317
$(XTCC) -o $(OBJDIR)/url.o -c $(OBJDIR)/url_.c
11881318
1189
-url.h: $(OBJDIR)/headers
1319
+$(OBJDIR)/url.h: $(OBJDIR)/headers
1320
+
11901321
$(OBJDIR)/user_.c: $(SRCDIR)/user.c $(OBJDIR)/translate
11911322
$(TRANSLATE) $(SRCDIR)/user.c >$(OBJDIR)/user_.c
11921323
11931324
$(OBJDIR)/user.o: $(OBJDIR)/user_.c $(OBJDIR)/user.h $(SRCDIR)/config.h
11941325
$(XTCC) -o $(OBJDIR)/user.o -c $(OBJDIR)/user_.c
11951326
1196
-user.h: $(OBJDIR)/headers
1327
+$(OBJDIR)/user.h: $(OBJDIR)/headers
1328
+
11971329
$(OBJDIR)/verify_.c: $(SRCDIR)/verify.c $(OBJDIR)/translate
11981330
$(TRANSLATE) $(SRCDIR)/verify.c >$(OBJDIR)/verify_.c
11991331
12001332
$(OBJDIR)/verify.o: $(OBJDIR)/verify_.c $(OBJDIR)/verify.h $(SRCDIR)/config.h
12011333
$(XTCC) -o $(OBJDIR)/verify.o -c $(OBJDIR)/verify_.c
12021334
1203
-verify.h: $(OBJDIR)/headers
1335
+$(OBJDIR)/verify.h: $(OBJDIR)/headers
1336
+
12041337
$(OBJDIR)/vfile_.c: $(SRCDIR)/vfile.c $(OBJDIR)/translate
12051338
$(TRANSLATE) $(SRCDIR)/vfile.c >$(OBJDIR)/vfile_.c
12061339
12071340
$(OBJDIR)/vfile.o: $(OBJDIR)/vfile_.c $(OBJDIR)/vfile.h $(SRCDIR)/config.h
12081341
$(XTCC) -o $(OBJDIR)/vfile.o -c $(OBJDIR)/vfile_.c
12091342
1210
-vfile.h: $(OBJDIR)/headers
1343
+$(OBJDIR)/vfile.h: $(OBJDIR)/headers
1344
+
12111345
$(OBJDIR)/wiki_.c: $(SRCDIR)/wiki.c $(OBJDIR)/translate
12121346
$(TRANSLATE) $(SRCDIR)/wiki.c >$(OBJDIR)/wiki_.c
12131347
12141348
$(OBJDIR)/wiki.o: $(OBJDIR)/wiki_.c $(OBJDIR)/wiki.h $(SRCDIR)/config.h
12151349
$(XTCC) -o $(OBJDIR)/wiki.o -c $(OBJDIR)/wiki_.c
12161350
1217
-wiki.h: $(OBJDIR)/headers
1351
+$(OBJDIR)/wiki.h: $(OBJDIR)/headers
1352
+
12181353
$(OBJDIR)/wikiformat_.c: $(SRCDIR)/wikiformat.c $(OBJDIR)/translate
12191354
$(TRANSLATE) $(SRCDIR)/wikiformat.c >$(OBJDIR)/wikiformat_.c
12201355
12211356
$(OBJDIR)/wikiformat.o: $(OBJDIR)/wikiformat_.c $(OBJDIR)/wikiformat.h $(SRCDIR)/config.h
12221357
$(XTCC) -o $(OBJDIR)/wikiformat.o -c $(OBJDIR)/wikiformat_.c
12231358
1224
-wikiformat.h: $(OBJDIR)/headers
1359
+$(OBJDIR)/wikiformat.h: $(OBJDIR)/headers
1360
+
12251361
$(OBJDIR)/winhttp_.c: $(SRCDIR)/winhttp.c $(OBJDIR)/translate
12261362
$(TRANSLATE) $(SRCDIR)/winhttp.c >$(OBJDIR)/winhttp_.c
12271363
12281364
$(OBJDIR)/winhttp.o: $(OBJDIR)/winhttp_.c $(OBJDIR)/winhttp.h $(SRCDIR)/config.h
12291365
$(XTCC) -o $(OBJDIR)/winhttp.o -c $(OBJDIR)/winhttp_.c
12301366
1231
-winhttp.h: $(OBJDIR)/headers
1367
+$(OBJDIR)/winhttp.h: $(OBJDIR)/headers
1368
+
12321369
$(OBJDIR)/wysiwyg_.c: $(SRCDIR)/wysiwyg.c $(OBJDIR)/translate
12331370
$(TRANSLATE) $(SRCDIR)/wysiwyg.c >$(OBJDIR)/wysiwyg_.c
12341371
12351372
$(OBJDIR)/wysiwyg.o: $(OBJDIR)/wysiwyg_.c $(OBJDIR)/wysiwyg.h $(SRCDIR)/config.h
12361373
$(XTCC) -o $(OBJDIR)/wysiwyg.o -c $(OBJDIR)/wysiwyg_.c
12371374
1238
-wysiwyg.h: $(OBJDIR)/headers
1375
+$(OBJDIR)/wysiwyg.h: $(OBJDIR)/headers
1376
+
12391377
$(OBJDIR)/xfer_.c: $(SRCDIR)/xfer.c $(OBJDIR)/translate
12401378
$(TRANSLATE) $(SRCDIR)/xfer.c >$(OBJDIR)/xfer_.c
12411379
12421380
$(OBJDIR)/xfer.o: $(OBJDIR)/xfer_.c $(OBJDIR)/xfer.h $(SRCDIR)/config.h
12431381
$(XTCC) -o $(OBJDIR)/xfer.o -c $(OBJDIR)/xfer_.c
12441382
1245
-xfer.h: $(OBJDIR)/headers
1383
+$(OBJDIR)/xfer.h: $(OBJDIR)/headers
1384
+
12461385
$(OBJDIR)/xfersetup_.c: $(SRCDIR)/xfersetup.c $(OBJDIR)/translate
12471386
$(TRANSLATE) $(SRCDIR)/xfersetup.c >$(OBJDIR)/xfersetup_.c
12481387
12491388
$(OBJDIR)/xfersetup.o: $(OBJDIR)/xfersetup_.c $(OBJDIR)/xfersetup.h $(SRCDIR)/config.h
12501389
$(XTCC) -o $(OBJDIR)/xfersetup.o -c $(OBJDIR)/xfersetup_.c
12511390
1252
-xfersetup.h: $(OBJDIR)/headers
1391
+$(OBJDIR)/xfersetup.h: $(OBJDIR)/headers
1392
+
12531393
$(OBJDIR)/zip_.c: $(SRCDIR)/zip.c $(OBJDIR)/translate
12541394
$(TRANSLATE) $(SRCDIR)/zip.c >$(OBJDIR)/zip_.c
12551395
12561396
$(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h
12571397
$(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c
12581398
1259
-zip.h: $(OBJDIR)/headers
1399
+$(OBJDIR)/zip.h: $(OBJDIR)/headers
1400
+
12601401
$(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c
12611402
$(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o
12621403
12631404
$(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
12641405
$(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
@@ -1276,6 +1417,5 @@
12761417
12771418
ifdef FOSSIL_ENABLE_TCL
12781419
$(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
12791420
$(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
12801421
endif
1281
-
12821422
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -14,10 +14,11 @@
14
15 #### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
16 # By default, this is an empty string (i.e. use the native compiler).
17 #
18 PREFIX =
 
19 # PREFIX = i686-pc-mingw32-
20 # PREFIX = i686-w64-mingw32-
21 # PREFIX = x86_64-w64-mingw32-
22
23 #### The toplevel directory of the source tree. Fossil can be built
@@ -494,29 +495,67 @@
494 $(OBJDIR)/xfer.o \
495 $(OBJDIR)/xfersetup.o \
496 $(OBJDIR)/zip.o
497
498 APPNAME = fossil.exe
499 TRANSLATE = $(OBJDIR)/translate.exe
500 MAKEHEADERS = $(OBJDIR)/makeheaders.exe
501 MKINDEX = $(OBJDIR)/mkindex.exe
502 VERSION = $(OBJDIR)/version.exe
503
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
504
505 all: $(OBJDIR) $(APPNAME)
506
507 $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc
508 cp $(SRCDIR)/../win/fossil.rc $(OBJDIR)
509 cp $(SRCDIR)/../win/fossil.ico $(OBJDIR)
 
 
 
 
 
510 $(RCC) $(OBJDIR)/fossil.rc -o $(OBJDIR)/fossil.o
511
512 install: $(APPNAME)
513 mkdir -p $(INSTALLDIR)
514 mv $(APPNAME) $(INSTALLDIR)
 
 
 
 
 
515
516 $(OBJDIR):
517 mkdir $(OBJDIR)
 
 
 
 
518
519 $(OBJDIR)/translate: $(SRCDIR)/translate.c
520 $(BCC) -o $(OBJDIR)/translate $(SRCDIR)/translate.c
521
522 $(OBJDIR)/makeheaders: $(SRCDIR)/makeheaders.c
@@ -550,715 +589,817 @@
550 # an executable named "manifest" out of the file named "manifest.c"
551 #
552 $(SRCDIR)/../manifest:
553 # noop
554
555 # Requires MSYS to be installed in addition to the MinGW, for the "rm"
556 # command. "del" will not work here because it is not a separate command
557 # but a MSDOS-shell builtin.
558 #
559 clean:
560 rm -rf $(OBJDIR) $(APPNAME)
 
 
 
 
 
 
561
562 setup: $(OBJDIR) $(APPNAME)
563 $(MAKENSIS) ./fossil.nsi
564
565
566 $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex
567 $(MKINDEX) $(TRANS_SRC) >$@
 
568 $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h
569 $(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/path_.c:$(OBJDIR)/path.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/tar_.c:$(OBJDIR)/tar.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/wysiwyg_.c:$(OBJDIR)/wysiwyg.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h
570 echo Done >$(OBJDIR)/headers
571
572 $(OBJDIR)/headers: Makefile
 
573 Makefile:
 
574 $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate
575 $(TRANSLATE) $(SRCDIR)/add.c >$(OBJDIR)/add_.c
576
577 $(OBJDIR)/add.o: $(OBJDIR)/add_.c $(OBJDIR)/add.h $(SRCDIR)/config.h
578 $(XTCC) -o $(OBJDIR)/add.o -c $(OBJDIR)/add_.c
579
580 add.h: $(OBJDIR)/headers
 
581 $(OBJDIR)/allrepo_.c: $(SRCDIR)/allrepo.c $(OBJDIR)/translate
582 $(TRANSLATE) $(SRCDIR)/allrepo.c >$(OBJDIR)/allrepo_.c
583
584 $(OBJDIR)/allrepo.o: $(OBJDIR)/allrepo_.c $(OBJDIR)/allrepo.h $(SRCDIR)/config.h
585 $(XTCC) -o $(OBJDIR)/allrepo.o -c $(OBJDIR)/allrepo_.c
586
587 allrepo.h: $(OBJDIR)/headers
 
588 $(OBJDIR)/attach_.c: $(SRCDIR)/attach.c $(OBJDIR)/translate
589 $(TRANSLATE) $(SRCDIR)/attach.c >$(OBJDIR)/attach_.c
590
591 $(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h
592 $(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c
593
594 attach.h: $(OBJDIR)/headers
 
595 $(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(OBJDIR)/translate
596 $(TRANSLATE) $(SRCDIR)/bag.c >$(OBJDIR)/bag_.c
597
598 $(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h
599 $(XTCC) -o $(OBJDIR)/bag.o -c $(OBJDIR)/bag_.c
600
601 bag.h: $(OBJDIR)/headers
 
602 $(OBJDIR)/bisect_.c: $(SRCDIR)/bisect.c $(OBJDIR)/translate
603 $(TRANSLATE) $(SRCDIR)/bisect.c >$(OBJDIR)/bisect_.c
604
605 $(OBJDIR)/bisect.o: $(OBJDIR)/bisect_.c $(OBJDIR)/bisect.h $(SRCDIR)/config.h
606 $(XTCC) -o $(OBJDIR)/bisect.o -c $(OBJDIR)/bisect_.c
607
608 bisect.h: $(OBJDIR)/headers
 
609 $(OBJDIR)/blob_.c: $(SRCDIR)/blob.c $(OBJDIR)/translate
610 $(TRANSLATE) $(SRCDIR)/blob.c >$(OBJDIR)/blob_.c
611
612 $(OBJDIR)/blob.o: $(OBJDIR)/blob_.c $(OBJDIR)/blob.h $(SRCDIR)/config.h
613 $(XTCC) -o $(OBJDIR)/blob.o -c $(OBJDIR)/blob_.c
614
615 blob.h: $(OBJDIR)/headers
 
616 $(OBJDIR)/branch_.c: $(SRCDIR)/branch.c $(OBJDIR)/translate
617 $(TRANSLATE) $(SRCDIR)/branch.c >$(OBJDIR)/branch_.c
618
619 $(OBJDIR)/branch.o: $(OBJDIR)/branch_.c $(OBJDIR)/branch.h $(SRCDIR)/config.h
620 $(XTCC) -o $(OBJDIR)/branch.o -c $(OBJDIR)/branch_.c
621
622 branch.h: $(OBJDIR)/headers
 
623 $(OBJDIR)/browse_.c: $(SRCDIR)/browse.c $(OBJDIR)/translate
624 $(TRANSLATE) $(SRCDIR)/browse.c >$(OBJDIR)/browse_.c
625
626 $(OBJDIR)/browse.o: $(OBJDIR)/browse_.c $(OBJDIR)/browse.h $(SRCDIR)/config.h
627 $(XTCC) -o $(OBJDIR)/browse.o -c $(OBJDIR)/browse_.c
628
629 browse.h: $(OBJDIR)/headers
 
630 $(OBJDIR)/captcha_.c: $(SRCDIR)/captcha.c $(OBJDIR)/translate
631 $(TRANSLATE) $(SRCDIR)/captcha.c >$(OBJDIR)/captcha_.c
632
633 $(OBJDIR)/captcha.o: $(OBJDIR)/captcha_.c $(OBJDIR)/captcha.h $(SRCDIR)/config.h
634 $(XTCC) -o $(OBJDIR)/captcha.o -c $(OBJDIR)/captcha_.c
635
636 captcha.h: $(OBJDIR)/headers
 
637 $(OBJDIR)/cgi_.c: $(SRCDIR)/cgi.c $(OBJDIR)/translate
638 $(TRANSLATE) $(SRCDIR)/cgi.c >$(OBJDIR)/cgi_.c
639
640 $(OBJDIR)/cgi.o: $(OBJDIR)/cgi_.c $(OBJDIR)/cgi.h $(SRCDIR)/config.h
641 $(XTCC) -o $(OBJDIR)/cgi.o -c $(OBJDIR)/cgi_.c
642
643 cgi.h: $(OBJDIR)/headers
 
644 $(OBJDIR)/checkin_.c: $(SRCDIR)/checkin.c $(OBJDIR)/translate
645 $(TRANSLATE) $(SRCDIR)/checkin.c >$(OBJDIR)/checkin_.c
646
647 $(OBJDIR)/checkin.o: $(OBJDIR)/checkin_.c $(OBJDIR)/checkin.h $(SRCDIR)/config.h
648 $(XTCC) -o $(OBJDIR)/checkin.o -c $(OBJDIR)/checkin_.c
649
650 checkin.h: $(OBJDIR)/headers
 
651 $(OBJDIR)/checkout_.c: $(SRCDIR)/checkout.c $(OBJDIR)/translate
652 $(TRANSLATE) $(SRCDIR)/checkout.c >$(OBJDIR)/checkout_.c
653
654 $(OBJDIR)/checkout.o: $(OBJDIR)/checkout_.c $(OBJDIR)/checkout.h $(SRCDIR)/config.h
655 $(XTCC) -o $(OBJDIR)/checkout.o -c $(OBJDIR)/checkout_.c
656
657 checkout.h: $(OBJDIR)/headers
 
658 $(OBJDIR)/clearsign_.c: $(SRCDIR)/clearsign.c $(OBJDIR)/translate
659 $(TRANSLATE) $(SRCDIR)/clearsign.c >$(OBJDIR)/clearsign_.c
660
661 $(OBJDIR)/clearsign.o: $(OBJDIR)/clearsign_.c $(OBJDIR)/clearsign.h $(SRCDIR)/config.h
662 $(XTCC) -o $(OBJDIR)/clearsign.o -c $(OBJDIR)/clearsign_.c
663
664 clearsign.h: $(OBJDIR)/headers
 
665 $(OBJDIR)/clone_.c: $(SRCDIR)/clone.c $(OBJDIR)/translate
666 $(TRANSLATE) $(SRCDIR)/clone.c >$(OBJDIR)/clone_.c
667
668 $(OBJDIR)/clone.o: $(OBJDIR)/clone_.c $(OBJDIR)/clone.h $(SRCDIR)/config.h
669 $(XTCC) -o $(OBJDIR)/clone.o -c $(OBJDIR)/clone_.c
670
671 clone.h: $(OBJDIR)/headers
 
672 $(OBJDIR)/comformat_.c: $(SRCDIR)/comformat.c $(OBJDIR)/translate
673 $(TRANSLATE) $(SRCDIR)/comformat.c >$(OBJDIR)/comformat_.c
674
675 $(OBJDIR)/comformat.o: $(OBJDIR)/comformat_.c $(OBJDIR)/comformat.h $(SRCDIR)/config.h
676 $(XTCC) -o $(OBJDIR)/comformat.o -c $(OBJDIR)/comformat_.c
677
678 comformat.h: $(OBJDIR)/headers
 
679 $(OBJDIR)/configure_.c: $(SRCDIR)/configure.c $(OBJDIR)/translate
680 $(TRANSLATE) $(SRCDIR)/configure.c >$(OBJDIR)/configure_.c
681
682 $(OBJDIR)/configure.o: $(OBJDIR)/configure_.c $(OBJDIR)/configure.h $(SRCDIR)/config.h
683 $(XTCC) -o $(OBJDIR)/configure.o -c $(OBJDIR)/configure_.c
684
685 configure.h: $(OBJDIR)/headers
 
686 $(OBJDIR)/content_.c: $(SRCDIR)/content.c $(OBJDIR)/translate
687 $(TRANSLATE) $(SRCDIR)/content.c >$(OBJDIR)/content_.c
688
689 $(OBJDIR)/content.o: $(OBJDIR)/content_.c $(OBJDIR)/content.h $(SRCDIR)/config.h
690 $(XTCC) -o $(OBJDIR)/content.o -c $(OBJDIR)/content_.c
691
692 content.h: $(OBJDIR)/headers
 
693 $(OBJDIR)/db_.c: $(SRCDIR)/db.c $(OBJDIR)/translate
694 $(TRANSLATE) $(SRCDIR)/db.c >$(OBJDIR)/db_.c
695
696 $(OBJDIR)/db.o: $(OBJDIR)/db_.c $(OBJDIR)/db.h $(SRCDIR)/config.h
697 $(XTCC) -o $(OBJDIR)/db.o -c $(OBJDIR)/db_.c
698
699 db.h: $(OBJDIR)/headers
 
700 $(OBJDIR)/delta_.c: $(SRCDIR)/delta.c $(OBJDIR)/translate
701 $(TRANSLATE) $(SRCDIR)/delta.c >$(OBJDIR)/delta_.c
702
703 $(OBJDIR)/delta.o: $(OBJDIR)/delta_.c $(OBJDIR)/delta.h $(SRCDIR)/config.h
704 $(XTCC) -o $(OBJDIR)/delta.o -c $(OBJDIR)/delta_.c
705
706 delta.h: $(OBJDIR)/headers
 
707 $(OBJDIR)/deltacmd_.c: $(SRCDIR)/deltacmd.c $(OBJDIR)/translate
708 $(TRANSLATE) $(SRCDIR)/deltacmd.c >$(OBJDIR)/deltacmd_.c
709
710 $(OBJDIR)/deltacmd.o: $(OBJDIR)/deltacmd_.c $(OBJDIR)/deltacmd.h $(SRCDIR)/config.h
711 $(XTCC) -o $(OBJDIR)/deltacmd.o -c $(OBJDIR)/deltacmd_.c
712
713 deltacmd.h: $(OBJDIR)/headers
 
714 $(OBJDIR)/descendants_.c: $(SRCDIR)/descendants.c $(OBJDIR)/translate
715 $(TRANSLATE) $(SRCDIR)/descendants.c >$(OBJDIR)/descendants_.c
716
717 $(OBJDIR)/descendants.o: $(OBJDIR)/descendants_.c $(OBJDIR)/descendants.h $(SRCDIR)/config.h
718 $(XTCC) -o $(OBJDIR)/descendants.o -c $(OBJDIR)/descendants_.c
719
720 descendants.h: $(OBJDIR)/headers
 
721 $(OBJDIR)/diff_.c: $(SRCDIR)/diff.c $(OBJDIR)/translate
722 $(TRANSLATE) $(SRCDIR)/diff.c >$(OBJDIR)/diff_.c
723
724 $(OBJDIR)/diff.o: $(OBJDIR)/diff_.c $(OBJDIR)/diff.h $(SRCDIR)/config.h
725 $(XTCC) -o $(OBJDIR)/diff.o -c $(OBJDIR)/diff_.c
726
727 diff.h: $(OBJDIR)/headers
 
728 $(OBJDIR)/diffcmd_.c: $(SRCDIR)/diffcmd.c $(OBJDIR)/translate
729 $(TRANSLATE) $(SRCDIR)/diffcmd.c >$(OBJDIR)/diffcmd_.c
730
731 $(OBJDIR)/diffcmd.o: $(OBJDIR)/diffcmd_.c $(OBJDIR)/diffcmd.h $(SRCDIR)/config.h
732 $(XTCC) -o $(OBJDIR)/diffcmd.o -c $(OBJDIR)/diffcmd_.c
733
734 diffcmd.h: $(OBJDIR)/headers
 
735 $(OBJDIR)/doc_.c: $(SRCDIR)/doc.c $(OBJDIR)/translate
736 $(TRANSLATE) $(SRCDIR)/doc.c >$(OBJDIR)/doc_.c
737
738 $(OBJDIR)/doc.o: $(OBJDIR)/doc_.c $(OBJDIR)/doc.h $(SRCDIR)/config.h
739 $(XTCC) -o $(OBJDIR)/doc.o -c $(OBJDIR)/doc_.c
740
741 doc.h: $(OBJDIR)/headers
 
742 $(OBJDIR)/encode_.c: $(SRCDIR)/encode.c $(OBJDIR)/translate
743 $(TRANSLATE) $(SRCDIR)/encode.c >$(OBJDIR)/encode_.c
744
745 $(OBJDIR)/encode.o: $(OBJDIR)/encode_.c $(OBJDIR)/encode.h $(SRCDIR)/config.h
746 $(XTCC) -o $(OBJDIR)/encode.o -c $(OBJDIR)/encode_.c
747
748 encode.h: $(OBJDIR)/headers
 
749 $(OBJDIR)/event_.c: $(SRCDIR)/event.c $(OBJDIR)/translate
750 $(TRANSLATE) $(SRCDIR)/event.c >$(OBJDIR)/event_.c
751
752 $(OBJDIR)/event.o: $(OBJDIR)/event_.c $(OBJDIR)/event.h $(SRCDIR)/config.h
753 $(XTCC) -o $(OBJDIR)/event.o -c $(OBJDIR)/event_.c
754
755 event.h: $(OBJDIR)/headers
 
756 $(OBJDIR)/export_.c: $(SRCDIR)/export.c $(OBJDIR)/translate
757 $(TRANSLATE) $(SRCDIR)/export.c >$(OBJDIR)/export_.c
758
759 $(OBJDIR)/export.o: $(OBJDIR)/export_.c $(OBJDIR)/export.h $(SRCDIR)/config.h
760 $(XTCC) -o $(OBJDIR)/export.o -c $(OBJDIR)/export_.c
761
762 export.h: $(OBJDIR)/headers
 
763 $(OBJDIR)/file_.c: $(SRCDIR)/file.c $(OBJDIR)/translate
764 $(TRANSLATE) $(SRCDIR)/file.c >$(OBJDIR)/file_.c
765
766 $(OBJDIR)/file.o: $(OBJDIR)/file_.c $(OBJDIR)/file.h $(SRCDIR)/config.h
767 $(XTCC) -o $(OBJDIR)/file.o -c $(OBJDIR)/file_.c
768
769 file.h: $(OBJDIR)/headers
 
770 $(OBJDIR)/finfo_.c: $(SRCDIR)/finfo.c $(OBJDIR)/translate
771 $(TRANSLATE) $(SRCDIR)/finfo.c >$(OBJDIR)/finfo_.c
772
773 $(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h
774 $(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c
775
776 finfo.h: $(OBJDIR)/headers
 
777 $(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate
778 $(TRANSLATE) $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c
779
780 $(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h
781 $(XTCC) -o $(OBJDIR)/glob.o -c $(OBJDIR)/glob_.c
782
783 glob.h: $(OBJDIR)/headers
 
784 $(OBJDIR)/graph_.c: $(SRCDIR)/graph.c $(OBJDIR)/translate
785 $(TRANSLATE) $(SRCDIR)/graph.c >$(OBJDIR)/graph_.c
786
787 $(OBJDIR)/graph.o: $(OBJDIR)/graph_.c $(OBJDIR)/graph.h $(SRCDIR)/config.h
788 $(XTCC) -o $(OBJDIR)/graph.o -c $(OBJDIR)/graph_.c
789
790 graph.h: $(OBJDIR)/headers
 
791 $(OBJDIR)/gzip_.c: $(SRCDIR)/gzip.c $(OBJDIR)/translate
792 $(TRANSLATE) $(SRCDIR)/gzip.c >$(OBJDIR)/gzip_.c
793
794 $(OBJDIR)/gzip.o: $(OBJDIR)/gzip_.c $(OBJDIR)/gzip.h $(SRCDIR)/config.h
795 $(XTCC) -o $(OBJDIR)/gzip.o -c $(OBJDIR)/gzip_.c
796
797 gzip.h: $(OBJDIR)/headers
 
798 $(OBJDIR)/http_.c: $(SRCDIR)/http.c $(OBJDIR)/translate
799 $(TRANSLATE) $(SRCDIR)/http.c >$(OBJDIR)/http_.c
800
801 $(OBJDIR)/http.o: $(OBJDIR)/http_.c $(OBJDIR)/http.h $(SRCDIR)/config.h
802 $(XTCC) -o $(OBJDIR)/http.o -c $(OBJDIR)/http_.c
803
804 http.h: $(OBJDIR)/headers
 
805 $(OBJDIR)/http_socket_.c: $(SRCDIR)/http_socket.c $(OBJDIR)/translate
806 $(TRANSLATE) $(SRCDIR)/http_socket.c >$(OBJDIR)/http_socket_.c
807
808 $(OBJDIR)/http_socket.o: $(OBJDIR)/http_socket_.c $(OBJDIR)/http_socket.h $(SRCDIR)/config.h
809 $(XTCC) -o $(OBJDIR)/http_socket.o -c $(OBJDIR)/http_socket_.c
810
811 http_socket.h: $(OBJDIR)/headers
 
812 $(OBJDIR)/http_ssl_.c: $(SRCDIR)/http_ssl.c $(OBJDIR)/translate
813 $(TRANSLATE) $(SRCDIR)/http_ssl.c >$(OBJDIR)/http_ssl_.c
814
815 $(OBJDIR)/http_ssl.o: $(OBJDIR)/http_ssl_.c $(OBJDIR)/http_ssl.h $(SRCDIR)/config.h
816 $(XTCC) -o $(OBJDIR)/http_ssl.o -c $(OBJDIR)/http_ssl_.c
817
818 http_ssl.h: $(OBJDIR)/headers
 
819 $(OBJDIR)/http_transport_.c: $(SRCDIR)/http_transport.c $(OBJDIR)/translate
820 $(TRANSLATE) $(SRCDIR)/http_transport.c >$(OBJDIR)/http_transport_.c
821
822 $(OBJDIR)/http_transport.o: $(OBJDIR)/http_transport_.c $(OBJDIR)/http_transport.h $(SRCDIR)/config.h
823 $(XTCC) -o $(OBJDIR)/http_transport.o -c $(OBJDIR)/http_transport_.c
824
825 http_transport.h: $(OBJDIR)/headers
 
826 $(OBJDIR)/import_.c: $(SRCDIR)/import.c $(OBJDIR)/translate
827 $(TRANSLATE) $(SRCDIR)/import.c >$(OBJDIR)/import_.c
828
829 $(OBJDIR)/import.o: $(OBJDIR)/import_.c $(OBJDIR)/import.h $(SRCDIR)/config.h
830 $(XTCC) -o $(OBJDIR)/import.o -c $(OBJDIR)/import_.c
831
832 import.h: $(OBJDIR)/headers
 
833 $(OBJDIR)/info_.c: $(SRCDIR)/info.c $(OBJDIR)/translate
834 $(TRANSLATE) $(SRCDIR)/info.c >$(OBJDIR)/info_.c
835
836 $(OBJDIR)/info.o: $(OBJDIR)/info_.c $(OBJDIR)/info.h $(SRCDIR)/config.h
837 $(XTCC) -o $(OBJDIR)/info.o -c $(OBJDIR)/info_.c
838
839 info.h: $(OBJDIR)/headers
 
840 $(OBJDIR)/json_.c: $(SRCDIR)/json.c $(OBJDIR)/translate
841 $(TRANSLATE) $(SRCDIR)/json.c >$(OBJDIR)/json_.c
842
843 $(OBJDIR)/json.o: $(OBJDIR)/json_.c $(OBJDIR)/json.h $(SRCDIR)/config.h
844 $(XTCC) -o $(OBJDIR)/json.o -c $(OBJDIR)/json_.c
845
846 json.h: $(OBJDIR)/headers
 
847 $(OBJDIR)/json_artifact_.c: $(SRCDIR)/json_artifact.c $(OBJDIR)/translate
848 $(TRANSLATE) $(SRCDIR)/json_artifact.c >$(OBJDIR)/json_artifact_.c
849
850 $(OBJDIR)/json_artifact.o: $(OBJDIR)/json_artifact_.c $(OBJDIR)/json_artifact.h $(SRCDIR)/config.h
851 $(XTCC) -o $(OBJDIR)/json_artifact.o -c $(OBJDIR)/json_artifact_.c
852
853 json_artifact.h: $(OBJDIR)/headers
 
854 $(OBJDIR)/json_branch_.c: $(SRCDIR)/json_branch.c $(OBJDIR)/translate
855 $(TRANSLATE) $(SRCDIR)/json_branch.c >$(OBJDIR)/json_branch_.c
856
857 $(OBJDIR)/json_branch.o: $(OBJDIR)/json_branch_.c $(OBJDIR)/json_branch.h $(SRCDIR)/config.h
858 $(XTCC) -o $(OBJDIR)/json_branch.o -c $(OBJDIR)/json_branch_.c
859
860 json_branch.h: $(OBJDIR)/headers
 
861 $(OBJDIR)/json_config_.c: $(SRCDIR)/json_config.c $(OBJDIR)/translate
862 $(TRANSLATE) $(SRCDIR)/json_config.c >$(OBJDIR)/json_config_.c
863
864 $(OBJDIR)/json_config.o: $(OBJDIR)/json_config_.c $(OBJDIR)/json_config.h $(SRCDIR)/config.h
865 $(XTCC) -o $(OBJDIR)/json_config.o -c $(OBJDIR)/json_config_.c
866
867 json_config.h: $(OBJDIR)/headers
 
868 $(OBJDIR)/json_diff_.c: $(SRCDIR)/json_diff.c $(OBJDIR)/translate
869 $(TRANSLATE) $(SRCDIR)/json_diff.c >$(OBJDIR)/json_diff_.c
870
871 $(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h
872 $(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c
873
874 json_diff.h: $(OBJDIR)/headers
 
875 $(OBJDIR)/json_dir_.c: $(SRCDIR)/json_dir.c $(OBJDIR)/translate
876 $(TRANSLATE) $(SRCDIR)/json_dir.c >$(OBJDIR)/json_dir_.c
877
878 $(OBJDIR)/json_dir.o: $(OBJDIR)/json_dir_.c $(OBJDIR)/json_dir.h $(SRCDIR)/config.h
879 $(XTCC) -o $(OBJDIR)/json_dir.o -c $(OBJDIR)/json_dir_.c
880
881 json_dir.h: $(OBJDIR)/headers
 
882 $(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate
883 $(TRANSLATE) $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c
884
885 $(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h
886 $(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c
887
888 json_finfo.h: $(OBJDIR)/headers
 
889 $(OBJDIR)/json_login_.c: $(SRCDIR)/json_login.c $(OBJDIR)/translate
890 $(TRANSLATE) $(SRCDIR)/json_login.c >$(OBJDIR)/json_login_.c
891
892 $(OBJDIR)/json_login.o: $(OBJDIR)/json_login_.c $(OBJDIR)/json_login.h $(SRCDIR)/config.h
893 $(XTCC) -o $(OBJDIR)/json_login.o -c $(OBJDIR)/json_login_.c
894
895 json_login.h: $(OBJDIR)/headers
 
896 $(OBJDIR)/json_query_.c: $(SRCDIR)/json_query.c $(OBJDIR)/translate
897 $(TRANSLATE) $(SRCDIR)/json_query.c >$(OBJDIR)/json_query_.c
898
899 $(OBJDIR)/json_query.o: $(OBJDIR)/json_query_.c $(OBJDIR)/json_query.h $(SRCDIR)/config.h
900 $(XTCC) -o $(OBJDIR)/json_query.o -c $(OBJDIR)/json_query_.c
901
902 json_query.h: $(OBJDIR)/headers
 
903 $(OBJDIR)/json_report_.c: $(SRCDIR)/json_report.c $(OBJDIR)/translate
904 $(TRANSLATE) $(SRCDIR)/json_report.c >$(OBJDIR)/json_report_.c
905
906 $(OBJDIR)/json_report.o: $(OBJDIR)/json_report_.c $(OBJDIR)/json_report.h $(SRCDIR)/config.h
907 $(XTCC) -o $(OBJDIR)/json_report.o -c $(OBJDIR)/json_report_.c
908
909 json_report.h: $(OBJDIR)/headers
 
910 $(OBJDIR)/json_tag_.c: $(SRCDIR)/json_tag.c $(OBJDIR)/translate
911 $(TRANSLATE) $(SRCDIR)/json_tag.c >$(OBJDIR)/json_tag_.c
912
913 $(OBJDIR)/json_tag.o: $(OBJDIR)/json_tag_.c $(OBJDIR)/json_tag.h $(SRCDIR)/config.h
914 $(XTCC) -o $(OBJDIR)/json_tag.o -c $(OBJDIR)/json_tag_.c
915
916 json_tag.h: $(OBJDIR)/headers
 
917 $(OBJDIR)/json_timeline_.c: $(SRCDIR)/json_timeline.c $(OBJDIR)/translate
918 $(TRANSLATE) $(SRCDIR)/json_timeline.c >$(OBJDIR)/json_timeline_.c
919
920 $(OBJDIR)/json_timeline.o: $(OBJDIR)/json_timeline_.c $(OBJDIR)/json_timeline.h $(SRCDIR)/config.h
921 $(XTCC) -o $(OBJDIR)/json_timeline.o -c $(OBJDIR)/json_timeline_.c
922
923 json_timeline.h: $(OBJDIR)/headers
 
924 $(OBJDIR)/json_user_.c: $(SRCDIR)/json_user.c $(OBJDIR)/translate
925 $(TRANSLATE) $(SRCDIR)/json_user.c >$(OBJDIR)/json_user_.c
926
927 $(OBJDIR)/json_user.o: $(OBJDIR)/json_user_.c $(OBJDIR)/json_user.h $(SRCDIR)/config.h
928 $(XTCC) -o $(OBJDIR)/json_user.o -c $(OBJDIR)/json_user_.c
929
930 json_user.h: $(OBJDIR)/headers
 
931 $(OBJDIR)/json_wiki_.c: $(SRCDIR)/json_wiki.c $(OBJDIR)/translate
932 $(TRANSLATE) $(SRCDIR)/json_wiki.c >$(OBJDIR)/json_wiki_.c
933
934 $(OBJDIR)/json_wiki.o: $(OBJDIR)/json_wiki_.c $(OBJDIR)/json_wiki.h $(SRCDIR)/config.h
935 $(XTCC) -o $(OBJDIR)/json_wiki.o -c $(OBJDIR)/json_wiki_.c
936
937 json_wiki.h: $(OBJDIR)/headers
 
938 $(OBJDIR)/leaf_.c: $(SRCDIR)/leaf.c $(OBJDIR)/translate
939 $(TRANSLATE) $(SRCDIR)/leaf.c >$(OBJDIR)/leaf_.c
940
941 $(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h
942 $(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c
943
944 leaf.h: $(OBJDIR)/headers
 
945 $(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate
946 $(TRANSLATE) $(SRCDIR)/login.c >$(OBJDIR)/login_.c
947
948 $(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h
949 $(XTCC) -o $(OBJDIR)/login.o -c $(OBJDIR)/login_.c
950
951 login.h: $(OBJDIR)/headers
 
952 $(OBJDIR)/main_.c: $(SRCDIR)/main.c $(OBJDIR)/translate
953 $(TRANSLATE) $(SRCDIR)/main.c >$(OBJDIR)/main_.c
954
955 $(OBJDIR)/main.o: $(OBJDIR)/main_.c $(OBJDIR)/main.h $(OBJDIR)/page_index.h $(SRCDIR)/config.h
956 $(XTCC) -o $(OBJDIR)/main.o -c $(OBJDIR)/main_.c
957
958 main.h: $(OBJDIR)/headers
 
959 $(OBJDIR)/manifest_.c: $(SRCDIR)/manifest.c $(OBJDIR)/translate
960 $(TRANSLATE) $(SRCDIR)/manifest.c >$(OBJDIR)/manifest_.c
961
962 $(OBJDIR)/manifest.o: $(OBJDIR)/manifest_.c $(OBJDIR)/manifest.h $(SRCDIR)/config.h
963 $(XTCC) -o $(OBJDIR)/manifest.o -c $(OBJDIR)/manifest_.c
964
965 manifest.h: $(OBJDIR)/headers
 
966 $(OBJDIR)/md5_.c: $(SRCDIR)/md5.c $(OBJDIR)/translate
967 $(TRANSLATE) $(SRCDIR)/md5.c >$(OBJDIR)/md5_.c
968
969 $(OBJDIR)/md5.o: $(OBJDIR)/md5_.c $(OBJDIR)/md5.h $(SRCDIR)/config.h
970 $(XTCC) -o $(OBJDIR)/md5.o -c $(OBJDIR)/md5_.c
971
972 md5.h: $(OBJDIR)/headers
 
973 $(OBJDIR)/merge_.c: $(SRCDIR)/merge.c $(OBJDIR)/translate
974 $(TRANSLATE) $(SRCDIR)/merge.c >$(OBJDIR)/merge_.c
975
976 $(OBJDIR)/merge.o: $(OBJDIR)/merge_.c $(OBJDIR)/merge.h $(SRCDIR)/config.h
977 $(XTCC) -o $(OBJDIR)/merge.o -c $(OBJDIR)/merge_.c
978
979 merge.h: $(OBJDIR)/headers
 
980 $(OBJDIR)/merge3_.c: $(SRCDIR)/merge3.c $(OBJDIR)/translate
981 $(TRANSLATE) $(SRCDIR)/merge3.c >$(OBJDIR)/merge3_.c
982
983 $(OBJDIR)/merge3.o: $(OBJDIR)/merge3_.c $(OBJDIR)/merge3.h $(SRCDIR)/config.h
984 $(XTCC) -o $(OBJDIR)/merge3.o -c $(OBJDIR)/merge3_.c
985
986 merge3.h: $(OBJDIR)/headers
 
987 $(OBJDIR)/name_.c: $(SRCDIR)/name.c $(OBJDIR)/translate
988 $(TRANSLATE) $(SRCDIR)/name.c >$(OBJDIR)/name_.c
989
990 $(OBJDIR)/name.o: $(OBJDIR)/name_.c $(OBJDIR)/name.h $(SRCDIR)/config.h
991 $(XTCC) -o $(OBJDIR)/name.o -c $(OBJDIR)/name_.c
992
993 name.h: $(OBJDIR)/headers
 
994 $(OBJDIR)/path_.c: $(SRCDIR)/path.c $(OBJDIR)/translate
995 $(TRANSLATE) $(SRCDIR)/path.c >$(OBJDIR)/path_.c
996
997 $(OBJDIR)/path.o: $(OBJDIR)/path_.c $(OBJDIR)/path.h $(SRCDIR)/config.h
998 $(XTCC) -o $(OBJDIR)/path.o -c $(OBJDIR)/path_.c
999
1000 path.h: $(OBJDIR)/headers
 
1001 $(OBJDIR)/pivot_.c: $(SRCDIR)/pivot.c $(OBJDIR)/translate
1002 $(TRANSLATE) $(SRCDIR)/pivot.c >$(OBJDIR)/pivot_.c
1003
1004 $(OBJDIR)/pivot.o: $(OBJDIR)/pivot_.c $(OBJDIR)/pivot.h $(SRCDIR)/config.h
1005 $(XTCC) -o $(OBJDIR)/pivot.o -c $(OBJDIR)/pivot_.c
1006
1007 pivot.h: $(OBJDIR)/headers
 
1008 $(OBJDIR)/popen_.c: $(SRCDIR)/popen.c $(OBJDIR)/translate
1009 $(TRANSLATE) $(SRCDIR)/popen.c >$(OBJDIR)/popen_.c
1010
1011 $(OBJDIR)/popen.o: $(OBJDIR)/popen_.c $(OBJDIR)/popen.h $(SRCDIR)/config.h
1012 $(XTCC) -o $(OBJDIR)/popen.o -c $(OBJDIR)/popen_.c
1013
1014 popen.h: $(OBJDIR)/headers
 
1015 $(OBJDIR)/pqueue_.c: $(SRCDIR)/pqueue.c $(OBJDIR)/translate
1016 $(TRANSLATE) $(SRCDIR)/pqueue.c >$(OBJDIR)/pqueue_.c
1017
1018 $(OBJDIR)/pqueue.o: $(OBJDIR)/pqueue_.c $(OBJDIR)/pqueue.h $(SRCDIR)/config.h
1019 $(XTCC) -o $(OBJDIR)/pqueue.o -c $(OBJDIR)/pqueue_.c
1020
1021 pqueue.h: $(OBJDIR)/headers
 
1022 $(OBJDIR)/printf_.c: $(SRCDIR)/printf.c $(OBJDIR)/translate
1023 $(TRANSLATE) $(SRCDIR)/printf.c >$(OBJDIR)/printf_.c
1024
1025 $(OBJDIR)/printf.o: $(OBJDIR)/printf_.c $(OBJDIR)/printf.h $(SRCDIR)/config.h
1026 $(XTCC) -o $(OBJDIR)/printf.o -c $(OBJDIR)/printf_.c
1027
1028 printf.h: $(OBJDIR)/headers
 
1029 $(OBJDIR)/rebuild_.c: $(SRCDIR)/rebuild.c $(OBJDIR)/translate
1030 $(TRANSLATE) $(SRCDIR)/rebuild.c >$(OBJDIR)/rebuild_.c
1031
1032 $(OBJDIR)/rebuild.o: $(OBJDIR)/rebuild_.c $(OBJDIR)/rebuild.h $(SRCDIR)/config.h
1033 $(XTCC) -o $(OBJDIR)/rebuild.o -c $(OBJDIR)/rebuild_.c
1034
1035 rebuild.h: $(OBJDIR)/headers
 
1036 $(OBJDIR)/report_.c: $(SRCDIR)/report.c $(OBJDIR)/translate
1037 $(TRANSLATE) $(SRCDIR)/report.c >$(OBJDIR)/report_.c
1038
1039 $(OBJDIR)/report.o: $(OBJDIR)/report_.c $(OBJDIR)/report.h $(SRCDIR)/config.h
1040 $(XTCC) -o $(OBJDIR)/report.o -c $(OBJDIR)/report_.c
1041
1042 report.h: $(OBJDIR)/headers
 
1043 $(OBJDIR)/rss_.c: $(SRCDIR)/rss.c $(OBJDIR)/translate
1044 $(TRANSLATE) $(SRCDIR)/rss.c >$(OBJDIR)/rss_.c
1045
1046 $(OBJDIR)/rss.o: $(OBJDIR)/rss_.c $(OBJDIR)/rss.h $(SRCDIR)/config.h
1047 $(XTCC) -o $(OBJDIR)/rss.o -c $(OBJDIR)/rss_.c
1048
1049 rss.h: $(OBJDIR)/headers
 
1050 $(OBJDIR)/schema_.c: $(SRCDIR)/schema.c $(OBJDIR)/translate
1051 $(TRANSLATE) $(SRCDIR)/schema.c >$(OBJDIR)/schema_.c
1052
1053 $(OBJDIR)/schema.o: $(OBJDIR)/schema_.c $(OBJDIR)/schema.h $(SRCDIR)/config.h
1054 $(XTCC) -o $(OBJDIR)/schema.o -c $(OBJDIR)/schema_.c
1055
1056 schema.h: $(OBJDIR)/headers
 
1057 $(OBJDIR)/search_.c: $(SRCDIR)/search.c $(OBJDIR)/translate
1058 $(TRANSLATE) $(SRCDIR)/search.c >$(OBJDIR)/search_.c
1059
1060 $(OBJDIR)/search.o: $(OBJDIR)/search_.c $(OBJDIR)/search.h $(SRCDIR)/config.h
1061 $(XTCC) -o $(OBJDIR)/search.o -c $(OBJDIR)/search_.c
1062
1063 search.h: $(OBJDIR)/headers
 
1064 $(OBJDIR)/setup_.c: $(SRCDIR)/setup.c $(OBJDIR)/translate
1065 $(TRANSLATE) $(SRCDIR)/setup.c >$(OBJDIR)/setup_.c
1066
1067 $(OBJDIR)/setup.o: $(OBJDIR)/setup_.c $(OBJDIR)/setup.h $(SRCDIR)/config.h
1068 $(XTCC) -o $(OBJDIR)/setup.o -c $(OBJDIR)/setup_.c
1069
1070 setup.h: $(OBJDIR)/headers
 
1071 $(OBJDIR)/sha1_.c: $(SRCDIR)/sha1.c $(OBJDIR)/translate
1072 $(TRANSLATE) $(SRCDIR)/sha1.c >$(OBJDIR)/sha1_.c
1073
1074 $(OBJDIR)/sha1.o: $(OBJDIR)/sha1_.c $(OBJDIR)/sha1.h $(SRCDIR)/config.h
1075 $(XTCC) -o $(OBJDIR)/sha1.o -c $(OBJDIR)/sha1_.c
1076
1077 sha1.h: $(OBJDIR)/headers
 
1078 $(OBJDIR)/shun_.c: $(SRCDIR)/shun.c $(OBJDIR)/translate
1079 $(TRANSLATE) $(SRCDIR)/shun.c >$(OBJDIR)/shun_.c
1080
1081 $(OBJDIR)/shun.o: $(OBJDIR)/shun_.c $(OBJDIR)/shun.h $(SRCDIR)/config.h
1082 $(XTCC) -o $(OBJDIR)/shun.o -c $(OBJDIR)/shun_.c
1083
1084 shun.h: $(OBJDIR)/headers
 
1085 $(OBJDIR)/skins_.c: $(SRCDIR)/skins.c $(OBJDIR)/translate
1086 $(TRANSLATE) $(SRCDIR)/skins.c >$(OBJDIR)/skins_.c
1087
1088 $(OBJDIR)/skins.o: $(OBJDIR)/skins_.c $(OBJDIR)/skins.h $(SRCDIR)/config.h
1089 $(XTCC) -o $(OBJDIR)/skins.o -c $(OBJDIR)/skins_.c
1090
1091 skins.h: $(OBJDIR)/headers
 
1092 $(OBJDIR)/sqlcmd_.c: $(SRCDIR)/sqlcmd.c $(OBJDIR)/translate
1093 $(TRANSLATE) $(SRCDIR)/sqlcmd.c >$(OBJDIR)/sqlcmd_.c
1094
1095 $(OBJDIR)/sqlcmd.o: $(OBJDIR)/sqlcmd_.c $(OBJDIR)/sqlcmd.h $(SRCDIR)/config.h
1096 $(XTCC) -o $(OBJDIR)/sqlcmd.o -c $(OBJDIR)/sqlcmd_.c
1097
1098 sqlcmd.h: $(OBJDIR)/headers
 
1099 $(OBJDIR)/stash_.c: $(SRCDIR)/stash.c $(OBJDIR)/translate
1100 $(TRANSLATE) $(SRCDIR)/stash.c >$(OBJDIR)/stash_.c
1101
1102 $(OBJDIR)/stash.o: $(OBJDIR)/stash_.c $(OBJDIR)/stash.h $(SRCDIR)/config.h
1103 $(XTCC) -o $(OBJDIR)/stash.o -c $(OBJDIR)/stash_.c
1104
1105 stash.h: $(OBJDIR)/headers
 
1106 $(OBJDIR)/stat_.c: $(SRCDIR)/stat.c $(OBJDIR)/translate
1107 $(TRANSLATE) $(SRCDIR)/stat.c >$(OBJDIR)/stat_.c
1108
1109 $(OBJDIR)/stat.o: $(OBJDIR)/stat_.c $(OBJDIR)/stat.h $(SRCDIR)/config.h
1110 $(XTCC) -o $(OBJDIR)/stat.o -c $(OBJDIR)/stat_.c
1111
1112 stat.h: $(OBJDIR)/headers
 
1113 $(OBJDIR)/style_.c: $(SRCDIR)/style.c $(OBJDIR)/translate
1114 $(TRANSLATE) $(SRCDIR)/style.c >$(OBJDIR)/style_.c
1115
1116 $(OBJDIR)/style.o: $(OBJDIR)/style_.c $(OBJDIR)/style.h $(SRCDIR)/config.h
1117 $(XTCC) -o $(OBJDIR)/style.o -c $(OBJDIR)/style_.c
1118
1119 style.h: $(OBJDIR)/headers
 
1120 $(OBJDIR)/sync_.c: $(SRCDIR)/sync.c $(OBJDIR)/translate
1121 $(TRANSLATE) $(SRCDIR)/sync.c >$(OBJDIR)/sync_.c
1122
1123 $(OBJDIR)/sync.o: $(OBJDIR)/sync_.c $(OBJDIR)/sync.h $(SRCDIR)/config.h
1124 $(XTCC) -o $(OBJDIR)/sync.o -c $(OBJDIR)/sync_.c
1125
1126 sync.h: $(OBJDIR)/headers
 
1127 $(OBJDIR)/tag_.c: $(SRCDIR)/tag.c $(OBJDIR)/translate
1128 $(TRANSLATE) $(SRCDIR)/tag.c >$(OBJDIR)/tag_.c
1129
1130 $(OBJDIR)/tag.o: $(OBJDIR)/tag_.c $(OBJDIR)/tag.h $(SRCDIR)/config.h
1131 $(XTCC) -o $(OBJDIR)/tag.o -c $(OBJDIR)/tag_.c
1132
1133 tag.h: $(OBJDIR)/headers
 
1134 $(OBJDIR)/tar_.c: $(SRCDIR)/tar.c $(OBJDIR)/translate
1135 $(TRANSLATE) $(SRCDIR)/tar.c >$(OBJDIR)/tar_.c
1136
1137 $(OBJDIR)/tar.o: $(OBJDIR)/tar_.c $(OBJDIR)/tar.h $(SRCDIR)/config.h
1138 $(XTCC) -o $(OBJDIR)/tar.o -c $(OBJDIR)/tar_.c
1139
1140 tar.h: $(OBJDIR)/headers
 
1141 $(OBJDIR)/th_main_.c: $(SRCDIR)/th_main.c $(OBJDIR)/translate
1142 $(TRANSLATE) $(SRCDIR)/th_main.c >$(OBJDIR)/th_main_.c
1143
1144 $(OBJDIR)/th_main.o: $(OBJDIR)/th_main_.c $(OBJDIR)/th_main.h $(SRCDIR)/config.h
1145 $(XTCC) -o $(OBJDIR)/th_main.o -c $(OBJDIR)/th_main_.c
1146
1147 th_main.h: $(OBJDIR)/headers
 
1148 $(OBJDIR)/timeline_.c: $(SRCDIR)/timeline.c $(OBJDIR)/translate
1149 $(TRANSLATE) $(SRCDIR)/timeline.c >$(OBJDIR)/timeline_.c
1150
1151 $(OBJDIR)/timeline.o: $(OBJDIR)/timeline_.c $(OBJDIR)/timeline.h $(SRCDIR)/config.h
1152 $(XTCC) -o $(OBJDIR)/timeline.o -c $(OBJDIR)/timeline_.c
1153
1154 timeline.h: $(OBJDIR)/headers
 
1155 $(OBJDIR)/tkt_.c: $(SRCDIR)/tkt.c $(OBJDIR)/translate
1156 $(TRANSLATE) $(SRCDIR)/tkt.c >$(OBJDIR)/tkt_.c
1157
1158 $(OBJDIR)/tkt.o: $(OBJDIR)/tkt_.c $(OBJDIR)/tkt.h $(SRCDIR)/config.h
1159 $(XTCC) -o $(OBJDIR)/tkt.o -c $(OBJDIR)/tkt_.c
1160
1161 tkt.h: $(OBJDIR)/headers
 
1162 $(OBJDIR)/tktsetup_.c: $(SRCDIR)/tktsetup.c $(OBJDIR)/translate
1163 $(TRANSLATE) $(SRCDIR)/tktsetup.c >$(OBJDIR)/tktsetup_.c
1164
1165 $(OBJDIR)/tktsetup.o: $(OBJDIR)/tktsetup_.c $(OBJDIR)/tktsetup.h $(SRCDIR)/config.h
1166 $(XTCC) -o $(OBJDIR)/tktsetup.o -c $(OBJDIR)/tktsetup_.c
1167
1168 tktsetup.h: $(OBJDIR)/headers
 
1169 $(OBJDIR)/undo_.c: $(SRCDIR)/undo.c $(OBJDIR)/translate
1170 $(TRANSLATE) $(SRCDIR)/undo.c >$(OBJDIR)/undo_.c
1171
1172 $(OBJDIR)/undo.o: $(OBJDIR)/undo_.c $(OBJDIR)/undo.h $(SRCDIR)/config.h
1173 $(XTCC) -o $(OBJDIR)/undo.o -c $(OBJDIR)/undo_.c
1174
1175 undo.h: $(OBJDIR)/headers
 
1176 $(OBJDIR)/update_.c: $(SRCDIR)/update.c $(OBJDIR)/translate
1177 $(TRANSLATE) $(SRCDIR)/update.c >$(OBJDIR)/update_.c
1178
1179 $(OBJDIR)/update.o: $(OBJDIR)/update_.c $(OBJDIR)/update.h $(SRCDIR)/config.h
1180 $(XTCC) -o $(OBJDIR)/update.o -c $(OBJDIR)/update_.c
1181
1182 update.h: $(OBJDIR)/headers
 
1183 $(OBJDIR)/url_.c: $(SRCDIR)/url.c $(OBJDIR)/translate
1184 $(TRANSLATE) $(SRCDIR)/url.c >$(OBJDIR)/url_.c
1185
1186 $(OBJDIR)/url.o: $(OBJDIR)/url_.c $(OBJDIR)/url.h $(SRCDIR)/config.h
1187 $(XTCC) -o $(OBJDIR)/url.o -c $(OBJDIR)/url_.c
1188
1189 url.h: $(OBJDIR)/headers
 
1190 $(OBJDIR)/user_.c: $(SRCDIR)/user.c $(OBJDIR)/translate
1191 $(TRANSLATE) $(SRCDIR)/user.c >$(OBJDIR)/user_.c
1192
1193 $(OBJDIR)/user.o: $(OBJDIR)/user_.c $(OBJDIR)/user.h $(SRCDIR)/config.h
1194 $(XTCC) -o $(OBJDIR)/user.o -c $(OBJDIR)/user_.c
1195
1196 user.h: $(OBJDIR)/headers
 
1197 $(OBJDIR)/verify_.c: $(SRCDIR)/verify.c $(OBJDIR)/translate
1198 $(TRANSLATE) $(SRCDIR)/verify.c >$(OBJDIR)/verify_.c
1199
1200 $(OBJDIR)/verify.o: $(OBJDIR)/verify_.c $(OBJDIR)/verify.h $(SRCDIR)/config.h
1201 $(XTCC) -o $(OBJDIR)/verify.o -c $(OBJDIR)/verify_.c
1202
1203 verify.h: $(OBJDIR)/headers
 
1204 $(OBJDIR)/vfile_.c: $(SRCDIR)/vfile.c $(OBJDIR)/translate
1205 $(TRANSLATE) $(SRCDIR)/vfile.c >$(OBJDIR)/vfile_.c
1206
1207 $(OBJDIR)/vfile.o: $(OBJDIR)/vfile_.c $(OBJDIR)/vfile.h $(SRCDIR)/config.h
1208 $(XTCC) -o $(OBJDIR)/vfile.o -c $(OBJDIR)/vfile_.c
1209
1210 vfile.h: $(OBJDIR)/headers
 
1211 $(OBJDIR)/wiki_.c: $(SRCDIR)/wiki.c $(OBJDIR)/translate
1212 $(TRANSLATE) $(SRCDIR)/wiki.c >$(OBJDIR)/wiki_.c
1213
1214 $(OBJDIR)/wiki.o: $(OBJDIR)/wiki_.c $(OBJDIR)/wiki.h $(SRCDIR)/config.h
1215 $(XTCC) -o $(OBJDIR)/wiki.o -c $(OBJDIR)/wiki_.c
1216
1217 wiki.h: $(OBJDIR)/headers
 
1218 $(OBJDIR)/wikiformat_.c: $(SRCDIR)/wikiformat.c $(OBJDIR)/translate
1219 $(TRANSLATE) $(SRCDIR)/wikiformat.c >$(OBJDIR)/wikiformat_.c
1220
1221 $(OBJDIR)/wikiformat.o: $(OBJDIR)/wikiformat_.c $(OBJDIR)/wikiformat.h $(SRCDIR)/config.h
1222 $(XTCC) -o $(OBJDIR)/wikiformat.o -c $(OBJDIR)/wikiformat_.c
1223
1224 wikiformat.h: $(OBJDIR)/headers
 
1225 $(OBJDIR)/winhttp_.c: $(SRCDIR)/winhttp.c $(OBJDIR)/translate
1226 $(TRANSLATE) $(SRCDIR)/winhttp.c >$(OBJDIR)/winhttp_.c
1227
1228 $(OBJDIR)/winhttp.o: $(OBJDIR)/winhttp_.c $(OBJDIR)/winhttp.h $(SRCDIR)/config.h
1229 $(XTCC) -o $(OBJDIR)/winhttp.o -c $(OBJDIR)/winhttp_.c
1230
1231 winhttp.h: $(OBJDIR)/headers
 
1232 $(OBJDIR)/wysiwyg_.c: $(SRCDIR)/wysiwyg.c $(OBJDIR)/translate
1233 $(TRANSLATE) $(SRCDIR)/wysiwyg.c >$(OBJDIR)/wysiwyg_.c
1234
1235 $(OBJDIR)/wysiwyg.o: $(OBJDIR)/wysiwyg_.c $(OBJDIR)/wysiwyg.h $(SRCDIR)/config.h
1236 $(XTCC) -o $(OBJDIR)/wysiwyg.o -c $(OBJDIR)/wysiwyg_.c
1237
1238 wysiwyg.h: $(OBJDIR)/headers
 
1239 $(OBJDIR)/xfer_.c: $(SRCDIR)/xfer.c $(OBJDIR)/translate
1240 $(TRANSLATE) $(SRCDIR)/xfer.c >$(OBJDIR)/xfer_.c
1241
1242 $(OBJDIR)/xfer.o: $(OBJDIR)/xfer_.c $(OBJDIR)/xfer.h $(SRCDIR)/config.h
1243 $(XTCC) -o $(OBJDIR)/xfer.o -c $(OBJDIR)/xfer_.c
1244
1245 xfer.h: $(OBJDIR)/headers
 
1246 $(OBJDIR)/xfersetup_.c: $(SRCDIR)/xfersetup.c $(OBJDIR)/translate
1247 $(TRANSLATE) $(SRCDIR)/xfersetup.c >$(OBJDIR)/xfersetup_.c
1248
1249 $(OBJDIR)/xfersetup.o: $(OBJDIR)/xfersetup_.c $(OBJDIR)/xfersetup.h $(SRCDIR)/config.h
1250 $(XTCC) -o $(OBJDIR)/xfersetup.o -c $(OBJDIR)/xfersetup_.c
1251
1252 xfersetup.h: $(OBJDIR)/headers
 
1253 $(OBJDIR)/zip_.c: $(SRCDIR)/zip.c $(OBJDIR)/translate
1254 $(TRANSLATE) $(SRCDIR)/zip.c >$(OBJDIR)/zip_.c
1255
1256 $(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h
1257 $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c
1258
1259 zip.h: $(OBJDIR)/headers
 
1260 $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c
1261 $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o
1262
1263 $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
1264 $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
@@ -1276,6 +1417,5 @@
1276
1277 ifdef FOSSIL_ENABLE_TCL
1278 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1279 $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1280 endif
1281
1282
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -14,10 +14,11 @@
14
15 #### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
16 # By default, this is an empty string (i.e. use the native compiler).
17 #
18 PREFIX =
19 # PREFIX = mingw32-
20 # PREFIX = i686-pc-mingw32-
21 # PREFIX = i686-w64-mingw32-
22 # PREFIX = x86_64-w64-mingw32-
23
24 #### The toplevel directory of the source tree. Fossil can be built
@@ -494,29 +495,67 @@
495 $(OBJDIR)/xfer.o \
496 $(OBJDIR)/xfersetup.o \
497 $(OBJDIR)/zip.o
498
499 APPNAME = fossil.exe
 
 
 
 
500
501 #### If the USE_WINDOWS variable exists, it is assumed that we are building
502 # inside of a Windows-style shell; otherwise, it is assumed that we are
503 # building inside of a Unix-style shell. Note that the "move" command is
504 # broken when attempting to use it from the Windows shell via MinGW make
505 # because the SHELL variable is only used for certain commands that are
506 # recognized internally by make.
507 #
508 ifdef USE_WINDOWS
509 TRANSLATE = $(subst /,\,$(OBJDIR)/translate)
510 MAKEHEADERS = $(subst /,\,$(OBJDIR)/makeheaders)
511 MKINDEX = $(subst /,\,$(OBJDIR)/mkindex)
512 VERSION = $(subst /,\,$(OBJDIR)/version)
513 CP = copy
514 MV = copy
515 RM = del /Q
516 MKDIR = -mkdir
517 RMDIR = rmdir /S /Q
518 else
519 TRANSLATE = $(OBJDIR)/translate
520 MAKEHEADERS = $(OBJDIR)/makeheaders
521 MKINDEX = $(OBJDIR)/mkindex
522 VERSION = $(OBJDIR)/version
523 CP = cp
524 MV = mv
525 RM = rm -f
526 MKDIR = -mkdir -p
527 RMDIR = rm -rf
528 endif
529
530 all: $(OBJDIR) $(APPNAME)
531
532 $(OBJDIR)/fossil.o: $(SRCDIR)/../win/fossil.rc $(OBJDIR)/VERSION.h
533 ifdef USE_WINDOWS
534 $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.rc) $(subst /,\,$(OBJDIR))
535 $(CP) $(subst /,\,$(SRCDIR)\..\win\fossil.ico) $(subst /,\,$(OBJDIR))
536 else
537 $(CP) $(SRCDIR)/../win/fossil.rc $(OBJDIR)
538 $(CP) $(SRCDIR)/../win/fossil.ico $(OBJDIR)
539 endif
540 $(RCC) $(OBJDIR)/fossil.rc -o $(OBJDIR)/fossil.o
541
542 install: $(OBJDIR) $(APPNAME)
543 ifdef USE_WINDOWS
544 $(MKDIR) $(subst /,\,$(INSTALLDIR))
545 $(MV) $(subst /,\,$(APPNAME)) $(subst /,\,$(INSTALLDIR))
546 else
547 $(MKDIR) $(INSTALLDIR)
548 $(MV) $(APPNAME) $(INSTALLDIR)
549 endif
550
551 $(OBJDIR):
552 ifdef USE_WINDOWS
553 $(MKDIR) $(subst /,\,$(OBJDIR))
554 else
555 $(MKDIR) $(OBJDIR)
556 endif
557
558 $(OBJDIR)/translate: $(SRCDIR)/translate.c
559 $(BCC) -o $(OBJDIR)/translate $(SRCDIR)/translate.c
560
561 $(OBJDIR)/makeheaders: $(SRCDIR)/makeheaders.c
@@ -550,715 +589,817 @@
589 # an executable named "manifest" out of the file named "manifest.c"
590 #
591 $(SRCDIR)/../manifest:
592 # noop
593
 
 
 
 
594 clean:
595 ifdef USE_WINDOWS
596 $(RM) $(subst /,\,$(APPNAME))
597 $(RMDIR) $(subst /,\,$(OBJDIR))
598 else
599 $(RM) $(APPNAME)
600 $(RMDIR) $(OBJDIR)
601 endif
602
603 setup: $(OBJDIR) $(APPNAME)
604 $(MAKENSIS) ./fossil.nsi
605
 
606 $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex
607 $(MKINDEX) $(TRANS_SRC) >$@
608
609 $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h
610 $(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h $(OBJDIR)/captcha_.c:$(OBJDIR)/captcha.h $(OBJDIR)/cgi_.c:$(OBJDIR)/cgi.h $(OBJDIR)/checkin_.c:$(OBJDIR)/checkin.h $(OBJDIR)/checkout_.c:$(OBJDIR)/checkout.h $(OBJDIR)/clearsign_.c:$(OBJDIR)/clearsign.h $(OBJDIR)/clone_.c:$(OBJDIR)/clone.h $(OBJDIR)/comformat_.c:$(OBJDIR)/comformat.h $(OBJDIR)/configure_.c:$(OBJDIR)/configure.h $(OBJDIR)/content_.c:$(OBJDIR)/content.h $(OBJDIR)/db_.c:$(OBJDIR)/db.h $(OBJDIR)/delta_.c:$(OBJDIR)/delta.h $(OBJDIR)/deltacmd_.c:$(OBJDIR)/deltacmd.h $(OBJDIR)/descendants_.c:$(OBJDIR)/descendants.h $(OBJDIR)/diff_.c:$(OBJDIR)/diff.h $(OBJDIR)/diffcmd_.c:$(OBJDIR)/diffcmd.h $(OBJDIR)/doc_.c:$(OBJDIR)/doc.h $(OBJDIR)/encode_.c:$(OBJDIR)/encode.h $(OBJDIR)/event_.c:$(OBJDIR)/event.h $(OBJDIR)/export_.c:$(OBJDIR)/export.h $(OBJDIR)/file_.c:$(OBJDIR)/file.h $(OBJDIR)/finfo_.c:$(OBJDIR)/finfo.h $(OBJDIR)/glob_.c:$(OBJDIR)/glob.h $(OBJDIR)/graph_.c:$(OBJDIR)/graph.h $(OBJDIR)/gzip_.c:$(OBJDIR)/gzip.h $(OBJDIR)/http_.c:$(OBJDIR)/http.h $(OBJDIR)/http_socket_.c:$(OBJDIR)/http_socket.h $(OBJDIR)/http_ssl_.c:$(OBJDIR)/http_ssl.h $(OBJDIR)/http_transport_.c:$(OBJDIR)/http_transport.h $(OBJDIR)/import_.c:$(OBJDIR)/import.h $(OBJDIR)/info_.c:$(OBJDIR)/info.h $(OBJDIR)/json_.c:$(OBJDIR)/json.h $(OBJDIR)/json_artifact_.c:$(OBJDIR)/json_artifact.h $(OBJDIR)/json_branch_.c:$(OBJDIR)/json_branch.h $(OBJDIR)/json_config_.c:$(OBJDIR)/json_config.h $(OBJDIR)/json_diff_.c:$(OBJDIR)/json_diff.h $(OBJDIR)/json_dir_.c:$(OBJDIR)/json_dir.h $(OBJDIR)/json_finfo_.c:$(OBJDIR)/json_finfo.h $(OBJDIR)/json_login_.c:$(OBJDIR)/json_login.h $(OBJDIR)/json_query_.c:$(OBJDIR)/json_query.h $(OBJDIR)/json_report_.c:$(OBJDIR)/json_report.h $(OBJDIR)/json_tag_.c:$(OBJDIR)/json_tag.h $(OBJDIR)/json_timeline_.c:$(OBJDIR)/json_timeline.h $(OBJDIR)/json_user_.c:$(OBJDIR)/json_user.h $(OBJDIR)/json_wiki_.c:$(OBJDIR)/json_wiki.h $(OBJDIR)/leaf_.c:$(OBJDIR)/leaf.h $(OBJDIR)/login_.c:$(OBJDIR)/login.h $(OBJDIR)/main_.c:$(OBJDIR)/main.h $(OBJDIR)/manifest_.c:$(OBJDIR)/manifest.h $(OBJDIR)/md5_.c:$(OBJDIR)/md5.h $(OBJDIR)/merge_.c:$(OBJDIR)/merge.h $(OBJDIR)/merge3_.c:$(OBJDIR)/merge3.h $(OBJDIR)/name_.c:$(OBJDIR)/name.h $(OBJDIR)/path_.c:$(OBJDIR)/path.h $(OBJDIR)/pivot_.c:$(OBJDIR)/pivot.h $(OBJDIR)/popen_.c:$(OBJDIR)/popen.h $(OBJDIR)/pqueue_.c:$(OBJDIR)/pqueue.h $(OBJDIR)/printf_.c:$(OBJDIR)/printf.h $(OBJDIR)/rebuild_.c:$(OBJDIR)/rebuild.h $(OBJDIR)/report_.c:$(OBJDIR)/report.h $(OBJDIR)/rss_.c:$(OBJDIR)/rss.h $(OBJDIR)/schema_.c:$(OBJDIR)/schema.h $(OBJDIR)/search_.c:$(OBJDIR)/search.h $(OBJDIR)/setup_.c:$(OBJDIR)/setup.h $(OBJDIR)/sha1_.c:$(OBJDIR)/sha1.h $(OBJDIR)/shun_.c:$(OBJDIR)/shun.h $(OBJDIR)/skins_.c:$(OBJDIR)/skins.h $(OBJDIR)/sqlcmd_.c:$(OBJDIR)/sqlcmd.h $(OBJDIR)/stash_.c:$(OBJDIR)/stash.h $(OBJDIR)/stat_.c:$(OBJDIR)/stat.h $(OBJDIR)/style_.c:$(OBJDIR)/style.h $(OBJDIR)/sync_.c:$(OBJDIR)/sync.h $(OBJDIR)/tag_.c:$(OBJDIR)/tag.h $(OBJDIR)/tar_.c:$(OBJDIR)/tar.h $(OBJDIR)/th_main_.c:$(OBJDIR)/th_main.h $(OBJDIR)/timeline_.c:$(OBJDIR)/timeline.h $(OBJDIR)/tkt_.c:$(OBJDIR)/tkt.h $(OBJDIR)/tktsetup_.c:$(OBJDIR)/tktsetup.h $(OBJDIR)/undo_.c:$(OBJDIR)/undo.h $(OBJDIR)/update_.c:$(OBJDIR)/update.h $(OBJDIR)/url_.c:$(OBJDIR)/url.h $(OBJDIR)/user_.c:$(OBJDIR)/user.h $(OBJDIR)/verify_.c:$(OBJDIR)/verify.h $(OBJDIR)/vfile_.c:$(OBJDIR)/vfile.h $(OBJDIR)/wiki_.c:$(OBJDIR)/wiki.h $(OBJDIR)/wikiformat_.c:$(OBJDIR)/wikiformat.h $(OBJDIR)/winhttp_.c:$(OBJDIR)/winhttp.h $(OBJDIR)/wysiwyg_.c:$(OBJDIR)/wysiwyg.h $(OBJDIR)/xfer_.c:$(OBJDIR)/xfer.h $(OBJDIR)/xfersetup_.c:$(OBJDIR)/xfersetup.h $(OBJDIR)/zip_.c:$(OBJDIR)/zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h $(OBJDIR)/VERSION.h
611 echo Done >$(OBJDIR)/headers
612
613 $(OBJDIR)/headers: Makefile
614
615 Makefile:
616
617 $(OBJDIR)/add_.c: $(SRCDIR)/add.c $(OBJDIR)/translate
618 $(TRANSLATE) $(SRCDIR)/add.c >$(OBJDIR)/add_.c
619
620 $(OBJDIR)/add.o: $(OBJDIR)/add_.c $(OBJDIR)/add.h $(SRCDIR)/config.h
621 $(XTCC) -o $(OBJDIR)/add.o -c $(OBJDIR)/add_.c
622
623 $(OBJDIR)/add.h: $(OBJDIR)/headers
624
625 $(OBJDIR)/allrepo_.c: $(SRCDIR)/allrepo.c $(OBJDIR)/translate
626 $(TRANSLATE) $(SRCDIR)/allrepo.c >$(OBJDIR)/allrepo_.c
627
628 $(OBJDIR)/allrepo.o: $(OBJDIR)/allrepo_.c $(OBJDIR)/allrepo.h $(SRCDIR)/config.h
629 $(XTCC) -o $(OBJDIR)/allrepo.o -c $(OBJDIR)/allrepo_.c
630
631 $(OBJDIR)/allrepo.h: $(OBJDIR)/headers
632
633 $(OBJDIR)/attach_.c: $(SRCDIR)/attach.c $(OBJDIR)/translate
634 $(TRANSLATE) $(SRCDIR)/attach.c >$(OBJDIR)/attach_.c
635
636 $(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h
637 $(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c
638
639 $(OBJDIR)/attach.h: $(OBJDIR)/headers
640
641 $(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(OBJDIR)/translate
642 $(TRANSLATE) $(SRCDIR)/bag.c >$(OBJDIR)/bag_.c
643
644 $(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h
645 $(XTCC) -o $(OBJDIR)/bag.o -c $(OBJDIR)/bag_.c
646
647 $(OBJDIR)/bag.h: $(OBJDIR)/headers
648
649 $(OBJDIR)/bisect_.c: $(SRCDIR)/bisect.c $(OBJDIR)/translate
650 $(TRANSLATE) $(SRCDIR)/bisect.c >$(OBJDIR)/bisect_.c
651
652 $(OBJDIR)/bisect.o: $(OBJDIR)/bisect_.c $(OBJDIR)/bisect.h $(SRCDIR)/config.h
653 $(XTCC) -o $(OBJDIR)/bisect.o -c $(OBJDIR)/bisect_.c
654
655 $(OBJDIR)/bisect.h: $(OBJDIR)/headers
656
657 $(OBJDIR)/blob_.c: $(SRCDIR)/blob.c $(OBJDIR)/translate
658 $(TRANSLATE) $(SRCDIR)/blob.c >$(OBJDIR)/blob_.c
659
660 $(OBJDIR)/blob.o: $(OBJDIR)/blob_.c $(OBJDIR)/blob.h $(SRCDIR)/config.h
661 $(XTCC) -o $(OBJDIR)/blob.o -c $(OBJDIR)/blob_.c
662
663 $(OBJDIR)/blob.h: $(OBJDIR)/headers
664
665 $(OBJDIR)/branch_.c: $(SRCDIR)/branch.c $(OBJDIR)/translate
666 $(TRANSLATE) $(SRCDIR)/branch.c >$(OBJDIR)/branch_.c
667
668 $(OBJDIR)/branch.o: $(OBJDIR)/branch_.c $(OBJDIR)/branch.h $(SRCDIR)/config.h
669 $(XTCC) -o $(OBJDIR)/branch.o -c $(OBJDIR)/branch_.c
670
671 $(OBJDIR)/branch.h: $(OBJDIR)/headers
672
673 $(OBJDIR)/browse_.c: $(SRCDIR)/browse.c $(OBJDIR)/translate
674 $(TRANSLATE) $(SRCDIR)/browse.c >$(OBJDIR)/browse_.c
675
676 $(OBJDIR)/browse.o: $(OBJDIR)/browse_.c $(OBJDIR)/browse.h $(SRCDIR)/config.h
677 $(XTCC) -o $(OBJDIR)/browse.o -c $(OBJDIR)/browse_.c
678
679 $(OBJDIR)/browse.h: $(OBJDIR)/headers
680
681 $(OBJDIR)/captcha_.c: $(SRCDIR)/captcha.c $(OBJDIR)/translate
682 $(TRANSLATE) $(SRCDIR)/captcha.c >$(OBJDIR)/captcha_.c
683
684 $(OBJDIR)/captcha.o: $(OBJDIR)/captcha_.c $(OBJDIR)/captcha.h $(SRCDIR)/config.h
685 $(XTCC) -o $(OBJDIR)/captcha.o -c $(OBJDIR)/captcha_.c
686
687 $(OBJDIR)/captcha.h: $(OBJDIR)/headers
688
689 $(OBJDIR)/cgi_.c: $(SRCDIR)/cgi.c $(OBJDIR)/translate
690 $(TRANSLATE) $(SRCDIR)/cgi.c >$(OBJDIR)/cgi_.c
691
692 $(OBJDIR)/cgi.o: $(OBJDIR)/cgi_.c $(OBJDIR)/cgi.h $(SRCDIR)/config.h
693 $(XTCC) -o $(OBJDIR)/cgi.o -c $(OBJDIR)/cgi_.c
694
695 $(OBJDIR)/cgi.h: $(OBJDIR)/headers
696
697 $(OBJDIR)/checkin_.c: $(SRCDIR)/checkin.c $(OBJDIR)/translate
698 $(TRANSLATE) $(SRCDIR)/checkin.c >$(OBJDIR)/checkin_.c
699
700 $(OBJDIR)/checkin.o: $(OBJDIR)/checkin_.c $(OBJDIR)/checkin.h $(SRCDIR)/config.h
701 $(XTCC) -o $(OBJDIR)/checkin.o -c $(OBJDIR)/checkin_.c
702
703 $(OBJDIR)/checkin.h: $(OBJDIR)/headers
704
705 $(OBJDIR)/checkout_.c: $(SRCDIR)/checkout.c $(OBJDIR)/translate
706 $(TRANSLATE) $(SRCDIR)/checkout.c >$(OBJDIR)/checkout_.c
707
708 $(OBJDIR)/checkout.o: $(OBJDIR)/checkout_.c $(OBJDIR)/checkout.h $(SRCDIR)/config.h
709 $(XTCC) -o $(OBJDIR)/checkout.o -c $(OBJDIR)/checkout_.c
710
711 $(OBJDIR)/checkout.h: $(OBJDIR)/headers
712
713 $(OBJDIR)/clearsign_.c: $(SRCDIR)/clearsign.c $(OBJDIR)/translate
714 $(TRANSLATE) $(SRCDIR)/clearsign.c >$(OBJDIR)/clearsign_.c
715
716 $(OBJDIR)/clearsign.o: $(OBJDIR)/clearsign_.c $(OBJDIR)/clearsign.h $(SRCDIR)/config.h
717 $(XTCC) -o $(OBJDIR)/clearsign.o -c $(OBJDIR)/clearsign_.c
718
719 $(OBJDIR)/clearsign.h: $(OBJDIR)/headers
720
721 $(OBJDIR)/clone_.c: $(SRCDIR)/clone.c $(OBJDIR)/translate
722 $(TRANSLATE) $(SRCDIR)/clone.c >$(OBJDIR)/clone_.c
723
724 $(OBJDIR)/clone.o: $(OBJDIR)/clone_.c $(OBJDIR)/clone.h $(SRCDIR)/config.h
725 $(XTCC) -o $(OBJDIR)/clone.o -c $(OBJDIR)/clone_.c
726
727 $(OBJDIR)/clone.h: $(OBJDIR)/headers
728
729 $(OBJDIR)/comformat_.c: $(SRCDIR)/comformat.c $(OBJDIR)/translate
730 $(TRANSLATE) $(SRCDIR)/comformat.c >$(OBJDIR)/comformat_.c
731
732 $(OBJDIR)/comformat.o: $(OBJDIR)/comformat_.c $(OBJDIR)/comformat.h $(SRCDIR)/config.h
733 $(XTCC) -o $(OBJDIR)/comformat.o -c $(OBJDIR)/comformat_.c
734
735 $(OBJDIR)/comformat.h: $(OBJDIR)/headers
736
737 $(OBJDIR)/configure_.c: $(SRCDIR)/configure.c $(OBJDIR)/translate
738 $(TRANSLATE) $(SRCDIR)/configure.c >$(OBJDIR)/configure_.c
739
740 $(OBJDIR)/configure.o: $(OBJDIR)/configure_.c $(OBJDIR)/configure.h $(SRCDIR)/config.h
741 $(XTCC) -o $(OBJDIR)/configure.o -c $(OBJDIR)/configure_.c
742
743 $(OBJDIR)/configure.h: $(OBJDIR)/headers
744
745 $(OBJDIR)/content_.c: $(SRCDIR)/content.c $(OBJDIR)/translate
746 $(TRANSLATE) $(SRCDIR)/content.c >$(OBJDIR)/content_.c
747
748 $(OBJDIR)/content.o: $(OBJDIR)/content_.c $(OBJDIR)/content.h $(SRCDIR)/config.h
749 $(XTCC) -o $(OBJDIR)/content.o -c $(OBJDIR)/content_.c
750
751 $(OBJDIR)/content.h: $(OBJDIR)/headers
752
753 $(OBJDIR)/db_.c: $(SRCDIR)/db.c $(OBJDIR)/translate
754 $(TRANSLATE) $(SRCDIR)/db.c >$(OBJDIR)/db_.c
755
756 $(OBJDIR)/db.o: $(OBJDIR)/db_.c $(OBJDIR)/db.h $(SRCDIR)/config.h
757 $(XTCC) -o $(OBJDIR)/db.o -c $(OBJDIR)/db_.c
758
759 $(OBJDIR)/db.h: $(OBJDIR)/headers
760
761 $(OBJDIR)/delta_.c: $(SRCDIR)/delta.c $(OBJDIR)/translate
762 $(TRANSLATE) $(SRCDIR)/delta.c >$(OBJDIR)/delta_.c
763
764 $(OBJDIR)/delta.o: $(OBJDIR)/delta_.c $(OBJDIR)/delta.h $(SRCDIR)/config.h
765 $(XTCC) -o $(OBJDIR)/delta.o -c $(OBJDIR)/delta_.c
766
767 $(OBJDIR)/delta.h: $(OBJDIR)/headers
768
769 $(OBJDIR)/deltacmd_.c: $(SRCDIR)/deltacmd.c $(OBJDIR)/translate
770 $(TRANSLATE) $(SRCDIR)/deltacmd.c >$(OBJDIR)/deltacmd_.c
771
772 $(OBJDIR)/deltacmd.o: $(OBJDIR)/deltacmd_.c $(OBJDIR)/deltacmd.h $(SRCDIR)/config.h
773 $(XTCC) -o $(OBJDIR)/deltacmd.o -c $(OBJDIR)/deltacmd_.c
774
775 $(OBJDIR)/deltacmd.h: $(OBJDIR)/headers
776
777 $(OBJDIR)/descendants_.c: $(SRCDIR)/descendants.c $(OBJDIR)/translate
778 $(TRANSLATE) $(SRCDIR)/descendants.c >$(OBJDIR)/descendants_.c
779
780 $(OBJDIR)/descendants.o: $(OBJDIR)/descendants_.c $(OBJDIR)/descendants.h $(SRCDIR)/config.h
781 $(XTCC) -o $(OBJDIR)/descendants.o -c $(OBJDIR)/descendants_.c
782
783 $(OBJDIR)/descendants.h: $(OBJDIR)/headers
784
785 $(OBJDIR)/diff_.c: $(SRCDIR)/diff.c $(OBJDIR)/translate
786 $(TRANSLATE) $(SRCDIR)/diff.c >$(OBJDIR)/diff_.c
787
788 $(OBJDIR)/diff.o: $(OBJDIR)/diff_.c $(OBJDIR)/diff.h $(SRCDIR)/config.h
789 $(XTCC) -o $(OBJDIR)/diff.o -c $(OBJDIR)/diff_.c
790
791 $(OBJDIR)/diff.h: $(OBJDIR)/headers
792
793 $(OBJDIR)/diffcmd_.c: $(SRCDIR)/diffcmd.c $(OBJDIR)/translate
794 $(TRANSLATE) $(SRCDIR)/diffcmd.c >$(OBJDIR)/diffcmd_.c
795
796 $(OBJDIR)/diffcmd.o: $(OBJDIR)/diffcmd_.c $(OBJDIR)/diffcmd.h $(SRCDIR)/config.h
797 $(XTCC) -o $(OBJDIR)/diffcmd.o -c $(OBJDIR)/diffcmd_.c
798
799 $(OBJDIR)/diffcmd.h: $(OBJDIR)/headers
800
801 $(OBJDIR)/doc_.c: $(SRCDIR)/doc.c $(OBJDIR)/translate
802 $(TRANSLATE) $(SRCDIR)/doc.c >$(OBJDIR)/doc_.c
803
804 $(OBJDIR)/doc.o: $(OBJDIR)/doc_.c $(OBJDIR)/doc.h $(SRCDIR)/config.h
805 $(XTCC) -o $(OBJDIR)/doc.o -c $(OBJDIR)/doc_.c
806
807 $(OBJDIR)/doc.h: $(OBJDIR)/headers
808
809 $(OBJDIR)/encode_.c: $(SRCDIR)/encode.c $(OBJDIR)/translate
810 $(TRANSLATE) $(SRCDIR)/encode.c >$(OBJDIR)/encode_.c
811
812 $(OBJDIR)/encode.o: $(OBJDIR)/encode_.c $(OBJDIR)/encode.h $(SRCDIR)/config.h
813 $(XTCC) -o $(OBJDIR)/encode.o -c $(OBJDIR)/encode_.c
814
815 $(OBJDIR)/encode.h: $(OBJDIR)/headers
816
817 $(OBJDIR)/event_.c: $(SRCDIR)/event.c $(OBJDIR)/translate
818 $(TRANSLATE) $(SRCDIR)/event.c >$(OBJDIR)/event_.c
819
820 $(OBJDIR)/event.o: $(OBJDIR)/event_.c $(OBJDIR)/event.h $(SRCDIR)/config.h
821 $(XTCC) -o $(OBJDIR)/event.o -c $(OBJDIR)/event_.c
822
823 $(OBJDIR)/event.h: $(OBJDIR)/headers
824
825 $(OBJDIR)/export_.c: $(SRCDIR)/export.c $(OBJDIR)/translate
826 $(TRANSLATE) $(SRCDIR)/export.c >$(OBJDIR)/export_.c
827
828 $(OBJDIR)/export.o: $(OBJDIR)/export_.c $(OBJDIR)/export.h $(SRCDIR)/config.h
829 $(XTCC) -o $(OBJDIR)/export.o -c $(OBJDIR)/export_.c
830
831 $(OBJDIR)/export.h: $(OBJDIR)/headers
832
833 $(OBJDIR)/file_.c: $(SRCDIR)/file.c $(OBJDIR)/translate
834 $(TRANSLATE) $(SRCDIR)/file.c >$(OBJDIR)/file_.c
835
836 $(OBJDIR)/file.o: $(OBJDIR)/file_.c $(OBJDIR)/file.h $(SRCDIR)/config.h
837 $(XTCC) -o $(OBJDIR)/file.o -c $(OBJDIR)/file_.c
838
839 $(OBJDIR)/file.h: $(OBJDIR)/headers
840
841 $(OBJDIR)/finfo_.c: $(SRCDIR)/finfo.c $(OBJDIR)/translate
842 $(TRANSLATE) $(SRCDIR)/finfo.c >$(OBJDIR)/finfo_.c
843
844 $(OBJDIR)/finfo.o: $(OBJDIR)/finfo_.c $(OBJDIR)/finfo.h $(SRCDIR)/config.h
845 $(XTCC) -o $(OBJDIR)/finfo.o -c $(OBJDIR)/finfo_.c
846
847 $(OBJDIR)/finfo.h: $(OBJDIR)/headers
848
849 $(OBJDIR)/glob_.c: $(SRCDIR)/glob.c $(OBJDIR)/translate
850 $(TRANSLATE) $(SRCDIR)/glob.c >$(OBJDIR)/glob_.c
851
852 $(OBJDIR)/glob.o: $(OBJDIR)/glob_.c $(OBJDIR)/glob.h $(SRCDIR)/config.h
853 $(XTCC) -o $(OBJDIR)/glob.o -c $(OBJDIR)/glob_.c
854
855 $(OBJDIR)/glob.h: $(OBJDIR)/headers
856
857 $(OBJDIR)/graph_.c: $(SRCDIR)/graph.c $(OBJDIR)/translate
858 $(TRANSLATE) $(SRCDIR)/graph.c >$(OBJDIR)/graph_.c
859
860 $(OBJDIR)/graph.o: $(OBJDIR)/graph_.c $(OBJDIR)/graph.h $(SRCDIR)/config.h
861 $(XTCC) -o $(OBJDIR)/graph.o -c $(OBJDIR)/graph_.c
862
863 $(OBJDIR)/graph.h: $(OBJDIR)/headers
864
865 $(OBJDIR)/gzip_.c: $(SRCDIR)/gzip.c $(OBJDIR)/translate
866 $(TRANSLATE) $(SRCDIR)/gzip.c >$(OBJDIR)/gzip_.c
867
868 $(OBJDIR)/gzip.o: $(OBJDIR)/gzip_.c $(OBJDIR)/gzip.h $(SRCDIR)/config.h
869 $(XTCC) -o $(OBJDIR)/gzip.o -c $(OBJDIR)/gzip_.c
870
871 $(OBJDIR)/gzip.h: $(OBJDIR)/headers
872
873 $(OBJDIR)/http_.c: $(SRCDIR)/http.c $(OBJDIR)/translate
874 $(TRANSLATE) $(SRCDIR)/http.c >$(OBJDIR)/http_.c
875
876 $(OBJDIR)/http.o: $(OBJDIR)/http_.c $(OBJDIR)/http.h $(SRCDIR)/config.h
877 $(XTCC) -o $(OBJDIR)/http.o -c $(OBJDIR)/http_.c
878
879 $(OBJDIR)/http.h: $(OBJDIR)/headers
880
881 $(OBJDIR)/http_socket_.c: $(SRCDIR)/http_socket.c $(OBJDIR)/translate
882 $(TRANSLATE) $(SRCDIR)/http_socket.c >$(OBJDIR)/http_socket_.c
883
884 $(OBJDIR)/http_socket.o: $(OBJDIR)/http_socket_.c $(OBJDIR)/http_socket.h $(SRCDIR)/config.h
885 $(XTCC) -o $(OBJDIR)/http_socket.o -c $(OBJDIR)/http_socket_.c
886
887 $(OBJDIR)/http_socket.h: $(OBJDIR)/headers
888
889 $(OBJDIR)/http_ssl_.c: $(SRCDIR)/http_ssl.c $(OBJDIR)/translate
890 $(TRANSLATE) $(SRCDIR)/http_ssl.c >$(OBJDIR)/http_ssl_.c
891
892 $(OBJDIR)/http_ssl.o: $(OBJDIR)/http_ssl_.c $(OBJDIR)/http_ssl.h $(SRCDIR)/config.h
893 $(XTCC) -o $(OBJDIR)/http_ssl.o -c $(OBJDIR)/http_ssl_.c
894
895 $(OBJDIR)/http_ssl.h: $(OBJDIR)/headers
896
897 $(OBJDIR)/http_transport_.c: $(SRCDIR)/http_transport.c $(OBJDIR)/translate
898 $(TRANSLATE) $(SRCDIR)/http_transport.c >$(OBJDIR)/http_transport_.c
899
900 $(OBJDIR)/http_transport.o: $(OBJDIR)/http_transport_.c $(OBJDIR)/http_transport.h $(SRCDIR)/config.h
901 $(XTCC) -o $(OBJDIR)/http_transport.o -c $(OBJDIR)/http_transport_.c
902
903 $(OBJDIR)/http_transport.h: $(OBJDIR)/headers
904
905 $(OBJDIR)/import_.c: $(SRCDIR)/import.c $(OBJDIR)/translate
906 $(TRANSLATE) $(SRCDIR)/import.c >$(OBJDIR)/import_.c
907
908 $(OBJDIR)/import.o: $(OBJDIR)/import_.c $(OBJDIR)/import.h $(SRCDIR)/config.h
909 $(XTCC) -o $(OBJDIR)/import.o -c $(OBJDIR)/import_.c
910
911 $(OBJDIR)/import.h: $(OBJDIR)/headers
912
913 $(OBJDIR)/info_.c: $(SRCDIR)/info.c $(OBJDIR)/translate
914 $(TRANSLATE) $(SRCDIR)/info.c >$(OBJDIR)/info_.c
915
916 $(OBJDIR)/info.o: $(OBJDIR)/info_.c $(OBJDIR)/info.h $(SRCDIR)/config.h
917 $(XTCC) -o $(OBJDIR)/info.o -c $(OBJDIR)/info_.c
918
919 $(OBJDIR)/info.h: $(OBJDIR)/headers
920
921 $(OBJDIR)/json_.c: $(SRCDIR)/json.c $(OBJDIR)/translate
922 $(TRANSLATE) $(SRCDIR)/json.c >$(OBJDIR)/json_.c
923
924 $(OBJDIR)/json.o: $(OBJDIR)/json_.c $(OBJDIR)/json.h $(SRCDIR)/config.h
925 $(XTCC) -o $(OBJDIR)/json.o -c $(OBJDIR)/json_.c
926
927 $(OBJDIR)/json.h: $(OBJDIR)/headers
928
929 $(OBJDIR)/json_artifact_.c: $(SRCDIR)/json_artifact.c $(OBJDIR)/translate
930 $(TRANSLATE) $(SRCDIR)/json_artifact.c >$(OBJDIR)/json_artifact_.c
931
932 $(OBJDIR)/json_artifact.o: $(OBJDIR)/json_artifact_.c $(OBJDIR)/json_artifact.h $(SRCDIR)/config.h
933 $(XTCC) -o $(OBJDIR)/json_artifact.o -c $(OBJDIR)/json_artifact_.c
934
935 $(OBJDIR)/json_artifact.h: $(OBJDIR)/headers
936
937 $(OBJDIR)/json_branch_.c: $(SRCDIR)/json_branch.c $(OBJDIR)/translate
938 $(TRANSLATE) $(SRCDIR)/json_branch.c >$(OBJDIR)/json_branch_.c
939
940 $(OBJDIR)/json_branch.o: $(OBJDIR)/json_branch_.c $(OBJDIR)/json_branch.h $(SRCDIR)/config.h
941 $(XTCC) -o $(OBJDIR)/json_branch.o -c $(OBJDIR)/json_branch_.c
942
943 $(OBJDIR)/json_branch.h: $(OBJDIR)/headers
944
945 $(OBJDIR)/json_config_.c: $(SRCDIR)/json_config.c $(OBJDIR)/translate
946 $(TRANSLATE) $(SRCDIR)/json_config.c >$(OBJDIR)/json_config_.c
947
948 $(OBJDIR)/json_config.o: $(OBJDIR)/json_config_.c $(OBJDIR)/json_config.h $(SRCDIR)/config.h
949 $(XTCC) -o $(OBJDIR)/json_config.o -c $(OBJDIR)/json_config_.c
950
951 $(OBJDIR)/json_config.h: $(OBJDIR)/headers
952
953 $(OBJDIR)/json_diff_.c: $(SRCDIR)/json_diff.c $(OBJDIR)/translate
954 $(TRANSLATE) $(SRCDIR)/json_diff.c >$(OBJDIR)/json_diff_.c
955
956 $(OBJDIR)/json_diff.o: $(OBJDIR)/json_diff_.c $(OBJDIR)/json_diff.h $(SRCDIR)/config.h
957 $(XTCC) -o $(OBJDIR)/json_diff.o -c $(OBJDIR)/json_diff_.c
958
959 $(OBJDIR)/json_diff.h: $(OBJDIR)/headers
960
961 $(OBJDIR)/json_dir_.c: $(SRCDIR)/json_dir.c $(OBJDIR)/translate
962 $(TRANSLATE) $(SRCDIR)/json_dir.c >$(OBJDIR)/json_dir_.c
963
964 $(OBJDIR)/json_dir.o: $(OBJDIR)/json_dir_.c $(OBJDIR)/json_dir.h $(SRCDIR)/config.h
965 $(XTCC) -o $(OBJDIR)/json_dir.o -c $(OBJDIR)/json_dir_.c
966
967 $(OBJDIR)/json_dir.h: $(OBJDIR)/headers
968
969 $(OBJDIR)/json_finfo_.c: $(SRCDIR)/json_finfo.c $(OBJDIR)/translate
970 $(TRANSLATE) $(SRCDIR)/json_finfo.c >$(OBJDIR)/json_finfo_.c
971
972 $(OBJDIR)/json_finfo.o: $(OBJDIR)/json_finfo_.c $(OBJDIR)/json_finfo.h $(SRCDIR)/config.h
973 $(XTCC) -o $(OBJDIR)/json_finfo.o -c $(OBJDIR)/json_finfo_.c
974
975 $(OBJDIR)/json_finfo.h: $(OBJDIR)/headers
976
977 $(OBJDIR)/json_login_.c: $(SRCDIR)/json_login.c $(OBJDIR)/translate
978 $(TRANSLATE) $(SRCDIR)/json_login.c >$(OBJDIR)/json_login_.c
979
980 $(OBJDIR)/json_login.o: $(OBJDIR)/json_login_.c $(OBJDIR)/json_login.h $(SRCDIR)/config.h
981 $(XTCC) -o $(OBJDIR)/json_login.o -c $(OBJDIR)/json_login_.c
982
983 $(OBJDIR)/json_login.h: $(OBJDIR)/headers
984
985 $(OBJDIR)/json_query_.c: $(SRCDIR)/json_query.c $(OBJDIR)/translate
986 $(TRANSLATE) $(SRCDIR)/json_query.c >$(OBJDIR)/json_query_.c
987
988 $(OBJDIR)/json_query.o: $(OBJDIR)/json_query_.c $(OBJDIR)/json_query.h $(SRCDIR)/config.h
989 $(XTCC) -o $(OBJDIR)/json_query.o -c $(OBJDIR)/json_query_.c
990
991 $(OBJDIR)/json_query.h: $(OBJDIR)/headers
992
993 $(OBJDIR)/json_report_.c: $(SRCDIR)/json_report.c $(OBJDIR)/translate
994 $(TRANSLATE) $(SRCDIR)/json_report.c >$(OBJDIR)/json_report_.c
995
996 $(OBJDIR)/json_report.o: $(OBJDIR)/json_report_.c $(OBJDIR)/json_report.h $(SRCDIR)/config.h
997 $(XTCC) -o $(OBJDIR)/json_report.o -c $(OBJDIR)/json_report_.c
998
999 $(OBJDIR)/json_report.h: $(OBJDIR)/headers
1000
1001 $(OBJDIR)/json_tag_.c: $(SRCDIR)/json_tag.c $(OBJDIR)/translate
1002 $(TRANSLATE) $(SRCDIR)/json_tag.c >$(OBJDIR)/json_tag_.c
1003
1004 $(OBJDIR)/json_tag.o: $(OBJDIR)/json_tag_.c $(OBJDIR)/json_tag.h $(SRCDIR)/config.h
1005 $(XTCC) -o $(OBJDIR)/json_tag.o -c $(OBJDIR)/json_tag_.c
1006
1007 $(OBJDIR)/json_tag.h: $(OBJDIR)/headers
1008
1009 $(OBJDIR)/json_timeline_.c: $(SRCDIR)/json_timeline.c $(OBJDIR)/translate
1010 $(TRANSLATE) $(SRCDIR)/json_timeline.c >$(OBJDIR)/json_timeline_.c
1011
1012 $(OBJDIR)/json_timeline.o: $(OBJDIR)/json_timeline_.c $(OBJDIR)/json_timeline.h $(SRCDIR)/config.h
1013 $(XTCC) -o $(OBJDIR)/json_timeline.o -c $(OBJDIR)/json_timeline_.c
1014
1015 $(OBJDIR)/json_timeline.h: $(OBJDIR)/headers
1016
1017 $(OBJDIR)/json_user_.c: $(SRCDIR)/json_user.c $(OBJDIR)/translate
1018 $(TRANSLATE) $(SRCDIR)/json_user.c >$(OBJDIR)/json_user_.c
1019
1020 $(OBJDIR)/json_user.o: $(OBJDIR)/json_user_.c $(OBJDIR)/json_user.h $(SRCDIR)/config.h
1021 $(XTCC) -o $(OBJDIR)/json_user.o -c $(OBJDIR)/json_user_.c
1022
1023 $(OBJDIR)/json_user.h: $(OBJDIR)/headers
1024
1025 $(OBJDIR)/json_wiki_.c: $(SRCDIR)/json_wiki.c $(OBJDIR)/translate
1026 $(TRANSLATE) $(SRCDIR)/json_wiki.c >$(OBJDIR)/json_wiki_.c
1027
1028 $(OBJDIR)/json_wiki.o: $(OBJDIR)/json_wiki_.c $(OBJDIR)/json_wiki.h $(SRCDIR)/config.h
1029 $(XTCC) -o $(OBJDIR)/json_wiki.o -c $(OBJDIR)/json_wiki_.c
1030
1031 $(OBJDIR)/json_wiki.h: $(OBJDIR)/headers
1032
1033 $(OBJDIR)/leaf_.c: $(SRCDIR)/leaf.c $(OBJDIR)/translate
1034 $(TRANSLATE) $(SRCDIR)/leaf.c >$(OBJDIR)/leaf_.c
1035
1036 $(OBJDIR)/leaf.o: $(OBJDIR)/leaf_.c $(OBJDIR)/leaf.h $(SRCDIR)/config.h
1037 $(XTCC) -o $(OBJDIR)/leaf.o -c $(OBJDIR)/leaf_.c
1038
1039 $(OBJDIR)/leaf.h: $(OBJDIR)/headers
1040
1041 $(OBJDIR)/login_.c: $(SRCDIR)/login.c $(OBJDIR)/translate
1042 $(TRANSLATE) $(SRCDIR)/login.c >$(OBJDIR)/login_.c
1043
1044 $(OBJDIR)/login.o: $(OBJDIR)/login_.c $(OBJDIR)/login.h $(SRCDIR)/config.h
1045 $(XTCC) -o $(OBJDIR)/login.o -c $(OBJDIR)/login_.c
1046
1047 $(OBJDIR)/login.h: $(OBJDIR)/headers
1048
1049 $(OBJDIR)/main_.c: $(SRCDIR)/main.c $(OBJDIR)/translate
1050 $(TRANSLATE) $(SRCDIR)/main.c >$(OBJDIR)/main_.c
1051
1052 $(OBJDIR)/main.o: $(OBJDIR)/main_.c $(OBJDIR)/main.h $(OBJDIR)/page_index.h $(SRCDIR)/config.h
1053 $(XTCC) -o $(OBJDIR)/main.o -c $(OBJDIR)/main_.c
1054
1055 $(OBJDIR)/main.h: $(OBJDIR)/headers
1056
1057 $(OBJDIR)/manifest_.c: $(SRCDIR)/manifest.c $(OBJDIR)/translate
1058 $(TRANSLATE) $(SRCDIR)/manifest.c >$(OBJDIR)/manifest_.c
1059
1060 $(OBJDIR)/manifest.o: $(OBJDIR)/manifest_.c $(OBJDIR)/manifest.h $(SRCDIR)/config.h
1061 $(XTCC) -o $(OBJDIR)/manifest.o -c $(OBJDIR)/manifest_.c
1062
1063 $(OBJDIR)/manifest.h: $(OBJDIR)/headers
1064
1065 $(OBJDIR)/md5_.c: $(SRCDIR)/md5.c $(OBJDIR)/translate
1066 $(TRANSLATE) $(SRCDIR)/md5.c >$(OBJDIR)/md5_.c
1067
1068 $(OBJDIR)/md5.o: $(OBJDIR)/md5_.c $(OBJDIR)/md5.h $(SRCDIR)/config.h
1069 $(XTCC) -o $(OBJDIR)/md5.o -c $(OBJDIR)/md5_.c
1070
1071 $(OBJDIR)/md5.h: $(OBJDIR)/headers
1072
1073 $(OBJDIR)/merge_.c: $(SRCDIR)/merge.c $(OBJDIR)/translate
1074 $(TRANSLATE) $(SRCDIR)/merge.c >$(OBJDIR)/merge_.c
1075
1076 $(OBJDIR)/merge.o: $(OBJDIR)/merge_.c $(OBJDIR)/merge.h $(SRCDIR)/config.h
1077 $(XTCC) -o $(OBJDIR)/merge.o -c $(OBJDIR)/merge_.c
1078
1079 $(OBJDIR)/merge.h: $(OBJDIR)/headers
1080
1081 $(OBJDIR)/merge3_.c: $(SRCDIR)/merge3.c $(OBJDIR)/translate
1082 $(TRANSLATE) $(SRCDIR)/merge3.c >$(OBJDIR)/merge3_.c
1083
1084 $(OBJDIR)/merge3.o: $(OBJDIR)/merge3_.c $(OBJDIR)/merge3.h $(SRCDIR)/config.h
1085 $(XTCC) -o $(OBJDIR)/merge3.o -c $(OBJDIR)/merge3_.c
1086
1087 $(OBJDIR)/merge3.h: $(OBJDIR)/headers
1088
1089 $(OBJDIR)/name_.c: $(SRCDIR)/name.c $(OBJDIR)/translate
1090 $(TRANSLATE) $(SRCDIR)/name.c >$(OBJDIR)/name_.c
1091
1092 $(OBJDIR)/name.o: $(OBJDIR)/name_.c $(OBJDIR)/name.h $(SRCDIR)/config.h
1093 $(XTCC) -o $(OBJDIR)/name.o -c $(OBJDIR)/name_.c
1094
1095 $(OBJDIR)/name.h: $(OBJDIR)/headers
1096
1097 $(OBJDIR)/path_.c: $(SRCDIR)/path.c $(OBJDIR)/translate
1098 $(TRANSLATE) $(SRCDIR)/path.c >$(OBJDIR)/path_.c
1099
1100 $(OBJDIR)/path.o: $(OBJDIR)/path_.c $(OBJDIR)/path.h $(SRCDIR)/config.h
1101 $(XTCC) -o $(OBJDIR)/path.o -c $(OBJDIR)/path_.c
1102
1103 $(OBJDIR)/path.h: $(OBJDIR)/headers
1104
1105 $(OBJDIR)/pivot_.c: $(SRCDIR)/pivot.c $(OBJDIR)/translate
1106 $(TRANSLATE) $(SRCDIR)/pivot.c >$(OBJDIR)/pivot_.c
1107
1108 $(OBJDIR)/pivot.o: $(OBJDIR)/pivot_.c $(OBJDIR)/pivot.h $(SRCDIR)/config.h
1109 $(XTCC) -o $(OBJDIR)/pivot.o -c $(OBJDIR)/pivot_.c
1110
1111 $(OBJDIR)/pivot.h: $(OBJDIR)/headers
1112
1113 $(OBJDIR)/popen_.c: $(SRCDIR)/popen.c $(OBJDIR)/translate
1114 $(TRANSLATE) $(SRCDIR)/popen.c >$(OBJDIR)/popen_.c
1115
1116 $(OBJDIR)/popen.o: $(OBJDIR)/popen_.c $(OBJDIR)/popen.h $(SRCDIR)/config.h
1117 $(XTCC) -o $(OBJDIR)/popen.o -c $(OBJDIR)/popen_.c
1118
1119 $(OBJDIR)/popen.h: $(OBJDIR)/headers
1120
1121 $(OBJDIR)/pqueue_.c: $(SRCDIR)/pqueue.c $(OBJDIR)/translate
1122 $(TRANSLATE) $(SRCDIR)/pqueue.c >$(OBJDIR)/pqueue_.c
1123
1124 $(OBJDIR)/pqueue.o: $(OBJDIR)/pqueue_.c $(OBJDIR)/pqueue.h $(SRCDIR)/config.h
1125 $(XTCC) -o $(OBJDIR)/pqueue.o -c $(OBJDIR)/pqueue_.c
1126
1127 $(OBJDIR)/pqueue.h: $(OBJDIR)/headers
1128
1129 $(OBJDIR)/printf_.c: $(SRCDIR)/printf.c $(OBJDIR)/translate
1130 $(TRANSLATE) $(SRCDIR)/printf.c >$(OBJDIR)/printf_.c
1131
1132 $(OBJDIR)/printf.o: $(OBJDIR)/printf_.c $(OBJDIR)/printf.h $(SRCDIR)/config.h
1133 $(XTCC) -o $(OBJDIR)/printf.o -c $(OBJDIR)/printf_.c
1134
1135 $(OBJDIR)/printf.h: $(OBJDIR)/headers
1136
1137 $(OBJDIR)/rebuild_.c: $(SRCDIR)/rebuild.c $(OBJDIR)/translate
1138 $(TRANSLATE) $(SRCDIR)/rebuild.c >$(OBJDIR)/rebuild_.c
1139
1140 $(OBJDIR)/rebuild.o: $(OBJDIR)/rebuild_.c $(OBJDIR)/rebuild.h $(SRCDIR)/config.h
1141 $(XTCC) -o $(OBJDIR)/rebuild.o -c $(OBJDIR)/rebuild_.c
1142
1143 $(OBJDIR)/rebuild.h: $(OBJDIR)/headers
1144
1145 $(OBJDIR)/report_.c: $(SRCDIR)/report.c $(OBJDIR)/translate
1146 $(TRANSLATE) $(SRCDIR)/report.c >$(OBJDIR)/report_.c
1147
1148 $(OBJDIR)/report.o: $(OBJDIR)/report_.c $(OBJDIR)/report.h $(SRCDIR)/config.h
1149 $(XTCC) -o $(OBJDIR)/report.o -c $(OBJDIR)/report_.c
1150
1151 $(OBJDIR)/report.h: $(OBJDIR)/headers
1152
1153 $(OBJDIR)/rss_.c: $(SRCDIR)/rss.c $(OBJDIR)/translate
1154 $(TRANSLATE) $(SRCDIR)/rss.c >$(OBJDIR)/rss_.c
1155
1156 $(OBJDIR)/rss.o: $(OBJDIR)/rss_.c $(OBJDIR)/rss.h $(SRCDIR)/config.h
1157 $(XTCC) -o $(OBJDIR)/rss.o -c $(OBJDIR)/rss_.c
1158
1159 $(OBJDIR)/rss.h: $(OBJDIR)/headers
1160
1161 $(OBJDIR)/schema_.c: $(SRCDIR)/schema.c $(OBJDIR)/translate
1162 $(TRANSLATE) $(SRCDIR)/schema.c >$(OBJDIR)/schema_.c
1163
1164 $(OBJDIR)/schema.o: $(OBJDIR)/schema_.c $(OBJDIR)/schema.h $(SRCDIR)/config.h
1165 $(XTCC) -o $(OBJDIR)/schema.o -c $(OBJDIR)/schema_.c
1166
1167 $(OBJDIR)/schema.h: $(OBJDIR)/headers
1168
1169 $(OBJDIR)/search_.c: $(SRCDIR)/search.c $(OBJDIR)/translate
1170 $(TRANSLATE) $(SRCDIR)/search.c >$(OBJDIR)/search_.c
1171
1172 $(OBJDIR)/search.o: $(OBJDIR)/search_.c $(OBJDIR)/search.h $(SRCDIR)/config.h
1173 $(XTCC) -o $(OBJDIR)/search.o -c $(OBJDIR)/search_.c
1174
1175 $(OBJDIR)/search.h: $(OBJDIR)/headers
1176
1177 $(OBJDIR)/setup_.c: $(SRCDIR)/setup.c $(OBJDIR)/translate
1178 $(TRANSLATE) $(SRCDIR)/setup.c >$(OBJDIR)/setup_.c
1179
1180 $(OBJDIR)/setup.o: $(OBJDIR)/setup_.c $(OBJDIR)/setup.h $(SRCDIR)/config.h
1181 $(XTCC) -o $(OBJDIR)/setup.o -c $(OBJDIR)/setup_.c
1182
1183 $(OBJDIR)/setup.h: $(OBJDIR)/headers
1184
1185 $(OBJDIR)/sha1_.c: $(SRCDIR)/sha1.c $(OBJDIR)/translate
1186 $(TRANSLATE) $(SRCDIR)/sha1.c >$(OBJDIR)/sha1_.c
1187
1188 $(OBJDIR)/sha1.o: $(OBJDIR)/sha1_.c $(OBJDIR)/sha1.h $(SRCDIR)/config.h
1189 $(XTCC) -o $(OBJDIR)/sha1.o -c $(OBJDIR)/sha1_.c
1190
1191 $(OBJDIR)/sha1.h: $(OBJDIR)/headers
1192
1193 $(OBJDIR)/shun_.c: $(SRCDIR)/shun.c $(OBJDIR)/translate
1194 $(TRANSLATE) $(SRCDIR)/shun.c >$(OBJDIR)/shun_.c
1195
1196 $(OBJDIR)/shun.o: $(OBJDIR)/shun_.c $(OBJDIR)/shun.h $(SRCDIR)/config.h
1197 $(XTCC) -o $(OBJDIR)/shun.o -c $(OBJDIR)/shun_.c
1198
1199 $(OBJDIR)/shun.h: $(OBJDIR)/headers
1200
1201 $(OBJDIR)/skins_.c: $(SRCDIR)/skins.c $(OBJDIR)/translate
1202 $(TRANSLATE) $(SRCDIR)/skins.c >$(OBJDIR)/skins_.c
1203
1204 $(OBJDIR)/skins.o: $(OBJDIR)/skins_.c $(OBJDIR)/skins.h $(SRCDIR)/config.h
1205 $(XTCC) -o $(OBJDIR)/skins.o -c $(OBJDIR)/skins_.c
1206
1207 $(OBJDIR)/skins.h: $(OBJDIR)/headers
1208
1209 $(OBJDIR)/sqlcmd_.c: $(SRCDIR)/sqlcmd.c $(OBJDIR)/translate
1210 $(TRANSLATE) $(SRCDIR)/sqlcmd.c >$(OBJDIR)/sqlcmd_.c
1211
1212 $(OBJDIR)/sqlcmd.o: $(OBJDIR)/sqlcmd_.c $(OBJDIR)/sqlcmd.h $(SRCDIR)/config.h
1213 $(XTCC) -o $(OBJDIR)/sqlcmd.o -c $(OBJDIR)/sqlcmd_.c
1214
1215 $(OBJDIR)/sqlcmd.h: $(OBJDIR)/headers
1216
1217 $(OBJDIR)/stash_.c: $(SRCDIR)/stash.c $(OBJDIR)/translate
1218 $(TRANSLATE) $(SRCDIR)/stash.c >$(OBJDIR)/stash_.c
1219
1220 $(OBJDIR)/stash.o: $(OBJDIR)/stash_.c $(OBJDIR)/stash.h $(SRCDIR)/config.h
1221 $(XTCC) -o $(OBJDIR)/stash.o -c $(OBJDIR)/stash_.c
1222
1223 $(OBJDIR)/stash.h: $(OBJDIR)/headers
1224
1225 $(OBJDIR)/stat_.c: $(SRCDIR)/stat.c $(OBJDIR)/translate
1226 $(TRANSLATE) $(SRCDIR)/stat.c >$(OBJDIR)/stat_.c
1227
1228 $(OBJDIR)/stat.o: $(OBJDIR)/stat_.c $(OBJDIR)/stat.h $(SRCDIR)/config.h
1229 $(XTCC) -o $(OBJDIR)/stat.o -c $(OBJDIR)/stat_.c
1230
1231 $(OBJDIR)/stat.h: $(OBJDIR)/headers
1232
1233 $(OBJDIR)/style_.c: $(SRCDIR)/style.c $(OBJDIR)/translate
1234 $(TRANSLATE) $(SRCDIR)/style.c >$(OBJDIR)/style_.c
1235
1236 $(OBJDIR)/style.o: $(OBJDIR)/style_.c $(OBJDIR)/style.h $(SRCDIR)/config.h
1237 $(XTCC) -o $(OBJDIR)/style.o -c $(OBJDIR)/style_.c
1238
1239 $(OBJDIR)/style.h: $(OBJDIR)/headers
1240
1241 $(OBJDIR)/sync_.c: $(SRCDIR)/sync.c $(OBJDIR)/translate
1242 $(TRANSLATE) $(SRCDIR)/sync.c >$(OBJDIR)/sync_.c
1243
1244 $(OBJDIR)/sync.o: $(OBJDIR)/sync_.c $(OBJDIR)/sync.h $(SRCDIR)/config.h
1245 $(XTCC) -o $(OBJDIR)/sync.o -c $(OBJDIR)/sync_.c
1246
1247 $(OBJDIR)/sync.h: $(OBJDIR)/headers
1248
1249 $(OBJDIR)/tag_.c: $(SRCDIR)/tag.c $(OBJDIR)/translate
1250 $(TRANSLATE) $(SRCDIR)/tag.c >$(OBJDIR)/tag_.c
1251
1252 $(OBJDIR)/tag.o: $(OBJDIR)/tag_.c $(OBJDIR)/tag.h $(SRCDIR)/config.h
1253 $(XTCC) -o $(OBJDIR)/tag.o -c $(OBJDIR)/tag_.c
1254
1255 $(OBJDIR)/tag.h: $(OBJDIR)/headers
1256
1257 $(OBJDIR)/tar_.c: $(SRCDIR)/tar.c $(OBJDIR)/translate
1258 $(TRANSLATE) $(SRCDIR)/tar.c >$(OBJDIR)/tar_.c
1259
1260 $(OBJDIR)/tar.o: $(OBJDIR)/tar_.c $(OBJDIR)/tar.h $(SRCDIR)/config.h
1261 $(XTCC) -o $(OBJDIR)/tar.o -c $(OBJDIR)/tar_.c
1262
1263 $(OBJDIR)/tar.h: $(OBJDIR)/headers
1264
1265 $(OBJDIR)/th_main_.c: $(SRCDIR)/th_main.c $(OBJDIR)/translate
1266 $(TRANSLATE) $(SRCDIR)/th_main.c >$(OBJDIR)/th_main_.c
1267
1268 $(OBJDIR)/th_main.o: $(OBJDIR)/th_main_.c $(OBJDIR)/th_main.h $(SRCDIR)/config.h
1269 $(XTCC) -o $(OBJDIR)/th_main.o -c $(OBJDIR)/th_main_.c
1270
1271 $(OBJDIR)/th_main.h: $(OBJDIR)/headers
1272
1273 $(OBJDIR)/timeline_.c: $(SRCDIR)/timeline.c $(OBJDIR)/translate
1274 $(TRANSLATE) $(SRCDIR)/timeline.c >$(OBJDIR)/timeline_.c
1275
1276 $(OBJDIR)/timeline.o: $(OBJDIR)/timeline_.c $(OBJDIR)/timeline.h $(SRCDIR)/config.h
1277 $(XTCC) -o $(OBJDIR)/timeline.o -c $(OBJDIR)/timeline_.c
1278
1279 $(OBJDIR)/timeline.h: $(OBJDIR)/headers
1280
1281 $(OBJDIR)/tkt_.c: $(SRCDIR)/tkt.c $(OBJDIR)/translate
1282 $(TRANSLATE) $(SRCDIR)/tkt.c >$(OBJDIR)/tkt_.c
1283
1284 $(OBJDIR)/tkt.o: $(OBJDIR)/tkt_.c $(OBJDIR)/tkt.h $(SRCDIR)/config.h
1285 $(XTCC) -o $(OBJDIR)/tkt.o -c $(OBJDIR)/tkt_.c
1286
1287 $(OBJDIR)/tkt.h: $(OBJDIR)/headers
1288
1289 $(OBJDIR)/tktsetup_.c: $(SRCDIR)/tktsetup.c $(OBJDIR)/translate
1290 $(TRANSLATE) $(SRCDIR)/tktsetup.c >$(OBJDIR)/tktsetup_.c
1291
1292 $(OBJDIR)/tktsetup.o: $(OBJDIR)/tktsetup_.c $(OBJDIR)/tktsetup.h $(SRCDIR)/config.h
1293 $(XTCC) -o $(OBJDIR)/tktsetup.o -c $(OBJDIR)/tktsetup_.c
1294
1295 $(OBJDIR)/tktsetup.h: $(OBJDIR)/headers
1296
1297 $(OBJDIR)/undo_.c: $(SRCDIR)/undo.c $(OBJDIR)/translate
1298 $(TRANSLATE) $(SRCDIR)/undo.c >$(OBJDIR)/undo_.c
1299
1300 $(OBJDIR)/undo.o: $(OBJDIR)/undo_.c $(OBJDIR)/undo.h $(SRCDIR)/config.h
1301 $(XTCC) -o $(OBJDIR)/undo.o -c $(OBJDIR)/undo_.c
1302
1303 $(OBJDIR)/undo.h: $(OBJDIR)/headers
1304
1305 $(OBJDIR)/update_.c: $(SRCDIR)/update.c $(OBJDIR)/translate
1306 $(TRANSLATE) $(SRCDIR)/update.c >$(OBJDIR)/update_.c
1307
1308 $(OBJDIR)/update.o: $(OBJDIR)/update_.c $(OBJDIR)/update.h $(SRCDIR)/config.h
1309 $(XTCC) -o $(OBJDIR)/update.o -c $(OBJDIR)/update_.c
1310
1311 $(OBJDIR)/update.h: $(OBJDIR)/headers
1312
1313 $(OBJDIR)/url_.c: $(SRCDIR)/url.c $(OBJDIR)/translate
1314 $(TRANSLATE) $(SRCDIR)/url.c >$(OBJDIR)/url_.c
1315
1316 $(OBJDIR)/url.o: $(OBJDIR)/url_.c $(OBJDIR)/url.h $(SRCDIR)/config.h
1317 $(XTCC) -o $(OBJDIR)/url.o -c $(OBJDIR)/url_.c
1318
1319 $(OBJDIR)/url.h: $(OBJDIR)/headers
1320
1321 $(OBJDIR)/user_.c: $(SRCDIR)/user.c $(OBJDIR)/translate
1322 $(TRANSLATE) $(SRCDIR)/user.c >$(OBJDIR)/user_.c
1323
1324 $(OBJDIR)/user.o: $(OBJDIR)/user_.c $(OBJDIR)/user.h $(SRCDIR)/config.h
1325 $(XTCC) -o $(OBJDIR)/user.o -c $(OBJDIR)/user_.c
1326
1327 $(OBJDIR)/user.h: $(OBJDIR)/headers
1328
1329 $(OBJDIR)/verify_.c: $(SRCDIR)/verify.c $(OBJDIR)/translate
1330 $(TRANSLATE) $(SRCDIR)/verify.c >$(OBJDIR)/verify_.c
1331
1332 $(OBJDIR)/verify.o: $(OBJDIR)/verify_.c $(OBJDIR)/verify.h $(SRCDIR)/config.h
1333 $(XTCC) -o $(OBJDIR)/verify.o -c $(OBJDIR)/verify_.c
1334
1335 $(OBJDIR)/verify.h: $(OBJDIR)/headers
1336
1337 $(OBJDIR)/vfile_.c: $(SRCDIR)/vfile.c $(OBJDIR)/translate
1338 $(TRANSLATE) $(SRCDIR)/vfile.c >$(OBJDIR)/vfile_.c
1339
1340 $(OBJDIR)/vfile.o: $(OBJDIR)/vfile_.c $(OBJDIR)/vfile.h $(SRCDIR)/config.h
1341 $(XTCC) -o $(OBJDIR)/vfile.o -c $(OBJDIR)/vfile_.c
1342
1343 $(OBJDIR)/vfile.h: $(OBJDIR)/headers
1344
1345 $(OBJDIR)/wiki_.c: $(SRCDIR)/wiki.c $(OBJDIR)/translate
1346 $(TRANSLATE) $(SRCDIR)/wiki.c >$(OBJDIR)/wiki_.c
1347
1348 $(OBJDIR)/wiki.o: $(OBJDIR)/wiki_.c $(OBJDIR)/wiki.h $(SRCDIR)/config.h
1349 $(XTCC) -o $(OBJDIR)/wiki.o -c $(OBJDIR)/wiki_.c
1350
1351 $(OBJDIR)/wiki.h: $(OBJDIR)/headers
1352
1353 $(OBJDIR)/wikiformat_.c: $(SRCDIR)/wikiformat.c $(OBJDIR)/translate
1354 $(TRANSLATE) $(SRCDIR)/wikiformat.c >$(OBJDIR)/wikiformat_.c
1355
1356 $(OBJDIR)/wikiformat.o: $(OBJDIR)/wikiformat_.c $(OBJDIR)/wikiformat.h $(SRCDIR)/config.h
1357 $(XTCC) -o $(OBJDIR)/wikiformat.o -c $(OBJDIR)/wikiformat_.c
1358
1359 $(OBJDIR)/wikiformat.h: $(OBJDIR)/headers
1360
1361 $(OBJDIR)/winhttp_.c: $(SRCDIR)/winhttp.c $(OBJDIR)/translate
1362 $(TRANSLATE) $(SRCDIR)/winhttp.c >$(OBJDIR)/winhttp_.c
1363
1364 $(OBJDIR)/winhttp.o: $(OBJDIR)/winhttp_.c $(OBJDIR)/winhttp.h $(SRCDIR)/config.h
1365 $(XTCC) -o $(OBJDIR)/winhttp.o -c $(OBJDIR)/winhttp_.c
1366
1367 $(OBJDIR)/winhttp.h: $(OBJDIR)/headers
1368
1369 $(OBJDIR)/wysiwyg_.c: $(SRCDIR)/wysiwyg.c $(OBJDIR)/translate
1370 $(TRANSLATE) $(SRCDIR)/wysiwyg.c >$(OBJDIR)/wysiwyg_.c
1371
1372 $(OBJDIR)/wysiwyg.o: $(OBJDIR)/wysiwyg_.c $(OBJDIR)/wysiwyg.h $(SRCDIR)/config.h
1373 $(XTCC) -o $(OBJDIR)/wysiwyg.o -c $(OBJDIR)/wysiwyg_.c
1374
1375 $(OBJDIR)/wysiwyg.h: $(OBJDIR)/headers
1376
1377 $(OBJDIR)/xfer_.c: $(SRCDIR)/xfer.c $(OBJDIR)/translate
1378 $(TRANSLATE) $(SRCDIR)/xfer.c >$(OBJDIR)/xfer_.c
1379
1380 $(OBJDIR)/xfer.o: $(OBJDIR)/xfer_.c $(OBJDIR)/xfer.h $(SRCDIR)/config.h
1381 $(XTCC) -o $(OBJDIR)/xfer.o -c $(OBJDIR)/xfer_.c
1382
1383 $(OBJDIR)/xfer.h: $(OBJDIR)/headers
1384
1385 $(OBJDIR)/xfersetup_.c: $(SRCDIR)/xfersetup.c $(OBJDIR)/translate
1386 $(TRANSLATE) $(SRCDIR)/xfersetup.c >$(OBJDIR)/xfersetup_.c
1387
1388 $(OBJDIR)/xfersetup.o: $(OBJDIR)/xfersetup_.c $(OBJDIR)/xfersetup.h $(SRCDIR)/config.h
1389 $(XTCC) -o $(OBJDIR)/xfersetup.o -c $(OBJDIR)/xfersetup_.c
1390
1391 $(OBJDIR)/xfersetup.h: $(OBJDIR)/headers
1392
1393 $(OBJDIR)/zip_.c: $(SRCDIR)/zip.c $(OBJDIR)/translate
1394 $(TRANSLATE) $(SRCDIR)/zip.c >$(OBJDIR)/zip_.c
1395
1396 $(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h
1397 $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c
1398
1399 $(OBJDIR)/zip.h: $(OBJDIR)/headers
1400
1401 $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c
1402 $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o
1403
1404 $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c
1405 $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o -DCSON_FOSSIL_MODE
@@ -1276,6 +1417,5 @@
1417
1418 ifdef FOSSIL_ENABLE_TCL
1419 $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c
1420 $(XTCC) -c $(SRCDIR)/th_tcl.c -o $(OBJDIR)/th_tcl.o
1421 endif
 
1422
--- win/include/dirent.h
+++ win/include/dirent.h
@@ -20,10 +20,32 @@
2020
* IN NO EVENT SHALL TONI RONKKO BE LIABLE FOR ANY CLAIM, DAMAGES OR
2121
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
2222
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2323
* OTHER DEALINGS IN THE SOFTWARE.
2424
*
25
+ * Aug 30, 2012, Jan Nijtmans
26
+ * Remove rewinddir() (not necessary for fossil)
27
+ * Replace everything with its wide-character variant.
28
+ *
29
+ * Mar 15, 2011, Toni Ronkko
30
+ * Defined FILE_ATTRIBUTE_DEVICE for MSVC 6.0.
31
+ *
32
+ * Aug 11, 2010, Toni Ronkko
33
+ * Added d_type and d_namlen fields to dirent structure. The former is
34
+ * especially useful for determining whether directory entry represents a
35
+ * file or a directory. For more information, see
36
+ * http://www.delorie.com/gnu/docs/glibc/libc_270.html
37
+ *
38
+ * Aug 11, 2010, Toni Ronkko
39
+ * Improved conformance to the standards. For example, errno is now set
40
+ * properly on failure and assert() is never used. Thanks to Peter Brockam
41
+ * for suggestions.
42
+ *
43
+ * Aug 11, 2010, Toni Ronkko
44
+ * Fixed a bug in rewinddir(): when using relative directory names, change
45
+ * of working directory no longer causes rewinddir() to fail.
46
+ *
2547
* Dec 15, 2009, John Cunningham
2648
* Added rewinddir member function
2749
*
2850
* Jan 18, 2008, Toni Ronkko
2951
* Using FindFirstFileA and WIN32_FIND_DATAA to avoid converting string
@@ -56,42 +78,121 @@
5678
* First version.
5779
*****************************************************************************/
5880
#ifndef DIRENT_H
5981
#define DIRENT_H
6082
83
+#define WIN32_LEAN_AND_MEAN
6184
#include <windows.h>
6285
#include <string.h>
63
-#include <assert.h>
86
+#include <stdlib.h>
87
+#include <sys/types.h>
88
+#include <sys/stat.h>
89
+#include <errno.h>
90
+
91
+/* Entries missing from MSVC 6.0 */
92
+#if !defined(FILE_ATTRIBUTE_DEVICE)
93
+# define FILE_ATTRIBUTE_DEVICE 0x40
94
+#endif
95
+
96
+/* File type and permission flags for stat() */
97
+#if defined(_MSC_VER) && !defined(S_IREAD)
98
+# define S_IFMT _S_IFMT /* file type mask */
99
+# define S_IFDIR _S_IFDIR /* directory */
100
+# define S_IFCHR _S_IFCHR /* character device */
101
+# define S_IFFIFO _S_IFFIFO /* pipe */
102
+# define S_IFREG _S_IFREG /* regular file */
103
+# define S_IREAD _S_IREAD /* read permission */
104
+# define S_IWRITE _S_IWRITE /* write permission */
105
+# define S_IEXEC _S_IEXEC /* execute permission */
106
+#endif
107
+#define S_IFBLK 0 /* block device */
108
+#define S_IFLNK 0 /* link */
109
+#define S_IFSOCK 0 /* socket */
110
+
111
+#if defined(_MSC_VER)
112
+# define S_IRUSR S_IREAD /* read, user */
113
+# define S_IWUSR S_IWRITE /* write, user */
114
+# define S_IXUSR 0 /* execute, user */
115
+# define S_IRGRP 0 /* read, group */
116
+# define S_IWGRP 0 /* write, group */
117
+# define S_IXGRP 0 /* execute, group */
118
+# define S_IROTH 0 /* read, others */
119
+# define S_IWOTH 0 /* write, others */
120
+# define S_IXOTH 0 /* execute, others */
121
+#endif
122
+
123
+/* Indicates that d_type field is available in dirent structure */
124
+#define _DIRENT_HAVE_D_TYPE
125
+
126
+/* File type flags for d_type */
127
+#define DT_UNKNOWN 0
128
+#define DT_REG S_IFREG
129
+#define DT_DIR S_IFDIR
130
+#define DT_FIFO S_IFFIFO
131
+#define DT_SOCK S_IFSOCK
132
+#define DT_CHR S_IFCHR
133
+#define DT_BLK S_IFBLK
134
+
135
+/* Macros for converting between st_mode and d_type */
136
+#define IFTODT(mode) ((mode) & S_IFMT)
137
+#define DTTOIF(type) (type)
138
+
139
+/*
140
+ * File type macros. Note that block devices, sockets and links cannot be
141
+ * distinguished on Windows and the macros S_ISBLK, S_ISSOCK and S_ISLNK are
142
+ * only defined for compatibility. These macros should always return false
143
+ * on Windows.
144
+ */
145
+#define S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFFIFO)
146
+#define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
147
+#define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
148
+#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
149
+#define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
150
+#define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR)
151
+#define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
152
+
153
+#ifdef __cplusplus
154
+extern "C" {
155
+#endif
64156
65157
66158
typedef struct _wdirent
67159
{
68
- wchar_t d_name[MAX_PATH + 1]; /* current dir entry (unicode char string) */
69
- WIN32_FIND_DATAW data; /* file attributes */
70
-} _wdirent;
160
+ wchar_t d_name[MAX_PATH + 1]; /* File name */
161
+ size_t d_namlen; /* Length of name without \0 */
162
+ int d_type; /* File type */
163
+} _wdirent;
71164
72165
73166
typedef struct _WDIR
74167
{
75
- _wdirent current; /* Current directory entry */
76
- int cached; /* Indicates un-processed entry in memory */
77
- HANDLE search_handle; /* File search handle */
78
- wchar_t patt[MAX_PATH + 3]; /* search pattern (3 = pattern + "\\*\0") */
168
+ _wdirent curentry; /* Current directory entry */
169
+ WIN32_FIND_DATAW find_data; /* Private file data */
170
+ int cached; /* True if data is valid */
171
+ HANDLE search_handle; /* Win32 search handle */
172
+ wchar_t patt[MAX_PATH + 3]; /* Initial directory name */
79173
} _WDIR;
80174
81175
82176
/* Forward declarations */
83
-static _WDIR *_wopendir (const wchar_t *dirname);
84
-static struct _wdirent *_wreaddir (_WDIR *dirp);
85
-static int _wclosedir (_WDIR *dirp);
177
+static _WDIR *_wopendir(const wchar_t *dirname);
178
+static struct _wdirent *_wreaddir(_WDIR *dirp);
179
+static int _wclosedir(_WDIR *dirp);
86180
87181
88182
/* Use the new safe string functions introduced in Visual Studio 2005 */
89183
#if defined(_MSC_VER) && _MSC_VER >= 1400
90
-# define STRNCPY(dest,src,size) wcsncpy_s((dest),(size),(src),_TRUNCATE)
184
+# define DIRENT_STRNCPY(dest,src,size) wcsncpy_s((dest),(size),(src),_TRUNCATE)
185
+#else
186
+# define DIRENT_STRNCPY(dest,src,size) wcsncpy((dest),(src),(size))
187
+#endif
188
+
189
+/* Set errno variable */
190
+#if defined(_MSC_VER)
191
+#define DIRENT_SET_ERRNO(x) _set_errno (x)
91192
#else
92
-# define STRNCPY(dest,src,size) wcsncpy((dest),(src),(size))
193
+#define DIRENT_SET_ERRNO(x) (errno = (x))
93194
#endif
94195
95196
96197
/*****************************************************************************
97198
* Open directory stream DIRNAME for read and return a pointer to the
@@ -99,40 +200,63 @@
99200
* entries.
100201
*/
101202
static _WDIR *_wopendir(const wchar_t *dirname)
102203
{
103204
_WDIR *dirp;
104
- assert (dirname != NULL);
105
- assert (wcslen (dirname) < MAX_PATH);
205
+
206
+ /* ensure that the resulting search pattern will be a valid file name */
207
+ if (dirname == NULL) {
208
+ DIRENT_SET_ERRNO (ENOENT);
209
+ return NULL;
210
+ }
211
+ if (wcslen (dirname) + 3 >= MAX_PATH) {
212
+ DIRENT_SET_ERRNO (ENAMETOOLONG);
213
+ return NULL;
214
+ }
106215
107
- /* construct new _WDIR structure */
216
+ /* construct new DIR structure */
108217
dirp = (_WDIR*) malloc (sizeof (struct _WDIR));
109218
if (dirp != NULL) {
110
- wchar_t *p;
111
-
112
- /* take directory name... */
113
- STRNCPY (dirp->patt, dirname, sizeof(dirp->patt));
114
- dirp->patt[MAX_PATH] = '\0';
115
-
116
- /* ... and append search pattern to it */
117
- p = wcschr (dirp->patt, '\0');
118
- if (dirp->patt < p && *(p-1) != '\\' && *(p-1) != ':') {
119
- *p++ = '\\';
120
- }
121
- *p++ = '*';
122
- *p = '\0';
123
-
124
- /* open stream and retrieve first file */
125
- dirp->search_handle = FindFirstFileW (dirp->patt, &dirp->current.data);
126
- if (dirp->search_handle == INVALID_HANDLE_VALUE) {
127
- /* invalid search pattern? */
128
- free (dirp);
129
- return NULL;
130
- }
131
-
132
- /* there is an un-processed directory entry in memory now */
133
- dirp->cached = 1;
219
+ int error;
220
+
221
+ /*
222
+ * Convert relative directory name to an absolute one. This
223
+ * allows rewinddir() to function correctly when the current working
224
+ * directory is changed between opendir() and rewinddir().
225
+ */
226
+ if (GetFullPathNameW (dirname, MAX_PATH, dirp->patt, NULL)) {
227
+ wchar_t *p;
228
+
229
+ /* append the search pattern "\\*\0" to the directory name */
230
+ p = wcschr (dirp->patt, '\0');
231
+ if (dirp->patt < p && *(p-1) != '\\' && *(p-1) != ':') {
232
+ *p++ = '\\';
233
+ }
234
+ *p++ = '*';
235
+ *p = '\0';
236
+
237
+ /* open directory stream and retrieve the first entry */
238
+ dirp->search_handle = FindFirstFileW (dirp->patt, &dirp->find_data);
239
+ if (dirp->search_handle != INVALID_HANDLE_VALUE) {
240
+ /* a directory entry is now waiting in memory */
241
+ dirp->cached = 1;
242
+ error = 0;
243
+ } else {
244
+ /* search pattern is not a directory name? */
245
+ DIRENT_SET_ERRNO (ENOENT);
246
+ error = 1;
247
+ }
248
+ } else {
249
+ /* buffer too small */
250
+ DIRENT_SET_ERRNO (ENOMEM);
251
+ error = 1;
252
+ }
253
+
254
+ if (error) {
255
+ free (dirp);
256
+ dirp = NULL;
257
+ }
134258
}
135259
136260
return dirp;
137261
}
138262
@@ -144,38 +268,53 @@
144268
* sub-directories, pseudo-directories "." and "..", but also volume labels,
145269
* hidden files and system files may be returned.
146270
*/
147271
static struct _wdirent *_wreaddir(_WDIR *dirp)
148272
{
149
- assert (dirp != NULL);
150
-
151
- if (dirp->search_handle == INVALID_HANDLE_VALUE) {
152
- /* directory stream was opened/rewound incorrectly or ended normally */
273
+ DWORD attr;
274
+ if (dirp == NULL) {
275
+ /* directory stream did not open */
276
+ DIRENT_SET_ERRNO (EBADF);
153277
return NULL;
154278
}
155279
156280
/* get next directory entry */
157281
if (dirp->cached != 0) {
158282
/* a valid directory entry already in memory */
159283
dirp->cached = 0;
160284
} else {
161
- /* read next directory entry from disk */
162
- if (FindNextFileW (dirp->search_handle, &dirp->current.data) == FALSE) {
163
- /* the very last file has been processed or an error occured */
285
+ /* get the next directory entry from stream */
286
+ if (dirp->search_handle == INVALID_HANDLE_VALUE) {
287
+ return NULL;
288
+ }
289
+ if (FindNextFileW (dirp->search_handle, &dirp->find_data) == FALSE) {
290
+ /* the very last entry has been processed or an error occured */
164291
FindClose (dirp->search_handle);
165292
dirp->search_handle = INVALID_HANDLE_VALUE;
166293
return NULL;
167294
}
168295
}
169296
170
- /* copy as a multibyte character string */
171
- STRNCPY ( dirp->current.d_name,
172
- dirp->current.data.cFileName,
173
- sizeof(dirp->current.d_name) );
174
- dirp->current.d_name[MAX_PATH] = '\0';
297
+ /* copy as a unicode character string */
298
+ DIRENT_STRNCPY ( dirp->curentry.d_name,
299
+ dirp->find_data.cFileName,
300
+ sizeof(dirp->curentry.d_name)/sizeof(dirp->curentry.d_name[0]) );
301
+ dirp->curentry.d_name[MAX_PATH] = '\0';
302
+
303
+ /* compute the length of name */
304
+ dirp->curentry.d_namlen = wcslen (dirp->curentry.d_name);
175305
176
- return &dirp->current;
306
+ /* determine file type */
307
+ attr = dirp->find_data.dwFileAttributes;
308
+ if ((attr & FILE_ATTRIBUTE_DEVICE) != 0) {
309
+ dirp->curentry.d_type = DT_CHR;
310
+ } else if ((attr & FILE_ATTRIBUTE_DIRECTORY) != 0) {
311
+ dirp->curentry.d_type = DT_DIR;
312
+ } else {
313
+ dirp->curentry.d_type = DT_REG;
314
+ }
315
+ return &dirp->curentry;
177316
}
178317
179318
180319
/*****************************************************************************
181320
* Close directory stream opened by opendir() function. Close of the
@@ -182,19 +321,27 @@
182321
* directory stream invalidates the DIR structure as well as any previously
183322
* read directory entry.
184323
*/
185324
static int _wclosedir(_WDIR *dirp)
186325
{
187
- assert (dirp != NULL);
326
+ if (dirp == NULL) {
327
+ /* invalid directory stream */
328
+ DIRENT_SET_ERRNO (EBADF);
329
+ return -1;
330
+ }
188331
189332
/* release search handle */
190333
if (dirp->search_handle != INVALID_HANDLE_VALUE) {
191334
FindClose (dirp->search_handle);
192335
dirp->search_handle = INVALID_HANDLE_VALUE;
193336
}
194337
195
- /* release directory handle */
338
+ /* release directory structure */
196339
free (dirp);
197340
return 0;
198341
}
199342
343
+
344
+#ifdef __cplusplus
345
+}
346
+#endif
200347
#endif /*DIRENT_H*/
201348
--- win/include/dirent.h
+++ win/include/dirent.h
@@ -20,10 +20,32 @@
20 * IN NO EVENT SHALL TONI RONKKO BE LIABLE FOR ANY CLAIM, DAMAGES OR
21 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 * OTHER DEALINGS IN THE SOFTWARE.
24 *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25 * Dec 15, 2009, John Cunningham
26 * Added rewinddir member function
27 *
28 * Jan 18, 2008, Toni Ronkko
29 * Using FindFirstFileA and WIN32_FIND_DATAA to avoid converting string
@@ -56,42 +78,121 @@
56 * First version.
57 *****************************************************************************/
58 #ifndef DIRENT_H
59 #define DIRENT_H
60
 
61 #include <windows.h>
62 #include <string.h>
63 #include <assert.h>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
65
66 typedef struct _wdirent
67 {
68 wchar_t d_name[MAX_PATH + 1]; /* current dir entry (unicode char string) */
69 WIN32_FIND_DATAW data; /* file attributes */
70 } _wdirent;
 
71
72
73 typedef struct _WDIR
74 {
75 _wdirent current; /* Current directory entry */
76 int cached; /* Indicates un-processed entry in memory */
77 HANDLE search_handle; /* File search handle */
78 wchar_t patt[MAX_PATH + 3]; /* search pattern (3 = pattern + "\\*\0") */
 
79 } _WDIR;
80
81
82 /* Forward declarations */
83 static _WDIR *_wopendir (const wchar_t *dirname);
84 static struct _wdirent *_wreaddir (_WDIR *dirp);
85 static int _wclosedir (_WDIR *dirp);
86
87
88 /* Use the new safe string functions introduced in Visual Studio 2005 */
89 #if defined(_MSC_VER) && _MSC_VER >= 1400
90 # define STRNCPY(dest,src,size) wcsncpy_s((dest),(size),(src),_TRUNCATE)
 
 
 
 
 
 
 
91 #else
92 # define STRNCPY(dest,src,size) wcsncpy((dest),(src),(size))
93 #endif
94
95
96 /*****************************************************************************
97 * Open directory stream DIRNAME for read and return a pointer to the
@@ -99,40 +200,63 @@
99 * entries.
100 */
101 static _WDIR *_wopendir(const wchar_t *dirname)
102 {
103 _WDIR *dirp;
104 assert (dirname != NULL);
105 assert (wcslen (dirname) < MAX_PATH);
 
 
 
 
 
 
 
 
106
107 /* construct new _WDIR structure */
108 dirp = (_WDIR*) malloc (sizeof (struct _WDIR));
109 if (dirp != NULL) {
110 wchar_t *p;
111
112 /* take directory name... */
113 STRNCPY (dirp->patt, dirname, sizeof(dirp->patt));
114 dirp->patt[MAX_PATH] = '\0';
115
116 /* ... and append search pattern to it */
117 p = wcschr (dirp->patt, '\0');
118 if (dirp->patt < p && *(p-1) != '\\' && *(p-1) != ':') {
119 *p++ = '\\';
120 }
121 *p++ = '*';
122 *p = '\0';
123
124 /* open stream and retrieve first file */
125 dirp->search_handle = FindFirstFileW (dirp->patt, &dirp->current.data);
126 if (dirp->search_handle == INVALID_HANDLE_VALUE) {
127 /* invalid search pattern? */
128 free (dirp);
129 return NULL;
130 }
131
132 /* there is an un-processed directory entry in memory now */
133 dirp->cached = 1;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134 }
135
136 return dirp;
137 }
138
@@ -144,38 +268,53 @@
144 * sub-directories, pseudo-directories "." and "..", but also volume labels,
145 * hidden files and system files may be returned.
146 */
147 static struct _wdirent *_wreaddir(_WDIR *dirp)
148 {
149 assert (dirp != NULL);
150
151 if (dirp->search_handle == INVALID_HANDLE_VALUE) {
152 /* directory stream was opened/rewound incorrectly or ended normally */
153 return NULL;
154 }
155
156 /* get next directory entry */
157 if (dirp->cached != 0) {
158 /* a valid directory entry already in memory */
159 dirp->cached = 0;
160 } else {
161 /* read next directory entry from disk */
162 if (FindNextFileW (dirp->search_handle, &dirp->current.data) == FALSE) {
163 /* the very last file has been processed or an error occured */
 
 
 
164 FindClose (dirp->search_handle);
165 dirp->search_handle = INVALID_HANDLE_VALUE;
166 return NULL;
167 }
168 }
169
170 /* copy as a multibyte character string */
171 STRNCPY ( dirp->current.d_name,
172 dirp->current.data.cFileName,
173 sizeof(dirp->current.d_name) );
174 dirp->current.d_name[MAX_PATH] = '\0';
 
 
 
175
176 return &dirp->current;
 
 
 
 
 
 
 
 
 
177 }
178
179
180 /*****************************************************************************
181 * Close directory stream opened by opendir() function. Close of the
@@ -182,19 +321,27 @@
182 * directory stream invalidates the DIR structure as well as any previously
183 * read directory entry.
184 */
185 static int _wclosedir(_WDIR *dirp)
186 {
187 assert (dirp != NULL);
 
 
 
 
188
189 /* release search handle */
190 if (dirp->search_handle != INVALID_HANDLE_VALUE) {
191 FindClose (dirp->search_handle);
192 dirp->search_handle = INVALID_HANDLE_VALUE;
193 }
194
195 /* release directory handle */
196 free (dirp);
197 return 0;
198 }
199
 
 
 
 
200 #endif /*DIRENT_H*/
201
--- win/include/dirent.h
+++ win/include/dirent.h
@@ -20,10 +20,32 @@
20 * IN NO EVENT SHALL TONI RONKKO BE LIABLE FOR ANY CLAIM, DAMAGES OR
21 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 * OTHER DEALINGS IN THE SOFTWARE.
24 *
25 * Aug 30, 2012, Jan Nijtmans
26 * Remove rewinddir() (not necessary for fossil)
27 * Replace everything with its wide-character variant.
28 *
29 * Mar 15, 2011, Toni Ronkko
30 * Defined FILE_ATTRIBUTE_DEVICE for MSVC 6.0.
31 *
32 * Aug 11, 2010, Toni Ronkko
33 * Added d_type and d_namlen fields to dirent structure. The former is
34 * especially useful for determining whether directory entry represents a
35 * file or a directory. For more information, see
36 * http://www.delorie.com/gnu/docs/glibc/libc_270.html
37 *
38 * Aug 11, 2010, Toni Ronkko
39 * Improved conformance to the standards. For example, errno is now set
40 * properly on failure and assert() is never used. Thanks to Peter Brockam
41 * for suggestions.
42 *
43 * Aug 11, 2010, Toni Ronkko
44 * Fixed a bug in rewinddir(): when using relative directory names, change
45 * of working directory no longer causes rewinddir() to fail.
46 *
47 * Dec 15, 2009, John Cunningham
48 * Added rewinddir member function
49 *
50 * Jan 18, 2008, Toni Ronkko
51 * Using FindFirstFileA and WIN32_FIND_DATAA to avoid converting string
@@ -56,42 +78,121 @@
78 * First version.
79 *****************************************************************************/
80 #ifndef DIRENT_H
81 #define DIRENT_H
82
83 #define WIN32_LEAN_AND_MEAN
84 #include <windows.h>
85 #include <string.h>
86 #include <stdlib.h>
87 #include <sys/types.h>
88 #include <sys/stat.h>
89 #include <errno.h>
90
91 /* Entries missing from MSVC 6.0 */
92 #if !defined(FILE_ATTRIBUTE_DEVICE)
93 # define FILE_ATTRIBUTE_DEVICE 0x40
94 #endif
95
96 /* File type and permission flags for stat() */
97 #if defined(_MSC_VER) && !defined(S_IREAD)
98 # define S_IFMT _S_IFMT /* file type mask */
99 # define S_IFDIR _S_IFDIR /* directory */
100 # define S_IFCHR _S_IFCHR /* character device */
101 # define S_IFFIFO _S_IFFIFO /* pipe */
102 # define S_IFREG _S_IFREG /* regular file */
103 # define S_IREAD _S_IREAD /* read permission */
104 # define S_IWRITE _S_IWRITE /* write permission */
105 # define S_IEXEC _S_IEXEC /* execute permission */
106 #endif
107 #define S_IFBLK 0 /* block device */
108 #define S_IFLNK 0 /* link */
109 #define S_IFSOCK 0 /* socket */
110
111 #if defined(_MSC_VER)
112 # define S_IRUSR S_IREAD /* read, user */
113 # define S_IWUSR S_IWRITE /* write, user */
114 # define S_IXUSR 0 /* execute, user */
115 # define S_IRGRP 0 /* read, group */
116 # define S_IWGRP 0 /* write, group */
117 # define S_IXGRP 0 /* execute, group */
118 # define S_IROTH 0 /* read, others */
119 # define S_IWOTH 0 /* write, others */
120 # define S_IXOTH 0 /* execute, others */
121 #endif
122
123 /* Indicates that d_type field is available in dirent structure */
124 #define _DIRENT_HAVE_D_TYPE
125
126 /* File type flags for d_type */
127 #define DT_UNKNOWN 0
128 #define DT_REG S_IFREG
129 #define DT_DIR S_IFDIR
130 #define DT_FIFO S_IFFIFO
131 #define DT_SOCK S_IFSOCK
132 #define DT_CHR S_IFCHR
133 #define DT_BLK S_IFBLK
134
135 /* Macros for converting between st_mode and d_type */
136 #define IFTODT(mode) ((mode) & S_IFMT)
137 #define DTTOIF(type) (type)
138
139 /*
140 * File type macros. Note that block devices, sockets and links cannot be
141 * distinguished on Windows and the macros S_ISBLK, S_ISSOCK and S_ISLNK are
142 * only defined for compatibility. These macros should always return false
143 * on Windows.
144 */
145 #define S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFFIFO)
146 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
147 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
148 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
149 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
150 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR)
151 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
152
153 #ifdef __cplusplus
154 extern "C" {
155 #endif
156
157
158 typedef struct _wdirent
159 {
160 wchar_t d_name[MAX_PATH + 1]; /* File name */
161 size_t d_namlen; /* Length of name without \0 */
162 int d_type; /* File type */
163 } _wdirent;
164
165
166 typedef struct _WDIR
167 {
168 _wdirent curentry; /* Current directory entry */
169 WIN32_FIND_DATAW find_data; /* Private file data */
170 int cached; /* True if data is valid */
171 HANDLE search_handle; /* Win32 search handle */
172 wchar_t patt[MAX_PATH + 3]; /* Initial directory name */
173 } _WDIR;
174
175
176 /* Forward declarations */
177 static _WDIR *_wopendir(const wchar_t *dirname);
178 static struct _wdirent *_wreaddir(_WDIR *dirp);
179 static int _wclosedir(_WDIR *dirp);
180
181
182 /* Use the new safe string functions introduced in Visual Studio 2005 */
183 #if defined(_MSC_VER) && _MSC_VER >= 1400
184 # define DIRENT_STRNCPY(dest,src,size) wcsncpy_s((dest),(size),(src),_TRUNCATE)
185 #else
186 # define DIRENT_STRNCPY(dest,src,size) wcsncpy((dest),(src),(size))
187 #endif
188
189 /* Set errno variable */
190 #if defined(_MSC_VER)
191 #define DIRENT_SET_ERRNO(x) _set_errno (x)
192 #else
193 #define DIRENT_SET_ERRNO(x) (errno = (x))
194 #endif
195
196
197 /*****************************************************************************
198 * Open directory stream DIRNAME for read and return a pointer to the
@@ -99,40 +200,63 @@
200 * entries.
201 */
202 static _WDIR *_wopendir(const wchar_t *dirname)
203 {
204 _WDIR *dirp;
205
206 /* ensure that the resulting search pattern will be a valid file name */
207 if (dirname == NULL) {
208 DIRENT_SET_ERRNO (ENOENT);
209 return NULL;
210 }
211 if (wcslen (dirname) + 3 >= MAX_PATH) {
212 DIRENT_SET_ERRNO (ENAMETOOLONG);
213 return NULL;
214 }
215
216 /* construct new DIR structure */
217 dirp = (_WDIR*) malloc (sizeof (struct _WDIR));
218 if (dirp != NULL) {
219 int error;
220
221 /*
222 * Convert relative directory name to an absolute one. This
223 * allows rewinddir() to function correctly when the current working
224 * directory is changed between opendir() and rewinddir().
225 */
226 if (GetFullPathNameW (dirname, MAX_PATH, dirp->patt, NULL)) {
227 wchar_t *p;
228
229 /* append the search pattern "\\*\0" to the directory name */
230 p = wcschr (dirp->patt, '\0');
231 if (dirp->patt < p && *(p-1) != '\\' && *(p-1) != ':') {
232 *p++ = '\\';
233 }
234 *p++ = '*';
235 *p = '\0';
236
237 /* open directory stream and retrieve the first entry */
238 dirp->search_handle = FindFirstFileW (dirp->patt, &dirp->find_data);
239 if (dirp->search_handle != INVALID_HANDLE_VALUE) {
240 /* a directory entry is now waiting in memory */
241 dirp->cached = 1;
242 error = 0;
243 } else {
244 /* search pattern is not a directory name? */
245 DIRENT_SET_ERRNO (ENOENT);
246 error = 1;
247 }
248 } else {
249 /* buffer too small */
250 DIRENT_SET_ERRNO (ENOMEM);
251 error = 1;
252 }
253
254 if (error) {
255 free (dirp);
256 dirp = NULL;
257 }
258 }
259
260 return dirp;
261 }
262
@@ -144,38 +268,53 @@
268 * sub-directories, pseudo-directories "." and "..", but also volume labels,
269 * hidden files and system files may be returned.
270 */
271 static struct _wdirent *_wreaddir(_WDIR *dirp)
272 {
273 DWORD attr;
274 if (dirp == NULL) {
275 /* directory stream did not open */
276 DIRENT_SET_ERRNO (EBADF);
277 return NULL;
278 }
279
280 /* get next directory entry */
281 if (dirp->cached != 0) {
282 /* a valid directory entry already in memory */
283 dirp->cached = 0;
284 } else {
285 /* get the next directory entry from stream */
286 if (dirp->search_handle == INVALID_HANDLE_VALUE) {
287 return NULL;
288 }
289 if (FindNextFileW (dirp->search_handle, &dirp->find_data) == FALSE) {
290 /* the very last entry has been processed or an error occured */
291 FindClose (dirp->search_handle);
292 dirp->search_handle = INVALID_HANDLE_VALUE;
293 return NULL;
294 }
295 }
296
297 /* copy as a unicode character string */
298 DIRENT_STRNCPY ( dirp->curentry.d_name,
299 dirp->find_data.cFileName,
300 sizeof(dirp->curentry.d_name)/sizeof(dirp->curentry.d_name[0]) );
301 dirp->curentry.d_name[MAX_PATH] = '\0';
302
303 /* compute the length of name */
304 dirp->curentry.d_namlen = wcslen (dirp->curentry.d_name);
305
306 /* determine file type */
307 attr = dirp->find_data.dwFileAttributes;
308 if ((attr & FILE_ATTRIBUTE_DEVICE) != 0) {
309 dirp->curentry.d_type = DT_CHR;
310 } else if ((attr & FILE_ATTRIBUTE_DIRECTORY) != 0) {
311 dirp->curentry.d_type = DT_DIR;
312 } else {
313 dirp->curentry.d_type = DT_REG;
314 }
315 return &dirp->curentry;
316 }
317
318
319 /*****************************************************************************
320 * Close directory stream opened by opendir() function. Close of the
@@ -182,19 +321,27 @@
321 * directory stream invalidates the DIR structure as well as any previously
322 * read directory entry.
323 */
324 static int _wclosedir(_WDIR *dirp)
325 {
326 if (dirp == NULL) {
327 /* invalid directory stream */
328 DIRENT_SET_ERRNO (EBADF);
329 return -1;
330 }
331
332 /* release search handle */
333 if (dirp->search_handle != INVALID_HANDLE_VALUE) {
334 FindClose (dirp->search_handle);
335 dirp->search_handle = INVALID_HANDLE_VALUE;
336 }
337
338 /* release directory structure */
339 free (dirp);
340 return 0;
341 }
342
343
344 #ifdef __cplusplus
345 }
346 #endif
347 #endif /*DIRENT_H*/
348
+4 -4
--- www/build.wiki
+++ www/build.wiki
@@ -83,24 +83,24 @@
8383
8484
<li><p>Run make to build the "fossil" or "fossil.exe" executable. The
8585
details depend on your platform and compiler.
8686
8787
<ol type="a">
88
-<li><p><i>Unix</i> &rarr; the configure-generated Makefile should work on
88
+<li><p><i>Unix</i> → the configure-generated Makefile should work on
8989
all unix and unix-like systems. Simply type "<b>make</b>".
9090
91
-<li><p><i>Unix without running "configure"</i> &rarr; if you prefer to avoid running configure, you
91
+<li><p><i>Unix without running "configure"</i> → if you prefer to avoid running configure, you
9292
can also use: <b>make -f Makefile.classic</b>. You may want to make minor
9393
edits to Makefile.classic to configure the build for your system.
9494
95
-<li><p><i>MinGW/MinGW-w64</i> &rarr; Use the mingw makefile:
95
+<li><p><i>MinGW/MinGW-w64</i> → Use the mingw makefile:
9696
"<b>make -f win/Makefile.mingw</b>". On a Windows box you will
9797
need either Cygwin or Msys as build environment. On Cygwin, Linux
9898
or Darwin you may want to make minor edits to win/Makefile.mingw
9999
to configure the cross-compile environment.
100100
101
-<li><p><i>VC++</i> &rarr; Use the msc makefile. First
101
+<li><p><i>VC++</i> → Use the msc makefile. First
102102
change to the "win/" subdirectory ("<b>cd win</b>") then run
103103
"<b>nmake /f Makefile.msc</b>".
104104
</ol>
105105
</ol>
106106
107107
--- www/build.wiki
+++ www/build.wiki
@@ -83,24 +83,24 @@
83
84 <li><p>Run make to build the "fossil" or "fossil.exe" executable. The
85 details depend on your platform and compiler.
86
87 <ol type="a">
88 <li><p><i>Unix</i> &rarr; the configure-generated Makefile should work on
89 all unix and unix-like systems. Simply type "<b>make</b>".
90
91 <li><p><i>Unix without running "configure"</i> &rarr; if you prefer to avoid running configure, you
92 can also use: <b>make -f Makefile.classic</b>. You may want to make minor
93 edits to Makefile.classic to configure the build for your system.
94
95 <li><p><i>MinGW/MinGW-w64</i> &rarr; Use the mingw makefile:
96 "<b>make -f win/Makefile.mingw</b>". On a Windows box you will
97 need either Cygwin or Msys as build environment. On Cygwin, Linux
98 or Darwin you may want to make minor edits to win/Makefile.mingw
99 to configure the cross-compile environment.
100
101 <li><p><i>VC++</i> &rarr; Use the msc makefile. First
102 change to the "win/" subdirectory ("<b>cd win</b>") then run
103 "<b>nmake /f Makefile.msc</b>".
104 </ol>
105 </ol>
106
107
--- www/build.wiki
+++ www/build.wiki
@@ -83,24 +83,24 @@
83
84 <li><p>Run make to build the "fossil" or "fossil.exe" executable. The
85 details depend on your platform and compiler.
86
87 <ol type="a">
88 <li><p><i>Unix</i> → the configure-generated Makefile should work on
89 all unix and unix-like systems. Simply type "<b>make</b>".
90
91 <li><p><i>Unix without running "configure"</i> → if you prefer to avoid running configure, you
92 can also use: <b>make -f Makefile.classic</b>. You may want to make minor
93 edits to Makefile.classic to configure the build for your system.
94
95 <li><p><i>MinGW/MinGW-w64</i> → Use the mingw makefile:
96 "<b>make -f win/Makefile.mingw</b>". On a Windows box you will
97 need either Cygwin or Msys as build environment. On Cygwin, Linux
98 or Darwin you may want to make minor edits to win/Makefile.mingw
99 to configure the cross-compile environment.
100
101 <li><p><i>VC++</i> → Use the msc makefile. First
102 change to the "win/" subdirectory ("<b>cd win</b>") then run
103 "<b>nmake /f Makefile.msc</b>".
104 </ol>
105 </ol>
106
107
--- www/checkin.wiki
+++ www/checkin.wiki
@@ -3,24 +3,24 @@
33
<h2><u>Always</u> run the following checklist prior to <u>every</u>
44
check-in or commit to the Fossil repository:</h2>
55
66
Before every check-in:
77
8
- 0. <b>fossil user default</b> &rarr; your username is correct.
8
+ 0. <b>fossil user default</b> → your username is correct.
99
10
- 1. <b>fossil diff</b> &rarr;
10
+ 1. <b>fossil diff</b> →
1111
<ol type="a">
1212
<li> No stray changes
1313
<li> All changes comply with the license
1414
<li> All inputs are scrubbed before use
1515
<li> No injection attacks via %s formats
1616
</ol>
1717
18
- 2. <b>fossil extra</b> &rarr; no unmanaged files need to be added.
18
+ 2. <b>fossil extra</b> → no unmanaged files need to be added.
1919
2020
3. The check-in will go onto the desired branch.
21
- &rarr; Do <u>not</u> check into trunk without prior approval from
21
+ → Do <u>not</u> check into trunk without prior approval from
2222
the lead programmer (drh)!
2323
2424
4. auto-sync is on, or the system clock is verified
2525
2626
5. If sources files have been added or removed, ensure all makefiles
2727
2828
DELETED www/cmd_add.wiki
2929
DELETED www/cmd_all.wiki
3030
DELETED www/cmd_cgi.wiki
3131
DELETED www/cmd_changes.wiki
3232
DELETED www/cmd_checkout.wiki
3333
DELETED www/cmd_extra.wiki
3434
DELETED www/cmd_ls.wiki
3535
DELETED www/cmd_mv.wiki
3636
DELETED www/cmd_new.wiki
3737
DELETED www/cmd_rm.wiki
3838
DELETED www/cmd_status.wiki
3939
DELETED www/cmd_sync.wiki
4040
DELETED www/cmd_update.wiki
4141
DELETED www/cmd_version.wiki
--- www/checkin.wiki
+++ www/checkin.wiki
@@ -3,24 +3,24 @@
3 <h2><u>Always</u> run the following checklist prior to <u>every</u>
4 check-in or commit to the Fossil repository:</h2>
5
6 Before every check-in:
7
8 0. <b>fossil user default</b> &rarr; your username is correct.
9
10 1. <b>fossil diff</b> &rarr;
11 <ol type="a">
12 <li> No stray changes
13 <li> All changes comply with the license
14 <li> All inputs are scrubbed before use
15 <li> No injection attacks via %s formats
16 </ol>
17
18 2. <b>fossil extra</b> &rarr; no unmanaged files need to be added.
19
20 3. The check-in will go onto the desired branch.
21 &rarr; Do <u>not</u> check into trunk without prior approval from
22 the lead programmer (drh)!
23
24 4. auto-sync is on, or the system clock is verified
25
26 5. If sources files have been added or removed, ensure all makefiles
27
28 ELETED www/cmd_add.wiki
29 ELETED www/cmd_all.wiki
30 ELETED www/cmd_cgi.wiki
31 ELETED www/cmd_changes.wiki
32 ELETED www/cmd_checkout.wiki
33 ELETED www/cmd_extra.wiki
34 ELETED www/cmd_ls.wiki
35 ELETED www/cmd_mv.wiki
36 ELETED www/cmd_new.wiki
37 ELETED www/cmd_rm.wiki
38 ELETED www/cmd_status.wiki
39 ELETED www/cmd_sync.wiki
40 ELETED www/cmd_update.wiki
41 ELETED www/cmd_version.wiki
--- www/checkin.wiki
+++ www/checkin.wiki
@@ -3,24 +3,24 @@
3 <h2><u>Always</u> run the following checklist prior to <u>every</u>
4 check-in or commit to the Fossil repository:</h2>
5
6 Before every check-in:
7
8 0. <b>fossil user default</b> → your username is correct.
9
10 1. <b>fossil diff</b> →
11 <ol type="a">
12 <li> No stray changes
13 <li> All changes comply with the license
14 <li> All inputs are scrubbed before use
15 <li> No injection attacks via %s formats
16 </ol>
17
18 2. <b>fossil extra</b> → no unmanaged files need to be added.
19
20 3. The check-in will go onto the desired branch.
21 → Do <u>not</u> check into trunk without prior approval from
22 the lead programmer (drh)!
23
24 4. auto-sync is on, or the system clock is verified
25
26 5. If sources files have been added or removed, ensure all makefiles
27
28 ELETED www/cmd_add.wiki
29 ELETED www/cmd_all.wiki
30 ELETED www/cmd_cgi.wiki
31 ELETED www/cmd_changes.wiki
32 ELETED www/cmd_checkout.wiki
33 ELETED www/cmd_extra.wiki
34 ELETED www/cmd_ls.wiki
35 ELETED www/cmd_mv.wiki
36 ELETED www/cmd_new.wiki
37 ELETED www/cmd_rm.wiki
38 ELETED www/cmd_status.wiki
39 ELETED www/cmd_sync.wiki
40 ELETED www/cmd_update.wiki
41 ELETED www/cmd_version.wiki
D www/cmd_add.wiki
-31
--- a/www/cmd_add.wiki
+++ b/www/cmd_add.wiki
@@ -1,31 +0,0 @@
1
-<h2>add</h2>
2
-
3
-The often used <code>add</code> command is how you tell <b>fossil</b> to
4
-include a (usually new) file in the repository.
5
-
6
-<b>fossil</b> is designed to manage artifacts whose role is being
7
-"source" for something, most probably software program code or other
8
-text. One can imagine all kinds of ways to let fossil know just what
9
-constitutes a source; the simplest and most direct way it
10
-<i>actually</i> finds out is when you give it the
11
-<code> fossil add <i>path</i> </code> command.
12
-
13
-It's reasonable to think of
14
-the [./cmd_import.wiki | <code>import</code>]
15
-and [./cmd_clone.wiki | <code>clone</code>]
16
-commands as very high-powered versions of the <code>add</code>
17
-command that are combined with system level file movement and
18
-networking functions. Not particularly accurate, but reasonable.
19
-
20
-Typing <code>&nbsp;fossil add myfile</code> causes fossil to put
21
-<i>myfile</i> into the repository at t&#8212;next
22
-<code>commit</code>—provided you issue it from within the source
23
-tree, of course.
24
-
25
-By contrast, <code>&nbsp;fossil add mydirectory</code> will add
26
-<em><strong>all</strong></em> of the files in <i>mydirectory</i>, and
27
-all of its sub-directories. In other words, adding a directory will
28
-recursively add all of the directory's file system descendants to the
29
-repository. This was an oft-requested feature, recently implemented.
30
-It is very flexible. Only when you add a directory do you get the
31
-recursive behavior.
--- a/www/cmd_add.wiki
+++ b/www/cmd_add.wiki
@@ -1,31 +0,0 @@
1 <h2>add</h2>
2
3 The often used <code>add</code> command is how you tell <b>fossil</b> to
4 include a (usually new) file in the repository.
5
6 <b>fossil</b> is designed to manage artifacts whose role is being
7 "source" for something, most probably software program code or other
8 text. One can imagine all kinds of ways to let fossil know just what
9 constitutes a source; the simplest and most direct way it
10 <i>actually</i> finds out is when you give it the
11 <code> fossil add <i>path</i> </code> command.
12
13 It's reasonable to think of
14 the [./cmd_import.wiki | <code>import</code>]
15 and [./cmd_clone.wiki | <code>clone</code>]
16 commands as very high-powered versions of the <code>add</code>
17 command that are combined with system level file movement and
18 networking functions. Not particularly accurate, but reasonable.
19
20 Typing <code>&nbsp;fossil add myfile</code> causes fossil to put
21 <i>myfile</i> into the repository at t&#8212;next
22 <code>commit</code>—provided you issue it from within the source
23 tree, of course.
24
25 By contrast, <code>&nbsp;fossil add mydirectory</code> will add
26 <em><strong>all</strong></em> of the files in <i>mydirectory</i>, and
27 all of its sub-directories. In other words, adding a directory will
28 recursively add all of the directory's file system descendants to the
29 repository. This was an oft-requested feature, recently implemented.
30 It is very flexible. Only when you add a directory do you get the
31 recursive behavior.
--- a/www/cmd_add.wiki
+++ b/www/cmd_add.wiki
@@ -1,31 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_all.wiki
-23
--- a/www/cmd_all.wiki
+++ b/www/cmd_all.wiki
@@ -1,23 +0,0 @@
1
-<h2>all</h2>
2
-
3
-The <code>all</code> command will let you perform (some) commands on
4
-<em>all</em> of your repositories, and provides a way of finding all
5
-of your repositories as well.
6
-
7
-There are some commands you might especially want to perform on every
8
-repository you've got, once in a while. <code> fossil&nbsp;all
9
-</code> includes four of the most likely as sub-commands:
10
-[./cmd_pull.wiki | <code>pull</code>],
11
-[./cmd_push.wiki | <code>push</code>],
12
-[./cmd_rebuild.wiki | <code>rebuild</code>] and
13
-[./cmd_sync.wiki | <code>sync</code>].
14
-
15
-Follow the links to find out what each of those do, and then a moment
16
-of thought will tell you why you might want to have them available for
17
-all repositories.
18
-
19
-Certainly you'll want your repositories all rebuilt when you upgrade
20
-<b>fossil</b> after there has been a change in the repository
21
-structure. For the others, it depends. Usually you would want
22
-across-the-board versions if you've been "off Net" for a while, and
23
-have commits to multip
--- a/www/cmd_all.wiki
+++ b/www/cmd_all.wiki
@@ -1,23 +0,0 @@
1 <h2>all</h2>
2
3 The <code>all</code> command will let you perform (some) commands on
4 <em>all</em> of your repositories, and provides a way of finding all
5 of your repositories as well.
6
7 There are some commands you might especially want to perform on every
8 repository you've got, once in a while. <code> fossil&nbsp;all
9 </code> includes four of the most likely as sub-commands:
10 [./cmd_pull.wiki | <code>pull</code>],
11 [./cmd_push.wiki | <code>push</code>],
12 [./cmd_rebuild.wiki | <code>rebuild</code>] and
13 [./cmd_sync.wiki | <code>sync</code>].
14
15 Follow the links to find out what each of those do, and then a moment
16 of thought will tell you why you might want to have them available for
17 all repositories.
18
19 Certainly you'll want your repositories all rebuilt when you upgrade
20 <b>fossil</b> after there has been a change in the repository
21 structure. For the others, it depends. Usually you would want
22 across-the-board versions if you've been "off Net" for a while, and
23 have commits to multip
--- a/www/cmd_all.wiki
+++ b/www/cmd_all.wiki
@@ -1,23 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_cgi.wiki
-19
--- a/www/cmd_cgi.wiki
+++ b/www/cmd_cgi.wiki
@@ -1,19 +0,0 @@
1
-<h2>cgi</h2>
2
-
3
-<code>cgi</code> is the command that tells fossil it is running as a
4
-web-page supplier for an external http server. (For you web-miesters,
5
-the "cgi" is actually unnecessary if your web environment is set up in
6
-a normal fashion.)
7
-
8
-This is the command you will probably use if you want to make a
9
-moderate-to-high hit rate public repository (like the <b>fossil</b>
10
-project's self-hosted repository) but you'll be using it in the
11
-shebang line.
12
-
13
-If you need lower level access to the pages <b>fossil</b> generates,
14
-you'll want to look at the [./cmd_http.wiki | <code>http</code>]
15
-command.
16
-
17
-See also: [./cmd_http.wiki | fossil http],
18
-[./concepts.wiki#saserv | <i>Concepts (setting up a server)</i>],
19
-[./reference.wiki | Reference]
--- a/www/cmd_cgi.wiki
+++ b/www/cmd_cgi.wiki
@@ -1,19 +0,0 @@
1 <h2>cgi</h2>
2
3 <code>cgi</code> is the command that tells fossil it is running as a
4 web-page supplier for an external http server. (For you web-miesters,
5 the "cgi" is actually unnecessary if your web environment is set up in
6 a normal fashion.)
7
8 This is the command you will probably use if you want to make a
9 moderate-to-high hit rate public repository (like the <b>fossil</b>
10 project's self-hosted repository) but you'll be using it in the
11 shebang line.
12
13 If you need lower level access to the pages <b>fossil</b> generates,
14 you'll want to look at the [./cmd_http.wiki | <code>http</code>]
15 command.
16
17 See also: [./cmd_http.wiki | fossil http],
18 [./concepts.wiki#saserv | <i>Concepts (setting up a server)</i>],
19 [./reference.wiki | Reference]
--- a/www/cmd_cgi.wiki
+++ b/www/cmd_cgi.wiki
@@ -1,19 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_changes.wiki
-19
--- a/www/cmd_changes.wiki
+++ b/www/cmd_changes.wiki
@@ -1,19 +0,0 @@
1
-<h2>changes</h2>
2
-
3
-The <code>changes</code> command is informational, it doesn't do
4
-anything to a checked-out project, but it tells you something about
5
-it.
6
-
7
-This is simply a quick way to get a list of the files which are
8
-different in the source tree (the checkout) and the repository.
9
-
10
-There is a bit more information (was a file edited, added or
11
-removed?, for instance).
12
-
13
-The same information will be displayed if you
14
-[./cmd_status.wiki | <code>&nbsp;fossil&nbsp;status&nbsp;</code>],
15
-except there will be some additional repository information displayed
16
-first.
17
-
18
-See also: [./cmd_status.wiki | fossil status],
19
-[./reference.wiki | Reference]
--- a/www/cmd_changes.wiki
+++ b/www/cmd_changes.wiki
@@ -1,19 +0,0 @@
1 <h2>changes</h2>
2
3 The <code>changes</code> command is informational, it doesn't do
4 anything to a checked-out project, but it tells you something about
5 it.
6
7 This is simply a quick way to get a list of the files which are
8 different in the source tree (the checkout) and the repository.
9
10 There is a bit more information (was a file edited, added or
11 removed?, for instance).
12
13 The same information will be displayed if you
14 [./cmd_status.wiki | <code>&nbsp;fossil&nbsp;status&nbsp;</code>],
15 except there will be some additional repository information displayed
16 first.
17
18 See also: [./cmd_status.wiki | fossil status],
19 [./reference.wiki | Reference]
--- a/www/cmd_changes.wiki
+++ b/www/cmd_changes.wiki
@@ -1,19 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_checkout.wiki
-50
--- a/www/cmd_checkout.wiki
+++ b/www/cmd_checkout.wiki
@@ -1,50 +0,0 @@
1
-<h2>checkout</h2>
2
-
3
-The <code>checkout</code> command is how a project version goes from
4
-the repository to the chosen project directory.
5
-
6
-Without going into detail about getting/opening a repository, once you
7
-have a repository and a place in which the repository has been
8
-opened, you can "check out" a "version" of the files which make up the
9
-repository at somewhen.
10
-
11
-The term "checkout" is traditional in source management systems, but a
12
-bit of an anachronism in a distributed system like <b>fossil</b>.
13
-"Checking out" a version of a project means getting all of the source
14
-artifacts out into the standard environment---currently the
15
-shell/file-system.
16
-
17
-Traditionally, the version is some "incrementing" code like
18
-v1.3.2rcQuink or f451 or something. In distributed SCM systems it's
19
-some absolutely unique identifier, usually the result of a one-way
20
-hash (SHA1, in fossil's case.) The <b>fossil</b> term for these is
21
-<em>artifact IDs</em>.
22
-
23
-<code>fossil&nbsp;checkout&nbsp;</code> <i>id</i> will check out the
24
-version corresponding to <i>id</i> into the source tree.
25
-
26
-<code>checkout</code> requires you to pick a precise version to put into
27
-the "on-disk" source tree, and leaves any edited files which are already
28
-in the tree intact.
29
-
30
-<code>update</code>, on the other hand, <em>merges</em> edits into the
31
-version you choose (if you choose one; you can default the version.)
32
-
33
-Since a version is required, and <b>fossil</b>'s artifact IDs are
34
-fairly long, there are two good ways to refer to the version. You can
35
-use a unique proper prefix of the version (six or eight characters is
36
-more than enough in most cases) <em>or</em> you can [./cmd_tag.wiki |
37
-tag] your check-ins and use the tags for checkouts, reverting,
38
-branching (tags are the best way to branch) and so forth. Both
39
-methods work throughout fossil.
40
-
41
-See also [./cmd_tag.wiki | fossil tag],
42
-[./cmd_revert.wiki | fossil revert],
43
-[./cmd_update.wiki | fossil update],
44
-[./cmd_push.wiki | fossil push],
45
-[./cmd_pull.wiki | fossil pull],
46
-[./cmd_clone.wiki | fossil clone],
47
-[./cmd_open.wiki | fossil open],
48
-[./cmd_close.wiki | fossil close],
49
-[./cmd_new.wiki | fossil new],
50
-[./reference.wiki | Reference]
--- a/www/cmd_checkout.wiki
+++ b/www/cmd_checkout.wiki
@@ -1,50 +0,0 @@
1 <h2>checkout</h2>
2
3 The <code>checkout</code> command is how a project version goes from
4 the repository to the chosen project directory.
5
6 Without going into detail about getting/opening a repository, once you
7 have a repository and a place in which the repository has been
8 opened, you can "check out" a "version" of the files which make up the
9 repository at somewhen.
10
11 The term "checkout" is traditional in source management systems, but a
12 bit of an anachronism in a distributed system like <b>fossil</b>.
13 "Checking out" a version of a project means getting all of the source
14 artifacts out into the standard environment---currently the
15 shell/file-system.
16
17 Traditionally, the version is some "incrementing" code like
18 v1.3.2rcQuink or f451 or something. In distributed SCM systems it's
19 some absolutely unique identifier, usually the result of a one-way
20 hash (SHA1, in fossil's case.) The <b>fossil</b> term for these is
21 <em>artifact IDs</em>.
22
23 <code>fossil&nbsp;checkout&nbsp;</code> <i>id</i> will check out the
24 version corresponding to <i>id</i> into the source tree.
25
26 <code>checkout</code> requires you to pick a precise version to put into
27 the "on-disk" source tree, and leaves any edited files which are already
28 in the tree intact.
29
30 <code>update</code>, on the other hand, <em>merges</em> edits into the
31 version you choose (if you choose one; you can default the version.)
32
33 Since a version is required, and <b>fossil</b>'s artifact IDs are
34 fairly long, there are two good ways to refer to the version. You can
35 use a unique proper prefix of the version (six or eight characters is
36 more than enough in most cases) <em>or</em> you can [./cmd_tag.wiki |
37 tag] your check-ins and use the tags for checkouts, reverting,
38 branching (tags are the best way to branch) and so forth. Both
39 methods work throughout fossil.
40
41 See also [./cmd_tag.wiki | fossil tag],
42 [./cmd_revert.wiki | fossil revert],
43 [./cmd_update.wiki | fossil update],
44 [./cmd_push.wiki | fossil push],
45 [./cmd_pull.wiki | fossil pull],
46 [./cmd_clone.wiki | fossil clone],
47 [./cmd_open.wiki | fossil open],
48 [./cmd_close.wiki | fossil close],
49 [./cmd_new.wiki | fossil new],
50 [./reference.wiki | Reference]
--- a/www/cmd_checkout.wiki
+++ b/www/cmd_checkout.wiki
@@ -1,50 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_extra.wiki
-38
--- a/www/cmd_extra.wiki
+++ b/www/cmd_extra.wiki
@@ -1,38 +0,0 @@
1
-<h2>extra</h2>
2
-
3
-The <code>extra</code> command is informational, it doesn't do anything to
4
-a checked-out project, but it tells you something about it.
5
-
6
-Extra files are files that exist in a checked-out project, but don't belong to
7
-the repository.
8
-
9
-The <code>fossil extra</code> command will get you a list of these files.
10
-
11
-This is convenient for figuring out if you've <code>
12
-[./cmd_add.wiki | add]</code>ed every file that needs to be
13
-
14
-in the repository before you do a commit. It will also tell you what
15
-will be removed if you [./cmd_clean.wiki | <code>clean</code>]
16
-the project.
17
-
18
-Suppose, for example, you have a "noodle.src" file as a scratch pad
19
-for source code, and you don't want to include your latest
20
-hare-brained ideas in the repository? You don't <code>add</code> it
21
-t&#8212;he repository, of course—though there are ways you might add
22
-it unintentionally. If your project is big, and you want to find
23
-noodle.src, and anything else that isn't under source control within
24
-the project directories, then<code> fossil&nbsp;extra </code> will
25
-give you a list.
26
-
27
-If you don't think this is all that useful, then you've never had to write
28
-a shell script that only affects project files and leaves everything
29
-else alone. ;)
30
-
31
-The <code>extra</code> command is almost, but not quite entirely, the exact
32
-opposite of the [./cmd_ls.wiki | <code>ls</code>] command.
33
-
34
-See also: [./cmd_status.wiki | fossil status],
35
-[./cmd_ls.wiki | fossil ls],
36
-[./cmd_changes.wiki | fossil changes],
37
-[./cmd_clean.wiki | fossil clean],
38
-[./r
--- a/www/cmd_extra.wiki
+++ b/www/cmd_extra.wiki
@@ -1,38 +0,0 @@
1 <h2>extra</h2>
2
3 The <code>extra</code> command is informational, it doesn't do anything to
4 a checked-out project, but it tells you something about it.
5
6 Extra files are files that exist in a checked-out project, but don't belong to
7 the repository.
8
9 The <code>fossil extra</code> command will get you a list of these files.
10
11 This is convenient for figuring out if you've <code>
12 [./cmd_add.wiki | add]</code>ed every file that needs to be
13
14 in the repository before you do a commit. It will also tell you what
15 will be removed if you [./cmd_clean.wiki | <code>clean</code>]
16 the project.
17
18 Suppose, for example, you have a "noodle.src" file as a scratch pad
19 for source code, and you don't want to include your latest
20 hare-brained ideas in the repository? You don't <code>add</code> it
21 t&#8212;he repository, of course—though there are ways you might add
22 it unintentionally. If your project is big, and you want to find
23 noodle.src, and anything else that isn't under source control within
24 the project directories, then<code> fossil&nbsp;extra </code> will
25 give you a list.
26
27 If you don't think this is all that useful, then you've never had to write
28 a shell script that only affects project files and leaves everything
29 else alone. ;)
30
31 The <code>extra</code> command is almost, but not quite entirely, the exact
32 opposite of the [./cmd_ls.wiki | <code>ls</code>] command.
33
34 See also: [./cmd_status.wiki | fossil status],
35 [./cmd_ls.wiki | fossil ls],
36 [./cmd_changes.wiki | fossil changes],
37 [./cmd_clean.wiki | fossil clean],
38 [./r
--- a/www/cmd_extra.wiki
+++ b/www/cmd_extra.wiki
@@ -1,38 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_ls.wiki
-55
--- a/www/cmd_ls.wiki
+++ b/www/cmd_ls.wiki
@@ -1,55 +0,0 @@
1
-<h2>ls</h2>
2
-
3
-The <code>ls</code><a href="#notes">*</a> command is informational, it doesn't do anything to
4
-a checked-out project, but it tells you something about it.
5
-
6
-A project consists of a "source tree" of "artifacts" (see [./concepts.wiki | Fossil concepts].)
7
-From a practical standpoint this is a set of files and directories rooted
8
-at a main project directory. The files that are under source control aren't
9
-particularly distinguishable from those that aren't. The <code>ls</code> and
10
-<code>extra</code> commands provide this information.
11
-
12
-<code>fossil ls</code> produces a listing of the files which are under source
13
-control <i>and</i> their status within the repository. The output is a simple
14
-list of STATUS/filepath pairs on separate lines. The status of a file will
15
-likely be one of ADDED, UNCHANGED, UPDATED, or DELETED. <a href="#notes">*</a>
16
-
17
-It's important to realize that this is the status <i>relative to the repository</i>,
18
-it's the status as <b>fossil</b> sees it and has nothing to do with
19
-filesystem status. If you're new to source-management/version-control
20
-systems, you'll probably get bit by this concept-bug at least once.
21
-
22
-To really see the difference, issue an <code>ls</code> before and after doing
23
-a [./cmd_commit.wiki | <code>commit</code>]. Before, the status of files may be any of the three,
24
-but after <code>commit</code>ting changes the status will be UNCHANGED "across
25
-the board."
26
-
27
-By way of example, here's what I see if I <code>fossil ls</code> in the
28
-directory where I have checked out my testing repository:
29
-<nowiki><pre>
30
- $ fossil ls
31
- ADDED feegboing
32
- UNCHANGED fossil_docs.txt
33
- DELETED nibcrod
34
-</pre></nowiki>
35
-But if I do a simple ls, what I get is
36
-<nowiki><pre>
37
- $ ls
38
- feegboing fossil_docs.txt manifest.uuid noodle.txt
39
- _FOSSIL_ manifest nibcrod
40
-</pre></nowiki>
41
-
42
-The <code>ls</code> command is almost, but not quite entirely, the exact
43
-opposite of the
44
-[./cmd_extra.wiki | <code>extra</code> command].
45
-
46
-<a name="notes">Notes:</a>
47
- * If you come from the <b>Windows</b> world, it will help to know that 'ls' is the usual <b>unix</b> command for listing a directory.
48
- * There are more states for a file to be in than those listed, including MISSING, EDITED, RENAMED and a couple of others.
49
-
50
-See also: [./cmd_add.wiki | fossil add],
51
-[./rm.wiki | fossil rm],
52
-[./cmd_extra.wiki | fossil extra],
53
-[./cmd_commit.wiki | fossil commit],
54
-[./concepts.wiki | Fossil concepts],
55
-[./reference.wiki | Reference]
--- a/www/cmd_ls.wiki
+++ b/www/cmd_ls.wiki
@@ -1,55 +0,0 @@
1 <h2>ls</h2>
2
3 The <code>ls</code><a href="#notes">*</a> command is informational, it doesn't do anything to
4 a checked-out project, but it tells you something about it.
5
6 A project consists of a "source tree" of "artifacts" (see [./concepts.wiki | Fossil concepts].)
7 From a practical standpoint this is a set of files and directories rooted
8 at a main project directory. The files that are under source control aren't
9 particularly distinguishable from those that aren't. The <code>ls</code> and
10 <code>extra</code> commands provide this information.
11
12 <code>fossil ls</code> produces a listing of the files which are under source
13 control <i>and</i> their status within the repository. The output is a simple
14 list of STATUS/filepath pairs on separate lines. The status of a file will
15 likely be one of ADDED, UNCHANGED, UPDATED, or DELETED. <a href="#notes">*</a>
16
17 It's important to realize that this is the status <i>relative to the repository</i>,
18 it's the status as <b>fossil</b> sees it and has nothing to do with
19 filesystem status. If you're new to source-management/version-control
20 systems, you'll probably get bit by this concept-bug at least once.
21
22 To really see the difference, issue an <code>ls</code> before and after doing
23 a [./cmd_commit.wiki | <code>commit</code>]. Before, the status of files may be any of the three,
24 but after <code>commit</code>ting changes the status will be UNCHANGED "across
25 the board."
26
27 By way of example, here's what I see if I <code>fossil ls</code> in the
28 directory where I have checked out my testing repository:
29 <nowiki><pre>
30 $ fossil ls
31 ADDED feegboing
32 UNCHANGED fossil_docs.txt
33 DELETED nibcrod
34 </pre></nowiki>
35 But if I do a simple ls, what I get is
36 <nowiki><pre>
37 $ ls
38 feegboing fossil_docs.txt manifest.uuid noodle.txt
39 _FOSSIL_ manifest nibcrod
40 </pre></nowiki>
41
42 The <code>ls</code> command is almost, but not quite entirely, the exact
43 opposite of the
44 [./cmd_extra.wiki | <code>extra</code> command].
45
46 <a name="notes">Notes:</a>
47 * If you come from the <b>Windows</b> world, it will help to know that 'ls' is the usual <b>unix</b> command for listing a directory.
48 * There are more states for a file to be in than those listed, including MISSING, EDITED, RENAMED and a couple of others.
49
50 See also: [./cmd_add.wiki | fossil add],
51 [./rm.wiki | fossil rm],
52 [./cmd_extra.wiki | fossil extra],
53 [./cmd_commit.wiki | fossil commit],
54 [./concepts.wiki | Fossil concepts],
55 [./reference.wiki | Reference]
--- a/www/cmd_ls.wiki
+++ b/www/cmd_ls.wiki
@@ -1,55 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_mv.wiki
-24
--- a/www/cmd_mv.wiki
+++ b/www/cmd_mv.wiki
@@ -1,24 +0,0 @@
1
-<h2>mv | rename</h2>
2
-
3
-The <code>mv</code> (alias "<code>rename</code>") command tells
4
-<b>fossil</b> that a file has gone from one external name to another
5
-without changing content.
6
-
7
-You could do this by renaming the file in the file system,
8
-[./cmd_rm.wiki | deleting] the old name from the project, and
9
-[./cmd_add.wiki | adding] the new name. But you would lose the
10
-continuity of the <u>content's</u> history that way. Using
11
-<code>mv</code> makes the name change a part of the history
12
-maintained by <b>fossil</b>. You will, of course, need a good
13
-comment somewhere (say, the commit comment) if you want to
14
-remember <em>why</em> you changed the name... <b>fossil</b>
15
-only maintains history, it doesn't (yet) explain it.
16
-
17
-<code>mv</code> is much like the [./cmd_rm.wiki | <code>rm</code>]
18
-command, in that it manipulates <b>fossil</b>'s "idea" of what is
19
-part of the project. The difference is that <code>mv</code> assumes
20
-you have actually made some change to the file system.
21
-
22
-See also: [./cmd_rm.wiki | fossil rm],
23
-[./cmd_add.wiki | fossil add],
24
-[./reference.wiki | Reference]
--- a/www/cmd_mv.wiki
+++ b/www/cmd_mv.wiki
@@ -1,24 +0,0 @@
1 <h2>mv | rename</h2>
2
3 The <code>mv</code> (alias "<code>rename</code>") command tells
4 <b>fossil</b> that a file has gone from one external name to another
5 without changing content.
6
7 You could do this by renaming the file in the file system,
8 [./cmd_rm.wiki | deleting] the old name from the project, and
9 [./cmd_add.wiki | adding] the new name. But you would lose the
10 continuity of the <u>content's</u> history that way. Using
11 <code>mv</code> makes the name change a part of the history
12 maintained by <b>fossil</b>. You will, of course, need a good
13 comment somewhere (say, the commit comment) if you want to
14 remember <em>why</em> you changed the name... <b>fossil</b>
15 only maintains history, it doesn't (yet) explain it.
16
17 <code>mv</code> is much like the [./cmd_rm.wiki | <code>rm</code>]
18 command, in that it manipulates <b>fossil</b>'s "idea" of what is
19 part of the project. The difference is that <code>mv</code> assumes
20 you have actually made some change to the file system.
21
22 See also: [./cmd_rm.wiki | fossil rm],
23 [./cmd_add.wiki | fossil add],
24 [./reference.wiki | Reference]
--- a/www/cmd_mv.wiki
+++ b/www/cmd_mv.wiki
@@ -1,24 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_new.wiki
-33
--- a/www/cmd_new.wiki
+++ b/www/cmd_new.wiki
@@ -1,33 +0,0 @@
1
-<h2>new</h2>
2
-
3
-The <code>new</code> command allows you to create a brand new
4
-repository.
5
-
6
-Pragmatically, this means that an SQLite database is created with
7
-whatever name you specified, and set up with the appropriate tables
8
-and initial data.
9
-
10
-There's not much to <code>new</code>, it's what happens afterward that
11
-gets a project going:
12
-
13
- Once you have a new repository file, you need to create and cd to a
14
- directory in which you will store your files, or move into an
15
- existing directory which contains the files for a project.
16
-
17
- Then, you need to [./cmd_open.wiki | <code>open</code>] the new
18
- repository, and get the server running so you can set up the project
19
- name and so forth.
20
-
21
- Finally, you'll [./cmd_add.wiki | <code>add</code>] files to it. If
22
- you are adding exisiting files, you can add them individually, via
23
- globbing from the shell, or by adding the directory (which will add
24
- all of the directory's file-system descendants recursively.)
25
-
26
-But you can't do all that until you create a repository file with
27
-<code>new</code>.
28
-
29
-See also:
30
-[./cmd_open.wiki | fossil open],
31
-[./cmd_add.wiki | fossil add],
32
-[./cmd_server.wiki | fossil ui],
33
-[./reference.wiki | Reference]
--- a/www/cmd_new.wiki
+++ b/www/cmd_new.wiki
@@ -1,33 +0,0 @@
1 <h2>new</h2>
2
3 The <code>new</code> command allows you to create a brand new
4 repository.
5
6 Pragmatically, this means that an SQLite database is created with
7 whatever name you specified, and set up with the appropriate tables
8 and initial data.
9
10 There's not much to <code>new</code>, it's what happens afterward that
11 gets a project going:
12
13 Once you have a new repository file, you need to create and cd to a
14 directory in which you will store your files, or move into an
15 existing directory which contains the files for a project.
16
17 Then, you need to [./cmd_open.wiki | <code>open</code>] the new
18 repository, and get the server running so you can set up the project
19 name and so forth.
20
21 Finally, you'll [./cmd_add.wiki | <code>add</code>] files to it. If
22 you are adding exisiting files, you can add them individually, via
23 globbing from the shell, or by adding the directory (which will add
24 all of the directory's file-system descendants recursively.)
25
26 But you can't do all that until you create a repository file with
27 <code>new</code>.
28
29 See also:
30 [./cmd_open.wiki | fossil open],
31 [./cmd_add.wiki | fossil add],
32 [./cmd_server.wiki | fossil ui],
33 [./reference.wiki | Reference]
--- a/www/cmd_new.wiki
+++ b/www/cmd_new.wiki
@@ -1,33 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_rm.wiki
-40
--- a/www/cmd_rm.wiki
+++ b/www/cmd_rm.wiki
@@ -1,40 +0,0 @@
1
-<h2>del | rm</h2>
2
-
3
-The <code>del</code> (alias <code>rm</code>) command takes a "file"
4
-<em>out</em> of a project.
5
-
6
-It does <u>not</u> delete the file from the repository, it does
7
-<u>not</u> remove the file from the file system on disk. It tells
8
-<b>fossil</b> that the file is no longer a part of the project for
9
-which <b>fossil</b> is maintaining the sources.
10
-
11
-For example, if you have a nice, clean source tree and use the
12
-[./cmd_extra.wiki | <code>extra</code>] command on it, you won't
13
-get any output. If you then <code>rm</code> some file and commit
14
-the change, that file will be listed by the <code>extra</code>
15
-command.
16
-
17
-The file is still on the disk, and it is still in the repository.
18
-<strong>But</strong> the file <em>is not part of the project</em>
19
-anymore. Further changes to the file will not be checked in unless
20
-you [./cmd_add.wiki | <code>add</code>] the file again.
21
-
22
-It can initially be confusing to see a file that's been "deleted"
23
-still showing up in the files list in the repository, but remember
24
-that the files list currently<a href="#vnote"><sup>*</sup></a> shows
25
-all of the files that have ever been in the repository <em>because
26
-<b>fossil</b> is a source control system and therefore keeps a record
27
-of the history of a project.</em>
28
-
29
-To get a list of the files <em>only in the current version</em> of the
30
-project, use the [./cmd_ls.wiki | <code>ls</code>] command.
31
-
32
-The <code>del</code> command is the logical opposite of the
33
-[./cmd_add.wiki | <code>add</code>] command, in its single-file-add
34
-form.
35
-
36
-<font size="-1"><a name="vnote"><sup>*</sup></a>version 7c281b629a on 20081220</font>
37
-
38
-See also: [./cmd_add.wiki | fossil add],
39
-[./cmd_ls.wiki | fossil ls],
40
-[./reference.wiki | Reference]
--- a/www/cmd_rm.wiki
+++ b/www/cmd_rm.wiki
@@ -1,40 +0,0 @@
1 <h2>del | rm</h2>
2
3 The <code>del</code> (alias <code>rm</code>) command takes a "file"
4 <em>out</em> of a project.
5
6 It does <u>not</u> delete the file from the repository, it does
7 <u>not</u> remove the file from the file system on disk. It tells
8 <b>fossil</b> that the file is no longer a part of the project for
9 which <b>fossil</b> is maintaining the sources.
10
11 For example, if you have a nice, clean source tree and use the
12 [./cmd_extra.wiki | <code>extra</code>] command on it, you won't
13 get any output. If you then <code>rm</code> some file and commit
14 the change, that file will be listed by the <code>extra</code>
15 command.
16
17 The file is still on the disk, and it is still in the repository.
18 <strong>But</strong> the file <em>is not part of the project</em>
19 anymore. Further changes to the file will not be checked in unless
20 you [./cmd_add.wiki | <code>add</code>] the file again.
21
22 It can initially be confusing to see a file that's been "deleted"
23 still showing up in the files list in the repository, but remember
24 that the files list currently<a href="#vnote"><sup>*</sup></a> shows
25 all of the files that have ever been in the repository <em>because
26 <b>fossil</b> is a source control system and therefore keeps a record
27 of the history of a project.</em>
28
29 To get a list of the files <em>only in the current version</em> of the
30 project, use the [./cmd_ls.wiki | <code>ls</code>] command.
31
32 The <code>del</code> command is the logical opposite of the
33 [./cmd_add.wiki | <code>add</code>] command, in its single-file-add
34 form.
35
36 <font size="-1"><a name="vnote"><sup>*</sup></a>version 7c281b629a on 20081220</font>
37
38 See also: [./cmd_add.wiki | fossil add],
39 [./cmd_ls.wiki | fossil ls],
40 [./reference.wiki | Reference]
--- a/www/cmd_rm.wiki
+++ b/www/cmd_rm.wiki
@@ -1,40 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_status.wiki
-52
--- a/www/cmd_status.wiki
+++ b/www/cmd_status.wiki
@@ -1,52 +0,0 @@
1
-<h2>status</h2>
2
-
3
-The <code>status</code> command is informational, it doesn't do anything to
4
-a checked-out project, but it tells you something about it.
5
-
6
-Running <code>&nbsp;fossil&nbsp;status&nbsp;</code> currently prefixes
7
-the output of the <code>[./cmd_changes.wiki | changes]</code> command
8
-with information about the repository and checkout. The information
9
-is in the form of the [./concepts.wiki#aidex | Artifact ID]s of the
10
-server code, the checkout, and the parent (of, I <em>think</em> the
11
-checkout.)
12
-
13
-This is useful for getting an at-a-glance view of the state of your
14
-project, especially in a situation where you need the artifact IDs.
15
-
16
-Here is what I get when I issue a <code>status</code> on my local
17
-version of the <b>fossil</b> repository as I write this:
18
-
19
-<nowiki><pre>
20
- $ fossil status
21
- repository: /home/me/myclone.fossil
22
- local-root: /home/me/fossil/
23
- server-code: 99d6c9cf3f262720579db177503812814d712fc7
24
- checkout: a8c3a7ea9249281e0a1fb55fb31d2ad57844f848
25
- parent: 21cecd209f7201f17e8a784c0d8f735603d440ae
26
- EDITED www/cmd_.wiki-template
27
- EDITED www/cmd_add.wiki
28
- EDITED www/cmd_all.wiki
29
- EDITED www/cmd_extra.wiki
30
- EDITED www/cmd_ls.wiki
31
- EDITED www/cmd_update.wiki
32
- EDITED www/index.wiki
33
- $
34
-</pre></nowiki>
35
-
36
-Once I actually make changes to the repository (say, a
37
-[./cmd_commit.wiki | commit&#8212;most of that will change—all
38
-of those files showing as "EDITED" will be checked in and won't
39
-show up, and the artifact IDs will reflect the new state of the
40
-repository.
41
-
42
-If the only thing you want to see is which files in the checked-out
43
-source tree have changed in some way, use the
44
-[./cmd_changes.wiki | <code>changes</code>] command.
45
-
46
-If what you want is the files in the checked-out source tree which are
47
-<em>not</em> part of the project, use the
48
-[./cmd_extra.wiki | <code>extra</code>] command.
49
-
50
-See also: [./cmd_changes.wiki | fossil changes],
51
-[./cmd_extra.wiki | fossil extra],
52
-[./concepts.wiki | <i
--- a/www/cmd_status.wiki
+++ b/www/cmd_status.wiki
@@ -1,52 +0,0 @@
1 <h2>status</h2>
2
3 The <code>status</code> command is informational, it doesn't do anything to
4 a checked-out project, but it tells you something about it.
5
6 Running <code>&nbsp;fossil&nbsp;status&nbsp;</code> currently prefixes
7 the output of the <code>[./cmd_changes.wiki | changes]</code> command
8 with information about the repository and checkout. The information
9 is in the form of the [./concepts.wiki#aidex | Artifact ID]s of the
10 server code, the checkout, and the parent (of, I <em>think</em> the
11 checkout.)
12
13 This is useful for getting an at-a-glance view of the state of your
14 project, especially in a situation where you need the artifact IDs.
15
16 Here is what I get when I issue a <code>status</code> on my local
17 version of the <b>fossil</b> repository as I write this:
18
19 <nowiki><pre>
20 $ fossil status
21 repository: /home/me/myclone.fossil
22 local-root: /home/me/fossil/
23 server-code: 99d6c9cf3f262720579db177503812814d712fc7
24 checkout: a8c3a7ea9249281e0a1fb55fb31d2ad57844f848
25 parent: 21cecd209f7201f17e8a784c0d8f735603d440ae
26 EDITED www/cmd_.wiki-template
27 EDITED www/cmd_add.wiki
28 EDITED www/cmd_all.wiki
29 EDITED www/cmd_extra.wiki
30 EDITED www/cmd_ls.wiki
31 EDITED www/cmd_update.wiki
32 EDITED www/index.wiki
33 $
34 </pre></nowiki>
35
36 Once I actually make changes to the repository (say, a
37 [./cmd_commit.wiki | commit&#8212;most of that will change—all
38 of those files showing as "EDITED" will be checked in and won't
39 show up, and the artifact IDs will reflect the new state of the
40 repository.
41
42 If the only thing you want to see is which files in the checked-out
43 source tree have changed in some way, use the
44 [./cmd_changes.wiki | <code>changes</code>] command.
45
46 If what you want is the files in the checked-out source tree which are
47 <em>not</em> part of the project, use the
48 [./cmd_extra.wiki | <code>extra</code>] command.
49
50 See also: [./cmd_changes.wiki | fossil changes],
51 [./cmd_extra.wiki | fossil extra],
52 [./concepts.wiki | <i
--- a/www/cmd_status.wiki
+++ b/www/cmd_status.wiki
@@ -1,52 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_sync.wiki
-22
--- a/www/cmd_sync.wiki
+++ b/www/cmd_sync.wiki
@@ -1,22 +0,0 @@
1
-<h2>sync</h2>
2
-
3
-The <code>sync</code> command [./cmd_pull.wiki | <code>pull</code>]s and
4
-[./cmd_push.wiki | <code>push</code>]es repository changes simultaneously.
5
-
6
-This applies to repositories available via a URL, of course. If your
7
-project is strictly local you can do all of the distributed stuff as
8
-long as you are "serving" the repository via http in some fashion, but
9
-it's probably pointless to do so.
10
-
11
-Assuming you aren't running <b>fossil</b> as a high-powered version of
12
-[http://www.gnu.org/software/rcs | RCS], your use of <code>sync</code>
13
-in your projects is up to you. <b>fossil</b> defaults to using a
14
-[./cmd_setting.wiki | setting] of <code>autosync</code>
15
-If you have cloned a repository you will automatically sync with the
16
-original if you [./cmd_commit.wiki | commit] changes to your local
17
-version <em>unless</em> you customize your configuration.
18
-
19
-See also: [./cmd_pull.wiki | fossil pull],
20
-[./cmd_push.wiki | fossil push],
21
-[./cmd_setting.wiki | fossil setting],
22
-[./r
--- a/www/cmd_sync.wiki
+++ b/www/cmd_sync.wiki
@@ -1,22 +0,0 @@
1 <h2>sync</h2>
2
3 The <code>sync</code> command [./cmd_pull.wiki | <code>pull</code>]s and
4 [./cmd_push.wiki | <code>push</code>]es repository changes simultaneously.
5
6 This applies to repositories available via a URL, of course. If your
7 project is strictly local you can do all of the distributed stuff as
8 long as you are "serving" the repository via http in some fashion, but
9 it's probably pointless to do so.
10
11 Assuming you aren't running <b>fossil</b> as a high-powered version of
12 [http://www.gnu.org/software/rcs | RCS], your use of <code>sync</code>
13 in your projects is up to you. <b>fossil</b> defaults to using a
14 [./cmd_setting.wiki | setting] of <code>autosync</code>
15 If you have cloned a repository you will automatically sync with the
16 original if you [./cmd_commit.wiki | commit] changes to your local
17 version <em>unless</em> you customize your configuration.
18
19 See also: [./cmd_pull.wiki | fossil pull],
20 [./cmd_push.wiki | fossil push],
21 [./cmd_setting.wiki | fossil setting],
22 [./r
--- a/www/cmd_sync.wiki
+++ b/www/cmd_sync.wiki
@@ -1,22 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_update.wiki
-29
--- a/www/cmd_update.wiki
+++ b/www/cmd_update.wiki
@@ -1,29 +0,0 @@
1
-<h2>update</h2>
2
-
3
-What do you do if you have changes out on a repository and
4
-you want them merged with te</h2>
5
-
6
-<u>Updating</u> a repository is the process of applying to it changes
7
-made by external entities. Contrast this with [./cmd_commit.wiki |
8
-commit]ing a locally made change; updating is a bit like "committing"
9
-external changes to the local repo.
10
-
11
-Update <em>merges</em> changes from the repository into your checkout.
12
-That means that it won't have any effect unless there <i>are</i>
13
-changes in the repository. The only way the checkout can affect
14
-the repo (this is the local repo we're talking about) is if you
15
-do a [./cmd_commit.wiki | <code>ci</code>]. So, <code>update</code>
16
-only really makes sense if you have
17
-[./cmd_pull.wiki | <code>pull</code>]ed changes from the master repository
18
-into the local repository.
19
-
20
-<annotation>
21
- Note :
22
- really really need a quick overview of the pull-update-edit-commit-push
23
- workflow, and the shortcuts for that, and re-emphasize the role of autosync
24
- in changing the basic nature of the workflow
25
-</annotation>
26
-
27
-Local intranet <code>[./cmd_commit.wiki | commit]</code>s
28
-(by someone else)
29
-or Net <code>[./cmd_pull.wiki |
--- a/www/cmd_update.wiki
+++ b/www/cmd_update.wiki
@@ -1,29 +0,0 @@
1 <h2>update</h2>
2
3 What do you do if you have changes out on a repository and
4 you want them merged with te</h2>
5
6 <u>Updating</u> a repository is the process of applying to it changes
7 made by external entities. Contrast this with [./cmd_commit.wiki |
8 commit]ing a locally made change; updating is a bit like "committing"
9 external changes to the local repo.
10
11 Update <em>merges</em> changes from the repository into your checkout.
12 That means that it won't have any effect unless there <i>are</i>
13 changes in the repository. The only way the checkout can affect
14 the repo (this is the local repo we're talking about) is if you
15 do a [./cmd_commit.wiki | <code>ci</code>]. So, <code>update</code>
16 only really makes sense if you have
17 [./cmd_pull.wiki | <code>pull</code>]ed changes from the master repository
18 into the local repository.
19
20 <annotation>
21 Note :
22 really really need a quick overview of the pull-update-edit-commit-push
23 workflow, and the shortcuts for that, and re-emphasize the role of autosync
24 in changing the basic nature of the workflow
25 </annotation>
26
27 Local intranet <code>[./cmd_commit.wiki | commit]</code>s
28 (by someone else)
29 or Net <code>[./cmd_pull.wiki |
--- a/www/cmd_update.wiki
+++ b/www/cmd_update.wiki
@@ -1,29 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D www/cmd_version.wiki
-12
--- a/www/cmd_version.wiki
+++ b/www/cmd_version.wiki
@@ -1,12 +0,0 @@
1
-<h2>version</h2>
2
-
3
-The <code>version</code> command is informational, it doesn't do
4
-anything to a checked-out project, but it tells you something about
5
-it.
6
-
7
-Issuing the version command will print out the short-form of the
8
-artifact ID for the fossil executable.
9
-
10
-See also: [./cmd_status.wiki | fossil status],
11
-[./cmd_info.wiki | fossil info],
12
-[./reference.wiki | Reference]
--- a/www/cmd_version.wiki
+++ b/www/cmd_version.wiki
@@ -1,12 +0,0 @@
1 <h2>version</h2>
2
3 The <code>version</code> command is informational, it doesn't do
4 anything to a checked-out project, but it tells you something about
5 it.
6
7 Issuing the version command will print out the short-form of the
8 artifact ID for the fossil executable.
9
10 See also: [./cmd_status.wiki | fossil status],
11 [./cmd_info.wiki | fossil info],
12 [./reference.wiki | Reference]
--- a/www/cmd_version.wiki
+++ b/www/cmd_version.wiki
@@ -1,12 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
+2 -2
--- www/inout.wiki
+++ www/inout.wiki
@@ -4,11 +4,11 @@
44
[http://git-scm.com/ | Git]. And since most other version control
55
systems will also import/export from Git, that means that you can
66
import/export a Fossil repository to most version control systems using
77
Git as an intermediary.
88
9
-<h2>Git &rarr; Fossil</h2>
9
+<h2>Git → Fossil</h2>
1010
1111
To import a Git repository into Fossil, run commands like this:
1212
1313
<blockquote><pre>
1414
cd git-repo
@@ -24,11 +24,11 @@
2424
is currently the only VCS interchange format that Fossil understands. But
2525
future versions of Fossil might be enhanced to understand other VCS
2626
interchange formats, and so for compatibility, use of the
2727
--git option is recommended.
2828
29
-<h2>Fossil &rarr; Git</h2>
29
+<h2>Fossil → Git</h2>
3030
3131
To convert a Fossil repository into a Git repository, run commands like
3232
this:
3333
3434
<blockquote><pre>
3535
--- www/inout.wiki
+++ www/inout.wiki
@@ -4,11 +4,11 @@
4 [http://git-scm.com/ | Git]. And since most other version control
5 systems will also import/export from Git, that means that you can
6 import/export a Fossil repository to most version control systems using
7 Git as an intermediary.
8
9 <h2>Git &rarr; Fossil</h2>
10
11 To import a Git repository into Fossil, run commands like this:
12
13 <blockquote><pre>
14 cd git-repo
@@ -24,11 +24,11 @@
24 is currently the only VCS interchange format that Fossil understands. But
25 future versions of Fossil might be enhanced to understand other VCS
26 interchange formats, and so for compatibility, use of the
27 --git option is recommended.
28
29 <h2>Fossil &rarr; Git</h2>
30
31 To convert a Fossil repository into a Git repository, run commands like
32 this:
33
34 <blockquote><pre>
35
--- www/inout.wiki
+++ www/inout.wiki
@@ -4,11 +4,11 @@
4 [http://git-scm.com/ | Git]. And since most other version control
5 systems will also import/export from Git, that means that you can
6 import/export a Fossil repository to most version control systems using
7 Git as an intermediary.
8
9 <h2>Git → Fossil</h2>
10
11 To import a Git repository into Fossil, run commands like this:
12
13 <blockquote><pre>
14 cd git-repo
@@ -24,11 +24,11 @@
24 is currently the only VCS interchange format that Fossil understands. But
25 future versions of Fossil might be enhanced to understand other VCS
26 interchange formats, and so for compatibility, use of the
27 --git option is recommended.
28
29 <h2>Fossil → Git</h2>
30
31 To convert a Fossil repository into a Git repository, run commands like
32 this:
33
34 <blockquote><pre>
35
+2 -1
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -60,16 +60,17 @@
6060
for {set i 0} {$i<$n-1} {incr i} {
6161
set prefix [lrange $title 0 $i]
6262
set suffix [lrange $title [expr {$i+1}] end]
6363
set firstword [string tolower [lindex $suffix 0]]
6464
if {[lsearch $stopwords $firstword]<0} {
65
- lappend permindex [list "$suffix &#151; $prefix" $file]
65
+ lappend permindex [list "$suffix \u2014 $prefix" $file]
6666
}
6767
}
6868
}
6969
set permindex [lsort -dict $permindex]
7070
set out [open permutedindex.wiki w]
71
+fconfigure $out -encoding utf-8 -translation lf
7172
puts $out "<title>Permuted Index Of Fossil Documentation</title>"
7273
puts $out "<nowiki>"
7374
puts $out "<ul>"
7475
foreach entry $permindex {
7576
foreach {title file} $entry break
7677
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -60,16 +60,17 @@
60 for {set i 0} {$i<$n-1} {incr i} {
61 set prefix [lrange $title 0 $i]
62 set suffix [lrange $title [expr {$i+1}] end]
63 set firstword [string tolower [lindex $suffix 0]]
64 if {[lsearch $stopwords $firstword]<0} {
65 lappend permindex [list "$suffix &#151; $prefix" $file]
66 }
67 }
68 }
69 set permindex [lsort -dict $permindex]
70 set out [open permutedindex.wiki w]
 
71 puts $out "<title>Permuted Index Of Fossil Documentation</title>"
72 puts $out "<nowiki>"
73 puts $out "<ul>"
74 foreach entry $permindex {
75 foreach {title file} $entry break
76
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -60,16 +60,17 @@
60 for {set i 0} {$i<$n-1} {incr i} {
61 set prefix [lrange $title 0 $i]
62 set suffix [lrange $title [expr {$i+1}] end]
63 set firstword [string tolower [lindex $suffix 0]]
64 if {[lsearch $stopwords $firstword]<0} {
65 lappend permindex [list "$suffix \u2014 $prefix" $file]
66 }
67 }
68 }
69 set permindex [lsort -dict $permindex]
70 set out [open permutedindex.wiki w]
71 fconfigure $out -encoding utf-8 -translation lf
72 puts $out "<title>Permuted Index Of Fossil Documentation</title>"
73 puts $out "<nowiki>"
74 puts $out "<ul>"
75 foreach entry $permindex {
76 foreach {title file} $entry break
77
--- www/permutedindex.wiki
+++ www/permutedindex.wiki
@@ -2,53 +2,53 @@
22
<nowiki>
33
<ul>
44
<li><a href="event.wiki">Events</a></li>
55
<li><a href="tech_overview.wiki">A Technical Overview Of The Design And Implementation
66
Of Fossil</a></li>
7
-<li><a href="copyright-release.html">Agreement &#151; Contributor License</a></li>
8
-<li><a href="delta_encoder_algorithm.wiki">Algorithm &#151; Fossil Delta Encoding</a></li>
9
-<li><a href="faq.wiki">Asked Questions &#151; Frequently</a></li>
10
-<li><a href="password.wiki">Authentication &#151; Password Management And</a></li>
11
-<li><a href="private.wiki">Branches &#151; Creating, Syncing, and Deleting Private</a></li>
7
+<li><a href="copyright-release.html">Agreement — Contributor License</a></li>
8
+<li><a href="delta_encoder_algorithm.wiki">Algorithm — Fossil Delta Encoding</a></li>
9
+<li><a href="faq.wiki">Asked Questions — Frequently</a></li>
10
+<li><a href="password.wiki">Authentication — Password Management And</a></li>
11
+<li><a href="private.wiki">Branches — Creating, Syncing, and Deleting Private</a></li>
1212
<li><a href="branching.wiki">Branching, Forking, Merging, and Tagging</a></li>
1313
<li><a href="bugtheory.wiki">Bug Tracking In Fossil</a></li>
14
-<li><a href="makefile.wiki">Build Process &#151; The Fossil</a></li>
14
+<li><a href="makefile.wiki">Build Process — The Fossil</a></li>
1515
<li><a href="build.wiki">Building and Installing Fossil</a></li>
16
-<li><a href="changes.wiki">Changelog &#151; Fossil</a></li>
16
+<li><a href="changes.wiki">Changelog — Fossil</a></li>
1717
<li><a href="checkin_names.wiki">Checkin And Version Names</a></li>
18
-<li><a href="../test/release-checklist.wiki">Checklist &#151; Pre-Release Testing</a></li>
1918
<li><a href="foss-cklist.wiki">Checklist For Successful Open-Source Projects</a></li>
20
-<li><a href="selfcheck.wiki">Checks &#151; Fossil Repository Integrity Self</a></li>
21
-<li><a href="contribute.wiki">Code or Documentation To The Fossil Project &#151; Contributing</a></li>
22
-<li><a href="style.wiki">Code Style Guidelines &#151; Source</a></li>
23
-<li><a href="concepts.wiki">Concepts &#151; Fossil Core</a></li>
24
-<li><a href="server.wiki">Configure A Fossil Server &#151; How To</a></li>
25
-<li><a href="shunning.wiki">Content From Fossil &#151; Shunning: Deleting</a></li>
19
+<li><a href="../test/release-checklist.wiki">Checklist — Pre-Release Testing</a></li>
20
+<li><a href="selfcheck.wiki">Checks — Fossil Repository Integrity Self</a></li>
21
+<li><a href="contribute.wiki">Code or Documentation To The Fossil Project — Contributing</a></li>
22
+<li><a href="style.wiki">Code Style Guidelines — Source</a></li>
23
+<li><a href="concepts.wiki">Concepts — Fossil Core</a></li>
24
+<li><a href="server.wiki">Configure A Fossil Server — How To</a></li>
25
+<li><a href="shunning.wiki">Content From Fossil — Shunning: Deleting</a></li>
2626
<li><a href="contribute.wiki">Contributing Code or Documentation To The Fossil Project</a></li>
2727
<li><a href="copyright-release.html">Contributor License Agreement</a></li>
28
-<li><a href="concepts.wiki">Core Concepts &#151; Fossil</a></li>
28
+<li><a href="concepts.wiki">Core Concepts — Fossil</a></li>
2929
<li><a href="private.wiki">Creating, Syncing, and Deleting Private Branches</a></li>
30
-<li><a href="qandc.wiki">Criticisms &#151; Questions And</a></li>
30
+<li><a href="qandc.wiki">Criticisms — Questions And</a></li>
3131
<li><a href="custom_ticket.wiki">Customizing The Ticket System</a></li>
32
-<li><a href="tech_overview.wiki">Databases Used By Fossil &#151; SQLite</a></li>
33
-<li><a href="shunning.wiki">Deleting Content From Fossil &#151; Shunning:</a></li>
34
-<li><a href="private.wiki">Deleting Private Branches &#151; Creating, Syncing, and</a></li>
35
-<li><a href="delta_encoder_algorithm.wiki">Delta Encoding Algorithm &#151; Fossil</a></li>
36
-<li><a href="delta_format.wiki">Delta Format &#151; Fossil</a></li>
37
-<li><a href="tech_overview.wiki">Design And Implementation Of Fossil &#151; A Technical Overview Of The</a></li>
38
-<li><a href="theory1.wiki">Design Of The Fossil DVCS &#151; Thoughts On The</a></li>
39
-<li><a href="embeddeddoc.wiki">Documentation &#151; Embedded Project</a></li>
40
-<li><a href="contribute.wiki">Documentation To The Fossil Project &#151; Contributing Code or</a></li>
41
-<li><a href="theory1.wiki">DVCS &#151; Thoughts On The Design Of The Fossil</a></li>
42
-<li><a href="quotes.wiki">DVCSes in General &#151; Quotes: What People Are Saying About Fossil, Git, and</a></li>
32
+<li><a href="tech_overview.wiki">Databases Used By Fossil — SQLite</a></li>
33
+<li><a href="shunning.wiki">Deleting Content From Fossil — Shunning:</a></li>
34
+<li><a href="private.wiki">Deleting Private Branches — Creating, Syncing, and</a></li>
35
+<li><a href="delta_encoder_algorithm.wiki">Delta Encoding Algorithm — Fossil</a></li>
36
+<li><a href="delta_format.wiki">Delta Format — Fossil</a></li>
37
+<li><a href="tech_overview.wiki">Design And Implementation Of Fossil — A Technical Overview Of The</a></li>
38
+<li><a href="theory1.wiki">Design Of The Fossil DVCS — Thoughts On The</a></li>
39
+<li><a href="contribute.wiki">Documentation To The Fossil Project — Contributing Code or</a></li>
40
+<li><a href="embeddeddoc.wiki">Documentation — Embedded Project</a></li>
41
+<li><a href="theory1.wiki">DVCS — Thoughts On The Design Of The Fossil</a></li>
42
+<li><a href="quotes.wiki">DVCSes in General — Quotes: What People Are Saying About Fossil, Git, and</a></li>
4343
<li><a href="embeddeddoc.wiki">Embedded Project Documentation</a></li>
44
-<li><a href="delta_encoder_algorithm.wiki">Encoding Algorithm &#151; Fossil Delta</a></li>
45
-<li><a href="inout.wiki">Export To And From Git &#151; Import And</a></li>
46
-<li><a href="fileformat.wiki">File Format &#151; Fossil</a></li>
47
-<li><a href="branching.wiki">Forking, Merging, and Tagging &#151; Branching,</a></li>
48
-<li><a href="delta_format.wiki">Format &#151; Fossil Delta</a></li>
49
-<li><a href="fileformat.wiki">Format &#151; Fossil File</a></li>
44
+<li><a href="delta_encoder_algorithm.wiki">Encoding Algorithm — Fossil Delta</a></li>
45
+<li><a href="inout.wiki">Export To And From Git — Import And</a></li>
46
+<li><a href="fileformat.wiki">File Format — Fossil</a></li>
47
+<li><a href="branching.wiki">Forking, Merging, and Tagging — Branching,</a></li>
48
+<li><a href="delta_format.wiki">Format — Fossil Delta</a></li>
49
+<li><a href="fileformat.wiki">Format — Fossil File</a></li>
5050
<li><a href="changes.wiki">Fossil Changelog</a></li>
5151
<li><a href="concepts.wiki">Fossil Core Concepts</a></li>
5252
<li><a href="delta_encoder_algorithm.wiki">Fossil Delta Encoding Algorithm</a></li>
5353
<li><a href="delta_format.wiki">Fossil Delta Format</a></li>
5454
<li><a href="fileformat.wiki">Fossil File Format</a></li>
@@ -55,81 +55,81 @@
5555
<li><a href="quickstart.wiki">Fossil Quick Start Guide</a></li>
5656
<li><a href="selfcheck.wiki">Fossil Repository Integrity Self Checks</a></li>
5757
<li><a href="selfhost.wiki">Fossil Self Hosting Repositories</a></li>
5858
<li><a href="settings.wiki">Fossil Settings</a></li>
5959
<li><a href="fossil-v-git.wiki">Fossil Versus Git</a></li>
60
-<li><a href="quotes.wiki">Fossil, Git, and DVCSes in General &#151; Quotes: What People Are Saying About</a></li>
60
+<li><a href="quotes.wiki">Fossil, Git, and DVCSes in General — Quotes: What People Are Saying About</a></li>
6161
<li><a href="faq.wiki">Frequently Asked Questions</a></li>
62
-<li><a href="shunning.wiki">From Fossil &#151; Shunning: Deleting Content</a></li>
63
-<li><a href="inout.wiki">From Git &#151; Import And Export To And</a></li>
64
-<li><a href="quotes.wiki">General &#151; Quotes: What People Are Saying About Fossil, Git, and DVCSes in</a></li>
65
-<li><a href="fossil-v-git.wiki">Git &#151; Fossil Versus</a></li>
66
-<li><a href="inout.wiki">Git &#151; Import And Export To And From</a></li>
67
-<li><a href="quotes.wiki">Git, and DVCSes in General &#151; Quotes: What People Are Saying About Fossil,</a></li>
68
-<li><a href="quickstart.wiki">Guide &#151; Fossil Quick Start</a></li>
69
-<li><a href="style.wiki">Guidelines &#151; Source Code Style</a></li>
62
+<li><a href="shunning.wiki">From Fossil — Shunning: Deleting Content</a></li>
63
+<li><a href="inout.wiki">From Git — Import And Export To And</a></li>
64
+<li><a href="quotes.wiki">General — Quotes: What People Are Saying About Fossil, Git, and DVCSes in</a></li>
65
+<li><a href="fossil-v-git.wiki">Git — Fossil Versus</a></li>
66
+<li><a href="inout.wiki">Git — Import And Export To And From</a></li>
67
+<li><a href="quotes.wiki">Git, and DVCSes in General — Quotes: What People Are Saying About Fossil,</a></li>
68
+<li><a href="quickstart.wiki">Guide — Fossil Quick Start</a></li>
69
+<li><a href="style.wiki">Guidelines — Source Code Style</a></li>
7070
<li><a href="index.wiki">Home Page</a></li>
71
-<li><a href="selfhost.wiki">Hosting Repositories &#151; Fossil Self</a></li>
71
+<li><a href="selfhost.wiki">Hosting Repositories — Fossil Self</a></li>
7272
<li><a href="server.wiki">How To Configure A Fossil Server</a></li>
73
-<li><a href="tech_overview.wiki">Implementation Of Fossil &#151; A Technical Overview Of The Design And</a></li>
73
+<li><a href="tech_overview.wiki">Implementation Of Fossil — A Technical Overview Of The Design And</a></li>
7474
<li><a href="inout.wiki">Import And Export To And From Git</a></li>
75
-<li><a href="build.wiki">Installing Fossil &#151; Building and</a></li>
76
-<li><a href="selfcheck.wiki">Integrity Self Checks &#151; Fossil Repository</a></li>
77
-<li><a href="webui.wiki">Interface &#151; The Fossil Web</a></li>
78
-<li><a href="copyright-release.html">License Agreement &#151; Contributor</a></li>
79
-<li><a href="password.wiki">Management And Authentication &#151; Password</a></li>
80
-<li><a href="branching.wiki">Merging, and Tagging &#151; Branching, Forking,</a></li>
81
-<li><a href="checkin_names.wiki">Names &#151; Checkin And Version</a></li>
82
-<li><a href="foss-cklist.wiki">Open-Source Projects &#151; Checklist For Successful</a></li>
83
-<li><a href="pop.wiki">Operations &#151; Principles Of</a></li>
84
-<li><a href="tech_overview.wiki">Overview Of The Design And Implementation Of Fossil &#151; A Technical</a></li>
85
-<li><a href="index.wiki">Page &#151; Home</a></li>
75
+<li><a href="build.wiki">Installing Fossil — Building and</a></li>
76
+<li><a href="selfcheck.wiki">Integrity Self Checks — Fossil Repository</a></li>
77
+<li><a href="webui.wiki">Interface — The Fossil Web</a></li>
78
+<li><a href="copyright-release.html">License Agreement — Contributor</a></li>
79
+<li><a href="password.wiki">Management And Authentication — Password</a></li>
80
+<li><a href="branching.wiki">Merging, and Tagging — Branching, Forking,</a></li>
81
+<li><a href="checkin_names.wiki">Names — Checkin And Version</a></li>
82
+<li><a href="foss-cklist.wiki">Open-Source Projects — Checklist For Successful</a></li>
83
+<li><a href="pop.wiki">Operations — Principles Of</a></li>
84
+<li><a href="tech_overview.wiki">Overview Of The Design And Implementation Of Fossil — A Technical</a></li>
85
+<li><a href="index.wiki">Page — Home</a></li>
8686
<li><a href="password.wiki">Password Management And Authentication</a></li>
87
-<li><a href="quotes.wiki">People Are Saying About Fossil, Git, and DVCSes in General &#151; Quotes: What</a></li>
87
+<li><a href="quotes.wiki">People Are Saying About Fossil, Git, and DVCSes in General — Quotes: What</a></li>
8888
<li><a href="stats.wiki">Performance Statistics</a></li>
8989
<li><a href="../test/release-checklist.wiki">Pre-Release Testing Checklist</a></li>
9090
<li><a href="pop.wiki">Principles Of Operations</a></li>
91
-<li><a href="private.wiki">Private Branches &#151; Creating, Syncing, and Deleting</a></li>
92
-<li><a href="makefile.wiki">Process &#151; The Fossil Build</a></li>
93
-<li><a href="contribute.wiki">Project &#151; Contributing Code or Documentation To The Fossil</a></li>
94
-<li><a href="embeddeddoc.wiki">Project Documentation &#151; Embedded</a></li>
95
-<li><a href="foss-cklist.wiki">Projects &#151; Checklist For Successful Open-Source</a></li>
96
-<li><a href="sync.wiki">Protocol &#151; The Fossil Sync</a></li>
97
-<li><a href="faq.wiki">Questions &#151; Frequently Asked</a></li>
91
+<li><a href="private.wiki">Private Branches — Creating, Syncing, and Deleting</a></li>
92
+<li><a href="makefile.wiki">Process — The Fossil Build</a></li>
93
+<li><a href="embeddeddoc.wiki">Project Documentation — Embedded</a></li>
94
+<li><a href="contribute.wiki">Project — Contributing Code or Documentation To The Fossil</a></li>
95
+<li><a href="foss-cklist.wiki">Projects — Checklist For Successful Open-Source</a></li>
96
+<li><a href="sync.wiki">Protocol — The Fossil Sync</a></li>
9897
<li><a href="qandc.wiki">Questions And Criticisms</a></li>
99
-<li><a href="quickstart.wiki">Quick Start Guide &#151; Fossil</a></li>
98
+<li><a href="faq.wiki">Questions — Frequently Asked</a></li>
99
+<li><a href="quickstart.wiki">Quick Start Guide — Fossil</a></li>
100100
<li><a href="quotes.wiki">Quotes: What People Are Saying About Fossil, Git, and DVCSes in General</a></li>
101
-<li><a href="selfhost.wiki">Repositories &#151; Fossil Self Hosting</a></li>
102
-<li><a href="selfcheck.wiki">Repository Integrity Self Checks &#151; Fossil</a></li>
103
-<li><a href="quotes.wiki">Saying About Fossil, Git, and DVCSes in General &#151; Quotes: What People Are</a></li>
104
-<li><a href="selfcheck.wiki">Self Checks &#151; Fossil Repository Integrity</a></li>
105
-<li><a href="selfhost.wiki">Self Hosting Repositories &#151; Fossil</a></li>
106
-<li><a href="server.wiki">Server &#151; How To Configure A Fossil</a></li>
107
-<li><a href="settings.wiki">Settings &#151; Fossil</a></li>
101
+<li><a href="selfhost.wiki">Repositories — Fossil Self Hosting</a></li>
102
+<li><a href="selfcheck.wiki">Repository Integrity Self Checks — Fossil</a></li>
103
+<li><a href="quotes.wiki">Saying About Fossil, Git, and DVCSes in General — Quotes: What People Are</a></li>
104
+<li><a href="selfcheck.wiki">Self Checks — Fossil Repository Integrity</a></li>
105
+<li><a href="selfhost.wiki">Self Hosting Repositories — Fossil</a></li>
106
+<li><a href="server.wiki">Server — How To Configure A Fossil</a></li>
107
+<li><a href="settings.wiki">Settings — Fossil</a></li>
108108
<li><a href="shunning.wiki">Shunning: Deleting Content From Fossil</a></li>
109109
<li><a href="style.wiki">Source Code Style Guidelines</a></li>
110110
<li><a href="tech_overview.wiki">SQLite Databases Used By Fossil</a></li>
111
-<li><a href="ssl.wiki">SSL with Fossil &#151; Using</a></li>
112
-<li><a href="quickstart.wiki">Start Guide &#151; Fossil Quick</a></li>
113
-<li><a href="stats.wiki">Statistics &#151; Performance</a></li>
114
-<li><a href="style.wiki">Style Guidelines &#151; Source Code</a></li>
115
-<li><a href="foss-cklist.wiki">Successful Open-Source Projects &#151; Checklist For</a></li>
116
-<li><a href="sync.wiki">Sync Protocol &#151; The Fossil</a></li>
117
-<li><a href="private.wiki">Syncing, and Deleting Private Branches &#151; Creating,</a></li>
118
-<li><a href="custom_ticket.wiki">System &#151; Customizing The Ticket</a></li>
119
-<li><a href="branching.wiki">Tagging &#151; Branching, Forking, Merging, and</a></li>
120
-<li><a href="tech_overview.wiki">Technical Overview Of The Design And Implementation Of Fossil &#151; A</a></li>
121
-<li><a href="../test/release-checklist.wiki">Testing Checklist &#151; Pre-Release</a></li>
111
+<li><a href="ssl.wiki">SSL with Fossil — Using</a></li>
112
+<li><a href="quickstart.wiki">Start Guide — Fossil Quick</a></li>
113
+<li><a href="stats.wiki">Statistics — Performance</a></li>
114
+<li><a href="style.wiki">Style Guidelines — Source Code</a></li>
115
+<li><a href="foss-cklist.wiki">Successful Open-Source Projects — Checklist For</a></li>
116
+<li><a href="sync.wiki">Sync Protocol — The Fossil</a></li>
117
+<li><a href="private.wiki">Syncing, and Deleting Private Branches — Creating,</a></li>
118
+<li><a href="custom_ticket.wiki">System — Customizing The Ticket</a></li>
119
+<li><a href="branching.wiki">Tagging — Branching, Forking, Merging, and</a></li>
120
+<li><a href="tech_overview.wiki">Technical Overview Of The Design And Implementation Of Fossil — A</a></li>
121
+<li><a href="../test/release-checklist.wiki">Testing Checklist — Pre-Release</a></li>
122122
<li><a href="makefile.wiki">The Fossil Build Process</a></li>
123123
<li><a href="sync.wiki">The Fossil Sync Protocol</a></li>
124124
<li><a href="webui.wiki">The Fossil Web Interface</a></li>
125125
<li><a href="theory1.wiki">Thoughts On The Design Of The Fossil DVCS</a></li>
126
-<li><a href="custom_ticket.wiki">Ticket System &#151; Customizing The</a></li>
127
-<li><a href="bugtheory.wiki">Tracking In Fossil &#151; Bug</a></li>
126
+<li><a href="custom_ticket.wiki">Ticket System — Customizing The</a></li>
127
+<li><a href="bugtheory.wiki">Tracking In Fossil — Bug</a></li>
128128
<li><a href="ssl.wiki">Using SSL with Fossil</a></li>
129
-<li><a href="checkin_names.wiki">Version Names &#151; Checkin And</a></li>
130
-<li><a href="fossil-v-git.wiki">Versus Git &#151; Fossil</a></li>
131
-<li><a href="webui.wiki">Web Interface &#151; The Fossil</a></li>
132
-<li><a href="quotes.wiki">What People Are Saying About Fossil, Git, and DVCSes in General &#151; Quotes:</a></li>
129
+<li><a href="checkin_names.wiki">Version Names — Checkin And</a></li>
130
+<li><a href="fossil-v-git.wiki">Versus Git — Fossil</a></li>
131
+<li><a href="webui.wiki">Web Interface — The Fossil</a></li>
132
+<li><a href="quotes.wiki">What People Are Saying About Fossil, Git, and DVCSes in General — Quotes:</a></li>
133133
<li><a href="wikitheory.wiki">Wiki In Fossil</a></li>
134
-<li><a href="ssl.wiki">with Fossil &#151; Using SSL</a></li>
134
+<li><a href="ssl.wiki">with Fossil — Using SSL</a></li>
135135
</ul>
136136
137137
DELETED www/reference.wiki
--- www/permutedindex.wiki
+++ www/permutedindex.wiki
@@ -2,53 +2,53 @@
2 <nowiki>
3 <ul>
4 <li><a href="event.wiki">Events</a></li>
5 <li><a href="tech_overview.wiki">A Technical Overview Of The Design And Implementation
6 Of Fossil</a></li>
7 <li><a href="copyright-release.html">Agreement &#151; Contributor License</a></li>
8 <li><a href="delta_encoder_algorithm.wiki">Algorithm &#151; Fossil Delta Encoding</a></li>
9 <li><a href="faq.wiki">Asked Questions &#151; Frequently</a></li>
10 <li><a href="password.wiki">Authentication &#151; Password Management And</a></li>
11 <li><a href="private.wiki">Branches &#151; Creating, Syncing, and Deleting Private</a></li>
12 <li><a href="branching.wiki">Branching, Forking, Merging, and Tagging</a></li>
13 <li><a href="bugtheory.wiki">Bug Tracking In Fossil</a></li>
14 <li><a href="makefile.wiki">Build Process &#151; The Fossil</a></li>
15 <li><a href="build.wiki">Building and Installing Fossil</a></li>
16 <li><a href="changes.wiki">Changelog &#151; Fossil</a></li>
17 <li><a href="checkin_names.wiki">Checkin And Version Names</a></li>
18 <li><a href="../test/release-checklist.wiki">Checklist &#151; Pre-Release Testing</a></li>
19 <li><a href="foss-cklist.wiki">Checklist For Successful Open-Source Projects</a></li>
20 <li><a href="selfcheck.wiki">Checks &#151; Fossil Repository Integrity Self</a></li>
21 <li><a href="contribute.wiki">Code or Documentation To The Fossil Project &#151; Contributing</a></li>
22 <li><a href="style.wiki">Code Style Guidelines &#151; Source</a></li>
23 <li><a href="concepts.wiki">Concepts &#151; Fossil Core</a></li>
24 <li><a href="server.wiki">Configure A Fossil Server &#151; How To</a></li>
25 <li><a href="shunning.wiki">Content From Fossil &#151; Shunning: Deleting</a></li>
 
26 <li><a href="contribute.wiki">Contributing Code or Documentation To The Fossil Project</a></li>
27 <li><a href="copyright-release.html">Contributor License Agreement</a></li>
28 <li><a href="concepts.wiki">Core Concepts &#151; Fossil</a></li>
29 <li><a href="private.wiki">Creating, Syncing, and Deleting Private Branches</a></li>
30 <li><a href="qandc.wiki">Criticisms &#151; Questions And</a></li>
31 <li><a href="custom_ticket.wiki">Customizing The Ticket System</a></li>
32 <li><a href="tech_overview.wiki">Databases Used By Fossil &#151; SQLite</a></li>
33 <li><a href="shunning.wiki">Deleting Content From Fossil &#151; Shunning:</a></li>
34 <li><a href="private.wiki">Deleting Private Branches &#151; Creating, Syncing, and</a></li>
35 <li><a href="delta_encoder_algorithm.wiki">Delta Encoding Algorithm &#151; Fossil</a></li>
36 <li><a href="delta_format.wiki">Delta Format &#151; Fossil</a></li>
37 <li><a href="tech_overview.wiki">Design And Implementation Of Fossil &#151; A Technical Overview Of The</a></li>
38 <li><a href="theory1.wiki">Design Of The Fossil DVCS &#151; Thoughts On The</a></li>
39 <li><a href="embeddeddoc.wiki">Documentation &#151; Embedded Project</a></li>
40 <li><a href="contribute.wiki">Documentation To The Fossil Project &#151; Contributing Code or</a></li>
41 <li><a href="theory1.wiki">DVCS &#151; Thoughts On The Design Of The Fossil</a></li>
42 <li><a href="quotes.wiki">DVCSes in General &#151; Quotes: What People Are Saying About Fossil, Git, and</a></li>
43 <li><a href="embeddeddoc.wiki">Embedded Project Documentation</a></li>
44 <li><a href="delta_encoder_algorithm.wiki">Encoding Algorithm &#151; Fossil Delta</a></li>
45 <li><a href="inout.wiki">Export To And From Git &#151; Import And</a></li>
46 <li><a href="fileformat.wiki">File Format &#151; Fossil</a></li>
47 <li><a href="branching.wiki">Forking, Merging, and Tagging &#151; Branching,</a></li>
48 <li><a href="delta_format.wiki">Format &#151; Fossil Delta</a></li>
49 <li><a href="fileformat.wiki">Format &#151; Fossil File</a></li>
50 <li><a href="changes.wiki">Fossil Changelog</a></li>
51 <li><a href="concepts.wiki">Fossil Core Concepts</a></li>
52 <li><a href="delta_encoder_algorithm.wiki">Fossil Delta Encoding Algorithm</a></li>
53 <li><a href="delta_format.wiki">Fossil Delta Format</a></li>
54 <li><a href="fileformat.wiki">Fossil File Format</a></li>
@@ -55,81 +55,81 @@
55 <li><a href="quickstart.wiki">Fossil Quick Start Guide</a></li>
56 <li><a href="selfcheck.wiki">Fossil Repository Integrity Self Checks</a></li>
57 <li><a href="selfhost.wiki">Fossil Self Hosting Repositories</a></li>
58 <li><a href="settings.wiki">Fossil Settings</a></li>
59 <li><a href="fossil-v-git.wiki">Fossil Versus Git</a></li>
60 <li><a href="quotes.wiki">Fossil, Git, and DVCSes in General &#151; Quotes: What People Are Saying About</a></li>
61 <li><a href="faq.wiki">Frequently Asked Questions</a></li>
62 <li><a href="shunning.wiki">From Fossil &#151; Shunning: Deleting Content</a></li>
63 <li><a href="inout.wiki">From Git &#151; Import And Export To And</a></li>
64 <li><a href="quotes.wiki">General &#151; Quotes: What People Are Saying About Fossil, Git, and DVCSes in</a></li>
65 <li><a href="fossil-v-git.wiki">Git &#151; Fossil Versus</a></li>
66 <li><a href="inout.wiki">Git &#151; Import And Export To And From</a></li>
67 <li><a href="quotes.wiki">Git, and DVCSes in General &#151; Quotes: What People Are Saying About Fossil,</a></li>
68 <li><a href="quickstart.wiki">Guide &#151; Fossil Quick Start</a></li>
69 <li><a href="style.wiki">Guidelines &#151; Source Code Style</a></li>
70 <li><a href="index.wiki">Home Page</a></li>
71 <li><a href="selfhost.wiki">Hosting Repositories &#151; Fossil Self</a></li>
72 <li><a href="server.wiki">How To Configure A Fossil Server</a></li>
73 <li><a href="tech_overview.wiki">Implementation Of Fossil &#151; A Technical Overview Of The Design And</a></li>
74 <li><a href="inout.wiki">Import And Export To And From Git</a></li>
75 <li><a href="build.wiki">Installing Fossil &#151; Building and</a></li>
76 <li><a href="selfcheck.wiki">Integrity Self Checks &#151; Fossil Repository</a></li>
77 <li><a href="webui.wiki">Interface &#151; The Fossil Web</a></li>
78 <li><a href="copyright-release.html">License Agreement &#151; Contributor</a></li>
79 <li><a href="password.wiki">Management And Authentication &#151; Password</a></li>
80 <li><a href="branching.wiki">Merging, and Tagging &#151; Branching, Forking,</a></li>
81 <li><a href="checkin_names.wiki">Names &#151; Checkin And Version</a></li>
82 <li><a href="foss-cklist.wiki">Open-Source Projects &#151; Checklist For Successful</a></li>
83 <li><a href="pop.wiki">Operations &#151; Principles Of</a></li>
84 <li><a href="tech_overview.wiki">Overview Of The Design And Implementation Of Fossil &#151; A Technical</a></li>
85 <li><a href="index.wiki">Page &#151; Home</a></li>
86 <li><a href="password.wiki">Password Management And Authentication</a></li>
87 <li><a href="quotes.wiki">People Are Saying About Fossil, Git, and DVCSes in General &#151; Quotes: What</a></li>
88 <li><a href="stats.wiki">Performance Statistics</a></li>
89 <li><a href="../test/release-checklist.wiki">Pre-Release Testing Checklist</a></li>
90 <li><a href="pop.wiki">Principles Of Operations</a></li>
91 <li><a href="private.wiki">Private Branches &#151; Creating, Syncing, and Deleting</a></li>
92 <li><a href="makefile.wiki">Process &#151; The Fossil Build</a></li>
93 <li><a href="contribute.wiki">Project &#151; Contributing Code or Documentation To The Fossil</a></li>
94 <li><a href="embeddeddoc.wiki">Project Documentation &#151; Embedded</a></li>
95 <li><a href="foss-cklist.wiki">Projects &#151; Checklist For Successful Open-Source</a></li>
96 <li><a href="sync.wiki">Protocol &#151; The Fossil Sync</a></li>
97 <li><a href="faq.wiki">Questions &#151; Frequently Asked</a></li>
98 <li><a href="qandc.wiki">Questions And Criticisms</a></li>
99 <li><a href="quickstart.wiki">Quick Start Guide &#151; Fossil</a></li>
 
100 <li><a href="quotes.wiki">Quotes: What People Are Saying About Fossil, Git, and DVCSes in General</a></li>
101 <li><a href="selfhost.wiki">Repositories &#151; Fossil Self Hosting</a></li>
102 <li><a href="selfcheck.wiki">Repository Integrity Self Checks &#151; Fossil</a></li>
103 <li><a href="quotes.wiki">Saying About Fossil, Git, and DVCSes in General &#151; Quotes: What People Are</a></li>
104 <li><a href="selfcheck.wiki">Self Checks &#151; Fossil Repository Integrity</a></li>
105 <li><a href="selfhost.wiki">Self Hosting Repositories &#151; Fossil</a></li>
106 <li><a href="server.wiki">Server &#151; How To Configure A Fossil</a></li>
107 <li><a href="settings.wiki">Settings &#151; Fossil</a></li>
108 <li><a href="shunning.wiki">Shunning: Deleting Content From Fossil</a></li>
109 <li><a href="style.wiki">Source Code Style Guidelines</a></li>
110 <li><a href="tech_overview.wiki">SQLite Databases Used By Fossil</a></li>
111 <li><a href="ssl.wiki">SSL with Fossil &#151; Using</a></li>
112 <li><a href="quickstart.wiki">Start Guide &#151; Fossil Quick</a></li>
113 <li><a href="stats.wiki">Statistics &#151; Performance</a></li>
114 <li><a href="style.wiki">Style Guidelines &#151; Source Code</a></li>
115 <li><a href="foss-cklist.wiki">Successful Open-Source Projects &#151; Checklist For</a></li>
116 <li><a href="sync.wiki">Sync Protocol &#151; The Fossil</a></li>
117 <li><a href="private.wiki">Syncing, and Deleting Private Branches &#151; Creating,</a></li>
118 <li><a href="custom_ticket.wiki">System &#151; Customizing The Ticket</a></li>
119 <li><a href="branching.wiki">Tagging &#151; Branching, Forking, Merging, and</a></li>
120 <li><a href="tech_overview.wiki">Technical Overview Of The Design And Implementation Of Fossil &#151; A</a></li>
121 <li><a href="../test/release-checklist.wiki">Testing Checklist &#151; Pre-Release</a></li>
122 <li><a href="makefile.wiki">The Fossil Build Process</a></li>
123 <li><a href="sync.wiki">The Fossil Sync Protocol</a></li>
124 <li><a href="webui.wiki">The Fossil Web Interface</a></li>
125 <li><a href="theory1.wiki">Thoughts On The Design Of The Fossil DVCS</a></li>
126 <li><a href="custom_ticket.wiki">Ticket System &#151; Customizing The</a></li>
127 <li><a href="bugtheory.wiki">Tracking In Fossil &#151; Bug</a></li>
128 <li><a href="ssl.wiki">Using SSL with Fossil</a></li>
129 <li><a href="checkin_names.wiki">Version Names &#151; Checkin And</a></li>
130 <li><a href="fossil-v-git.wiki">Versus Git &#151; Fossil</a></li>
131 <li><a href="webui.wiki">Web Interface &#151; The Fossil</a></li>
132 <li><a href="quotes.wiki">What People Are Saying About Fossil, Git, and DVCSes in General &#151; Quotes:</a></li>
133 <li><a href="wikitheory.wiki">Wiki In Fossil</a></li>
134 <li><a href="ssl.wiki">with Fossil &#151; Using SSL</a></li>
135 </ul>
136
137 ELETED www/reference.wiki
--- www/permutedindex.wiki
+++ www/permutedindex.wiki
@@ -2,53 +2,53 @@
2 <nowiki>
3 <ul>
4 <li><a href="event.wiki">Events</a></li>
5 <li><a href="tech_overview.wiki">A Technical Overview Of The Design And Implementation
6 Of Fossil</a></li>
7 <li><a href="copyright-release.html">Agreement — Contributor License</a></li>
8 <li><a href="delta_encoder_algorithm.wiki">Algorithm — Fossil Delta Encoding</a></li>
9 <li><a href="faq.wiki">Asked Questions — Frequently</a></li>
10 <li><a href="password.wiki">Authentication — Password Management And</a></li>
11 <li><a href="private.wiki">Branches — Creating, Syncing, and Deleting Private</a></li>
12 <li><a href="branching.wiki">Branching, Forking, Merging, and Tagging</a></li>
13 <li><a href="bugtheory.wiki">Bug Tracking In Fossil</a></li>
14 <li><a href="makefile.wiki">Build Process — The Fossil</a></li>
15 <li><a href="build.wiki">Building and Installing Fossil</a></li>
16 <li><a href="changes.wiki">Changelog — Fossil</a></li>
17 <li><a href="checkin_names.wiki">Checkin And Version Names</a></li>
 
18 <li><a href="foss-cklist.wiki">Checklist For Successful Open-Source Projects</a></li>
19 <li><a href="../test/release-checklist.wiki">Checklist — Pre-Release Testing</a></li>
20 <li><a href="selfcheck.wiki">Checks — Fossil Repository Integrity Self</a></li>
21 <li><a href="contribute.wiki">Code or Documentation To The Fossil Project — Contributing</a></li>
22 <li><a href="style.wiki">Code Style Guidelines — Source</a></li>
23 <li><a href="concepts.wiki">Concepts — Fossil Core</a></li>
24 <li><a href="server.wiki">Configure A Fossil Server — How To</a></li>
25 <li><a href="shunning.wiki">Content From Fossil — Shunning: Deleting</a></li>
26 <li><a href="contribute.wiki">Contributing Code or Documentation To The Fossil Project</a></li>
27 <li><a href="copyright-release.html">Contributor License Agreement</a></li>
28 <li><a href="concepts.wiki">Core Concepts — Fossil</a></li>
29 <li><a href="private.wiki">Creating, Syncing, and Deleting Private Branches</a></li>
30 <li><a href="qandc.wiki">Criticisms — Questions And</a></li>
31 <li><a href="custom_ticket.wiki">Customizing The Ticket System</a></li>
32 <li><a href="tech_overview.wiki">Databases Used By Fossil — SQLite</a></li>
33 <li><a href="shunning.wiki">Deleting Content From Fossil — Shunning:</a></li>
34 <li><a href="private.wiki">Deleting Private Branches — Creating, Syncing, and</a></li>
35 <li><a href="delta_encoder_algorithm.wiki">Delta Encoding Algorithm — Fossil</a></li>
36 <li><a href="delta_format.wiki">Delta Format — Fossil</a></li>
37 <li><a href="tech_overview.wiki">Design And Implementation Of Fossil — A Technical Overview Of The</a></li>
38 <li><a href="theory1.wiki">Design Of The Fossil DVCS — Thoughts On The</a></li>
39 <li><a href="contribute.wiki">Documentation To The Fossil Project — Contributing Code or</a></li>
40 <li><a href="embeddeddoc.wiki">Documentation — Embedded Project</a></li>
41 <li><a href="theory1.wiki">DVCS — Thoughts On The Design Of The Fossil</a></li>
42 <li><a href="quotes.wiki">DVCSes in General — Quotes: What People Are Saying About Fossil, Git, and</a></li>
43 <li><a href="embeddeddoc.wiki">Embedded Project Documentation</a></li>
44 <li><a href="delta_encoder_algorithm.wiki">Encoding Algorithm — Fossil Delta</a></li>
45 <li><a href="inout.wiki">Export To And From Git — Import And</a></li>
46 <li><a href="fileformat.wiki">File Format — Fossil</a></li>
47 <li><a href="branching.wiki">Forking, Merging, and Tagging — Branching,</a></li>
48 <li><a href="delta_format.wiki">Format — Fossil Delta</a></li>
49 <li><a href="fileformat.wiki">Format — Fossil File</a></li>
50 <li><a href="changes.wiki">Fossil Changelog</a></li>
51 <li><a href="concepts.wiki">Fossil Core Concepts</a></li>
52 <li><a href="delta_encoder_algorithm.wiki">Fossil Delta Encoding Algorithm</a></li>
53 <li><a href="delta_format.wiki">Fossil Delta Format</a></li>
54 <li><a href="fileformat.wiki">Fossil File Format</a></li>
@@ -55,81 +55,81 @@
55 <li><a href="quickstart.wiki">Fossil Quick Start Guide</a></li>
56 <li><a href="selfcheck.wiki">Fossil Repository Integrity Self Checks</a></li>
57 <li><a href="selfhost.wiki">Fossil Self Hosting Repositories</a></li>
58 <li><a href="settings.wiki">Fossil Settings</a></li>
59 <li><a href="fossil-v-git.wiki">Fossil Versus Git</a></li>
60 <li><a href="quotes.wiki">Fossil, Git, and DVCSes in General — Quotes: What People Are Saying About</a></li>
61 <li><a href="faq.wiki">Frequently Asked Questions</a></li>
62 <li><a href="shunning.wiki">From Fossil — Shunning: Deleting Content</a></li>
63 <li><a href="inout.wiki">From Git — Import And Export To And</a></li>
64 <li><a href="quotes.wiki">General — Quotes: What People Are Saying About Fossil, Git, and DVCSes in</a></li>
65 <li><a href="fossil-v-git.wiki">Git — Fossil Versus</a></li>
66 <li><a href="inout.wiki">Git — Import And Export To And From</a></li>
67 <li><a href="quotes.wiki">Git, and DVCSes in General — Quotes: What People Are Saying About Fossil,</a></li>
68 <li><a href="quickstart.wiki">Guide — Fossil Quick Start</a></li>
69 <li><a href="style.wiki">Guidelines — Source Code Style</a></li>
70 <li><a href="index.wiki">Home Page</a></li>
71 <li><a href="selfhost.wiki">Hosting Repositories — Fossil Self</a></li>
72 <li><a href="server.wiki">How To Configure A Fossil Server</a></li>
73 <li><a href="tech_overview.wiki">Implementation Of Fossil — A Technical Overview Of The Design And</a></li>
74 <li><a href="inout.wiki">Import And Export To And From Git</a></li>
75 <li><a href="build.wiki">Installing Fossil — Building and</a></li>
76 <li><a href="selfcheck.wiki">Integrity Self Checks — Fossil Repository</a></li>
77 <li><a href="webui.wiki">Interface — The Fossil Web</a></li>
78 <li><a href="copyright-release.html">License Agreement — Contributor</a></li>
79 <li><a href="password.wiki">Management And Authentication — Password</a></li>
80 <li><a href="branching.wiki">Merging, and Tagging — Branching, Forking,</a></li>
81 <li><a href="checkin_names.wiki">Names — Checkin And Version</a></li>
82 <li><a href="foss-cklist.wiki">Open-Source Projects — Checklist For Successful</a></li>
83 <li><a href="pop.wiki">Operations — Principles Of</a></li>
84 <li><a href="tech_overview.wiki">Overview Of The Design And Implementation Of Fossil — A Technical</a></li>
85 <li><a href="index.wiki">Page — Home</a></li>
86 <li><a href="password.wiki">Password Management And Authentication</a></li>
87 <li><a href="quotes.wiki">People Are Saying About Fossil, Git, and DVCSes in General — Quotes: What</a></li>
88 <li><a href="stats.wiki">Performance Statistics</a></li>
89 <li><a href="../test/release-checklist.wiki">Pre-Release Testing Checklist</a></li>
90 <li><a href="pop.wiki">Principles Of Operations</a></li>
91 <li><a href="private.wiki">Private Branches — Creating, Syncing, and Deleting</a></li>
92 <li><a href="makefile.wiki">Process — The Fossil Build</a></li>
93 <li><a href="embeddeddoc.wiki">Project Documentation — Embedded</a></li>
94 <li><a href="contribute.wiki">Project — Contributing Code or Documentation To The Fossil</a></li>
95 <li><a href="foss-cklist.wiki">Projects — Checklist For Successful Open-Source</a></li>
96 <li><a href="sync.wiki">Protocol — The Fossil Sync</a></li>
 
97 <li><a href="qandc.wiki">Questions And Criticisms</a></li>
98 <li><a href="faq.wiki">Questions — Frequently Asked</a></li>
99 <li><a href="quickstart.wiki">Quick Start Guide — Fossil</a></li>
100 <li><a href="quotes.wiki">Quotes: What People Are Saying About Fossil, Git, and DVCSes in General</a></li>
101 <li><a href="selfhost.wiki">Repositories — Fossil Self Hosting</a></li>
102 <li><a href="selfcheck.wiki">Repository Integrity Self Checks — Fossil</a></li>
103 <li><a href="quotes.wiki">Saying About Fossil, Git, and DVCSes in General — Quotes: What People Are</a></li>
104 <li><a href="selfcheck.wiki">Self Checks — Fossil Repository Integrity</a></li>
105 <li><a href="selfhost.wiki">Self Hosting Repositories — Fossil</a></li>
106 <li><a href="server.wiki">Server — How To Configure A Fossil</a></li>
107 <li><a href="settings.wiki">Settings — Fossil</a></li>
108 <li><a href="shunning.wiki">Shunning: Deleting Content From Fossil</a></li>
109 <li><a href="style.wiki">Source Code Style Guidelines</a></li>
110 <li><a href="tech_overview.wiki">SQLite Databases Used By Fossil</a></li>
111 <li><a href="ssl.wiki">SSL with Fossil — Using</a></li>
112 <li><a href="quickstart.wiki">Start Guide — Fossil Quick</a></li>
113 <li><a href="stats.wiki">Statistics — Performance</a></li>
114 <li><a href="style.wiki">Style Guidelines — Source Code</a></li>
115 <li><a href="foss-cklist.wiki">Successful Open-Source Projects — Checklist For</a></li>
116 <li><a href="sync.wiki">Sync Protocol — The Fossil</a></li>
117 <li><a href="private.wiki">Syncing, and Deleting Private Branches — Creating,</a></li>
118 <li><a href="custom_ticket.wiki">System — Customizing The Ticket</a></li>
119 <li><a href="branching.wiki">Tagging — Branching, Forking, Merging, and</a></li>
120 <li><a href="tech_overview.wiki">Technical Overview Of The Design And Implementation Of Fossil — A</a></li>
121 <li><a href="../test/release-checklist.wiki">Testing Checklist — Pre-Release</a></li>
122 <li><a href="makefile.wiki">The Fossil Build Process</a></li>
123 <li><a href="sync.wiki">The Fossil Sync Protocol</a></li>
124 <li><a href="webui.wiki">The Fossil Web Interface</a></li>
125 <li><a href="theory1.wiki">Thoughts On The Design Of The Fossil DVCS</a></li>
126 <li><a href="custom_ticket.wiki">Ticket System — Customizing The</a></li>
127 <li><a href="bugtheory.wiki">Tracking In Fossil — Bug</a></li>
128 <li><a href="ssl.wiki">Using SSL with Fossil</a></li>
129 <li><a href="checkin_names.wiki">Version Names — Checkin And</a></li>
130 <li><a href="fossil-v-git.wiki">Versus Git — Fossil</a></li>
131 <li><a href="webui.wiki">Web Interface — The Fossil</a></li>
132 <li><a href="quotes.wiki">What People Are Saying About Fossil, Git, and DVCSes in General — Quotes:</a></li>
133 <li><a href="wikitheory.wiki">Wiki In Fossil</a></li>
134 <li><a href="ssl.wiki">with Fossil — Using SSL</a></li>
135 </ul>
136
137 ELETED www/reference.wiki
D www/reference.wiki
-620
--- a/www/reference.wiki
+++ b/www/reference.wiki
@@ -1,620 +0,0 @@
1
-&#8212;aintenence (SCM) systems—but not <i>too</i>
2
- much.
3
-
4
- If you are trying to find information about fossil's web
5
- capabilities, see the <a href="index.wiki">Fossil Home</a> and
6
- <a href="wikitheory.wiki">Fossil Wiki</a> pages for pointers.
7
-
8
- <h3>Things to note</h3>
9
- * Fossil cli commands do not use special delimeters, they use
10
- spaces. This is traditional with VCS/SCM. Some <i>options</i> to
11
- fossil commands <i>do</i> use special delimiters, particularly the
12
- '-' (hyphen, or dash) character. This is very similar to Tcl.
13
- Think of fossil as a shell you invoke and feed a command to,
14
- including any options, and it will make more sense.
15
-
16
- * Any fossil command is acceptable once enough of it has been
17
- entered to make the intent unambiguous. 'clo' is a proper prefix of
18
- both the 'clone' and 'close' commands, for instance, but 'clon' is
19
-&#8212;the 'clone'
20
- command&#8212;unambiguous.
21
-
22
- * Pragmatically, a [./concepts.wiki#keyconc | <u>version</u>]
23
- in <b>fossil</b> is a 40-character long string of hexadecimal.
24
- <b>fossil</b> will be able to figure out which version you want
25
- with any <i>distinct</i> prefix of that string which is at
26
- least four characters long. <em>Commands which require a
27
- version are looking for the string, a distinct prefix of the
28
- string, or a <code>tag</code>.</em>
29
-
30
- * SCM in a distributed environment can be a bit confusing with
31
- regard to branching, merging, and versions in general. See the
32
- [./branching.wiki | explanation of branching] and it will all make
33
- much more sense.
34
-
35
- * <i>Op.Ed.</i> An excellent way to learn to use <b>fossil</b>
36
- effectively is to
37
- [./quickstart.wiki#fslclone | clone the repository for fossil]
38
- itself. You can then poke around using the <code>fossil ui</code>
39
- command, and look things up with no connection worries. You can
40
- set up test repositories and try things out on-the-fly to see how
41
- they work, using their own ui's. The CLI will far easier to
42
- understand if you can run a repository, watch it in a browser, and
43
- hack around with it in a simplified environment (your tests) with
44
- guaranteed and fast access to the sources & docs (your cloned fossil
45
- repository).
46
-<br /><br /> <br />
47
- <b>You should</b> probably start interacting with fossil at the command
48
- line by asking it what it can
49
- do:&nbsp;&nbsp;&nbsp;&nbsp;<a name="tof">&#710; more sense.
50
-
51
- * Any fossil command is acceptable once enough of it has been
52
- entered to make the intent unambiguous. 'clo' is a proper prefix of
53
- both the 'clone' and 'close' commands, for instance, but 'clon' is
54
- enough to make the intent—the 'clone'
55
- command—unambiguous.
56
-
57
- * Pragmatically, a [./concepts.wiki#keyconc | <u>version</u>]
58
- in <b>fossil</b> is a 40-character long string of hexadecimal.
59
- <b>fossil</b> will be able to figure out which version you want
60
- with any <i>distinct</i> prefix of that string which is at
61
- least four characters long. <em>Commands which require a
62
- version are looking for the string, a distinct prefix of the
63
- string, or a <code>tag</code>.</em>
64
-
65
- * SCM in a distributed environment can be a bit confusing with
66
- regard to branching, merging, and versions in general. See the
67
- [./branching.wiki | explanation of branching] and it will all make
68
- much more sense.
69
-
70
- * <i>Op.Ed.</i> An excellent way to learn to use <b>fossil</b>
71
- effectively is to
72
- [./quickstart.wiki#fslclone | clone the repository for fossil]
73
- itself. You can then poke ar&#710;</a>
74
- <a name="addpush">push</a></td>
75
- <td><a hge: </a><code><a href="cmd_add.wiki">fossil add</a></code> FILE...
76
- Make arrangements to add one or more files to the current checkout
77
- at the next c&#710;</a>
78
- <a name="allpush">push</a></td>
79
- <td><a haossil ls</a>
80
- all</a></code> (list|pull|push|rebuild|sync)
81
- The ~/.fossil file records the location of all repositories for a
82
- user. This command performs certain operations on all repositories
83
- that can be useful before or after a period of disconnection operation.
84
-
85
- On Win32 systems, this file is located in %LOCALAPPDATA%, %APDDATA%
86
- or %HOMEPATH% and is named _fossil.
87
-
88
- Available operations are:
89
-
90
- list Display the location of all repositories
91
-
92
- pull Run a "pull" operation on all repositories
93
-
94
- push Run a "push" on all repositories
95
-
96
- rebuild Rebuild on all repositories
97
-
98
- sync Run a "sync" on all repositories
99
-
100
- Respositories are automatically added to the set of known repositories
101
- when one of the following commands against the repository: clone, info,
102
- pull, push, or sync
103
-
104
-<hr><a href="#tof">&#710;</a>
105
- <a name="ref="#push">push</a></td>
106
- <td><a href="#status">status</a>*</td>
107
- <td><a href="#wiki">wiki</a></td>
108
- </tr>
109
-</table><nowiki><pre>
110
-This is fossil version [a89b436bc9] 2009-02-11 05:00:02 UTC
111
-</pre>
112
-<b>What follows</b> is a survey of what you get if you type<code>
113
-fossil&nbsp;help&nbsp;<i>command</i> </code>for all of the
114
-commands listed above. There are links to individual pages for each
115
-of them; pages with content (commands marked with a '*' are done) g&#710;</a>
116
- <a name="cgi">Usage: </a><a href="cmd_ch than the program help.
117
-<pre>
118
-<hr><a href="#tof">ˆ</a>
119
- <a name="add">Usage: </a><code><a href="cmd_add.wiki">fossil add</a></code> FILE...
120
- Make arrangements to add one or more files to the current checkout
121
- at the next commit.
122
-
123
-<hr><a href="#tof">ˆ</a>
124
- <a name="all">Usage: </a><code><a href="cmd_all.wiki">fossil all</a></code> (list|pull|push|rebuild|sync)
125
- The ~/.fossil file records the location of all repositories for a
126
- user. This command performs certain operations on all repositories
127
- that can be useful before or after a period of disconnection operation.
128
-
129
- On Win32 systems, this file is located i&#710;</a>
130
- <a name="PDDATA%
131
- or %HOMEPATH% and is named _fossil.
132
-
133
- Available operations are:
134
-
135
- list Display the location of all repositories
136
-
137
- pull Run a "pull" operation on all repositories
138
-
139
- pu&#710;</a>
140
- <a name="rebuild Rebuild on all repositories
141
-
142
- sync Run a "sync" on all repositories
143
-
144
- Respositories are automatically added to the set of known repositories
145
- when one of the following commands against the repository: clone, info,
146
- pull, push, or sync
147
-
148
-<hr><a href="#tof">ˆ</a>
149
- <a name="branch">Usage: </a><code><a hr&#710;</a>
150
- <a name=""#tof">ˆ</a>
151
- <a name="commit">Usage: </a><a href="cmd_commit.wiki">fossil commit</a> ?-m COMMENT? ?--nosign? ?FILE...? fossil ci ... (as above)
152
-
153
- Create a new version containing all of the changes in the current
154
- checkout. You will be prompted to enter a check-in comment unless
155
- the "-m" option is used to specify a comment line. You will be
156
- prompted for your GPG passphrase in order to sign the new manifest
157
- unless the "--nosign" option is used. All files that have
158
- changed will be committed unless some subset of files is specified
159
- on the command&#710;</a>
160
- <a name="clean">Usage: </a><a href="cmd_clean.wiki">fossil clean</a> ?-all?
161
- Delete all "extra" files in the source tree. "Extra" files are
162
- files that are not officially part of the checkout. See also
163
- the "extra" command. This operation cannot be undone.
164
-
165
- You will be prompted before removing each file. If you are
166
- sure you wish to remove all "extra" files you can specify the
167
- optional -all&#710;</a>
168
- <a name="clone">Usage: </a><a href="cmd_clone.wiki">fossil clone</a> URL FILENAME
169
- Make a clone of a repository specified by URL in the local
170
- file named FIL&#710;</a>
171
- <a name="close">Usage: </a><a href="cmd_close.wiki">fossil close</a> ?-f|--force?
172
- The opposite of "open". Close the current database connection.
173
- Require a -f or --force flag if there are unsaved changed in the
174
- current check-out.
175
-
176
-<hr><a href="#tof">&#710;</a>
177
- <a name=""#tof">ˆ</a>
178
- <a name="configuration">Usage: </a><a href="cmd_configure.wiki">fossil configuration</a> METHOD ...
179
- Where METHOD is one of: export import merge pull push reset. All methods
180
- accept the -R or --repository option to specific a repository.
181
-
182
- fossil configuration export AREA FILENAME
183
-
184
- Write to FILENAME exported configuraton information for AREA.
185
- AREA can be one of: all ticket skin project
186
-
187
- fossil configuration import FILENAME
188
-
189
- Read a configuration from FILENAME, overwriting the current
190
- configuration.
191
-
192
- fossil configuration merge FILENAME
193
-
194
- Read a configuration from FILENAME and merge its values into
195
- the current configuration. Existing values take priority over
196
- values read from FILENAME.
197
-
198
- fossil configuration pull AREA ?URL?
199
-
200
- Pull and install the configuration from a different server
201
- identified by URL. If no URL is specified, then the default
202
- server is used.
203
- fossil configuration push AREA ?URL?
204
-
205
- Push the local configuration into the remote server identified
206
- by URL. Admin privilege is required on the remote server for
207
- this to work.
208
-
209
- fossil configuration reset AREA
210
-
211
- Restore the configuration to the default. AREA as above.
212
-
213
- WARNING: Do not import, merge, or pull configurations from an untrusted
214
- source. The inbound configuration is not checked for safety and can
215
- introduce security vulnerabil&#710;f="#tof">ˆ</a>
216
- <a name="close">Usage: </a><a href="cmd_close.wiki">fossil close</a> ?-f|--force?
217
- The opposite of "open". Close the current database connection.
218
- Require a -f or --force flag if there are unsaved changed in the
219
- current check-out.
220
-
221
-<hr><a href="#tof">ˆ</a>
222
- <a name="configuration">Usage: </a><a href="cmd_configure.wiki">fossil configuration</a> METHOD ...
223
- Where ME&#710;</a>
224
- <a name="eset. All methods
225
- accept the -R or --repository option to specific a repository.
226
-
227
- fossil configuration export AREA FILENAME
228
-
229
- Write to FI&#710;</a>
230
- <a name="e to FILENAME exported configuraton information for AREA.
231
- AREA can be one of: all ticket skin project
232
-
233
- fossil configuration import FILENAME
234
-
235
- Read a configuration from FILENAME, overwriting the current
236
-&#710;</a>
237
- <a name="rge FILENAME
238
-
239
- Read a configuration from FILENAME and merge its values into
240
- the current configuration. Existing values take priority over
241
- values read from FILENAME.
242
-
243
- fossil configuration pull AREA ?URL?
244
-
245
- Pull and install the configuration from a different server
246
- identified by URL. If no URL is specified, then the default
247
- server is used.
248
- fossil configuration push AREA ?URL?
249
-
250
- Push the local configuration into the remote server identified
251
- by URL. Admin privilege is required on the remote server for
252
- this to work.
253
-
254
- fossil configuration reset AREA
255
-
256
- Restore the configuration to the default. AREA as above.
257
-
258
- WARNING: Do not import, merge, or pull configurations from an untrusted
259
- source. The inbound configuration is not checked for safety and can
260
- introduce security vulnerabilities.
261
-
262
-<hr><a href="#tof">ˆ</a>
263
- COMMAND: deconstruct
264
- <a name="&#710;</a>
265
- <a name="extra">Usage: </a><a href="cmd_extra.wiki">fossil extra</a>
266
- Print a list of all files in the source tree that are not part of
267
- the current checkout. See also the "clean" co&#710;</a>
268
- <a name="help">Usage: </a><a href="cmd_p">Usage: </a><a href="cmd_help.wiki">fossil help</a> COMMAND
269
- Display &#710;</a>
270
- <a name="http">Usage: </a><a href="cmd_http.wiki">fossil http</a> REPOSITORY
271
- Handle a single HTTP request appearing on stdin. The resulting webpage
272
- is delivered on stdout. This method is used to launch an HTTP request
273
- handler from inetd, for example. The argument is the name of the repository.
274
-
275
-<hr><a href="#tof">&#710;</a>
276
- <a name="info">Usage: </a><a href="cmd_info.wiki">fossil info</a> ?ARTIFACT-ID|FILENAME?
277
- With no arguments, provide information about the current tree.
278
- If an argument is specified, provide information about the object
279
- in the respository of the current tree that the argument refers
280
- to. Or if the argument is the name of a repository, show
281
- information about that repos&#710;</a>
282
- <a name="leaves">Usage: </a><a href="cmd_leaves.wiki">fossil leaves</a>
283
- Find leaves of all branches.
284
-
285
-<hr><a href="#tof">&#710;</a>
286
- <a name="ls">Usage: </a><a href="cmd_ls.wiki">fossil ls</a>
287
- Show the names of all files in the current checkout
288
-
289
-<hr><a href="#tof">&#710;</a>
290
- <a name=""#tof">ˆ</a>
291
- <a name="merge">Usage: </a><a href="cmd_merge.wiki">fossil merge</a> VERSION
292
- The argument is a version that should be merged into the current
293
- checkout.
294
- Only file content is merged. The result continues to use the
295
- file and directory names from the current check-out even if those
296
- names might have been chang&#710;</a>
297
- <a name="mv">Usage: </a><a href="cmd_art of
298
- the current checkout. See also the "clean" command.
299
-
300
-<hr><a href="#tof">ˆ</a>
301
- <a name="help">Usage: </a><a href="cmd_help.wiki">fossil help</a> COMMAND
302
- Display information on how to use COMMAND
303
-
304
-<hr><a href="#tof">ˆ</a>
305
- <a name="http">Usage: </a><a href="cmd_http.wiki">fossil http</a> REPOSITORY
306
- Handle a &#710;</a>
307
- <a name="sulting webpage
308
- is delivered on stdout. This method is used to launch an HTTP request
309
- handler from inetd, for example. The argument is the name of the repository.
310
-
311
-<hr><a href="#tof">ˆ</a>
312
- <a name="info">Usage: </a><a href="cmd_info.wiki">fossil info&#710;</a>
313
- <a name="open">Usage: </a><a href="cmd_ provide information about the current tree.
314
- If an argument is specified, provide information about the object
315
- in the respository of the current tree that the argument refers
316
- to. Or if the argume&#710;</a>
317
- <a name="rstats">Usage: </a><a href="cmd_r<a name="leaves">Usage: </a><a href="cmd_leaves.wiki">fossil leaves</a>
318
- Find leaves of all branches.
319
-
320
-<hr><a href="#tof">ˆ</a>&#710;</a>
321
- <a name=">ˆ</a>
322
- <a name="ls">Usage: </a><a href="cmd_ls.wiki">fossil ls</a>
323
- Show the names of all files in the current checkout
324
-
325
-<hr><a href="#tof">ˆ</a>
326
- <a name="merge">Usage: </a><a href="cmd_merge.wiki">fossil merge</a> VERSION
327
- The argument is a version that should be merged into the current
328
- checkout.
329
- Only file content is merged. The result continues to use the
330
- file and directory names from the current check-out even if those
331
- names might have been changed in the branch being merged in.
332
-
333
-<hr><a href="#tof">ˆ</a>
334
- <a name="mv">Usage: </a><a href="cmd_mv.wiki">fossil mv|rename</a> OLDNAME NEWNAME or: fossil mv|rename OLDNAME... DIR
335
-
336
- Move or rename one or more files within the tree
337
-
338
- This command does not rename the files on disk. &#710;</a>
339
- <a name=""#tof">ˆ</a>
340
- <a name="push">Usage: </a><a href="cmd_push.wiki">fossil push</a> ?URL? ?-R|--repository REPOSITORY?
341
- Push changes in the local repository over into a remote repository.
342
- See the "pull" co&#710;</a>
343
- <a name="rebuild">Usage: </a><a href="cmd_rebuild.wiki">fossil rebuild</a> REPOSITORY
344
- Reconstruct the named repository database from the core
345
- records. Run this command after updating the fossil
346
- executable in a way that changes the database s&#710;</a>
347
- COMMAND: reconstruct
348
- <a name="reconstruct">Usage: </a><a href="cmd_reconstruct.wiki">fossil reconstruct</a> REPOSITORY ORIGIN
349
- Creates the REPOSITORY and populates it with the artifacts in the
350
- indicated ORIGIN directory.
351
-
352
-<hr><a href="#tof">&#710;</a>
353
- <a name="redo">Usage: </a><a href="cmd_redo.wiki">fossil redo</a> ?FILENAME...?
354
- Redo the an update or merge operation that has been undone by the
355
- undo command. If FILENAME is specified then restore the changes
356
- associated with the named file(s) but otherwise leave the update
357
- or merge undone.
358
-
359
- A single level of undo/redo is supported. The undo/redo stack
360
- is cleared by the commit and checkout com&#710;</a>
361
- <a name="revert">Usage: </a><a href="cmd_revert.wiki">fossil revert</a> ?--yes? ?-r CHECKIN? FILE
362
- Revert to the current repository version of FILE, or to
363
- the version associated with check-in CHECKIN if the -r flag
364
- appears. This command will confirm your operation unless the
365
- file is missing or the --yes option is&#710;</a>
366
- <a name="server">Usage: </a><a href="cmd_r">Usage: </a><a href="cmd_server.wiki">fossil server</a> ?-P|--port TCPPORT? ?REPOSITORY? Or: fossil ui ?-P|--port TCPPORT? ?REPOSITORY?
367
-
368
- Open a socket and begin listening and responding to HTTP requests on
369
- TCP port 8080, or on any other TCP port defined by the -P or
370
- --port option. The optional argument is the name of the repository.
371
- The repository argument may be omitted if the working directory is
372
- within an open checkout.
373
-
374
- The "ui" command automatically starts a web browser after initializing
375
- the web s&#710;the database schema.
376
-
377
-<hr><a href="#tof">ˆ</a>
378
- COMMAND: reconstruct
379
- <a name="reconstruct">Usage: </a><a href="cmd_reconstruct.wiki">fossil reconstruct</a> REPOSITORY ORIGIN
380
- Creates the REPOSITORY and populates it with the artifacts in the
381
- indicated ORIGIN directory.
382
-
383
-<hr><a href="#tof">ˆ</a>
384
- <a name="redo">Usage: </a><a href="cmd_redo.wiki">fossil redo</a> ?FILENAME...?
385
- Redo the an update or merge operation that has been undone by the
386
- undo command. If FILENAME is specified then restore the changes
387
- associated with the named file(s) but otherwise leave the update
388
- or merge undone.
389
-
390
- A single level of undo/redo is supported. The undo/redo stack
391
- is cleared by the commit and checkout commands.
392
-
393
-<hr><a href="#tof">ˆ</a>
394
- <a name="revert">Usage: </a><a href="cmd_revert.wiki">fossil revert</a> ?--yes? ?-r CHECKIN? FILE
395
- Revert to the current repository version of FILE, or to
396
- the version associated with check-in CHECKIN if the -r flag
397
- appears. This command will confirm your operation unless the
398
- file is missing or the --yes option is used.
399
-
400
-<hr><a href="#tof">ˆ</a>
401
- <a name="server">Usage: </a><a href="cmd_server.wiki">fossil server</a> ?-P|--port TCPPORT? ?REPOSITORY? Or: fossil ui ?-P|--port TCPPORT? ?REPOSITORY?
402
-
403
- Open a socket and begin listening and responding to HTTP requests on
404
- TCP port 8080, or on any other TCP port defined by the -P or
405
- --port option. The optional argument is the name of the repository.
406
- The repository argument may be omitted if the working directory is
407
- within an open checkout.
408
-
409
- The "ui" command automatically starts a web browser after initializing
410
- the web server.
411
-
412
-<hr><a href="#tof">ˆ</a>
413
- COMMAND: settings
414
- COMMAND: unset
415
- <a name="settings">Usage: </a><a href="cmd_setting.wiki">fossil settings</a> ?PROPERTY? ?VALUE? ?-global?
416
- fossil unset PROPERTY ?-global?
417
-
418
- The "settings" command with no arguments lists all properties and their
419
- values. With just a property name it shows the value of that property.
420
- With a value argument it changes the property for the current repository.
421
-
422
- The "unset" command clears a property setting.
423
-
424
- &#710;</a>
425
- <a name="status">Usage: </a><a href="cmd_status.wiki">fossil status</a>
426
- Report on the status of the current checkout.
427
-
428
-<hr><a href="#tof">&#710;</a>
429
- <a name="sync">Usage: </a><a href="cmd_sync.wiki">fossil sync</a> ?URL? ?-R|--repository REPOSITORY?
430
- Synchronize the local repository with a remote repository. This is
431
- the equivalent of running both "push" and "pull" at the same time.
432
- See the "pull" command for additional information.
433
-
434
-<hr><a href="#tof">&#710;</a>
435
- <a name=""#tof">ˆ</a>
436
- <a name="tag">Usage: </a><a href="cmd_tag.wiki">fossil tag</a> SUBCOMMAND ...
437
- Run various subcommands to control tags and properties
438
-
439
- fossil tag add ?--raw? TAGNAME CHECK-IN ?VALUE?
440
-
441
- Add a new tag or property to CHECK-IN. The tag will
442
- be usable instead of a CHECK-IN in commands such as
443
- update and merge.
444
-
445
- fossil tag branch ?--raw? ?--nofork? TAGNAME CHECK-IN ?VALUE?
446
-
447
- A fork will be created so that the new checkin
448
- is a sibling of CHECK-IN and identical to it except
449
- for a generated comment. Then the new tag will
450
- be added to the new checkin and propagated to
451
- all direct children. Additionally all symbolic
452
- tags of that checkin inherited from CHECK-IN will
453
- be cancelled.
454
-
455
- However, if the option --nofork is given, no
456
- fork will be created and the tag/property will be
457
- added to CHECK-IN directly. No tags will be canceled.
458
-
459
- fossil tag cancel ?--raw? TAGNAME CHECK-IN
460
-
461
- Remove the tag TAGNAME from CHECK-IN, and also remove
462
- the propagation of the tag to any descendants.
463
-
464
- fossil tag find ?--raw? TAGNAME
465
-
466
- List all check-ins that use TAGNAME
467
-
468
- fossil tag list ?--raw? ?CHECK-IN?
469
-
470
- List all tags, or if CHECK-IN is supplied, list
471
- all tags and their values for CHECK-IN.
472
-
473
- The option --raw allows the manipulation of all types of
474
- tags used for various internal purposes in fossil. You
475
- should not use this option to make changes unless you are
476
- sure what you are doing.
477
-
478
- If you need to use a tagname that might be confused with
479
- a hexadecimal check-in or artifact ID, you can explicitly
480
- disambiguate it by prefixing it with "tag:". For instance:
481
-
482
- fossil update decaf
483
-
484
- will be taken as an artifact or check-in ID and fossil will
485
- probably complain that no such revision was found. However
486
-
487
- fossil update tag:decaf
488
-
489
- will assume t&#710;</a>
490
- <a name="timeline">Usage: </a><a href="cmd_ag will
491
- be usable instead of a CHECK-IN in commands such as
492
- update and merge.
493
-
494
- fossil tag branch ?--raw? ?--nofork? TAGNAME CHECK-IN ?VALUE?
495
-
496
- A fork will be created so that the new checkin
497
- is a sibling of CHECK-IN and identical to it except
498
- for a generated comment. Then the new tag will
499
- be added to the new checkin and propagated to
500
- all direct children. Additionally all symbolic
501
- tags of that checkin inherited from CHECK-IN will
502
- be cancelled.
503
-
504
- However, if the option --nofork is given, no
505
- fork will be created and the tag/property will be
506
- added to CHECK-IN directly. No tags will be canceled.
507
-
508
- fossil t&#710;</a>
509
- <a name="undo">Usage: </a><a href="cmd_o">Usage: </a><a href="cmd_undo.wiki">fossil undo</a> ?FILENAME...?
510
- Undo the most recent update or merge operation. If FILENAME is
511
- specified then restore the content of the named file(s) but otherwise
512
- leave the update or merge in effect.
513
-
514
- A single level of undo/redo is supported. The undo/redo stack
515
- is cleared by &#710;</a>
516
- <a name="update">Usage: </a><a href="cmd_update.wiki">fossil update</a> ?VERSION? ?--latest?
517
- The optional argument is a version that should become the current
518
- version. If the argument is omitted, then use the leaf of the
519
- tree that begins with the current version, if there is only a single leaf. If there are a multiple leaves, the latest is used
520
- if the --latest flag is present.
521
-
522
- This command is different from the "checkout" in that edits are
523
- not overwritten. Edits are merged into the new ve&#710;</a>
524
- <a name="user">Usage: </a><a href="cmd_user.wiki">fossil user</a> SUBCOMMAND ... ?-R|--repository FILE?
525
- Run various subcommands on users of the open repository or of
526
- the repository identified by the -R or --repository option.
527
-
528
- fossil user capabilities USERNAME ?STRING?
529
-
530
- Query or set the capabilities for user USERNAME
531
-
532
- fossil user default ?USERNAME?
533
-
534
- Query or set the default user. The default user is the
535
- user for command-line interaction.
536
-
537
- fossil user list
538
-
539
- List all users known to the repository
540
-
541
- fossil user new ?USERNAME?
542
-
543
- Create a new user in the repository. Users can never be
544
- deleted. They can be denied all access but they must continue
545
- to exist in the database.
546
-
547
- fossil user password USERNAME
548
-
549
- Change the web access password for a user.
550
-
551
-<hr><a href="#tof">&#710;</a>
552
- <a name="version">Usage: </a><a href="cmd_version.wiki">fossil version</a>
553
- Print the source code version number for the fossil execu&#710;</a>
554
- <a name="wiki">Usage: </a><a href="cmd_wiki.wiki">fossil wiki</a> (export|create|commit|list) WikiName
555
- Run various subcommands to fetch wiki entries.
556
-
557
- fossil wiki export PAGENAME ?FILE?
558
-
559
- Sends the latest version of the PAGENAME wiki
560
- entry to the given file or standard output.
561
-
562
- fossil wiki commit PAGENAME ?FILE?
563
-
564
- Commit changes to a wiki page from FILE or from standard.
565
-
566
- fossil wiki create PAGENAME ?FILE?
567
-
568
- Create a new wiki page with initial content taken from
569
- FILE or from standard input.
570
-
571
- fossil wiki list
572
-
573
- Lists all wiki entries, one per line, ordered
574
- case-insentively by name.
575
-
576
- TODOs:
577
-
578
- fossil wiki export ?-u ARTIFACT? WikiName ?FILE?
579
-
580
- Outputs the selected version of WikiName.
581
-
582
- fossil wiki delete ?-m MESSAGE? WikiName
583
-
584
- The same as deleting a file entry, but i don't know if fossil
585
- supports a commit message for Wiki entries.
586
-
587
- fossil wiki ?-u? ?-d? ?-s=[|]? list
588
-
589
- Lists the artifact ID and/or Date of last change along with
590
- each entry name, delimited by the -s char.
591
-
592
- fossil wiki diff ?ARTIFACT? ?-f infile[=stdin]? EntryName
593
-
594
- Diffs the local copy of a page with a given version (defaulting
595
- to the head version).
596
-
597
- </pre></now&#710; user new ?USERNAME?
598
-
599
- Create a new user in the repository. Users can never be
600
- deleted. They can be denied all access but they must continue
601
- to exist in the database.
602
-
603
- fossil user password USERNAME
604
-
605
- Change the web access password for a user.
606
-
607
-<hr><a href="#tof">ˆ</a>
608
- <a name="version">Usage: </a><a href="cmd_version.wiki">fossil version</a>
609
- Print the source code version number for the fossil executable.
610
-
611
-<hr><a href="#tof">ˆ</a>
612
- <a name="wiki">Usage: </a><a href="cmd_wiki.wiki">fossil wiki</a> (export|create|commit|list) WikiName
613
- Run various subcommands to fetch wiki entries.
614
-
615
- fossil wiki export PAGENAME ?FILE?
616
-
617
- Sends the latest version of the PAGENAME wiki
618
- entry to the given file or standard output.
619
-
620
- fossil wiki commit PAGENAME ?
--- a/www/reference.wiki
+++ b/www/reference.wiki
@@ -1,620 +0,0 @@
1 &#8212;aintenence (SCM) systems—but not <i>too</i>
2 much.
3
4 If you are trying to find information about fossil's web
5 capabilities, see the <a href="index.wiki">Fossil Home</a> and
6 <a href="wikitheory.wiki">Fossil Wiki</a> pages for pointers.
7
8 <h3>Things to note</h3>
9 * Fossil cli commands do not use special delimeters, they use
10 spaces. This is traditional with VCS/SCM. Some <i>options</i> to
11 fossil commands <i>do</i> use special delimiters, particularly the
12 '-' (hyphen, or dash) character. This is very similar to Tcl.
13 Think of fossil as a shell you invoke and feed a command to,
14 including any options, and it will make more sense.
15
16 * Any fossil command is acceptable once enough of it has been
17 entered to make the intent unambiguous. 'clo' is a proper prefix of
18 both the 'clone' and 'close' commands, for instance, but 'clon' is
19 &#8212;the 'clone'
20 command&#8212;unambiguous.
21
22 * Pragmatically, a [./concepts.wiki#keyconc | <u>version</u>]
23 in <b>fossil</b> is a 40-character long string of hexadecimal.
24 <b>fossil</b> will be able to figure out which version you want
25 with any <i>distinct</i> prefix of that string which is at
26 least four characters long. <em>Commands which require a
27 version are looking for the string, a distinct prefix of the
28 string, or a <code>tag</code>.</em>
29
30 * SCM in a distributed environment can be a bit confusing with
31 regard to branching, merging, and versions in general. See the
32 [./branching.wiki | explanation of branching] and it will all make
33 much more sense.
34
35 * <i>Op.Ed.</i> An excellent way to learn to use <b>fossil</b>
36 effectively is to
37 [./quickstart.wiki#fslclone | clone the repository for fossil]
38 itself. You can then poke around using the <code>fossil ui</code>
39 command, and look things up with no connection worries. You can
40 set up test repositories and try things out on-the-fly to see how
41 they work, using their own ui's. The CLI will far easier to
42 understand if you can run a repository, watch it in a browser, and
43 hack around with it in a simplified environment (your tests) with
44 guaranteed and fast access to the sources & docs (your cloned fossil
45 repository).
46 <br /><br /> <br />
47 <b>You should</b> probably start interacting with fossil at the command
48 line by asking it what it can
49 do:&nbsp;&nbsp;&nbsp;&nbsp;<a name="tof">&#710; more sense.
50
51 * Any fossil command is acceptable once enough of it has been
52 entered to make the intent unambiguous. 'clo' is a proper prefix of
53 both the 'clone' and 'close' commands, for instance, but 'clon' is
54 enough to make the intent—the 'clone'
55 command—unambiguous.
56
57 * Pragmatically, a [./concepts.wiki#keyconc | <u>version</u>]
58 in <b>fossil</b> is a 40-character long string of hexadecimal.
59 <b>fossil</b> will be able to figure out which version you want
60 with any <i>distinct</i> prefix of that string which is at
61 least four characters long. <em>Commands which require a
62 version are looking for the string, a distinct prefix of the
63 string, or a <code>tag</code>.</em>
64
65 * SCM in a distributed environment can be a bit confusing with
66 regard to branching, merging, and versions in general. See the
67 [./branching.wiki | explanation of branching] and it will all make
68 much more sense.
69
70 * <i>Op.Ed.</i> An excellent way to learn to use <b>fossil</b>
71 effectively is to
72 [./quickstart.wiki#fslclone | clone the repository for fossil]
73 itself. You can then poke ar&#710;</a>
74 <a name="addpush">push</a></td>
75 <td><a hge: </a><code><a href="cmd_add.wiki">fossil add</a></code> FILE...
76 Make arrangements to add one or more files to the current checkout
77 at the next c&#710;</a>
78 <a name="allpush">push</a></td>
79 <td><a haossil ls</a>
80 all</a></code> (list|pull|push|rebuild|sync)
81 The ~/.fossil file records the location of all repositories for a
82 user. This command performs certain operations on all repositories
83 that can be useful before or after a period of disconnection operation.
84
85 On Win32 systems, this file is located in %LOCALAPPDATA%, %APDDATA%
86 or %HOMEPATH% and is named _fossil.
87
88 Available operations are:
89
90 list Display the location of all repositories
91
92 pull Run a "pull" operation on all repositories
93
94 push Run a "push" on all repositories
95
96 rebuild Rebuild on all repositories
97
98 sync Run a "sync" on all repositories
99
100 Respositories are automatically added to the set of known repositories
101 when one of the following commands against the repository: clone, info,
102 pull, push, or sync
103
104 <hr><a href="#tof">&#710;</a>
105 <a name="ref="#push">push</a></td>
106 <td><a href="#status">status</a>*</td>
107 <td><a href="#wiki">wiki</a></td>
108 </tr>
109 </table><nowiki><pre>
110 This is fossil version [a89b436bc9] 2009-02-11 05:00:02 UTC
111 </pre>
112 <b>What follows</b> is a survey of what you get if you type<code>
113 fossil&nbsp;help&nbsp;<i>command</i> </code>for all of the
114 commands listed above. There are links to individual pages for each
115 of them; pages with content (commands marked with a '*' are done) g&#710;</a>
116 <a name="cgi">Usage: </a><a href="cmd_ch than the program help.
117 <pre>
118 <hr><a href="#tof">ˆ</a>
119 <a name="add">Usage: </a><code><a href="cmd_add.wiki">fossil add</a></code> FILE...
120 Make arrangements to add one or more files to the current checkout
121 at the next commit.
122
123 <hr><a href="#tof">ˆ</a>
124 <a name="all">Usage: </a><code><a href="cmd_all.wiki">fossil all</a></code> (list|pull|push|rebuild|sync)
125 The ~/.fossil file records the location of all repositories for a
126 user. This command performs certain operations on all repositories
127 that can be useful before or after a period of disconnection operation.
128
129 On Win32 systems, this file is located i&#710;</a>
130 <a name="PDDATA%
131 or %HOMEPATH% and is named _fossil.
132
133 Available operations are:
134
135 list Display the location of all repositories
136
137 pull Run a "pull" operation on all repositories
138
139 pu&#710;</a>
140 <a name="rebuild Rebuild on all repositories
141
142 sync Run a "sync" on all repositories
143
144 Respositories are automatically added to the set of known repositories
145 when one of the following commands against the repository: clone, info,
146 pull, push, or sync
147
148 <hr><a href="#tof">ˆ</a>
149 <a name="branch">Usage: </a><code><a hr&#710;</a>
150 <a name=""#tof">ˆ</a>
151 <a name="commit">Usage: </a><a href="cmd_commit.wiki">fossil commit</a> ?-m COMMENT? ?--nosign? ?FILE...? fossil ci ... (as above)
152
153 Create a new version containing all of the changes in the current
154 checkout. You will be prompted to enter a check-in comment unless
155 the "-m" option is used to specify a comment line. You will be
156 prompted for your GPG passphrase in order to sign the new manifest
157 unless the "--nosign" option is used. All files that have
158 changed will be committed unless some subset of files is specified
159 on the command&#710;</a>
160 <a name="clean">Usage: </a><a href="cmd_clean.wiki">fossil clean</a> ?-all?
161 Delete all "extra" files in the source tree. "Extra" files are
162 files that are not officially part of the checkout. See also
163 the "extra" command. This operation cannot be undone.
164
165 You will be prompted before removing each file. If you are
166 sure you wish to remove all "extra" files you can specify the
167 optional -all&#710;</a>
168 <a name="clone">Usage: </a><a href="cmd_clone.wiki">fossil clone</a> URL FILENAME
169 Make a clone of a repository specified by URL in the local
170 file named FIL&#710;</a>
171 <a name="close">Usage: </a><a href="cmd_close.wiki">fossil close</a> ?-f|--force?
172 The opposite of "open". Close the current database connection.
173 Require a -f or --force flag if there are unsaved changed in the
174 current check-out.
175
176 <hr><a href="#tof">&#710;</a>
177 <a name=""#tof">ˆ</a>
178 <a name="configuration">Usage: </a><a href="cmd_configure.wiki">fossil configuration</a> METHOD ...
179 Where METHOD is one of: export import merge pull push reset. All methods
180 accept the -R or --repository option to specific a repository.
181
182 fossil configuration export AREA FILENAME
183
184 Write to FILENAME exported configuraton information for AREA.
185 AREA can be one of: all ticket skin project
186
187 fossil configuration import FILENAME
188
189 Read a configuration from FILENAME, overwriting the current
190 configuration.
191
192 fossil configuration merge FILENAME
193
194 Read a configuration from FILENAME and merge its values into
195 the current configuration. Existing values take priority over
196 values read from FILENAME.
197
198 fossil configuration pull AREA ?URL?
199
200 Pull and install the configuration from a different server
201 identified by URL. If no URL is specified, then the default
202 server is used.
203 fossil configuration push AREA ?URL?
204
205 Push the local configuration into the remote server identified
206 by URL. Admin privilege is required on the remote server for
207 this to work.
208
209 fossil configuration reset AREA
210
211 Restore the configuration to the default. AREA as above.
212
213 WARNING: Do not import, merge, or pull configurations from an untrusted
214 source. The inbound configuration is not checked for safety and can
215 introduce security vulnerabil&#710;f="#tof">ˆ</a>
216 <a name="close">Usage: </a><a href="cmd_close.wiki">fossil close</a> ?-f|--force?
217 The opposite of "open". Close the current database connection.
218 Require a -f or --force flag if there are unsaved changed in the
219 current check-out.
220
221 <hr><a href="#tof">ˆ</a>
222 <a name="configuration">Usage: </a><a href="cmd_configure.wiki">fossil configuration</a> METHOD ...
223 Where ME&#710;</a>
224 <a name="eset. All methods
225 accept the -R or --repository option to specific a repository.
226
227 fossil configuration export AREA FILENAME
228
229 Write to FI&#710;</a>
230 <a name="e to FILENAME exported configuraton information for AREA.
231 AREA can be one of: all ticket skin project
232
233 fossil configuration import FILENAME
234
235 Read a configuration from FILENAME, overwriting the current
236 &#710;</a>
237 <a name="rge FILENAME
238
239 Read a configuration from FILENAME and merge its values into
240 the current configuration. Existing values take priority over
241 values read from FILENAME.
242
243 fossil configuration pull AREA ?URL?
244
245 Pull and install the configuration from a different server
246 identified by URL. If no URL is specified, then the default
247 server is used.
248 fossil configuration push AREA ?URL?
249
250 Push the local configuration into the remote server identified
251 by URL. Admin privilege is required on the remote server for
252 this to work.
253
254 fossil configuration reset AREA
255
256 Restore the configuration to the default. AREA as above.
257
258 WARNING: Do not import, merge, or pull configurations from an untrusted
259 source. The inbound configuration is not checked for safety and can
260 introduce security vulnerabilities.
261
262 <hr><a href="#tof">ˆ</a>
263 COMMAND: deconstruct
264 <a name="&#710;</a>
265 <a name="extra">Usage: </a><a href="cmd_extra.wiki">fossil extra</a>
266 Print a list of all files in the source tree that are not part of
267 the current checkout. See also the "clean" co&#710;</a>
268 <a name="help">Usage: </a><a href="cmd_p">Usage: </a><a href="cmd_help.wiki">fossil help</a> COMMAND
269 Display &#710;</a>
270 <a name="http">Usage: </a><a href="cmd_http.wiki">fossil http</a> REPOSITORY
271 Handle a single HTTP request appearing on stdin. The resulting webpage
272 is delivered on stdout. This method is used to launch an HTTP request
273 handler from inetd, for example. The argument is the name of the repository.
274
275 <hr><a href="#tof">&#710;</a>
276 <a name="info">Usage: </a><a href="cmd_info.wiki">fossil info</a> ?ARTIFACT-ID|FILENAME?
277 With no arguments, provide information about the current tree.
278 If an argument is specified, provide information about the object
279 in the respository of the current tree that the argument refers
280 to. Or if the argument is the name of a repository, show
281 information about that repos&#710;</a>
282 <a name="leaves">Usage: </a><a href="cmd_leaves.wiki">fossil leaves</a>
283 Find leaves of all branches.
284
285 <hr><a href="#tof">&#710;</a>
286 <a name="ls">Usage: </a><a href="cmd_ls.wiki">fossil ls</a>
287 Show the names of all files in the current checkout
288
289 <hr><a href="#tof">&#710;</a>
290 <a name=""#tof">ˆ</a>
291 <a name="merge">Usage: </a><a href="cmd_merge.wiki">fossil merge</a> VERSION
292 The argument is a version that should be merged into the current
293 checkout.
294 Only file content is merged. The result continues to use the
295 file and directory names from the current check-out even if those
296 names might have been chang&#710;</a>
297 <a name="mv">Usage: </a><a href="cmd_art of
298 the current checkout. See also the "clean" command.
299
300 <hr><a href="#tof">ˆ</a>
301 <a name="help">Usage: </a><a href="cmd_help.wiki">fossil help</a> COMMAND
302 Display information on how to use COMMAND
303
304 <hr><a href="#tof">ˆ</a>
305 <a name="http">Usage: </a><a href="cmd_http.wiki">fossil http</a> REPOSITORY
306 Handle a &#710;</a>
307 <a name="sulting webpage
308 is delivered on stdout. This method is used to launch an HTTP request
309 handler from inetd, for example. The argument is the name of the repository.
310
311 <hr><a href="#tof">ˆ</a>
312 <a name="info">Usage: </a><a href="cmd_info.wiki">fossil info&#710;</a>
313 <a name="open">Usage: </a><a href="cmd_ provide information about the current tree.
314 If an argument is specified, provide information about the object
315 in the respository of the current tree that the argument refers
316 to. Or if the argume&#710;</a>
317 <a name="rstats">Usage: </a><a href="cmd_r<a name="leaves">Usage: </a><a href="cmd_leaves.wiki">fossil leaves</a>
318 Find leaves of all branches.
319
320 <hr><a href="#tof">ˆ</a>&#710;</a>
321 <a name=">ˆ</a>
322 <a name="ls">Usage: </a><a href="cmd_ls.wiki">fossil ls</a>
323 Show the names of all files in the current checkout
324
325 <hr><a href="#tof">ˆ</a>
326 <a name="merge">Usage: </a><a href="cmd_merge.wiki">fossil merge</a> VERSION
327 The argument is a version that should be merged into the current
328 checkout.
329 Only file content is merged. The result continues to use the
330 file and directory names from the current check-out even if those
331 names might have been changed in the branch being merged in.
332
333 <hr><a href="#tof">ˆ</a>
334 <a name="mv">Usage: </a><a href="cmd_mv.wiki">fossil mv|rename</a> OLDNAME NEWNAME or: fossil mv|rename OLDNAME... DIR
335
336 Move or rename one or more files within the tree
337
338 This command does not rename the files on disk. &#710;</a>
339 <a name=""#tof">ˆ</a>
340 <a name="push">Usage: </a><a href="cmd_push.wiki">fossil push</a> ?URL? ?-R|--repository REPOSITORY?
341 Push changes in the local repository over into a remote repository.
342 See the "pull" co&#710;</a>
343 <a name="rebuild">Usage: </a><a href="cmd_rebuild.wiki">fossil rebuild</a> REPOSITORY
344 Reconstruct the named repository database from the core
345 records. Run this command after updating the fossil
346 executable in a way that changes the database s&#710;</a>
347 COMMAND: reconstruct
348 <a name="reconstruct">Usage: </a><a href="cmd_reconstruct.wiki">fossil reconstruct</a> REPOSITORY ORIGIN
349 Creates the REPOSITORY and populates it with the artifacts in the
350 indicated ORIGIN directory.
351
352 <hr><a href="#tof">&#710;</a>
353 <a name="redo">Usage: </a><a href="cmd_redo.wiki">fossil redo</a> ?FILENAME...?
354 Redo the an update or merge operation that has been undone by the
355 undo command. If FILENAME is specified then restore the changes
356 associated with the named file(s) but otherwise leave the update
357 or merge undone.
358
359 A single level of undo/redo is supported. The undo/redo stack
360 is cleared by the commit and checkout com&#710;</a>
361 <a name="revert">Usage: </a><a href="cmd_revert.wiki">fossil revert</a> ?--yes? ?-r CHECKIN? FILE
362 Revert to the current repository version of FILE, or to
363 the version associated with check-in CHECKIN if the -r flag
364 appears. This command will confirm your operation unless the
365 file is missing or the --yes option is&#710;</a>
366 <a name="server">Usage: </a><a href="cmd_r">Usage: </a><a href="cmd_server.wiki">fossil server</a> ?-P|--port TCPPORT? ?REPOSITORY? Or: fossil ui ?-P|--port TCPPORT? ?REPOSITORY?
367
368 Open a socket and begin listening and responding to HTTP requests on
369 TCP port 8080, or on any other TCP port defined by the -P or
370 --port option. The optional argument is the name of the repository.
371 The repository argument may be omitted if the working directory is
372 within an open checkout.
373
374 The "ui" command automatically starts a web browser after initializing
375 the web s&#710;the database schema.
376
377 <hr><a href="#tof">ˆ</a>
378 COMMAND: reconstruct
379 <a name="reconstruct">Usage: </a><a href="cmd_reconstruct.wiki">fossil reconstruct</a> REPOSITORY ORIGIN
380 Creates the REPOSITORY and populates it with the artifacts in the
381 indicated ORIGIN directory.
382
383 <hr><a href="#tof">ˆ</a>
384 <a name="redo">Usage: </a><a href="cmd_redo.wiki">fossil redo</a> ?FILENAME...?
385 Redo the an update or merge operation that has been undone by the
386 undo command. If FILENAME is specified then restore the changes
387 associated with the named file(s) but otherwise leave the update
388 or merge undone.
389
390 A single level of undo/redo is supported. The undo/redo stack
391 is cleared by the commit and checkout commands.
392
393 <hr><a href="#tof">ˆ</a>
394 <a name="revert">Usage: </a><a href="cmd_revert.wiki">fossil revert</a> ?--yes? ?-r CHECKIN? FILE
395 Revert to the current repository version of FILE, or to
396 the version associated with check-in CHECKIN if the -r flag
397 appears. This command will confirm your operation unless the
398 file is missing or the --yes option is used.
399
400 <hr><a href="#tof">ˆ</a>
401 <a name="server">Usage: </a><a href="cmd_server.wiki">fossil server</a> ?-P|--port TCPPORT? ?REPOSITORY? Or: fossil ui ?-P|--port TCPPORT? ?REPOSITORY?
402
403 Open a socket and begin listening and responding to HTTP requests on
404 TCP port 8080, or on any other TCP port defined by the -P or
405 --port option. The optional argument is the name of the repository.
406 The repository argument may be omitted if the working directory is
407 within an open checkout.
408
409 The "ui" command automatically starts a web browser after initializing
410 the web server.
411
412 <hr><a href="#tof">ˆ</a>
413 COMMAND: settings
414 COMMAND: unset
415 <a name="settings">Usage: </a><a href="cmd_setting.wiki">fossil settings</a> ?PROPERTY? ?VALUE? ?-global?
416 fossil unset PROPERTY ?-global?
417
418 The "settings" command with no arguments lists all properties and their
419 values. With just a property name it shows the value of that property.
420 With a value argument it changes the property for the current repository.
421
422 The "unset" command clears a property setting.
423
424 &#710;</a>
425 <a name="status">Usage: </a><a href="cmd_status.wiki">fossil status</a>
426 Report on the status of the current checkout.
427
428 <hr><a href="#tof">&#710;</a>
429 <a name="sync">Usage: </a><a href="cmd_sync.wiki">fossil sync</a> ?URL? ?-R|--repository REPOSITORY?
430 Synchronize the local repository with a remote repository. This is
431 the equivalent of running both "push" and "pull" at the same time.
432 See the "pull" command for additional information.
433
434 <hr><a href="#tof">&#710;</a>
435 <a name=""#tof">ˆ</a>
436 <a name="tag">Usage: </a><a href="cmd_tag.wiki">fossil tag</a> SUBCOMMAND ...
437 Run various subcommands to control tags and properties
438
439 fossil tag add ?--raw? TAGNAME CHECK-IN ?VALUE?
440
441 Add a new tag or property to CHECK-IN. The tag will
442 be usable instead of a CHECK-IN in commands such as
443 update and merge.
444
445 fossil tag branch ?--raw? ?--nofork? TAGNAME CHECK-IN ?VALUE?
446
447 A fork will be created so that the new checkin
448 is a sibling of CHECK-IN and identical to it except
449 for a generated comment. Then the new tag will
450 be added to the new checkin and propagated to
451 all direct children. Additionally all symbolic
452 tags of that checkin inherited from CHECK-IN will
453 be cancelled.
454
455 However, if the option --nofork is given, no
456 fork will be created and the tag/property will be
457 added to CHECK-IN directly. No tags will be canceled.
458
459 fossil tag cancel ?--raw? TAGNAME CHECK-IN
460
461 Remove the tag TAGNAME from CHECK-IN, and also remove
462 the propagation of the tag to any descendants.
463
464 fossil tag find ?--raw? TAGNAME
465
466 List all check-ins that use TAGNAME
467
468 fossil tag list ?--raw? ?CHECK-IN?
469
470 List all tags, or if CHECK-IN is supplied, list
471 all tags and their values for CHECK-IN.
472
473 The option --raw allows the manipulation of all types of
474 tags used for various internal purposes in fossil. You
475 should not use this option to make changes unless you are
476 sure what you are doing.
477
478 If you need to use a tagname that might be confused with
479 a hexadecimal check-in or artifact ID, you can explicitly
480 disambiguate it by prefixing it with "tag:". For instance:
481
482 fossil update decaf
483
484 will be taken as an artifact or check-in ID and fossil will
485 probably complain that no such revision was found. However
486
487 fossil update tag:decaf
488
489 will assume t&#710;</a>
490 <a name="timeline">Usage: </a><a href="cmd_ag will
491 be usable instead of a CHECK-IN in commands such as
492 update and merge.
493
494 fossil tag branch ?--raw? ?--nofork? TAGNAME CHECK-IN ?VALUE?
495
496 A fork will be created so that the new checkin
497 is a sibling of CHECK-IN and identical to it except
498 for a generated comment. Then the new tag will
499 be added to the new checkin and propagated to
500 all direct children. Additionally all symbolic
501 tags of that checkin inherited from CHECK-IN will
502 be cancelled.
503
504 However, if the option --nofork is given, no
505 fork will be created and the tag/property will be
506 added to CHECK-IN directly. No tags will be canceled.
507
508 fossil t&#710;</a>
509 <a name="undo">Usage: </a><a href="cmd_o">Usage: </a><a href="cmd_undo.wiki">fossil undo</a> ?FILENAME...?
510 Undo the most recent update or merge operation. If FILENAME is
511 specified then restore the content of the named file(s) but otherwise
512 leave the update or merge in effect.
513
514 A single level of undo/redo is supported. The undo/redo stack
515 is cleared by &#710;</a>
516 <a name="update">Usage: </a><a href="cmd_update.wiki">fossil update</a> ?VERSION? ?--latest?
517 The optional argument is a version that should become the current
518 version. If the argument is omitted, then use the leaf of the
519 tree that begins with the current version, if there is only a single leaf. If there are a multiple leaves, the latest is used
520 if the --latest flag is present.
521
522 This command is different from the "checkout" in that edits are
523 not overwritten. Edits are merged into the new ve&#710;</a>
524 <a name="user">Usage: </a><a href="cmd_user.wiki">fossil user</a> SUBCOMMAND ... ?-R|--repository FILE?
525 Run various subcommands on users of the open repository or of
526 the repository identified by the -R or --repository option.
527
528 fossil user capabilities USERNAME ?STRING?
529
530 Query or set the capabilities for user USERNAME
531
532 fossil user default ?USERNAME?
533
534 Query or set the default user. The default user is the
535 user for command-line interaction.
536
537 fossil user list
538
539 List all users known to the repository
540
541 fossil user new ?USERNAME?
542
543 Create a new user in the repository. Users can never be
544 deleted. They can be denied all access but they must continue
545 to exist in the database.
546
547 fossil user password USERNAME
548
549 Change the web access password for a user.
550
551 <hr><a href="#tof">&#710;</a>
552 <a name="version">Usage: </a><a href="cmd_version.wiki">fossil version</a>
553 Print the source code version number for the fossil execu&#710;</a>
554 <a name="wiki">Usage: </a><a href="cmd_wiki.wiki">fossil wiki</a> (export|create|commit|list) WikiName
555 Run various subcommands to fetch wiki entries.
556
557 fossil wiki export PAGENAME ?FILE?
558
559 Sends the latest version of the PAGENAME wiki
560 entry to the given file or standard output.
561
562 fossil wiki commit PAGENAME ?FILE?
563
564 Commit changes to a wiki page from FILE or from standard.
565
566 fossil wiki create PAGENAME ?FILE?
567
568 Create a new wiki page with initial content taken from
569 FILE or from standard input.
570
571 fossil wiki list
572
573 Lists all wiki entries, one per line, ordered
574 case-insentively by name.
575
576 TODOs:
577
578 fossil wiki export ?-u ARTIFACT? WikiName ?FILE?
579
580 Outputs the selected version of WikiName.
581
582 fossil wiki delete ?-m MESSAGE? WikiName
583
584 The same as deleting a file entry, but i don't know if fossil
585 supports a commit message for Wiki entries.
586
587 fossil wiki ?-u? ?-d? ?-s=[|]? list
588
589 Lists the artifact ID and/or Date of last change along with
590 each entry name, delimited by the -s char.
591
592 fossil wiki diff ?ARTIFACT? ?-f infile[=stdin]? EntryName
593
594 Diffs the local copy of a page with a given version (defaulting
595 to the head version).
596
597 </pre></now&#710; user new ?USERNAME?
598
599 Create a new user in the repository. Users can never be
600 deleted. They can be denied all access but they must continue
601 to exist in the database.
602
603 fossil user password USERNAME
604
605 Change the web access password for a user.
606
607 <hr><a href="#tof">ˆ</a>
608 <a name="version">Usage: </a><a href="cmd_version.wiki">fossil version</a>
609 Print the source code version number for the fossil executable.
610
611 <hr><a href="#tof">ˆ</a>
612 <a name="wiki">Usage: </a><a href="cmd_wiki.wiki">fossil wiki</a> (export|create|commit|list) WikiName
613 Run various subcommands to fetch wiki entries.
614
615 fossil wiki export PAGENAME ?FILE?
616
617 Sends the latest version of the PAGENAME wiki
618 entry to the given file or standard output.
619
620 fossil wiki commit PAGENAME ?
--- a/www/reference.wiki
+++ b/www/reference.wiki
@@ -1,620 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- www/reviews.wiki
+++ www/reviews.wiki
@@ -3,12 +3,12 @@
33
44
* [http://sheddingbikes.com/posts/1276624594.html | Why I Use Fossil]
55
by Zed A. Shaw.
66
* [http://nixtu.blogspot.com/2010/03/fossil-dvcs-on-go-first-impressions.html |
77
Fossil DVCS on the Go - First Impressions]
8
- by Juho Veps&#228;l&#228;inen.
98
* [http://blog.fupps.com/2010/12/04/exploring-the-fossil-dvcs |
9
+ by Juho Vepsäläinen.
1010
Exploring the Fossil DVCS] by Jan-Piet Mens.
1111
* [http://blog.mired.org/2011/02/fossil-sweet-spot-in-vcs-space.html |
1212
Fossil - a sweet spot in the VCS space] by Mike Meyer.
1313
* [http://blog.s11n.net/?p=72|Four reasons to take a closer look at the Fossil SCM] by Stephan Beal
1414
1515
--- www/reviews.wiki
+++ www/reviews.wiki
@@ -3,12 +3,12 @@
3
4 * [http://sheddingbikes.com/posts/1276624594.html | Why I Use Fossil]
5 by Zed A. Shaw.
6 * [http://nixtu.blogspot.com/2010/03/fossil-dvcs-on-go-first-impressions.html |
7 Fossil DVCS on the Go - First Impressions]
8 by Juho Veps&#228;l&#228;inen.
9 * [http://blog.fupps.com/2010/12/04/exploring-the-fossil-dvcs |
 
10 Exploring the Fossil DVCS] by Jan-Piet Mens.
11 * [http://blog.mired.org/2011/02/fossil-sweet-spot-in-vcs-space.html |
12 Fossil - a sweet spot in the VCS space] by Mike Meyer.
13 * [http://blog.s11n.net/?p=72|Four reasons to take a closer look at the Fossil SCM] by Stephan Beal
14
15
--- www/reviews.wiki
+++ www/reviews.wiki
@@ -3,12 +3,12 @@
3
4 * [http://sheddingbikes.com/posts/1276624594.html | Why I Use Fossil]
5 by Zed A. Shaw.
6 * [http://nixtu.blogspot.com/2010/03/fossil-dvcs-on-go-first-impressions.html |
7 Fossil DVCS on the Go - First Impressions]
 
8 * [http://blog.fupps.com/2010/12/04/exploring-the-fossil-dvcs |
9 by Juho Vepsäläinen.
10 Exploring the Fossil DVCS] by Jan-Piet Mens.
11 * [http://blog.mired.org/2011/02/fossil-sweet-spot-in-vcs-space.html |
12 Fossil - a sweet spot in the VCS space] by Mike Meyer.
13 * [http://blog.s11n.net/?p=72|Four reasons to take a closer look at the Fossil SCM] by Stephan Beal
14
15

Keyboard Shortcuts

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