Changeset 938 for trunk/lib


Ignore:
Timestamp:
Dec 3, 2009, 5:02:44 AM (12 years ago)
Author:
Peter Johansson
Message:

merge patch release 0.7.1. Delta 0.7.1 - 0.7

Conflict in test repository between r848 and r926 so bootstrap file
was re-committed.

Location:
trunk/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.cc

    r932 r938  
    8282        ++rev_iter;
    8383      }
     84      // do not go beyond BASE rev of file
     85      last_rev_this_year = std::min(last_rev_this_year, last_changed_rev());
     86      last_rev_last_year = std::min(last_rev_last_year, last_changed_rev());
    8487      // loop over authors
    8588      for (std::set<std::string>::const_iterator a_iter=stats.authors().begin();
  • trunk/lib/LineTypeParser.cc

    r847 r938  
    33/*
    44  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
     5  Copyright (C) 2009 Peter Johansson
    56
    67  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    4041    : mode_(0), post_copyright_(false), copyright_found_(false)
    4142  {
    42     codon_ = Configuration::instance().codon(path);
     43    codon_ = Configuration::instance().codon(file_name(path));
    4344  }
    4445
  • trunk/lib/Stats.cc

    r929 r938  
    367367    assert(stat->find("all")!=stat->end());
    368368    std::vector<unsigned int> total=get_vector(*stat, "all");   
    369     double yrange_max=1.03*total.back()+1;
     369    double yrange_max=1.03 * *std::max_element(total.begin(), total.end()) +1.0;
    370370    gp.ymax(yrange_max);
    371371
Note: See TracChangeset for help on using the changeset viewer.