commit: whups history.php common.php cvs.php diff.php whups/lib CVSLib.php whups/lib/CVSLib rev.php diff.php directory.php file.php log.php whups/templates history_blank.inc history_branch_cell.inc history_footer.inc history_header.inc ...

avsm@horde.org avsm@horde.org
26 Dec 2000 22:36:14 -0000


avsm        2000/12/26 14:36:13 PST

  Modified files:
    .                    common.php cvs.php diff.php 
    lib                  CVSLib.php 
    lib/CVSLib           diff.php directory.php file.php log.php 
    templates            diff_rev.inc 
  Added files:
    .                    history.php 
    lib/CVSLib           rev.php 
    templates            history_blank.inc history_branch_cell.inc 
                         history_footer.inc history_header.inc 
                         history_rev.inc history_row_end.inc 
                         history_row_start.inc 
  Log:
  Now, this is neat ... a visual representation of the branching history
  of a given repository file.
  
  It starts off with the trunk on a single column, and then as more branches
  come along, they sprout off from the tree in different colours.
  
  The balancing algorithm for the grid can cope with an infinite number of
  branch nests, so extremely complex repositories can be viewed with this
  method (although it'll get pretty confusing)
  
  Some points:
  
  - You can view this from the 'visual branch' line in the log view,
    or the link on the top right (switch to branch view)
  
  - The colours are temporary.  I am working on a hue/saturation -> RGB
    class, which will allow 'intelligent' use of colours for the branches.
    So that a sub-branch will be a related colour to the parent branch.
    Or perhaps high-activity branches (with lots of changed lines) will
    be stronger colours than maintainance (feature frozen) branches.
  
  - This commit also introduces a new CVSLib_rev class, which is a
    collection of static methods to deal with cvs revisions, such as
    to validate them, and figure out root branches and so on.
  
  - Numerous other cleanups.
  
  Revision  Changes    Path
  1.17      +6 -2      whups/common.php
  1.74      +6 -8      whups/cvs.php
  1.11      +2 -2      whups/diff.php
  1.52      +2 -66     whups/lib/CVSLib.php
  1.7       +3 -3      whups/lib/CVSLib/diff.php
  1.6       +3 -3      whups/lib/CVSLib/directory.php
  1.7       +10 -19    whups/lib/CVSLib/file.php
  1.3       +5 -1      whups/lib/CVSLib/log.php
  1.10      +2 -0      whups/templates/diff_rev.inc