From 6cf7bc847ece2f75027235a93ca17a86fcc12cbd Mon Sep 17 00:00:00 2001 From: Jeremy Olexa Date: Wed, 24 Mar 2010 10:24:15 -0500 Subject: Initial commit. Default template from viewvc package --- diff.ezt | 240 ++++++++++++++++++++++++++++++++ dir_new.ezt | 140 +++++++++++++++++++ directory.ezt | 116 ++++++++++++++++ docroot/help.css | 14 ++ docroot/help_dirview.html | 122 +++++++++++++++++ docroot/help_log.html | 66 +++++++++ docroot/help_query.html | 62 +++++++++ docroot/help_rootview.html | 157 +++++++++++++++++++++ docroot/images/annotate.png | Bin 0 -> 764 bytes docroot/images/back.png | Bin 0 -> 337 bytes docroot/images/back_small.png | Bin 0 -> 205 bytes docroot/images/broken.png | Bin 0 -> 247 bytes docroot/images/chalk.jpg | Bin 0 -> 755 bytes docroot/images/cvsgraph_16x16.png | Bin 0 -> 162 bytes docroot/images/cvsgraph_32x32.png | Bin 0 -> 219 bytes docroot/images/diff.png | Bin 0 -> 240 bytes docroot/images/dir.png | Bin 0 -> 228 bytes docroot/images/down.png | Bin 0 -> 167 bytes docroot/images/download.png | Bin 0 -> 295 bytes docroot/images/favicon.ico | Bin 0 -> 1406 bytes docroot/images/feed-icon-16x16.jpg | Bin 0 -> 1004 bytes docroot/images/forward.png | Bin 0 -> 338 bytes docroot/images/list.png | Bin 0 -> 467 bytes docroot/images/lock.png | Bin 0 -> 303 bytes docroot/images/log.png | Bin 0 -> 428 bytes docroot/images/text.png | Bin 0 -> 226 bytes docroot/images/up.png | Bin 0 -> 168 bytes docroot/images/view.png | Bin 0 -> 186 bytes docroot/images/viewvc-logo.png | Bin 0 -> 8376 bytes docroot/styles.css | 274 +++++++++++++++++++++++++++++++++++++ error.ezt | 51 +++++++ file.ezt | 123 +++++++++++++++++ graph.ezt | 18 +++ include/diff_form.ezt | 67 +++++++++ include/dir_footer.ezt | 9 ++ include/dir_header.ezt | 84 ++++++++++++ include/file_header.ezt | 16 +++ include/footer.ezt | 17 +++ include/header.ezt | 23 ++++ include/log_footer.ezt | 10 ++ include/log_header.ezt | 54 ++++++++ include/paging.ezt | 20 +++ include/pathrev_form.ezt | 53 +++++++ include/props.ezt | 26 ++++ include/sort.ezt | 17 +++ log.ezt | 150 ++++++++++++++++++++ log_table.ezt | 176 ++++++++++++++++++++++++ query.ezt | 241 ++++++++++++++++++++++++++++++++ query_form.ezt | 207 ++++++++++++++++++++++++++++ query_results.ezt | 86 ++++++++++++ revision.ezt | 80 +++++++++++ roots.ezt | 29 ++++ rss.ezt | 17 +++ 53 files changed, 2765 insertions(+) create mode 100644 diff.ezt create mode 100644 dir_new.ezt create mode 100644 directory.ezt create mode 100644 docroot/help.css create mode 100644 docroot/help_dirview.html create mode 100644 docroot/help_log.html create mode 100644 docroot/help_query.html create mode 100644 docroot/help_rootview.html create mode 100644 docroot/images/annotate.png create mode 100644 docroot/images/back.png create mode 100644 docroot/images/back_small.png create mode 100644 docroot/images/broken.png create mode 100644 docroot/images/chalk.jpg create mode 100644 docroot/images/cvsgraph_16x16.png create mode 100644 docroot/images/cvsgraph_32x32.png create mode 100644 docroot/images/diff.png create mode 100644 docroot/images/dir.png create mode 100644 docroot/images/down.png create mode 100644 docroot/images/download.png create mode 100644 docroot/images/favicon.ico create mode 100644 docroot/images/feed-icon-16x16.jpg create mode 100644 docroot/images/forward.png create mode 100644 docroot/images/list.png create mode 100644 docroot/images/lock.png create mode 100644 docroot/images/log.png create mode 100644 docroot/images/text.png create mode 100644 docroot/images/up.png create mode 100644 docroot/images/view.png create mode 100644 docroot/images/viewvc-logo.png create mode 100644 docroot/styles.css create mode 100644 error.ezt create mode 100644 file.ezt create mode 100644 graph.ezt create mode 100644 include/diff_form.ezt create mode 100644 include/dir_footer.ezt create mode 100644 include/dir_header.ezt create mode 100644 include/file_header.ezt create mode 100644 include/footer.ezt create mode 100644 include/header.ezt create mode 100644 include/log_footer.ezt create mode 100644 include/log_header.ezt create mode 100644 include/paging.ezt create mode 100644 include/pathrev_form.ezt create mode 100644 include/props.ezt create mode 100644 include/sort.ezt create mode 100644 log.ezt create mode 100644 log_table.ezt create mode 100644 query.ezt create mode 100644 query_form.ezt create mode 100644 query_results.ezt create mode 100644 revision.ezt create mode 100644 roots.ezt create mode 100644 rss.ezt diff --git a/diff.ezt b/diff.ezt new file mode 100644 index 0000000..f01fbc4 --- /dev/null +++ b/diff.ezt @@ -0,0 +1,240 @@ +[# setup page definitions] + [define page_title]Diff of /[where][end] + [define help_href][docroot]/help_rootview.html[end] +[# end] + +[include "include/header.ezt" "diff"] +[include "include/file_header.ezt"] + +

+ +[if-any raw_diff] +
[raw_diff]
+[end] + +[define left_view_href][if-any left.prefer_markup][left.view_href][else][if-any left.download_href][left.download_href][end][end][end] +[define right_view_href][if-any right.prefer_markup][right.view_href][else][if-any right.download_href][right.download_href][end][end][end] + +[if-any changes] + + + + + + + + [for changes] + [is changes.type "header"] + + + + + + [else] + [is changes.type "add"] + + + + + + [else] + [is changes.type "remove"] + + + + + + [else] + [is changes.type "change"] + + [if-any changes.have_right] + + [else] + + [end] + [if-any changes.have_left] + + [else] + + [end] + [if-any changes.have_right] + + [else] + + [end] + + [else] + [is changes.type "no-changes"] + + + + + + + [else] + [is changes.type "binary-diff"] + + + + + + + [else] + [is changes.type "error"] + + + + + + + [else] + + + + + + [end] + [end] + [end] + [end] + [end] + [end] + [end] + [end] +
+ [is left.path right.path][else][left.path][end] + revision [if-any left_view_href][end][left.rev][if-any left_view_href][end][if-any left.author] by [left.author][end], + [left.date] + [if-any left.tag]
Tag: [left.tag][end] +
+ [is left.path right.path][else][right.path][end] + revision [if-any right_view_href][end][right.rev][if-any right_view_href][end][if-any right.author] by [right.author][end], + [right.date] + [if-any right.tag]
Tag: [right.tag][end] +
# + Line [changes.line_info_left]  + [changes.line_info_extra] + + Line [changes.line_info_right]  + [changes.line_info_extra] +
[if-any right.annotate_href][changes.line_number][else][changes.line_number][end]  [changes.right]
 [changes.left] 
[if-any right.annotate_href][changes.line_number][else][changes.line_number][end] [changes.left]  [changes.right] 
 

+ - No changes -
 
 

+ - Binary file revisions differ -
 
 

+ - ViewVC depends on rcsdiff and GNU diff to create + this page. ViewVC cannot find GNU diff. Even if you + have GNU diff installed, the rcsdiff program must be + configured and compiled with the GNU diff location. + -
 
[if-any right.annotate_href][changes.line_number][else][changes.line_number][end] [changes.left] [changes.right]
+[end] + +[if-any sidebyside] + + + + + + + + + + + [for sidebyside] + [if-any sidebyside.gap] + + + + + [end] + + [for sidebyside.columns] + [for sidebyside.columns.segments][if-any sidebyside.columns.segments.type][sidebyside.columns.segments.text][else][sidebyside.columns.segments.text][end][end] + [end] + + [end] + +
+ [is left.path right.path][else][left.path][end] + Revision [left.rev] + + [is left.path right.path][else][right.path][end] + Revision [right.rev] +
[sidebyside.columns.line_number]
+[end] + +[if-any unified] + + + + + + + + + + [for unified] + [if-any unified.gap] + + + + + + [end] + + + + [for unified.segments][if-any unified.segments.type][unified.segments.text][else][unified.segments.text][end][end] + + [end] + +
r[left.rev]r[right.rev]
[unified.left_number][unified.right_number]
+[end] + +
+ + + + + + +
+
+
+ [for diff_format_hidden_values][end] + + +
+
+
+[if-any raw_diff] +   +[else] + + + + +
Legend:
+ + + + + + + + + + + + +
Removed from v.[left.rev] 
changed lines
 Added in v.[right.rev]
+
+[end] +
+ +[include "include/footer.ezt"] diff --git a/dir_new.ezt b/dir_new.ezt new file mode 100644 index 0000000..f99d31a --- /dev/null +++ b/dir_new.ezt @@ -0,0 +1,140 @@ +[include "include/dir_header.ezt"] + + + + + + + [if-any sortby_rev_href] + + + + + +[if-any up_href] + + + + + + [end] +[for entries] + + + + [if-any entries.errors] + + [else] + [define view_icon_link][end] + [define graph_icon_link][end] + [define download_icon_link][end] + [define annotate_icon_link][end] + [define log_icon_link][if-any entries.log_href]View Log[end][end] + + [is entries.pathtype "dir"] + [is roottype "cvs"] + [# no point in showing icon when there's only one to choose from] + [else] + [define view_icon_link]View Directory Listing[end] + [end] + [end] + + [is entries.pathtype "file"] + [define view_icon_link][if-any entries.view_href]View File[end][end] + + [define graph_icon_link][if-any entries.graph_href]View Revision Graph[end][end] + + [define download_icon_link][if-any entries.download_href]Download File[end][end] + + [define annotate_icon_link][if-any entries.annotate_href]Annotate File[end][end] + [end] + + + + + [end] + +[end] + + +
+ [if-any sortby_file_href]File[else]File[end] + [is sortby "file"] + [is sortdir + [end] + + Last Change + [is sortby "rev"] + [is sortdir + [end] + [else] + + [if-any sortby_date_href]Last Change[else]Last Change[end] + [is sortby "date"] + [is sortdir + [end] + [end] +
+ +  Parent Directory +  
+ + + [entries.name][is entries.pathtype "dir"]/[end] + [if-any entries.lockinfo]locked[end] + [is entries.state "dead"](dead)[end] + [for entries.errors][entries.errors][end][# Icon column. We might want to add more icons like a tarball + # icon for directories or a diff to previous icon for files. + # Make sure this sucker has no whitespace in it, or the fixed + # widthness of will suffer for large font sizes + ][log_icon_link][view_icon_link][graph_icon_link][download_icon_link][annotate_icon_link] + [if-any entries.rev] + [if-any entries.revision_href][entries.rev][else][entries.rev][end] + ([entries.ago] ago) + by [entries.author]: + [entries.log] + [is entries.pathtype "dir"][is roottype "cvs"] + (from [entries.log_file]/[entries.log_rev]) + [end][end] + [end] +
+ +[include "include/dir_footer.ezt"] diff --git a/directory.ezt b/directory.ezt new file mode 100644 index 0000000..538dcfb --- /dev/null +++ b/directory.ezt @@ -0,0 +1,116 @@ +[include "include/dir_header.ezt"] + + + + + + + + +[is cfg.options.show_logs "1"] + +[end] + + + + +[if-any up_href] + + + + + + [is cfg.options.show_logs "1"] + + [end] + + [end] + [for entries] + + + [is entries.pathtype "dir"] + + [else] + + [end] + + [entries.name][is entries.pathtype "dir"]/[end] + [is entries.state "dead"](dead)[end] + + [if-any entries.graph_href] + + [end] + [if-any entries.errors] + + [else] + [is entries.pathtype "dir"] + + [else] + [define rev_href][if-any entries.prefer_markup][entries.view_href][else][if-any entries.download_href][entries.download_href][end][end][end] + + [end] + + + [is cfg.options.show_logs "1"] + [if-any entries.short_log] + + [else] + + [end] + [end] + [end] + +[end] + + +
+ [if-any sortby_file_href]File[else]File[end] + [is sortby "file"] + [is sortdir + [end] + + [if-any sortby_rev_href]Rev.[else]Rev.[end] + [is sortby "rev"] + [is sortdir + [end] + + [if-any sortby_date_href]Age[else]Age[end] + [is sortby "date"] + [is sortdir + [end] + + [if-any sortby_author_href]Author[else]Author[end] + [is sortby "author"] + [is sortdir + [end] + + [if-any sortby_log_href]Last log entry[else]Last log entry[end] + [is sortby "log"] + [is sortdir + [end] +
+ +  Parent Directory +     
View Revision Graph + + [for entries.errors][entries.errors][end] +  [if-any entries.rev][entries.rev][end] [if-any entries.rev][if-any rev_href][end][entries.rev][if-any rev_href][end][end] + [if-any entries.lockinfo]locked[end] +  [entries.ago] [entries.author] [entries.short_log][is entries.pathtype "dir"][is roottype "cvs"] + (from [entries.log_file]/[entries.log_rev])[end][end] 
+ +[include "include/dir_footer.ezt"] diff --git a/docroot/help.css b/docroot/help.css new file mode 100644 index 0000000..9adde07 --- /dev/null +++ b/docroot/help.css @@ -0,0 +1,14 @@ +/************************************/ +/*** ViewVC Help CSS Stylesheet ***/ +/************************************/ + +/*** Standard Tags ***/ +body { + margin: 0.5em; +} +img { border: none; } + +table { width: 100%; } +td { vertical-align: top; } + +col.menu { width:12em; } diff --git a/docroot/help_dirview.html b/docroot/help_dirview.html new file mode 100644 index 0000000..f86cb4a --- /dev/null +++ b/docroot/help_dirview.html @@ -0,0 +1,122 @@ + + + + ViewVC Help: Directory View + + + + + +
ViewVC logotype
+ + + +
+

Help

+ General
+ Directory View
+ Log View
+ Query Database
+
+ +

ViewVC Help: Directory View

+ +

The directory listing view should be a familiar sight to any + computer user. It shows the path of the current directory being viewed + at the top of the page. Below that is a table summarizing the + directory contents, and then comes actual contents, a sortable list of + all files and subdirectories inside the current directory.

+ +

The summary table is made up of some or all + of the following rows:

+
    +
  • Files Shown + - Number of files shown in the directory listing. This might be less + than the actual number of files in the directory if a + regular expression search is in place, + hiding files which don't meet the search criteria. In CVS directory + listings, this row will also have a link to toggle display of + dead files, if any are + present.
  • + +
  • Directory + Revision - For Subversion directories only. + Shown as "# of #" where the first number is the most recent + repository revision where the directory (or a path underneath it) + was modified. The second number is just the latest repository + revision. Both numbers are links to + revision views
  • + +
  • Sticky + Revision/Tag - shows the current + sticky revision or + tag and contains form fields to set or clear it.
  • + +
  • Current Search - + If a regular expression search is in place, + shows the search string.
  • + +
  • Query - Provides + a link to a query form + for the directory
  • +
+ +

The actual directory list is a table with + filenames and directory names in one column and information about the + most recent revisions where each file or directory was modified in the + other columns. Column headers can be clicked to sort the directory + entries in order by a column, and clicked again to reverse the sort + order.

+ +

+ + File names are links to log views + showing a list of revisions where a file was modified. Revision + numbers are links to either + view + or download a file + (depending on its file type). The links are reversed for directories. + Directory revision numbers are links to log + views, while directory names are links showing the contents of those + directories. + + + + + Also, in CVS repositories with the + graph view enabled, there + will be small + graph + icons next to file names which are links to revision graphs.

+ +

Depending on how ViewVC is configured, there may be more options + at the bottom of directory pages:

+ +
    +
  • Regular expression + search - If enabled, will show a form field accepting + a search string (a + python regular + expression). Once submitted, only files that have at least + one occurance of the expression will show up in directory listings. +
  • +
  • Tarball download - + If enabled, will show a link to download a gzipped tar archive of + the directory contents.
  • +
+ +
+
+
ViewVC Users Mailinglist
+ + diff --git a/docroot/help_log.html b/docroot/help_log.html new file mode 100644 index 0000000..5ddf0d4 --- /dev/null +++ b/docroot/help_log.html @@ -0,0 +1,66 @@ + + + + ViewVC Help: Log View + + + + + +
ViewVC logotype
+ + + +
+

Help

+ General
+ Directory View
+ Log View
+ Query Database
+
+ +

ViewVC Help: Log View

+ +

+ The log view displays the revision history of the selected source + file or directory. For each revision the following information is + displayed: + +

    +
  • The revision number. In Subversion repositories, this is a + link to the revision + view
  • +
  • For files, links to + view, + download, and + annotate the + revision. For directories, a link to + list directory contents
  • +
  • A link to select the revision for diffs (see below)
  • +
  • The date and age of the change
  • +
  • The author of the modification
  • +
  • The CVS branch (usually MAIN, if not on a branch)
  • +
  • Possibly a list of CVS tags bound to the revision (if any)
  • +
  • The size of the change measured in added and removed lines of + code. (CVS only)
  • +
  • The size of the file in bytes at the time of the revision + (Subversion only)
  • +
  • Links to view diffs to the previous revision or possibly to + an arbitrary selected revision (if any, see above)
  • +
  • If the revision is the result of a copy, the path and revision + copied from
  • +
  • If the revision precedes a copy or rename, the path at the + time of the revision
  • +
  • And last but not least, the commit log message which should tell + about the reason for the change.
  • +
+

+ At the bottom of the page you will find a form which allows + to request diffs between arbitrary revisions. +

+
+
+
ViewVC Users Mailinglist
+ + diff --git a/docroot/help_query.html b/docroot/help_query.html new file mode 100644 index 0000000..9bab797 --- /dev/null +++ b/docroot/help_query.html @@ -0,0 +1,62 @@ + + + + ViewVC Help: Query The Commit Database + + + + + +
ViewVC logotype
+ + + +
+

Help:

+ General
+ Directory View
+ Log View
+ Query Database +
+ +

ViewVC Help: Query The Commit Database

+ +

+ Select your parameters for querying the CVS commit database in the + form at the top of the page. You + can search for multiple matches by typing a comma-seperated list + into the text fields. Regular expressions, and wildcards are also + supported. Blank text input fields are treated as wildcards. +

+

+ Any of the text entry fields can take a comma-seperated list of + search arguments. For example, to search for all commits from + authors jpaint and gstein, just type: jpaint, + gstein in the Author input box. If you are searching + for items containing spaces or quotes, you will need to quote your + request. For example, the same search above with quotes is: + "jpaint", "gstein". +

+

+ Wildcard and regular expression searches are entered in a similar + way to the quoted requests. You must quote any wildcard or + regular expression request, and a command character preceeds the + first quote. The command character l(lowercase L) is for wildcard + searches, and the wildcard character is a percent (%). The + command character for regular expressions is r, and is + passed directly to MySQL, so you'll need to refer to the MySQL + manual for the exact regex syntax. It is very similar to Perl. A + wildard search for all files with a .py extention is: + l"%.py" in the File input box. The same search done + with a regular expression is: r".*\.py". +

+

+ All search types can be mixed, as long as they are seperated by + commas. +

+
+
+
ViewVC Users Mailinglist
+ + diff --git a/docroot/help_rootview.html b/docroot/help_rootview.html new file mode 100644 index 0000000..24457e9 --- /dev/null +++ b/docroot/help_rootview.html @@ -0,0 +1,157 @@ + + + + ViewVC Help: General + + + + + +
ViewVC logotype
+ + + +
+

Help

+ General
+ Directory View
+ Log View
+ Query Database
+
+ +

ViewVC Help: General

+ +

ViewVC is a WWW interface for CVS and Subversion + repositories. It allows you to browse the files and directories in a + repository while showing you metadata from the repository history: log + messages, modification dates, author names, revision numbers, copy + history, and so on. It provides several different views of repository + data to help you find the information you are looking for:

+ + + +

Sticky Revision and Tag

+ +

By default, ViewVC will show the files and directories and revisions + that currently exist in the repository. But it's also possible to browse + the contents of a repository at a point in its past history by choosing + a "sticky tag" (in CVS) or a "sticky revision" (in Subversion) from the + forms at the top of directory and log pages. They're called sticky + because once they're chosen, they stick around when you navigate to + other pages, until you reset them. When they're set, directory and log + pages only show revisions preceding the specified point in history. In + CVS, when a tag refers to a branch or a revision on a branch, only + revisions from the branch history are shown, including branch points and + their preceding revisions.

+ +

Dead Files

+ +

In CVS directory listings, ViewVC can optionally display dead files. + Dead files are files which used to be in a directory but are currently + deleted, or files which just don't exist in the currently selected + sticky tag. Dead files cannot be + shown in Subversion repositories. The only way to see a deleted file in + a Subversion directory is to navigate to a sticky revision where the + file previously existed.

+ +

Artificial Tags

+ +

In CVS Repositories, ViewVC adds artificial tags HEAD and + MAIN to tag listings and accepts them in place of revision + numbers and real tag names in all URLs. MAIN acts like a branch + tag pointing at the default branch, while HEAD acts like a + revision tag pointing to the latest revision on the default branch. The + default branch is usually just the trunk, but may be set to other + branches inside individual repository files. CVS will always check out + revisions from a file's default branch when no other branch is specified + on the command line.

+ +

More Information

+ +

More information about ViewVC is available from + viewvc.org. + See the links below for guides to CVS and Subversion

+ +

Documentation about CVS

+
+

+ Open Source + Development with CVS
+ CVS + User's Guide
+ Another CVS tutorial
+ Yet another CVS tutorial (a little old, but nice)
+ An old but very useful FAQ about CVS +

+
+ +

Documentation about Subversion

+
+

+ Version Control with + Subversion
+

+
+
+
+
ViewVC Users Mailinglist
+ + diff --git a/docroot/images/annotate.png b/docroot/images/annotate.png new file mode 100644 index 0000000..ed2d33b Binary files /dev/null and b/docroot/images/annotate.png differ diff --git a/docroot/images/back.png b/docroot/images/back.png new file mode 100644 index 0000000..65f4631 Binary files /dev/null and b/docroot/images/back.png differ diff --git a/docroot/images/back_small.png b/docroot/images/back_small.png new file mode 100644 index 0000000..a057c3f Binary files /dev/null and b/docroot/images/back_small.png differ diff --git a/docroot/images/broken.png b/docroot/images/broken.png new file mode 100644 index 0000000..cdaf236 Binary files /dev/null and b/docroot/images/broken.png differ diff --git a/docroot/images/chalk.jpg b/docroot/images/chalk.jpg new file mode 100644 index 0000000..73c9533 Binary files /dev/null and b/docroot/images/chalk.jpg differ diff --git a/docroot/images/cvsgraph_16x16.png b/docroot/images/cvsgraph_16x16.png new file mode 100644 index 0000000..6f5bece Binary files /dev/null and b/docroot/images/cvsgraph_16x16.png differ diff --git a/docroot/images/cvsgraph_32x32.png b/docroot/images/cvsgraph_32x32.png new file mode 100644 index 0000000..f1ccc45 Binary files /dev/null and b/docroot/images/cvsgraph_32x32.png differ diff --git a/docroot/images/diff.png b/docroot/images/diff.png new file mode 100644 index 0000000..9047bfe Binary files /dev/null and b/docroot/images/diff.png differ diff --git a/docroot/images/dir.png b/docroot/images/dir.png new file mode 100644 index 0000000..a11e7eb Binary files /dev/null and b/docroot/images/dir.png differ diff --git a/docroot/images/down.png b/docroot/images/down.png new file mode 100644 index 0000000..5644d63 Binary files /dev/null and b/docroot/images/down.png differ diff --git a/docroot/images/download.png b/docroot/images/download.png new file mode 100644 index 0000000..0fbfe43 Binary files /dev/null and b/docroot/images/download.png differ diff --git a/docroot/images/favicon.ico b/docroot/images/favicon.ico new file mode 100644 index 0000000..9ba7f80 Binary files /dev/null and b/docroot/images/favicon.ico differ diff --git a/docroot/images/feed-icon-16x16.jpg b/docroot/images/feed-icon-16x16.jpg new file mode 100644 index 0000000..0c72133 Binary files /dev/null and b/docroot/images/feed-icon-16x16.jpg differ diff --git a/docroot/images/forward.png b/docroot/images/forward.png new file mode 100644 index 0000000..d8185ac Binary files /dev/null and b/docroot/images/forward.png differ diff --git a/docroot/images/list.png b/docroot/images/list.png new file mode 100644 index 0000000..7995fdd Binary files /dev/null and b/docroot/images/list.png differ diff --git a/docroot/images/lock.png b/docroot/images/lock.png new file mode 100644 index 0000000..9e3bf42 Binary files /dev/null and b/docroot/images/lock.png differ diff --git a/docroot/images/log.png b/docroot/images/log.png new file mode 100644 index 0000000..d2da45b Binary files /dev/null and b/docroot/images/log.png differ diff --git a/docroot/images/text.png b/docroot/images/text.png new file mode 100644 index 0000000..6e050cd Binary files /dev/null and b/docroot/images/text.png differ diff --git a/docroot/images/up.png b/docroot/images/up.png new file mode 100644 index 0000000..625819f Binary files /dev/null and b/docroot/images/up.png differ diff --git a/docroot/images/view.png b/docroot/images/view.png new file mode 100644 index 0000000..a168c38 Binary files /dev/null and b/docroot/images/view.png differ diff --git a/docroot/images/viewvc-logo.png b/docroot/images/viewvc-logo.png new file mode 100644 index 0000000..6e16f3b Binary files /dev/null and b/docroot/images/viewvc-logo.png differ diff --git a/docroot/styles.css b/docroot/styles.css new file mode 100644 index 0000000..1ca1e9c --- /dev/null +++ b/docroot/styles.css @@ -0,0 +1,274 @@ +/*******************************/ +/*** ViewVC CSS Stylesheet ***/ +/*******************************/ + +/*** Standard Tags ***/ +html, body { + color: #000000; + background-color: #ffffff; + font-family: sans-serif; +} + +a:link { color: #0000ff; } +a:visited { color: #880088; } +a:active { color: #0000ff; } + +img { border: none; } +table { + width: 100%; + margin: 0; + border: none; +} +table.auto { + width: auto; +} +table.fixed { + width: 100%; + table-layout: fixed; +} +table.fixed td { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +tr, td, th { vertical-align: top; } +th { white-space: nowrap; } +form { margin: 0; } + + +/*** Icons ***/ +.vc_icon { + width: 16px; + height: 16px; + border: none; + padding: 0 1px; +} + + +/*** Navigation Headers ***/ +.vc_navheader { + background-color: #cccccc; + padding: .25em; +} +.vc_navheader .pathdiv { + padding: 0 3px; +} + + +/*** Table Headers ***/ +.vc_header { + text-align: left; + vertical-align: top; + background-color: #cccccc; +} +.vc_header_sort { + text-align: left; + background-color: #88ff88; +} + + +/*** Table Rows ***/ +.vc_row_even { + background-color: #ffffff; +} +.vc_row_odd { + background-color: #f0f0f0; +} +.vc_row_special { + background-color: #ffff7f; +} + + +/*** Log messages ***/ +.vc_log { + /* unfortunately, white-space: pre-wrap isn't widely supported ... */ + white-space: -moz-pre-wrap; /* Mozilla based browsers */ + white-space: -pre-wrap; /* Opera 4 - 6 */ + white-space: -o-pre-wrap; /* Opera >= 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ +} + + +/*** Properties Listing ***/ +.vc_properties { + margin: 1em 0; +} +.vc_properties h2 { + font-size: 115%; +} + + +/*** File Content Markup Styles ***/ +.vc_summary { + background-color: #eeeeee; +} +#vc_file td { + border-right-style: solid; + border-right-color: #505050; + text-decoration: none; + font-weight: normal; + font-style: normal; + padding: 1px 5px; +} +.vc_file_line_number { + border-right-width: 1px; + background-color: #eeeeee; + color: #505050; + text-align: right; +} +.vc_file_line_author, .vc_file_line_rev { + border-right-width: 1px; + text-align: right; +} +.vc_file_line_text { + border-right-width: 0px; + background-color: white; + font-family: monospace; + text-align: left; + white-space: pre; + width: 100%; +} +.pygments-c { color: #408080; font-style: italic } /* Comment */ +.pygments-err { border: 1px solid #FF0000 } /* Error */ +.pygments-k { color: #008000; font-weight: bold } /* Keyword */ +.pygments-o { color: #666666 } /* Operator */ +.pygments-cm { color: #408080; font-style: italic } /* Comment.Multiline */ +.pygments-cp { color: #BC7A00 } /* Comment.Preproc */ +.pygments-c1 { color: #408080; font-style: italic } /* Comment.Single */ +.pygments-cs { color: #408080; font-style: italic } /* Comment.Special */ +.pygments-gd { color: #A00000 } /* Generic.Deleted */ +.pygments-ge { font-style: italic } /* Generic.Emph */ +.pygments-gr { color: #FF0000 } /* Generic.Error */ +.pygments-gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.pygments-gi { color: #00A000 } /* Generic.Inserted */ +.pygments-go { color: #808080 } /* Generic.Output */ +.pygments-gp { color: #000080; font-weight: bold } /* Generic.Prompt */ +.pygments-gs { font-weight: bold } /* Generic.Strong */ +.pygments-gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.pygments-gt { color: #0040D0 } /* Generic.Traceback */ +.pygments-kc { color: #008000; font-weight: bold } /* Keyword.Constant */ +.pygments-kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ +.pygments-kp { color: #008000 } /* Keyword.Pseudo */ +.pygments-kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ +.pygments-kt { color: #B00040 } /* Keyword.Type */ +.pygments-m { color: #666666 } /* Literal.Number */ +.pygments-s { color: #BA2121 } /* Literal.String */ +.pygments-na { color: #7D9029 } /* Name.Attribute */ +.pygments-nb { color: #008000 } /* Name.Builtin */ +.pygments-nc { color: #0000FF; font-weight: bold } /* Name.Class */ +.pygments-no { color: #880000 } /* Name.Constant */ +.pygments-nd { color: #AA22FF } /* Name.Decorator */ +.pygments-ni { color: #999999; font-weight: bold } /* Name.Entity */ +.pygments-ne { color: #D2413A; font-weight: bold } /* Name.Exception */ +.pygments-nf { color: #0000FF } /* Name.Function */ +.pygments-nl { color: #A0A000 } /* Name.Label */ +.pygments-nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ +.pygments-nt { color: #008000; font-weight: bold } /* Name.Tag */ +.pygments-nv { color: #19177C } /* Name.Variable */ +.pygments-ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ +.pygments-w { color: #bbbbbb } /* Text.Whitespace */ +.pygments-mf { color: #666666 } /* Literal.Number.Float */ +.pygments-mh { color: #666666 } /* Literal.Number.Hex */ +.pygments-mi { color: #666666 } /* Literal.Number.Integer */ +.pygments-mo { color: #666666 } /* Literal.Number.Oct */ +.pygments-sb { color: #BA2121 } /* Literal.String.Backtick */ +.pygments-sc { color: #BA2121 } /* Literal.String.Char */ +.pygments-sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ +.pygments-s2 { color: #BA2121 } /* Literal.String.Double */ +.pygments-se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ +.pygments-sh { color: #BA2121 } /* Literal.String.Heredoc */ +.pygments-si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ +.pygments-sx { color: #008000 } /* Literal.String.Other */ +.pygments-sr { color: #BB6688 } /* Literal.String.Regex */ +.pygments-s1 { color: #BA2121 } /* Literal.String.Single */ +.pygments-ss { color: #19177C } /* Literal.String.Symbol */ +.pygments-bp { color: #008000 } /* Name.Builtin.Pseudo */ +.pygments-vc { color: #19177C } /* Name.Variable.Class */ +.pygments-vg { color: #19177C } /* Name.Variable.Global */ +.pygments-vi { color: #19177C } /* Name.Variable.Instance */ +.pygments-il { color: #666666 } /* Literal.Number.Integer.Long */ + + +/*** Diff Styles ***/ +.vc_diff_header { + background-color: #ffffff; +} +.vc_diff_chunk_header { + background-color: #99cccc; +} +.vc_diff_chunk_extra { + font-size: smaller; +} +.vc_diff_empty { + background-color: #cccccc; + font-family: sans-serif; + font-size: smaller; +} +.vc_diff_add { + background-color: #aaffaa; + font-family: sans-serif; + font-size: smaller; +} +.vc_diff_remove { + background-color: #ffaaaa; + font-family: sans-serif; + font-size: smaller; +} +.vc_diff_change { + background-color: #ffff77; + font-family: sans-serif; + font-size: smaller; +} +.vc_diff_change_empty { + background-color: #eeee77; + font-family: sans-serif; + font-size: smaller; +} +.vc_diff_nochange { + font-family: sans-serif; + font-size: smaller; +} +.vc_diff_line_number { +} +.vc_raw_diff { + background-color: #cccccc; + font-size: smaller; +} + + +/*** Intraline Diff Styles ***/ +.vc_idiff_add { + background-color: #aaffaa; +} +.vc_idiff_change { + background-color:#ffff77; +} +.vc_idiff_remove { + background-color:#ffaaaa; +} +.vc_idiff_empty { + background-color:#e0e0e0; +} +table.vc_idiff col.content { + width: 50%; +} +table.vc_idiff tbody { + font-family: monospace; + /* unfortunately, white-space: pre-wrap isn't widely supported ... */ + white-space: -moz-pre-wrap; /* Mozilla based browsers */ + white-space: -pre-wrap; /* Opera 4 - 6 */ + white-space: -o-pre-wrap; /* Opera >= 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ +} +table.vc_idiff tbody th { + background-color:#e0e0e0; + text-align:right; +} + + +/*** Query Form ***/ +.vc_query_form { + background-color: #e6e6e6; +} diff --git a/error.ezt b/error.ezt new file mode 100644 index 0000000..e1d61af --- /dev/null +++ b/error.ezt @@ -0,0 +1,51 @@ + + + + +ViewVC Exception + + +

An Exception Has Occurred

+ +[if-any msg] +

[msg]

+[end] + +[if-any status] +

HTTP Response Status

+

[status]

+
+[end] + +[if-any msg][else] +

Python Traceback

+

+[stacktrace]
+

+[end] + +[# Here follows a bunch of space characters, present to ensure that + our error message is larger than 512 bytes so that IE's "Friendly + Error Message" won't show. For more information, see + http://oreillynet.com/onjava/blog/2002/09/internet_explorer_subverts_err.html] + + + + + + + + + + + + + + + + + + + + diff --git a/file.ezt b/file.ezt new file mode 100644 index 0000000..9ced2b5 --- /dev/null +++ b/file.ezt @@ -0,0 +1,123 @@ +[# ------------------------------------------------------------------------- ] +[# CUSTOMIZE ME: To avoid displaying "binary garbage" -- the contents of ] +[# files with non-human-readable file formats -- change the value of the ] +[# hide_binary_garbage variable below to 1. ] +[# ------------------------------------------------------------------------- ] + +[define hide_binary_garbage]0[end] + +[# ------------------------------------------------------------------------- ] + +[# setup page definitions] + [define page_title]Contents of /[where][end] + [define help_href][docroot]/help_rootview.html[end] +[# end] + +[include "include/header.ezt" "markup"] +[include "include/file_header.ezt"] +
+
+Revision [if-any revision_href][rev][else][rev][end] - +([is annotation "annotated"]hide annotations[else]show annotations[end]) +[if-any download_href](download)[end] +[if-any download_text_href](as text)[end] + +[if-any vendor_branch] (vendor branch)[end] +
[if-any date][date][else](unknown date)[end] + [if-any ago]([ago] ago)[end] + by [if-any author][author][else](unknown author)[end] +[if-any orig_path] +
Original Path: [orig_path] +[end] + +[if-any branches] +
Branch: [branches] +[end] +[if-any tags] +
CVS Tags: [tags] +[end] +[if-any branch_points] +
Branch point for: [branch_points] +[end] +[is roottype "cvs"] + [if-any changed] +
Changes since [prev]: [changed] lines + [end] +[end] +[if-any mime_type] +
File MIME type: [mime_type] +[end] +[is roottype "svn"][if-any size] +
File size: [size] byte(s) +[end][end] +[if-any lockinfo] +
Lock status: Locked [lockinfo] +[end] +[is annotation "binary"] +
Unable to calculate annotation data on binary file contents. +[end] +[is annotation "error"] +
Error occurred while calculating annotation data. +[end] +[is state "dead"] +
FILE REMOVED +[end] +[if-any log] +
[log]
+[end] +
+ +[if-any prefer_markup][define hide_binary_garbage]0[end][end] +[if-any image_src_href][define hide_binary_garbage]0[end][end] + +[is hide_binary_garbage "1"] +

This file's contents are not viewable. + [if-any download_href]Please download + this version of the file in order to view it.[end]

+[else] + +[define last_rev]0[end] +[define rowclass]vc_row_even[end] + +[if-any lines] + +
+ +[for lines] + [is lines.rev last_rev] + [else] + [is lines.rev rev] + [define rowclass]vc_row_special[end] + [else] + [is rowclass "vc_row_even"] + [define rowclass]vc_row_odd[end] + [else] + [define rowclass]vc_row_even[end] + [end] + [end] + [end] + + + +[is annotation "annotated"] + + +[end] + + + [define last_rev][lines.rev][end] +[end] +
[lines.line_number][is lines.rev last_rev] [else][lines.author][end][is lines.rev last_rev] [else][if-any lines.diff_href][end][lines.rev][if-any lines.diff_href][end][end][lines.text]
+
+ +[else] +[if-any image_src_href] +
+ +
+[end] +[end] +[end] + +[include "include/props.ezt"] +[include "include/footer.ezt"] diff --git a/graph.ezt b/graph.ezt new file mode 100644 index 0000000..5227abc --- /dev/null +++ b/graph.ezt @@ -0,0 +1,18 @@ +[# setup page definitions] + [define page_title]Graph of /[where][end] + [define help_href][docroot]/help_rootview.html[end] +[# end] + +[include "include/header.ezt" "graph"] +[include "include/file_header.ezt"] + +
+ +
+[imagemap] +Revisions of [where] +
+ +[include "include/footer.ezt"] diff --git a/include/diff_form.ezt b/include/diff_form.ezt new file mode 100644 index 0000000..7bf4cdd --- /dev/null +++ b/include/diff_form.ezt @@ -0,0 +1,67 @@ +
+

+ This form allows you to request diffs between any two revisions of this file. + For each of the two "sides" of the diff, +[if-any tags] + select a symbolic revision name using the selection box, or choose + 'Use Text Field' and enter a numeric revision. +[else] + enter a numeric revision. +[end] +

+
+ + + + + + + + + + +
  + [for diff_select_hidden_values][end] + Diffs between +[if-any tags] + + +[else] + +[end] + + and +[if-any tags] + + +[else] + +[end] +
  + Type of Diff should be a + + +
+
diff --git a/include/dir_footer.ezt b/include/dir_footer.ezt new file mode 100644 index 0000000..5f25e69 --- /dev/null +++ b/include/dir_footer.ezt @@ -0,0 +1,9 @@ +[# if you want to disable tarball generation remove the following: ] +[if-any tarball_href] +
+

Download GNU tarball

+[end] + +[include "props.ezt"] +[include "footer.ezt"] + diff --git a/include/dir_header.ezt b/include/dir_header.ezt new file mode 100644 index 0000000..01870bf --- /dev/null +++ b/include/dir_header.ezt @@ -0,0 +1,84 @@ +[# setup page definitions] + [define page_title]Index of /[where][end] + [define help_href][docroot]/help_[if-any where]dir[else]root[end]view.html[end] +[# end] + +[include "header.ezt" "directory"] + +[if-any where][else] + +[end] + + + + +[is roottype "svn"] + + + + +[end] + + + + + +[if-any search_re_action] + + + + +[end] + +[if-any queryform_href] + + + + +[end] + +
Files shown:[files_shown] +[is num_dead "0"] +[else] + [if-any attic_showing] + (Hide [num_dead] dead files) + [else] + (Show [num_dead] dead files) + [end] +[end] +
Directory revision:[tree_rev][if-any youngest_rev] (of [youngest_rev])[end]
Sticky [is roottype "cvs"]Tag[else]Revision[end]:[include "pathrev_form.ezt"]
Filter files by content:
+
+ [for search_re_hidden_values][end] + + +
+
+ [if-any search_re] +
+
+ [for search_re_hidden_values][end] + +
+
+ [end] +
Query:Query revision history
+ +[is picklist_len "0"] +[else] + [is picklist_len "1"] + [else] +
+ [for dir_paging_hidden_values][end] + + +
+ [end] +[end] + +

+
+ diff --git a/include/file_header.ezt b/include/file_header.ezt new file mode 100644 index 0000000..091331b --- /dev/null +++ b/include/file_header.ezt @@ -0,0 +1,16 @@ +

+[is pathtype "file"] +Parent Directory Parent Directory +[if-any log_href] + | Revision Log Revision Log +[end] +[if-any graph_href] + | View Revision Graph Revision Graph +[end] +[is view "diff"] + | View Patch Patch +[end] +[else] +View Directory Listing Directory Listing +[end] +

diff --git a/include/footer.ezt b/include/footer.ezt new file mode 100644 index 0000000..9ad673b --- /dev/null +++ b/include/footer.ezt @@ -0,0 +1,17 @@ +[# standard footer used by all ViewVC pages ] + +
+ + + + + + + + + + +
[if-any cfg.general.address]
[cfg.general.address]
[else] [end]
ViewVC Help
Powered by ViewVC [vsn][if-any rss_href]RSS 2.0 feed[else] [end]
+ + + diff --git a/include/header.ezt b/include/header.ezt new file mode 100644 index 0000000..6784114 --- /dev/null +++ b/include/header.ezt @@ -0,0 +1,23 @@ + + + + + [if-any rootname][[][rootname]][else]ViewVC[end] [page_title] + + + + [if-any rss_href][end] + + +
+ + + +
[if-any roots_href]/[else]/[end][if-any nav_path][for nav_path][if-any nav_path.href][end][if-index nav_path first][[][nav_path.name]][else][nav_path.name][end][if-any nav_path.href][end][if-index nav_path last][else]/[end][end][end][if-any username]Logged in as: [username][end]
+
+ +
ViewVC logotype
+

[page_title]

+ + diff --git a/include/log_footer.ezt b/include/log_footer.ezt new file mode 100644 index 0000000..b39c861 --- /dev/null +++ b/include/log_footer.ezt @@ -0,0 +1,10 @@ +[include "paging.ezt"] + +[is pathtype "file"] + [include "diff_form.ezt"] +[end] + +[include "sort.ezt"] + +[include "footer.ezt"] + diff --git a/include/log_header.ezt b/include/log_header.ezt new file mode 100644 index 0000000..34ed362 --- /dev/null +++ b/include/log_header.ezt @@ -0,0 +1,54 @@ +[# setup page definitions] + [define page_title]Log of /[where][end] + [define help_href][docroot]/help_log.html[end] +[# end] + +[include "header.ezt" "log"] +[include "file_header.ezt"] + +
+ + + +[if-any default_branch] + + + + +[end] + +[is pathtype "file"] +[if-any head_view_href] + + + + +[end] + +[if-any tag_view_href] + + + + +[end] +[end] + + + + + + +
Default branch:[for default_branch][default_branch.name][if-index default_branch last][else], [end] +[end]
Links to HEAD: + (view) + [if-any head_download_href](download)[end] + [if-any head_download_text_href](as text)[end] + [if-any head_annotate_href](annotate)[end] +
Links to [pathrev]: + (view) + [if-any tag_download_href](download)[end] + [if-any tag_download_text_href](as text)[end] + [if-any tag_annotate_href](annotate)[end] +
Sticky [is roottype "cvs"]Tag[else]Revision[end]:[include "pathrev_form.ezt"]
+ +[include "paging.ezt"] diff --git a/include/paging.ezt b/include/paging.ezt new file mode 100644 index 0000000..cad8c85 --- /dev/null +++ b/include/paging.ezt @@ -0,0 +1,20 @@ + [is picklist_len "0"] + [else] + [is picklist_len "1"] + [else] +
+
+ [for log_paging_hidden_values][end] + + +
+ [end] + [end] \ No newline at end of file diff --git a/include/pathrev_form.ezt b/include/pathrev_form.ezt new file mode 100644 index 0000000..33ff961 --- /dev/null +++ b/include/pathrev_form.ezt @@ -0,0 +1,53 @@ +
+
+[for pathrev_hidden_values][end] +[is roottype "cvs"] + [define pathrev_selected][pathrev][end] + +[else] + +[end] + +
+
+ +[if-any pathrev] +
+
+[for pathrev_clear_hidden_values][end] +[if-any lastrev] + [is pathrev lastrev][else][end] + (Current path doesn't exist after revision [lastrev]) +[else] + +[end] +
+
+[end] diff --git a/include/props.ezt b/include/props.ezt new file mode 100644 index 0000000..0f92c38 --- /dev/null +++ b/include/props.ezt @@ -0,0 +1,26 @@ +[if-any properties] +
+
+

Properties

+ + + + + + + + +[for properties] + + + [if-any properties.undisplayable] + + [else] + + [end] + +[end] + +
NameValue
[properties.name]Property value is undisplayable.[properties.value]
+
+[end] diff --git a/include/sort.ezt b/include/sort.ezt new file mode 100644 index 0000000..6d6d02f --- /dev/null +++ b/include/sort.ezt @@ -0,0 +1,17 @@ +[is roottype "svn"] +[else] +
+
+
+ + [for logsort_hidden_values][end] + Sort log by: + + +
+
+[end] \ No newline at end of file diff --git a/log.ezt b/log.ezt new file mode 100644 index 0000000..2332ee7 --- /dev/null +++ b/log.ezt @@ -0,0 +1,150 @@ +[include "include/log_header.ezt"] + +[define first_revision][end] +[define last_revision][end] + +[for entries] +[if-index entries first][define first_revision][entries.rev][end][end] +[if-index entries last][define last_revision][entries.rev][end][end] + +
+
+ + [is entries.state "dead"] + Revision [entries.rev] + [else] + + [for entries.tag_names] + [end] + [for entries.branch_names] + [end] + + Revision [is roottype "svn"][entries.rev][else][entries.rev][end] - + [if-any entries.view_href] + [is pathtype "file"] + (view) + [else] + Directory Listing + [end] + [end] + [if-any entries.download_href](download)[end] + [if-any entries.download_text_href](as text)[end] + [if-any entries.annotate_href](annotate)[end] + + [is pathtype "file"] + [# if you don't want to allow select for diffs then remove this section] + [is entries.rev rev_selected] + - [[]selected] + [else] + - [[]select for diffs] + [end] + [end] + [end] + + [if-any entries.vendor_branch] + (vendor branch) + [end] + +
+ + [is roottype "svn"] + [if-index entries last]Added[else]Modified[end] + [end] + + [if-any entries.date][entries.date][else](unknown date)[end] + [if-any entries.ago]([entries.ago] ago)[end] + by [if-any entries.author][entries.author][else](unknown author)[end] + + [if-any entries.orig_path] +
Original Path: [entries.orig_path] + [end] + + [if-any entries.branches] +
Branch: + [for entries.branches] + [entries.branches.name][if-index entries.branches last][else],[end] + [end] + [end] + + [if-any entries.tags] +
CVS Tags: + [for entries.tags] + [entries.tags.name][if-index entries.tags last][else],[end] + [end] + [end] + + [if-any entries.branch_points] +
Branch point for: + [for entries.branch_points] + [entries.branch_points.name][if-index entries.branch_points last][else],[end] + [end] + [end] + + [if-any entries.prev] + [if-any entries.changed] + [is roottype "cvs"] +
Changes since [entries.prev]: [entries.changed] lines + [end] + [end] + [end] + + [is roottype "svn"] + [if-any entries.size] +
File length: [entries.size] byte(s) + [end] + + [if-any entries.copy_path] +
Copied from: [entries.copy_path] revision [entries.copy_rev] + [end] + [end] + + [if-any entries.lockinfo] +
Lock status: Locked [entries.lockinfo] + [end] + + [is entries.state "dead"] +
FILE REMOVED + [else] + [is pathtype "file"] + [if-any entries.prev] +
Diff to previous [entries.prev] + [if-any human_readable] + [else] + (colored) + [end] + [end] + + [is roottype "cvs"] + [if-any entries.branch_point] + , to branch point [entries.branch_point] + [if-any human_readable] + [else] + (colored) + [end] + [end] + + [if-any entries.next_main] + , to next main [entries.next_main] + [if-any human_readable] + [else] + (colored) + [end] + [end] + [end] + + [if-any entries.diff_to_sel_href] + [if-any entries.prev], [else]
Diff[end] + to selected [rev_selected] + [if-any human_readable] + [else] + (colored) + [end] + [end] + [end] + [end] + +
[entries.log]
+
+[end] + +[include "include/log_footer.ezt"] diff --git a/log_table.ezt b/log_table.ezt new file mode 100644 index 0000000..192fdf1 --- /dev/null +++ b/log_table.ezt @@ -0,0 +1,176 @@ +[include "include/log_header.ezt"] + +
+ + + + + + [is pathtype "file"] + + [end] + [is roottype "cvs"] + + [end] + + + + + +[define first_revision][end] +[define last_revision][end] + +[for entries] +[if-index entries first][define first_revision][entries.rev][end][end] +[if-index entries last][define last_revision][entries.rev][end][end] + + + + [# Revision column] + + + [# Tasks column] + + + [is pathtype "file"] + + [end] + [is roottype "cvs"] + + [end] + + [# Time column] + + + [# Author column] + + + + + + + +[end] +
RevisionTasksDiffsBranches/
Tags
AgeAuthor
+ [is roottype "svn"][entries.rev][else][entries.rev][end] + + + [if-any entries.view_href] + [is pathtype "file"] + View
+ [else] + Directory Listing
+ [end] + [end] + [if-any entries.download_href]Download
[end] + [if-any entries.download_text_href]As text
[end] + [if-any entries.annotate_href]Annotate
[end] +
+ [# Diffs column] + [is entries.state "dead"] + FILE REMOVED + [else] + [# if you don't want to allow select for diffs then remove this section] + [is entries.rev rev_selected] + [[]selected]
+ [else] + [[]select for diffs]
+ [end] + [if-any entries.diff_to_sel_href] + Diff to selected [rev_selected] + [if-any human_readable] + [else] + (colored) + [end]
+ [end] + [if-any entries.prev] + Diff to previous [entries.prev] + [if-any human_readable] + [else] + (colored) + [end]
+ [end] + [end] +
+ [# Branches column] + [if-any entries.vendor_branch] + vendor branch
+ [end] + [if-any entries.branches] + [for entries.branches] + [entries.branches.name]
+ [end] + [end] + [if-any entries.branch_points] + Branch point for: + [for entries.branch_points] + [entries.branch_points.name]
+ [end] + [end] + [if-any entries.next_main] + Diff to next MAIN [entries.next_main] + [if-any human_readable] + [else] + (colored) + [end]
+ [end] + [if-any entries.branch_point] + Diff to branch point [entries.branch_point] + [if-any human_readable] + [else] + (colored) + [end]
+ [end] + + [# Tags ] + [if-any entries.tags] +
+ [for pathrev_hidden_values][end] + +
+ [else]  + [end] +
+ [is roottype "svn"] + [if-index entries last]Added[else]Modified[end] + [end] + [if-any entries.ago][entries.ago] ago
[end] + [if-any entries.date][entries.date][end] + [is roottype "cvs"] + [if-any entries.prev] + [if-any entries.changed] +
Changes since [entries.prev]: [entries.changed] lines + [end] + [end] + [end] +
+ [entries.author] +
+ + [if-any entries.lockinfo] + Lock status: Locked [entries.lockinfo]
+ [end] + + [is roottype "svn"] + [if-any entries.orig_path] + Original Path: [entries.orig_path]
+ [end] + + [if-any entries.size] + File length: [entries.size] byte(s)
+ [end] + + [if-any entries.copy_path] + Copied from: [entries.copy_path] revision [entries.copy_rev]
+ [end] + [end] + + Log:
[entries.log]
+
+ +[include "include/log_footer.ezt"] diff --git a/query.ezt b/query.ezt new file mode 100644 index 0000000..fa33c00 --- /dev/null +++ b/query.ezt @@ -0,0 +1,241 @@ + + + + + Checkin Database Query + + + + + +[# setup page definitions] + [define help_href][docroot]/help_query.html[end] +[# end] + +

+ Select your parameters for querying the CVS commit database. You + can search for multiple matches by typing a comma-seperated list + into the text fields. Regular expressions, and wildcards are also + supported. Blank text input fields are treated as wildcards. +

+

+ Any of the text entry fields can take a comma-seperated list of + search arguments. For example, to search for all commits from + authors jpaint and gstein, just type: jpaint, + gstein in the Author input box. If you are searching + for items containing spaces or quotes, you will need to quote your + request. For example, the same search above with quotes is: + "jpaint", "gstein". +

+

+ + Wildcard and regular expression searches are entered in a similar + way to the quoted requests. You must quote any wildcard or + regular expression request, and a command charactor preceeds the + first quote. The command charactor l is for wildcard + searches, and the wildcard charactor is a percent (%). The + command charactor for regular expressions is r, and is + passed directly to MySQL, so you'll need to refer to the MySQL + manual for the exact regex syntax. It is very similar to Perl. A + wildard search for all files with a .py extention is: + l"%.py" in the File input box. The same search done + with a regular expression is: r".*\.py". +

+

+ All search types can be mixed, as long as they are seperated by + commas. +

+ +
+ +
+ + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
CVS Repository: + +
CVS Branch: + +
Directory: + +
File: + +
Author: + +
+ +
+ + + + + + + + + +
Sort By: + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Date:
In the last + hours +
In the last day
In the last week
In the last month
Since the beginning of time
+
+ +
+
+ +
+
+ +
+ +[is query "skipped"] +[else] +

[num_commits] matches found.

+ +[if-any commits] + + + + + + + + + +[# uncommment, if you want a separate Description column: (also see below) + +] + + +[for commits] + + [for commits.files] + + + + + + + + +[# uncommment, if you want a separate Description column: + {if-index commits.files first{ + + {end} + + (substitute brackets for the braces) +] + +[# and also take the following out in the "Description column"-case:] + [if-index commits.files last] + + + + + [end] +[# ---] + [end] + +[end] + + + + + + + + +[# uncommment, if you want a separate Description column: + +] + +
RevisionFileBranch+/-DateAuthorDescription
+ [if-any commits.files.rev][commits.files.rev][else] [end] + [commits.files.link] + [if-any commits.files.branch][commits.files.branch][else] [end] + + [is commits.files.type "Add"][end] + [is commits.files.type "Change"][end] + [is commits.files.type "Remove"][end] + [commits.files.plus]/[commits.files.minus] + [is commits.files.type "Add"][end] + [is commits.files.type "Change"][end] + [is commits.files.type "Remove"][end] + + [if-any commits.files.date][commits.files.date][else] [end] + + [if-any commits.files.author][commits.files.author][else] [end] + + {commits.log} +
 Log:
+
[commits.log]
       
+[end] +[end] +[include "include/footer.ezt"] diff --git a/query_form.ezt b/query_form.ezt new file mode 100644 index 0000000..be10014 --- /dev/null +++ b/query_form.ezt @@ -0,0 +1,207 @@ +[# setup page definitions] + [define page_title]Query on /[where][end] + [define help_href][docroot]/help_rootview.html[end] +[# end] + +[include "include/header.ezt" "query"] + +

+Directory +Browse Directory

+ +
+ +
+ [for query_hidden_values][end] + + [is roottype "cvs"] + [# For subversion, the branch field is not used ] + + + + + [end] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Branch: +
+ + + + +
Subdirectory: +
+ (you can list multiple directories separated by commas) +
File: +
+ + + + +
Who: +
+ + + + +
Comment: +
+ + + + +
Sort By: + +
Date: + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + hours +
+ + + and + +
+ (use the form yyyy-mm-dd hh:mm:ss) +
+
Limit: + Show at most + + changed files per commit.
+ (use 0 to show all files) +
+
+ +
+ +[include "include/footer.ezt"] diff --git a/query_results.ezt b/query_results.ezt new file mode 100644 index 0000000..c165a59 --- /dev/null +++ b/query_results.ezt @@ -0,0 +1,86 @@ +[# setup page definitions] + [define page_title]Query results on /[where][end] + [define help_href][docroot]/help_rootview.html[end] +[# end] + +[include "include/header.ezt"] + +

[english_query]

+[# ] +

Modify query

+

Show commands which could be used to back out these changes

+ +

+[plus_count]/-[minus_count] lines changed.

+ +[if-any commits] + + + + + +[if-any show_branch] + +[end] + + + +[# uncommment, if you want a separate Description column: (also see below) + +] + + +[for commits] + [for commits.files] + + + + +[if-any show_branch] + +[end] + + + + + [end] + [if-any commits.limited_files] + + + + [end] + + + + + +[end] +
RevisionFileBranch+/-DateAuthorDescription
+ [define rev_href][if-any commits.files.prefer_markup][commits.files.view_href][else][if-any commits.files.download_href][commits.files.download_href][end][end][end] + [if-any commits.files.rev][if-any rev_href][end][commits.files.rev][if-any rev_href][end][else] [end] + + [commits.files.dir]/ + [commits.files.file] + + [if-any commits.files.branch][commits.files.branch][else] [end] + + [# only show a diff link for changes ] + [is commits.files.type "Add"][end] + [is commits.files.type "Change"][end] + [is commits.files.type "Remove"][end] + [commits.files.plus]/[commits.files.minus] + [is commits.files.type "Add"][end] + [is commits.files.type "Change"][end] + [is commits.files.type "Remove"][end] + + [if-any commits.files.date][commits.files.date][else] [end] + + [if-any commits.files.author][commits.files.author][else] [end] +
  + Only first [commits.num_files] files shown. + Show all files or + adjust limit. +
 Log:
+
[commits.log]
+[end] + +[include "include/footer.ezt"] diff --git a/revision.ezt b/revision.ezt new file mode 100644 index 0000000..2732a80 --- /dev/null +++ b/revision.ezt @@ -0,0 +1,80 @@ +[# setup page definitions] + [define page_title]Revision [rev][end] + [define help_href][docroot]/help_rootview.html[end] +[# end] + +[include "include/header.ezt" "revision"] + +
+
+ + + + + + + + + + + + + + + + + + + + + +
Jump to revision: + [for jump_rev_hidden_values][end] + + + [if-any prev_href] + Previous[end] + [if-any next_href] Next[end] +
Author:[if-any author][author][else](unknown author)[end]
Date:[if-any date][date][else](unknown date)[end] + [if-any ago]([ago] ago)[end]
Changed paths:[num_changes] + [if-any more_changes](showing only [limit_changes]; show all)[end][if-any first_changes](show only first [first_changes])[end]
Log Message:
[log]
+
+ +
+ +

Changed paths:

+ + + + + + + + + + [if-any changes] + [for changes] + + + + + [end] + [else] + + + + [end] + [if-any more_changes] + + + + [end] + +
PathDetails
[if-any changes.view_href][end]Directory[changes.path][is changes.pathtype "dir"]/[end][if-any changes.view_href][end] + [if-any changes.is_copy]
(Copied from [changes.copy_path], r[changes.copy_rev])[end] +
[if-any changes.log_href][end][changes.action][if-any changes.log_href][end] + [if-any changes.text_mods], [if-any changes.diff_href][end]text changed[if-any changes.diff_href][end][end] + [if-any changes.prop_mods], props changed[end] +
No changed paths.
[[]...]
+ +[include "include/footer.ezt"] diff --git a/roots.ezt b/roots.ezt new file mode 100644 index 0000000..5d939ca --- /dev/null +++ b/roots.ezt @@ -0,0 +1,29 @@ +[# setup page definitions] + [define page_title]Repository Listing[end] + [define help_href][docroot]/help_rootview.html[end] +[# end] + +[include "include/header.ezt" "directory"] + + + + + + + + + +[for roots] + + + +[end] + + +
Name
+ + + [roots.name] +
+ +[include "include/footer.ezt"] diff --git a/rss.ezt b/rss.ezt new file mode 100644 index 0000000..7accf6e --- /dev/null +++ b/rss.ezt @@ -0,0 +1,17 @@ + + + + [rss_link_href] + [rootname] checkins[if-any where] (in [where])[end] + + [is roottype "svn"]Subversion[else]CVS[end] commits to the[if-any where] [where] directory of the[end] [rootname] repository + + [for commits] + [if-any commits.rev][commits.rev]: [end][[commits.author]] [commits.short_log] + [if-any commits.rss_url][commits.rss_url][end] + [commits.author] + [if-any commits.rss_date][commits.rss_date][else](unknown date)[end] + <pre>[format "xml"][commits.log][end]</pre> + [end] + + -- cgit v1.2.3-65-gdbad