gtk-tpdfv: Support relative pathnames as well.
configure: When doing strict checks, treat Gtk headers as system headers.
This way, warnings generated by those headers will be suppressed. Some of the
strict check flags generate warnings which would otherwise result in
unnecessary compile errors.
This way, warnings generated by those headers will be suppressed. Some of the
strict check flags generate warnings which would otherwise result in
unnecessary compile errors.
build system: Check for a2x and xsltproc.
If these tools are not found, don't try to build the documentation.
If these tools are not found, don't try to build the documentation.
tpdfview(1), help output: Added '-P' switch.
tpdfview: Added simple presentation mode.
This mode is enabled by using the '-P' command line switch. If enabled, a
second window will be created to display two "slave" GtkTPDFV widgets side by
side (using a paned widget). One will display the same content as the main
window while the other displays the next slide.
This mode is enabled by using the '-P' command line switch. If enabled, a
second window will be created to display two "slave" GtkTPDFV widgets side by
side (using a paned widget). One will display the same content as the main
window while the other displays the next slide.
tpdfview: Use the tpdfv-ctl module to manage the GtkTPDFV widget.
This is in preparation for managing multiple widgets through that interface.
This is in preparation for managing multiple widgets through that interface.
build system: Define target 'version' in the toplevel Makefile.
Also, let the manpage depend on 'version'.
Also, let the manpage depend on 'version'.
tpdfview.txt: Added manpage for tpdfview(1).
The manpage is built using asciidoc and xsltproc.
The manpage is built using asciidoc and xsltproc.
tpdfv-ctl: Added controller module used to manage multiple GtkTPDFV widgets.
The controller includes one "main" and an arbitrary number of "slave" widgets.
Each slave widget has a factor and an offset assigned to it. Those numbers
define how the current page of the slave relates to that of the master. Thus,
it might be used, for example, to specify a slave widget used to display a
preview of the next page.
The controller provides a subset of the functions provided by the GtkTPDFV
widget and forwards the calls to the "main" and "slave" widgets according to
the slave settings.
To ease integration, those functions either accept a controller object or a
GtkTPDFV widget as an argument and, in the latter case, directly forward the
call to the specified widget only.
The controller includes one "main" and an arbitrary number of "slave" widgets.
Each slave widget has a factor and an offset assigned to it. Those numbers
define how the current page of the slave relates to that of the master. Thus,
it might be used, for example, to specify a slave widget used to display a
preview of the next page.
The controller provides a subset of the functions provided by the GtkTPDFV
widget and forwards the calls to the "main" and "slave" widgets according to
the slave settings.
To ease integration, those functions either accept a controller object or a
GtkTPDFV widget as an argument and, in the latter case, directly forward the
call to the specified widget only.
gtk-tpdfv.h: Documented behavior of navigation functions.
gtk-tpdfv: Added gtk_tpdfv_goto_page().
gtk-tpdfv: Added _get_n_pages() and _get_current_page().
gtk-tpdfv-screen, tpdfview: Implemented "move window to next screen".
This is done by pressing the 'M' (move) key.
For this purpose, the functions gtk_tpdfv_screens_window_set() and
gtk_tpdfv_screens_window_get() have been added, querying the list of screens
for the right settings.
This is done by pressing the 'M' (move) key.
For this purpose, the functions gtk_tpdfv_screens_window_set() and
gtk_tpdfv_screens_window_get() have been added, querying the list of screens
for the right settings.
gtk-tpdfv-screen: Added module to abstract access to different screens.
For now, it provides a function to determine a list of all screens
(independent of actual GdkScreen and monitor number).
For now, it provides a function to determine a list of all screens
(independent of actual GdkScreen and monitor number).
tpdfview: Let 'F' toggle fullscreen mode.
gtk-tpdfv: Create an empty white page to draw the PDF page on.
gtk-tpdfv: Auto-reload the PDF on expose if the file has changed.
gtk-tpdfv/tpdfview: Added a possibility to reload the PDF file.
- In the widget, this is available as 'gtk_tpdfv_reload()' which closes and
reopens the PDF file; updating internal settings accordingly.
- In the GUI, this may be triggered by pressing the 'r' key.
- In the widget, this is available as 'gtk_tpdfv_reload()' which closes and
reopens the PDF file; updating internal settings accordingly.
- In the GUI, this may be triggered by pressing the 'r' key.
tpdftoc: Added a simple tool to display a PDF's TOC.
For now, a simple ASCII output is supported only.
For now, a simple ASCII output is supported only.
tpdfview: Set window title to 'tpdfview: <filename>'.
… applying basename() to the filename specified on the command-line.
… applying basename() to the filename specified on the command-line.
gtk-tpdfv: Center PDF page vertically and horizontally.
gtk-tpdfv/tpdfview: Implemented 'width', 'height', 'fit' zoom modes.
Currently, when leaving those modes, the zoom will be reset to the value
before entering any of those modes. This is done on purpose ;-)
Currently, when leaving those modes, the zoom will be reset to the value
before entering any of those modes. This is done on purpose ;-)
tpdfview: Changed background color to black.
README: Updated prerequisites.
gtk-tpdfv: Added Gtk widget taking care of displaying the PDF file.
This makes much more flexible setups possible, including displaying more than
one file/page at the same time and making use of Gtk's layout features.
This makes much more flexible setups possible, including displaying more than
one file/page at the same time and making use of Gtk's layout features.
Initial import of the tiny PDF viewer.