Changeset 149
- Timestamp:
- Aug 12, 2006, 11:11:46 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AUTHORS
r84 r149 7 7 source code revision system. 8 8 9 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat9 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 10 10 11 svn stat is free software; you can redistribute it and/or modify it11 svndigest is free software; you can redistribute it and/or modify it 12 12 under the terms of the GNU General Public License as published by the 13 13 Free Software Foundation; either version 2 of the License, or (at your 14 14 option) any later version. 15 15 16 svn stat is distributed in the hope that it will be useful, but WITHOUT17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 19 for more details.16 svndigest is distributed in the hope that it will be useful, but 17 WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 General Public License for more details. 20 20 21 21 You should have received a copy of the GNU General Public License -
trunk/ChangeLog
r146 r149 1 1 $Id$ 2 2 3 ====================================================================== 3 4 Copyright (C) 2005, 2006 Jari Häkkinen 4 5 5 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 6 7 7 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 8 9 under the terms of the GNU General Public License as published by the 9 10 Free Software Foundation; either version 2 of the License, or (at your 10 11 option) any later version. 11 12 12 svn stat is distributed in the hope that it will be useful, but WITHOUT13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 for more details.13 svndigest is distributed in the hope that it will be useful, but 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 General Public License for more details. 16 17 17 18 You should have received a copy of the GNU General Public License … … 19 20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 20 21 USA. 22 ====================================================================== 21 23 24 25 version 0.4: 26 - Project name changed from svnstat to svndigest. 22 27 23 28 version 0.3: -
trunk/INSTALL
r137 r149 8 8 source code revision system. 9 9 10 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat11 12 svn stat is free software; you can redistribute it and/or modify it10 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 11 12 svndigest is free software; you can redistribute it and/or modify it 13 13 under the terms of the GNU General Public License as published by the 14 14 Free Software Foundation; either version 2 of the License, or (at your 15 15 option) any later version. 16 16 17 svn stat is distributed in the hope that it will be useful, but WITHOUT18 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 19 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 20 for more details.17 svndigest is distributed in the hope that it will be useful, but 18 WITHOUT ANY WARRANTY; without even the implied warranty of 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 General Public License for more details. 21 21 22 22 You should have received a copy of the GNU General Public License … … 29 29 30 30 Below you'll find the generic FSF install instructions. To compile 31 and install svn stat you can follow the usual autoconf path:31 and install svndigest you can follow the usual autoconf path: 32 32 33 33 # ./configure … … 40 40 41 41 The 'configure' script accepts two options of interest for 42 svn stat. You can provide 'configure' with APR and subversion API42 svndigest. You can provide 'configure' with APR and subversion API 43 43 location information with --with-apr=DIR and --with-svn=DIR, 44 44 respectively. -
trunk/Makefile.am
r139 r149 5 5 # Copyright (C) 2005, 2006 Jari Häkkinen 6 6 # 7 # This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat7 # This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 8 8 # 9 # svn stat is free software; you can redistribute it and/or modify it9 # svndigest is free software; you can redistribute it and/or modify it 10 10 # under the terms of the GNU General Public License as published by 11 11 # the Free Software Foundation; either version 2 of the License, or 12 12 # (at your option) any later version. 13 13 # 14 # svn stat is distributed in the hope that it will be useful, but14 # svndigest is distributed in the hope that it will be useful, but 15 15 # WITHOUT ANY WARRANTY; without even the implied warranty of 16 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 25 25 26 26 clean-local: 27 rm -rf svn stat *~27 rm -rf svndigest *~ -
trunk/NEWS
r84 r149 1 1 $Id$ 2 2 3 ====================================================================== 3 4 Copyright (C) 2005, 2006 Jari Häkkinen 4 5 5 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 6 7 7 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 8 9 under the terms of the GNU General Public License as published by the 9 10 Free Software Foundation; either version 2 of the License, or (at your 10 11 option) any later version. 11 12 12 svn stat is distributed in the hope that it will be useful, but WITHOUT13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 for more details.13 svndigest is distributed in the hope that it will be useful, but 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 General Public License for more details. 16 17 17 18 You should have received a copy of the GNU General Public License … … 19 20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 20 21 USA. 22 ====================================================================== -
trunk/README
r136 r149 4 4 Copyright (C) 2005, 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by the 10 10 Free Software Foundation; either version 2 of the License, or (at your 11 11 option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but WITHOUT14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 16 for more details.13 svndigest is distributed in the hope that it will be useful, but 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 General Public License for more details. 17 17 18 18 You should have received a copy of the GNU General Public License … … 30 30 ii) Gnuplot. 31 31 32 iii) A standard C++ compliant compiler with one extension: svn stat32 iii) A standard C++ compliant compiler with one extension: svndigest 33 33 must be compiled with a C++ compiler that supports 'long long' 34 34 types - GCC does this. This is due to the fact that one of the … … 43 43 2 Compilation and installation 44 44 45 See INSTALL for instructions on how to compile and install svn stat.45 See INSTALL for instructions on how to compile and install svndigest. 46 46 47 47 48 48 3 Acknowledgements 49 49 50 svn stat uses a C++ interface to Gnuplot inspired by Rajarshi Guha.50 svndigest uses a C++ interface to Gnuplot inspired by Rajarshi Guha. 51 51 52 52 Rajarshi Guha's "A C++ Interface to Gnuplot" can be found through -
trunk/bin/Parameter.cc
r122 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 32 32 33 33 namespace theplu { 34 namespace svn stat {34 namespace svndigest { 35 35 36 36 Parameter::Parameter(const int argc,const char *argv[]) … … 74 74 75 75 if (!ok) 76 throw std::runtime_error("svn stat: invalid option: " + myargv +77 "\nType 'svn stat --help' for usage.");76 throw std::runtime_error("svndigest: invalid option: " + myargv + 77 "\nType 'svndigest --help' for usage."); 78 78 } 79 79 … … 104 104 // check that root directory exists 105 105 if (stat(root_.c_str(),&buf)) 106 throw std::runtime_error("\nsvn stat: " + root_ + ": No such directory.");106 throw std::runtime_error("\nsvndigest: " + root_ + ": No such directory."); 107 107 108 108 // check that target directory exists 109 109 if (stat(targetdir_.c_str(),&buf)){ 110 throw std::runtime_error("\nsvn stat: " + targetdir_ +110 throw std::runtime_error("\nsvndigest: " + targetdir_ + 111 111 ": No such directory."); 112 112 } … … 129 129 defaults(); 130 130 std::cout << "\n" 131 << "usage: svn stat [options]\n"131 << "usage: svndigest [options]\n" 132 132 << "\n" 133 << "svn stat traverses a directory structure (controlled by\n"133 << "svndigest traverses a directory structure (controlled by\n" 134 134 << "subversion) and calculates developer statistics entries.\n" 135 135 << "The top level directory of the directory structure to\n" -
trunk/bin/Parameter.h
r116 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_parameter_25 #define _theplu_svn stat_parameter_24 #ifndef _theplu_svndigest_parameter_ 25 #define _theplu_svndigest_parameter_ 26 26 27 27 #include <string> 28 28 29 29 namespace theplu { 30 namespace svn stat {30 namespace svndigest { 31 31 32 32 // class for command line options. … … 55 55 }; 56 56 57 }} // of namespace svn stat and namespace theplu57 }} // of namespace svndigest and namespace theplu 58 58 59 59 #endif -
trunk/bin/svndigest.cc
r148 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 41 41 int main(const int argc,const char* argv[]) 42 42 { 43 using namespace theplu::svn stat;43 using namespace theplu::svndigest; 44 44 Parameter* option=NULL; 45 45 try { … … 57 57 } 58 58 catch (SVNException e) { 59 std::cerr << "\nsvn stat: " << e.what() << "\nsvnstat: " << option->root()59 std::cerr << "\nsvndigest: " << e.what() << "\nsvndigest: " << option->root() 60 60 << " is not under subversion control\n" << std::endl; 61 61 exit(-1); … … 68 68 } 69 69 catch (SVNException e) { 70 std::cerr << "\nsvn stat: " << e.what()71 << "\nsvn stat: Failed to determine repository for "70 std::cerr << "\nsvndigest: " << e.what() 71 << "\nsvndigest: Failed to determine repository for " 72 72 << option->root() << '\n' << std::endl; 73 73 exit(-1); … … 81 81 } 82 82 catch (SVNException e) { 83 std::cerr << "\nsvn stat: " << e.what() << std::endl;83 std::cerr << "\nsvndigest: " << e.what() << std::endl; 84 84 exit(-1); 85 85 } … … 98 98 else { 99 99 // force false -> exit 100 std::cerr << "\nsvn stat: " << root_path << ": directory already exists"100 std::cerr << "\nsvndigest: " << root_path << ": directory already exists" 101 101 << std::endl; 102 102 exit(-1); … … 115 115 } 116 116 catch (const std::runtime_error& x) { 117 std::cerr << "svn stat: " << x.what() << std::endl;117 std::cerr << "svndigest: " << x.what() << std::endl; 118 118 } 119 std::string css(file_name(option->root())+"/svn stat.css");119 std::string css(file_name(option->root())+"/svndigest.css"); 120 120 std::ofstream os(css.c_str()); 121 121 print_css(os); -
trunk/bootstrap
r84 r149 9 9 # Copyright (C) 2005, 2006 Jari Häkkinen 10 10 # 11 # This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat11 # This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 12 12 # 13 # svn stat is free software; you can redistribute it and/or modify it13 # svndigest is free software; you can redistribute it and/or modify it 14 14 # under the terms of the GNU General Public License as published by 15 15 # the Free Software Foundation; either version 2 of the License, or 16 16 # (at your option) any later version. 17 17 # 18 # svn stat is distributed in the hope that it will be useful, but18 # svndigest is distributed in the hope that it will be useful, but 19 19 # WITHOUT ANY WARRANTY; without even the implied warranty of 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 21 # General Public License for more details. 22 22 # -
trunk/configure.ac
r146 r149 9 9 # Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson 10 10 # 11 # This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat11 # This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 12 12 # 13 # svn stat is free software; you can redistribute it and/or modify it13 # svndigest is free software; you can redistribute it and/or modify it 14 14 # under the terms of the GNU General Public License as published by 15 15 # the Free Software Foundation; either version 2 of the License, or 16 16 # (at your option) any later version. 17 17 # 18 # svn stat is distributed in the hope that it will be useful, but18 # svndigest is distributed in the hope that it will be useful, but 19 19 # WITHOUT ANY WARRANTY; without even the implied warranty of 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 21 # General Public License for more details. 22 22 # … … 27 27 28 28 AC_PREREQ(2.57) 29 AC_INIT([[svn stat]],[0.3],[jari@thep.lu.se])29 AC_INIT([[svndigest]],[0.4],[jari@thep.lu.se]) 30 30 AC_CONFIG_SRCDIR([lib/File.h]) 31 31 AC_CONFIG_AUX_DIR([autotools]) -
trunk/doc/readme.txt
r84 r149 3 3 Copyright (C) 2005, 2006 Jari Häkkinen 4 4 5 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat5 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 6 6 7 svn stat is free software; you can redistribute it and/or modify it7 svndigest is free software; you can redistribute it and/or modify it 8 8 under the terms of the GNU General Public License as published by the 9 9 Free Software Foundation; either version 2 of the License, or (at your 10 10 option) any later version. 11 11 12 svn stat is distributed in the hope that it will be useful, but WITHOUT13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 for more details.12 svndigest is distributed in the hope that it will be useful, but 13 WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 General Public License for more details. 16 16 17 17 You should have received a copy of the GNU General Public License … … 22 22 23 23 24 svn stat traverses a directory structure (controlled by subversion) and25 calculates developer statistics for all subversion controlled26 entries. The result is written to a sub-directory , svnstat_output,27 that will be createdin the current working directory.24 svndigest traverses a directory structure (controlled by subversion) 25 and calculates developer statistics for all subversion controlled 26 entries. The result is written to a sub-directory that will be created 27 in the current working directory. 28 28 29 To understand what statistics is calculated by svn stat this definition30 is needed: The developer who made the latest change to a line still in 31 use in the latest (checked out) revision, is considered as the 32 contributor of that line regardless of who actually originally created 33 that line.29 To understand what statistics is calculated by svndigest this 30 definition is needed: The developer who made the latest change to a 31 line still in use in the latest (checked out) revision, is considered 32 as the contributor of that line regardless of who actually originally 33 created that line. 34 34 35 35 The statistics calculated is the number of lines contributed from each … … 40 40 does not make sense to define lines. Source code, documentation, and 41 41 other human readable files can be treated on line basis whereas 42 symbolic links and binary files cannot. svn stat treats non-line based42 symbolic links and binary files cannot. svndigest treats non-line based 43 43 files as one-line files, i.e. the developer that made the last change 44 44 to this type of files gets a one-line credit for it. -
trunk/lib/Directory.cc
r129 r149 4 4 Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 40 40 41 41 namespace theplu{ 42 namespace svn stat{42 namespace svndigest{ 43 43 44 44 … … 171 171 } 172 172 173 }} // end of namespace svn stat and namespace theplu173 }} // end of namespace svndigest and namespace theplu -
trunk/lib/Directory.h
r129 r149 4 4 Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_directory_25 #define _theplu_svn stat_directory_24 #ifndef _theplu_svndigest_directory_ 25 #define _theplu_svndigest_directory_ 26 26 27 27 #include "Node.h" … … 31 31 32 32 namespace theplu{ 33 namespace svn stat{33 namespace svndigest{ 34 34 35 35 /// … … 86 86 }; 87 87 88 }} // end of namespace svn stat and namespace theplu88 }} // end of namespace svndigest and namespace theplu 89 89 90 90 #endif -
trunk/lib/File.cc
r129 r149 4 4 Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 30 30 31 31 namespace theplu{ 32 namespace svn stat{32 namespace svndigest{ 33 33 34 34 std::string File::html_link(void) const … … 108 108 } 109 109 110 }} // end of namespace svn stat and namespace theplu110 }} // end of namespace svndigest and namespace theplu -
trunk/lib/File.h
r129 r149 4 4 Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_file_25 #define _theplu_svn stat_file_24 #ifndef _theplu_svndigest_file_ 25 #define _theplu_svndigest_file_ 26 26 27 27 #include "Node.h" … … 30 30 31 31 namespace theplu{ 32 namespace svn stat{32 namespace svndigest{ 33 33 34 34 class File : public Node … … 76 76 }; 77 77 78 }} // end of namespace svn stat and namespace theplu78 }} // end of namespace svndigest and namespace theplu 79 79 80 80 #endif -
trunk/lib/Gnuplot.cc
r145 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 32 32 33 33 namespace theplu { 34 namespace svn stat {34 namespace svndigest { 35 35 36 36 … … 101 101 102 102 103 }} // end of namespace svn stat and namespace theplu103 }} // end of namespace svndigest and namespace theplu -
trunk/lib/Gnuplot.h
r145 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_gnuplot_25 #define _theplu_svn stat_gnuplot_24 #ifndef _theplu_svndigest_gnuplot_ 25 #define _theplu_svndigest_gnuplot_ 26 26 27 27 #include <cassert> … … 37 37 38 38 namespace theplu { 39 namespace svn stat {39 namespace svndigest { 40 40 41 41 /// … … 168 168 }; 169 169 170 }} // end of namespace svn stat and namespace theplu170 }} // end of namespace svndigest and namespace theplu 171 171 172 172 #endif -
trunk/lib/GnuplotFE.cc
r133 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 31 31 32 32 namespace theplu { 33 namespace svn stat {33 namespace svndigest { 34 34 35 35 … … 90 90 91 91 92 }} // end of namespace svn stat and namespace theplu92 }} // end of namespace svndigest and namespace theplu -
trunk/lib/GnuplotFE.h
r133 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_gnuplotfe_25 #define _theplu_svn stat_gnuplotfe_24 #ifndef _theplu_svndigest_gnuplotfe_ 25 #define _theplu_svndigest_gnuplotfe_ 26 26 27 27 #include "Gnuplot.h" … … 31 31 32 32 namespace theplu { 33 namespace svn stat {33 namespace svndigest { 34 34 35 35 /// … … 138 138 }; 139 139 140 }} // end of namespace svn stat and namespace theplu140 }} // end of namespace svndigest and namespace theplu 141 141 142 142 #endif -
trunk/lib/Makefile.am
r139 r149 6 6 # Copyright (C) 2006 Jari Häkkinen, Peter Johansson 7 7 # 8 # This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat8 # This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 9 9 # 10 # svn stat is free software; you can redistribute it and/or modify it10 # svndigest is free software; you can redistribute it and/or modify it 11 11 # under the terms of the GNU General Public License as published by 12 12 # the Free Software Foundation; either version 2 of the License, or 13 13 # (at your option) any later version. 14 14 # 15 # svn stat is distributed in the hope that it will be useful, but15 # svndigest is distributed in the hope that it will be useful, but 16 16 # WITHOUT ANY WARRANTY; without even the implied warranty of 17 17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 23 23 # 02111-1307, USA. 24 24 25 noinst_LIBRARIES = libsvn stat.a25 noinst_LIBRARIES = libsvndigest.a 26 26 27 27 noinst_HEADERS = Directory.h File.h Gnuplot.h GnuplotFE.h Node.h \ 28 28 Parser.h rmdirhier.h Stats.h SVN.h SVNblame.h SVNinfo.h utility.h 29 29 30 libsvn stat_a_SOURCES = Directory.cc File.cc Gnuplot.cc GnuplotFE.cc \30 libsvndigest_a_SOURCES = Directory.cc File.cc Gnuplot.cc GnuplotFE.cc \ 31 31 Node.cc Parser.cc rmdirhier.cc Stats.cc SVN.cc SVNblame.cc \ 32 32 SVNinfo.cc utility.cc -
trunk/lib/Node.cc
r129 r149 4 4 Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 32 32 33 33 namespace theplu{ 34 namespace svn stat{34 namespace svndigest{ 35 35 36 36 Node::Node(const u_int level, const std::string& path, … … 68 68 os << "<p align=center><font size=-2>\nGenerated on " 69 69 << asctime (timeinfo) 70 << "by <a href=http://lev.thep.lu.se/trac/svn stat/>"70 << "by <a href=http://lev.thep.lu.se/trac/svndigest/>" 71 71 << PACKAGE_STRING << "</a>" 72 72 << "</font>\n</p>\n</div>\n</body>\n</html>\n"; … … 82 82 << " xml:lang=\"en\" lang=\"en\"><head>\n" 83 83 << "<head>\n" 84 << "<title> svn stat " << name() << "</title>\n"84 << "<title> svndigest " << name() << "</title>\n" 85 85 << "</head>\n" 86 86 << "<link rel=\"stylesheet\" " … … 88 88 for (u_int i=0; i<level_; ++i) 89 89 os << "../"; 90 os << "svn stat.css\" type=\"text/css\" />\n"90 os << "svndigest.css\" type=\"text/css\" />\n" 91 91 << "<body>\n" 92 92 << "<div id=\"menu\">" … … 101 101 } 102 102 103 }} // end of namespace svn stat and namespace theplu103 }} // end of namespace svndigest and namespace theplu -
trunk/lib/Node.h
r142 r149 4 4 Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_node_25 #define _theplu_svn stat_node_24 #ifndef _theplu_svndigest_node_ 25 #define _theplu_svndigest_node_ 26 26 27 27 #include "Stats.h" … … 34 34 35 35 namespace theplu{ 36 namespace svn stat{36 namespace svndigest{ 37 37 38 38 /// … … 147 147 }; 148 148 149 }} // end of namespace svn stat and namespace theplu149 }} // end of namespace svndigest and namespace theplu 150 150 151 151 #endif -
trunk/lib/Parser.cc
r118 r149 4 4 Copyright (C) 2006 Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 32 32 33 33 namespace theplu{ 34 namespace svn stat{34 namespace svndigest{ 35 35 36 36 … … 65 65 66 66 67 }} // end of namespace svn stat and namespace theplu67 }} // end of namespace svndigest and namespace theplu -
trunk/lib/Parser.h
r128 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_parser_25 #define _theplu_svn stat_parser_24 #ifndef _theplu_svndigest_parser_ 25 #define _theplu_svndigest_parser_ 26 26 27 27 #include <iosfwd> … … 30 30 31 31 namespace theplu{ 32 namespace svn stat{32 namespace svndigest{ 33 33 34 34 /// … … 100 100 }; 101 101 102 }} // end of namespace svn stat end of namespace theplu102 }} // end of namespace svndigest end of namespace theplu 103 103 104 104 #endif -
trunk/lib/SVN.cc
r142 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat7 8 svn stat is free software; you can redistribute it and/or modify it6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 35 35 36 36 namespace theplu { 37 namespace svn stat {37 namespace svndigest { 38 38 39 39 … … 51 51 // thrown and caught with subsequent reinitializatios is safe 52 52 // memorywise but what about APR internal counters?) 53 if (svn_cmdline_init("svn stat",stderr) != EXIT_SUCCESS)53 if (svn_cmdline_init("svndigest",stderr) != EXIT_SUCCESS) 54 54 throw SVNException("SVN(void): svn_cmdline_init failed"); 55 55 … … 129 129 subpool); 130 130 if (err && err->apr_err!=SVN_ERR_CLIENT_IS_BINARY_FILE) { 131 svn_handle_error2(err, stderr, false, "svn stat: ");131 svn_handle_error2(err, stderr, false, "svndigest: "); 132 132 svn_error_clear(err); 133 133 svn_pool_destroy(subpool); … … 145 145 if (svn_error_t *err=svn_client_info(path.c_str(), NULL, NULL, receiver, 146 146 baton, false, context_, subpool)) { 147 svn_handle_error2(err, stderr, false, "svn stat: ");147 svn_handle_error2(err, stderr, false, "svndigest: "); 148 148 svn_error_clear(err); 149 149 svn_pool_destroy(subpool); … … 174 174 if ((err=svn_ra_get_latest_revnum(ra_session_, &(head.value.number), 175 175 subpool))) { 176 svn_handle_error2(err, stderr, false, "svn stat: ");176 svn_handle_error2(err, stderr, false, "svndigest: "); 177 177 svn_error_clear(err); 178 178 svn_pool_destroy(subpool); … … 187 187 log_message_receiver, static_cast<void*>(&lb), 188 188 context_, subpool))) { 189 svn_handle_error2(err, stderr, false, "svn stat: ");189 svn_handle_error2(err, stderr, false, "svndigest: "); 190 190 svn_error_clear(err); 191 191 svn_pool_destroy(subpool); … … 199 199 void SVN::cleanup_failed_initialization(svn_error_t *err) 200 200 { 201 svn_handle_error2(err,stderr,false,"svn stat:");201 svn_handle_error2(err,stderr,false,"svndigest:"); 202 202 svn_error_clear(err); 203 203 svn_pool_destroy(pool_); … … 224 224 if (svn_error_t *err=svn_client_open_ra_session(&ra_session_, path.c_str(), 225 225 context_,pool_)) { 226 svn_handle_error2(err,stderr,false,"svn stat:");226 svn_handle_error2(err,stderr,false,"svndigest:"); 227 227 svn_error_clear(err); 228 228 throw SVNException("setup_ra_session: svn_client_open_ra_session failed"); … … 239 239 false, -1, context_->cancel_func, 240 240 context_->cancel_baton, pool_)) { 241 svn_handle_error2(err,stderr,false,"svn stat:");241 svn_handle_error2(err,stderr,false,"svndigest:"); 242 242 svn_error_clear(err); 243 243 throw SVNException("setup_wc_adm_access: svn_wc_adm_open3 failed"); … … 253 253 svn_wc_status2(&status,svn_path_internal_style(path.c_str(), subpool), 254 254 adm_access_, subpool)) { 255 svn_handle_error2(err,stderr,false,"svn stat:");255 svn_handle_error2(err,stderr,false,"svndigest:"); 256 256 svn_error_clear(err); 257 257 svn_pool_destroy(subpool); … … 270 270 271 271 272 }} // end of namespace svn stat and namespace theplu272 }} // end of namespace svndigest and namespace theplu -
trunk/lib/SVN.h
r141 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_svn_25 #define _theplu_svn stat_svn_24 #ifndef _theplu_svndigest_svn_ 25 #define _theplu_svndigest_svn_ 26 26 27 27 #include <stdexcept> … … 33 33 34 34 namespace theplu { 35 namespace svn stat {35 namespace svndigest { 36 36 37 37 /// … … 193 193 }; 194 194 195 }} // end of namespace svn stat and namespace theplu195 }} // end of namespace svndigest and namespace theplu 196 196 197 197 #endif -
trunk/lib/SVNblame.cc
r138 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 28 28 29 29 namespace theplu { 30 namespace svn stat {30 namespace svndigest { 31 31 32 32 … … 84 84 85 85 86 }} // end of namespace svn stat and namespace theplu86 }} // end of namespace svndigest and namespace theplu -
trunk/lib/SVNblame.h
r138 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_svnblame_25 #define _theplu_svn stat_svnblame_24 #ifndef _theplu_svndigest_svnblame_ 25 #define _theplu_svndigest_svnblame_ 26 26 27 27 #include <string> … … 31 31 32 32 namespace theplu { 33 namespace svn stat {33 namespace svndigest { 34 34 35 35 class SVN; … … 113 113 }; 114 114 115 }} // end of namespace svn stat and namespace theplu115 }} // end of namespace svndigest and namespace theplu 116 116 117 117 #endif -
trunk/lib/SVNinfo.cc
r142 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 28 28 29 29 namespace theplu { 30 namespace svn stat {30 namespace svndigest { 31 31 32 32 … … 61 61 62 62 63 }} // end of namespace svn stat and namespace theplu63 }} // end of namespace svndigest and namespace theplu -
trunk/lib/SVNinfo.h
r142 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_svninfo_25 #define _theplu_svn stat_svninfo_24 #ifndef _theplu_svndigest_svninfo_ 25 #define _theplu_svndigest_svninfo_ 26 26 27 27 #include <string> … … 30 30 31 31 namespace theplu { 32 namespace svn stat {32 namespace svndigest { 33 33 34 34 class SVN; … … 108 108 }; 109 109 110 }} // end of namespace svn stat and namespace theplu110 }} // end of namespace svndigest and namespace theplu 111 111 112 112 #endif -
trunk/lib/Stats.cc
r138 r149 5 5 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 6 6 7 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat8 9 svn stat is free software; you can redistribute it and/or modify it7 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 8 9 svndigest is free software; you can redistribute it and/or modify it 10 10 under the terms of the GNU General Public License as published by 11 11 the Free Software Foundation; either version 2 of the License, or 12 12 (at your option) any later version. 13 13 14 svn stat is distributed in the hope that it will be useful, but14 svndigest is distributed in the hope that it will be useful, but 15 15 WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 17 General Public License for more details. 18 18 … … 44 44 45 45 namespace theplu{ 46 namespace svn stat{46 namespace svndigest{ 47 47 48 48 … … 234 234 } 235 235 236 }} // end of namespace svn stat and namespace theplu236 }} // end of namespace svndigest and namespace theplu -
trunk/lib/Stats.h
r138 r149 5 5 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 6 6 7 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat7 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 8 8 9 svn stat is free software; you can redistribute it and/or modify it9 svndigest is free software; you can redistribute it and/or modify it 10 10 under the terms of the GNU General Public License as published by 11 11 the Free Software Foundation; either version 2 of the License, or 12 12 (at your option) any later version. 13 13 14 svn stat is distributed in the hope that it will be useful, but14 svndigest is distributed in the hope that it will be useful, but 15 15 WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 17 General Public License for more details. 18 18 … … 23 23 */ 24 24 25 #ifndef _theplu_svn stat_stats_26 #define _theplu_svn stat_stats_25 #ifndef _theplu_svndigest_stats_ 26 #define _theplu_svndigest_stats_ 27 27 28 28 #include "Parser.h" … … 36 36 37 37 namespace theplu{ 38 namespace svn stat{38 namespace svndigest{ 39 39 40 40 /// … … 155 155 Map_ total_; 156 156 }; 157 }} // end of namespace svn stat end of namespace theplu157 }} // end of namespace svndigest end of namespace theplu 158 158 159 159 #endif -
trunk/lib/rmdirhier.cc
r100 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 32 32 33 33 namespace theplu { 34 namespace svn stat {34 namespace svndigest { 35 35 36 36 void rmdirhier(const std::string& path) … … 95 95 } 96 96 97 }} // of namespace svn stat and namespace theplu97 }} // of namespace svndigest and namespace theplu -
trunk/lib/rmdirhier.h
r100 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_rmdirhier_25 #define _theplu_svn stat_rmdirhier_24 #ifndef _theplu_svndigest_rmdirhier_ 25 #define _theplu_svndigest_rmdirhier_ 26 26 27 27 #include <stdexcept> … … 29 29 30 30 namespace theplu { 31 namespace svn stat {31 namespace svndigest { 32 32 33 33 struct DirectoryError : public std::runtime_error … … 48 48 void rmdirhier(const std::string& path); 49 49 50 }} // of namespace svn stat and namespace theplu50 }} // of namespace svndigest and namespace theplu 51 51 52 52 #endif -
trunk/lib/utility.cc
r138 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 16 General Public License for more details. 17 17 … … 32 32 33 33 namespace theplu{ 34 namespace svn stat{34 namespace svndigest{ 35 35 36 36 std::string file_name(const std::string& full_path) … … 136 136 137 137 138 }} // end of namespace svn stat and namespace theplu138 }} // end of namespace svndigest and namespace theplu -
trunk/lib/utility.h
r138 r149 4 4 Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 22 22 */ 23 23 24 #ifndef _theplu_svn stat_utility_25 #define _theplu_svn stat_utility_24 #ifndef _theplu_svndigest_utility_ 25 #define _theplu_svndigest_utility_ 26 26 27 27 #include <algorithm> … … 35 35 36 36 namespace theplu{ 37 namespace svn stat{37 namespace svndigest{ 38 38 39 39 /// … … 121 121 }; 122 122 123 }} // end of namespace svn stat end of namespace theplu123 }} // end of namespace svndigest end of namespace theplu 124 124 125 125 #endif -
trunk/test/Makefile.am
r145 r149 5 5 # Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson 6 6 # 7 # This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat7 # This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 8 8 # 9 # svn stat is free software; you can redistribute it and/or modify it9 # svndigest is free software; you can redistribute it and/or modify it 10 10 # under the terms of the GNU General Public License as published by 11 11 # the Free Software Foundation; either version 2 of the License, or 12 12 # (at your option) any later version. 13 13 # 14 # svn stat is distributed in the hope that it will be useful, but14 # svndigest is distributed in the hope that it will be useful, but 15 15 # WITHOUT ANY WARRANTY; without even the implied warranty of 16 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 26 26 check_PROGRAMS = $(TESTS) 27 27 28 LDADD = @top_srcdir@/lib/libsvn stat.a -L$(APR_PATH)/lib \28 LDADD = @top_srcdir@/lib/libsvndigest.a -L$(APR_PATH)/lib \ 29 29 -lsvn_client-1 -lsvn_diff-1 -lsvn_ra-1 -lsvn_subr-1 -lsvn_wc-1 -lapr-0 30 30 -
trunk/test/directory.cc
r145 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 30 30 try { 31 31 // create a file structure of a subversion WC 32 theplu::svn stat::Directory directory(0,"..");32 theplu::svndigest::Directory directory(0,".."); 33 33 directory.parse(); 34 34 } -
trunk/test/file.cc
r145 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 29 29 { 30 30 try { 31 theplu::svn stat::File file(0,"file.cc");31 theplu::svndigest::File file(0,"file.cc"); 32 32 file.parse(); 33 33 } -
trunk/test/gnuplot_pipe.cc
r145 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 38 38 } 39 39 40 svn stat::Gnuplot gnuplot1;40 svndigest::Gnuplot gnuplot1; 41 41 ok|=gnuplot1.command("set output 'test1.png'; set term png ; set title 'sine'"); 42 42 ok|=gnuplot1.command("plot sin(x) title 'sine of x' with lines"); 43 43 44 svn stat::Gnuplot gnuplot2;44 svndigest::Gnuplot gnuplot2; 45 45 ok|=gnuplot2.command("set output 'test2.png'; set term png"); 46 46 ok|=gnuplot2.plot(x); 47 47 48 svn stat::Gnuplot gnuplot3;48 svndigest::Gnuplot gnuplot3; 49 49 ok|=gnuplot3.command("set output 'test3.png'; set term png"); 50 50 gnuplot3.linetitle("parabola"); … … 62 62 // plot_x and plot_xy). Note, the below example compiles, but will 63 63 // fail at run time if 'filename.data' does not, miraculously, exist. 64 svn stat::Gnuplot gnuplot4;64 svndigest::Gnuplot gnuplot4; 65 65 gnuplot4.command("set output 'test5.png'\nset term png"); 66 66 gnuplot4.command("plot 'filename.data' using 1:2 with linespoints"); -
trunk/trac/cron.svndigest.sh
r148 r149 3 3 # Copyright (C) 2006 Jari Häkkinen 4 4 # 5 # This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat5 # This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 6 6 # 7 # svn stat is free software; you can redistribute it and/or modify it7 # svndigest is free software; you can redistribute it and/or modify it 8 8 # under the terms of the GNU General Public License as published by 9 9 # the Free Software Foundation; either version 2 of the License, or 10 10 # (at your option) any later version. 11 11 # 12 # svn stat is distributed in the hope that it will be useful, but12 # svndigest is distributed in the hope that it will be useful, but 13 13 # WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 15 # General Public License for more details. 16 16 # … … 26 26 HOME=/ 27 27 28 7 5 * * * /export/home/trac/tracs/svn stat/htdocs/pristine_svnstat/trac/svnstat.sh28 7 5 * * * /export/home/trac/tracs/svndigest/htdocs/pristine_svndigest/trac/svndigest.sh -
trunk/trac/svndigest.sh
r148 r149 5 5 # Copyright (C) 2006 Jari Häkkinen 6 6 # 7 # This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat7 # This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 8 8 # 9 # svn stat is free software; you can redistribute it and/or modify it9 # svndigest is free software; you can redistribute it and/or modify it 10 10 # under the terms of the GNU General Public License as published by 11 11 # the Free Software Foundation; either version 2 of the License, or 12 12 # (at your option) any later version. 13 13 # 14 # svn stat is distributed in the hope that it will be useful, but14 # svndigest is distributed in the hope that it will be useful, but 15 15 # WITHOUT ANY WARRANTY; without even the implied warranty of 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 17 # General Public License for more details. 18 18 # … … 22 22 # 02111-1307, USA. 23 23 24 cd /export/home/trac/tracs/svn stat/htdocs/pristine_svnstat24 cd /export/home/trac/tracs/svndigest/htdocs/pristine_svndigest 25 25 svn diff -rHEAD > tmp.txt 26 26 if [ -s "tmp.txt" ]; then 27 27 svn update 28 svn stat -f \29 -r /export/home/trac/tracs/svn stat/htdocs/pristine_svnstat \30 -t /export/home/trac/tracs/svn stat/htdocs/svnstat28 svndigest -f \ 29 -r /export/home/trac/tracs/svndigest/htdocs/pristine_svndigest \ 30 -t /export/home/trac/tracs/svndigest/htdocs/svndigest 31 31 fi 32 32 rm tmp.txt
Note: See TracChangeset
for help on using the changeset viewer.