Document viewer
Find a file
Abdo Roig-Maranges c4245600c9 move adjustment code from sc_adjust_window to adjust_view
This new function adjust_view is in charge of recomputing the scale
according to adjustment settings and trigger a render_all.

adjust_view contains the old sc_adjust_window code, slightly simplified
thanks to the availability of the document_get_viewport_size.

Then it is used by sc_adjust_window, document_open and the
cb_view_resized callback. Makes slightly more sense this way than
calling the shortcut sc_adjust_window directly.
2013-10-26 17:13:56 +02:00
po Run update-po 2013-08-15 00:37:57 +02:00
tests Build tests with magic if WITH_MAGIC != 0 2013-02-22 15:58:13 +01:00
.gitignore Add girara version check. 2012-03-16 13:32:09 +01:00
adjustment.c add functions to compute page positions 2013-10-26 17:13:55 +02:00
adjustment.h add functions to compute page positions 2013-10-26 17:13:55 +02:00
AUTHORS Add oblique 2013-03-09 18:54:42 +01:00
bookmarks.c Bookmark the exact position, not just the page number (along with a number of fixes). 2013-06-21 09:45:36 +02:00
bookmarks.h Bookmark the exact position, not just the page number (along with a number of fixes). 2013-06-21 09:45:36 +02:00
callbacks.c move adjustment code from sc_adjust_window to adjust_view 2013-10-26 17:13:56 +02:00
callbacks.h add a custom refresh-view signal 2013-10-26 17:13:56 +02:00
commands.c Rewrite render thread as request based system 2013-08-21 18:32:18 +02:00
commands.h Implement cmd_exec with 2012-08-14 11:45:11 +02:00
common.mk
completion.c Update style 2012-10-09 01:12:18 +02:00
completion.h Add completion for :write (Closes: #138) 2012-03-20 00:54:12 +01:00
config.c merge callbacks for pages-per-row, first-page-column and page-padding 2013-10-26 16:02:21 +02:00
config.h Update documentation 2012-02-08 15:30:13 +01:00
config.mk Emit signal from main context 2013-08-30 13:25:22 +02:00
database-plain.c Make the jumplist persistent on a per-file basis 2013-06-29 11:35:29 +02:00
database-plain.h Implement support to use both database backends. 2012-03-04 15:56:54 +01:00
database-sqlite.c Make the jumplist persistent on a per-file basis 2013-06-29 11:35:29 +02:00
database-sqlite.h Update typo in function description 2012-03-14 08:15:23 +01:00
database.c Make the jumplist persistent on a per-file basis 2013-06-29 11:35:29 +02:00
database.h Make the jumplist persistent on a per-file basis 2013-06-29 11:35:29 +02:00
document.c add functions to compute page positions 2013-10-26 17:13:55 +02:00
document.h let the document know about the current adjustments 2013-10-26 16:02:27 +02:00
Doxyfile Update Doxyfile 2012-02-08 15:38:54 +01:00
glib-compat.h g_get_real_time appeard in 2.28 2013-02-09 15:18:35 +01:00
internal.h Improve zathura_link_t 2012-05-28 12:43:22 +02:00
LICENSE Update copyright years 2013-01-22 21:56:43 +01:00
links.c add functions to compute page positions 2013-10-26 17:13:55 +02:00
links.h Add new shortcut function to display links 2012-12-07 18:05:59 +01:00
macros.h Mark zathura->global.page_padding as deprecated. 2012-03-16 15:56:37 +01:00
main.c Fix deprecated gdk thread function calls 2013-08-30 19:25:24 +02:00
Makefile Save some forks 2013-08-22 22:26:52 +02:00
marks.c Allow numbers for quickmarks 2013-09-14 23:43:39 +02:00
marks.h Implemented marks 2012-04-21 04:59:58 +02:00
page-widget.c Finish moving of the page cache 2013-10-19 17:45:12 +02:00
page-widget.h Merge branch 'feature/renderer-take-2' into develop 2013-10-18 16:12:50 +02:00
page.c Hide plugin structure and introduce new functions 2012-06-13 16:08:24 +02:00
page.h There is no need to include zathura.h anymore. 2012-04-03 18:39:00 +02:00
plugin-api.h Hide plugin structure and introduce new functions 2012-06-13 16:08:24 +02:00
plugin.c Add missing field initializer 2013-07-26 09:10:47 +02:00
plugin.h Hide plugin structure and introduce new functions 2012-06-13 16:08:24 +02:00
print.c Rewrite render thread as request based system 2013-08-21 18:32:18 +02:00
print.h Remove unnecessary include. 2012-06-08 18:10:54 +02:00
README Emit signal from main context 2013-08-30 13:25:22 +02:00
render.c add functions to compute page positions 2013-10-26 17:13:55 +02:00
render.h Rename zathura_page_cache_add 2013-10-20 16:06:15 +02:00
shortcuts.c move adjustment code from sc_adjust_window to adjust_view 2013-10-26 17:13:56 +02:00
shortcuts.h bisect functionality to navigate documents 2013-04-02 21:22:20 +02:00
synctex.c Update style 2012-10-09 01:12:18 +02:00
synctex.h Synctex backwards synchronization 2012-07-13 15:39:16 +02:00
types.c Update style 2012-10-09 01:12:18 +02:00
types.h Merge branch 'feature/renderer-take-2' into develop 2013-10-18 16:12:50 +02:00
utils.c add functions to compute page positions 2013-10-26 17:13:55 +02:00
utils.h add functions to compute page positions 2013-10-26 17:13:55 +02:00
version.h.in Fix version.h misspelling 2012-05-28 10:08:03 +02:00
zathura.1.rst Document new bisect functionality 2013-04-02 21:22:20 +02:00
zathura.c move adjustment code from sc_adjust_window to adjust_view 2013-10-26 17:13:56 +02:00
zathura.desktop Add Keywords 2013-09-12 19:55:51 +02:00
zathura.h move adjustment code from sc_adjust_window to adjust_view 2013-10-26 17:13:56 +02:00
zathura.pc.in Don't need to depend on GTK+ anymore. 2012-04-06 13:46:35 +02:00
zathurarc.5.rst add a config setting to prevent link_evaluate from changing scale 2013-10-26 01:12:32 +02:00

zathura - a document viewer
===========================
zathura is a highly customizable and functional document viewer based on the
girara user interface library and several document libraries.

Requirements
------------
gtk2 (>= 2.28)
glib (>= 2.28)
girara
sqlite3 (optional, >= 3.5.9)
check (for tests)
intltool
python-docutils (optional, for man pages)
libmagic from file(1) (optional, for mime-type detection)

Please note that you need to have a working pkg-config installation and that the
Makefile is only compatible with GNU make. If you don't have a working
pkg-config installation please set the GTK_INC, GTK_LIB, GIRARA_INC, GIRARA_LIB,
SQLITE_INC and SQLITE_LIB variables accordingly.

And also note that rst2man from python-docutils is needed to build the man pages.
If it is not installed, the man pages won't be built.

If you don't want to build with support for sqlite databases, you can set
WITH_SQLITE=0 and sqlite support won't be available.

The use of magic to detect mime types is optional and can be disabled by setting
WITH_MAGIC=0.

If you pass these flags as a command line argument to make, you have to ensure
to pass the same flags when executing the install target.

Installation
------------
To build and install zathura:

  make install

Uninstall:
----------
To delete zathura from your system, just type:

  make uninstall