/[CvsGraph]/cvsgraph/README
ViewVC logotype

Diff of /cvsgraph/README

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.9, Wed Dec 19 18:10:58 2001 UTC revision 1.16, Sat Jul 20 20:41:40 2002 UTC
# Line 1  Line 1 
1  CvsGraph 1.1.4, 19-Dec-2001  CvsGraph 1.3.0, 20-Jul-2002
2  ===========================  ===========================
3  CvsGraph creates a graphic representation of the revisions and branches in a  CvsGraph creates a graphic representation of the revisions and branches in a
4  cvs/rcs repository. CvsGraph is inspired on the 'graph'-option from WinCVS. I  cvs/rcs repository. CvsGraph is inspired on the 'graph'-option from WinCVS. I
# Line 10  Line 10 
10    
11  New in this version  New in this version
12  -------------------  -------------------
13  - The entire tree can now be drawn upside-down. This is usefull if you have  - Implement a workaround for browsers that do not understand unordered
14    many revisions in a trunk and want to see the latest first. The configuration    y-coordinates in the imagemap when generated upside down.
15    includes an option 'upside_down' with a boolean argument. You can override the  
16    default value on the command-line with the '-u' switch, which will negate the  - Fix the slowness of CvsGraph when parsing very large (typically -kb files) by
17    configured value.    bypassing the parsing of the actual deltatext. On my machine (K6-2/500/256M
18    The imagemap generation also supports this, so you will still be able to point    it makes a difference of 7.5s vs 0.04s on a 93MByte file, without counting
19    and shoot on and between the revisions.    disk-overhead; with disk-overhead it takes 12.5s).  Downside is that the
20      logentry cannot be expanded if the file is not parsed in full (see below).
21  - You can now instruct CvsGraph to ommit all revisions that are not tagged. This    Use option parse_logs to enable log-expansions.
22    is highly usefull for very large trees/trunks to reduce the produced image  
23    size. Note that the first and the last revision in a trunk never are hidden.  - Implemented logentry expansions using %l and %L. You must enable full parsing
24    A new configuration option 'strip_untagged' with boolean argument enables this    (option parse_logs) for this to work.
25    feature. Alternatively, the command-line provides option '-s' wich negates the  
26    value set in the configuration file.  - Fixed a possible buffer overflow in the string expansion. However, this is a
27      very low-risk overflow, since it will trash the heap and _not_ the stack.
28  - The boxes to identify the branches can now be drawn on both sides of the trunk.    Furthermore, you need to pass strings from CGI directly to cvsgraph without
29    Configuration option 'branch_dupbox' with boolean argument activates this    any checks to come even close to trash the heap.
30    feature, which is usefull when the tree is drawn upside-down.The command-line  
31    option '-b' negated the configured value.  - Fixed a segfault on IRIX in the bsearch calls. These lookups could be called
32      with a NULL pointer and IRIX's libc doesn't like that.
33  - ViewCVS (http://viewcvs.sourceforge.net) is now officially supporting the use  
34    of CvsGraph in their code as of version 0.8. So, no bad hacks needed anymore  - Implement left to right and right to left images. The entire tree can now be
35    to get it working, and it always looks nice :-)    drawn horizontally when option left_right is set. Using both left_right and
36      upside_down results in right to left images.
37    
38    - Implement limits on how many tags are printed in a revision box using new
39      config parameter rev_maxtags. Ellipsis (...) are printed if the limit becomes
40      active.
41    
42    - Changed the configure script to handle libraries more intelligently. This
43      should be able to handle static libraries better.
44    
45    
46    
47  Compiling  Compiling
# Line 40  Line 49 
49    
50  create directory:  create directory:
51          $ cd /where/ever/you/want          $ cd /where/ever/you/want
52          $ tar xzf cvsgraph-1.1.4.tar.gz          $ tar xzf cvsgraph-1.3.0.tar.gz
53          $ cd cvsgraph-1.1.4          $ cd cvsgraph-1.3.0
54          $ ./configure          $ ./configure
55          $ make          $ make
56    
# Line 57  Line 66 
66          libpng.so and/or libjpeg6b.so (i.e. dynamic), then you might want to          libpng.so and/or libjpeg6b.so (i.e. dynamic), then you might want to
67          try to trick configure into adding these libs to the tests by adding          try to trick configure into adding these libs to the tests by adding
68          commandline options '--with-png-lib=.' and '--with-jpeg-lib=.'.          commandline options '--with-png-lib=.' and '--with-jpeg-lib=.'.
69            If you have linked libgd with freetype, then you might also need
70            either --with-freetype-lib or --with-freetype2-lib.
71    
72    
73    
74  Installing  Installing
# Line 73  Line 85 
85  ----------------  ----------------
86  Do *NOT* execute the program directly from a webserver. Direct execution would  Do *NOT* execute the program directly from a webserver. Direct execution would
87  be very insecure. Make a wrapper cgi-script in php, perl, or whatever you  be very insecure. Make a wrapper cgi-script in php, perl, or whatever you
88  normally use. A nice way is to hack the 'cvsweb' package to call CvsGraph.  normally use. The easiest way is to get the ViewCVS package from their website
89  There are several scripts and patches available from the CvsGraph homepage (see  at http://viewcvs.sourceforge.net and follow the instructions.
90  below for address).  
91    Alternately, you can hack the 'cvsweb' package to call CvsGraph. There are
92    several scripts and patches available from the CvsGraph homepage (see below for
93    address). However, the scripts are no longer maintained because ViewCVS has
94    native support now.
95    
96  To generate an image do something like:  To generate an image do something like:
97          $ cvsgraph -r /home/to/repository -m module -o mygraph.png myfile.c,v          $ cvsgraph -r /home/to/repository -m module -o mygraph.png myfile.c,v
# Line 102  Line 118 
118  Todo  Todo
119  ----  ----
120  - do a better job in making a layout (auto moving branches and rubber banding  - do a better job in making a layout (auto moving branches and rubber banding
121    revision-connectors to make place)    revision-connectors to make place). A start is made, but this is not very
122      functional yet.
123    
124    - draw only a part or parts of the tree.
125    
126    
127    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0