- Timestamp:
- Dec 11, 2008, 4:02:38 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/Parameter.cc
r724 r727 2 2 3 3 /* 4 Copyright (C) 2006, 2007 Jari Häkkinen, Peter Johansson 5 Copyright (C) 2008 Peter Johansson 4 Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson 6 5 7 6 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 34 33 #include <cerrno> 35 34 #include <cstddef> 35 #include <cstring> 36 36 #include <fstream> 37 37 #include <iostream> -
trunk/lib/Configuration.cc
r693 r727 3 3 /* 4 4 Copyright (C) 2007 Peter Johansson 5 Copyright (C) 2008 Jari Häkkinen 5 6 6 7 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 166 167 } 167 168 else if (section == "copyright") { 168 if (lhs=="missing-copyright-warning") 169 if (lhs=="missing-copyright-warning") { 169 170 if (equal_false(rhs)) 170 171 missing_copyright_warning_ = false; … … 174 175 throw Config_error(line, ""); 175 176 } 177 } 176 178 } 177 179 else if (section == "parsing-codons") { -
trunk/lib/Functor.h
r693 r727 6 6 /* 7 7 Copyright (C) 2005, 2006, 2007 Jari Häkkinen, Peter Johansson 8 Copyright (C) 2008 Jari Häkkinen 8 9 9 10 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 23 24 */ 24 25 25 //#include <algorithm>26 #include <algorithm> 26 27 #include <functional> 27 //#include <iosfwd>28 28 #include <string> 29 29 #include <utility> -
trunk/lib/Gnuplot.cc
r693 r727 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 Copyright (C) 2007 Peter Johansson 6 Copyright (C) 2008 Jari Häkkinen 6 7 7 8 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 24 25 25 26 #include <cstdio> 27 #include <cstdlib> 26 28 #include <string> 27 29 #include <unistd.h> -
trunk/lib/Node.cc
r713 r727 3 3 /* 4 4 Copyright (C) 2005, 2006, 2007 Jari Häkkinen, Peter Johansson 5 Copyright (C) 2008 Jari Häkkinen 5 6 6 7 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 148 149 const SVNlog& Node::log(void) const 149 150 { 150 if (!log_) 151 if (!log_) { 151 152 if (ignore()) 152 153 log_ = new SVNlog; 153 154 else 154 155 log_ = new SVNlog(log_core()); 156 } 155 157 return *log_; 156 158 } -
trunk/lib/OptionHelp.cc
r705 r727 3 3 /* 4 4 Copyright (C) 2007 Jari Häkkinen, Peter Johansson 5 Copyright (C) 2008 Jari Häkkinen 5 6 6 7 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 23 24 #include "CommandLine.h" 24 25 26 #include <cstdlib> 25 27 #include <sstream> 26 28 #include <string> -
trunk/lib/utility.h
r724 r727 27 27 #include <functional> 28 28 #include <iosfwd> 29 #include <limits> 29 30 #include <sstream> 31 #include <stdexcept> 30 32 #include <string> 31 #include <stdexcept>32 33 #include <utility> 33 34 #include <vector> … … 251 252 if (is_equal(s, "inf")) 252 253 return std::numeric_limits<T>::infinity(); 253 if (is_equal(s, "-inf")) 254 if (is_equal(s, "-inf")) { 254 255 if (std::numeric_limits<T>::is_signed) 255 256 return -std::numeric_limits<T>::infinity(); … … 257 258 throw std::runtime_error(std::string("convert(\"")+s+ 258 259 std::string("\"): type is unsigned") ); 260 } 261 259 262 std::stringstream ss(s); 260 263 T a; -
trunk/test/stats_test.cc
r718 r727 2 2 3 3 /* 4 Copyright (C) 2008 Peter Johansson4 Copyright (C) 2008 Jari Häkkinen, Peter Johansson 5 5 6 6 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 71 71 ok &= test_classic(); 72 72 73 if (verbose) 73 if (verbose) { 74 74 if (ok) 75 75 std::cout << "Test is ok.\n"; 76 76 else 77 77 std::cout << "Test failed.\n"; 78 } 78 79 if (ok) 79 80 return 0;
Note: See TracChangeset
for help on using the changeset viewer.