Fossil SCM

Remove obsolete "todo" files. Remove the obsolete src/VERSION file and references to that file in the makefiles.

drh 2009-08-15 17:45 trunk
Commit 137bff82945b8b5c8d93807a03a1539bad55765f
D ideas.txt
-239
--- a/ideas.txt
+++ b/ideas.txt
@@ -1,241 +0,0 @@
1
-
2
-Possible ticket file format:
3
-
4
- A uuid name description
5
- D datetime
6
- J field value
7
- K uuid
8
- U user
9
- Z md5sum
10
-
11
-FIELDs:
12
-
13
- comment cumulative text
14
- title text
15
- assignedto text
16
- status enum
17
- resolution enum
18
- subsystem enum
19
- type enum
20
- priority enum
21
- severity enum
22
- deferuntil datetime
23
- duedate datetime
24
- derivedfrom add or subtract uuid
25
- relatedversions add or subtract associate with manifest
26
- presentin add or subtract uuid
27
- fixedin add or subtract uuid
28
-
29
-Other table columns:
30
- origintime
31
- lastchange
32
-
33
-
34
-Field Types:
35
-
36
- text width height
37
- enum width valuelist
38
- datetime width
39
- cumulative-text width height
40
- set-of-uuid width
41
- set-of-checkin width
42
-
43
-Tables:
44
-
45
- tktrid(rid, tkid, mtime); index(tkid, mtime);
46
- ticket(tkid, tkuuid UNIQUE, starttime, lastmod, ...);
47
- tktfield(fieldname UNIQUE, type, width, other);
48
- tktxref(tkid, mid); index(tkid); index(mid);
49
-
50
-Tktformat in the config table.
51
-
52
- * Three pages: creation, display, and edit
53
- * Separate global and local versions of each page. Local overwrites
54
- global if it exists.
55
- * HTML
56
- * [[field]] to substitute the appropriate form or display element
57
-
58
-Ticket Configuraiton File:
59
-
60
- * Format:
61
- ticket-configuration
62
- field <fieldname> <type> <param> ...
63
- template <type> <delimiter>
64
- <text>
65
- * Each repository selects a single ticket config for its own use.
66
- * Rescan all tickets following any config change
67
- * Use the ticket-configuration tag must be on the file
68
-
69
-Todo:
70
-
71
- * Configuration file parser
72
- + tkt-new-template
73
- + tkt-view-template
74
- + tkt-edit-template
75
- + Reconstruct the ticket table schema
76
- + Repopulate tktfield
77
- * Ticket control file parser
78
- + Create ticket entry if necessary
79
- + Update fields. Ignore unrecognized fields.
80
- * Transfer tkt control info to ticket table
81
- * Setup pages for selecting and editing ticket configuration
82
- * Ticket display
83
- * New ticket creation display
84
- * Ticket change screen
85
- * Ticket query screens
86
-
87
-
-------------------------------------------------------------------------
88
-Change to wiki:
89
-
90
- A uuid filename description
91
- D datetime
92
- P uuid ...
93
- U user
94
- W size \n text \n
95
- Z cksum
96
-
97
-Hyperlinks:
98
-
99
- [lowercasehex] /info/lowercasehex
100
- [attachment.gif] inline image
101
- [tagname] /info/tagname
102
- [wikipagename] /wiki/wikipagename
103
- [/internal/page] /internal/page
104
- [http:...] external link
105
-
106
-Markup:
107
-
108
- blank-line paragraph break
109
- _*__ bullet
110
- __ indentation
111
- _#.__ enumeration
112
- *text* bold
113
- _text_ italic
114
-
115
-
-------------------------------------------------------------------------
116
-
117
-Random thoughts:
118
-
119
- * Plink.isprim changed to record:
120
- + child is the principal descendant of parent. (1)
121
- + child is a branch from parent (2)
122
- + child uses parent as a merge (0)
123
-
124
- * website can toggle isprim between principal and branch.
125
- + How to preserve across rebuild. A new record type?
126
- + How to share with other repositories
127
- * isprim guessed using userid of parent and child. Change
128
- in id suggests a branch. Same id suggests principal.
129
- For a tie, go with the earliest check-in as the principal'
130
-
131
- * Autosync mode
132
- * Notes:
133
- + Designed to avoid branching in highly collaborative
134
- environments.
135
- * Outstanding:
136
- + On commit, first pull. If commit baseline is not a tip
137
- prompt user to cancel or branch. Default is cancel.
138
- + Need an "undo" capability
139
- * Done:
140
- * Set a preferred remote repository to use as a server
141
- = Clone repository is the default
142
- * Push after commit
143
- * Automatically pull prior to update.
144
-
145
- * Archeological webpage improvements:
146
- + Use a small amount of CSS+javascript on timelines so that
147
- branching structure is displayed on mouseover. On mouseover
148
- of a checkin, highlight other checkins that are direct (non-merge)
149
- descendants and ancestors of the mouseover checkin.
150
- + Timeline showing individual branches
151
- + Timeline shows forks and merges
152
- + Tags shown on timeline (maybe) and in vinfo (surely).
153
-
154
-Features needed:
155
- * Means to suppress artifacts
156
- * Means to cap a branch
157
- * Ticketing
158
- + Problem is/is-not expressed in baseline X.
159
- + Append comment and zero or more attachments
160
- * Modify comments on baselines
161
- * Append comments to any artifact
162
- * Wiki?
163
-
164
-
165
-
166
-Extended manifests.
167
- * normal manifest has:
168
- C comment
169
- D date-time
170
- F* filename uuid
171
- P uuid ... -- omitted for first manifest
172
- R repository-md5sum
173
- U user-login
174
- Z manifest-checksum
175
-
176
- * Accessory:
177
- A uuid|* attachment-uuid description
178
- D date-time
179
- E uuid new-comment
180
- G uuid appended-remark
181
- S repositoryid serial-number
182
- T (+|-)tag uuid
183
- U userid
184
- X uuid-to-surpress
185
- Z this-file-checksum
186
-
187
- * Change the comment on a version: -- always a leaf except in cluster
188
- D date-time
189
- E new-comment
190
- P uuid -- baseline whose comment is changed
191
- U user-login
192
- Z checksum
193
- -- most recent wins
194
- * Wiki edit
195
- A* name uuid -- zero or more attachments
196
- C? comment
197
- D date-time
198
- N name -- name of the wiki page
199
- P uuid ... -- omit for new wiki
200
- U user-login
201
- W uuid -- The content file
202
- Z manifest-cksum
203
- * Ticket edit
204
- A* name uuid -- zero or more attachments
205
- D date-time
206
- N name -- name of the ticket
207
- P uuid -- omit for new ticket
208
- T uuid -- content of the ticket
209
- U user-login
210
- Z manifest-cksum
211
- * Set or erase a tag -- most recent date wins
212
- B* (+|-)tag uuid
213
- C? comment
214
- D date-time
215
- V* (+|-) tag uuid -- + to set, - to clear.
216
- Z manifest-cksum
217
- -- Must have at least one B or V.
218
- -- Branch tag "hidden" means do not sync
219
- -- Version tag "closed" means do not display as a leaf
220
- * A cluster
221
- M+ uuid
222
- Z manifest-cksum
223
-
224
- * Complete set of cards in a control file:
225
- A filename uuid
226
- B (+|-)branch-tag uuid
227
- C comment
228
- D date-time
229
- E uuid edited-comment
230
- F filename uuid
231
- M uuid
232
- N name
233
- P uuid ...
234
- R repository-md5sum
235
- T uuid
236
- U user-login
237
- V (+|-)version-tag uuid
238
- W uuid
239
- Z manifest-checksum
--- a/ideas.txt
+++ b/ideas.txt
@@ -1,241 +0,0 @@
1
2 Possible ticket file format:
3
4 A uuid name description
5 D datetime
6 J field value
7 K uuid
8 U user
9 Z md5sum
10
11 FIELDs:
12
13 comment cumulative text
14 title text
15 assignedto text
16 status enum
17 resolution enum
18 subsystem enum
19 type enum
20 priority enum
21 severity enum
22 deferuntil datetime
23 duedate datetime
24 derivedfrom add or subtract uuid
25 relatedversions add or subtract associate with manifest
26 presentin add or subtract uuid
27 fixedin add or subtract uuid
28
29 Other table columns:
30 origintime
31 lastchange
32
33
34 Field Types:
35
36 text width height
37 enum width valuelist
38 datetime width
39 cumulative-text width height
40 set-of-uuid width
41 set-of-checkin width
42
43 Tables:
44
45 tktrid(rid, tkid, mtime); index(tkid, mtime);
46 ticket(tkid, tkuuid UNIQUE, starttime, lastmod, ...);
47 tktfield(fieldname UNIQUE, type, width, other);
48 tktxref(tkid, mid); index(tkid); index(mid);
49
50 Tktformat in the config table.
51
52 * Three pages: creation, display, and edit
53 * Separate global and local versions of each page. Local overwrites
54 global if it exists.
55 * HTML
56 * [[field]] to substitute the appropriate form or display element
57
58 Ticket Configuraiton File:
59
60 * Format:
61 ticket-configuration
62 field <fieldname> <type> <param> ...
63 template <type> <delimiter>
64 <text>
65 * Each repository selects a single ticket config for its own use.
66 * Rescan all tickets following any config change
67 * Use the ticket-configuration tag must be on the file
68
69 Todo:
70
71 * Configuration file parser
72 + tkt-new-template
73 + tkt-view-template
74 + tkt-edit-template
75 + Reconstruct the ticket table schema
76 + Repopulate tktfield
77 * Ticket control file parser
78 + Create ticket entry if necessary
79 + Update fields. Ignore unrecognized fields.
80 * Transfer tkt control info to ticket table
81 * Setup pages for selecting and editing ticket configuration
82 * Ticket display
83 * New ticket creation display
84 * Ticket change screen
85 * Ticket query screens
86
87
-------------------------------------------------------------------------
88 Change to wiki:
89
90 A uuid filename description
91 D datetime
92 P uuid ...
93 U user
94 W size \n text \n
95 Z cksum
96
97 Hyperlinks:
98
99 [lowercasehex] /info/lowercasehex
100 [attachment.gif] inline image
101 [tagname] /info/tagname
102 [wikipagename] /wiki/wikipagename
103 [/internal/page] /internal/page
104 [http:...] external link
105
106 Markup:
107
108 blank-line paragraph break
109 _*__ bullet
110 __ indentation
111 _#.__ enumeration
112 *text* bold
113 _text_ italic
114
115
-------------------------------------------------------------------------
116
117 Random thoughts:
118
119 * Plink.isprim changed to record:
120 + child is the principal descendant of parent. (1)
121 + child is a branch from parent (2)
122 + child uses parent as a merge (0)
123
124 * website can toggle isprim between principal and branch.
125 + How to preserve across rebuild. A new record type?
126 + How to share with other repositories
127 * isprim guessed using userid of parent and child. Change
128 in id suggests a branch. Same id suggests principal.
129 For a tie, go with the earliest check-in as the principal'
130
131 * Autosync mode
132 * Notes:
133 + Designed to avoid branching in highly collaborative
134 environments.
135 * Outstanding:
136 + On commit, first pull. If commit baseline is not a tip
137 prompt user to cancel or branch. Default is cancel.
138 + Need an "undo" capability
139 * Done:
140 * Set a preferred remote repository to use as a server
141 = Clone repository is the default
142 * Push after commit
143 * Automatically pull prior to update.
144
145 * Archeological webpage improvements:
146 + Use a small amount of CSS+javascript on timelines so that
147 branching structure is displayed on mouseover. On mouseover
148 of a checkin, highlight other checkins that are direct (non-merge)
149 descendants and ancestors of the mouseover checkin.
150 + Timeline showing individual branches
151 + Timeline shows forks and merges
152 + Tags shown on timeline (maybe) and in vinfo (surely).
153
154 Features needed:
155 * Means to suppress artifacts
156 * Means to cap a branch
157 * Ticketing
158 + Problem is/is-not expressed in baseline X.
159 + Append comment and zero or more attachments
160 * Modify comments on baselines
161 * Append comments to any artifact
162 * Wiki?
163
164
165
166 Extended manifests.
167 * normal manifest has:
168 C comment
169 D date-time
170 F* filename uuid
171 P uuid ... -- omitted for first manifest
172 R repository-md5sum
173 U user-login
174 Z manifest-checksum
175
176 * Accessory:
177 A uuid|* attachment-uuid description
178 D date-time
179 E uuid new-comment
180 G uuid appended-remark
181 S repositoryid serial-number
182 T (+|-)tag uuid
183 U userid
184 X uuid-to-surpress
185 Z this-file-checksum
186
187 * Change the comment on a version: -- always a leaf except in cluster
188 D date-time
189 E new-comment
190 P uuid -- baseline whose comment is changed
191 U user-login
192 Z checksum
193 -- most recent wins
194 * Wiki edit
195 A* name uuid -- zero or more attachments
196 C? comment
197 D date-time
198 N name -- name of the wiki page
199 P uuid ... -- omit for new wiki
200 U user-login
201 W uuid -- The content file
202 Z manifest-cksum
203 * Ticket edit
204 A* name uuid -- zero or more attachments
205 D date-time
206 N name -- name of the ticket
207 P uuid -- omit for new ticket
208 T uuid -- content of the ticket
209 U user-login
210 Z manifest-cksum
211 * Set or erase a tag -- most recent date wins
212 B* (+|-)tag uuid
213 C? comment
214 D date-time
215 V* (+|-) tag uuid -- + to set, - to clear.
216 Z manifest-cksum
217 -- Must have at least one B or V.
218 -- Branch tag "hidden" means do not sync
219 -- Version tag "closed" means do not display as a leaf
220 * A cluster
221 M+ uuid
222 Z manifest-cksum
223
224 * Complete set of cards in a control file:
225 A filename uuid
226 B (+|-)branch-tag uuid
227 C comment
228 D date-time
229 E uuid edited-comment
230 F filename uuid
231 M uuid
232 N name
233 P uuid ...
234 R repository-md5sum
235 T uuid
236 U user-login
237 V (+|-)version-tag uuid
238 W uuid
239 Z manifest-checksum
--- a/ideas.txt
+++ b/ideas.txt
@@ -1,241 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
-------------------------------------------------------------------------
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
-------------------------------------------------------------------------
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D src/VERSION
-1
--- a/src/VERSION
+++ b/src/VERSION
@@ -1 +0,0 @@
1
-s/@VERSION@/0.0.0/g
--- a/src/VERSION
+++ b/src/VERSION
@@ -1 +0,0 @@
1 s/@VERSION@/0.0.0/g
--- a/src/VERSION
+++ b/src/VERSION
@@ -1 +0,0 @@
 
