timcera
56695b3f26
Added CvsGraph support including documentation and installation.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@211 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-09-22 06:01:44 +00:00
timcera
352e8203cd
Added <tt> </tt> to the side-by-side diffs. The <tt></tt> tags garantees a fixed width font.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@210 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-09-22 05:51:09 +00:00
timcera
350db5250c
Added CvsGraph support including documentation and installation.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@209 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-09-22 05:38:32 +00:00
timcera
880690fc89
Minor format change. The '<p>' was ineffective at this point because
...
the browser doesn't expect HTML.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@208 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-09-22 01:39:06 +00:00
jpaint
a64dc83028
big update of commit database; new CGI, better database cache; no more
...
html templates; better intigration with viewcvs.cgi's HTML settings
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@207 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-08-21 19:24:40 +00:00
akr
d29fac8ba9
Fix typo. (overwright -> overwrite)
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@206 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-06-18 03:12:03 +00:00
akr
6145ac2213
Fix get_logs to return two dictionaries even when there are only directories.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@205 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-06-18 03:05:05 +00:00
akr
32da3ae204
Don't put a title in menu for branch tags if there is no branch.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@204 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-06-04 10:20:14 +00:00
gstein
cbadda8611
this actually takes two arguments
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@203 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-06-03 18:43:19 +00:00
gstein
451da3e26d
Get dbi.py to work with the latest MySQLdb and mxDateTime.
...
Submitted by: Gottfried.Ganssauge@HAUFE.DE
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@202 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-06-01 21:57:15 +00:00
akr
5130a7347f
Read whole data from `co' to avoid SIGPIPE even if it is not used.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@201 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-31 04:37:09 +00:00
akr
2a83c75317
Don't check Attic which is not exist in tarball generation.
...
Reported by: Koichiro Ohba <koichiro@ctc-g.co.jp>
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@200 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-31 02:48:42 +00:00
gstein
8d1daf1787
developing 0.8 now...
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@199 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 09:40:04 +00:00
gstein
6c6aee893f
reflect release of 0.7
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@198 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 09:39:17 +00:00
gstein
02f2243cc7
*) updated for new CVS site
...
*) use cvs export and require a tag
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@196 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 09:19:18 +00:00
gstein
8766cf00ca
rolling 0.7
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@195 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 09:15:03 +00:00
gstein
ba039d5a8f
add a reference to Karl's book. delete a broken link.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@194 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 08:54:12 +00:00
gstein
007ad51b2c
change web site references from www.lyra.org/viewcvs/ to the new
...
viewcvs.sourceforge.net/ site.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@193 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 08:49:19 +00:00
gstein
c3d12bb0c8
add a persistent URL format for reaching the HEAD revision
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@192 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 08:37:17 +00:00
gstein
d0de5e7ad0
add the two new lib/ modules.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@191 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 08:18:28 +00:00
gstein
4a00a0bb4f
add an item for the next release
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@190 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 08:16:38 +00:00
gstein
abb4a468fc
The single/double find stuff was stupid. single would always be <= double.
...
Looking for a double is simply looking at the character following the '@'.
Removing the second find also solved some cache-thrashing that occurred with
big CHUNK_SIZE values. Plus a general speedup. :-)
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@189 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-14 10:49:39 +00:00
gstein
cc3807f964
More speedups.
...
* avoid lstrip() -- it can take a while on large strings
* use loops instead of more complex ops. loops have a higher per-iteration
cost, but a lower constant time. since N is small, it is a win.
* avoid "re" altogether; use string.digits in class Parser
(rcsparse is now over 10x faster since I started optimizing)
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@188 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-14 08:44:33 +00:00
gstein
3bff6b7378
More performance tweaks.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@187 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-14 05:53:35 +00:00
gstein
fc6d80e2fb
Speed up the get() method by being smarter about regular expression use,
...
avoiding slicing of strings, and more fine-tuned parsing.
(some debug stuff, too; this will disappear soon; just checkpointing now)
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@186 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-13 02:52:26 +00:00
gstein
425ae2e8ec
Speed up the log extraction by avoiding regular expressions (there are
...
simple equivalents which are faster).
Add a test function for profiling.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@185 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-13 02:50:24 +00:00
gstein
c2a29c83cd
save a little test program for comparing rcsparse vs rlog output parsing
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@184 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-13 00:16:42 +00:00
gstein
799816c21f
minor nit: fetch_log's last return value is a list, not a dict.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@183 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-13 00:13:12 +00:00
gstein
e3dbdb4fcc
Update copyright years to include 2001.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@182 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-12 22:51:02 +00:00
gstein
c28afba169
removed unneeded #! marker
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@181 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-12 12:33:17 +00:00
gstein
d790f07d2c
Apply a patch from apache.org: watch out (and recover) for files which have
...
"illegal" timestamps in them.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@180 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-12 12:26:46 +00:00
gstein
edf252fb2f
Now, make the appropriate changes to get the split CGI script/library to
...
actually work: move imports, wrap run_cgi() around the logic in viewcvs.py,
shift around the CONF_PATHNAME stuff, etc.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@179 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-12 12:22:51 +00:00
gstein
6942dd6b4b
Slice a big chunk out of viewcvs.cgi and move it to viewcvs.py.
...
Absolutely no other changes. No additions, no reformat, no nothing...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@178 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-12 12:05:08 +00:00
gstein
a75f32fc3c
Older versions of Python do not like lists passed to mktime(). Ensure that
...
we pass a tuple.
Fixes bug #421282
Submitted by: mjpieters@users.sourceforge.net
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@177 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-12 11:42:08 +00:00
gstein
e243a0e1ad
Record that we couldn't stat the file, or that it is unreadable. This allows
...
us to actually tell the user about it (and do so!).
Also removed a spurious try/except in generate_tarball; get_file_data()
shouldn't be raising one any more.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@176 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-12 11:34:17 +00:00
gstein
755e4e74c3
In directory views (and tarballs), don't include files or dirs that we
...
cannot read.
Reported by: Jaime E. Villate <villate@fe.up.pt>
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@175 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-12 10:23:59 +00:00
gstein
a46b9dd3ba
The (colored) links need to specify the diff_format=h option. Also correct a
...
spelling/typo and add missing right parents.
Submitted by: Chris Tillman <tillman@azstarnet.com>
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@174 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-12 09:25:53 +00:00
gstein
ab987dc6fa
*) some updates for the move to SourceForge.
...
*) add information about ViewCVS' increased security
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@173 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-11 21:21:50 +00:00
akr
a6ac1d1892
handle FreeBSD's rlog output which has extra "----------------------------\n".
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@172 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-11 07:24:15 +00:00
akr
945cb91e38
(link_includes): use sticky parameters for a link.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@171 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-10 09:12:45 +00:00
gstein
262f3569c7
way different nowadays, so make the header reflect current reality. update
...
commentary, and keep appropriate recognition of Curt's work.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@170 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-09 11:35:54 +00:00
gstein
1b358fc88d
switch from a line-oriented processing to buffer-oriented. provides
...
approximately 3x performance increase.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@169 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-09 11:32:47 +00:00
gstein
455faa1fe6
switch to a TokenStream plus the parser. provides for better isolation of
...
the token parsing semantics.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@168 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-09 10:30:12 +00:00
gstein
01facd113b
commit a checkpoint, with some tools, before doing some heavy lifting
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@167 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-09 09:23:00 +00:00
gstein
67daa9e5e2
Extract the RCS parsing code into a separate module. It now uses a "sink"
...
model, sending events/info to the blame script.
(this allows the RCS parser to be used in numerous contexts by simply
switching the Sink that is used)
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@166 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-08 19:34:58 +00:00
akr
03a5620947
(_re_rewrite_url): recognize fragment identifier.
...
http://sourceforge.net/tracker/?func=detail&atid=318760&aid=421284&group_id=18760
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@165 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-06 10:06:23 +00:00
akr
424521d40e
(get_file_data): ignore files which causes failures on stat(2) such
...
as dangling symlinks.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@164 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-06 09:13:01 +00:00
akr
1eeb39f264
(html_time): Since very old timestamp (82 years, 6 months in this case)
...
causes overflow of plain integer, use long integer.
use `year' correctly for these old timestamps.
http://sourceforge.net/tracker/index.php?func=detail&aid=418428&group_id=1&atid=100001
http://sourceforge.net/tracker/index.php?func=detail&aid=421096&group_id=18760&atid=118760
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@163 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-05 19:52:42 +00:00
akr
7aa5c33589
(urlencode): Don't add redundant '?'.
...
http://sourceforge.net/tracker/?func=detail&atid=118760&aid=421281&group_id=18760
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@162 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-05 18:02:00 +00:00
gstein
60236803e4
This background will be needed when the website moves to SF.
...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@161 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-02 19:50:51 +00:00