Changes from tags/0.6.3 at r1608 to tags/0.6.4 at r1608


Ignore:
Location:
tags/0.6.4
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • tags/0.6.4/ChangeLog

    r1608 r1608  
    2626Changes are tracked with subversion log messages, tracs presentation
    2727of the logs, and the tickets assigned to the different versions.
     28
     29version 0.6.4:
     30  - http://trac.thep.lu.se/trac/svndigest/log/branches/0.6-stable?rev=489&stop_rev=474
     31  - http://trac.thep.lu.se/trac/svndigest/query?milestone=0.6.4&order=id
    2832
    2933version 0.6.3:
  • tags/0.6.4/Makefile.am

    r1608 r1608  
    44
    55# Copyright (C) 2005, 2006 Jari Häkkinen
     6# Copyright (C) 2007 Peter Johansson
    67#
    78# This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest
  • tags/0.6.4/NEWS

    r1608 r1608  
    22
    33See the end of this file for copyrights and conditions.
     4
     5version 0.6.4 (released 14 October 2007)
     6  - fixed bug stats were double counted when root was a file (ticket:272)
     7  - fixed out of range problem in VectorPlus (ticket:267)
     8
     9  A complete list of closed tickets can be found here [[br]]
     10  http://trac.thep.lu.se/trac/svndigest/query?status=closed&milestone=0.6.4
    411
    512version 0.6.3 (released 31 August 2007)
  • tags/0.6.4/bin/Makefile.am

    r1608 r1608  
    55# Copyright (C) 2005 Jari Häkkinen
    66# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
     7# Copyright (C) 2007 Peter Johansson
    78#
    89# This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest
  • tags/0.6.4/bin/svndigest.cc

    r1608 r1608  
    143143  if (option->verbose())
    144144    std::cout << "Parsing directory tree" << std::endl;
    145   Stats stats(option->root());
    146   stats+=tree->parse(option->verbose());
     145  Stats stats(tree->parse(option->verbose()));
    147146
    148147  // remove target if needed
  • tags/0.6.4/bootstrap

    r1608 r1608  
    88
    99# Copyright (C) 2005, 2006 Jari Häkkinen
     10# Copyright (C) 2007 Peter Johansson
    1011#
    1112# This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest
  • tags/0.6.4/configure.ac

    r1608 r1608  
    2929
    3030AC_PREREQ(2.57)
    31 AC_INIT([svndigest],[0.6.3],[jari@thep.lu.se])
     31AC_INIT([svndigest],[0.6.4],[jari@thep.lu.se])
    3232AC_CONFIG_SRCDIR([lib/File.h])
    3333AC_CONFIG_AUX_DIR([autotools])
  • tags/0.6.4/lib/Gnuplot.cc

    r1608 r1608  
    33/*
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
     5  Copyright (C) 2007 Peter Johansson
    56
    67  This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest
  • tags/0.6.4/lib/GnuplotFE.cc

    r1608 r1608  
    33/*
    44  Copyright (C) 2006 Jari Häkkinen
     5  Copyright (C) 2007 Peter Johansson
    56
    67  This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest
  • tags/0.6.4/lib/SVNblame.cc

    r1608 r1608  
    22
    33/*
    4   Copyright (C) 2006, 2007 Jari Häkkinen
     4  Copyright (C) 2006 Jari Häkkinen
     5  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    56
    67  This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest
  • tags/0.6.4/lib/Stats.h

    r1608 r1608  
    152152    typedef Map_::const_iterator MapConstIter_;
    153153
    154     ///
    155     /// Copy constructor (not implemented)
    156     ///
    157     Stats(const Stats& other);
     154    /// using compiler generated copy
     155    //Stats(const Stats& other);
    158156
    159157    ///
  • tags/0.6.4/lib/first_page.cc

    r1608 r1608  
    139139        os << anchor(string(i->author()+"/total/index.html"),i->author());
    140140      os << "</td><td>" << stats.lines(i->author()) << " ("
    141          << 100*stats.lines(i->author())/stats.lines() << "%)</td>"
    142          << "<td>" << stats.code(i->author()) << " ("
    143          << 100*stats.code(i->author())/stats.code() << "%)</td>"
    144          << "<td>" << stats.comments(i->author()) << " ("
    145          << 100*stats.comments(i->author())/stats.comments() << "%)</td>"
    146          << "<td>" << i->date()(timefmt) << "</td>"
     141         << 100*stats.lines(i->author())/(stats.lines()?stats.lines():1)
     142         << "%)</td><td>" << stats.code(i->author()) << " ("
     143         << 100*stats.code(i->author())/(stats.code()?stats.code():1)
     144         << "%)</td><td>" << stats.comments(i->author()) << " ("
     145         << 100*stats.comments(i->author())/(stats.comments()?stats.comments():1)
     146         << "%)</td><td>" << i->date()(timefmt) << "</td>"
    147147         <<"</tr>";
    148148    }
  • tags/0.6.4/lib/rmdirhier.h

    r1608 r1608  
    66/*
    77  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
     8  Copyright (C) 2007 Peter Johansson
    89
    910  This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest
  • tags/0.6.4/lib/utility.h

    r1608 r1608  
    308308      if ( u.size() > v.size() ){
    309309        std::vector<T> res(u.size());
    310         transform(u.begin(), u.end(), v.begin(), res.begin(), std::plus<T>());
    311         copy(u.begin()+v.size(), u.end(), res.begin()+v.size());
     310        std::transform(v.begin(), v.end(), u.begin(), res.begin(),
     311                       std::plus<T>());
     312        std::copy(u.begin()+v.size(), u.end(), res.begin()+v.size());
    312313        return res;
    313314      }
    314  
    315315      std::vector<T> res(v.size());
    316       transform(v.begin(), v.end(), u.begin(), res.begin(), std::plus<T>());
    317       if ( v.size() > u.size() )
    318         copy(v.begin()+u.size(), v.end(), res.begin()+u.size());
     316      std::transform(u.begin(), u.end(), v.begin(), res.begin(), std::plus<T>());
     317      std::copy(v.begin()+u.size(), v.end(), res.begin()+u.size());
    319318      return res;
    320319    }
    321 
    322320  };
    323321
  • tags/0.6.4/test/check_repo_status.sh.in

    r1608 r1608  
    11# $Id$
    22
    3 # Copyright (C) 2007 Jari Häkkinen
     3# Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    44#
    55# This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest
  • tags/0.6.4/test/parser.cc

    r1608 r1608  
    33/*
    44  Copyright (C) 2006 Peter Johansson
     5  Copyright (C) 2007 Peter Johansson
    56
    67  This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest
Note: See TracChangeset for help on using the changeset viewer.