of the ViewCVS web pages any longer. This begins a journey of
organization and updating that has been long past due. And hey, if
folks hate it -- it's under version control.
* website/contact.html
* website/download.html
* website/images/bg-grad.jpg
* website/images/title.jpg
* website/styles.css
New files.
* website/contributing.html
* website/index.html
* website/license-1.html
* website/upgrading.html
* website/who.html
Heavily modified files.
* website/images/chalk.jpg
* website/images/logo.png
Removed.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@965 8cb11bc2-c004-0410-86c3-e597b4017df7
(view_log): Only show download hrefs for files, and make view hrefs
for directories show the directory view.
* viewcvs/templates/include/branch.ezt
Only display the view_href if it exists.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@962 8cb11bc2-c004-0410-86c3-e597b4017df7
(view_log): Always expose the view_href and download_href.
* templates/log.ezt
* templates/log_table.ezt
Lose the "if CVS" condition I added for some includes a while ago.
* templates/include/branch.ezt
Always show bookmarkable links to HEAD/download.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@961 8cb11bc2-c004-0410-86c3-e597b4017df7
* lib/viewcvs.py
(_re_rewrite_url): Look for the HTML-encoded version of ampersands
in URLs ("&").
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@960 8cb11bc2-c004-0410-86c3-e597b4017df7
* lib/vclib/bincvs/__init__.py
(_log_path)
no need to deal with Attic paths here, they are filtered out in
listdir
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@954 8cb11bc2-c004-0410-86c3-e597b4017df7
* lib/rlog.py
deleted
* lib/cvsdb.py
(RLogDataToCommitList):
removed
(GetCommitListFromRCSFile):
change to use vclib instead of rlog module
(GetCommitListFromRCSFile, GetUnrecordedCommitList):
update to accept vclib-style path_parts arguments
* lib/vclib/bincvs/__init__.py
(BinCVSRepository.filelog):
accept "cvs_pass_rev" option for passing -r arguments to rlog
(_match_revs_tags):
make this function work with an incomplete list of revisions
instead of crashing. This is neccessary when an -r argument
is passed to rlog.
(_add_tag):
make this function work when we need to create a tag with no
revision object. We need this to create a HEAD tag when an -r
argument is passed to rlog and we don't know what the HEAD
revision is.
(fetch_log):
removed
* tools/cvsdbadmin
(RebuildFile):
removed, merged into UpdateFile
(UpdateFile)
accept new argument to reinsert all commits
(RecurseRebuild):
removed, merged into RecurseUpdate
(RecurseUpdate):
update to use vclib's listdir instead of os.listdir
(CommandRebuild, CommandUpdate):
removed, code moved into __main__ section
* tools/loginfo-handler
(FileData, CommitFromFileData, GetUnrecordedCommitList):
removed, these were just wrappers over the cvsdb interface
(HeuristicArgParse, CvsNtArgParse)
return tuples describing file data instead of file data objects
(ProcessLoginfo):
update to use cvsdb interface
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@953 8cb11bc2-c004-0410-86c3-e597b4017df7
- Stop converting directory and file paths to lower case with native
slashes before storing them in the database. Instead store with
preserved case and forward slashes.
- Stop trying to clean up paths haphazardly all over the cvsdb module,
instead expect paths to be normalized before they get passed to
cvsdb.
* lib/cvsdb.py
(Commit.SetRepository, Commit.SetDirectory, Commit.SetFile,
CheckinDatabaseQuery.SetRepository,
CheckinDatabaseQuery.SetDirectory):
remove path cleanup code
(RLogDataToCommitList)
don't strip repository prefix because rlog module now does it
(CleanRepository):
new function
* lib/rlog.py
(_get_co_file):
change to return paths with forward slashes and without repository
prefixes
(GetRLogData):
update call to _get_co_file
* tools/cvsdbadmin
(UpdateFile, CommandUpdate, RebuildFile, CommandRebuild)
remove calls to normcase here
(module code):
use CleanRepository function to clean up repository path
* tools/loginfo-handler
(CleanDirectory):
removed
(HeuristicArgParse, CvsNtArgParse):
don't call CleanDirectory or normcase here
(HeuristicArgParseDirectory):
remove stray print statement
(module code):
use cvsdb.CleanRepository function to clean up repository path
* tools/svndbadmin
(module code):
use cvsdb.CleanRepository function to clean up repository path
* lib/viewcvs.py
(view_query):
change to use forward slashes in directory names instead of native
slashes
use cvsdb.CleanRepository function to clean up repository paths
* lib/query.py
(build_commit):
change to handle forward slashes in directory paths instead of
native slashes
(run_query):
use cvsdb.CleanRepository function to clean up repository path
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@952 8cb11bc2-c004-0410-86c3-e597b4017df7
windows when lowercase drive letters are used in cvs paths in
viewcvs.conf.
* lib/vclib/bincvs/__init__.py
(_paths_eq):
new function for comparing paths that works on case-insensitive
filesystems
(BinCVSRepository.openfile, _get_logs):
use new path comparison function
(_parse_co_header, _parse_log_header):
stop cleaning up returned filenames, it's no longer neccessary
with new path comparison function
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@950 8cb11bc2-c004-0410-86c3-e597b4017df7
* windows/README
- add troubleshooting info for CreateProcess exception
- consolidate information about old CVSNT bugs
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@949 8cb11bc2-c004-0410-86c3-e597b4017df7
(view_log): Dictate the 'where' and 'pathtype' values to the
URL-generating function when making download links. Patch by
Stefan Haller <haller@ableton.com>.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@946 8cb11bc2-c004-0410-86c3-e597b4017df7
dev list that ended at
http://mailman.lyra.org/pipermail/viewcvs-dev/2004-September/001769.html
* templates/docroot/images/ascending.png
* templates/docroot/images/descending.png
* templates/docroot/images/down.png
* templates/docroot/images/up.png
rename ascending and descending images to down and up based on the
direction of the arrows
* templates/directory.ezt
* templates/dir_alternate.ezt
update to use new image names
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@945 8cb11bc2-c004-0410-86c3-e597b4017df7
directories works on windows.
* lib/cvsdb.py
(EscapeLike):
new function
* lib/viewcvs.py
(view_query):
escape directory paths before using them in LIKE comparisons
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@944 8cb11bc2-c004-0410-86c3-e597b4017df7
pages. It was was added in rev 1.158.
* lib/viewcvs.py
(view_log):
remove 'filename' template variable
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@943 8cb11bc2-c004-0410-86c3-e597b4017df7
template variables, also fix some existing entries in the file.
* website/upgrading.html
(sortdir_up_href, sortdir_down_href, roots):
add new documentation about these variables
(roottype, rootname, pathtype, raw_diff):
fix these entries up
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@942 8cb11bc2-c004-0410-86c3-e597b4017df7
- Don't pass "text/plain" as a MIME type to templates when the real
type is unknown, pass None instead
- Load MIME types file once after reading the ViewCVS configuration
instead of reloading at each request.
* lib/viewcvs.py
(Request.run_viewcvs):
set Request.mime_type member here
(Request.setup_mime_type_info):
removed
(guess_mime, is_plain_text):
new
(is_text, is_viewable_image, view_checkout):
change to cope with None MIME types, treating them like text
(view_markup):
use new is_plain_text function
(view_directory, search_files):
use new guess_mime function
(view_log):
make use of Request.mime_type member and the new is_plain_text
function
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@938 8cb11bc2-c004-0410-86c3-e597b4017df7
Python 2.3 installations without mxDateTime.
Thanks to paul@times-interactive.com for bringing the bug and fix
to my attention on the users' list.
* lib/dbi.py
(TicksFromDateTime):
handle case where MySQLdb returns datetime objects
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@936 8cb11bc2-c004-0410-86c3-e597b4017df7
release. There's still a lot of room for improvement, but there
should be no gaping holes or inaccuracies.
* INSTALL
update old paths
remove mention of svn_parent_path
remove advice about trailing slashes in the Troubleshooting
section. They're nice, but optional now that we don't use
relative links.
* README
add pointer to windows/README
* templates/docroot/help_logtable.html
document the missing columns
* website/upgrading.html
document the configuration options
add a word of advice about upgrading with custom templates
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@935 8cb11bc2-c004-0410-86c3-e597b4017df7
* website/who.html
add James Henstridge and Lucas Bruand and list the various
peoples' contributions
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@934 8cb11bc2-c004-0410-86c3-e597b4017df7
* CHANGES
(Version 1.0):
add new features and bugfixes. I came up with the list by scanning
the CVS logs since 0.9.2 for user-visible changes, so it should
be pretty complete.
(Version 0.9.2):
correct release date
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@933 8cb11bc2-c004-0410-86c3-e597b4017df7
* templates/docroot/styles.css
(.vc_navheader):
switch to gray background because blue links on purple background
are hard to read
* header.ezt
(nav_path):
make it bold
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@930 8cb11bc2-c004-0410-86c3-e597b4017df7
* lib/viewcvs.py
(Request.run_viewcvs):
don't do blind redirects when we have a "root" parameter in
root_as_url mode because it can lead to multiple redirects
and redirects to invalid urls
don't even try to interpret non-root_as_url url's in
root_as_url mode when they don't specify an explicit
root. It can't be done reliably and there's little
value in it anyway
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@929 8cb11bc2-c004-0410-86c3-e597b4017df7
page. They weren't terribly useful or accurate.
* lib/viewcvs.py
(Request.setup_mime_type_info):
stop setting "default_viewable" member
(view_auto):
stop using request's "default_viewable" member, just compute value
on the fly
(view_log):
stop setting "viewable" and "is_text" template variables
* website/upgrading.html
update documentation
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@928 8cb11bc2-c004-0410-86c3-e597b4017df7
externally visible difference is that in root_as_url mode,
links with "root" parameters no longer get a redundant path
component pointing at the current root.
* lib/viewcvs.py
(_sticky_vars):
don't make root a sticky var, it gets special treatment anyway
and having it sticky just makes things more complicated
(Request.get_link):
remove redundant and never-used rootname argument
make logic that suppresses sticky variables on checkout and
tarball links more explicit
change code for merging sticky variables to operate on the
dictionary of parameters instead of building a new dictionary
make code that handles the "root" parameter generate minimal
URLs in all circumstances
(Request.get_options):
removed, logic moved into Request.get_link
(Request.sticky_vars):
new method that returns a dictionary of stick variables
(view_annotate, view_cvsgraph):
call Request.sticky_vars instead of Request.get_options
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@926 8cb11bc2-c004-0410-86c3-e597b4017df7
we can get rid of the alternative icons we provided for the standalone web
server and IIS. We can also get rid of the "icons" configuration option.
* lib/apache_icons.py
* tools/bin2inline_py.py
removed, icons for the standalone server
* windows/icons/apache_pb.gif
* windows/icons/small/back.gif
* windows/icons/small/dir.gif
* windows/icons/small/text.gif
removed, icons for IIS
* templates/include/footer.ezt
point "Powered by Apache" image at /icons/apache_pb.gif instead of
[icons]/apache_pb.gif
* standalone.py
(apache_icons, icons_last_modified):
removed
(ViewCVS_Handler.do_GET):
remove handling of /icons/ paths
(serve):
stop setting options.icons config value
* viewcvs.conf.dist
(icons):
removed
* lib/config.py
(Config.set_defaults):
stop setting default options.icons config value
* lib/viewcvs.py
(common_template_data):
don't set "icons" template variable
* windows/README
(ICONS FOR IIS):
removed
(DOCROOT OPTIMIZATION):
new section about the docroot parameter
* website/upgrading.html
remove documentation for "icons" template variable, update
documentation for "docroot"
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@923 8cb11bc2-c004-0410-86c3-e597b4017df7
templates/docroot/
* templates/docroot/help_*.html, templates/docroot/styles.css: copied
from website/
* templates/docroot/images/*: copied from website/images/ or from Apache.
fix up the transparency on some of the PNGs (just 1-bit transparency
though, so they work with IE).
* lib/viewcvs.py (view_doc): update to the new location for documentation.
We can use the same location in the "installed" and "uninstalled" modes.
* viewcvs.conf.dist: update the comment about the docroot config value.
* templates/*.ezt: update for new icon locations.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@921 8cb11bc2-c004-0410-86c3-e597b4017df7
* viewcvs/lib/viewcvs.py
Update all uses of "ViewcvsException" to "ViewCVSException".
(_RCSDIFF_IS_BINARY): Make this value match the one used in templates.
(human_readable_diff): If rcsdiff comes back with the wrong version
information, raise an exception that error.ezt can handle. Also,
simplify the handling of rcsdiff_eflag.
(download_tarball, view_cvsgraph_image, view_cvsgraph_image): Raise
403 Forbidden's for disable features.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@920 8cb11bc2-c004-0410-86c3-e597b4017df7
* lib/viewcvs.py: add an optional escape parameter to the get_url()
method, that will entity escape the URL.
Pass escape=1 to each call to get_url() that is used to construct a
URL for display in a template.
* lib/blame.py: fix up a small entity escaping problem here too.
* templates/revision.ezt: fix up a few HTML validity errors in this
template that were a lot more obvious after clearing up the other
errors.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@918 8cb11bc2-c004-0410-86c3-e597b4017df7