Some module dependency cleanup.
authorTeemu Murtola <teemu.murtola@gmail.com>
Tue, 29 Oct 2013 20:25:10 +0000 (22:25 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 16 Nov 2013 22:07:11 +0000 (23:07 +0100)
commit91be26d112aecae075cde91fc58d420c20b3f610
tree13f37cc8653ad6ef9f4e0e92a5a0403ec6352293
parent0a1d052a237eef53ecb3531df714cbfa328b9c03
Some module dependency cleanup.

Move wman.* from onlinehelp/ to commandline/, since they depend on stuff
from commandline, and are not used by anything else than statutil.cpp
for command-line stuff.  Also, don't let exceptions from write_man()
propagate into C code potentially calling parse_common_args().

Move some additional file I/O stuff into trxio.c from statutil.cpp,
removing otherwise unnecessary dependencies to fileio.

Change-Id: I43ededf3c729239cd0e6bd8ddaf97386747c4363
src/gromacs/commandline/wman.cpp [moved from src/gromacs/onlinehelp/wman.cpp with 99% similarity]
src/gromacs/commandline/wman.h [moved from src/gromacs/onlinehelp/wman.h with 94% similarity]
src/gromacs/fileio/trxio.c
src/gromacs/gmxlib/statutil.cpp
src/gromacs/onlinehelp/helpwritercontext.cpp