Code

tpdfview.git
12 years agotpdfview.txt: Added manpage for tpdfview(1).
Sebastian Harl [Wed, 28 Dec 2011 23:27:10 +0000 (00:27 +0100)]
tpdfview.txt: Added manpage for tpdfview(1).

The manpage is built using asciidoc and xsltproc.

12 years agotpdfv-ctl: Added controller module used to manage multiple GtkTPDFV widgets.
Sebastian Harl [Fri, 23 Dec 2011 18:36:42 +0000 (19:36 +0100)]
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.

12 years agogtk-tpdfv.h: Documented behavior of navigation functions.
Sebastian Harl [Fri, 23 Dec 2011 17:52:04 +0000 (18:52 +0100)]
gtk-tpdfv.h: Documented behavior of navigation functions.

12 years agogtk-tpdfv: Added gtk_tpdfv_goto_page().
Sebastian Harl [Fri, 23 Dec 2011 17:51:06 +0000 (18:51 +0100)]
gtk-tpdfv: Added gtk_tpdfv_goto_page().

12 years agogtk-tpdfv: Added _get_n_pages() and _get_current_page().
Sebastian Harl [Fri, 23 Dec 2011 17:48:33 +0000 (18:48 +0100)]
gtk-tpdfv: Added _get_n_pages() and _get_current_page().

12 years agogtk-tpdfv-screen, tpdfview: Implemented "move window to next screen".
Sebastian Harl [Thu, 22 Dec 2011 23:00:27 +0000 (00:00 +0100)]
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.

12 years agogtk-tpdfv-screen: Added module to abstract access to different screens.
Sebastian Harl [Thu, 22 Dec 2011 22:17:22 +0000 (23:17 +0100)]
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).

12 years agotpdfview: Let 'F' toggle fullscreen mode.
Sebastian Harl [Thu, 8 Dec 2011 07:10:58 +0000 (08:10 +0100)]
tpdfview: Let 'F' toggle fullscreen mode.

12 years agogtk-tpdfv: Create an empty white page to draw the PDF page on.
Sebastian Harl [Tue, 6 Dec 2011 20:19:58 +0000 (21:19 +0100)]
gtk-tpdfv: Create an empty white page to draw the PDF page on.

13 years agogtk-tpdfv: Auto-reload the PDF on expose if the file has changed.
Sebastian Harl [Fri, 11 Nov 2011 13:17:30 +0000 (14:17 +0100)]
gtk-tpdfv: Auto-reload the PDF on expose if the file has changed.

13 years agogtk-tpdfv/tpdfview: Added a possibility to reload the PDF file.
Sebastian Harl [Thu, 10 Nov 2011 14:34:28 +0000 (15:34 +0100)]
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.

13 years agotpdftoc: Added a simple tool to display a PDF's TOC.
Sebastian Harl [Thu, 10 Nov 2011 13:38:36 +0000 (14:38 +0100)]
tpdftoc: Added a simple tool to display a PDF's TOC.

For now, a simple ASCII output is supported only.

13 years agotpdfview: Set window title to 'tpdfview: <filename>'.
Sebastian Harl [Fri, 21 Oct 2011 13:07:45 +0000 (15:07 +0200)]
tpdfview: Set window title to 'tpdfview: <filename>'.

… applying basename() to the filename specified on the command-line.

13 years agogtk-tpdfv: Center PDF page vertically and horizontally.
Sebastian Harl [Fri, 21 Oct 2011 13:02:25 +0000 (15:02 +0200)]
gtk-tpdfv: Center PDF page vertically and horizontally.

13 years agogtk-tpdfv/tpdfview: Implemented 'width', 'height', 'fit' zoom modes.
Sebastian Harl [Fri, 21 Oct 2011 12:42:59 +0000 (14:42 +0200)]
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 ;-)

13 years agotpdfview: Changed background color to black.
Sebastian Harl [Fri, 21 Oct 2011 05:14:57 +0000 (07:14 +0200)]
tpdfview: Changed background color to black.

13 years agoREADME: Updated prerequisites.
Sebastian Harl [Thu, 20 Oct 2011 17:44:44 +0000 (19:44 +0200)]
README: Updated prerequisites.

13 years agogtk-tpdfv: Added Gtk widget taking care of displaying the PDF file.
Sebastian Harl [Thu, 20 Oct 2011 16:47:52 +0000 (18:47 +0200)]
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.

13 years agoInitial import of the tiny PDF viewer. tpdfview-0.0.0
Sebastian Harl [Thu, 20 Oct 2011 14:51:57 +0000 (16:51 +0200)]
Initial import of the tiny PDF viewer.