Fossil SCM

Moved new tcksetup.c into checkout dir before commit, added rstats command to get stat page info from command line.

kejoki 2008-12-14 22:54 newcmd_rstatus
Commit cdbc3ab2488b6eecffb398642f07dd50149a2ef3
+12 -2
--- src/main.mk
+++ src/main.mk
@@ -52,10 +52,11 @@
5252
$(SRCDIR)/pqueue.c \
5353
$(SRCDIR)/printf.c \
5454
$(SRCDIR)/rebuild.c \
5555
$(SRCDIR)/report.c \
5656
$(SRCDIR)/rss.c \
57
+ $(SRCDIR)/rstats.c \
5758
$(SRCDIR)/schema.c \
5859
$(SRCDIR)/setup.c \
5960
$(SRCDIR)/sha1.c \
6061
$(SRCDIR)/shun.c \
6162
$(SRCDIR)/stat.c \
@@ -119,10 +120,11 @@
119120
pqueue_.c \
120121
printf_.c \
121122
rebuild_.c \
122123
report_.c \
123124
rss_.c \
125
+ rstats_.c \
124126
schema_.c \
125127
setup_.c \
126128
sha1_.c \
127129
shun_.c \
128130
stat_.c \
@@ -186,10 +188,11 @@
186188
pqueue.o \
187189
printf.o \
188190
rebuild.o \
189191
report.o \
190192
rss.o \
193
+ rstats.o \
191194
schema.o \
192195
setup.o \
193196
sha1.o \
194197
shun.o \
195198
stat.o \
@@ -252,16 +255,16 @@
252255
# noop
253256
254257
clean:
255258
rm -f *.o *_.c $(APPNAME) VERSION.h
256259
rm -f translate makeheaders mkindex page_index.h headers
257
- rm -f add.h admin.h allrepo.h bag.h blob.h branch.h browse.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h construct.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h http.h info.h login.h main.h manifest.h md5.h merge.h merge3.h my_page.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h setup.h sha1.h shun.h stat.h style.h sync.h tag.h tagview.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
260
+ rm -f add.h admin.h allrepo.h bag.h blob.h branch.h browse.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h construct.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h http.h info.h login.h main.h manifest.h md5.h merge.h merge3.h my_page.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h rstats.h schema.h setup.h sha1.h shun.h stat.h style.h sync.h tag.h tagview.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
258261
259262
page_index.h: $(TRANS_SRC) mkindex
260263
./mkindex $(TRANS_SRC) >$@
261264
headers: page_index.h makeheaders VERSION.h
262
- ./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 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 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 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
265
+ ./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 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 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
263266
touch headers
264267
headers: Makefile
265268
Makefile:
266269
add_.c: $(SRCDIR)/add.c $(SRCDIR)/VERSION translate
267270
./translate $(SRCDIR)/add.c | sed -f $(SRCDIR)/VERSION >add_.c
@@ -548,10 +551,17 @@
548551
549552
rss.o: rss_.c rss.h $(SRCDIR)/config.h
550553
$(XTCC) -o rss.o -c rss_.c
551554
552555
rss.h: headers
556
+rstats_.c: $(SRCDIR)/rstats.c $(SRCDIR)/VERSION translate
557
+ ./translate $(SRCDIR)/rstats.c | sed -f $(SRCDIR)/VERSION >rstats_.c
558
+
559
+rstats.o: rstats_.c rstats.h $(SRCDIR)/config.h
560
+ $(XTCC) -o rstats.o -c rstats_.c
561
+
562
+rstats.h: headers
553563
schema_.c: $(SRCDIR)/schema.c $(SRCDIR)/VERSION translate
554564
./translate $(SRCDIR)/schema.c | sed -f $(SRCDIR)/VERSION >schema_.c
555565
556566
schema.o: schema_.c schema.h $(SRCDIR)/config.h
557567
$(XTCC) -o schema.o -c schema_.c
558568
--- src/main.mk
+++ src/main.mk
@@ -52,10 +52,11 @@
52 $(SRCDIR)/pqueue.c \
53 $(SRCDIR)/printf.c \
54 $(SRCDIR)/rebuild.c \
55 $(SRCDIR)/report.c \
56 $(SRCDIR)/rss.c \
 
57 $(SRCDIR)/schema.c \
58 $(SRCDIR)/setup.c \
59 $(SRCDIR)/sha1.c \
60 $(SRCDIR)/shun.c \
61 $(SRCDIR)/stat.c \
@@ -119,10 +120,11 @@
119 pqueue_.c \
120 printf_.c \
121 rebuild_.c \
122 report_.c \
123 rss_.c \
 
