Changeset 149


Ignore:
Timestamp:
Aug 12, 2006, 11:11:46 AM (17 years ago)
Author:
Jari Häkkinen
Message:

Changed svnstat to svndigest.

Location:
trunk
Files:
43 edited

Legend:

Unmodified
Added
Removed
  • trunk/AUTHORS

    r84 r149  
    77source code revision system.
    88
    9 This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     9This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    1010
    11 svnstat is free software; you can redistribute it and/or modify it
     11svndigest is free software; you can redistribute it and/or modify it
    1212under the terms of the GNU General Public License as published by the
    1313Free Software Foundation; either version 2 of the License, or (at your
    1414option) any later version.
    1515
    16 svnstat is distributed in the hope that it will be useful, but WITHOUT
    17 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.
     16svndigest is distributed in the hope that it will be useful, but
     17WITHOUT ANY WARRANTY; without even the implied warranty of
     18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     19General Public License for more details.
    2020
    2121You should have received a copy of the GNU General Public License
  • trunk/ChangeLog

    r146 r149  
    11$Id$
    22
     3======================================================================
    34Copyright (C) 2005, 2006 Jari Häkkinen
    45
    5 This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    67
    7 svnstat is free software; you can redistribute it and/or modify it
     8svndigest is free software; you can redistribute it and/or modify it
    89under the terms of the GNU General Public License as published by the
    910Free Software Foundation; either version 2 of the License, or (at your
    1011option) any later version.
    1112
    12 svnstat is distributed in the hope that it will be useful, but WITHOUT
    13 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.
     13svndigest is distributed in the hope that it will be useful, but
     14WITHOUT ANY WARRANTY; without even the implied warranty of
     15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     16General Public License for more details.
    1617
    1718You should have received a copy of the GNU General Public License
     
    1920Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
    2021USA.
     22======================================================================
    2123
     24
     25version 0.4:
     26  - Project name changed from svnstat to svndigest.
    2227
    2328version 0.3:
  • trunk/INSTALL

    r137 r149  
    88source code revision system.
    99
    10 This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
    11 
    12 svnstat is free software; you can redistribute it and/or modify it
     10This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
     11
     12svndigest is free software; you can redistribute it and/or modify it
    1313under the terms of the GNU General Public License as published by the
    1414Free Software Foundation; either version 2 of the License, or (at your
    1515option) any later version.
    1616
    17 svnstat is distributed in the hope that it will be useful, but WITHOUT
    18 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.
     17svndigest is distributed in the hope that it will be useful, but
     18WITHOUT ANY WARRANTY; without even the implied warranty of
     19MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     20General Public License for more details.
    2121
    2222You should have received a copy of the GNU General Public License
     
    2929
    3030Below you'll find the generic FSF install instructions. To compile
    31 and install svnstat you can follow the usual autoconf path:
     31and install svndigest you can follow the usual autoconf path:
    3232
    3333# ./configure
     
    4040
    4141The 'configure' script accepts two options of interest for
    42 svnstat. You can provide 'configure' with APR and subversion API
     42svndigest. You can provide 'configure' with APR and subversion API
    4343location information with --with-apr=DIR and --with-svn=DIR,
    4444respectively.
  • trunk/Makefile.am

    r139 r149  
    55# Copyright (C) 2005, 2006 Jari Häkkinen
    66#
    7 # This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     7# This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    88#
    9 # svnstat is free software; you can redistribute it and/or modify it
     9# svndigest is free software; you can redistribute it and/or modify it
    1010# under the terms of the GNU General Public License as published by
    1111# the Free Software Foundation; either version 2 of the License, or
    1212# (at your option) any later version.
    1313#
    14 # svnstat is distributed in the hope that it will be useful, but
     14# svndigest is distributed in the hope that it will be useful, but
    1515# WITHOUT ANY WARRANTY; without even the implied warranty of
    1616# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     
    2525
    2626clean-local:
    27   rm -rf svnstat *~
     27  rm -rf svndigest *~
  • trunk/NEWS

    r84 r149  
    11$Id$
    22
     3======================================================================
    34Copyright (C) 2005, 2006 Jari Häkkinen
    45
    5 This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    67
    7 svnstat is free software; you can redistribute it and/or modify it
     8svndigest is free software; you can redistribute it and/or modify it
    89under the terms of the GNU General Public License as published by the
    910Free Software Foundation; either version 2 of the License, or (at your
    1011option) any later version.
    1112
    12 svnstat is distributed in the hope that it will be useful, but WITHOUT
    13 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.
     13svndigest is distributed in the hope that it will be useful, but
     14WITHOUT ANY WARRANTY; without even the implied warranty of
     15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     16General Public License for more details.
    1617
    1718You should have received a copy of the GNU General Public License
     
    1920Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
    2021USA.
     22======================================================================
  • trunk/README

    r136 r149  
    44Copyright (C) 2005, 2006 Jari Häkkinen
    55
    6 This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8 svnstat is free software; you can redistribute it and/or modify it
     8svndigest is free software; you can redistribute it and/or modify it
    99under the terms of the GNU General Public License as published by the
    1010Free Software Foundation; either version 2 of the License, or (at your
    1111option) any later version.
    1212
    13 svnstat is distributed in the hope that it will be useful, but WITHOUT
    14 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.
     13svndigest is distributed in the hope that it will be useful, but
     14WITHOUT ANY WARRANTY; without even the implied warranty of
     15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     16General Public License for more details.
    1717
    1818You should have received a copy of the GNU General Public License
     
    3030ii) Gnuplot.
    3131
    32 iii) A standard C++ compliant compiler with one extension: svnstat
     32iii) A standard C++ compliant compiler with one extension: svndigest
    3333   must be compiled with a C++ compiler that supports 'long long'
    3434   types - GCC does this. This is due to the fact that one of the
     
    43432  Compilation and installation
    4444
    45 See INSTALL for instructions on how to compile and install svnstat.
     45See INSTALL for instructions on how to compile and install svndigest.
    4646
    4747
    48483  Acknowledgements
    4949
    50 svnstat uses a C++ interface to Gnuplot inspired by Rajarshi Guha.
     50svndigest uses a C++ interface to Gnuplot inspired by Rajarshi Guha.
    5151
    5252Rajarshi Guha's "A C++ Interface to Gnuplot" can be found through
  • trunk/bin/Parameter.cc

    r122 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3232
    3333namespace theplu {
    34 namespace svnstat {
     34namespace svndigest {
    3535
    3636  Parameter::Parameter(const int argc,const char *argv[])
     
    7474
    7575      if (!ok)
    76         throw std::runtime_error("svnstat: invalid option: " + myargv +
    77                                  "\nType 'svnstat --help' for usage.");
     76        throw std::runtime_error("svndigest: invalid option: " + myargv +
     77                                 "\nType 'svndigest --help' for usage.");
    7878    }
    7979
     
    104104    // check that root directory exists
    105105    if (stat(root_.c_str(),&buf))
    106       throw std::runtime_error("\nsvnstat: " + root_ + ": No such directory.");
     106      throw std::runtime_error("\nsvndigest: " + root_ + ": No such directory.");
    107107
    108108    // check that target directory exists
    109109    if (stat(targetdir_.c_str(),&buf)){
    110       throw std::runtime_error("\nsvnstat: " + targetdir_ +
     110      throw std::runtime_error("\nsvndigest: " + targetdir_ +
    111111                               ": No such directory.");
    112112    }
     
    129129    defaults();
    130130    std::cout << "\n"
    131               << "usage: svnstat [options]\n"
     131              << "usage: svndigest [options]\n"
    132132              << "\n"
    133               << "svnstat traverses a directory structure (controlled by\n"
     133              << "svndigest traverses a directory structure (controlled by\n"
    134134              << "subversion) and calculates developer statistics entries.\n"
    135135              << "The top level directory of the directory structure to\n"
  • trunk/bin/Parameter.h

    r116 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_parameter_
    25 #define _theplu_svnstat_parameter_
     24#ifndef _theplu_svndigest_parameter_
     25#define _theplu_svndigest_parameter_
    2626
    2727#include <string>
    2828
    2929namespace theplu {
    30 namespace svnstat {
     30namespace svndigest {
    3131
    3232  // class for command line options.
     
    5555  };
    5656
    57 }} // of namespace svnstat and namespace theplu
     57}} // of namespace svndigest and namespace theplu
    5858
    5959#endif
  • trunk/bin/svndigest.cc

    r148 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    1515  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     
    4141int main(const int argc,const char* argv[])
    4242{
    43   using namespace theplu::svnstat;
     43  using namespace theplu::svndigest;
    4444  Parameter* option=NULL;
    4545  try {
     
    5757  }
    5858  catch (SVNException e) {
    59     std::cerr << "\nsvnstat: " << e.what() << "\nsvnstat: " << option->root()
     59    std::cerr << "\nsvndigest: " << e.what() << "\nsvndigest: " << option->root()
    6060              << " is not under subversion control\n" << std::endl;
    6161    exit(-1);
     
    6868  }
    6969  catch (SVNException e) {
    70     std::cerr << "\nsvnstat: " << e.what()
    71               << "\nsvnstat: Failed to determine repository for "
     70    std::cerr << "\nsvndigest: " << e.what()
     71              << "\nsvndigest: Failed to determine repository for "
    7272              << option->root() << '\n' << std::endl;
    7373    exit(-1);
     
    8181  }
    8282  catch (SVNException e) {
    83     std::cerr << "\nsvnstat: " << e.what() << std::endl;
     83    std::cerr << "\nsvndigest: " << e.what() << std::endl;
    8484    exit(-1);
    8585  }
     
    9898    else {
    9999      // force false -> exit
    100       std::cerr << "\nsvnstat: " << root_path << ": directory already exists"
     100      std::cerr << "\nsvndigest: " << root_path << ": directory already exists"
    101101                << std::endl;
    102102      exit(-1);
     
    115115  }
    116116  catch (const std::runtime_error& x) {
    117     std::cerr << "svnstat: " << x.what() << std::endl;
     117    std::cerr << "svndigest: " << x.what() << std::endl;
    118118  }
    119   std::string css(file_name(option->root())+"/svnstat.css");
     119  std::string css(file_name(option->root())+"/svndigest.css");
    120120  std::ofstream os(css.c_str());
    121121  print_css(os);
  • trunk/bootstrap

    r84 r149  
    99# Copyright (C) 2005, 2006 Jari Häkkinen
    1010#
    11 # This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     11# This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    1212#
    13 # svnstat is free software; you can redistribute it and/or modify it
     13# svndigest is free software; you can redistribute it and/or modify it
    1414# under the terms of the GNU General Public License as published by
    1515# the Free Software Foundation; either version 2 of the License, or
    1616# (at your option) any later version.
    1717#
    18 # svnstat is distributed in the hope that it will be useful, but
     18# svndigest is distributed in the hope that it will be useful, but
    1919# WITHOUT ANY WARRANTY; without even the implied warranty of
    20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    2121# General Public License for more details.
    2222#
  • trunk/configure.ac

    r146 r149  
    99# Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
    1010#
    11 # This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     11# This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    1212#
    13 # svnstat is free software; you can redistribute it and/or modify it
     13# svndigest is free software; you can redistribute it and/or modify it
    1414# under the terms of the GNU General Public License as published by
    1515# the Free Software Foundation; either version 2 of the License, or
    1616# (at your option) any later version.
    1717#
    18 # svnstat is distributed in the hope that it will be useful, but
     18# svndigest is distributed in the hope that it will be useful, but
    1919# WITHOUT ANY WARRANTY; without even the implied warranty of
    20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    2121# General Public License for more details.
    2222#
     
    2727
    2828AC_PREREQ(2.57)
    29 AC_INIT([[svnstat]],[0.3],[jari@thep.lu.se])
     29AC_INIT([[svndigest]],[0.4],[jari@thep.lu.se])
    3030AC_CONFIG_SRCDIR([lib/File.h])
    3131AC_CONFIG_AUX_DIR([autotools])
  • trunk/doc/readme.txt

    r84 r149  
    33Copyright (C) 2005, 2006 Jari Häkkinen
    44
    5 This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     5This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    66
    7 svnstat is free software; you can redistribute it and/or modify it
     7svndigest is free software; you can redistribute it and/or modify it
    88under the terms of the GNU General Public License as published by the
    99Free Software Foundation; either version 2 of the License, or (at your
    1010option) any later version.
    1111
    12 svnstat is distributed in the hope that it will be useful, but WITHOUT
    13 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.
     12svndigest is distributed in the hope that it will be useful, but
     13WITHOUT ANY WARRANTY; without even the implied warranty of
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15General Public License for more details.
    1616
    1717You should have received a copy of the GNU General Public License
     
    2222
    2323
    24 svnstat traverses a directory structure (controlled by subversion) and
    25 calculates developer statistics for all subversion controlled
    26 entries. The result is written to a sub-directory, svnstat_output,
    27 that will be created in the current working directory.
     24svndigest traverses a directory structure (controlled by subversion)
     25and calculates developer statistics for all subversion controlled
     26entries. The result is written to a sub-directory that will be created
     27in the current working directory.
    2828
    29 To understand what statistics is calculated by svnstat this definition
    30 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.
     29To understand what statistics is calculated by svndigest this
     30definition is needed: The developer who made the latest change to a
     31line still in use in the latest (checked out) revision, is considered
     32as the contributor of that line regardless of who actually originally
     33created that line.
    3434
    3535The statistics calculated is the number of lines contributed from each
     
    4040does not make sense to define lines. Source code, documentation, and
    4141other human readable files can be treated on line basis whereas
    42 symbolic links and binary files cannot. svnstat treats non-line based
     42symbolic links and binary files cannot. svndigest treats non-line based
    4343files as one-line files, i.e. the developer that made the last change
    4444to this type of files gets a one-line credit for it.
  • trunk/lib/Directory.cc

    r129 r149  
    44  Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    4040
    4141namespace theplu{
    42 namespace svnstat{
     42namespace svndigest{
    4343
    4444
     
    171171  }
    172172
    173 }} // end of namespace svnstat and namespace theplu
     173}} // end of namespace svndigest and namespace theplu
  • trunk/lib/Directory.h

    r129 r149  
    44  Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_directory_
    25 #define _theplu_svnstat_directory_
     24#ifndef _theplu_svndigest_directory_
     25#define _theplu_svndigest_directory_
    2626
    2727#include "Node.h"
     
    3131
    3232namespace theplu{
    33 namespace svnstat{
     33namespace svndigest{
    3434
    3535  ///
     
    8686  };
    8787
    88 }} // end of namespace svnstat and namespace theplu
     88}} // end of namespace svndigest and namespace theplu
    8989
    9090#endif
  • trunk/lib/File.cc

    r129 r149  
    44  Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3030
    3131namespace theplu{
    32 namespace svnstat{
     32namespace svndigest{
    3333
    3434  std::string File::html_link(void) const
     
    108108  }
    109109
    110 }} // end of namespace svnstat and namespace theplu
     110}} // end of namespace svndigest and namespace theplu
  • trunk/lib/File.h

    r129 r149  
    44  Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_file_
    25 #define _theplu_svnstat_file_
     24#ifndef _theplu_svndigest_file_
     25#define _theplu_svndigest_file_
    2626
    2727#include "Node.h"
     
    3030
    3131namespace theplu{
    32 namespace svnstat{
     32namespace svndigest{
    3333
    3434  class File : public Node
     
    7676  };
    7777
    78 }} // end of namespace svnstat and namespace theplu
     78}} // end of namespace svndigest and namespace theplu
    7979
    8080#endif
  • trunk/lib/Gnuplot.cc

    r145 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3232
    3333namespace theplu {
    34 namespace svnstat {
     34namespace svndigest {
    3535
    3636
     
    101101
    102102
    103 }} // end of namespace svnstat and namespace theplu
     103}} // end of namespace svndigest and namespace theplu
  • trunk/lib/Gnuplot.h

    r145 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_gnuplot_
    25 #define _theplu_svnstat_gnuplot_
     24#ifndef _theplu_svndigest_gnuplot_
     25#define _theplu_svndigest_gnuplot_
    2626
    2727#include <cassert>
     
    3737
    3838namespace theplu {
    39 namespace svnstat {
     39namespace svndigest {
    4040
    4141  ///
     
    168168};
    169169
    170 }} // end of namespace svnstat and namespace theplu
     170}} // end of namespace svndigest and namespace theplu
    171171
    172172#endif
  • trunk/lib/GnuplotFE.cc

    r133 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3131
    3232namespace theplu {
    33 namespace svnstat {
     33namespace svndigest {
    3434
    3535
     
    9090
    9191
    92 }} // end of namespace svnstat and namespace theplu
     92}} // end of namespace svndigest and namespace theplu
  • trunk/lib/GnuplotFE.h

    r133 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_gnuplotfe_
    25 #define _theplu_svnstat_gnuplotfe_
     24#ifndef _theplu_svndigest_gnuplotfe_
     25#define _theplu_svndigest_gnuplotfe_
    2626
    2727#include "Gnuplot.h"
     
    3131
    3232namespace theplu {
    33 namespace svnstat {
     33namespace svndigest {
    3434
    3535  ///
     
    138138};
    139139
    140 }} // end of namespace svnstat and namespace theplu
     140}} // end of namespace svndigest and namespace theplu
    141141
    142142#endif
  • trunk/lib/Makefile.am

    r139 r149  
    66# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    77#
    8 # This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     8# This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    99#
    10 # svnstat is free software; you can redistribute it and/or modify it
     10# svndigest is free software; you can redistribute it and/or modify it
    1111# under the terms of the GNU General Public License as published by
    1212# the Free Software Foundation; either version 2 of the License, or
    1313# (at your option) any later version.
    1414#
    15 # svnstat is distributed in the hope that it will be useful, but
     15# svndigest is distributed in the hope that it will be useful, but
    1616# WITHOUT ANY WARRANTY; without even the implied warranty of
    1717# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     
    2323# 02111-1307, USA.
    2424
    25 noinst_LIBRARIES = libsvnstat.a
     25noinst_LIBRARIES = libsvndigest.a
    2626
    2727noinst_HEADERS = Directory.h File.h Gnuplot.h GnuplotFE.h Node.h  \
    2828  Parser.h rmdirhier.h Stats.h SVN.h SVNblame.h SVNinfo.h utility.h
    2929
    30 libsvnstat_a_SOURCES = Directory.cc File.cc Gnuplot.cc GnuplotFE.cc \
     30libsvndigest_a_SOURCES = Directory.cc File.cc Gnuplot.cc GnuplotFE.cc \
    3131  Node.cc Parser.cc rmdirhier.cc Stats.cc SVN.cc SVNblame.cc        \
    3232  SVNinfo.cc utility.cc
  • trunk/lib/Node.cc

    r129 r149  
    44  Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3232
    3333namespace theplu{
    34 namespace svnstat{
     34namespace svndigest{
    3535
    3636  Node::Node(const u_int level, const std::string& path,
     
    6868    os << "<p align=center><font size=-2>\nGenerated on "
    6969       << asctime (timeinfo)
    70        << "by <a href=http://lev.thep.lu.se/trac/svnstat/>"
     70       << "by <a href=http://lev.thep.lu.se/trac/svndigest/>"
    7171       << PACKAGE_STRING << "</a>"
    7272       << "</font>\n</p>\n</div>\n</body>\n</html>\n";
     
    8282       << " xml:lang=\"en\" lang=\"en\"><head>\n"
    8383       << "<head>\n"
    84        << "<title> svnstat " << name() << "</title>\n"
     84       << "<title> svndigest " << name() << "</title>\n"
    8585       << "</head>\n"
    8686       << "<link rel=\"stylesheet\" "
     
    8888    for (u_int i=0; i<level_; ++i)
    8989      os << "../";
    90     os << "svnstat.css\" type=\"text/css\" />\n"
     90    os << "svndigest.css\" type=\"text/css\" />\n"
    9191       << "<body>\n"
    9292       << "<div id=\"menu\">"
     
    101101  }
    102102
    103 }} // end of namespace svnstat and namespace theplu
     103}} // end of namespace svndigest and namespace theplu
  • trunk/lib/Node.h

    r142 r149  
    44  Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_node_
    25 #define _theplu_svnstat_node_
     24#ifndef _theplu_svndigest_node_
     25#define _theplu_svndigest_node_
    2626
    2727#include "Stats.h"
     
    3434
    3535namespace theplu{
    36 namespace svnstat{
     36namespace svndigest{
    3737
    3838  ///
     
    147147  };
    148148
    149 }} // end of namespace svnstat and namespace theplu
     149}} // end of namespace svndigest and namespace theplu
    150150
    151151#endif
  • trunk/lib/Parser.cc

    r118 r149  
    44  Copyright (C) 2006 Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3232
    3333namespace theplu{
    34 namespace svnstat{
     34namespace svndigest{
    3535
    3636
     
    6565
    6666
    67 }} // end of namespace svnstat and namespace theplu
     67}} // end of namespace svndigest and namespace theplu
  • trunk/lib/Parser.h

    r128 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_parser_
    25 #define _theplu_svnstat_parser_
     24#ifndef _theplu_svndigest_parser_
     25#define _theplu_svndigest_parser_
    2626
    2727#include <iosfwd>
     
    3030
    3131namespace theplu{
    32 namespace svnstat{
     32namespace svndigest{
    3333
    3434  ///
     
    100100  };
    101101
    102 }} // end of namespace svnstat end of namespace theplu
     102}} // end of namespace svndigest end of namespace theplu
    103103
    104104#endif
  • trunk/lib/SVN.cc

    r142 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
    7 
    8   svnstat is free software; you can redistribute it and/or modify it
     6  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
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3535
    3636namespace theplu {
    37 namespace svnstat {
     37namespace svndigest {
    3838
    3939
     
    5151    // thrown and caught with subsequent reinitializatios is safe
    5252    // memorywise but what about APR internal counters?)
    53     if (svn_cmdline_init("svnstat",stderr) != EXIT_SUCCESS)
     53    if (svn_cmdline_init("svndigest",stderr) != EXIT_SUCCESS)
    5454      throw SVNException("SVN(void): svn_cmdline_init failed");
    5555
     
    129129                                       subpool);
    130130    if (err && err->apr_err!=SVN_ERR_CLIENT_IS_BINARY_FILE) {
    131       svn_handle_error2(err, stderr, false, "svnstat: ");
     131      svn_handle_error2(err, stderr, false, "svndigest: ");
    132132      svn_error_clear(err);
    133133      svn_pool_destroy(subpool);
     
    145145    if (svn_error_t *err=svn_client_info(path.c_str(), NULL, NULL, receiver,
    146146                                         baton, false, context_, subpool)) {
    147       svn_handle_error2(err, stderr, false, "svnstat: ");
     147      svn_handle_error2(err, stderr, false, "svndigest: ");
    148148      svn_error_clear(err);
    149149      svn_pool_destroy(subpool);
     
    174174    if ((err=svn_ra_get_latest_revnum(ra_session_, &(head.value.number),
    175175                                      subpool))) {
    176       svn_handle_error2(err, stderr, false, "svnstat: ");
     176      svn_handle_error2(err, stderr, false, "svndigest: ");
    177177      svn_error_clear(err);
    178178      svn_pool_destroy(subpool);
     
    187187                             log_message_receiver, static_cast<void*>(&lb),
    188188                             context_, subpool))) {
    189       svn_handle_error2(err, stderr, false, "svnstat: ");
     189      svn_handle_error2(err, stderr, false, "svndigest: ");
    190190      svn_error_clear(err);
    191191      svn_pool_destroy(subpool);
     
    199199  void SVN::cleanup_failed_initialization(svn_error_t *err)
    200200  {
    201     svn_handle_error2(err,stderr,false,"svnstat:");
     201    svn_handle_error2(err,stderr,false,"svndigest:");
    202202    svn_error_clear(err);
    203203    svn_pool_destroy(pool_);
     
    224224    if (svn_error_t *err=svn_client_open_ra_session(&ra_session_, path.c_str(),
    225225                                                    context_,pool_)) {
    226       svn_handle_error2(err,stderr,false,"svnstat:");
     226      svn_handle_error2(err,stderr,false,"svndigest:");
    227227      svn_error_clear(err);
    228228      throw SVNException("setup_ra_session: svn_client_open_ra_session failed");
     
    239239                                          false, -1, context_->cancel_func,
    240240                                          context_->cancel_baton, pool_)) {
    241       svn_handle_error2(err,stderr,false,"svnstat:");
     241      svn_handle_error2(err,stderr,false,"svndigest:");
    242242      svn_error_clear(err);
    243243      throw SVNException("setup_wc_adm_access: svn_wc_adm_open3 failed");
     
    253253        svn_wc_status2(&status,svn_path_internal_style(path.c_str(), subpool),
    254254                       adm_access_, subpool)) {
    255       svn_handle_error2(err,stderr,false,"svnstat:");
     255      svn_handle_error2(err,stderr,false,"svndigest:");
    256256      svn_error_clear(err);
    257257      svn_pool_destroy(subpool);
     
    270270
    271271
    272 }} // end of namespace svnstat and namespace theplu
     272}} // end of namespace svndigest and namespace theplu
  • trunk/lib/SVN.h

    r141 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_svn_
    25 #define _theplu_svnstat_svn_
     24#ifndef _theplu_svndigest_svn_
     25#define _theplu_svndigest_svn_
    2626
    2727#include <stdexcept>
     
    3333
    3434namespace theplu {
    35 namespace svnstat {
     35namespace svndigest {
    3636
    3737  ///
     
    193193  };
    194194
    195 }} // end of namespace svnstat and namespace theplu
     195}} // end of namespace svndigest and namespace theplu
    196196
    197197#endif
  • trunk/lib/SVNblame.cc

    r138 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    1515  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     
    2828
    2929namespace theplu {
    30 namespace svnstat {
     30namespace svndigest {
    3131
    3232
     
    8484
    8585
    86 }} // end of namespace svnstat and namespace theplu
     86}} // end of namespace svndigest and namespace theplu
  • trunk/lib/SVNblame.h

    r138 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    1515  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_svnblame_
    25 #define _theplu_svnstat_svnblame_
     24#ifndef _theplu_svndigest_svnblame_
     25#define _theplu_svndigest_svnblame_
    2626
    2727#include <string>
     
    3131
    3232namespace theplu {
    33 namespace svnstat {
     33namespace svndigest {
    3434
    3535  class SVN;
     
    113113  };
    114114
    115 }} // end of namespace svnstat and namespace theplu
     115}} // end of namespace svndigest and namespace theplu
    116116
    117117#endif
  • trunk/lib/SVNinfo.cc

    r142 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    1515  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     
    2828
    2929namespace theplu {
    30 namespace svnstat {
     30namespace svndigest {
    3131
    3232
     
    6161
    6262
    63 }} // end of namespace svnstat and namespace theplu
     63}} // end of namespace svndigest and namespace theplu
  • trunk/lib/SVNinfo.h

    r142 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    1515  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_svninfo_
    25 #define _theplu_svnstat_svninfo_
     24#ifndef _theplu_svndigest_svninfo_
     25#define _theplu_svndigest_svninfo_
    2626
    2727#include <string>
     
    3030
    3131namespace theplu {
    32 namespace svnstat {
     32namespace svndigest {
    3333
    3434  class SVN;
     
    108108  };
    109109
    110 }} // end of namespace svnstat and namespace theplu
     110}} // end of namespace svndigest and namespace theplu
    111111
    112112#endif
  • trunk/lib/Stats.cc

    r138 r149  
    55  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    66
    7   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
    8 
    9   svnstat is free software; you can redistribute it and/or modify it
     7  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
    1010  under the terms of the GNU General Public License as published by
    1111  the Free Software Foundation; either version 2 of the License, or
    1212  (at your option) any later version.
    1313
    14   svnstat is distributed in the hope that it will be useful, but
     14  svndigest is distributed in the hope that it will be useful, but
    1515  WITHOUT ANY WARRANTY; without even the implied warranty of
    16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1717  General Public License for more details.
    1818
     
    4444
    4545namespace theplu{
    46 namespace svnstat{
     46namespace svndigest{
    4747
    4848
     
    234234  }
    235235
    236 }} // end of namespace svnstat and namespace theplu
     236}} // end of namespace svndigest and namespace theplu
  • trunk/lib/Stats.h

    r138 r149  
    55  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    66
    7   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     7  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    88
    9   svnstat is free software; you can redistribute it and/or modify it
     9  svndigest is free software; you can redistribute it and/or modify it
    1010  under the terms of the GNU General Public License as published by
    1111  the Free Software Foundation; either version 2 of the License, or
    1212  (at your option) any later version.
    1313
    14   svnstat is distributed in the hope that it will be useful, but
     14  svndigest is distributed in the hope that it will be useful, but
    1515  WITHOUT ANY WARRANTY; without even the implied warranty of
    16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1717  General Public License for more details.
    1818
     
    2323*/
    2424
    25 #ifndef _theplu_svnstat_stats_
    26 #define _theplu_svnstat_stats_
     25#ifndef _theplu_svndigest_stats_
     26#define _theplu_svndigest_stats_
    2727
    2828#include "Parser.h"
     
    3636
    3737namespace theplu{
    38 namespace svnstat{
     38namespace svndigest{
    3939
    4040  ///
     
    155155    Map_ total_;
    156156  };
    157 }} // end of namespace svnstat end of namespace theplu
     157}} // end of namespace svndigest end of namespace theplu
    158158
    159159#endif
  • trunk/lib/rmdirhier.cc

    r100 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3232
    3333namespace theplu {
    34 namespace svnstat {
     34namespace svndigest {
    3535
    3636  void rmdirhier(const std::string& path)
     
    9595  }
    9696
    97 }} // of namespace svnstat and namespace theplu
     97}} // of namespace svndigest and namespace theplu
  • trunk/lib/rmdirhier.h

    r100 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_rmdirhier_
    25 #define _theplu_svnstat_rmdirhier_
     24#ifndef _theplu_svndigest_rmdirhier_
     25#define _theplu_svndigest_rmdirhier_
    2626
    2727#include <stdexcept>
     
    2929
    3030namespace theplu {
    31 namespace svnstat {
     31namespace svndigest {
    3232
    3333  struct DirectoryError : public std::runtime_error
     
    4848  void rmdirhier(const std::string& path);
    4949
    50 }} // of namespace svnstat and namespace theplu
     50}} // of namespace svndigest and namespace theplu
    5151
    5252#endif
  • trunk/lib/utility.cc

    r138 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3232
    3333namespace theplu{
    34 namespace svnstat{
     34namespace svndigest{
    3535
    3636  std::string file_name(const std::string& full_path)
     
    136136
    137137
    138 }} // end of namespace svnstat and namespace theplu
     138}} // end of namespace svndigest and namespace theplu
  • trunk/lib/utility.h

    r138 r149  
    44  Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    1515  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     
    2222*/
    2323
    24 #ifndef _theplu_svnstat_utility_
    25 #define _theplu_svnstat_utility_
     24#ifndef _theplu_svndigest_utility_
     25#define _theplu_svndigest_utility_
    2626
    2727#include <algorithm>
     
    3535
    3636namespace theplu{
    37 namespace svnstat{
     37namespace svndigest{
    3838
    3939  ///
     
    121121  };
    122122
    123 }} // end of namespace svnstat end of namespace theplu
     123}} // end of namespace svndigest end of namespace theplu
    124124
    125125#endif
  • trunk/test/Makefile.am

    r145 r149  
    55# Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
    66#
    7 # This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     7# This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    88#
    9 # svnstat is free software; you can redistribute it and/or modify it
     9# svndigest is free software; you can redistribute it and/or modify it
    1010# under the terms of the GNU General Public License as published by
    1111# the Free Software Foundation; either version 2 of the License, or
    1212# (at your option) any later version.
    1313#
    14 # svnstat is distributed in the hope that it will be useful, but
     14# svndigest is distributed in the hope that it will be useful, but
    1515# WITHOUT ANY WARRANTY; without even the implied warranty of
    1616# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     
    2626check_PROGRAMS = $(TESTS)
    2727
    28 LDADD = @top_srcdir@/lib/libsvnstat.a -L$(APR_PATH)/lib \
     28LDADD = @top_srcdir@/lib/libsvndigest.a -L$(APR_PATH)/lib \
    2929  -lsvn_client-1 -lsvn_diff-1 -lsvn_ra-1 -lsvn_subr-1 -lsvn_wc-1 -lapr-0
    3030
  • trunk/test/directory.cc

    r145 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    1515  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     
    3030  try {
    3131    // create a file structure of a subversion WC
    32     theplu::svnstat::Directory directory(0,"..");
     32    theplu::svndigest::Directory directory(0,"..");
    3333    directory.parse();
    3434  }
  • trunk/test/file.cc

    r145 r149  
    44  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    1515  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     
    2929{
    3030  try {
    31     theplu::svnstat::File file(0,"file.cc");
     31    theplu::svndigest::File file(0,"file.cc");
    3232    file.parse();
    3333  }
  • trunk/test/gnuplot_pipe.cc

    r145 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    77
    8   svnstat is free software; you can redistribute it and/or modify it
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    1515  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     
    3838  }
    3939
    40   svnstat::Gnuplot gnuplot1;
     40  svndigest::Gnuplot gnuplot1;
    4141  ok|=gnuplot1.command("set output 'test1.png'; set term png ; set title 'sine'");
    4242  ok|=gnuplot1.command("plot sin(x) title 'sine of x' with lines");
    4343
    44   svnstat::Gnuplot gnuplot2;
     44  svndigest::Gnuplot gnuplot2;
    4545  ok|=gnuplot2.command("set output 'test2.png'; set term png");
    4646  ok|=gnuplot2.plot(x);
    4747
    48   svnstat::Gnuplot gnuplot3;
     48  svndigest::Gnuplot gnuplot3;
    4949  ok|=gnuplot3.command("set output 'test3.png'; set term png");
    5050  gnuplot3.linetitle("parabola");
     
    6262  // plot_x and plot_xy). Note, the below example compiles, but will
    6363  // fail at run time if 'filename.data' does not, miraculously, exist.
    64   svnstat::Gnuplot gnuplot4;
     64  svndigest::Gnuplot gnuplot4;
    6565  gnuplot4.command("set output 'test5.png'\nset term png");
    6666  gnuplot4.command("plot 'filename.data' using 1:2 with linespoints");
  • trunk/trac/cron.svndigest.sh

    r148 r149  
    33# Copyright (C) 2006 Jari Häkkinen
    44#
    5 # This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     5# This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    66#
    7 # svnstat is free software; you can redistribute it and/or modify it
     7# svndigest is free software; you can redistribute it and/or modify it
    88# under the terms of the GNU General Public License as published by
    99# the Free Software Foundation; either version 2 of the License, or
    1010# (at your option) any later version.
    1111#
    12 # svnstat is distributed in the hope that it will be useful, but
     12# svndigest is distributed in the hope that it will be useful, but
    1313# WITHOUT ANY WARRANTY; without even the implied warranty of
    14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1515# General Public License for more details.
    1616#
     
    2626HOME=/
    2727
    28 7 5 * * * /export/home/trac/tracs/svnstat/htdocs/pristine_svnstat/trac/svnstat.sh
     287 5 * * * /export/home/trac/tracs/svndigest/htdocs/pristine_svndigest/trac/svndigest.sh
  • trunk/trac/svndigest.sh

    r148 r149  
    55# Copyright (C) 2006 Jari Häkkinen
    66#
    7 # This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     7# This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
    88#
    9 # svnstat is free software; you can redistribute it and/or modify it
     9# svndigest is free software; you can redistribute it and/or modify it
    1010# under the terms of the GNU General Public License as published by
    1111# the Free Software Foundation; either version 2 of the License, or
    1212# (at your option) any later version.
    1313#
    14 # svnstat is distributed in the hope that it will be useful, but
     14# svndigest is distributed in the hope that it will be useful, but
    1515# WITHOUT ANY WARRANTY; without even the implied warranty of
    16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1717# General Public License for more details.
    1818#
     
    2222# 02111-1307, USA.
    2323
    24 cd /export/home/trac/tracs/svnstat/htdocs/pristine_svnstat
     24cd /export/home/trac/tracs/svndigest/htdocs/pristine_svndigest
    2525svn diff -rHEAD > tmp.txt
    2626if [ -s "tmp.txt" ]; then
    2727        svn update
    28   svnstat -f \
    29     -r /export/home/trac/tracs/svnstat/htdocs/pristine_svnstat \
    30     -t /export/home/trac/tracs/svnstat/htdocs/svnstat
     28  svndigest -f \
     29    -r /export/home/trac/tracs/svndigest/htdocs/pristine_svndigest \
     30    -t /export/home/trac/tracs/svndigest/htdocs/svndigest
    3131fi
    3232rm tmp.txt
Note: See TracChangeset for help on using the changeset viewer.