Changeset 938
- Timestamp:
- Dec 3, 2009, 5:02:44 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r908 r938 13 13 svndigest 0.7.x series from 14 14 http://dev.thep.lu.se/svndigest/svn/branches/0.7-stable 15 16 Version 0.7.1 (released 3 December 2009) 17 - File name in parsing rules are matched against the file name and 18 not the entire path. This has no influence on most files because 19 the name starts with a wild card (*) but for files not doing so 20 (default bootstrap and Makefile) the correct parsing rule will be 21 used. It is recommended to remove the cache of such files before 22 running svndigest (ticket:417). 23 - copyright update works on mixed revision wc (ticket:415) 24 25 A complete list of closed tickets can be found here [[br]] 26 http://dev.thep.lu.se/svndigest/query?status=closed&milestone=0.7.1 15 27 16 28 Version 0.7 (released 22 November 2009) -
trunk/configure.ac
r911 r938 299 299 ) 300 300 AC_CONFIG_FILES([test/test_repo.sh], [chmod +x test/test_repo.sh]) 301 AC_CONFIG_FILES([test/copyright_test2.sh], [chmod +x test/copyright_test2.sh]) 301 302 AC_CONFIG_FILES([test/svn_update.sh], [chmod +x test/svn_update.sh]) 302 303 AC_CONFIG_FILES([test/check_repo_status.sh], -
trunk/lib/File.cc
r932 r938 82 82 ++rev_iter; 83 83 } 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()); 84 87 // loop over authors 85 88 for (std::set<std::string>::const_iterator a_iter=stats.authors().begin(); -
trunk/lib/LineTypeParser.cc
r847 r938 3 3 /* 4 4 Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson 5 Copyright (C) 2009 Peter Johansson 5 6 6 7 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 40 41 : mode_(0), post_copyright_(false), copyright_found_(false) 41 42 { 42 codon_ = Configuration::instance().codon( path);43 codon_ = Configuration::instance().codon(file_name(path)); 43 44 } 44 45 -
trunk/lib/Stats.cc
r929 r938 367 367 assert(stat->find("all")!=stat->end()); 368 368 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; 370 370 gp.ymax(yrange_max); 371 371 -
trunk/test/Makefile.am
r929 r938 30 30 TESTS += check_repo_status.sh 31 31 TESTS += svndigest_copy_cache_test.sh 32 TESTS+= copyright_test2.sh 32 33 33 34 EXTRA_DIST = svndigest_copy_cache_test.sh … … 67 68 68 69 mostlyclean-local: 69 rm -f *.png *.tmp *~ 70 rm -f *.png *.tmp *~ .toy_project2 -
trunk/test/config_test.cc
r847 r938 21 21 */ 22 22 23 #include "Suite.h" 24 23 25 #include "Configuration.h" 24 26 25 27 namespace theplu{ 26 28 namespace svndigest{ 27 bool test_codon(void);29 void test_codon(test::Suite&); 28 30 }} // end of namespace svndigest and theplu 29 31 … … 32 34 { 33 35 using namespace theplu::svndigest; 34 bool ok=true;36 test::Suite suite(argc, argv, false); 35 37 36 ok &= test_codon();38 test_codon(suite); 37 39 38 if (ok) 40 if (suite.ok()) { 41 suite.out() << "Test is Ok!" << std::endl; 39 42 return 0; 40 return 1; 43 } 44 suite.out() << "Test failed." << std::endl; 45 return 1; 41 46 } 42 47 … … 45 50 namespace svndigest{ 46 51 47 bool test_codon(void)52 void test_codon(test::Suite& suite) 48 53 { 49 54 const Configuration& c(Configuration::instance()); 50 bool ok =true;51 55 if (!c.codon("foo.h")){ 52 s td::cerr<< "No codon for foo.h\n";53 ok = false;56 suite.out() << "No codon for foo.h\n"; 57 suite.add(false); 54 58 } 55 59 if (!c.codon("../dir/test.cc")){ 56 s td::cerr<< "No codon for test.cc\n";57 ok = false;60 suite.out() << "No codon for test.cc\n"; 61 suite.add(false); 58 62 } 59 60 return ok; 63 if (!c.codon("bootstrap")){ 64 suite.out() << "No codon for bootstrap\n"; 65 suite.add(false); 66 } 61 67 } 62 68 -
trunk/test/repo/db/current
r894 r938 1 6 5 2241 66 26 4
Note: See TracChangeset
for help on using the changeset viewer.