124 schema_.c \
125 setup_.c \
126 sha1_.c \
127 shun_.c \
128 stat_.c \
@@ -186,10 +188,11 @@
186 pqueue.o \
187 printf.o \
188 rebuild.o \
189 report.o \
190 rss.o \
 
191 schema.o \
192 setup.o \
193 sha1.o \
194 shun.o \
195 stat.o \
@@ -252,16 +255,16 @@
252 # noop
253
254 clean:
255 rm -f *.o *_.c $(APPNAME) VERSION.h
256 rm -f translate makeheaders mkindex page_index.h headers
257 rm -f add.h admin.h allrepo.h bag.h blob.h branch.h browse.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h construct.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h http.h info.h login.h main.h manifest.h md5.h merge.h merge3.h my_page.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h setup.h sha1.h shun.h stat.h style.h sync.h tag.h tagview.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
258
259 page_index.h: $(TRANS_SRC) mkindex
260 ./mkindex $(TRANS_SRC) >$@
261 headers: page_index.h makeheaders VERSION.h
262 ./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 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 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 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
263 touch headers
264 headers: Makefile
265 Makefile:
266 add_.c: $(SRCDIR)/add.c $(SRCDIR)/VERSION translate
267 ./translate $(SRCDIR)/add.c | sed -f $(SRCDIR)/VERSION >add_.c
@@ -548,10 +551,17 @@
548
549 rss.o: rss_.c rss.h $(SRCDIR)/config.h
550 $(XTCC) -o rss.o -c rss_.c
551
552 rss.h: headers
 
 
 
 
 
 
 
553 schema_.c: $(SRCDIR)/schema.c $(SRCDIR)/VERSION translate
554 ./translate $(SRCDIR)/schema.c | sed -f $(SRCDIR)/VERSION >schema_.c
555
556 schema.o: schema_.c schema.h $(SRCDIR)/config.h
557 $(XTCC) -o schema.o -c schema_.c
558
--- src/main.mk
+++ src/main.mk
@@ -52,10 +52,11 @@
52 $(SRCDIR)/pqueue.c \
53 $(SRCDIR)/printf.c \
54 $(SRCDIR)/rebuild.c \
55 $(SRCDIR)/report.c \
56 $(SRCDIR)/rss.c \
57 $(SRCDIR)/rstats.c \
58 $(SRCDIR)/schema.c \
59 $(SRCDIR)/setup.c \
60 $(SRCDIR)/sha1.c \
61 $(SRCDIR)/shun.c \
62 $(SRCDIR)/stat.c \
@@ -119,10 +120,11 @@
120 pqueue_.c \
121 printf_.c \
122 rebuild_.c \
123 report_.c \
124 rss_.c \
125 rstats_.c \
126 schema_.c \
127 setup_.c \
128 sha1_.c \
129 shun_.c \
130 stat_.c \
@@ -186,10 +188,11 @@
188 pqueue.o \
189 printf.o \
190 rebuild.o \
191 report.o \
192 rss.o \
193 rstats.o \
194 schema.o \
195 setup.o \
196 sha1.o \
197 shun.o \
198 stat.o \
@@ -252,16 +255,16 @@
255 # noop
256
257 clean:
258 rm -f *.o *_.c $(APPNAME) VERSION.h
259 rm -f translate makeheaders mkindex page_index.h headers
260 rm -f add.h admin.h allrepo.h bag.h blob.h branch.h browse.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h construct.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h http.h info.h login.h main.h manifest.h md5.h merge.h merge3.h my_page.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h rstats.h schema.h setup.h sha1.h shun.h stat.h style.h sync.h tag.h tagview.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
261
262 page_index.h: $(TRANS_SRC) mkindex
263 ./mkindex $(TRANS_SRC) >$@
264 headers: page_index.h makeheaders VERSION.h
265 ./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 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 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
266 touch headers
267 headers: Makefile
268 Makefile:
269 add_.c: $(SRCDIR)/add.c $(SRCDIR)/VERSION translate
270 ./translate $(SRCDIR)/add.c | sed -f $(SRCDIR)/VERSION >add_.c
@@ -548,10 +551,17 @@
551
552 rss.o: rss_.c rss.h $(SRCDIR)/config.h
553 $(XTCC) -o rss.o -c rss_.c
554
555 rss.h: headers
556 rstats_.c: $(SRCDIR)/rstats.c $(SRCDIR)/VERSION translate
557 ./translate $(SRCDIR)/rstats.c | sed -f $(SRCDIR)/VERSION >rstats_.c
558
559 rstats.o: rstats_.c rstats.h $(SRCDIR)/config.h
560 $(XTCC) -o rstats.o -c rstats_.c
561
562 rstats.h: headers
563 schema_.c: $(SRCDIR)/schema.c $(SRCDIR)/VERSION translate
564 ./translate $(SRCDIR)/schema.c | sed -f $(SRCDIR)/VERSION >schema_.c
565
566 schema.o: schema_.c schema.h $(SRCDIR)/config.h
567 $(XTCC) -o schema.o -c schema_.c
568
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -46,10 +46,11 @@
4646
pqueue
4747
printf
4848
rebuild
4949
report
5050
rss
51
+ rstats
5152
schema
5253
setup
5354
sha1
5455
shun
5556
stat
5657
5758
ADDED src/rstats.c
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -46,10 +46,11 @@
46 pqueue
47 printf
48 rebuild
49 report
50 rss
 