+138 -138
--- src/main.mk
+++ src/main.mk
@@ -273,488 +273,488 @@
273273
headers: page_index.h makeheaders VERSION.h
274274
./makeheaders add_.c:add.h admin_.c:admin.h allrepo_.c:allrepo.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.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 construct_.c:construct.h content_.c:content.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 doc_.c:doc.h encode_.c:encode.h file_.c:file.h http_.c:http.h http_socket_.c:http_socket.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h my_page_.c:my_page.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h rstats_.c:rstats.h schema_.c:schema.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tagview_.c:tagview.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
275275
touch headers
276276
headers: Makefile
277277
Makefile:
278
-add_.c: $(SRCDIR)/add.c $(SRCDIR)/VERSION translate
279
- ./translate $(SRCDIR)/add.c | sed -f $(SRCDIR)/VERSION >add_.c
278
+add_.c: $(SRCDIR)/add.c translate
279
+ ./translate $(SRCDIR)/add.c >add_.c
280280
281281
add.o: add_.c add.h $(SRCDIR)/config.h
282282
$(XTCC) -o add.o -c add_.c
283283
284284
add.h: headers
285
-admin_.c: $(SRCDIR)/admin.c $(SRCDIR)/VERSION translate
286
- ./translate $(SRCDIR)/admin.c | sed -f $(SRCDIR)/VERSION >admin_.c
285
+admin_.c: $(SRCDIR)/admin.c translate
286
+ ./translate $(SRCDIR)/admin.c >admin_.c
287287
288288
admin.o: admin_.c admin.h $(SRCDIR)/config.h
289289
$(XTCC) -o admin.o -c admin_.c
290290
291291
admin.h: headers
292
-allrepo_.c: $(SRCDIR)/allrepo.c $(SRCDIR)/VERSION translate
293
- ./translate $(SRCDIR)/allrepo.c | sed -f $(SRCDIR)/VERSION >allrepo_.c
292
+allrepo_.c: $(SRCDIR)/allrepo.c translate
293
+ ./translate $(SRCDIR)/allrepo.c >allrepo_.c
294294
295295
allrepo.o: allrepo_.c allrepo.h $(SRCDIR)/config.h
296296
$(XTCC) -o allrepo.o -c allrepo_.c
297297
298298
allrepo.h: headers
299
-bag_.c: $(SRCDIR)/bag.c $(SRCDIR)/VERSION translate
300
- ./translate $(SRCDIR)/bag.c | sed -f $(SRCDIR)/VERSION >bag_.c
299
+bag_.c: $(SRCDIR)/bag.c translate
300
+ ./translate $(SRCDIR)/bag.c >bag_.c
301301
302302
bag.o: bag_.c bag.h $(SRCDIR)/config.h
303303
$(XTCC) -o bag.o -c bag_.c
304304
305305
bag.h: headers
306
-blob_.c: $(SRCDIR)/blob.c $(SRCDIR)/VERSION translate
307
- ./translate $(SRCDIR)/blob.c | sed -f $(SRCDIR)/VERSION >blob_.c
306
+blob_.c: $(SRCDIR)/blob.c translate
307
+ ./translate $(SRCDIR)/blob.c >blob_.c
308308
309309
blob.o: blob_.c blob.h $(SRCDIR)/config.h
310310
$(XTCC) -o blob.o -c blob_.c
311311
312312
blob.h: headers
313
-branch_.c: $(SRCDIR)/branch.c $(SRCDIR)/VERSION translate
314
- ./translate $(SRCDIR)/branch.c | sed -f $(SRCDIR)/VERSION >branch_.c
313
+branch_.c: $(SRCDIR)/branch.c translate
314
+ ./translate $(SRCDIR)/branch.c >branch_.c
315315
316316
branch.o: branch_.c branch.h $(SRCDIR)/config.h
317317
$(XTCC) -o branch.o -c branch_.c
318318
319319
branch.h: headers
320
-browse_.c: $(SRCDIR)/browse.c $(SRCDIR)/VERSION translate
321
- ./translate $(SRCDIR)/browse.c | sed -f $(SRCDIR)/VERSION >browse_.c
320
+browse_.c: $(SRCDIR)/browse.c translate
321
+ ./translate $(SRCDIR)/browse.c >browse_.c
322322
323323
browse.o: browse_.c browse.h $(SRCDIR)/config.h
324324
$(XTCC) -o browse.o -c browse_.c
325325
326326
browse.h: headers
327
-captcha_.c: $(SRCDIR)/captcha.c $(SRCDIR)/VERSION translate
328
- ./translate $(SRCDIR)/captcha.c | sed -f $(SRCDIR)/VERSION >captcha_.c
327
+captcha_.c: $(SRCDIR)/captcha.c translate
328
+ ./translate $(SRCDIR)/captcha.c >captcha_.c
329329
330330
captcha.o: captcha_.c captcha.h $(SRCDIR)/config.h
331331
$(XTCC) -o captcha.o -c captcha_.c
332332
333333
captcha.h: headers
334
-cgi_.c: $(SRCDIR)/cgi.c $(SRCDIR)/VERSION translate
335
- ./translate $(SRCDIR)/cgi.c | sed -f $(SRCDIR)/VERSION >cgi_.c
334
+cgi_.c: $(SRCDIR)/cgi.c translate
335
+ ./translate $(SRCDIR)/cgi.c >cgi_.c
336336
337337
cgi.o: cgi_.c cgi.h $(SRCDIR)/config.h
338338
$(XTCC) -o cgi.o -c cgi_.c
339339
340340
cgi.h: headers
341
-checkin_.c: $(SRCDIR)/checkin.c $(SRCDIR)/VERSION translate
342
- ./translate $(SRCDIR)/checkin.c | sed -f $(SRCDIR)/VERSION >checkin_.c
341
+checkin_.c: $(SRCDIR)/checkin.c translate
342
+ ./translate $(SRCDIR)/checkin.c >checkin_.c
343343
344344
checkin.o: checkin_.c checkin.h $(SRCDIR)/config.h
345345
$(XTCC) -o checkin.o -c checkin_.c
346346
347347
checkin.h: headers
348
-checkout_.c: $(SRCDIR)/checkout.c $(SRCDIR)/VERSION translate
349
- ./translate $(SRCDIR)/checkout.c | sed -f $(SRCDIR)/VERSION >checkout_.c
348
+checkout_.c: $(SRCDIR)/checkout.c translate
349
+ ./translate $(SRCDIR)/checkout.c >checkout_.c
350350
351351
checkout.o: checkout_.c checkout.h $(SRCDIR)/config.h
352352
$(XTCC) -o checkout.o -c checkout_.c
353353
354354
checkout.h: headers
355
-clearsign_.c: $(SRCDIR)/clearsign.c $(SRCDIR)/VERSION translate
356
- ./translate $(SRCDIR)/clearsign.c | sed -f $(SRCDIR)/VERSION >clearsign_.c
355
+clearsign_.c: $(SRCDIR)/clearsign.c translate
356
+ ./translate $(SRCDIR)/clearsign.c >clearsign_.c
357357
358358
clearsign.o: clearsign_.c clearsign.h $(SRCDIR)/config.h
359359
$(XTCC) -o clearsign.o -c clearsign_.c
360360
361361
clearsign.h: headers
362
-clone_.c: $(SRCDIR)/clone.c $(SRCDIR)/VERSION translate
363
- ./translate $(SRCDIR)/clone.c | sed -f $(SRCDIR)/VERSION >clone_.c
362
+clone_.c: $(SRCDIR)/clone.c translate
363
+ ./translate $(SRCDIR)/clone.c >clone_.c
364364
365365
clone.o: clone_.c clone.h $(SRCDIR)/config.h
366366
$(XTCC) -o clone.o -c clone_.c
367367
368368
clone.h: headers
369
-comformat_.c: $(SRCDIR)/comformat.c $(SRCDIR)/VERSION translate
370
- ./translate $(SRCDIR)/comformat.c | sed -f $(SRCDIR)/VERSION >comformat_.c
369
+comformat_.c: $(SRCDIR)/comformat.c translate
370
+ ./translate $(SRCDIR)/comformat.c >comformat_.c
371371
372372
comformat.o: comformat_.c comformat.h $(SRCDIR)/config.h
373373
$(XTCC) -o comformat.o -c comformat_.c
374374
375375
comformat.h: headers
376
-configure_.c: $(SRCDIR)/configure.c $(SRCDIR)/VERSION translate
377
- ./translate $(SRCDIR)/configure.c | sed -f $(SRCDIR)/VERSION >configure_.c
376
+configure_.c: $(SRCDIR)/configure.c translate
377
+ ./translate $(SRCDIR)/configure.c >configure_.c
378378
379379
configure.o: configure_.c configure.h $(SRCDIR)/config.h
380380
$(XTCC) -o configure.o -c configure_.c
381381
382382
configure.h: headers
383
-construct_.c: $(SRCDIR)/construct.c $(SRCDIR)/VERSION translate
384
- ./translate $(SRCDIR)/construct.c | sed -f $(SRCDIR)/VERSION >construct_.c
383
+construct_.c: $(SRCDIR)/construct.c translate
384
+ ./translate $(SRCDIR)/construct.c >construct_.c
385385
386386
construct.o: construct_.c construct.h $(SRCDIR)/config.h
387387
$(XTCC) -o construct.o -c construct_.c
388388
389389
construct.h: headers
390
-content_.c: $(SRCDIR)/content.c $(SRCDIR)/VERSION translate
391
- ./translate $(SRCDIR)/content.c | sed -f $(SRCDIR)/VERSION >content_.c
390
+content_.c: $(SRCDIR)/content.c translate
391
+ ./translate $(SRCDIR)/content.c >content_.c
392392
393393
content.o: content_.c content.h $(SRCDIR)/config.h
394394
$(XTCC) -o content.o -c content_.c
395395
396396
content.h: headers
397
-db_.c: $(SRCDIR)/db.c $(SRCDIR)/VERSION translate
398
- ./translate $(SRCDIR)/db.c | sed -f $(SRCDIR)/VERSION >db_.c
397
+db_.c: $(SRCDIR)/db.c translate
398
+ ./translate $(SRCDIR)/db.c >db_.c
399399
400400
db.o: db_.c db.h $(SRCDIR)/config.h
401401
$(XTCC) -o db.o -c db_.c
402402
403403
db.h: headers
404
-delta_.c: $(SRCDIR)/delta.c $(SRCDIR)/VERSION translate
405
- ./translate $(SRCDIR)/delta.c | sed -f $(SRCDIR)/VERSION >delta_.c
404
+delta_.c: $(SRCDIR)/delta.c translate
405
+ ./translate $(SRCDIR)/delta.c >delta_.c
406406
407407
delta.o: delta_.c delta.h $(SRCDIR)/config.h
408408
$(XTCC) -o delta.o -c delta_.c
409409
410410
delta.h: headers
411
-deltacmd_.c: $(SRCDIR)/deltacmd.c $(SRCDIR)/VERSION translate
412
- ./translate $(SRCDIR)/deltacmd.c | sed -f $(SRCDIR)/VERSION >deltacmd_.c
411
+deltacmd_.c: $(SRCDIR)/deltacmd.c translate
412
+ ./translate $(SRCDIR)/deltacmd.c >deltacmd_.c
413413
414414
deltacmd.o: deltacmd_.c deltacmd.h $(SRCDIR)/config.h
415415
$(XTCC) -o deltacmd.o -c deltacmd_.c
416416
417417
deltacmd.h: headers
418
-descendants_.c: $(SRCDIR)/descendants.c $(SRCDIR)/VERSION translate
419
- ./translate $(SRCDIR)/descendants.c | sed -f $(SRCDIR)/VERSION >descendants_.c
418
+descendants_.c: $(SRCDIR)/descendants.c translate
419
+ ./translate $(SRCDIR)/descendants.c >descendants_.c
420420
421421
descendants.o: descendants_.c descendants.h $(SRCDIR)/config.h
422422
$(XTCC) -o descendants.o -c descendants_.c
423423
424424
descendants.h: headers
425
-diff_.c: $(SRCDIR)/diff.c $(SRCDIR)/VERSION translate
426
- ./translate $(SRCDIR)/diff.c | sed -f $(SRCDIR)/VERSION >diff_.c
425
+diff_.c: $(SRCDIR)/diff.c translate
426
+ ./translate $(SRCDIR)/diff.c >diff_.c
427427
428428
diff.o: diff_.c diff.h $(SRCDIR)/config.h
429429
$(XTCC) -o diff.o -c diff_.c
430430
431431
diff.h: headers
432
-diffcmd_.c: $(SRCDIR)/diffcmd.c $(SRCDIR)/VERSION translate
433
- ./translate $(SRCDIR)/diffcmd.c | sed -f $(SRCDIR)/VERSION >diffcmd_.c
432
+diffcmd_.c: $(SRCDIR)/diffcmd.c translate
433
+ ./translate $(SRCDIR)/diffcmd.c >diffcmd_.c
434434
435435
diffcmd.o: diffcmd_.c diffcmd.h $(SRCDIR)/config.h
436436
$(XTCC) -o diffcmd.o -c diffcmd_.c
437437
438438
diffcmd.h: headers
439
-doc_.c: $(SRCDIR)/doc.c $(SRCDIR)/VERSION translate
440
- ./translate $(SRCDIR)/doc.c | sed -f $(SRCDIR)/VERSION >doc_.c
439
+doc_.c: $(SRCDIR)/doc.c translate
440
+ ./translate $(SRCDIR)/doc.c >doc_.c
441441
442442
doc.o: doc_.c doc.h $(SRCDIR)/config.h
443443
$(XTCC) -o doc.o -c doc_.c
444444
445445
doc.h: headers
446
-encode_.c: $(SRCDIR)/encode.c $(SRCDIR)/VERSION translate
447
- ./translate $(SRCDIR)/encode.c | sed -f $(SRCDIR)/VERSION >encode_.c
446
+encode_.c: $(SRCDIR)/encode.c translate
447
+ ./translate $(SRCDIR)/encode.c >encode_.c
448448
449449
encode.o: encode_.c encode.h $(SRCDIR)/config.h
450450
$(XTCC) -o encode.o -c encode_.c
451451
452452
encode.h: headers
453
-file_.c: $(SRCDIR)/file.c $(SRCDIR)/VERSION translate
454
- ./translate $(SRCDIR)/file.c | sed -f $(SRCDIR)/VERSION >file_.c
453
+file_.c: $(SRCDIR)/file.c translate
454
+ ./translate $(SRCDIR)/file.c >file_.c
455455
456456
file.o: file_.c file.h $(SRCDIR)/config.h
457457
$(XTCC) -o file.o -c file_.c
458458
459459
file.h: headers
460
-http_.c: $(SRCDIR)/http.c $(SRCDIR)/VERSION translate
461
- ./translate $(SRCDIR)/http.c | sed -f $(SRCDIR)/VERSION >http_.c
460
+http_.c: $(SRCDIR)/http.c translate
461
+ ./translate $(SRCDIR)/http.c >http_.c
462462
463463
http.o: http_.c http.h $(SRCDIR)/config.h
464464
$(XTCC) -o http.o -c http_.c
465465
466466
http.h: headers
467
-http_socket_.c: $(SRCDIR)/http_socket.c $(SRCDIR)/VERSION translate
468
- ./translate $(SRCDIR)/http_socket.c | sed -f $(SRCDIR)/VERSION >http_socket_.c
467
+http_socket_.c: $(SRCDIR)/http_socket.c translate
468
+ ./translate $(SRCDIR)/http_socket.c >http_socket_.c
469469
470470
http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
471471
$(XTCC) -o http_socket.o -c http_socket_.c
472472
473473
http_socket.h: headers
474
-http_transport_.c: $(SRCDIR)/http_transport.c $(SRCDIR)/VERSION translate
475
- ./translate $(SRCDIR)/http_transport.c | sed -f $(SRCDIR)/VERSION >http_transport_.c
474
+http_transport_.c: $(SRCDIR)/http_transport.c translate
475
+ ./translate $(SRCDIR)/http_transport.c >http_transport_.c
476476
477477
http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
478478
$(XTCC) -o http_transport.o -c http_transport_.c
479479
480480
http_transport.h: headers
481
-info_.c: $(SRCDIR)/info.c $(SRCDIR)/VERSION translate
482
- ./translate $(SRCDIR)/info.c | sed -f $(SRCDIR)/VERSION >info_.c
481
+info_.c: $(SRCDIR)/info.c translate
482
+ ./translate $(SRCDIR)/info.c >info_.c
483483
484484
info.o: info_.c info.h $(SRCDIR)/config.h
485485
$(XTCC) -o info.o -c info_.c
486486
487487
info.h: headers
488
-login_.c: $(SRCDIR)/login.c $(SRCDIR)/VERSION translate
489
- ./translate $(SRCDIR)/login.c | sed -f $(SRCDIR)/VERSION >login_.c
488
+login_.c: $(SRCDIR)/login.c translate
489
+ ./translate $(SRCDIR)/login.c >login_.c
490490
491491
login.o: login_.c login.h $(SRCDIR)/config.h
492492
$(XTCC) -o login.o -c login_.c
493493
494494
login.h: headers
495
-main_.c: $(SRCDIR)/main.c $(SRCDIR)/VERSION translate
496
- ./translate $(SRCDIR)/main.c | sed -f $(SRCDIR)/VERSION >main_.c
495
+main_.c: $(SRCDIR)/main.c translate
496
+ ./translate $(SRCDIR)/main.c >main_.c
497497
498498
main.o: main_.c main.h page_index.h $(SRCDIR)/config.h
499499
$(XTCC) -o main.o -c main_.c
500500
501501
main.h: headers
502
-manifest_.c: $(SRCDIR)/manifest.c $(SRCDIR)/VERSION translate
503
- ./translate $(SRCDIR)/manifest.c | sed -f $(SRCDIR)/VERSION >manifest_.c
502
+manifest_.c: $(SRCDIR)/manifest.c translate
503
+ ./translate $(SRCDIR)/manifest.c >manifest_.c
504504
505505
manifest.o: manifest_.c manifest.h $(SRCDIR)/config.h
506506
$(XTCC) -o manifest.o -c manifest_.c
507507
508508
manifest.h: headers
509
-md5_.c: $(SRCDIR)/md5.c $(SRCDIR)/VERSION translate
510
- ./translate $(SRCDIR)/md5.c | sed -f $(SRCDIR)/VERSION >md5_.c
509
+md5_.c: $(SRCDIR)/md5.c translate
510
+ ./translate $(SRCDIR)/md5.c >md5_.c
511511
512512
md5.o: md5_.c md5.h $(SRCDIR)/config.h
513513
$(XTCC) -o md5.o -c md5_.c
514514
515515
md5.h: headers
516
-merge_.c: $(SRCDIR)/merge.c $(SRCDIR)/VERSION translate
517
- ./translate $(SRCDIR)/merge.c | sed -f $(SRCDIR)/VERSION >merge_.c
516
+merge_.c: $(SRCDIR)/merge.c translate
517
+ ./translate $(SRCDIR)/merge.c >merge_.c
518518
519519
merge.o: merge_.c merge.h $(SRCDIR)/config.h
520520
$(XTCC) -o merge.o -c merge_.c
521521
522522
merge.h: headers
523
-merge3_.c: $(SRCDIR)/merge3.c $(SRCDIR)/VERSION translate
524
- ./translate $(SRCDIR)/merge3.c | sed -f $(SRCDIR)/VERSION >merge3_.c
523
+merge3_.c: $(SRCDIR)/merge3.c translate
524
+ ./translate $(SRCDIR)/merge3.c >merge3_.c
525525
526526
merge3.o: merge3_.c merge3.h $(SRCDIR)/config.h
527527
$(XTCC) -o merge3.o -c merge3_.c
528528
529529
merge3.h: headers
530
-my_page_.c: $(SRCDIR)/my_page.c $(SRCDIR)/VERSION translate
531
- ./translate $(SRCDIR)/my_page.c | sed -f $(SRCDIR)/VERSION >my_page_.c
530
+my_page_.c: $(SRCDIR)/my_page.c translate
531
+ ./translate $(SRCDIR)/my_page.c >my_page_.c
532532
533533
my_page.o: my_page_.c my_page.h $(SRCDIR)/config.h
534534
$(XTCC) -o my_page.o -c my_page_.c
535535
536536
my_page.h: headers
537
-name_.c: $(SRCDIR)/name.c $(SRCDIR)/VERSION translate
538
- ./translate $(SRCDIR)/name.c | sed -f $(SRCDIR)/VERSION >name_.c
537
+name_.c: $(SRCDIR)/name.c translate
538
+ ./translate $(SRCDIR)/name.c >name_.c
539539
540540
name.o: name_.c name.h $(SRCDIR)/config.h
541541
$(XTCC) -o name.o -c name_.c
542542
543543
name.h: headers
544
-pivot_.c: $(SRCDIR)/pivot.c $(SRCDIR)/VERSION translate
545
- ./translate $(SRCDIR)/pivot.c | sed -f $(SRCDIR)/VERSION >pivot_.c
544
+pivot_.c: $(SRCDIR)/pivot.c translate
545
+ ./translate $(SRCDIR)/pivot.c >pivot_.c
546546
547547
pivot.o: pivot_.c pivot.h $(SRCDIR)/config.h
548548
$(XTCC) -o pivot.o -c pivot_.c
549549
550550
pivot.h: headers
551
-pqueue_.c: $(SRCDIR)/pqueue.c $(SRCDIR)/VERSION translate
552
- ./translate $(SRCDIR)/pqueue.c | sed -f $(SRCDIR)/VERSION >pqueue_.c
551
+pqueue_.c: $(SRCDIR)/pqueue.c translate
552
+ ./translate $(SRCDIR)/pqueue.c >pqueue_.c
553553
554554
pqueue.o: pqueue_.c pqueue.h $(SRCDIR)/config.h
555555
$(XTCC) -o pqueue.o -c pqueue_.c
556556
557557
pqueue.h: headers
558
-printf_.c: $(SRCDIR)/printf.c $(SRCDIR)/VERSION translate
559
- ./translate $(SRCDIR)/printf.c | sed -f $(SRCDIR)/VERSION >printf_.c
558
+printf_.c: $(SRCDIR)/printf.c translate
559
+ ./translate $(SRCDIR)/printf.c >printf_.c
560560
561561
printf.o: printf_.c printf.h $(SRCDIR)/config.h
562562
$(XTCC) -o printf.o -c printf_.c
563563
564564
printf.h: headers
565
-rebuild_.c: $(SRCDIR)/rebuild.c $(SRCDIR)/VERSION translate
566
- ./translate $(SRCDIR)/rebuild.c | sed -f $(SRCDIR)/VERSION >rebuild_.c
565
+rebuild_.c: $(SRCDIR)/rebuild.c translate
566
+ ./translate $(SRCDIR)/rebuild.c >rebuild_.c
567567
568568
rebuild.o: rebuild_.c rebuild.h $(SRCDIR)/config.h
569569
$(XTCC) -o rebuild.o -c rebuild_.c
570570
571571
rebuild.h: headers
572
-report_.c: $(SRCDIR)/report.c $(SRCDIR)/VERSION translate
573
- ./translate $(SRCDIR)/report.c | sed -f $(SRCDIR)/VERSION >report_.c
572
+report_.c: $(SRCDIR)/report.c translate
573
+ ./translate $(SRCDIR)/report.c >report_.c
574574
575575
report.o: report_.c report.h $(SRCDIR)/config.h
576576
$(XTCC) -o report.o -c report_.c
577577
578578
report.h: headers
579
-rss_.c: $(SRCDIR)/rss.c $(SRCDIR)/VERSION translate
580
- ./translate $(SRCDIR)/rss.c | sed -f $(SRCDIR)/VERSION >rss_.c
579
+rss_.c: $(SRCDIR)/rss.c translate
580
+ ./translate $(SRCDIR)/rss.c >rss_.c
581581
582582
rss.o: rss_.c rss.h $(SRCDIR)/config.h
583583
$(XTCC) -o rss.o -c rss_.c
584584
585585
rss.h: headers
586
-rstats_.c: $(SRCDIR)/rstats.c $(SRCDIR)/VERSION translate
587
- ./translate $(SRCDIR)/rstats.c | sed -f $(SRCDIR)/VERSION >rstats_.c
586
+rstats_.c: $(SRCDIR)/rstats.c translate
587
+ ./translate $(SRCDIR)/rstats.c >rstats_.c
588588
589589
rstats.o: rstats_.c rstats.h $(SRCDIR)/config.h
590590
$(XTCC) -o rstats.o -c rstats_.c
591591
592592
rstats.h: headers
593
-schema_.c: $(SRCDIR)/schema.c $(SRCDIR)/VERSION translate
594
- ./translate $(SRCDIR)/schema.c | sed -f $(SRCDIR)/VERSION >schema_.c
593
+schema_.c: $(SRCDIR)/schema.c translate
594
+ ./translate $(SRCDIR)/schema.c >schema_.c
595595
596596
schema.o: schema_.c schema.h $(SRCDIR)/config.h
597597
$(XTCC) -o schema.o -c schema_.c
598598
599599
schema.h: headers
600
-setup_.c: $(SRCDIR)/setup.c $(SRCDIR)/VERSION translate
601
- ./translate $(SRCDIR)/setup.c | sed -f $(SRCDIR)/VERSION >setup_.c
600
+setup_.c: $(SRCDIR)/setup.c translate
601
+ ./translate $(SRCDIR)/setup.c >setup_.c
602602
603603
setup.o: setup_.c setup.h $(SRCDIR)/config.h
604604
$(XTCC) -o setup.o -c setup_.c
605605
606606
setup.h: headers
607
-sha1_.c: $(SRCDIR)/sha1.c $(SRCDIR)/VERSION translate
608
- ./translate $(SRCDIR)/sha1.c | sed -f $(SRCDIR)/VERSION >sha1_.c
607
+sha1_.c: $(SRCDIR)/sha1.c translate
608
+ ./translate $(SRCDIR)/sha1.c >sha1_.c
609609
610610
sha1.o: sha1_.c sha1.h $(SRCDIR)/config.h
611611
$(XTCC) -o sha1.o -c sha1_.c
612612
613613
sha1.h: headers
614
-shun_.c: $(SRCDIR)/shun.c $(SRCDIR)/VERSION translate
615
- ./translate $(SRCDIR)/shun.c | sed -f $(SRCDIR)/VERSION >shun_.c
614
+shun_.c: $(SRCDIR)/shun.c translate
615
+ ./translate $(SRCDIR)/shun.c >shun_.c
616616
617617
shun.o: shun_.c shun.h $(SRCDIR)/config.h
618618
$(XTCC) -o shun.o -c shun_.c
619619
620620
shun.h: headers
621
-stat_.c: $(SRCDIR)/stat.c $(SRCDIR)/VERSION translate
622
- ./translate $(SRCDIR)/stat.c | sed -f $(SRCDIR)/VERSION >stat_.c
621
+stat_.c: $(SRCDIR)/stat.c translate
622
+ ./translate $(SRCDIR)/stat.c >stat_.c
623623
624624
stat.o: stat_.c stat.h $(SRCDIR)/config.h
625625
$(XTCC) -o stat.o -c stat_.c
626626
627627
stat.h: headers
628
-style_.c: $(SRCDIR)/style.c $(SRCDIR)/VERSION translate
629
- ./translate $(SRCDIR)/style.c | sed -f $(SRCDIR)/VERSION >style_.c
628
+style_.c: $(SRCDIR)/style.c translate
629
+ ./translate $(SRCDIR)/style.c >style_.c
630630
631631
style.o: style_.c style.h $(SRCDIR)/config.h
632632
$(XTCC) -o style.o -c style_.c
633633
634634
style.h: headers
635
-sync_.c: $(SRCDIR)/sync.c $(SRCDIR)/VERSION translate
636
- ./translate $(SRCDIR)/sync.c | sed -f $(SRCDIR)/VERSION >sync_.c
635
+sync_.c: $(SRCDIR)/sync.c translate
636
+ ./translate $(SRCDIR)/sync.c >sync_.c
637637
638638
sync.o: sync_.c sync.h $(SRCDIR)/config.h
639639
$(XTCC) -o sync.o -c sync_.c
640640
641641
sync.h: headers
642
-tag_.c: $(SRCDIR)/tag.c $(SRCDIR)/VERSION translate
643
- ./translate $(SRCDIR)/tag.c | sed -f $(SRCDIR)/VERSION >tag_.c
642
+tag_.c: $(SRCDIR)/tag.c translate
643
+ ./translate $(SRCDIR)/tag.c >tag_.c
644644
645645
tag.o: tag_.c tag.h $(SRCDIR)/config.h
646646
$(XTCC) -o tag.o -c tag_.c
647647
648648
tag.h: headers
649
-tagview_.c: $(SRCDIR)/tagview.c $(SRCDIR)/VERSION translate
650
- ./translate $(SRCDIR)/tagview.c | sed -f $(SRCDIR)/VERSION >tagview_.c
649
+tagview_.c: $(SRCDIR)/tagview.c translate
650
+ ./translate $(SRCDIR)/tagview.c >tagview_.c
651651
652652
tagview.o: tagview_.c tagview.h $(SRCDIR)/config.h
653653
$(XTCC) -o tagview.o -c tagview_.c
654654
655655
tagview.h: headers
656
-th_main_.c: $(SRCDIR)/th_main.c $(SRCDIR)/VERSION translate
657
- ./translate $(SRCDIR)/th_main.c | sed -f $(SRCDIR)/VERSION >th_main_.c
656
+th_main_.c: $(SRCDIR)/th_main.c translate
657
+ ./translate $(SRCDIR)/th_main.c >th_main_.c
658658
659659
th_main.o: th_main_.c th_main.h $(SRCDIR)/config.h
660660
$(XTCC) -o th_main.o -c th_main_.c
661661
662662
th_main.h: headers
663
-timeline_.c: $(SRCDIR)/timeline.c $(SRCDIR)/VERSION translate
664
- ./translate $(SRCDIR)/timeline.c | sed -f $(SRCDIR)/VERSION >timeline_.c
663
+timeline_.c: $(SRCDIR)/timeline.c translate
664
+ ./translate $(SRCDIR)/timeline.c >timeline_.c
665665
666666
timeline.o: timeline_.c timeline.h $(SRCDIR)/config.h
667667
$(XTCC) -o timeline.o -c timeline_.c
668668
669669
timeline.h: headers
670
-tkt_.c: $(SRCDIR)/tkt.c $(SRCDIR)/VERSION translate
671
- ./translate $(SRCDIR)/tkt.c | sed -f $(SRCDIR)/VERSION >tkt_.c
670
+tkt_.c: $(SRCDIR)/tkt.c translate
671
+ ./translate $(SRCDIR)/tkt.c >tkt_.c
672672
673673
tkt.o: tkt_.c tkt.h $(SRCDIR)/config.h
674674
$(XTCC) -o tkt.o -c tkt_.c
675675
676676
tkt.h: headers
677
-tktsetup_.c: $(SRCDIR)/tktsetup.c $(SRCDIR)/VERSION translate
678
- ./translate $(SRCDIR)/tktsetup.c | sed -f $(SRCDIR)/VERSION >tktsetup_.c
677
+tktsetup_.c: $(SRCDIR)/tktsetup.c translate
678
+ ./translate $(SRCDIR)/tktsetup.c >tktsetup_.c
679679
680680
tktsetup.o: tktsetup_.c tktsetup.h $(SRCDIR)/config.h
681681
$(XTCC) -o tktsetup.o -c tktsetup_.c
682682
683683
tktsetup.h: headers
684
-undo_.c: $(SRCDIR)/undo.c $(SRCDIR)/VERSION translate
685
- ./translate $(SRCDIR)/undo.c | sed -f $(SRCDIR)/VERSION >undo_.c
684
+undo_.c: $(SRCDIR)/undo.c translate
685
+ ./translate $(SRCDIR)/undo.c >undo_.c
686686
687687
undo.o: undo_.c undo.h $(SRCDIR)/config.h
688688
$(XTCC) -o undo.o -c undo_.c
689689
690690
undo.h: headers
691
-update_.c: $(SRCDIR)/update.c $(SRCDIR)/VERSION translate
692
- ./translate $(SRCDIR)/update.c | sed -f $(SRCDIR)/VERSION >update_.c
691
+update_.c: $(SRCDIR)/update.c translate
692
+ ./translate $(SRCDIR)/update.c >update_.c
693693
694694
update.o: update_.c update.h $(SRCDIR)/config.h
695695
$(XTCC) -o update.o -c update_.c
696696
697697
update.h: headers
698
-url_.c: $(SRCDIR)/url.c $(SRCDIR)/VERSION translate
699
- ./translate $(SRCDIR)/url.c | sed -f $(SRCDIR)/VERSION >url_.c
698
+url_.c: $(SRCDIR)/url.c translate
699
+ ./translate $(SRCDIR)/url.c >url_.c
700700
701701
url.o: url_.c url.h $(SRCDIR)/config.h
702702
$(XTCC) -o url.o -c url_.c
703703
704704
url.h: headers
705
-user_.c: $(SRCDIR)/user.c $(SRCDIR)/VERSION translate
706
- ./translate $(SRCDIR)/user.c | sed -f $(SRCDIR)/VERSION >user_.c
705
+user_.c: $(SRCDIR)/user.c translate
706
+ ./translate $(SRCDIR)/user.c >user_.c
707707
708708
user.o: user_.c user.h $(SRCDIR)/config.h
709709
$(XTCC) -o user.o -c user_.c
710710
711711
user.h: headers
712
-verify_.c: $(SRCDIR)/verify.c $(SRCDIR)/VERSION translate
713
- ./translate $(SRCDIR)/verify.c | sed -f $(SRCDIR)/VERSION >verify_.c
712
+verify_.c: $(SRCDIR)/verify.c translate
713
+ ./translate $(SRCDIR)/verify.c >verify_.c
714714
715715
verify.o: verify_.c verify.h $(SRCDIR)/config.h
716716
$(XTCC) -o verify.o -c verify_.c
717717
718718
verify.h: headers
719
-vfile_.c: $(SRCDIR)/vfile.c $(SRCDIR)/VERSION translate
720
- ./translate $(SRCDIR)/vfile.c | sed -f $(SRCDIR)/VERSION >vfile_.c
719
+vfile_.c: $(SRCDIR)/vfile.c translate
720
+ ./translate $(SRCDIR)/vfile.c >vfile_.c
721721
722722
vfile.o: vfile_.c vfile.h $(SRCDIR)/config.h
723723
$(XTCC) -o vfile.o -c vfile_.c
724724
725725
vfile.h: headers
726
-wiki_.c: $(SRCDIR)/wiki.c $(SRCDIR)/VERSION translate
727
- ./translate $(SRCDIR)/wiki.c | sed -f $(SRCDIR)/VERSION >wiki_.c
726
+wiki_.c: $(SRCDIR)/wiki.c translate
727
+ ./translate $(SRCDIR)/wiki.c >wiki_.c
728728
729729
wiki.o: wiki_.c wiki.h $(SRCDIR)/config.h
730730
$(XTCC) -o wiki.o -c wiki_.c
731731
732732
wiki.h: headers
733
-wikiformat_.c: $(SRCDIR)/wikiformat.c $(SRCDIR)/VERSION translate
734
- ./translate $(SRCDIR)/wikiformat.c | sed -f $(SRCDIR)/VERSION >wikiformat_.c
733
+wikiformat_.c: $(SRCDIR)/wikiformat.c translate
734
+ ./translate $(SRCDIR)/wikiformat.c >wikiformat_.c
735735
736736
wikiformat.o: wikiformat_.c wikiformat.h $(SRCDIR)/config.h
737737
$(XTCC) -o wikiformat.o -c wikiformat_.c
738738
739739
wikiformat.h: headers
740
-winhttp_.c: $(SRCDIR)/winhttp.c $(SRCDIR)/VERSION translate
741
- ./translate $(SRCDIR)/winhttp.c | sed -f $(SRCDIR)/VERSION >winhttp_.c
740
+winhttp_.c: $(SRCDIR)/winhttp.c translate
741
+ ./translate $(SRCDIR)/winhttp.c >winhttp_.c
742742
743743
winhttp.o: winhttp_.c winhttp.h $(SRCDIR)/config.h
744744
$(XTCC) -o winhttp.o -c winhttp_.c
745745
746746
winhttp.h: headers
747
-xfer_.c: $(SRCDIR)/xfer.c $(SRCDIR)/VERSION translate
748
- ./translate $(SRCDIR)/xfer.c | sed -f $(SRCDIR)/VERSION >xfer_.c
747
+xfer_.c: $(SRCDIR)/xfer.c translate
748
+ ./translate $(SRCDIR)/xfer.c >xfer_.c
749749
750750
xfer.o: xfer_.c xfer.h $(SRCDIR)/config.h
751751
$(XTCC) -o xfer.o -c xfer_.c
752752
753753
xfer.h: headers
754
-zip_.c: $(SRCDIR)/zip.c $(SRCDIR)/VERSION translate
755
- ./translate $(SRCDIR)/zip.c | sed -f $(SRCDIR)/VERSION >zip_.c
754
+zip_.c: $(SRCDIR)/zip.c translate
755
+ ./translate $(SRCDIR)/zip.c >zip_.c
756756
757757
zip.o: zip_.c zip.h $(SRCDIR)/config.h
758758
$(XTCC) -o zip.o -c zip_.c
759759
760760
zip.h: headers
761761
--- src/main.mk
+++ src/main.mk
@@ -273,488 +273,488 @@
273 headers: page_index.h makeheaders VERSION.h
274 ./makeheaders add_.c:add.h admin_.c:admin.h allrepo_.c:allrepo.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.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 construct_.c:construct.h content_.c:content.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 doc_.c:doc.h encode_.c:encode.h file_.c:file.h http_.c:http.h http_socket_.c:http_socket.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h my_page_.c:my_page.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h rstats_.c:rstats.h schema_.c:schema.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tagview_.c:tagview.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
275 touch headers
276 headers: Makefile
277 Makefile:
278 add_.c: $(SRCDIR)/add.c $(SRCDIR)/VERSION translate
279 ./translate $(SRCDIR)/add.c | sed -f $(SRCDIR)/VERSION >add_.c
280
281 add.o: add_.c add.h $(SRCDIR)/config.h
282 $(XTCC) -o add.o -c add_.c
283
284 add.h: headers
285 admin_.c: $(SRCDIR)/admin.c $(SRCDIR)/VERSION translate
286 ./translate $(SRCDIR)/admin.c | sed -f $(SRCDIR)/VERSION >admin_.c
287
288 admin.o: admin_.c admin.h $(SRCDIR)/config.h
289 $(XTCC) -o admin.o -c admin_.c
290
291 admin.h: headers
292 allrepo_.c: $(SRCDIR)/allrepo.c $(SRCDIR)/VERSION translate
293 ./translate $(SRCDIR)/allrepo.c | sed -f $(SRCDIR)/VERSION >allrepo_.c
294
295 allrepo.o: allrepo_.c allrepo.h $(SRCDIR)/config.h
296 $(XTCC) -o allrepo.o -c allrepo_.c
297
298 allrepo.h: headers
299 bag_.c: $(SRCDIR)/bag.c $(SRCDIR)/VERSION translate
300 ./translate $(SRCDIR)/bag.c | sed -f $(SRCDIR)/VERSION >bag_.c
301
302 bag.o: bag_.c bag.h $(SRCDIR)/config.h
303 $(XTCC) -o bag.o -c bag_.c
304
305 bag.h: headers
306 blob_.c: $(SRCDIR)/blob.c $(SRCDIR)/VERSION translate
307 ./translate $(SRCDIR)/blob.c | sed -f $(SRCDIR)/VERSION >blob_.c
308
309 blob.o: blob_.c blob.h $(SRCDIR)/config.h
310 $(XTCC) -o blob.o -c blob_.c
311
312 blob.h: headers
313 branch_.c: $(SRCDIR)/branch.c $(SRCDIR)/VERSION translate
314 ./translate $(SRCDIR)/branch.c | sed -f $(SRCDIR)/VERSION >branch_.c
315
316 branch.o: branch_.c branch.h $(SRCDIR)/config.h
317 $(XTCC) -o branch.o -c branch_.c
318
319 branch.h: headers
320 browse_.c: $(SRCDIR)/browse.c $(SRCDIR)/VERSION translate
321 ./translate $(SRCDIR)/browse.c | sed -f $(SRCDIR)/VERSION >browse_.c
322
323 browse.o: browse_.c browse.h $(SRCDIR)/config.h
324 $(XTCC) -o browse.o -c browse_.c
325
326 browse.h: headers
327 captcha_.c: $(SRCDIR)/captcha.c $(SRCDIR)/VERSION translate
328 ./translate $(SRCDIR)/captcha.c | sed -f $(SRCDIR)/VERSION >captcha_.c
329
330 captcha.o: captcha_.c captcha.h $(SRCDIR)/config.h
331 $(XTCC) -o captcha.o -c captcha_.c
332
333 captcha.h: headers
334 cgi_.c: $(SRCDIR)/cgi.c $(SRCDIR)/VERSION translate
335 ./translate $(SRCDIR)/cgi.c | sed -f $(SRCDIR)/VERSION >cgi_.c
336
337 cgi.o: cgi_.c cgi.h $(SRCDIR)/config.h
338 $(XTCC) -o cgi.o -c cgi_.c
339
340 cgi.h: headers
341 checkin_.c: $(SRCDIR)/checkin.c $(SRCDIR)/VERSION translate
342 ./translate $(SRCDIR)/checkin.c | sed -f $(SRCDIR)/VERSION >checkin_.c
343
344 checkin.o: checkin_.c checkin.h $(SRCDIR)/config.h
345 $(XTCC) -o checkin.o -c checkin_.c
346
347 checkin.h: headers
348 checkout_.c: $(SRCDIR)/checkout.c $(SRCDIR)/VERSION translate
349 ./translate $(SRCDIR)/checkout.c | sed -f $(SRCDIR)/VERSION >checkout_.c
350
351 checkout.o: checkout_.c checkout.h $(SRCDIR)/config.h
352 $(XTCC) -o checkout.o -c checkout_.c
353
354 checkout.h: headers
355 clearsign_.c: $(SRCDIR)/clearsign.c $(SRCDIR)/VERSION translate
356 ./translate $(SRCDIR)/clearsign.c | sed -f $(SRCDIR)/VERSION >clearsign_.c
357
358 clearsign.o: clearsign_.c clearsign.h $(SRCDIR)/config.h
359 $(XTCC) -o clearsign.o -c clearsign_.c
360
361 clearsign.h: headers
362 clone_.c: $(SRCDIR)/clone.c $(SRCDIR)/VERSION translate
363 ./translate $(SRCDIR)/clone.c | sed -f $(SRCDIR)/VERSION >clone_.c
364
365 clone.o: clone_.c clone.h $(SRCDIR)/config.h
366 $(XTCC) -o clone.o -c clone_.c
367
368 clone.h: headers
369 comformat_.c: $(SRCDIR)/comformat.c $(SRCDIR)/VERSION translate
370 ./translate $(SRCDIR)/comformat.c | sed -f $(SRCDIR)/VERSION >comformat_.c
371
372 comformat.o: comformat_.c comformat.h $(SRCDIR)/config.h
373 $(XTCC) -o comformat.o -c comformat_.c
374
375 comformat.h: headers
376 configure_.c: $(SRCDIR)/configure.c $(SRCDIR)/VERSION translate
377 ./translate $(SRCDIR)/configure.c | sed -f $(SRCDIR)/VERSION >configure_.c
378
379 configure.o: configure_.c configure.h $(SRCDIR)/config.h
380 $(XTCC) -o configure.o -c configure_.c
381
382 configure.h: headers
383 construct_.c: $(SRCDIR)/construct.c $(SRCDIR)/VERSION translate
384 ./translate $(SRCDIR)/construct.c | sed -f $(SRCDIR)/VERSION >construct_.c
385
386 construct.o: construct_.c construct.h $(SRCDIR)/config.h
387 $(XTCC) -o construct.o -c construct_.c
388
389 construct.h: headers
390 content_.c: $(SRCDIR)/content.c $(SRCDIR)/VERSION translate
391 ./translate $(SRCDIR)/content.c | sed -f $(SRCDIR)/VERSION >content_.c
392
393 content.o: content_.c content.h $(SRCDIR)/config.h
394 $(XTCC) -o content.o -c content_.c
395
396 content.h: headers
397 db_.c: $(SRCDIR)/db.c $(SRCDIR)/VERSION translate
398 ./translate $(SRCDIR)/db.c | sed -f $(SRCDIR)/VERSION >db_.c
399
400 db.o: db_.c db.h $(SRCDIR)/config.h
401 $(XTCC) -o db.o -c db_.c
402
403 db.h: headers
404 delta_.c: $(SRCDIR)/delta.c $(SRCDIR)/VERSION translate
405 ./translate $(SRCDIR)/delta.c | sed -f $(SRCDIR)/VERSION >delta_.c
406
407 delta.o: delta_.c delta.h $(SRCDIR)/config.h
408 $(XTCC) -o delta.o -c delta_.c
409
410 delta.h: headers
411 deltacmd_.c: $(SRCDIR)/deltacmd.c $(SRCDIR)/VERSION translate
412 ./translate $(SRCDIR)/deltacmd.c | sed -f $(SRCDIR)/VERSION >deltacmd_.c
413
414 deltacmd.o: deltacmd_.c deltacmd.h $(SRCDIR)/config.h
415 $(XTCC) -o deltacmd.o -c deltacmd_.c
416
417 deltacmd.h: headers
418 descendants_.c: $(SRCDIR)/descendants.c $(SRCDIR)/VERSION translate
419 ./translate $(SRCDIR)/descendants.c | sed -f $(SRCDIR)/VERSION >descendants_.c
420
421 descendants.o: descendants_.c descendants.h $(SRCDIR)/config.h
422 $(XTCC) -o descendants.o -c descendants_.c
423
424 descendants.h: headers
425 diff_.c: $(SRCDIR)/diff.c $(SRCDIR)/VERSION translate
426 ./translate $(SRCDIR)/diff.c | sed -f $(SRCDIR)/VERSION >diff_.c
427
428 diff.o: diff_.c diff.h $(SRCDIR)/config.h
429 $(XTCC) -o diff.o -c diff_.c
430
431 diff.h: headers
432 diffcmd_.c: $(SRCDIR)/diffcmd.c $(SRCDIR)/VERSION translate
433 ./translate $(SRCDIR)/diffcmd.c | sed -f $(SRCDIR)/VERSION >diffcmd_.c
434
435 diffcmd.o: diffcmd_.c diffcmd.h $(SRCDIR)/config.h
436 $(XTCC) -o diffcmd.o -c diffcmd_.c
437
438 diffcmd.h: headers
439 doc_.c: $(SRCDIR)/doc.c $(SRCDIR)/VERSION translate
440 ./translate $(SRCDIR)/doc.c | sed -f $(SRCDIR)/VERSION >doc_.c
441
442 doc.o: doc_.c doc.h $(SRCDIR)/config.h
443 $(XTCC) -o doc.o -c doc_.c
444
445 doc.h: headers
446 encode_.c: $(SRCDIR)/encode.c $(SRCDIR)/VERSION translate
447 ./translate $(SRCDIR)/encode.c | sed -f $(SRCDIR)/VERSION >encode_.c
448
449 encode.o: encode_.c encode.h $(SRCDIR)/config.h
450 $(XTCC) -o encode.o -c encode_.c
451
452 encode.h: headers
453 file_.c: $(SRCDIR)/file.c $(SRCDIR)/VERSION translate
454 ./translate $(SRCDIR)/file.c | sed -f $(SRCDIR)/VERSION >file_.c
455
456 file.o: file_.c file.h $(SRCDIR)/config.h
457 $(XTCC) -o file.o -c file_.c
458
459 file.h: headers
460 http_.c: $(SRCDIR)/http.c $(SRCDIR)/VERSION translate
461 ./translate $(SRCDIR)/http.c | sed -f $(SRCDIR)/VERSION >http_.c
462
463 http.o: http_.c http.h $(SRCDIR)/config.h
464 $(XTCC) -o http.o -c http_.c
465
466 http.h: headers
467 http_socket_.c: $(SRCDIR)/http_socket.c $(SRCDIR)/VERSION translate
468 ./translate $(SRCDIR)/http_socket.c | sed -f $(SRCDIR)/VERSION >http_socket_.c
469
470 http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
471 $(XTCC) -o http_socket.o -c http_socket_.c
472
473 http_socket.h: headers
474 http_transport_.c: $(SRCDIR)/http_transport.c $(SRCDIR)/VERSION translate
475 ./translate $(SRCDIR)/http_transport.c | sed -f $(SRCDIR)/VERSION >http_transport_.c
476
477 http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
478 $(XTCC) -o http_transport.o -c http_transport_.c
479
480 http_transport.h: headers
481 info_.c: $(SRCDIR)/info.c $(SRCDIR)/VERSION translate
482 ./translate $(SRCDIR)/info.c | sed -f $(SRCDIR)/VERSION >info_.c
483
484 info.o: info_.c info.h $(SRCDIR)/config.h
485 $(XTCC) -o info.o -c info_.c
486
487 info.h: headers
488 login_.c: $(SRCDIR)/login.c $(SRCDIR)/VERSION translate
489 ./translate $(SRCDIR)/login.c | sed -f $(SRCDIR)/VERSION >login_.c
490
491 login.o: login_.c login.h $(SRCDIR)/config.h
492 $(XTCC) -o login.o -c login_.c
493
494 login.h: headers
495 main_.c: $(SRCDIR)/main.c $(SRCDIR)/VERSION translate
496 ./translate $(SRCDIR)/main.c | sed -f $(SRCDIR)/VERSION >main_.c
497
498 main.o: main_.c main.h page_index.h $(SRCDIR)/config.h
499 $(XTCC) -o main.o -c main_.c
500
501 main.h: headers
502 manifest_.c: $(SRCDIR)/manifest.c $(SRCDIR)/VERSION translate
503 ./translate $(SRCDIR)/manifest.c | sed -f $(SRCDIR)/VERSION >manifest_.c
504
505 manifest.o: manifest_.c manifest.h $(SRCDIR)/config.h
506 $(XTCC) -o manifest.o -c manifest_.c
507
508 manifest.h: headers
509 md5_.c: $(SRCDIR)/md5.c $(SRCDIR)/VERSION translate
510 ./translate $(SRCDIR)/md5.c | sed -f $(SRCDIR)/VERSION >md5_.c
511
512 md5.o: md5_.c md5.h $(SRCDIR)/config.h
513 $(XTCC) -o md5.o -c md5_.c
514
515 md5.h: headers
516 merge_.c: $(SRCDIR)/merge.c $(SRCDIR)/VERSION translate
517 ./translate $(SRCDIR)/merge.c | sed -f $(SRCDIR)/VERSION >merge_.c
518
519 merge.o: merge_.c merge.h $(SRCDIR)/config.h
520 $(XTCC) -o merge.o -c merge_.c
521
522 merge.h: headers
523 merge3_.c: $(SRCDIR)/merge3.c $(SRCDIR)/VERSION translate
524 ./translate $(SRCDIR)/merge3.c | sed -f $(SRCDIR)/VERSION >merge3_.c
525
526 merge3.o: merge3_.c merge3.h $(SRCDIR)/config.h
527 $(XTCC) -o merge3.o -c merge3_.c
528
529 merge3.h: headers
530 my_page_.c: $(SRCDIR)/my_page.c $(SRCDIR)/VERSION translate
531 ./translate $(SRCDIR)/my_page.c | sed -f $(SRCDIR)/VERSION >my_page_.c
532
533 my_page.o: my_page_.c my_page.h $(SRCDIR)/config.h
534 $(XTCC) -o my_page.o -c my_page_.c
535
536 my_page.h: headers
537 name_.c: $(SRCDIR)/name.c $(SRCDIR)/VERSION translate
538 ./translate $(SRCDIR)/name.c | sed -f $(SRCDIR)/VERSION >name_.c
539
540 name.o: name_.c name.h $(SRCDIR)/config.h
541 $(XTCC) -o name.o -c name_.c
542
543 name.h: headers
544 pivot_.c: $(SRCDIR)/pivot.c $(SRCDIR)/VERSION translate
545 ./translate $(SRCDIR)/pivot.c | sed -f $(SRCDIR)/VERSION >pivot_.c
546
547 pivot.o: pivot_.c pivot.h $(SRCDIR)/config.h
548 $(XTCC) -o pivot.o -c pivot_.c
549
550 pivot.h: headers
551 pqueue_.c: $(SRCDIR)/pqueue.c $(SRCDIR)/VERSION translate
552 ./translate $(SRCDIR)/pqueue.c | sed -f $(SRCDIR)/VERSION >pqueue_.c
553
554 pqueue.o: pqueue_.c pqueue.h $(SRCDIR)/config.h
555 $(XTCC) -o pqueue.o -c pqueue_.c
556
557 pqueue.h: headers
558 printf_.c: $(SRCDIR)/printf.c $(SRCDIR)/VERSION translate
559 ./translate $(SRCDIR)/printf.c | sed -f $(SRCDIR)/VERSION >printf_.c
560
561 printf.o: printf_.c printf.h $(SRCDIR)/config.h
562 $(XTCC) -o printf.o -c printf_.c
563
564 printf.h: headers
565 rebuild_.c: $(SRCDIR)/rebuild.c $(SRCDIR)/VERSION translate
566 ./translate $(SRCDIR)/rebuild.c | sed -f $(SRCDIR)/VERSION >rebuild_.c
567
568 rebuild.o: rebuild_.c rebuild.h $(SRCDIR)/config.h
569 $(XTCC) -o rebuild.o -c rebuild_.c
570
571 rebuild.h: headers
572 report_.c: $(SRCDIR)/report.c $(SRCDIR)/VERSION translate
573 ./translate $(SRCDIR)/report.c | sed -f $(SRCDIR)/VERSION >report_.c
574
575 report.o: report_.c report.h $(SRCDIR)/config.h
576 $(XTCC) -o report.o -c report_.c
577
578 report.h: headers
579 rss_.c: $(SRCDIR)/rss.c $(SRCDIR)/VERSION translate
580 ./translate $(SRCDIR)/rss.c | sed -f $(SRCDIR)/VERSION >rss_.c
581
582 rss.o: rss_.c rss.h $(SRCDIR)/config.h
583 $(XTCC) -o rss.o -c rss_.c
584
585 rss.h: headers
586 rstats_.c: $(SRCDIR)/rstats.c $(SRCDIR)/VERSION translate
587 ./translate $(SRCDIR)/rstats.c | sed -f $(SRCDIR)/VERSION >rstats_.c
588
589 rstats.o: rstats_.c rstats.h $(SRCDIR)/config.h
590 $(XTCC) -o rstats.o -c rstats_.c
591
592 rstats.h: headers
593 schema_.c: $(SRCDIR)/schema.c $(SRCDIR)/VERSION translate
594 ./translate $(SRCDIR)/schema.c | sed -f $(SRCDIR)/VERSION >schema_.c
595
596 schema.o: schema_.c schema.h $(SRCDIR)/config.h
597 $(XTCC) -o schema.o -c schema_.c
598
599 schema.h: headers
600 setup_.c: $(SRCDIR)/setup.c $(SRCDIR)/VERSION translate
601 ./translate $(SRCDIR)/setup.c | sed -f $(SRCDIR)/VERSION >setup_.c
602
603 setup.o: setup_.c setup.h $(SRCDIR)/config.h
604 $(XTCC) -o setup.o -c setup_.c
605
606 setup.h: headers
607 sha1_.c: $(SRCDIR)/sha1.c $(SRCDIR)/VERSION translate
608 ./translate $(SRCDIR)/sha1.c | sed -f $(SRCDIR)/VERSION >sha1_.c
609
610 sha1.o: sha1_.c sha1.h $(SRCDIR)/config.h
611 $(XTCC) -o sha1.o -c sha1_.c
612
613 sha1.h: headers
614 shun_.c: $(SRCDIR)/shun.c $(SRCDIR)/VERSION translate
615 ./translate $(SRCDIR)/shun.c | sed -f $(SRCDIR)/VERSION >shun_.c
616
617 shun.o: shun_.c shun.h $(SRCDIR)/config.h
618 $(XTCC) -o shun.o -c shun_.c
619
620 shun.h: headers
621 stat_.c: $(SRCDIR)/stat.c $(SRCDIR)/VERSION translate
622 ./translate $(SRCDIR)/stat.c | sed -f $(SRCDIR)/VERSION >stat_.c
623
624 stat.o: stat_.c stat.h $(SRCDIR)/config.h
625 $(XTCC) -o stat.o -c stat_.c
626
627 stat.h: headers
628 style_.c: $(SRCDIR)/style.c $(SRCDIR)/VERSION translate
629 ./translate $(SRCDIR)/style.c | sed -f $(SRCDIR)/VERSION >style_.c
630
631 style.o: style_.c style.h $(SRCDIR)/config.h
632 $(XTCC) -o style.o -c style_.c
633
634 style.h: headers
635 sync_.c: $(SRCDIR)/sync.c $(SRCDIR)/VERSION translate
636 ./translate $(SRCDIR)/sync.c | sed -f $(SRCDIR)/VERSION >sync_.c
637
638 sync.o: sync_.c sync.h $(SRCDIR)/config.h
639 $(XTCC) -o sync.o -c sync_.c
640
641 sync.h: headers
642 tag_.c: $(SRCDIR)/tag.c $(SRCDIR)/VERSION translate
643 ./translate $(SRCDIR)/tag.c | sed -f $(SRCDIR)/VERSION >tag_.c
644
645 tag.o: tag_.c tag.h $(SRCDIR)/config.h
646 $(XTCC) -o tag.o -c tag_.c
647
648 tag.h: headers
649 tagview_.c: $(SRCDIR)/tagview.c $(SRCDIR)/VERSION translate
650 ./translate $(SRCDIR)/tagview.c | sed -f $(SRCDIR)/VERSION >tagview_.c
651
652 tagview.o: tagview_.c tagview.h $(SRCDIR)/config.h
653 $(XTCC) -o tagview.o -c tagview_.c
654
655 tagview.h: headers
656 th_main_.c: $(SRCDIR)/th_main.c $(SRCDIR)/VERSION translate
657 ./translate $(SRCDIR)/th_main.c | sed -f $(SRCDIR)/VERSION >th_main_.c
658
659 th_main.o: th_main_.c th_main.h $(SRCDIR)/config.h
660 $(XTCC) -o th_main.o -c th_main_.c
661
662 th_main.h: headers
663 timeline_.c: $(SRCDIR)/timeline.c $(SRCDIR)/VERSION translate
664 ./translate $(SRCDIR)/timeline.c | sed -f $(SRCDIR)/VERSION >timeline_.c
665
666 timeline.o: timeline_.c timeline.h $(SRCDIR)/config.h
667 $(XTCC) -o timeline.o -c timeline_.c
668
669 timeline.h: headers
670 tkt_.c: $(SRCDIR)/tkt.c $(SRCDIR)/VERSION translate
671 ./translate $(SRCDIR)/tkt.c | sed -f $(SRCDIR)/VERSION >tkt_.c
672
673 tkt.o: tkt_.c tkt.h $(SRCDIR)/config.h
674 $(XTCC) -o tkt.o -c tkt_.c
675
676 tkt.h: headers
677 tktsetup_.c: $(SRCDIR)/tktsetup.c $(SRCDIR)/VERSION translate
678 ./translate $(SRCDIR)/tktsetup.c | sed -f $(SRCDIR)/VERSION >tktsetup_.c
679
680 tktsetup.o: tktsetup_.c tktsetup.h $(SRCDIR)/config.h
681 $(XTCC) -o tktsetup.o -c tktsetup_.c
682
683 tktsetup.h: headers
684 undo_.c: $(SRCDIR)/undo.c $(SRCDIR)/VERSION translate
685 ./translate $(SRCDIR)/undo.c | sed -f $(SRCDIR)/VERSION >undo_.c
686
687 undo.o: undo_.c undo.h $(SRCDIR)/config.h
688 $(XTCC) -o undo.o -c undo_.c
689
690 undo.h: headers
691 update_.c: $(SRCDIR)/update.c $(SRCDIR)/VERSION translate
692 ./translate $(SRCDIR)/update.c | sed -f $(SRCDIR)/VERSION >update_.c
693
694 update.o: update_.c update.h $(SRCDIR)/config.h
695 $(XTCC) -o update.o -c update_.c
696
697 update.h: headers
698 url_.c: $(SRCDIR)/url.c $(SRCDIR)/VERSION translate
699 ./translate $(SRCDIR)/url.c | sed -f $(SRCDIR)/VERSION >url_.c
700
701 url.o: url_.c url.h $(SRCDIR)/config.h
702 $(XTCC) -o url.o -c url_.c
703
704 url.h: headers
705 user_.c: $(SRCDIR)/user.c $(SRCDIR)/VERSION translate
706 ./translate $(SRCDIR)/user.c | sed -f $(SRCDIR)/VERSION >user_.c
707
708 user.o: user_.c user.h $(SRCDIR)/config.h
709 $(XTCC) -o user.o -c user_.c
710
711 user.h: headers
712 verify_.c: $(SRCDIR)/verify.c $(SRCDIR)/VERSION translate
713 ./translate $(SRCDIR)/verify.c | sed -f $(SRCDIR)/VERSION >verify_.c
714
715 verify.o: verify_.c verify.h $(SRCDIR)/config.h
716 $(XTCC) -o verify.o -c verify_.c
717
718 verify.h: headers
719 vfile_.c: $(SRCDIR)/vfile.c $(SRCDIR)/VERSION translate
720 ./translate $(SRCDIR)/vfile.c | sed -f $(SRCDIR)/VERSION >vfile_.c
721
722 vfile.o: vfile_.c vfile.h $(SRCDIR)/config.h
723 $(XTCC) -o vfile.o -c vfile_.c
724
725 vfile.h: headers
726 wiki_.c: $(SRCDIR)/wiki.c $(SRCDIR)/VERSION translate
727 ./translate $(SRCDIR)/wiki.c | sed -f $(SRCDIR)/VERSION >wiki_.c
728
729 wiki.o: wiki_.c wiki.h $(SRCDIR)/config.h
730 $(XTCC) -o wiki.o -c wiki_.c
731
732 wiki.h: headers
733 wikiformat_.c: $(SRCDIR)/wikiformat.c $(SRCDIR)/VERSION translate
734 ./translate $(SRCDIR)/wikiformat.c | sed -f $(SRCDIR)/VERSION >wikiformat_.c
735
736 wikiformat.o: wikiformat_.c wikiformat.h $(SRCDIR)/config.h
737 $(XTCC) -o wikiformat.o -c wikiformat_.c
738
739 wikiformat.h: headers
740 winhttp_.c: $(SRCDIR)/winhttp.c $(SRCDIR)/VERSION translate
741 ./translate $(SRCDIR)/winhttp.c | sed -f $(SRCDIR)/VERSION >winhttp_.c
742
743 winhttp.o: winhttp_.c winhttp.h $(SRCDIR)/config.h
744 $(XTCC) -o winhttp.o -c winhttp_.c
745
746 winhttp.h: headers
747 xfer_.c: $(SRCDIR)/xfer.c $(SRCDIR)/VERSION translate
748 ./translate $(SRCDIR)/xfer.c | sed -f $(SRCDIR)/VERSION >xfer_.c
749
750 xfer.o: xfer_.c xfer.h $(SRCDIR)/config.h
751 $(XTCC) -o xfer.o -c xfer_.c
752
753 xfer.h: headers
754 zip_.c: $(SRCDIR)/zip.c $(SRCDIR)/VERSION translate
755 ./translate $(SRCDIR)/zip.c | sed -f $(SRCDIR)/VERSION >zip_.c
756
757 zip.o: zip_.c zip.h $(SRCDIR)/config.h
758 $(XTCC) -o zip.o -c zip_.c
759
760 zip.h: headers
761
--- src/main.mk
+++ src/main.mk
@@ -273,488 +273,488 @@
273 headers: page_index.h makeheaders VERSION.h
274 ./makeheaders add_.c:add.h admin_.c:admin.h allrepo_.c:allrepo.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.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 construct_.c:construct.h content_.c:content.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 doc_.c:doc.h encode_.c:encode.h file_.c:file.h http_.c:http.h http_socket_.c:http_socket.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h my_page_.c:my_page.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h rstats_.c:rstats.h schema_.c:schema.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h tagview_.c:tagview.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
275 touch headers
276 headers: Makefile
277 Makefile:
278 add_.c: $(SRCDIR)/add.c translate
279 ./translate $(SRCDIR)/add.c >add_.c
280
281 add.o: add_.c add.h $(SRCDIR)/config.h
282 $(XTCC) -o add.o -c add_.c
283
284 add.h: headers
285 admin_.c: $(SRCDIR)/admin.c translate
286 ./translate $(SRCDIR)/admin.c >admin_.c
287
288 admin.o: admin_.c admin.h $(SRCDIR)/config.h
289 $(XTCC) -o admin.o -c admin_.c
290
291 admin.h: headers
292 allrepo_.c: $(SRCDIR)/allrepo.c translate
293 ./translate $(SRCDIR)/allrepo.c >allrepo_.c
294
295 allrepo.o: allrepo_.c allrepo.h $(SRCDIR)/config.h
296 $(XTCC) -o allrepo.o -c allrepo_.c
297
298 allrepo.h: headers
299 bag_.c: $(SRCDIR)/bag.c translate
300 ./translate $(SRCDIR)/bag.c >bag_.c
301
302 bag.o: bag_.c bag.h $(SRCDIR)/config.h
303 $(XTCC) -o bag.o -c bag_.c
304
305 bag.h: headers
306 blob_.c: $(SRCDIR)/blob.c translate
307 ./translate $(SRCDIR)/blob.c >blob_.c
308
309 blob.o: blob_.c blob.h $(SRCDIR)/config.h
310 $(XTCC) -o blob.o -c blob_.c
311
312 blob.h: headers
313 branch_.c: $(SRCDIR)/branch.c translate
314 ./translate $(SRCDIR)/branch.c >branch_.c
315
316 branch.o: branch_.c branch.h $(SRCDIR)/config.h
317 $(XTCC) -o branch.o -c branch_.c
318
319 branch.h: headers
320 browse_.c: $(SRCDIR)/browse.c translate
321 ./translate $(SRCDIR)/browse.c >browse_.c
322
323 browse.o: browse_.c browse.h $(SRCDIR)/config.h
324 $(XTCC) -o browse.o -c browse_.c
325
326 browse.h: headers
327 captcha_.c: $(SRCDIR)/captcha.c translate
328 ./translate $(SRCDIR)/captcha.c >captcha_.c
329
330 captcha.o: captcha_.c captcha.h $(SRCDIR)/config.h
331 $(XTCC) -o captcha.o -c captcha_.c
332
333 captcha.h: headers
334 cgi_.c: $(SRCDIR)/cgi.c translate
335 ./translate $(SRCDIR)/cgi.c >cgi_.c
336
337 cgi.o: cgi_.c cgi.h $(SRCDIR)/config.h
338 $(XTCC) -o cgi.o -c cgi_.c
339
340 cgi.h: headers
341 checkin_.c: $(SRCDIR)/checkin.c translate
342 ./translate $(SRCDIR)/checkin.c >checkin_.c
343
344 checkin.o: checkin_.c checkin.h $(SRCDIR)/config.h
345 $(XTCC) -o checkin.o -c checkin_.c
346
347 checkin.h: headers
348 checkout_.c: $(SRCDIR)/checkout.c translate
349 ./translate $(SRCDIR)/checkout.c >checkout_.c
350
351 checkout.o: checkout_.c checkout.h $(SRCDIR)/config.h
352 $(XTCC) -o checkout.o -c checkout_.c
353
354 checkout.h: headers
355 clearsign_.c: $(SRCDIR)/clearsign.c translate
356 ./translate $(SRCDIR)/clearsign.c >clearsign_.c
357
358 clearsign.o: clearsign_.c clearsign.h $(SRCDIR)/config.h
359 $(XTCC) -o clearsign.o -c clearsign_.c
360
361 clearsign.h: headers
362 clone_.c: $(SRCDIR)/clone.c translate
363 ./translate $(SRCDIR)/clone.c >clone_.c
364
365 clone.o: clone_.c clone.h $(SRCDIR)/config.h
366 $(XTCC) -o clone.o -c clone_.c
367
368 clone.h: headers
369 comformat_.c: $(SRCDIR)/comformat.c translate
370 ./translate $(SRCDIR)/comformat.c >comformat_.c
371
372 comformat.o: comformat_.c comformat.h $(SRCDIR)/config.h
373 $(XTCC) -o comformat.o -c comformat_.c
374
375 comformat.h: headers
376 configure_.c: $(SRCDIR)/configure.c translate
377 ./translate $(SRCDIR)/configure.c >configure_.c
378
379 configure.o: configure_.c configure.h $(SRCDIR)/config.h
380 $(XTCC) -o configure.o -c configure_.c
381
382 configure.h: headers
383 construct_.c: $(SRCDIR)/construct.c translate
384 ./translate $(SRCDIR)/construct.c >construct_.c
385
386 construct.o: construct_.c construct.h $(SRCDIR)/config.h
387 $(XTCC) -o construct.o -c construct_.c
388
389 construct.h: headers
390 content_.c: $(SRCDIR)/content.c translate
391 ./translate $(SRCDIR)/content.c >content_.c
392
393 content.o: content_.c content.h $(SRCDIR)/config.h
394 $(XTCC) -o content.o -c content_.c
395
396 content.h: headers
397 db_.c: $(SRCDIR)/db.c translate
398 ./translate $(SRCDIR)/db.c >db_.c
399
400 db.o: db_.c db.h $(SRCDIR)/config.h
401 $(XTCC) -o db.o -c db_.c
402
403 db.h: headers
404 delta_.c: $(SRCDIR)/delta.c translate
405 ./translate $(SRCDIR)/delta.c >delta_.c
406
407 delta.o: delta_.c delta.h $(SRCDIR)/config.h
408 $(XTCC) -o delta.o -c delta_.c
409
410 delta.h: headers
411 deltacmd_.c: $(SRCDIR)/deltacmd.c translate
412 ./translate $(SRCDIR)/deltacmd.c >deltacmd_.c
413
414 deltacmd.o: deltacmd_.c deltacmd.h $(SRCDIR)/config.h
415 $(XTCC) -o deltacmd.o -c deltacmd_.c
416
417 deltacmd.h: headers
418 descendants_.c: $(SRCDIR)/descendants.c translate
419 ./translate $(SRCDIR)/descendants.c >descendants_.c
420
421 descendants.o: descendants_.c descendants.h $(SRCDIR)/config.h
422 $(XTCC) -o descendants.o -c descendants_.c
423
424 descendants.h: headers
425 diff_.c: $(SRCDIR)/diff.c translate
426 ./translate $(SRCDIR)/diff.c >diff_.c
427
428 diff.o: diff_.c diff.h $(SRCDIR)/config.h
429 $(XTCC) -o diff.o -c diff_.c
430
431 diff.h: headers
432 diffcmd_.c: $(SRCDIR)/diffcmd.c translate
433 ./translate $(SRCDIR)/diffcmd.c >diffcmd_.c
434
435 diffcmd.o: diffcmd_.c diffcmd.h $(SRCDIR)/config.h
436 $(XTCC) -o diffcmd.o -c diffcmd_.c
437
438 diffcmd.h: headers
439 doc_.c: $(SRCDIR)/doc.c translate
440 ./translate $(SRCDIR)/doc.c >doc_.c
441
442 doc.o: doc_.c doc.h $(SRCDIR)/config.h
443 $(XTCC) -o doc.o -c doc_.c
444
445 doc.h: headers
446 encode_.c: $(SRCDIR)/encode.c translate
447 ./translate $(SRCDIR)/encode.c >encode_.c
448
449 encode.o: encode_.c encode.h $(SRCDIR)/config.h
450 $(XTCC) -o encode.o -c encode_.c
451
452 encode.h: headers
453 file_.c: $(SRCDIR)/file.c translate
454 ./translate $(SRCDIR)/file.c >file_.c
455
456 file.o: file_.c file.h $(SRCDIR)/config.h
457 $(XTCC) -o file.o -c file_.c
458
459 file.h: headers
460 http_.c: $(SRCDIR)/http.c translate
461 ./translate $(SRCDIR)/http.c >http_.c
462
463 http.o: http_.c http.h $(SRCDIR)/config.h
464 $(XTCC) -o http.o -c http_.c
465
466 http.h: headers
467 http_socket_.c: $(SRCDIR)/http_socket.c translate
468 ./translate $(SRCDIR)/http_socket.c >http_socket_.c
469
470 http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
471 $(XTCC) -o http_socket.o -c http_socket_.c
472
473 http_socket.h: headers
474 http_transport_.c: $(SRCDIR)/http_transport.c translate
475 ./translate $(SRCDIR)/http_transport.c >http_transport_.c
476
477 http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
478 $(XTCC) -o http_transport.o -c http_transport_.c
479
480 http_transport.h: headers
481 info_.c: $(SRCDIR)/info.c translate
482 ./translate $(SRCDIR)/info.c >info_.c
483
484 info.o: info_.c info.h $(SRCDIR)/config.h
485 $(XTCC) -o info.o -c info_.c
486
487 info.h: headers
488 login_.c: $(SRCDIR)/login.c translate
489 ./translate $(SRCDIR)/login.c >login_.c
490
491 login.o: login_.c login.h $(SRCDIR)/config.h
492 $(XTCC) -o login.o -c login_.c
493
494 login.h: headers
495 main_.c: $(SRCDIR)/main.c translate
496 ./translate $(SRCDIR)/main.c >main_.c
497
498 main.o: main_.c main.h page_index.h $(SRCDIR)/config.h
499 $(XTCC) -o main.o -c main_.c
500
501 main.h: headers
502 manifest_.c: $(SRCDIR)/manifest.c translate
503 ./translate $(SRCDIR)/manifest.c >manifest_.c
504
505 manifest.o: manifest_.c manifest.h $(SRCDIR)/config.h
506 $(XTCC) -o manifest.o -c manifest_.c
507
508 manifest.h: headers
509 md5_.c: $(SRCDIR)/md5.c translate
510 ./translate $(SRCDIR)/md5.c >md5_.c
511
512 md5.o: md5_.c md5.h $(SRCDIR)/config.h
513 $(XTCC) -o md5.o -c md5_.c
514
515 md5.h: headers
516 merge_.c: $(SRCDIR)/merge.c translate
517 ./translate $(SRCDIR)/merge.c >merge_.c
518
519 merge.o: merge_.c merge.h $(SRCDIR)/config.h
520 $(XTCC) -o merge.o -c merge_.c
521
522 merge.h: headers
523 merge3_.c: $(SRCDIR)/merge3.c translate
524 ./translate $(SRCDIR)/merge3.c >merge3_.c
525
526 merge3.o: merge3_.c merge3.h $(SRCDIR)/config.h
527 $(XTCC) -o merge3.o -c merge3_.c
528
529 merge3.h: headers
530 my_page_.c: $(SRCDIR)/my_page.c translate
531 ./translate $(SRCDIR)/my_page.c >my_page_.c
532
533 my_page.o: my_page_.c my_page.h $(SRCDIR)/config.h
534 $(XTCC) -o my_page.o -c my_page_.c
535
536 my_page.h: headers
537 name_.c: $(SRCDIR)/name.c translate
538 ./translate $(SRCDIR)/name.c >name_.c
539
540 name.o: name_.c name.h $(SRCDIR)/config.h
541 $(XTCC) -o name.o -c name_.c
542
543 name.h: headers
544 pivot_.c: $(SRCDIR)/pivot.c translate
545 ./translate $(SRCDIR)/pivot.c >pivot_.c
546
547 pivot.o: pivot_.c pivot.h $(SRCDIR)/config.h
548 $(XTCC) -o pivot.o -c pivot_.c
549
550 pivot.h: headers
551 pqueue_.c: $(SRCDIR)/pqueue.c translate
552 ./translate $(SRCDIR)/pqueue.c >pqueue_.c
553
554 pqueue.o: pqueue_.c pqueue.h $(SRCDIR)/config.h
555 $(XTCC) -o pqueue.o -c pqueue_.c
556
557 pqueue.h: headers
558 printf_.c: $(SRCDIR)/printf.c translate
559 ./translate $(SRCDIR)/printf.c >printf_.c
560
561 printf.o: printf_.c printf.h $(SRCDIR)/config.h
562 $(XTCC) -o printf.o -c printf_.c
563
564 printf.h: headers
565 rebuild_.c: $(SRCDIR)/rebuild.c translate
566 ./translate $(SRCDIR)/rebuild.c >rebuild_.c
567
568 rebuild.o: rebuild_.c rebuild.h $(SRCDIR)/config.h
569 $(XTCC) -o rebuild.o -c rebuild_.c
570
571 rebuild.h: headers
572 report_.c: $(SRCDIR)/report.c translate
573 ./translate $(SRCDIR)/report.c >report_.c
574
575 report.o: report_.c report.h $(SRCDIR)/config.h
576 $(XTCC) -o report.o -c report_.c
577
578 report.h: headers
579 rss_.c: $(SRCDIR)/rss.c translate
580 ./translate $(SRCDIR)/rss.c >rss_.c
581
582 rss.o: rss_.c rss.h $(SRCDIR)/config.h
583 $(XTCC) -o rss.o -c rss_.c
584
585 rss.h: headers
586 rstats_.c: $(SRCDIR)/rstats.c translate
587 ./translate $(SRCDIR)/rstats.c >rstats_.c
588
589 rstats.o: rstats_.c rstats.h $(SRCDIR)/config.h
590 $(XTCC) -o rstats.o -c rstats_.c
591
592 rstats.h: headers
593 schema_.c: $(SRCDIR)/schema.c translate
594 ./translate $(SRCDIR)/schema.c >schema_.c
595
596 schema.o: schema_.c schema.h $(SRCDIR)/config.h
597 $(XTCC) -o schema.o -c schema_.c
598
599 schema.h: headers
600 setup_.c: $(SRCDIR)/setup.c translate
601 ./translate $(SRCDIR)/setup.c >setup_.c
602
603 setup.o: setup_.c setup.h $(SRCDIR)/config.h
604 $(XTCC) -o setup.o -c setup_.c
605
606 setup.h: headers
607 sha1_.c: $(SRCDIR)/sha1.c translate
608 ./translate $(SRCDIR)/sha1.c >sha1_.c
609
610 sha1.o: sha1_.c sha1.h $(SRCDIR)/config.h
611 $(XTCC) -o sha1.o -c sha1_.c
612
613 sha1.h: headers
614 shun_.c: $(SRCDIR)/shun.c translate
615 ./translate $(SRCDIR)/shun.c >shun_.c
616
617 shun.o: shun_.c shun.h $(SRCDIR)/config.h
618 $(XTCC) -o shun.o -c shun_.c
619
620 shun.h: headers
621 stat_.c: $(SRCDIR)/stat.c translate
622 ./translate $(SRCDIR)/stat.c >stat_.c
623
624 stat.o: stat_.c stat.h $(SRCDIR)/config.h
625 $(XTCC) -o stat.o -c stat_.c
626
627 stat.h: headers
628 style_.c: $(SRCDIR)/style.c translate
629 ./translate $(SRCDIR)/style.c >style_.c
630
631 style.o: style_.c style.h $(SRCDIR)/config.h
632 $(XTCC) -o style.o -c style_.c
633
634 style.h: headers
635 sync_.c: $(SRCDIR)/sync.c translate
636 ./translate $(SRCDIR)/sync.c >sync_.c
637
638 sync.o: sync_.c sync.h $(SRCDIR)/config.h
639 $(XTCC) -o sync.o -c sync_.c
640
641 sync.h: headers
642 tag_.c: $(SRCDIR)/tag.c translate
643 ./translate $(SRCDIR)/tag.c >tag_.c
644
645 tag.o: tag_.c tag.h $(SRCDIR)/config.h
646 $(XTCC) -o tag.o -c tag_.c
647
648 tag.h: headers
649 tagview_.c: $(SRCDIR)/tagview.c translate
650 ./translate $(SRCDIR)/tagview.c >tagview_.c
651
652 tagview.o: tagview_.c tagview.h $(SRCDIR)/config.h
653 $(XTCC) -o tagview.o -c tagview_.c
654
655 tagview.h: headers
656 th_main_.c: $(SRCDIR)/th_main.c translate
657 ./translate $(SRCDIR)/th_main.c >th_main_.c
658
659 th_main.o: th_main_.c th_main.h $(SRCDIR)/config.h
660 $(XTCC) -o th_main.o -c th_main_.c
661
662 th_main.h: headers
663 timeline_.c: $(SRCDIR)/timeline.c translate
664 ./translate $(SRCDIR)/timeline.c >timeline_.c
665
666 timeline.o: timeline_.c timeline.h $(SRCDIR)/config.h
667 $(XTCC) -o timeline.o -c timeline_.c
668
669 timeline.h: headers
670 tkt_.c: $(SRCDIR)/tkt.c translate
671 ./translate $(SRCDIR)/tkt.c >tkt_.c
672
673 tkt.o: tkt_.c tkt.h $(SRCDIR)/config.h
674 $(XTCC) -o tkt.o -c tkt_.c
675
676 tkt.h: headers
677 tktsetup_.c: $(SRCDIR)/tktsetup.c translate
678 ./translate $(SRCDIR)/tktsetup.c >tktsetup_.c
679
680 tktsetup.o: tktsetup_.c tktsetup.h $(SRCDIR)/config.h
681 $(XTCC) -o tktsetup.o -c tktsetup_.c
682
683 tktsetup.h: headers
684 undo_.c: $(SRCDIR)/undo.c translate
685 ./translate $(SRCDIR)/undo.c >undo_.c
686
687 undo.o: undo_.c undo.h $(SRCDIR)/config.h
688 $(XTCC) -o undo.o -c undo_.c
689
690 undo.h: headers
691 update_.c: $(SRCDIR)/update.c translate
692 ./translate $(SRCDIR)/update.c >update_.c
693
694 update.o: update_.c update.h $(SRCDIR)/config.h
695 $(XTCC) -o update.o -c update_.c
696
697 update.h: headers
698 url_.c: $(SRCDIR)/url.c translate
699 ./translate $(SRCDIR)/url.c >url_.c
700
701 url.o: url_.c url.h $(SRCDIR)/config.h
702 $(XTCC) -o url.o -c url_.c
703
704 url.h: headers
705 user_.c: $(SRCDIR)/user.c translate
706 ./translate $(SRCDIR)/user.c >user_.c
707
708 user.o: user_.c user.h $(SRCDIR)/config.h
709 $(XTCC) -o user.o -c user_.c
710
711 user.h: headers
712 verify_.c: $(SRCDIR)/verify.c translate
713 ./translate $(SRCDIR)/verify.c >verify_.c
714
715 verify.o: verify_.c verify.h $(SRCDIR)/config.h
716 $(XTCC) -o verify.o -c verify_.c
717
718 verify.h: headers
719 vfile_.c: $(SRCDIR)/vfile.c translate
720 ./translate $(SRCDIR)/vfile.c >vfile_.c
721
722 vfile.o: vfile_.c vfile.h $(SRCDIR)/config.h
723 $(XTCC) -o vfile.o -c vfile_.c
724
725 vfile.h: headers
726 wiki_.c: $(SRCDIR)/wiki.c translate
727 ./translate $(SRCDIR)/wiki.c >wiki_.c
728
729 wiki.o: wiki_.c wiki.h $(SRCDIR)/config.h
730 $(XTCC) -o wiki.o -c wiki_.c
731
732 wiki.h: headers
733 wikiformat_.c: $(SRCDIR)/wikiformat.c translate
734 ./translate $(SRCDIR)/wikiformat.c >wikiformat_.c
735
736 wikiformat.o: wikiformat_.c wikiformat.h $(SRCDIR)/config.h
737 $(XTCC) -o wikiformat.o -c wikiformat_.c
738
739 wikiformat.h: headers
740 winhttp_.c: $(SRCDIR)/winhttp.c translate
741 ./translate $(SRCDIR)/winhttp.c >winhttp_.c
742
743 winhttp.o: winhttp_.c winhttp.h $(SRCDIR)/config.h
744 $(XTCC) -o winhttp.o -c winhttp_.c
745
746 winhttp.h: headers
747 xfer_.c: $(SRCDIR)/xfer.c translate
748 ./translate $(SRCDIR)/xfer.c >xfer_.c
749
750 xfer.o: xfer_.c xfer.h $(SRCDIR)/config.h
751 $(XTCC) -o xfer.o -c xfer_.c
752
753 xfer.h: headers
754 zip_.c: $(SRCDIR)/zip.c translate
755 ./translate $(SRCDIR)/zip.c >zip_.c
756
757 zip.o: zip_.c zip.h $(SRCDIR)/config.h
758 $(XTCC) -o zip.o -c zip_.c
759
760 zip.h: headers
761
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -177,12 +177,12 @@
177177
puts "headers: Makefile"
178178
puts "Makefile:"
179179
set extra_h(main) page_index.h
180180
181181
foreach s [lsort $src] {
182
- puts "${s}_.c:\t\$(SRCDIR)/$s.c \$(SRCDIR)/VERSION translate"
183
- puts "\t./translate \$(SRCDIR)/$s.c | sed -f \$(SRCDIR)/VERSION >${s}_.c\n"
182
+ puts "${s}_.c:\t\$(SRCDIR)/$s.c translate"
183
+ puts "\t./translate \$(SRCDIR)/$s.c >${s}_.c\n"
184184
puts "$s.o:\t${s}_.c $s.h $extra_h($s) \$(SRCDIR)/config.h"
185185
puts "\t\$(XTCC) -o $s.o -c ${s}_.c\n"
186186
puts "$s.h:\theaders"
187187
# puts "\t./makeheaders $mhargs\n\ttouch headers\n"
188188
# puts "\t./makeheaders ${s}_.c:${s}.h\n"
189189
190190
DELETED todo-ak.txt
191191
DELETED wiki_and_ticket_ideas.txt
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -177,12 +177,12 @@
177 puts "headers: Makefile"
178 puts "Makefile:"
179 set extra_h(main) page_index.h
180
181 foreach s [lsort $src] {
182 puts "${s}_.c:\t\$(SRCDIR)/$s.c \$(SRCDIR)/VERSION translate"
183 puts "\t./translate \$(SRCDIR)/$s.c | sed -f \$(SRCDIR)/VERSION >${s}_.c\n"
184 puts "$s.o:\t${s}_.c $s.h $extra_h($s) \$(SRCDIR)/config.h"
185 puts "\t\$(XTCC) -o $s.o -c ${s}_.c\n"
186 puts "$s.h:\theaders"
187 # puts "\t./makeheaders $mhargs\n\ttouch headers\n"
188 # puts "\t./makeheaders ${s}_.c:${s}.h\n"
189
190 ELETED todo-ak.txt
191 ELETED wiki_and_ticket_ideas.txt
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -177,12 +177,12 @@
177 puts "headers: Makefile"
178 puts "Makefile:"
179 set extra_h(main) page_index.h
180
181 foreach s [lsort $src] {
182 puts "${s}_.c:\t\$(SRCDIR)/$s.c translate"
183 puts "\t./translate \$(SRCDIR)/$s.c >${s}_.c\n"
184 puts "$s.o:\t${s}_.c $s.h $extra_h($s) \$(SRCDIR)/config.h"
185 puts "\t\$(XTCC) -o $s.o -c ${s}_.c\n"
186 puts "$s.h:\theaders"
187 # puts "\t./makeheaders $mhargs\n\ttouch headers\n"
188 # puts "\t./makeheaders ${s}_.c:${s}.h\n"
189
190 ELETED todo-ak.txt
191 ELETED wiki_and_ticket_ideas.txt
D todo-ak.txt
-68
--- a/todo-ak.txt
+++ b/todo-ak.txt
@@ -1,68 +0,0 @@
1
-[Andreas Kupries]
2
-
3
-Things to work on:
4
-
5
-* Rework the code underlying the test target to clone the repository
6
- and workspace before running tests, to avoid modifying the
7
- development repository by accident.
8
-
9
-* Update the testsuite to the current design and implementation of
10
- fossil.
11
-
12
-* Think about exposure of functionality as libraries, i.e. Tcl
13
- packages. Foundations like delta, etc. first, work up to
14
- higher-levels.
15
- => Mark Janssen has started on this.
16
-
17
-* Document the merge algorithm.
18
-
19
-* Document the xfer protocol.
20
-
21
-* CVS import. Testcases: Tcl, Tk, Tcllib.
22
-
23
-Questions
24
-
25
-* In the timeline seen at http://fossil-scm.hwaci.com/fossil/timeline
26
- the manifest uuids are links to pages providing additional
27
- information abut the change, differences, parent/child linkage, etc.
28
-
29
- The timeline accessible generated by 'fossil server' and accessible
30
- at http://localhost:8080/timeline however does not have such links.
31
-
32
- One wonders why ?
33
-
34
-General ideas:
35
-
36
-* Use TLS/SSL in the xfer module to enhance privacy of
37
- communications. Integrity too, however that is also handled in the
38
- fossil protocol itself.
39
-
40
- Possibility: OpenSSL.
41
- Dis: Library is large, makes self-containment of fossil difficult.
42
- Adv: Known library, proven? design/robustness/implementation? -> Marketing
43
-
44
- Possibility: Tcl 8.5+extended libtom* functionality
45
- Dis: New implementation, less proven
46
- Adv: More selfcontained.
47
-
48
- Possibility: lib-gnupg
49
- Dis:
50
- Adv:
51
-
52
-* Talk to Mark Roseman about his Projectforum system and its
53
- suitability as the wiki component. And in reverse the possibility
54
- of using Fossil as the version engine underneath ProjectForum.
55
-
56
-* Talk to Colin McCormack / Kevin Kenny about usability of Fossil as
57
- version engine underneath Tcler's Wiki, and also for the wiki
58
- itself. (Note: Chat message by kbk showed that he is aware of
59
- fossil).
60
-
61
-Notes:
62
-
63
-* Stephen Huntley - tdelta (tclvfs, versioned filesystem, see also
64
- http://wiki.tcl.tk/12803), compare against delta here.
65
-
66
-* fts2 as is is difficult to use in fossil. Indexing currently
67
- requires the blob data to be fully visible, counter to the extensive
68
- use of compression (delta,zlib) in repositories.
--- a/todo-ak.txt
+++ b/todo-ak.txt
@@ -1,68 +0,0 @@
1 [Andreas Kupries]
2
3 Things to work on:
4
5 * Rework the code underlying the test target to clone the repository
6 and workspace before running tests, to avoid modifying the
7 development repository by accident.
8
9 * Update the testsuite to the current design and implementation of
10 fossil.
11
12 * Think about exposure of functionality as libraries, i.e. Tcl
13 packages. Foundations like delta, etc. first, work up to
14 higher-levels.
15 => Mark Janssen has started on this.
16
17 * Document the merge algorithm.
18
19 * Document the xfer protocol.
20
21 * CVS import. Testcases: Tcl, Tk, Tcllib.
22
23 Questions
24
25 * In the timeline seen at http://fossil-scm.hwaci.com/fossil/timeline
26 the manifest uuids are links to pages providing additional
27 information abut the change, differences, parent/child linkage, etc.
28
29 The timeline accessible generated by 'fossil server' and accessible
30 at http://localhost:8080/timeline however does not have such links.
31
32 One wonders why ?
33
34 General ideas:
35
36 * Use TLS/SSL in the xfer module to enhance privacy of
37 communications. Integrity too, however that is also handled in the
38 fossil protocol itself.
39
40 Possibility: OpenSSL.
41 Dis: Library is large, makes self-containment of fossil difficult.
42 Adv: Known library, proven? design/robustness/implementation? -> Marketing
43
44 Possibility: Tcl 8.5+extended libtom* functionality
45 Dis: New implementation, less proven
46 Adv: More selfcontained.
47
48 Possibility: lib-gnupg
49 Dis:
50 Adv:
51
52 * Talk to Mark Roseman about his Projectforum system and its
53 suitability as the wiki component. And in reverse the possibility
54 of using Fossil as the version engine underneath ProjectForum.
55
56 * Talk to Colin McCormack / Kevin Kenny about usability of Fossil as
57 version engine underneath Tcler's Wiki, and also for the wiki
58 itself. (Note: Chat message by kbk showed that he is aware of
59 fossil).
60
61 Notes:
62
63 * Stephen Huntley - tdelta (tclvfs, versioned filesystem, see also
64 http://wiki.tcl.tk/12803), compare against delta here.
65
66 * fts2 as is is difficult to use in fossil. Indexing currently
67 requires the blob data to be fully visible, counter to the extensive
68 use of compression (delta,zlib) in repositories.
--- a/todo-ak.txt
+++ b/todo-ak.txt
@@ -1,68 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D wiki_and_ticket_ideas.txt
-189
--- a/wiki_and_ticket_ideas.txt
+++ b/wiki_and_ticket_ideas.txt
@@ -1,190 +0,0 @@
1
-Thoughts On How To Implement Wiki And Tickets In Fossil
2
-
3
-The crux of the problem of wiki and tickets is not how
4
-to render the information. There are countless other
5
-wiki and ticket systems that have explored this territory.
6
-We have a lot of experience rendering wiki and writing
7
-ticketing systems and we know how that part works. The
8
-hard part about doing wiki and tickets in Fossil is
9
-figuring how how to synchronize the wiki and tickets
10
-across different repositories.
11
-
12
-There are a number of approaches:
13
-
14
-(1) Don't synchronize. Write a traditional wiki and ticket
15
- system that lives on a single repository. Fossil will
16
- sync the source tree from one repository to another but
17
- the wiki and tickets live in separate tables of the
18
- database stay on a single repository.
19
-
20
-(2) Make each wiki pages and each ticket a file in the source
21
- tree. Each change to a wiki page or ticket creates a new
22
- baseline. Actually, wiki and ticket changes could cluster
23
- so that each new baseline contained multiple wiki and
24
- ticket changes, but any isolated wiki or ticket change
25
- still requires a new baseline.
26
-
27
-(3) Store each wiki page and ticket as a separate branch of
28
- the source tree that forks at the very root of the tree.
29
- Every change to a wiki page or ticket still requires a
30
- new baseline, but the baseline consists of single file
31
- change and is thus quite compact and easy to manage.
32
-
33
-(4) Other synchronization methods. We could treat the wiki
34
- and/or tickets as a completely separate system with its
35
- on synchronization protocol that just happens to live in
36
- the same executable and use the same database as the
37
- source tree sync mechanism.
38
-
39
-(5) Hybrid approaches. One can combine any of the previous
40
- four approaches to wiki and ticket synchronization to
41
- generate a hybrid.
42
-
43
-The advantage of (1) is that it is simple and direct and
44
-easy to implement. We already know how to do wiki and tickets
45
-on a single server with a database. CVSTrac is a good example
46
-of these and there are countless other excellent examples.
47
-Method (1) also keeps the wiki and tickets distinct from the
48
-source files. The problem with (1) is that you cannot take
49
-the wiki or tickets with your for disconnected operation.
50
-Well, maybe you could pull down a complete copy of the wiki
51
-and ticket tables to carry with you on the airplane, but even
52
-then you would not be able to make changes and then later
53
-synchronize those changes with the main repository.
54
-
55
-Method (2) makes each wiki page and each ticket a separate
56
-file in the source tree. This means that the existing versioning
57
-and synchronization logic is unchanged. And the repository
58
-file format is simple and easy to describe. (The simplicity
59
-of the file format is an important feature for my intended
60
-use of Fossil. The ability to reconstruct a baseline from
61
-raw artifacts with no special software is an important though
62
-not well described feature of Fossil.) Having wiki and tickets
63
-readily at hand also gives the interesting possibility of editing
64
-tickets and especially wiki using your favorite text editor,
65
-rather than having to use an often clunky web interface.
66
-The web interface is still provided, of course, but if the
67
-wiki source text is there in a file in front of you, how much
68
-easier it would be to edit it using emacs or vi.
69
-
70
-Among the disadvantages of (2) is that it greatly increases
71
-the number of files in the source tree because of the added
72
-wiki and tickets. The SQLite project, for example, currently
73
-has about 560 files in the tree. But there are around 2600
74
-tickets and 120 wiki pages. If we remove tickets that are
75
-closed we can get down to around 800 tickets. And if I were
76
-more aggressive about closing tickets, that number might be
77
-lower. But there are still more tickets than there are source
78
-files. The number of wiki pages is not that great, but on
79
-the other hand the SQLite wiki is not active like the Tcl/Tk
80
-wiki.
81
-
82
-Another disadvantage of (2) is that you cannot add a ticket
83
-or fix a ticket on a baseline after the baseline is created.
84
-To add or fix a ticket, you have to create a new baseline.
85
-That means that if a bug is discovered in a baseline after its
86
-release, you cannot add the ticket to the baseline in which
87
-the bug was found; you have to put the ticket in a follow-on
88
-baseline. This seems weird. Perhaps some additional processing
89
-inside of fossil can identify when tickets are added to subsequent
90
-baselines and tag prior baselines accordingly. On the other hand,
91
-because tickets are part of the baseline, tickets fixed in one
92
-branch remain open in parallel branches until fixed separately
93
-there, as they should be.
94
-
95
-Any interesting question with method (2) is what baseline to
96
-use for displaying wiki and tickets on the web interface.
97
-Clearly the display should use a leaf baseline. But the
98
-project might have several peer branches each with their
99
-own leaves. Which leaf should be used to display the wiki
100
-and tickets? Is there an interface that allows the user to
101
-browse through wiki and tickets from prior baselines?
102
-
103
-The third method solves the many-files problem of method (2).
104
-In (3), each wiki page and ever ticket becomes a separate
105
-branch of the baseline change hierarchy. So the number of
106
-files in the source tree remains small. The problem here is
107
-the number of branches in the baseline hierarchy explodes.
108
-The amount of network traffic used by the synchronization
109
-protocol (and to some degree the amount of CPU time) is
110
-proportional to the number of leaves in the baseline hierarchy.
111
-If every wiki page and every ticket is in its own tree with
112
-at least one leaf, then suddenly the project goes from have
113
-a 6 or 12 leaves to having thousands. The synchronization
114
-protocol would have to be enhanced to deal with this. I have
115
-outlined ways of doing this, but they involve more complex
116
-file format and more complicated wire protocols. My assessment
117
-is that this approach is not consistent with simplicity.
118
-
119
-In the list above, I mention methods (4) and (5) mostly as a
120
-way of showing that the list of (1) through (3) does not intend
121
-to be exhaustive. One can certainly devise variations on
122
-methods (1) through (3) to accomplish the same thing. And there
123
-might be other techniques that I have not thought of yet.
124
-
125
-I have been vacillating between methods (1), (2), and (3) for
126
-months. As of this writing, I am leaning toward (2) with
127
-careful attention to the ticket interpreter within Fossil so
128
-that when a ticket in a later baseline is written against an
129
-earlier baseline, a link is established in the database so that
130
-the later ticket is displayed with the earlier baseline. (The
131
-details are still sketchy.) Scaling is still an issue. But
132
-for the kinds of projects that Fossil is intended, I do not
133
-expect the number of wiki pages or tickets to become excessive.
134
-Fossil is not intended to be a replacement for the tcler's wiki
135
-or for wikipedia. Fossil is designed to be a convenient and
136
-self-contained CM system for an SQLite-sized project. Just
137
-as SQLite is not intended to replace Oracle, so Fossil is not
138
-intended to replace the server farm at a Web 2.0 startup.
139
-
-------------- 2007-08-02 ---------------
140
-
141
-Wiki and tickets need not be handled in the same way. Method
142
-(1) is disadvantageous to tickets since we what to be able to
143
-carry tickets with us, and modify them, while working offline.
144
-But the need to modify wiki offline is not nearly as acute.
145
-Hence consideration should be given to implementations that
146
-use different methods for handling tickets and wiki.
147
-
148
-Another hybrid method worth consideration is to place
149
-baselines of wiki and/or tickets in the source tree but
150
-allow overlays or deltas to be entered on a per-server
151
-basis. The overlays or deltas are not synchronized between
152
-servers. But one can take a "snapshot" of the overlays/deltas
153
-to create a new source tree baseline which could then be
154
-synchronized and used and/or modified offline. Let us call
155
-refer to this new methods as (6). Here are the details:
156
-
157
- * Tickets or wiki or both are stored as part of the tree
158
- as described in method (2).
159
-
160
- * Web-based changes to wiki or tickets are not written back
161
- into the tree but are instead stored locally in a cache
162
- of exceptions or overlays.
163
-
164
- * When the web interface goes to look for a ticket or a
165
- wiki it consults its local cache first and then if not
166
- found there, a designated baseline.
167
-
168
- * The cache of changes is not synchronized by the push,
169
- pull, or sync commands. It is local to the repository
170
- on which it is entered.
171
-
172
- * A button on the web interface (invoked by users with
173
- appropriate privileges) takes all locally cached changes
174
- and adds them to the tree in a new baseline.
175
-
176
- * Locally cached changes are against a specific baseline.
177
- That specific baseline is used as backup if a page or
178
- ticket request is not found in the local cache. If the
179
- backing baseline is changed, the local cache automatically
180
- merges in the differences in wiki or tickets between
181
- the old and new baselines.
182
-
183
-This approach still leaves the many-files problem. In SQLite,
184
-there are about 500 source files and about 3000 different ticket
185
-and wiki page titles. But if the wiki isn't that big and if
186
-tickets are removed from baselines after they have been closed
187
-for 30 days or longer and if tickets are dealt with aggressively,
188
-there perhaps the many-files problem won't be such a big deal.
189
-
--- a/wiki_and_ticket_ideas.txt
+++ b/wiki_and_ticket_ideas.txt
@@ -1,190 +0,0 @@
1 Thoughts On How To Implement Wiki And Tickets In Fossil
2
3 The crux of the problem of wiki and tickets is not how
4 to render the information. There are countless other
5 wiki and ticket systems that have explored this territory.
6 We have a lot of experience rendering wiki and writing
7 ticketing systems and we know how that part works. The
8 hard part about doing wiki and tickets in Fossil is
9 figuring how how to synchronize the wiki and tickets
10 across different repositories.
11
12 There are a number of approaches:
13
14 (1) Don't synchronize. Write a traditional wiki and ticket
15 system that lives on a single repository. Fossil will
16 sync the source tree from one repository to another but
17 the wiki and tickets live in separate tables of the
18 database stay on a single repository.
19
20 (2) Make each wiki pages and each ticket a file in the source
21 tree. Each change to a wiki page or ticket creates a new
22 baseline. Actually, wiki and ticket changes could cluster
23 so that each new baseline contained multiple wiki and
24 ticket changes, but any isolated wiki or ticket change
25 still requires a new baseline.
26
27 (3) Store each wiki page and ticket as a separate branch of
28 the source tree that forks at the very root of the tree.
29 Every change to a wiki page or ticket still requires a
30 new baseline, but the baseline consists of single file
31 change and is thus quite compact and easy to manage.
32
33 (4) Other synchronization methods. We could treat the wiki
34 and/or tickets as a completely separate system with its
35 on synchronization protocol that just happens to live in
36 the same executable and use the same database as the
37 source tree sync mechanism.
38
39 (5) Hybrid approaches. One can combine any of the previous
40 four approaches to wiki and ticket synchronization to
41 generate a hybrid.
42
43 The advantage of (1) is that it is simple and direct and
44 easy to implement. We already know how to do wiki and tickets
45 on a single server with a database. CVSTrac is a good example
46 of these and there are countless other excellent examples.
47 Method (1) also keeps the wiki and tickets distinct from the
48 source files. The problem with (1) is that you cannot take
49 the wiki or tickets with your for disconnected operation.
50 Well, maybe you could pull down a complete copy of the wiki
51 and ticket tables to carry with you on the airplane, but even
52 then you would not be able to make changes and then later
53 synchronize those changes with the main repository.
54
55 Method (2) makes each wiki page and each ticket a separate
56 file in the source tree. This means that the existing versioning
57 and synchronization logic is unchanged. And the repository
58 file format is simple and easy to describe. (The simplicity
59 of the file format is an important feature for my intended
60 use of Fossil. The ability to reconstruct a baseline from
61 raw artifacts with no special software is an important though
62 not well described feature of Fossil.) Having wiki and tickets
63 readily at hand also gives the interesting possibility of editing
64 tickets and especially wiki using your favorite text editor,
65 rather than having to use an often clunky web interface.
66 The web interface is still provided, of course, but if the
67 wiki source text is there in a file in front of you, how much
68 easier it would be to edit it using emacs or vi.
69
70 Among the disadvantages of (2) is that it greatly increases
71 the number of files in the source tree because of the added
72 wiki and tickets. The SQLite project, for example, currently
73 has about 560 files in the tree. But there are around 2600
74 tickets and 120 wiki pages. If we remove tickets that are
75 closed we can get down to around 800 tickets. And if I were
76 more aggressive about closing tickets, that number might be
77 lower. But there are still more tickets than there are source
78 files. The number of wiki pages is not that great, but on
79 the other hand the SQLite wiki is not active like the Tcl/Tk
80 wiki.
81
82 Another disadvantage of (2) is that you cannot add a ticket
83 or fix a ticket on a baseline after the baseline is created.
84 To add or fix a ticket, you have to create a new baseline.
85 That means that if a bug is discovered in a baseline after its
86 release, you cannot add the ticket to the baseline in which
87 the bug was found; you have to put the ticket in a follow-on
88 baseline. This seems weird. Perhaps some additional processing
89 inside of fossil can identify when tickets are added to subsequent
90 baselines and tag prior baselines accordingly. On the other hand,
91 because tickets are part of the baseline, tickets fixed in one
92 branch remain open in parallel branches until fixed separately
93 there, as they should be.
94
95 Any interesting question with method (2) is what baseline to
96 use for displaying wiki and tickets on the web interface.
97 Clearly the display should use a leaf baseline. But the
98 project might have several peer branches each with their
99 own leaves. Which leaf should be used to display the wiki
100 and tickets? Is there an interface that allows the user to
101 browse through wiki and tickets from prior baselines?
102
103 The third method solves the many-files problem of method (2).
104 In (3), each wiki page and ever ticket becomes a separate
105 branch of the baseline change hierarchy. So the number of
106 files in the source tree remains small. The problem here is
107 the number of branches in the baseline hierarchy explodes.
108 The amount of network traffic used by the synchronization
109 protocol (and to some degree the amount of CPU time) is
110 proportional to the number of leaves in the baseline hierarchy.
111 If every wiki page and every ticket is in its own tree with
112 at least one leaf, then suddenly the project goes from have
113 a 6 or 12 leaves to having thousands. The synchronization
114 protocol would have to be enhanced to deal with this. I have
115 outlined ways of doing this, but they involve more complex
116 file format and more complicated wire protocols. My assessment
117 is that this approach is not consistent with simplicity.
118
119 In the list above, I mention methods (4) and (5) mostly as a
120 way of showing that the list of (1) through (3) does not intend
121 to be exhaustive. One can certainly devise variations on
122 methods (1) through (3) to accomplish the same thing. And there
123 might be other techniques that I have not thought of yet.
124
125 I have been vacillating between methods (1), (2), and (3) for
126 months. As of this writing, I am leaning toward (2) with
127 careful attention to the ticket interpreter within Fossil so
128 that when a ticket in a later baseline is written against an
129 earlier baseline, a link is established in the database so that
130 the later ticket is displayed with the earlier baseline. (The
131 details are still sketchy.) Scaling is still an issue. But
132 for the kinds of projects that Fossil is intended, I do not
133 expect the number of wiki pages or tickets to become excessive.
134 Fossil is not intended to be a replacement for the tcler's wiki
135 or for wikipedia. Fossil is designed to be a convenient and
136 self-contained CM system for an SQLite-sized project. Just
137 as SQLite is not intended to replace Oracle, so Fossil is not
138 intended to replace the server farm at a Web 2.0 startup.
139
-------------- 2007-08-02 ---------------
140
141 Wiki and tickets need not be handled in the same way. Method
142 (1) is disadvantageous to tickets since we what to be able to
143 carry tickets with us, and modify them, while working offline.
144 But the need to modify wiki offline is not nearly as acute.
145 Hence consideration should be given to implementations that
146 use different methods for handling tickets and wiki.
147
148 Another hybrid method worth consideration is to place
149 baselines of wiki and/or tickets in the source tree but
150 allow overlays or deltas to be entered on a per-server
151 basis. The overlays or deltas are not synchronized between
152 servers. But one can take a "snapshot" of the overlays/deltas
153 to create a new source tree baseline which could then be
154 synchronized and used and/or modified offline. Let us call
155 refer to this new methods as (6). Here are the details:
156
157 * Tickets or wiki or both are stored as part of the tree
158 as described in method (2).
159
160 * Web-based changes to wiki or tickets are not written back
161 into the tree but are instead stored locally in a cache
162 of exceptions or overlays.
163
164 * When the web interface goes to look for a ticket or a
165 wiki it consults its local cache first and then if not
166 found there, a designated baseline.
167
168 * The cache of changes is not synchronized by the push,
169 pull, or sync commands. It is local to the repository
170 on which it is entered.
171
172 * A button on the web interface (invoked by users with
173 appropriate privileges) takes all locally cached changes
174 and adds them to the tree in a new baseline.
175
176 * Locally cached changes are against a specific baseline.
177 That specific baseline is used as backup if a page or
178 ticket request is not found in the local cache. If the
179 backing baseline is changed, the local cache automatically
180 merges in the differences in wiki or tickets between
181 the old and new baselines.
182
183 This approach still leaves the many-files problem. In SQLite,
184 there are about 500 source files and about 3000 different ticket
185 and wiki page titles. But if the wiki isn't that big and if
186 tickets are removed from baselines after they have been closed
187 for 30 days or longer and if tickets are dealt with aggressively,
188 there perhaps the many-files problem won't be such a big deal.
189
--- a/wiki_and_ticket_ideas.txt
+++ b/wiki_and_ticket_ideas.txt
@@ -1,190 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
-------------- 2007-08-02 ---------------
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Keyboard Shortcuts

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