Fossil SCM
Add the concept of "backoffice" processing, used to do background cleanup operations after repository changes, such sending alerts and/or syncing to peer repositories.
Commit
947081aa2f650228b30bc6baef189d63164d09dac741403375ce1d2fcf2ec2b9
Parent
065070385a51e58…
8 files changed
+214
+2
-2
+3
-15
+12
+1
+10
-4
+13
+10
+214
| --- a/src/backoffice.c | ||
| +++ b/src/backoffice.c | ||
| @@ -0,0 +1,214 @@ | ||
| 1 | +i#if 0 /* Disabletimez#if 0 /* Disabletimeout for now */ | |
| 2 | +/* | |
| 3 | +** Set an alarm to cause the process to exit after "x" seconds. This | |
| 4 | +** prevents any kind of bug from keeping a running | |
| 5 | +** indefinitelySigalrmHandler(int x){ | |
| 6 | + fossil_panic("backoffice timeout (%d seconds)", x); | |
| 7 | +i.com | |
| 8 | +** http://www.eeBSD License".) | |
| 9 | +** | |
| 10 | +** This ignal thatshould not be run at the conclusiontact information: | |
| 11 | +** [email protected] | |
| 12 | +** http://www.hwaemail} backofficeWi#if 0 /* Disabletimeout for now */ | |
| 13 | +/* | |
| 14 | +** Set an alarm to cause the process to exit after "x" seconds. This | |
| 15 | +** prevents any kind of b.eeBSD License".) | |
| 16 | +** | |
| 17 | +** This eeBSD License".) | |
| 18 | +* | |
| 19 | +/* | |
| 20 | +** WEBPAGE:rpose. | |
| 21 | +** | |
| 22 | +** Author contact information: | |
| 23 | +** [email protected] | |
| 24 | +** http://www.hwaemail} backofficeWi#if 0 /* Dis Set an alarm to cause teeBSlogin_check_credentials(); | |
| 25 | + if( !g.perm.Setup ){ | |
| 26 | + login_needed(0); | |
| 27 | + retbackoffbackoffice_do_not_run(); | |
| 28 | + @ @ <tr><th>Now:</th><td>%lld(tmNow)</td></tr> | |
| 29 | + @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ | |
| 30 | + }Current) ){ | |
| 31 | + @ (done) \ | |
| 32 | + } | |
| 33 | + @ </td></tr> | |
| 34 | + @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ | |
| 35 | + } | |
| 36 | + @ </td></tr>> | |
| 37 | +# include <windows logcredentials(); | |
| 38 | + if( !g.perm.Setup ){ | |
| 39 | + login_needed(0); | |
| 40 | + retbackofckoffbackoffice_do_not_run(); | |
| 41 | + @ @ <tr><th>Now:</th><td>%lld(tmNow)</td></tr> | |
| 42 | + @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ | |
| 43 | + }Current) ){ | |
| 44 | + { | |
| 45 | + @ (done) \ | |
| 46 | + } | |
| 47 | + @ </td></tr> | |
| 48 | + @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ | |
| 49 | + } | |
| 50 | + @ </td></tr> | |
| 51 | + @ <tr><th>i#if ! (now%+lld() \ | |
| 52 | + /tr> | |
| 53 | + } | |
| 54 | +#endif | |
| 55 | + | |
| 56 | + @1; \ | |
| 57 | + } | |
| 58 | + @ </td></tr> | |
| 59 | +#ifndef ");w.hwaemail} backofficeWi! (now%+lld() \ | |
| 60 | + }d>%lld(tmNow)</td></tr> | |
| 61 | + @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ | |
| 62 | + }Current) ){ | |
| 63 | + @ (done) \ | |
| 64 | + } | |
| 65 | + @ </td></tr> | |
| 66 | + @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ | |
| 67 | + } | |
| 68 | + @ </td></tr> | |
| 69 | + @ <tr>ut for now */ | |
| 70 | +/* | |
| 71 | +** Set an alarm to cause the process to exit after "x" seconds. This | |
| 72 | +** prevents any kind of bug from keeping a running | |
| 73 | +** indefinitelySigalrmHandler(int x){ | |
| 74 | + fossil_panic("backoffice timeout (%d seconds)", x); | |
| 75 | +i.com | |
| 76 | +** http://www.eeBSD License".) | |
| 77 | +** | |
| 78 | +** This ignal thatshould not be run at the conclusiontact information: | |
| 79 | +** [email protected] | |
| 80 | +** http://www.hwaemail} backofficeWi#if 0 /* Disabletimeout for now */ | |
| 81 | +/* | |
| 82 | +** Set an alarm to cause the process to exit after "x" seconds. This | |
| 83 | +** prevents any kind of b.eeBSD License".) | |
| 84 | +** | |
| 85 | +** This eeBSD License".) | |
| 86 | +* | |
| 87 | +/* | |
| 88 | +** WEBPAGE:rpose. | |
| 89 | +** | |
| 90 | +** Author contact information: | |
| 91 | +** [email protected] | |
| 92 | +** http://www.hwaemail} backofficeWi#if 0 /* Dis Set an alarm to cause teeBSlogin_check_credentials(); | |
| 93 | + if( !g.perm.Setup ){ | |
| 94 | + login_needed(0); | |
| 95 | + retbackoffbackoffice_do_not_run(); | |
| 96 | + @ @ <tr><th>Now:</th><td>%lld(tmNow)</td></tr> | |
| 97 | + @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ | |
| 98 | + }Current) ){ | |
| 99 | + @ (done) \ | |
| 100 | + } | |
| 101 | + @ </td></tr> | |
| 102 | + @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ | |
| 103 | + } | |
| 104 | + @ </td></tr>> | |
| 105 | +# include <windows logcredentials(); | |
| 106 | + if( !g.perm.Setup ){ | |
| 107 | + login_needed(0); | |
| 108 | + retbackofckoffbackoffice_do_not_run(); | |
| 109 | + @ @ <tr><th>Now:</th><td>%lld(tmNow)</td></tr> | |
| 110 | + @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ | |
| 111 | + }Current) ){ | |
| 112 | + { | |
| 113 | + @ (done) \ | |
| 114 | + } | |
| 115 | + @ </td></tr> | |
| 116 | + @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ | |
| 117 | + } | |
| 118 | + @ </td></tr> | |
| 119 | + @ <tr><th>i#if ! (now%+lld() \ | |
| 120 | + /tr> | |
| 121 | + } | |
| 122 | +#endif | |
| 123 | + | |
| 124 | + @1; \ | |
| 125 | + } | |
| 126 | + @ </td></tr> | |
| 127 | +#ifndef ");w.hwaemail} backofficeWi! (now%+lld() \ | |
| 128 | + }d>%lld(tmNow)</td></tr> | |
| 129 | + @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ | |
| 130 | + }Current) ){ | |
| 131 | + @ (done) \ | |
| 132 | + } | |
| 133 | + @ </td></tr> | |
| 134 | + @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ | |
| 135 | + } | |
| 136 | + @ </td></tr> | |
| 137 | + @ <tr><th>idNext:</th><td>%lld(x.idNext)</td><td> </td><td>\{ | |
| 138 | + @ (exists) \ | |
| 139 | + }{ | |
| 140 | + @ (done) \ | |
| 141 | + } | |
| 142 | + @ </td></tr> | |
| 143 | + @ <tr><th>tmNext:</th><td>%lld(x.tmNext)</td><td></td><td>\ | |
| 144 | + if( x.tmNext>0 ){ | |
| 145 | + @ (now%+lld(x.tmNext-tmNow)) \ | |
| 146 | + } | |
| 147 | + @ </td></tr> | |
| 148 | +#ifndef _WIN32 | |
| 149 | + if( P("fds")!=0 ){ | |
| 150 | + int i; | |
| 151 | + @ <tr><th>open fds:</th><td colspan="3"> | |
| 152 | + for(i=0; i<1000; i++){ | |
| 153 | + int rc = fcntl(i, F_GETFL, 0); | |
| 154 | + if( rc<0 ) continue; | |
| 155 | + @ %d(i) \ | |
| 156 | + } | |
| 157 | + @ </td></tr> | |
| 158 | + } | |
| 159 | +#endif | |
| 160 | + | |
| 161 | + @1; | |
| 162 | + if( 3; close(i)==0 || i<10; i++){0/* | |
| 163 | +** IfdbdD License".) | |
| 164 | +** | |
| 165 | +** This progcense"D License".) | |
| 166 | +** | |
| 167 | +** This program is distributed in the hope that it will be useful, | |
| 168 | +** but without any warranty; without even the implied warranty of | |
| 169 | +** merchantability or fitness for a particular purpose. | |
| 170 | +** | |
| 171 | +** Author contact information: | |
| 172 | +** [email protected] | |
| 173 | +** http://www.hwaemail} backofficeWi#if 0 /* Disabletimeout for now */ | |
| 174 | +/* | |
| 175 | +** Set an alarm to cause the process to exit after "x" seconds. This | |
| 176 | +** prevents any kind of bug from keeping a running | |
| 177 | +** indefinitelySigalrmHandler(int x){ | |
| 178 | + fossil_panic("backoffice timeout (%d seconds)", x); | |
| 179 | +i.com | |
| 180 | +** http://www.eeBSD License".) | |
| 181 | +** | |
| 182 | +** This ignal thatshould not be run at thidSelf =#if 0 /* Disabletimeout for now */ | |
| 183 | +/* | |
| 184 | +** Set an alarm to cause the process to exit after "x" seconds. This | |
| 185 | +** prevents any kind of bug from keeping a running | |
| 186 | +** indefinitelySigalrmHandler(int x){ | |
| 187 | + fossil_panic("backoffice timeout (%d seconds)", x); | |
| 188 | +i.com | |
| 189 | +** http://www.eeBSD License".) | |
| 190 | +** | |
| 191 | +** This ignal thatshould not be run at the conclusiontact information: | |
| 192 | +** [email protected] | |
| 193 | +** http://www.hwaemail} backofficeWi#if 0 /* Disabletimeout for now */ | |
| 194 | +/* | |
| 195 | +** Set an alarm to cause the process to exit after "x" seconds. This | |
| 196 | +** prevents any kind of b.eeBSD License".) | |
| 197 | +** | |
| 198 | +** This eeBSD License".) | |
| 199 | +*x.tmCurrent:rpose. | |
| 200 | +** | |
| 201 | +** Author contact information: | |
| 202 | +** [email protected] | |
| 203 | +** http://www.hwaemail} backofficeWi#if 0 /* Dis Set an alarm to cause teeBSlogin_check_credentials(); | |
| 204 | + if( !g.perm.Setup ){ | |
| 205 | + login_needed(0); | |
| 206 | + retbackoffbackoffice_do_not_run(); | |
| 207 | + @ @ <tr><th>Now:</th><td>%lld(tmNow)</td></tr> | |
| 208 | + @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ | |
| 209 | + }Current) | |
| 210 | +/* | |
| 211 | +** Set an alarm to cause the process to exit after "x" seconds. This | |
| 212 | +** prevents any kind of bug from keeping a running | |
| 213 | +** indefinitelySigalrmHandler(int x){ | |
| 214 | + fossil_panic("backoffice timeout (%d sec |
| --- a/src/backoffice.c | |
| +++ b/src/backoffice.c | |
| @@ -0,0 +1,214 @@ | |
| --- a/src/backoffice.c | |
| +++ b/src/backoffice.c | |
| @@ -0,0 +1,214 @@ | |
| 1 | i#if 0 /* Disabletimez#if 0 /* Disabletimeout for now */ |
| 2 | /* |
| 3 | ** Set an alarm to cause the process to exit after "x" seconds. This |
| 4 | ** prevents any kind of bug from keeping a running |
| 5 | ** indefinitelySigalrmHandler(int x){ |
| 6 | fossil_panic("backoffice timeout (%d seconds)", x); |
| 7 | i.com |
| 8 | ** http://www.eeBSD License".) |
| 9 | ** |
| 10 | ** This ignal thatshould not be run at the conclusiontact information: |
| 11 | ** [email protected] |
| 12 | ** http://www.hwaemail} backofficeWi#if 0 /* Disabletimeout for now */ |
| 13 | /* |
| 14 | ** Set an alarm to cause the process to exit after "x" seconds. This |
| 15 | ** prevents any kind of b.eeBSD License".) |
| 16 | ** |
| 17 | ** This eeBSD License".) |
| 18 | * |
| 19 | /* |
| 20 | ** WEBPAGE:rpose. |
| 21 | ** |
| 22 | ** Author contact information: |
| 23 | ** [email protected] |
| 24 | ** http://www.hwaemail} backofficeWi#if 0 /* Dis Set an alarm to cause teeBSlogin_check_credentials(); |
| 25 | if( !g.perm.Setup ){ |
| 26 | login_needed(0); |
| 27 | retbackoffbackoffice_do_not_run(); |
| 28 | @ @ <tr><th>Now:</th><td>%lld(tmNow)</td></tr> |
| 29 | @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ |
| 30 | }Current) ){ |
| 31 | @ (done) \ |
| 32 | } |
| 33 | @ </td></tr> |
| 34 | @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ |
| 35 | } |
| 36 | @ </td></tr>> |
| 37 | # include <windows logcredentials(); |
| 38 | if( !g.perm.Setup ){ |
| 39 | login_needed(0); |
| 40 | retbackofckoffbackoffice_do_not_run(); |
| 41 | @ @ <tr><th>Now:</th><td>%lld(tmNow)</td></tr> |
| 42 | @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ |
| 43 | }Current) ){ |
| 44 | { |
| 45 | @ (done) \ |
| 46 | } |
| 47 | @ </td></tr> |
| 48 | @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ |
| 49 | } |
| 50 | @ </td></tr> |
| 51 | @ <tr><th>i#if ! (now%+lld() \ |
| 52 | /tr> |
| 53 | } |
| 54 | #endif |
| 55 | |
| 56 | @1; \ |
| 57 | } |
| 58 | @ </td></tr> |
| 59 | #ifndef ");w.hwaemail} backofficeWi! (now%+lld() \ |
| 60 | }d>%lld(tmNow)</td></tr> |
| 61 | @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ |
| 62 | }Current) ){ |
| 63 | @ (done) \ |
| 64 | } |
| 65 | @ </td></tr> |
| 66 | @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ |
| 67 | } |
| 68 | @ </td></tr> |
| 69 | @ <tr>ut for now */ |
| 70 | /* |
| 71 | ** Set an alarm to cause the process to exit after "x" seconds. This |
| 72 | ** prevents any kind of bug from keeping a running |
| 73 | ** indefinitelySigalrmHandler(int x){ |
| 74 | fossil_panic("backoffice timeout (%d seconds)", x); |
| 75 | i.com |
| 76 | ** http://www.eeBSD License".) |
| 77 | ** |
| 78 | ** This ignal thatshould not be run at the conclusiontact information: |
| 79 | ** [email protected] |
| 80 | ** http://www.hwaemail} backofficeWi#if 0 /* Disabletimeout for now */ |
| 81 | /* |
| 82 | ** Set an alarm to cause the process to exit after "x" seconds. This |
| 83 | ** prevents any kind of b.eeBSD License".) |
| 84 | ** |
| 85 | ** This eeBSD License".) |
| 86 | * |
| 87 | /* |
| 88 | ** WEBPAGE:rpose. |
| 89 | ** |
| 90 | ** Author contact information: |
| 91 | ** [email protected] |
| 92 | ** http://www.hwaemail} backofficeWi#if 0 /* Dis Set an alarm to cause teeBSlogin_check_credentials(); |
| 93 | if( !g.perm.Setup ){ |
| 94 | login_needed(0); |
| 95 | retbackoffbackoffice_do_not_run(); |
| 96 | @ @ <tr><th>Now:</th><td>%lld(tmNow)</td></tr> |
| 97 | @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ |
| 98 | }Current) ){ |
| 99 | @ (done) \ |
| 100 | } |
| 101 | @ </td></tr> |
| 102 | @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ |
| 103 | } |
| 104 | @ </td></tr>> |
| 105 | # include <windows logcredentials(); |
| 106 | if( !g.perm.Setup ){ |
| 107 | login_needed(0); |
| 108 | retbackofckoffbackoffice_do_not_run(); |
| 109 | @ @ <tr><th>Now:</th><td>%lld(tmNow)</td></tr> |
| 110 | @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ |
| 111 | }Current) ){ |
| 112 | { |
| 113 | @ (done) \ |
| 114 | } |
| 115 | @ </td></tr> |
| 116 | @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ |
| 117 | } |
| 118 | @ </td></tr> |
| 119 | @ <tr><th>i#if ! (now%+lld() \ |
| 120 | /tr> |
| 121 | } |
| 122 | #endif |
| 123 | |
| 124 | @1; \ |
| 125 | } |
| 126 | @ </td></tr> |
| 127 | #ifndef ");w.hwaemail} backofficeWi! (now%+lld() \ |
| 128 | }d>%lld(tmNow)</td></tr> |
| 129 | @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ |
| 130 | }Current) ){ |
| 131 | @ (done) \ |
| 132 | } |
| 133 | @ </td></tr> |
| 134 | @ <tr><th>tmCurrent:</th><td>%lld(x.tm@ (now%+lld() \ |
| 135 | } |
| 136 | @ </td></tr> |
| 137 | @ <tr><th>idNext:</th><td>%lld(x.idNext)</td><td> </td><td>\{ |
| 138 | @ (exists) \ |
| 139 | }{ |
| 140 | @ (done) \ |
| 141 | } |
| 142 | @ </td></tr> |
| 143 | @ <tr><th>tmNext:</th><td>%lld(x.tmNext)</td><td></td><td>\ |
| 144 | if( x.tmNext>0 ){ |
| 145 | @ (now%+lld(x.tmNext-tmNow)) \ |
| 146 | } |
| 147 | @ </td></tr> |
| 148 | #ifndef _WIN32 |
| 149 | if( P("fds")!=0 ){ |
| 150 | int i; |
| 151 | @ <tr><th>open fds:</th><td colspan="3"> |
| 152 | for(i=0; i<1000; i++){ |
| 153 | int rc = fcntl(i, F_GETFL, 0); |
| 154 | if( rc<0 ) continue; |
| 155 | @ %d(i) \ |
| 156 | } |
| 157 | @ </td></tr> |
| 158 | } |
| 159 | #endif |
| 160 | |
| 161 | @1; |
| 162 | if( 3; close(i)==0 || i<10; i++){0/* |
| 163 | ** IfdbdD License".) |
| 164 | ** |
| 165 | ** This progcense"D License".) |
| 166 | ** |
| 167 | ** This program is distributed in the hope that it will be useful, |
| 168 | ** but without any warranty; without even the implied warranty of |
| 169 | ** merchantability or fitness for a particular purpose. |
| 170 | ** |
| 171 | ** Author contact information: |
| 172 | ** [email protected] |
| 173 | ** http://www.hwaemail} backofficeWi#if 0 /* Disabletimeout for now */ |
| 174 | /* |
| 175 | ** Set an alarm to cause the process to exit after "x" seconds. This |
| 176 | ** prevents any kind of bug from keeping a running |
| 177 | ** indefinitelySigalrmHandler(int x){ |
| 178 | fossil_panic("backoffice timeout (%d seconds)", x); |
| 179 | i.com |
| 180 | ** http://www.eeBSD License".) |
| 181 | ** |
| 182 | ** This ignal thatshould not be run at thidSelf =#if 0 /* Disabletimeout for now */ |
| 183 | /* |
| 184 | ** Set an alarm to cause the process to exit after "x" seconds. This |
| 185 | ** prevents any kind of bug from keeping a running |
| 186 | ** indefinitelySigalrmHandler(int x){ |
| 187 | fossil_panic("backoffice timeout (%d seconds)", x); |
| 188 | i.com |
| 189 | ** http://www.eeBSD License".) |
| 190 | ** |
| 191 | ** This ignal thatshould not be run at the conclusiontact information: |
| 192 | ** [email protected] |
| 193 | ** http://www.hwaemail} backofficeWi#if 0 /* Disabletimeout for now */ |
| 194 | /* |
| 195 | ** Set an alarm to cause the process to exit after "x" seconds. This |
| 196 | ** prevents any kind of b.eeBSD License".) |
| 197 | ** |
| 198 | ** This eeBSD License".) |
| 199 | *x.tmCurrent:rpose. |
| 200 | ** |
| 201 | ** Author contact information: |
| 202 | ** [email protected] |
| 203 | ** http://www.hwaemail} backofficeWi#if 0 /* Dis Set an alarm to cause teeBSlogin_check_credentials(); |
| 204 | if( !g.perm.Setup ){ |
| 205 | login_needed(0); |
| 206 | retbackoffbackoffice_do_not_run(); |
| 207 | @ @ <tr><th>Now:</th><td>%lld(tmNow)</td></tr> |
| 208 | @ <tr><th>Lease:</th><td colspan@ <tr><th>idCurrent:</th><td>%lld(x.idCurrent)</td><td> </td><td>\Exists@ (exists) \ |
| 209 | }Current) |
| 210 | /* |
| 211 | ** Set an alarm to cause the process to exit after "x" seconds. This |
| 212 | ** prevents any kind of bug from keeping a running |
| 213 | ** indefinitelySigalrmHandler(int x){ |
| 214 | fossil_panic("backoffice timeout (%d sec |
+2
-2
| --- src/cgi.c | ||
| +++ src/cgi.c | ||
| @@ -343,12 +343,12 @@ | ||
| 343 | 343 | CGIDEBUG(("DONE\n")); |
| 344 | 344 | |
| 345 | 345 | /* After the webpage has been sent, do any useful background |
| 346 | 346 | ** processing. |
| 347 | 347 | */ |
| 348 | - if( iReplyStatus==200 && fossil_strcmp(zContentType,"text/html")==0 ){ | |
| 349 | - email_auto_exec(0); | |
| 348 | + if( g.db!=0 && sqlite3_total_changes(g.db)>0 ){ | |
| 349 | + backoffice_run(); | |
| 350 | 350 | } |
| 351 | 351 | } |
| 352 | 352 | |
| 353 | 353 | /* |
| 354 | 354 | ** Do a redirect request to the URL given in the argument. |
| 355 | 355 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -343,12 +343,12 @@ | |
| 343 | CGIDEBUG(("DONE\n")); |
| 344 | |
| 345 | /* After the webpage has been sent, do any useful background |
| 346 | ** processing. |
| 347 | */ |
| 348 | if( iReplyStatus==200 && fossil_strcmp(zContentType,"text/html")==0 ){ |
| 349 | email_auto_exec(0); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | /* |
| 354 | ** Do a redirect request to the URL given in the argument. |
| 355 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -343,12 +343,12 @@ | |
| 343 | CGIDEBUG(("DONE\n")); |
| 344 | |
| 345 | /* After the webpage has been sent, do any useful background |
| 346 | ** processing. |
| 347 | */ |
| 348 | if( g.db!=0 && sqlite3_total_changes(g.db)>0 ){ |
| 349 | backoffice_run(); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | /* |
| 354 | ** Do a redirect request to the URL given in the argument. |
| 355 |
+3
-15
| --- src/email.c | ||
| +++ src/email.c | ||
| @@ -2104,30 +2104,18 @@ | ||
| 2104 | 2104 | ** this flag is zero, but the test-set-alert command sets it to |
| 2105 | 2105 | ** SENDALERT_TRACE. |
| 2106 | 2106 | */ |
| 2107 | 2107 | void email_auto_exec(u32 mFlags){ |
| 2108 | 2108 | int iJulianDay; |
| 2109 | - if( g.db==0 ) return; | |
| 2110 | - if( db_transaction_nesting_depth()!=0 ){ | |
| 2111 | - fossil_warning("Called email_auto_exec() from within transaction " | |
| 2112 | - "started at %z", db_transaction_start_point()); | |
| 2113 | - return; | |
| 2114 | - } | |
| 2115 | 2109 | if( !email_tables_exist() ) return; |
| 2116 | 2110 | if( !db_get_boolean("email-autoexec",0) ) return; |
| 2117 | - db_begin_write(); | |
| 2118 | 2111 | email_send_alerts(mFlags); |
| 2119 | 2112 | iJulianDay = db_int(0, "SELECT julianday('now')"); |
| 2120 | 2113 | if( iJulianDay>db_get_int("email-last-digest",0) ){ |
| 2121 | - if( db_transaction_nesting_depth()!=1 ){ | |
| 2122 | - fossil_warning("Transaction nesting error prior to digest processing"); | |
| 2123 | - }else{ | |
| 2124 | - db_set_int("email-last-digest",iJulianDay,0); | |
| 2125 | - email_send_alerts(SENDALERT_DIGEST|mFlags); | |
| 2126 | - } | |
| 2127 | - } | |
| 2128 | - db_commit_transaction(); | |
| 2114 | + db_set_int("email-last-digest",iJulianDay,0); | |
| 2115 | + email_send_alerts(SENDALERT_DIGEST|mFlags); | |
| 2116 | + } | |
| 2129 | 2117 | } |
| 2130 | 2118 | |
| 2131 | 2119 | /* |
| 2132 | 2120 | ** WEBPAGE: contact_admin |
| 2133 | 2121 | ** |
| 2134 | 2122 |
| --- src/email.c | |
| +++ src/email.c | |
| @@ -2104,30 +2104,18 @@ | |
| 2104 | ** this flag is zero, but the test-set-alert command sets it to |
| 2105 | ** SENDALERT_TRACE. |
| 2106 | */ |
| 2107 | void email_auto_exec(u32 mFlags){ |
| 2108 | int iJulianDay; |
| 2109 | if( g.db==0 ) return; |
| 2110 | if( db_transaction_nesting_depth()!=0 ){ |
| 2111 | fossil_warning("Called email_auto_exec() from within transaction " |
| 2112 | "started at %z", db_transaction_start_point()); |
| 2113 | return; |
| 2114 | } |
| 2115 | if( !email_tables_exist() ) return; |
| 2116 | if( !db_get_boolean("email-autoexec",0) ) return; |
| 2117 | db_begin_write(); |
| 2118 | email_send_alerts(mFlags); |
| 2119 | iJulianDay = db_int(0, "SELECT julianday('now')"); |
| 2120 | if( iJulianDay>db_get_int("email-last-digest",0) ){ |
| 2121 | if( db_transaction_nesting_depth()!=1 ){ |
| 2122 | fossil_warning("Transaction nesting error prior to digest processing"); |
| 2123 | }else{ |
| 2124 | db_set_int("email-last-digest",iJulianDay,0); |
| 2125 | email_send_alerts(SENDALERT_DIGEST|mFlags); |
| 2126 | } |
| 2127 | } |
| 2128 | db_commit_transaction(); |
| 2129 | } |
| 2130 | |
| 2131 | /* |
| 2132 | ** WEBPAGE: contact_admin |
| 2133 | ** |
| 2134 |
| --- src/email.c | |
| +++ src/email.c | |
| @@ -2104,30 +2104,18 @@ | |
| 2104 | ** this flag is zero, but the test-set-alert command sets it to |
| 2105 | ** SENDALERT_TRACE. |
| 2106 | */ |
| 2107 | void email_auto_exec(u32 mFlags){ |
| 2108 | int iJulianDay; |
| 2109 | if( !email_tables_exist() ) return; |
| 2110 | if( !db_get_boolean("email-autoexec",0) ) return; |
| 2111 | email_send_alerts(mFlags); |
| 2112 | iJulianDay = db_int(0, "SELECT julianday('now')"); |
| 2113 | if( iJulianDay>db_get_int("email-last-digest",0) ){ |
| 2114 | db_set_int("email-last-digest",iJulianDay,0); |
| 2115 | email_send_alerts(SENDALERT_DIGEST|mFlags); |
| 2116 | } |
| 2117 | } |
| 2118 | |
| 2119 | /* |
| 2120 | ** WEBPAGE: contact_admin |
| 2121 | ** |
| 2122 |
+12
| --- src/main.mk | ||
| +++ src/main.mk | ||
| @@ -16,10 +16,11 @@ | ||
| 16 | 16 | |
| 17 | 17 | SRC = \ |
| 18 | 18 | $(SRCDIR)/add.c \ |
| 19 | 19 | $(SRCDIR)/allrepo.c \ |
| 20 | 20 | $(SRCDIR)/attach.c \ |
| 21 | + $(SRCDIR)/backoffice.c \ | |
| 21 | 22 | $(SRCDIR)/bag.c \ |
| 22 | 23 | $(SRCDIR)/bisect.c \ |
| 23 | 24 | $(SRCDIR)/blob.c \ |
| 24 | 25 | $(SRCDIR)/branch.c \ |
| 25 | 26 | $(SRCDIR)/browse.c \ |
| @@ -221,10 +222,11 @@ | ||
| 221 | 222 | |
| 222 | 223 | TRANS_SRC = \ |
| 223 | 224 | $(OBJDIR)/add_.c \ |
| 224 | 225 | $(OBJDIR)/allrepo_.c \ |
| 225 | 226 | $(OBJDIR)/attach_.c \ |
| 227 | + $(OBJDIR)/backoffice_.c \ | |
| 226 | 228 | $(OBJDIR)/bag_.c \ |
| 227 | 229 | $(OBJDIR)/bisect_.c \ |
| 228 | 230 | $(OBJDIR)/blob_.c \ |
| 229 | 231 | $(OBJDIR)/branch_.c \ |
| 230 | 232 | $(OBJDIR)/browse_.c \ |
| @@ -355,10 +357,11 @@ | ||
| 355 | 357 | |
| 356 | 358 | OBJ = \ |
| 357 | 359 | $(OBJDIR)/add.o \ |
| 358 | 360 | $(OBJDIR)/allrepo.o \ |
| 359 | 361 | $(OBJDIR)/attach.o \ |
| 362 | + $(OBJDIR)/backoffice.o \ | |
| 360 | 363 | $(OBJDIR)/bag.o \ |
| 361 | 364 | $(OBJDIR)/bisect.o \ |
| 362 | 365 | $(OBJDIR)/blob.o \ |
| 363 | 366 | $(OBJDIR)/branch.o \ |
| 364 | 367 | $(OBJDIR)/browse.o \ |
| @@ -687,10 +690,11 @@ | ||
| 687 | 690 | |
| 688 | 691 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/builtin_data.h $(OBJDIR)/default_css.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 689 | 692 | $(OBJDIR)/makeheaders $(OBJDIR)/add_.c:$(OBJDIR)/add.h \ |
| 690 | 693 | $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h \ |
| 691 | 694 | $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h \ |
| 695 | + $(OBJDIR)/backoffice_.c:$(OBJDIR)/backoffice.h \ | |
| 692 | 696 | $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h \ |
| 693 | 697 | $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h \ |
| 694 | 698 | $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h \ |
| 695 | 699 | $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h \ |
| 696 | 700 | $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h \ |
| @@ -846,10 +850,18 @@ | ||
| 846 | 850 | |
| 847 | 851 | $(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h |
| 848 | 852 | $(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c |
| 849 | 853 | |
| 850 | 854 | $(OBJDIR)/attach.h: $(OBJDIR)/headers |
| 855 | + | |
| 856 | +$(OBJDIR)/backoffice_.c: $(SRCDIR)/backoffice.c $(OBJDIR)/translate | |
| 857 | + $(OBJDIR)/translate $(SRCDIR)/backoffice.c >$@ | |
| 858 | + | |
| 859 | +$(OBJDIR)/backoffice.o: $(OBJDIR)/backoffice_.c $(OBJDIR)/backoffice.h $(SRCDIR)/config.h | |
| 860 | + $(XTCC) -o $(OBJDIR)/backoffice.o -c $(OBJDIR)/backoffice_.c | |
| 861 | + | |
| 862 | +$(OBJDIR)/backoffice.h: $(OBJDIR)/headers | |
| 851 | 863 | |
| 852 | 864 | $(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(OBJDIR)/translate |
| 853 | 865 | $(OBJDIR)/translate $(SRCDIR)/bag.c >$@ |
| 854 | 866 | |
| 855 | 867 | $(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h |
| 856 | 868 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -16,10 +16,11 @@ | |
| 16 | |
| 17 | SRC = \ |
| 18 | $(SRCDIR)/add.c \ |
| 19 | $(SRCDIR)/allrepo.c \ |
| 20 | $(SRCDIR)/attach.c \ |
| 21 | $(SRCDIR)/bag.c \ |
| 22 | $(SRCDIR)/bisect.c \ |
| 23 | $(SRCDIR)/blob.c \ |
| 24 | $(SRCDIR)/branch.c \ |
| 25 | $(SRCDIR)/browse.c \ |
| @@ -221,10 +222,11 @@ | |
| 221 | |
| 222 | TRANS_SRC = \ |
| 223 | $(OBJDIR)/add_.c \ |
| 224 | $(OBJDIR)/allrepo_.c \ |
| 225 | $(OBJDIR)/attach_.c \ |
| 226 | $(OBJDIR)/bag_.c \ |
| 227 | $(OBJDIR)/bisect_.c \ |
| 228 | $(OBJDIR)/blob_.c \ |
| 229 | $(OBJDIR)/branch_.c \ |
| 230 | $(OBJDIR)/browse_.c \ |
| @@ -355,10 +357,11 @@ | |
| 355 | |
| 356 | OBJ = \ |
| 357 | $(OBJDIR)/add.o \ |
| 358 | $(OBJDIR)/allrepo.o \ |
| 359 | $(OBJDIR)/attach.o \ |
| 360 | $(OBJDIR)/bag.o \ |
| 361 | $(OBJDIR)/bisect.o \ |
| 362 | $(OBJDIR)/blob.o \ |
| 363 | $(OBJDIR)/branch.o \ |
| 364 | $(OBJDIR)/browse.o \ |
| @@ -687,10 +690,11 @@ | |
| 687 | |
| 688 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/builtin_data.h $(OBJDIR)/default_css.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 689 | $(OBJDIR)/makeheaders $(OBJDIR)/add_.c:$(OBJDIR)/add.h \ |
| 690 | $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h \ |
| 691 | $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h \ |
| 692 | $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h \ |
| 693 | $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h \ |
| 694 | $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h \ |
| 695 | $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h \ |
| 696 | $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h \ |
| @@ -846,10 +850,18 @@ | |
| 846 | |
| 847 | $(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h |
| 848 | $(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c |
| 849 | |
| 850 | $(OBJDIR)/attach.h: $(OBJDIR)/headers |
| 851 | |
| 852 | $(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(OBJDIR)/translate |
| 853 | $(OBJDIR)/translate $(SRCDIR)/bag.c >$@ |
| 854 | |
| 855 | $(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h |
| 856 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -16,10 +16,11 @@ | |
| 16 | |
| 17 | SRC = \ |
| 18 | $(SRCDIR)/add.c \ |
| 19 | $(SRCDIR)/allrepo.c \ |
| 20 | $(SRCDIR)/attach.c \ |
| 21 | $(SRCDIR)/backoffice.c \ |
| 22 | $(SRCDIR)/bag.c \ |
| 23 | $(SRCDIR)/bisect.c \ |
| 24 | $(SRCDIR)/blob.c \ |
| 25 | $(SRCDIR)/branch.c \ |
| 26 | $(SRCDIR)/browse.c \ |
| @@ -221,10 +222,11 @@ | |
| 222 | |
| 223 | TRANS_SRC = \ |
| 224 | $(OBJDIR)/add_.c \ |
| 225 | $(OBJDIR)/allrepo_.c \ |
| 226 | $(OBJDIR)/attach_.c \ |
| 227 | $(OBJDIR)/backoffice_.c \ |
| 228 | $(OBJDIR)/bag_.c \ |
| 229 | $(OBJDIR)/bisect_.c \ |
| 230 | $(OBJDIR)/blob_.c \ |
| 231 | $(OBJDIR)/branch_.c \ |
| 232 | $(OBJDIR)/browse_.c \ |
| @@ -355,10 +357,11 @@ | |
| 357 | |
| 358 | OBJ = \ |
| 359 | $(OBJDIR)/add.o \ |
| 360 | $(OBJDIR)/allrepo.o \ |
| 361 | $(OBJDIR)/attach.o \ |
| 362 | $(OBJDIR)/backoffice.o \ |
| 363 | $(OBJDIR)/bag.o \ |
| 364 | $(OBJDIR)/bisect.o \ |
| 365 | $(OBJDIR)/blob.o \ |
| 366 | $(OBJDIR)/branch.o \ |
| 367 | $(OBJDIR)/browse.o \ |
| @@ -687,10 +690,11 @@ | |
| 690 | |
| 691 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/builtin_data.h $(OBJDIR)/default_css.h $(OBJDIR)/makeheaders $(OBJDIR)/VERSION.h |
| 692 | $(OBJDIR)/makeheaders $(OBJDIR)/add_.c:$(OBJDIR)/add.h \ |
| 693 | $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h \ |
| 694 | $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h \ |
| 695 | $(OBJDIR)/backoffice_.c:$(OBJDIR)/backoffice.h \ |
| 696 | $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h \ |
| 697 | $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h \ |
| 698 | $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h \ |
| 699 | $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h \ |
| 700 | $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h \ |
| @@ -846,10 +850,18 @@ | |
| 850 | |
| 851 | $(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h |
| 852 | $(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c |
| 853 | |
| 854 | $(OBJDIR)/attach.h: $(OBJDIR)/headers |
| 855 | |
| 856 | $(OBJDIR)/backoffice_.c: $(SRCDIR)/backoffice.c $(OBJDIR)/translate |
| 857 | $(OBJDIR)/translate $(SRCDIR)/backoffice.c >$@ |
| 858 | |
| 859 | $(OBJDIR)/backoffice.o: $(OBJDIR)/backoffice_.c $(OBJDIR)/backoffice.h $(SRCDIR)/config.h |
| 860 | $(XTCC) -o $(OBJDIR)/backoffice.o -c $(OBJDIR)/backoffice_.c |
| 861 | |
| 862 | $(OBJDIR)/backoffice.h: $(OBJDIR)/headers |
| 863 | |
| 864 | $(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(OBJDIR)/translate |
| 865 | $(OBJDIR)/translate $(SRCDIR)/bag.c >$@ |
| 866 | |
| 867 | $(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h |
| 868 |
+1
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -28,10 +28,11 @@ | ||
| 28 | 28 | # |
| 29 | 29 | set src { |
| 30 | 30 | add |
| 31 | 31 | allrepo |
| 32 | 32 | attach |
| 33 | + backoffice | |
| 33 | 34 | bag |
| 34 | 35 | bisect |
| 35 | 36 | blob |
| 36 | 37 | branch |
| 37 | 38 | browse |
| 38 | 39 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -28,10 +28,11 @@ | |
| 28 | # |
| 29 | set src { |
| 30 | add |
| 31 | allrepo |
| 32 | attach |
| 33 | bag |
| 34 | bisect |
| 35 | blob |
| 36 | branch |
| 37 | browse |
| 38 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -28,10 +28,11 @@ | |
| 28 | # |
| 29 | set src { |
| 30 | add |
| 31 | allrepo |
| 32 | attach |
| 33 | backoffice |
| 34 | bag |
| 35 | bisect |
| 36 | blob |
| 37 | branch |
| 38 | browse |
| 39 |
+10
-4
| --- win/Makefile.dmc | ||
| +++ win/Makefile.dmc | ||
| @@ -28,13 +28,13 @@ | ||
| 28 | 28 | |
| 29 | 29 | SQLITE_OPTIONS = -DNDEBUG=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_GET_TABLE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_USE_ALLOCA -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_HAVE_ZLIB -DSQLITE_INTROSPECTION_PRAGMAS -DSQLITE_ENABLE_DBPAGE_VTAB |
| 30 | 30 | |
| 31 | 31 | SHELL_OPTIONS = -DNDEBUG=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_GET_TABLE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_USE_ALLOCA -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_HAVE_ZLIB -DSQLITE_INTROSPECTION_PRAGMAS -DSQLITE_ENABLE_DBPAGE_VTAB -Dmain=sqlite3_shell -DSQLITE_SHELL_IS_UTF8=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_SYSTEM_SQLITE=$(USE_SYSTEM_SQLITE) -DSQLITE_SHELL_DBNAME_PROC=sqlcmd_get_dbname -DSQLITE_SHELL_INIT_PROC=sqlcmd_init_proc -Daccess=file_access -Dsystem=fossil_system -Dgetenv=fossil_getenv -Dfopen=fossil_fopen |
| 32 | 32 | |
| 33 | -SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c builtin_.c bundle_.c cache_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c cookies_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c dispatch_.c doc_.c email_.c encode_.c etag_.c event_.c export_.c file_.c finfo_.c foci_.c forum_.c fshell_.c fusefs_.c glob_.c graph_.c gzip_.c hname_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c loadctrl_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c piechart_.c pivot_.c popen_.c pqueue_.c printf_.c publish_.c purge_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c security_audit_.c setup_.c sha1_.c sha1hard_.c sha3_.c shun_.c sitemap_.c skins_.c smtp_.c sqlcmd_.c stash_.c stat_.c statrep_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c unversioned_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c webmail_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c | |
| 33 | +SRC = add_.c allrepo_.c attach_.c backoffice_.c bag_.c bisect_.c blob_.c branch_.c browse_.c builtin_.c bundle_.c cache_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c cookies_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c dispatch_.c doc_.c email_.c encode_.c etag_.c event_.c export_.c file_.c finfo_.c foci_.c forum_.c fshell_.c fusefs_.c glob_.c graph_.c gzip_.c hname_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c loadctrl_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c piechart_.c pivot_.c popen_.c pqueue_.c printf_.c publish_.c purge_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c security_audit_.c setup_.c sha1_.c sha1hard_.c sha3_.c shun_.c sitemap_.c skins_.c smtp_.c sqlcmd_.c stash_.c stat_.c statrep_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c unversioned_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c webmail_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c | |
| 34 | 34 | |
| 35 | -OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\builtin$O $(OBJDIR)\bundle$O $(OBJDIR)\cache$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\cookies$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\dispatch$O $(OBJDIR)\doc$O $(OBJDIR)\email$O $(OBJDIR)\encode$O $(OBJDIR)\etag$O $(OBJDIR)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\foci$O $(OBJDIR)\forum$O $(OBJDIR)\fshell$O $(OBJDIR)\fusefs$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\hname$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_dir$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_status$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\loadctrl$O $(OBJDIR)\login$O $(OBJDIR)\lookslike$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\markdown$O $(OBJDIR)\markdown_html$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\moderate$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\piechart$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\publish$O $(OBJDIR)\purge$O $(OBJDIR)\rebuild$O $(OBJDIR)\regexp$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\security_audit$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\sha1hard$O $(OBJDIR)\sha3$O $(OBJDIR)\shun$O $(OBJDIR)\sitemap$O $(OBJDIR)\skins$O $(OBJDIR)\smtp$O $(OBJDIR)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\statrep$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\unicode$O $(OBJDIR)\unversioned$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\utf8$O $(OBJDIR)\util$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\webmail$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winfile$O $(OBJDIR)\winhttp$O $(OBJDIR)\wysiwyg$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O | |
| 35 | +OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\backoffice$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\builtin$O $(OBJDIR)\bundle$O $(OBJDIR)\cache$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\cookies$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\dispatch$O $(OBJDIR)\doc$O $(OBJDIR)\email$O $(OBJDIR)\encode$O $(OBJDIR)\etag$O $(OBJDIR)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\foci$O $(OBJDIR)\forum$O $(OBJDIR)\fshell$O $(OBJDIR)\fusefs$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\hname$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_dir$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_status$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\loadctrl$O $(OBJDIR)\login$O $(OBJDIR)\lookslike$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\markdown$O $(OBJDIR)\markdown_html$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\moderate$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\piechart$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\publish$O $(OBJDIR)\purge$O $(OBJDIR)\rebuild$O $(OBJDIR)\regexp$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\security_audit$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\sha1hard$O $(OBJDIR)\sha3$O $(OBJDIR)\shun$O $(OBJDIR)\sitemap$O $(OBJDIR)\skins$O $(OBJDIR)\smtp$O $(OBJDIR)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\statrep$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\unicode$O $(OBJDIR)\unversioned$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\utf8$O $(OBJDIR)\util$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\webmail$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winfile$O $(OBJDIR)\winhttp$O $(OBJDIR)\wysiwyg$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O | |
| 36 | 36 | |
| 37 | 37 | |
| 38 | 38 | RC=$(DMDIR)\bin\rcc |
| 39 | 39 | RCFLAGS=-32 -w1 -I$(SRCDIR) /D__DMC__ |
| 40 | 40 | |
| @@ -49,11 +49,11 @@ | ||
| 49 | 49 | |
| 50 | 50 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 51 | 51 | $(RC) $(RCFLAGS) -o$@ $** |
| 52 | 52 | |
| 53 | 53 | $(OBJDIR)\link: $B\win\Makefile.dmc $(OBJDIR)\fossil.res |
| 54 | - +echo add allrepo attach bag bisect blob branch browse builtin bundle cache captcha cgi checkin checkout clearsign clone comformat configure content cookies db delta deltacmd descendants diff diffcmd dispatch doc email encode etag event export file finfo foci forum fshell fusefs glob graph gzip hname http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_dir json_finfo json_login json_query json_report json_status json_tag json_timeline json_user json_wiki leaf loadctrl login lookslike main manifest markdown markdown_html md5 merge merge3 moderate name path piechart pivot popen pqueue printf publish purge rebuild regexp report rss schema search security_audit setup sha1 sha1hard sha3 shun sitemap skins smtp sqlcmd stash stat statrep style sync tag tar th_main timeline tkt tktsetup undo unicode unversioned update url user utf8 util verify vfile webmail wiki wikiformat winfile winhttp wysiwyg xfer xfersetup zip shell sqlite3 th th_lang > $@ | |
| 54 | + +echo add allrepo attach backoffice bag bisect blob branch browse builtin bundle cache captcha cgi checkin checkout clearsign clone comformat configure content cookies db delta deltacmd descendants diff diffcmd dispatch doc email encode etag event export file finfo foci forum fshell fusefs glob graph gzip hname http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_dir json_finfo json_login json_query json_report json_status json_tag json_timeline json_user json_wiki leaf loadctrl login lookslike main manifest markdown markdown_html md5 merge merge3 moderate name path piechart pivot popen pqueue printf publish purge rebuild regexp report rss schema search security_audit setup sha1 sha1hard sha3 shun sitemap skins smtp sqlcmd stash stat statrep style sync tag tar th_main timeline tkt tktsetup undo unicode unversioned update url user utf8 util verify vfile webmail wiki wikiformat winfile winhttp wysiwyg xfer xfersetup zip shell sqlite3 th th_lang > $@ | |
| 55 | 55 | +echo fossil >> $@ |
| 56 | 56 | +echo fossil >> $@ |
| 57 | 57 | +echo $(LIBS) >> $@ |
| 58 | 58 | +echo. >> $@ |
| 59 | 59 | +echo fossil >> $@ |
| @@ -146,10 +146,16 @@ | ||
| 146 | 146 | $(OBJDIR)\attach$O : attach_.c attach.h |
| 147 | 147 | $(TCC) -o$@ -c attach_.c |
| 148 | 148 | |
| 149 | 149 | attach_.c : $(SRCDIR)\attach.c |
| 150 | 150 | +translate$E $** > $@ |
| 151 | + | |
| 152 | +$(OBJDIR)\backoffice$O : backoffice_.c backoffice.h | |
| 153 | + $(TCC) -o$@ -c backoffice_.c | |
| 154 | + | |
| 155 | +backoffice_.c : $(SRCDIR)\backoffice.c | |
| 156 | + +translate$E $** > $@ | |
| 151 | 157 | |
| 152 | 158 | $(OBJDIR)\bag$O : bag_.c bag.h |
| 153 | 159 | $(TCC) -o$@ -c bag_.c |
| 154 | 160 | |
| 155 | 161 | bag_.c : $(SRCDIR)\bag.c |
| @@ -922,7 +928,7 @@ | ||
| 922 | 928 | |
| 923 | 929 | zip_.c : $(SRCDIR)\zip.c |
| 924 | 930 | +translate$E $** > $@ |
| 925 | 931 | |
| 926 | 932 | headers: makeheaders$E page_index.h builtin_data.h default_css.h VERSION.h |
| 927 | - +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h builtin_.c:builtin.h bundle_.c:bundle.h cache_.c:cache.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h cookies_.c:cookies.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h dispatch_.c:dispatch.h doc_.c:doc.h email_.c:email.h encode_.c:encode.h etag_.c:etag.h event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h foci_.c:foci.h forum_.c:forum.h fshell_.c:fshell.h fusefs_.c:fusefs.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h hname_.c:hname.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_status_.c:json_status.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.h loadctrl_.c:loadctrl.h login_.c:login.h lookslike_.c:lookslike.h main_.c:main.h manifest_.c:manifest.h markdown_.c:markdown.h markdown_html_.c:markdown_html.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h moderate_.c:moderate.h name_.c:name.h path_.c:path.h piechart_.c:piechart.h pivot_.c:pivot.h popen_.c:popen.h pqueue_.c:pqueue.h printf_.c:printf.h publish_.c:publish.h purge_.c:purge.h rebuild_.c:rebuild.h regexp_.c:regexp.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h security_audit_.c:security_audit.h setup_.c:setup.h sha1_.c:sha1.h sha1hard_.c:sha1hard.h sha3_.c:sha3.h shun_.c:shun.h sitemap_.c:sitemap.h skins_.c:skins.h smtp_.c:smtp.h sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h statrep_.c:statrep.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h unicode_.c:unicode.h unversioned_.c:unversioned.h update_.c:update.h url_.c:url.h user_.c:user.h utf8_.c:utf8.h util_.c:util.h verify_.c:verify.h vfile_.c:vfile.h webmail_.c:webmail.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winfile_.c:winfile.h winhttp_.c:winhttp.h wysiwyg_.c:wysiwyg.h xfer_.c:xfer.h xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h | |
| 933 | + +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h backoffice_.c:backoffice.h bag_.c:bag.h bisect_.c:bisect.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h builtin_.c:builtin.h bundle_.c:bundle.h cache_.c:cache.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h cookies_.c:cookies.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h dispatch_.c:dispatch.h doc_.c:doc.h email_.c:email.h encode_.c:encode.h etag_.c:etag.h event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h foci_.c:foci.h forum_.c:forum.h fshell_.c:fshell.h fusefs_.c:fusefs.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h hname_.c:hname.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_status_.c:json_status.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.h loadctrl_.c:loadctrl.h login_.c:login.h lookslike_.c:lookslike.h main_.c:main.h manifest_.c:manifest.h markdown_.c:markdown.h markdown_html_.c:markdown_html.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h moderate_.c:moderate.h name_.c:name.h path_.c:path.h piechart_.c:piechart.h pivot_.c:pivot.h popen_.c:popen.h pqueue_.c:pqueue.h printf_.c:printf.h publish_.c:publish.h purge_.c:purge.h rebuild_.c:rebuild.h regexp_.c:regexp.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h security_audit_.c:security_audit.h setup_.c:setup.h sha1_.c:sha1.h sha1hard_.c:sha1hard.h sha3_.c:sha3.h shun_.c:shun.h sitemap_.c:sitemap.h skins_.c:skins.h smtp_.c:smtp.h sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h statrep_.c:statrep.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h unicode_.c:unicode.h unversioned_.c:unversioned.h update_.c:update.h url_.c:url.h user_.c:user.h utf8_.c:utf8.h util_.c:util.h verify_.c:verify.h vfile_.c:vfile.h webmail_.c:webmail.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winfile_.c:winfile.h winhttp_.c:winhttp.h wysiwyg_.c:wysiwyg.h xfer_.c:xfer.h xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h | |
| 928 | 934 | @copy /Y nul: headers |
| 929 | 935 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -28,13 +28,13 @@ | |
| 28 | |
| 29 | SQLITE_OPTIONS = -DNDEBUG=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_GET_TABLE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_USE_ALLOCA -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_HAVE_ZLIB -DSQLITE_INTROSPECTION_PRAGMAS -DSQLITE_ENABLE_DBPAGE_VTAB |
| 30 | |
| 31 | SHELL_OPTIONS = -DNDEBUG=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_GET_TABLE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_USE_ALLOCA -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_HAVE_ZLIB -DSQLITE_INTROSPECTION_PRAGMAS -DSQLITE_ENABLE_DBPAGE_VTAB -Dmain=sqlite3_shell -DSQLITE_SHELL_IS_UTF8=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_SYSTEM_SQLITE=$(USE_SYSTEM_SQLITE) -DSQLITE_SHELL_DBNAME_PROC=sqlcmd_get_dbname -DSQLITE_SHELL_INIT_PROC=sqlcmd_init_proc -Daccess=file_access -Dsystem=fossil_system -Dgetenv=fossil_getenv -Dfopen=fossil_fopen |
| 32 | |
| 33 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c builtin_.c bundle_.c cache_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c cookies_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c dispatch_.c doc_.c email_.c encode_.c etag_.c event_.c export_.c file_.c finfo_.c foci_.c forum_.c fshell_.c fusefs_.c glob_.c graph_.c gzip_.c hname_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c loadctrl_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c piechart_.c pivot_.c popen_.c pqueue_.c printf_.c publish_.c purge_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c security_audit_.c setup_.c sha1_.c sha1hard_.c sha3_.c shun_.c sitemap_.c skins_.c smtp_.c sqlcmd_.c stash_.c stat_.c statrep_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c unversioned_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c webmail_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c |
| 34 | |
| 35 | OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\builtin$O $(OBJDIR)\bundle$O $(OBJDIR)\cache$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\cookies$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\dispatch$O $(OBJDIR)\doc$O $(OBJDIR)\email$O $(OBJDIR)\encode$O $(OBJDIR)\etag$O $(OBJDIR)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\foci$O $(OBJDIR)\forum$O $(OBJDIR)\fshell$O $(OBJDIR)\fusefs$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\hname$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_dir$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_status$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\loadctrl$O $(OBJDIR)\login$O $(OBJDIR)\lookslike$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\markdown$O $(OBJDIR)\markdown_html$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\moderate$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\piechart$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\publish$O $(OBJDIR)\purge$O $(OBJDIR)\rebuild$O $(OBJDIR)\regexp$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\security_audit$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\sha1hard$O $(OBJDIR)\sha3$O $(OBJDIR)\shun$O $(OBJDIR)\sitemap$O $(OBJDIR)\skins$O $(OBJDIR)\smtp$O $(OBJDIR)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\statrep$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\unicode$O $(OBJDIR)\unversioned$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\utf8$O $(OBJDIR)\util$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\webmail$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winfile$O $(OBJDIR)\winhttp$O $(OBJDIR)\wysiwyg$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O |
| 36 | |
| 37 | |
| 38 | RC=$(DMDIR)\bin\rcc |
| 39 | RCFLAGS=-32 -w1 -I$(SRCDIR) /D__DMC__ |
| 40 | |
| @@ -49,11 +49,11 @@ | |
| 49 | |
| 50 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 51 | $(RC) $(RCFLAGS) -o$@ $** |
| 52 | |
| 53 | $(OBJDIR)\link: $B\win\Makefile.dmc $(OBJDIR)\fossil.res |
| 54 | +echo add allrepo attach bag bisect blob branch browse builtin bundle cache captcha cgi checkin checkout clearsign clone comformat configure content cookies db delta deltacmd descendants diff diffcmd dispatch doc email encode etag event export file finfo foci forum fshell fusefs glob graph gzip hname http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_dir json_finfo json_login json_query json_report json_status json_tag json_timeline json_user json_wiki leaf loadctrl login lookslike main manifest markdown markdown_html md5 merge merge3 moderate name path piechart pivot popen pqueue printf publish purge rebuild regexp report rss schema search security_audit setup sha1 sha1hard sha3 shun sitemap skins smtp sqlcmd stash stat statrep style sync tag tar th_main timeline tkt tktsetup undo unicode unversioned update url user utf8 util verify vfile webmail wiki wikiformat winfile winhttp wysiwyg xfer xfersetup zip shell sqlite3 th th_lang > $@ |
| 55 | +echo fossil >> $@ |
| 56 | +echo fossil >> $@ |
| 57 | +echo $(LIBS) >> $@ |
| 58 | +echo. >> $@ |
| 59 | +echo fossil >> $@ |
| @@ -146,10 +146,16 @@ | |
| 146 | $(OBJDIR)\attach$O : attach_.c attach.h |
| 147 | $(TCC) -o$@ -c attach_.c |
| 148 | |
| 149 | attach_.c : $(SRCDIR)\attach.c |
| 150 | +translate$E $** > $@ |
| 151 | |
| 152 | $(OBJDIR)\bag$O : bag_.c bag.h |
| 153 | $(TCC) -o$@ -c bag_.c |
| 154 | |
| 155 | bag_.c : $(SRCDIR)\bag.c |
| @@ -922,7 +928,7 @@ | |
| 922 | |
| 923 | zip_.c : $(SRCDIR)\zip.c |
| 924 | +translate$E $** > $@ |
| 925 | |
| 926 | headers: makeheaders$E page_index.h builtin_data.h default_css.h VERSION.h |
| 927 | +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h bisect_.c:bisect.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h builtin_.c:builtin.h bundle_.c:bundle.h cache_.c:cache.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h cookies_.c:cookies.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h dispatch_.c:dispatch.h doc_.c:doc.h email_.c:email.h encode_.c:encode.h etag_.c:etag.h event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h foci_.c:foci.h forum_.c:forum.h fshell_.c:fshell.h fusefs_.c:fusefs.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h hname_.c:hname.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_status_.c:json_status.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.h loadctrl_.c:loadctrl.h login_.c:login.h lookslike_.c:lookslike.h main_.c:main.h manifest_.c:manifest.h markdown_.c:markdown.h markdown_html_.c:markdown_html.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h moderate_.c:moderate.h name_.c:name.h path_.c:path.h piechart_.c:piechart.h pivot_.c:pivot.h popen_.c:popen.h pqueue_.c:pqueue.h printf_.c:printf.h publish_.c:publish.h purge_.c:purge.h rebuild_.c:rebuild.h regexp_.c:regexp.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h security_audit_.c:security_audit.h setup_.c:setup.h sha1_.c:sha1.h sha1hard_.c:sha1hard.h sha3_.c:sha3.h shun_.c:shun.h sitemap_.c:sitemap.h skins_.c:skins.h smtp_.c:smtp.h sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h statrep_.c:statrep.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h unicode_.c:unicode.h unversioned_.c:unversioned.h update_.c:update.h url_.c:url.h user_.c:user.h utf8_.c:utf8.h util_.c:util.h verify_.c:verify.h vfile_.c:vfile.h webmail_.c:webmail.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winfile_.c:winfile.h winhttp_.c:winhttp.h wysiwyg_.c:wysiwyg.h xfer_.c:xfer.h xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h |
| 928 | @copy /Y nul: headers |
| 929 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -28,13 +28,13 @@ | |
| 28 | |
| 29 | SQLITE_OPTIONS = -DNDEBUG=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_GET_TABLE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_USE_ALLOCA -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_HAVE_ZLIB -DSQLITE_INTROSPECTION_PRAGMAS -DSQLITE_ENABLE_DBPAGE_VTAB |
| 30 | |
| 31 | SHELL_OPTIONS = -DNDEBUG=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_GET_TABLE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_USE_ALLOCA -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_HAVE_ZLIB -DSQLITE_INTROSPECTION_PRAGMAS -DSQLITE_ENABLE_DBPAGE_VTAB -Dmain=sqlite3_shell -DSQLITE_SHELL_IS_UTF8=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_SYSTEM_SQLITE=$(USE_SYSTEM_SQLITE) -DSQLITE_SHELL_DBNAME_PROC=sqlcmd_get_dbname -DSQLITE_SHELL_INIT_PROC=sqlcmd_init_proc -Daccess=file_access -Dsystem=fossil_system -Dgetenv=fossil_getenv -Dfopen=fossil_fopen |
| 32 | |
| 33 | SRC = add_.c allrepo_.c attach_.c backoffice_.c bag_.c bisect_.c blob_.c branch_.c browse_.c builtin_.c bundle_.c cache_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c cookies_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c dispatch_.c doc_.c email_.c encode_.c etag_.c event_.c export_.c file_.c finfo_.c foci_.c forum_.c fshell_.c fusefs_.c glob_.c graph_.c gzip_.c hname_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c loadctrl_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c piechart_.c pivot_.c popen_.c pqueue_.c printf_.c publish_.c purge_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c security_audit_.c setup_.c sha1_.c sha1hard_.c sha3_.c shun_.c sitemap_.c skins_.c smtp_.c sqlcmd_.c stash_.c stat_.c statrep_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c unversioned_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c webmail_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c |
| 34 | |
| 35 | OBJ = $(OBJDIR)\add$O $(OBJDIR)\allrepo$O $(OBJDIR)\attach$O $(OBJDIR)\backoffice$O $(OBJDIR)\bag$O $(OBJDIR)\bisect$O $(OBJDIR)\blob$O $(OBJDIR)\branch$O $(OBJDIR)\browse$O $(OBJDIR)\builtin$O $(OBJDIR)\bundle$O $(OBJDIR)\cache$O $(OBJDIR)\captcha$O $(OBJDIR)\cgi$O $(OBJDIR)\checkin$O $(OBJDIR)\checkout$O $(OBJDIR)\clearsign$O $(OBJDIR)\clone$O $(OBJDIR)\comformat$O $(OBJDIR)\configure$O $(OBJDIR)\content$O $(OBJDIR)\cookies$O $(OBJDIR)\db$O $(OBJDIR)\delta$O $(OBJDIR)\deltacmd$O $(OBJDIR)\descendants$O $(OBJDIR)\diff$O $(OBJDIR)\diffcmd$O $(OBJDIR)\dispatch$O $(OBJDIR)\doc$O $(OBJDIR)\email$O $(OBJDIR)\encode$O $(OBJDIR)\etag$O $(OBJDIR)\event$O $(OBJDIR)\export$O $(OBJDIR)\file$O $(OBJDIR)\finfo$O $(OBJDIR)\foci$O $(OBJDIR)\forum$O $(OBJDIR)\fshell$O $(OBJDIR)\fusefs$O $(OBJDIR)\glob$O $(OBJDIR)\graph$O $(OBJDIR)\gzip$O $(OBJDIR)\hname$O $(OBJDIR)\http$O $(OBJDIR)\http_socket$O $(OBJDIR)\http_ssl$O $(OBJDIR)\http_transport$O $(OBJDIR)\import$O $(OBJDIR)\info$O $(OBJDIR)\json$O $(OBJDIR)\json_artifact$O $(OBJDIR)\json_branch$O $(OBJDIR)\json_config$O $(OBJDIR)\json_diff$O $(OBJDIR)\json_dir$O $(OBJDIR)\json_finfo$O $(OBJDIR)\json_login$O $(OBJDIR)\json_query$O $(OBJDIR)\json_report$O $(OBJDIR)\json_status$O $(OBJDIR)\json_tag$O $(OBJDIR)\json_timeline$O $(OBJDIR)\json_user$O $(OBJDIR)\json_wiki$O $(OBJDIR)\leaf$O $(OBJDIR)\loadctrl$O $(OBJDIR)\login$O $(OBJDIR)\lookslike$O $(OBJDIR)\main$O $(OBJDIR)\manifest$O $(OBJDIR)\markdown$O $(OBJDIR)\markdown_html$O $(OBJDIR)\md5$O $(OBJDIR)\merge$O $(OBJDIR)\merge3$O $(OBJDIR)\moderate$O $(OBJDIR)\name$O $(OBJDIR)\path$O $(OBJDIR)\piechart$O $(OBJDIR)\pivot$O $(OBJDIR)\popen$O $(OBJDIR)\pqueue$O $(OBJDIR)\printf$O $(OBJDIR)\publish$O $(OBJDIR)\purge$O $(OBJDIR)\rebuild$O $(OBJDIR)\regexp$O $(OBJDIR)\report$O $(OBJDIR)\rss$O $(OBJDIR)\schema$O $(OBJDIR)\search$O $(OBJDIR)\security_audit$O $(OBJDIR)\setup$O $(OBJDIR)\sha1$O $(OBJDIR)\sha1hard$O $(OBJDIR)\sha3$O $(OBJDIR)\shun$O $(OBJDIR)\sitemap$O $(OBJDIR)\skins$O $(OBJDIR)\smtp$O $(OBJDIR)\sqlcmd$O $(OBJDIR)\stash$O $(OBJDIR)\stat$O $(OBJDIR)\statrep$O $(OBJDIR)\style$O $(OBJDIR)\sync$O $(OBJDIR)\tag$O $(OBJDIR)\tar$O $(OBJDIR)\th_main$O $(OBJDIR)\timeline$O $(OBJDIR)\tkt$O $(OBJDIR)\tktsetup$O $(OBJDIR)\undo$O $(OBJDIR)\unicode$O $(OBJDIR)\unversioned$O $(OBJDIR)\update$O $(OBJDIR)\url$O $(OBJDIR)\user$O $(OBJDIR)\utf8$O $(OBJDIR)\util$O $(OBJDIR)\verify$O $(OBJDIR)\vfile$O $(OBJDIR)\webmail$O $(OBJDIR)\wiki$O $(OBJDIR)\wikiformat$O $(OBJDIR)\winfile$O $(OBJDIR)\winhttp$O $(OBJDIR)\wysiwyg$O $(OBJDIR)\xfer$O $(OBJDIR)\xfersetup$O $(OBJDIR)\zip$O $(OBJDIR)\shell$O $(OBJDIR)\sqlite3$O $(OBJDIR)\th$O $(OBJDIR)\th_lang$O |
| 36 | |
| 37 | |
| 38 | RC=$(DMDIR)\bin\rcc |
| 39 | RCFLAGS=-32 -w1 -I$(SRCDIR) /D__DMC__ |
| 40 | |
| @@ -49,11 +49,11 @@ | |
| 49 | |
| 50 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 51 | $(RC) $(RCFLAGS) -o$@ $** |
| 52 | |
| 53 | $(OBJDIR)\link: $B\win\Makefile.dmc $(OBJDIR)\fossil.res |
| 54 | +echo add allrepo attach backoffice bag bisect blob branch browse builtin bundle cache captcha cgi checkin checkout clearsign clone comformat configure content cookies db delta deltacmd descendants diff diffcmd dispatch doc email encode etag event export file finfo foci forum fshell fusefs glob graph gzip hname http http_socket http_ssl http_transport import info json json_artifact json_branch json_config json_diff json_dir json_finfo json_login json_query json_report json_status json_tag json_timeline json_user json_wiki leaf loadctrl login lookslike main manifest markdown markdown_html md5 merge merge3 moderate name path piechart pivot popen pqueue printf publish purge rebuild regexp report rss schema search security_audit setup sha1 sha1hard sha3 shun sitemap skins smtp sqlcmd stash stat statrep style sync tag tar th_main timeline tkt tktsetup undo unicode unversioned update url user utf8 util verify vfile webmail wiki wikiformat winfile winhttp wysiwyg xfer xfersetup zip shell sqlite3 th th_lang > $@ |
| 55 | +echo fossil >> $@ |
| 56 | +echo fossil >> $@ |
| 57 | +echo $(LIBS) >> $@ |
| 58 | +echo. >> $@ |
| 59 | +echo fossil >> $@ |
| @@ -146,10 +146,16 @@ | |
| 146 | $(OBJDIR)\attach$O : attach_.c attach.h |
| 147 | $(TCC) -o$@ -c attach_.c |
| 148 | |
| 149 | attach_.c : $(SRCDIR)\attach.c |
| 150 | +translate$E $** > $@ |
| 151 | |
| 152 | $(OBJDIR)\backoffice$O : backoffice_.c backoffice.h |
| 153 | $(TCC) -o$@ -c backoffice_.c |
| 154 | |
| 155 | backoffice_.c : $(SRCDIR)\backoffice.c |
| 156 | +translate$E $** > $@ |
| 157 | |
| 158 | $(OBJDIR)\bag$O : bag_.c bag.h |
| 159 | $(TCC) -o$@ -c bag_.c |
| 160 | |
| 161 | bag_.c : $(SRCDIR)\bag.c |
| @@ -922,7 +928,7 @@ | |
| 928 | |
| 929 | zip_.c : $(SRCDIR)\zip.c |
| 930 | +translate$E $** > $@ |
| 931 | |
| 932 | headers: makeheaders$E page_index.h builtin_data.h default_css.h VERSION.h |
| 933 | +makeheaders$E add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h backoffice_.c:backoffice.h bag_.c:bag.h bisect_.c:bisect.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h builtin_.c:builtin.h bundle_.c:bundle.h cache_.c:cache.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h cookies_.c:cookies.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h dispatch_.c:dispatch.h doc_.c:doc.h email_.c:email.h encode_.c:encode.h etag_.c:etag.h event_.c:event.h export_.c:export.h file_.c:file.h finfo_.c:finfo.h foci_.c:foci.h forum_.c:forum.h fshell_.c:fshell.h fusefs_.c:fusefs.h glob_.c:glob.h graph_.c:graph.h gzip_.c:gzip.h hname_.c:hname.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h import_.c:import.h info_.c:info.h json_.c:json.h json_artifact_.c:json_artifact.h json_branch_.c:json_branch.h json_config_.c:json_config.h json_diff_.c:json_diff.h json_dir_.c:json_dir.h json_finfo_.c:json_finfo.h json_login_.c:json_login.h json_query_.c:json_query.h json_report_.c:json_report.h json_status_.c:json_status.h json_tag_.c:json_tag.h json_timeline_.c:json_timeline.h json_user_.c:json_user.h json_wiki_.c:json_wiki.h leaf_.c:leaf.h loadctrl_.c:loadctrl.h login_.c:login.h lookslike_.c:lookslike.h main_.c:main.h manifest_.c:manifest.h markdown_.c:markdown.h markdown_html_.c:markdown_html.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h moderate_.c:moderate.h name_.c:name.h path_.c:path.h piechart_.c:piechart.h pivot_.c:pivot.h popen_.c:popen.h pqueue_.c:pqueue.h printf_.c:printf.h publish_.c:publish.h purge_.c:purge.h rebuild_.c:rebuild.h regexp_.c:regexp.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h security_audit_.c:security_audit.h setup_.c:setup.h sha1_.c:sha1.h sha1hard_.c:sha1hard.h sha3_.c:sha3.h shun_.c:shun.h sitemap_.c:sitemap.h skins_.c:skins.h smtp_.c:smtp.h sqlcmd_.c:sqlcmd.h stash_.c:stash.h stat_.c:stat.h statrep_.c:statrep.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tar_.c:tar.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h unicode_.c:unicode.h unversioned_.c:unversioned.h update_.c:update.h url_.c:url.h user_.c:user.h utf8_.c:utf8.h util_.c:util.h verify_.c:verify.h vfile_.c:vfile.h webmail_.c:webmail.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winfile_.c:winfile.h winhttp_.c:winhttp.h wysiwyg_.c:wysiwyg.h xfer_.c:xfer.h xfersetup_.c:xfersetup.h zip_.c:zip.h $(SRCDIR)\sqlite3.h $(SRCDIR)\th.h VERSION.h $(SRCDIR)\cson_amalgamation.h |
| 934 | @copy /Y nul: headers |
| 935 |
+13
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -439,10 +439,11 @@ | ||
| 439 | 439 | |
| 440 | 440 | SRC = \ |
| 441 | 441 | $(SRCDIR)/add.c \ |
| 442 | 442 | $(SRCDIR)/allrepo.c \ |
| 443 | 443 | $(SRCDIR)/attach.c \ |
| 444 | + $(SRCDIR)/backoffice.c \ | |
| 444 | 445 | $(SRCDIR)/bag.c \ |
| 445 | 446 | $(SRCDIR)/bisect.c \ |
| 446 | 447 | $(SRCDIR)/blob.c \ |
| 447 | 448 | $(SRCDIR)/branch.c \ |
| 448 | 449 | $(SRCDIR)/browse.c \ |
| @@ -644,10 +645,11 @@ | ||
| 644 | 645 | |
| 645 | 646 | TRANS_SRC = \ |
| 646 | 647 | $(OBJDIR)/add_.c \ |
| 647 | 648 | $(OBJDIR)/allrepo_.c \ |
| 648 | 649 | $(OBJDIR)/attach_.c \ |
| 650 | + $(OBJDIR)/backoffice_.c \ | |
| 649 | 651 | $(OBJDIR)/bag_.c \ |
| 650 | 652 | $(OBJDIR)/bisect_.c \ |
| 651 | 653 | $(OBJDIR)/blob_.c \ |
| 652 | 654 | $(OBJDIR)/branch_.c \ |
| 653 | 655 | $(OBJDIR)/browse_.c \ |
| @@ -778,10 +780,11 @@ | ||
| 778 | 780 | |
| 779 | 781 | OBJ = \ |
| 780 | 782 | $(OBJDIR)/add.o \ |
| 781 | 783 | $(OBJDIR)/allrepo.o \ |
| 782 | 784 | $(OBJDIR)/attach.o \ |
| 785 | + $(OBJDIR)/backoffice.o \ | |
| 783 | 786 | $(OBJDIR)/bag.o \ |
| 784 | 787 | $(OBJDIR)/bisect.o \ |
| 785 | 788 | $(OBJDIR)/blob.o \ |
| 786 | 789 | $(OBJDIR)/branch.o \ |
| 787 | 790 | $(OBJDIR)/browse.o \ |
| @@ -1131,10 +1134,11 @@ | ||
| 1131 | 1134 | |
| 1132 | 1135 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/builtin_data.h $(OBJDIR)/default_css.h $(MAKEHEADERS) $(OBJDIR)/VERSION.h |
| 1133 | 1136 | $(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h \ |
| 1134 | 1137 | $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h \ |
| 1135 | 1138 | $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h \ |
| 1139 | + $(OBJDIR)/backoffice_.c:$(OBJDIR)/backoffice.h \ | |
| 1136 | 1140 | $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h \ |
| 1137 | 1141 | $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h \ |
| 1138 | 1142 | $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h \ |
| 1139 | 1143 | $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h \ |
| 1140 | 1144 | $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h \ |
| @@ -1292,10 +1296,18 @@ | ||
| 1292 | 1296 | |
| 1293 | 1297 | $(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h |
| 1294 | 1298 | $(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c |
| 1295 | 1299 | |
| 1296 | 1300 | $(OBJDIR)/attach.h: $(OBJDIR)/headers |
| 1301 | + | |
| 1302 | +$(OBJDIR)/backoffice_.c: $(SRCDIR)/backoffice.c $(TRANSLATE) | |
| 1303 | + $(TRANSLATE) $(SRCDIR)/backoffice.c >$@ | |
| 1304 | + | |
| 1305 | +$(OBJDIR)/backoffice.o: $(OBJDIR)/backoffice_.c $(OBJDIR)/backoffice.h $(SRCDIR)/config.h | |
| 1306 | + $(XTCC) -o $(OBJDIR)/backoffice.o -c $(OBJDIR)/backoffice_.c | |
| 1307 | + | |
| 1308 | +$(OBJDIR)/backoffice.h: $(OBJDIR)/headers | |
| 1297 | 1309 | |
| 1298 | 1310 | $(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(TRANSLATE) |
| 1299 | 1311 | $(TRANSLATE) $(SRCDIR)/bag.c >$@ |
| 1300 | 1312 | |
| 1301 | 1313 | $(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h |
| @@ -2420,5 +2432,6 @@ | ||
| 2420 | 2432 | $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c |
| 2421 | 2433 | $(XTCC) -c $(SRCDIR)/th_tcl.c -o $@ |
| 2422 | 2434 | |
| 2423 | 2435 | $(OBJDIR)/miniz.o: $(SRCDIR)/miniz.c |
| 2424 | 2436 | $(XTCC) $(MINIZ_OPTIONS) -c $(SRCDIR)/miniz.c -o $@ |
| 2437 | + | |
| 2425 | 2438 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -439,10 +439,11 @@ | |
| 439 | |
| 440 | SRC = \ |
| 441 | $(SRCDIR)/add.c \ |
| 442 | $(SRCDIR)/allrepo.c \ |
| 443 | $(SRCDIR)/attach.c \ |
| 444 | $(SRCDIR)/bag.c \ |
| 445 | $(SRCDIR)/bisect.c \ |
| 446 | $(SRCDIR)/blob.c \ |
| 447 | $(SRCDIR)/branch.c \ |
| 448 | $(SRCDIR)/browse.c \ |
| @@ -644,10 +645,11 @@ | |
| 644 | |
| 645 | TRANS_SRC = \ |
| 646 | $(OBJDIR)/add_.c \ |
| 647 | $(OBJDIR)/allrepo_.c \ |
| 648 | $(OBJDIR)/attach_.c \ |
| 649 | $(OBJDIR)/bag_.c \ |
| 650 | $(OBJDIR)/bisect_.c \ |
| 651 | $(OBJDIR)/blob_.c \ |
| 652 | $(OBJDIR)/branch_.c \ |
| 653 | $(OBJDIR)/browse_.c \ |
| @@ -778,10 +780,11 @@ | |
| 778 | |
| 779 | OBJ = \ |
| 780 | $(OBJDIR)/add.o \ |
| 781 | $(OBJDIR)/allrepo.o \ |
| 782 | $(OBJDIR)/attach.o \ |
| 783 | $(OBJDIR)/bag.o \ |
| 784 | $(OBJDIR)/bisect.o \ |
| 785 | $(OBJDIR)/blob.o \ |
| 786 | $(OBJDIR)/branch.o \ |
| 787 | $(OBJDIR)/browse.o \ |
| @@ -1131,10 +1134,11 @@ | |
| 1131 | |
| 1132 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/builtin_data.h $(OBJDIR)/default_css.h $(MAKEHEADERS) $(OBJDIR)/VERSION.h |
| 1133 | $(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h \ |
| 1134 | $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h \ |
| 1135 | $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h \ |
| 1136 | $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h \ |
| 1137 | $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h \ |
| 1138 | $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h \ |
| 1139 | $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h \ |
| 1140 | $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h \ |
| @@ -1292,10 +1296,18 @@ | |
| 1292 | |
| 1293 | $(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h |
| 1294 | $(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c |
| 1295 | |
| 1296 | $(OBJDIR)/attach.h: $(OBJDIR)/headers |
| 1297 | |
| 1298 | $(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(TRANSLATE) |
| 1299 | $(TRANSLATE) $(SRCDIR)/bag.c >$@ |
| 1300 | |
| 1301 | $(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h |
| @@ -2420,5 +2432,6 @@ | |
| 2420 | $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c |
| 2421 | $(XTCC) -c $(SRCDIR)/th_tcl.c -o $@ |
| 2422 | |
| 2423 | $(OBJDIR)/miniz.o: $(SRCDIR)/miniz.c |
| 2424 | $(XTCC) $(MINIZ_OPTIONS) -c $(SRCDIR)/miniz.c -o $@ |
| 2425 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -439,10 +439,11 @@ | |
| 439 | |
| 440 | SRC = \ |
| 441 | $(SRCDIR)/add.c \ |
| 442 | $(SRCDIR)/allrepo.c \ |
| 443 | $(SRCDIR)/attach.c \ |
| 444 | $(SRCDIR)/backoffice.c \ |
| 445 | $(SRCDIR)/bag.c \ |
| 446 | $(SRCDIR)/bisect.c \ |
| 447 | $(SRCDIR)/blob.c \ |
| 448 | $(SRCDIR)/branch.c \ |
| 449 | $(SRCDIR)/browse.c \ |
| @@ -644,10 +645,11 @@ | |
| 645 | |
| 646 | TRANS_SRC = \ |
| 647 | $(OBJDIR)/add_.c \ |
| 648 | $(OBJDIR)/allrepo_.c \ |
| 649 | $(OBJDIR)/attach_.c \ |
| 650 | $(OBJDIR)/backoffice_.c \ |
| 651 | $(OBJDIR)/bag_.c \ |
| 652 | $(OBJDIR)/bisect_.c \ |
| 653 | $(OBJDIR)/blob_.c \ |
| 654 | $(OBJDIR)/branch_.c \ |
| 655 | $(OBJDIR)/browse_.c \ |
| @@ -778,10 +780,11 @@ | |
| 780 | |
| 781 | OBJ = \ |
| 782 | $(OBJDIR)/add.o \ |
| 783 | $(OBJDIR)/allrepo.o \ |
| 784 | $(OBJDIR)/attach.o \ |
| 785 | $(OBJDIR)/backoffice.o \ |
| 786 | $(OBJDIR)/bag.o \ |
| 787 | $(OBJDIR)/bisect.o \ |
| 788 | $(OBJDIR)/blob.o \ |
| 789 | $(OBJDIR)/branch.o \ |
| 790 | $(OBJDIR)/browse.o \ |
| @@ -1131,10 +1134,11 @@ | |
| 1134 | |
| 1135 | $(OBJDIR)/headers: $(OBJDIR)/page_index.h $(OBJDIR)/builtin_data.h $(OBJDIR)/default_css.h $(MAKEHEADERS) $(OBJDIR)/VERSION.h |
| 1136 | $(MAKEHEADERS) $(OBJDIR)/add_.c:$(OBJDIR)/add.h \ |
| 1137 | $(OBJDIR)/allrepo_.c:$(OBJDIR)/allrepo.h \ |
| 1138 | $(OBJDIR)/attach_.c:$(OBJDIR)/attach.h \ |
| 1139 | $(OBJDIR)/backoffice_.c:$(OBJDIR)/backoffice.h \ |
| 1140 | $(OBJDIR)/bag_.c:$(OBJDIR)/bag.h \ |
| 1141 | $(OBJDIR)/bisect_.c:$(OBJDIR)/bisect.h \ |
| 1142 | $(OBJDIR)/blob_.c:$(OBJDIR)/blob.h \ |
| 1143 | $(OBJDIR)/branch_.c:$(OBJDIR)/branch.h \ |
| 1144 | $(OBJDIR)/browse_.c:$(OBJDIR)/browse.h \ |
| @@ -1292,10 +1296,18 @@ | |
| 1296 | |
| 1297 | $(OBJDIR)/attach.o: $(OBJDIR)/attach_.c $(OBJDIR)/attach.h $(SRCDIR)/config.h |
| 1298 | $(XTCC) -o $(OBJDIR)/attach.o -c $(OBJDIR)/attach_.c |
| 1299 | |
| 1300 | $(OBJDIR)/attach.h: $(OBJDIR)/headers |
| 1301 | |
| 1302 | $(OBJDIR)/backoffice_.c: $(SRCDIR)/backoffice.c $(TRANSLATE) |
| 1303 | $(TRANSLATE) $(SRCDIR)/backoffice.c >$@ |
| 1304 | |
| 1305 | $(OBJDIR)/backoffice.o: $(OBJDIR)/backoffice_.c $(OBJDIR)/backoffice.h $(SRCDIR)/config.h |
| 1306 | $(XTCC) -o $(OBJDIR)/backoffice.o -c $(OBJDIR)/backoffice_.c |
| 1307 | |
| 1308 | $(OBJDIR)/backoffice.h: $(OBJDIR)/headers |
| 1309 | |
| 1310 | $(OBJDIR)/bag_.c: $(SRCDIR)/bag.c $(TRANSLATE) |
| 1311 | $(TRANSLATE) $(SRCDIR)/bag.c >$@ |
| 1312 | |
| 1313 | $(OBJDIR)/bag.o: $(OBJDIR)/bag_.c $(OBJDIR)/bag.h $(SRCDIR)/config.h |
| @@ -2420,5 +2432,6 @@ | |
| 2432 | $(OBJDIR)/th_tcl.o: $(SRCDIR)/th_tcl.c |
| 2433 | $(XTCC) -c $(SRCDIR)/th_tcl.c -o $@ |
| 2434 | |
| 2435 | $(OBJDIR)/miniz.o: $(SRCDIR)/miniz.c |
| 2436 | $(XTCC) $(MINIZ_OPTIONS) -c $(SRCDIR)/miniz.c -o $@ |
| 2437 | |
| 2438 |
+10
| --- win/Makefile.msc | ||
| +++ win/Makefile.msc | ||
| @@ -381,10 +381,11 @@ | ||
| 381 | 381 | /DMINIZ_NO_ARCHIVE_APIS |
| 382 | 382 | |
| 383 | 383 | SRC = add_.c \ |
| 384 | 384 | allrepo_.c \ |
| 385 | 385 | attach_.c \ |
| 386 | + backoffice_.c \ | |
| 386 | 387 | bag_.c \ |
| 387 | 388 | bisect_.c \ |
| 388 | 389 | blob_.c \ |
| 389 | 390 | branch_.c \ |
| 390 | 391 | browse_.c \ |
| @@ -584,10 +585,11 @@ | ||
| 584 | 585 | $(SRCDIR)\wiki.wiki |
| 585 | 586 | |
| 586 | 587 | OBJ = $(OX)\add$O \ |
| 587 | 588 | $(OX)\allrepo$O \ |
| 588 | 589 | $(OX)\attach$O \ |
| 590 | + $(OX)\backoffice$O \ | |
| 589 | 591 | $(OX)\bag$O \ |
| 590 | 592 | $(OX)\bisect$O \ |
| 591 | 593 | $(OX)\blob$O \ |
| 592 | 594 | $(OX)\branch$O \ |
| 593 | 595 | $(OX)\browse$O \ |
| @@ -777,10 +779,11 @@ | ||
| 777 | 779 | |
| 778 | 780 | $(OX)\linkopts: $B\win\Makefile.msc |
| 779 | 781 | echo $(OX)\add.obj > $@ |
| 780 | 782 | echo $(OX)\allrepo.obj >> $@ |
| 781 | 783 | echo $(OX)\attach.obj >> $@ |
| 784 | + echo $(OX)\backoffice.obj >> $@ | |
| 782 | 785 | echo $(OX)\bag.obj >> $@ |
| 783 | 786 | echo $(OX)\bisect.obj >> $@ |
| 784 | 787 | echo $(OX)\blob.obj >> $@ |
| 785 | 788 | echo $(OX)\branch.obj >> $@ |
| 786 | 789 | echo $(OX)\browse.obj >> $@ |
| @@ -1047,10 +1050,16 @@ | ||
| 1047 | 1050 | $(OX)\attach$O : attach_.c attach.h |
| 1048 | 1051 | $(TCC) /Fo$@ -c attach_.c |
| 1049 | 1052 | |
| 1050 | 1053 | attach_.c : $(SRCDIR)\attach.c |
| 1051 | 1054 | translate$E $** > $@ |
| 1055 | + | |
| 1056 | +$(OX)\backoffice$O : backoffice_.c backoffice.h | |
| 1057 | + $(TCC) /Fo$@ -c backoffice_.c | |
| 1058 | + | |
| 1059 | +backoffice_.c : $(SRCDIR)\backoffice.c | |
| 1060 | + translate$E $** > $@ | |
| 1052 | 1061 | |
| 1053 | 1062 | $(OX)\bag$O : bag_.c bag.h |
| 1054 | 1063 | $(TCC) /Fo$@ -c bag_.c |
| 1055 | 1064 | |
| 1056 | 1065 | bag_.c : $(SRCDIR)\bag.c |
| @@ -1829,10 +1838,11 @@ | ||
| 1829 | 1838 | |
| 1830 | 1839 | headers: makeheaders$E page_index.h builtin_data.h default_css.h VERSION.h |
| 1831 | 1840 | makeheaders$E add_.c:add.h \ |
| 1832 | 1841 | allrepo_.c:allrepo.h \ |
| 1833 | 1842 | attach_.c:attach.h \ |
| 1843 | + backoffice_.c:backoffice.h \ | |
| 1834 | 1844 | bag_.c:bag.h \ |
| 1835 | 1845 | bisect_.c:bisect.h \ |
| 1836 | 1846 | blob_.c:blob.h \ |
| 1837 | 1847 | branch_.c:branch.h \ |
| 1838 | 1848 | browse_.c:browse.h \ |
| 1839 | 1849 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -381,10 +381,11 @@ | |
| 381 | /DMINIZ_NO_ARCHIVE_APIS |
| 382 | |
| 383 | SRC = add_.c \ |
| 384 | allrepo_.c \ |
| 385 | attach_.c \ |
| 386 | bag_.c \ |
| 387 | bisect_.c \ |
| 388 | blob_.c \ |
| 389 | branch_.c \ |
| 390 | browse_.c \ |
| @@ -584,10 +585,11 @@ | |
| 584 | $(SRCDIR)\wiki.wiki |
| 585 | |
| 586 | OBJ = $(OX)\add$O \ |
| 587 | $(OX)\allrepo$O \ |
| 588 | $(OX)\attach$O \ |
| 589 | $(OX)\bag$O \ |
| 590 | $(OX)\bisect$O \ |
| 591 | $(OX)\blob$O \ |
| 592 | $(OX)\branch$O \ |
| 593 | $(OX)\browse$O \ |
| @@ -777,10 +779,11 @@ | |
| 777 | |
| 778 | $(OX)\linkopts: $B\win\Makefile.msc |
| 779 | echo $(OX)\add.obj > $@ |
| 780 | echo $(OX)\allrepo.obj >> $@ |
| 781 | echo $(OX)\attach.obj >> $@ |
| 782 | echo $(OX)\bag.obj >> $@ |
| 783 | echo $(OX)\bisect.obj >> $@ |
| 784 | echo $(OX)\blob.obj >> $@ |
| 785 | echo $(OX)\branch.obj >> $@ |
| 786 | echo $(OX)\browse.obj >> $@ |
| @@ -1047,10 +1050,16 @@ | |
| 1047 | $(OX)\attach$O : attach_.c attach.h |
| 1048 | $(TCC) /Fo$@ -c attach_.c |
| 1049 | |
| 1050 | attach_.c : $(SRCDIR)\attach.c |
| 1051 | translate$E $** > $@ |
| 1052 | |
| 1053 | $(OX)\bag$O : bag_.c bag.h |
| 1054 | $(TCC) /Fo$@ -c bag_.c |
| 1055 | |
| 1056 | bag_.c : $(SRCDIR)\bag.c |
| @@ -1829,10 +1838,11 @@ | |
| 1829 | |
| 1830 | headers: makeheaders$E page_index.h builtin_data.h default_css.h VERSION.h |
| 1831 | makeheaders$E add_.c:add.h \ |
| 1832 | allrepo_.c:allrepo.h \ |
| 1833 | attach_.c:attach.h \ |
| 1834 | bag_.c:bag.h \ |
| 1835 | bisect_.c:bisect.h \ |
| 1836 | blob_.c:blob.h \ |
| 1837 | branch_.c:branch.h \ |
| 1838 | browse_.c:browse.h \ |
| 1839 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -381,10 +381,11 @@ | |
| 381 | /DMINIZ_NO_ARCHIVE_APIS |
| 382 | |
| 383 | SRC = add_.c \ |
| 384 | allrepo_.c \ |
| 385 | attach_.c \ |
| 386 | backoffice_.c \ |
| 387 | bag_.c \ |
| 388 | bisect_.c \ |
| 389 | blob_.c \ |
| 390 | branch_.c \ |
| 391 | browse_.c \ |
| @@ -584,10 +585,11 @@ | |
| 585 | $(SRCDIR)\wiki.wiki |
| 586 | |
| 587 | OBJ = $(OX)\add$O \ |
| 588 | $(OX)\allrepo$O \ |
| 589 | $(OX)\attach$O \ |
| 590 | $(OX)\backoffice$O \ |
| 591 | $(OX)\bag$O \ |
| 592 | $(OX)\bisect$O \ |
| 593 | $(OX)\blob$O \ |
| 594 | $(OX)\branch$O \ |
| 595 | $(OX)\browse$O \ |
| @@ -777,10 +779,11 @@ | |
| 779 | |
| 780 | $(OX)\linkopts: $B\win\Makefile.msc |
| 781 | echo $(OX)\add.obj > $@ |
| 782 | echo $(OX)\allrepo.obj >> $@ |
| 783 | echo $(OX)\attach.obj >> $@ |
| 784 | echo $(OX)\backoffice.obj >> $@ |
| 785 | echo $(OX)\bag.obj >> $@ |
| 786 | echo $(OX)\bisect.obj >> $@ |
| 787 | echo $(OX)\blob.obj >> $@ |
| 788 | echo $(OX)\branch.obj >> $@ |
| 789 | echo $(OX)\browse.obj >> $@ |
| @@ -1047,10 +1050,16 @@ | |
| 1050 | $(OX)\attach$O : attach_.c attach.h |
| 1051 | $(TCC) /Fo$@ -c attach_.c |
| 1052 | |
| 1053 | attach_.c : $(SRCDIR)\attach.c |
| 1054 | translate$E $** > $@ |
| 1055 | |
| 1056 | $(OX)\backoffice$O : backoffice_.c backoffice.h |
| 1057 | $(TCC) /Fo$@ -c backoffice_.c |
| 1058 | |
| 1059 | backoffice_.c : $(SRCDIR)\backoffice.c |
| 1060 | translate$E $** > $@ |
| 1061 | |
| 1062 | $(OX)\bag$O : bag_.c bag.h |
| 1063 | $(TCC) /Fo$@ -c bag_.c |
| 1064 | |
| 1065 | bag_.c : $(SRCDIR)\bag.c |
| @@ -1829,10 +1838,11 @@ | |
| 1838 | |
| 1839 | headers: makeheaders$E page_index.h builtin_data.h default_css.h VERSION.h |
| 1840 | makeheaders$E add_.c:add.h \ |
| 1841 | allrepo_.c:allrepo.h \ |
| 1842 | attach_.c:attach.h \ |
| 1843 | backoffice_.c:backoffice.h \ |
| 1844 | bag_.c:bag.h \ |
| 1845 | bisect_.c:bisect.h \ |
| 1846 | blob_.c:blob.h \ |
| 1847 | branch_.c:branch.h \ |
| 1848 | browse_.c:browse.h \ |
| 1849 |