51 schema
52 setup
53 sha1
54 shun
55 stat
56
57 DDED src/rstats.c
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -46,10 +46,11 @@
46 pqueue
47 printf
48 rebuild
49 report
50 rss
51 rstats
52 schema
53 setup
54 sha1
55 shun
56 stat
57
58 DDED src/rstats.c
+24
--- a/src/rstats.c
+++ b/src/rstats.c
@@ -0,0 +1,24 @@
1
+/*
2
+** Copyright (c) 2008 D. Richard Hipp, Kevin Kinnell
3
+**
4
+** This program is free software; you can redistribute it and/or
5
+** modify it under the terms of the GNU General Public
6
+** License version 2 as published by the Free Software Foundation.
7
+**
8
+** This program is distributed in the hope that it will be useful,
9
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+** General Public License for more details.
12
+**
13
+** You should have received a copy of the GNU General Public
14
+** License along with this library; if not, write to the
15
+** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16
+** Boston, MA 02111-1307, USA.
17
+**
18
+** Author contact information:
19
+** [email protected]
20
+** http://www.hwaci.com/drh/
21
+**
22
+** [email protected]
23
+**
24
+***********
--- a/src/rstats.c
+++ b/src/rstats.c
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/src/rstats.c
+++ b/src/rstats.c
@@ -0,0 +1,24 @@
1 /*
2 ** Copyright (c) 2008 D. Richard Hipp, Kevin Kinnell
3 **
4 ** This program is free software; you can redistribute it and/or
5 ** modify it under the terms of the GNU General Public
6 ** License version 2 as published by the Free Software Foundation.
7 **
8 ** This program is distributed in the hope that it will be useful,
9 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 ** General Public License for more details.
12 **
13 ** You should have received a copy of the GNU General Public
14 ** License along with this library; if not, write to the
15 ** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 ** Boston, MA 02111-1307, USA.
17 **
18 ** Author contact information:
19 ** [email protected]
20 ** http://www.hwaci.com/drh/
21 **
22 ** [email protected]
23 **
24 ***********
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -198,17 +198,19 @@
198198
@ }
199199
@ set resolution_choices {
200200
@ Open
201201
@ Fixed
202202
@ Rejected
203
+@ Workaround
203204
@ Unable_To_Reproduce
204205
@ Works_As_Designed
205206
@ External_Bug
206207
@ Not_A_Bug
207208
@ Duplicate
208209
@ Overcome_By_Events
209210
@ Drive_By_Patch
211
+@ Misconfiguration
210212
@ }
211213
@ set status_choices {
212214
@ Open
213215
@ Verified
214216
@ Review
215217
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -198,17 +198,19 @@
198 @ }
199 @ set resolution_choices {
200 @ Open
201 @ Fixed
202 @ Rejected
 
203 @ Unable_To_Reproduce
204 @ Works_As_Designed
205 @ External_Bug
206 @ Not_A_Bug
207 @ Duplicate
208 @ Overcome_By_Events
209 @ Drive_By_Patch
 
210 @ }
211 @ set status_choices {
212 @ Open
213 @ Verified
214 @ Review
215
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -198,17 +198,19 @@
198 @ }
199 @ set resolution_choices {
200 @ Open
201 @ Fixed
202 @ Rejected
203 @ Workaround
204 @ Unable_To_Reproduce
205 @ Works_As_Designed
206 @ External_Bug
207 @ Not_A_Bug
208 @ Duplicate
209 @ Overcome_By_Events
210 @ Drive_By_Patch
211 @ Misconfiguration
212 @ }
213 @ set status_choices {
214 @ Open
215 @ Verified
216 @ Review
217

Keyboard Shortcuts

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