2011-05-28 Jim Diamond * pdfopen.c: add -v and --version options. * pdfopen.1: create man page: thanks to Karl Berry for numerous suggestions and improvements. * pdfclose.1: add version number to usage information. * configure.ac: update for V 0.82. 2011-05-17 Jim Diamond * pdfopen.c: add -h and --help options. Reformat usage information. Add support for evince. Replace '-openInNewWindow' with '-openInNewInstance' since AR9 claims the former is deprecated. * xpdfopen.h: add support for evince. * pdfclose.c: add support for evince. * configure.ac: update for V 0.81. 2010-05-03 Jim Diamond * pdfclose.c: make it work with all of AR{5,7,8,9} and xpdf. * pdfopen.c: add ability to parse and send function-keys. Add code (commented out) in an attempt to support okular (see code comments). * sendx.c: add code (commented out) in an attempt to support okular (see code comments). * configure.ac: add changes suggested by Peter Breitenlohner. 2010-04-24 Jim Diamond * utils.[ch]: put a function to create window titles there * xpdfopen.h: put constants related to the titles of various PDF viewers there * pdfclose.c: modify to use utils.c and xpdfopen.h * pdfopen.c: major modifications so it works with AR7, AR8, AR9 xpdf and maybe AR5, and so that it might be relatively straightforward to add other PDF viewers. The default viewer is AR9, this can be overridden by an environment variable and a command-line argument. * sendx.c: Reset the error status in open_channel() so that an error return doesn't become permanent. Fixed mask param in XSendEvent(). 2010-04-21 Jim Diamond * pdfopen.c: Fold in some changes submitted by Peter Breitenlohner * pdfopen.c: Fold in some changes submitted by Peter Breitenlohner and reformat the code. 2010-04-11 Jim Diamond * pdfopen.c: Update (in a non-backward-compatible way) to work with AR 9. Save old version in pdfopen-AR-7-and-8.c. 2009-08-22 Peter Breitenlohner Avoid maximal compiler warnings. * pdfopen.c: Use strdup'ed literal string (malloc+strcpy) to initialize non-constant string. * sendx.[ch]: Constify string args of all functions. Consistently use wname for window name string param. (close_channel): ANSI C function definition. 2009-08-19 Peter Breitenlohner * Makefile.am (AM_CFLAGS), configure.ac: Enable compiler warnings. * pdfopen.c (usage), pdfclose.c (usage): Declare as static. * sendx.h (new): Declare prototypes for functions in sendx.c. * Makefile.am (pdfopen_SOURCES, pdfclose_SOURCES): Add sendx.h. * pdfopen.c, pdfclose.c, sendx.c: #include "sendx.h". * sendx.c (GetRootWindow): Slightly reformulate to avoid compiler warning (strict-aliasing rules). 2009-05-06 Peter Breitenlohner Adapt to TL2009 build system.