Changeset 31 for trunk/README


Ignore:
Timestamp:
Jan 12, 2006, 12:45:03 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Reimplemented the gnuplot pipe implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/README

    r30 r31  
    33Acknowledgements
    44
    5 svnstat uses a C++ interface to Gnuplot written by Rajarshi Guha. The
    6 interface is integrated in the svnstat code with some modifications
    7 (see below). The original code used for svnstat can be found in
    8 directory ./gnuplot_i++.
     5svnstat uses a C++ interface to Gnuplot inspired by Rajarshi Guha.
    96
    107Rajarshi Guha's "A C++ Interface to Gnuplot" can be found through
     
    129interfaces in ANSI C" written by Nicolas Devillard. The C implemention
    1310is available through http://ndevilla.free.fr/ .
    14 
    15 Changes made to the C++ Gnuplot interface files (gnuplot_i.hpp and
    16 gnuplot_i.cc):
    17 
    18 i) Changed filename gnuplot_i.hpp to gnuplot_i.h, and consequently
    19    changed #include directive in gnuplot_i.cc.
    20 
    21 ii) Encapsulated the interface into namespace theplu::svnstat.
    22 
    23 iii) Added 'Id' tags in both files.
    24 
    25 iv) Changed the initial #ifndef/#define idiom to avoid potential
    26    clash with the original implementation.
    27 
    28 v) gnuplot_i.h: Removed the 'using namespace std;' statement, since we
    29    don't want to expose the std namespace to everyone using the
    30    Gnuplot interface. This triggered subsequent changes to code lines
    31    with string and vector<> usage.
    32 
    33 vi) Resolved signed/unsigned compiler warnings in gnuplot_i.cc on
    34    lines 235, 278, 418, and 482
    35 
    36 vii) gnuplot_i.cc: Changed order of code in Gnuplot destructor, now
    37    the pipe is closed first. I have not done a full scale
    38    investigation on why this is needed, but on MacOSX the files are
    39    removed before gnuplot plots data when the original code order is
    40    kept.
Note: See TracChangeset for help on using the changeset viewer.