Commit Graph

86 Commits

Author SHA1 Message Date
Moritz Lipp
afe238d941 Update style 2012-03-13 09:27:20 +01:00
Moritz Lipp
aab2a24976 Update style 2012-03-13 09:26:54 +01:00
Sebastian Ramacher
01b5750bcc Add setting to ignore page number stored in file info. (Closes: #145)
Thanks for the patch to Urchlay.
2012-03-12 22:31:40 +01:00
Moritz Lipp
1998fdcb5a Fix typo 2012-03-05 08:22:16 +01:00
Moritz Lipp
ee760f2098 Update some return values 2012-03-05 00:15:09 +01:00
Moritz Lipp
0049b6fa4b Notify if an error occurs in the :write command 2012-03-04 23:54:03 +01:00
Sebastian Ramacher
b7a20a5e2b Make all strings passed to girara_notify translateable. 2012-03-04 18:45:58 +01:00
Sebastian Ramacher
f23c90234b Use GDir to enumerate plugin directories. 2012-03-03 16:59:17 +01:00
Sebastian Ramacher
18b9694f9b Add API versioning and add macro to register plugins.
If the plugin interface changes ZATHURA_API_VERSION has to be bumped before a
release.
2012-02-25 15:21:00 +01:00
Moritz Lipp
b6f1868e7f Fix automatic file reloading 2012-02-20 20:07:24 +01:00
Moritz Lipp
8fdf18b088 Update plugin system return values and notifications 2012-02-18 00:30:47 +01:00
Sebastian Ramacher
0767aa85bf some error checking for zathura_page_get 2012-02-16 15:47:33 +01:00
Sebastian Ramacher
e7f0e30d99 only call sc_adjust_window if the allocation of the window really changed 2012-02-14 15:53:04 +01:00
Moritz Lipp
3facd5beb0 Replace image_save with image_get_cairo 2012-02-11 17:53:28 +01:00
Moritz Lipp
3fec0ed485 Fix adjust-open setting 2012-02-09 11:25:02 +01:00
Moritz Lipp
851ef7cd7b Adjust on resize / Adjust on open 2012-02-09 01:46:51 +01:00
Moritz Lipp
60523c5506 Fix current page number check 2012-02-08 23:37:34 +01:00
Moritz Lipp
6fb95bc6cb Remove while loop 2012-02-08 23:33:31 +01:00
Moritz Lipp
70dbf39184 Merge branch 'develop' of pwmt.org:zathura into develop
Conflicts:
	document.c
2012-02-08 23:23:42 +01:00
Moritz Lipp
1d606ef027 Ask for password if file is encrypted 2012-02-08 23:21:27 +01:00
Sebastian Ramacher
7003df76a4 add method to get text from selection 2012-02-08 23:20:22 +01:00
Sebastian Ramacher
a5829b87ef off by one 2012-02-08 22:33:32 +01:00
Sebastian Ramacher
f4f24fe0cc Merge branch 'develop' of pwmt.org:zathura into develop
Conflicts:
	document.c
2012-02-08 22:33:10 +01:00
Sebastian Ramacher
e513cb5579 store rotation in history 2012-02-08 22:23:45 +01:00
Moritz Lipp
7ca0f3b20e Check current page number when read from history 2012-02-08 22:19:37 +01:00
Moritz Lipp
b0cf2749e2 Fix open_function call 2012-02-07 21:13:29 +01:00
Moritz Lipp
626fd50e32 Introduced zathura_plugin_error_t 2012-02-07 21:10:59 +01:00
Moritz Lipp
6a3fb02736 Fix automatic reload 2012-02-07 20:54:20 +01:00
Moritz Lipp
30f62a1f3a Implemented auto reload basics 2012-02-07 19:25:47 +01:00
Moritz Lipp
21a65cbe34 Rename PageViewWidget to PageWidget 2012-02-07 18:30:46 +01:00
Sebastian Ramacher
762f3819d4 add zathura_link_free 2012-02-07 17:41:40 +01:00
Sebastian Ramacher
aea5024ce3 add argument printing to zathura_page_render 2012-02-07 15:10:58 +01:00
Sebastian Ramacher
a1cdb48921 Create a page view widget (Closes: #90).
Add a widget derived from GtkDrawingArea that handles the drawing. It
automaticaly requests rerendering of the page if necessary (i.e on a scroll and
rotate).

This should solve all the rendering issues.
2012-02-05 11:24:34 +01:00
Moritz Lipp
419376f761 Add images_get and image_save functions 2012-01-22 22:15:13 +01:00
Sebastian Ramacher
82501190af add _attachment_save 2012-01-13 18:25:17 +01:00
Sebastian Ramacher
33173e018e more error handling 2012-01-13 18:07:21 +01:00
Sebastian Ramacher
c75eaf4c43 center the pages (Closes: #85, #87) 2012-01-13 17:39:46 +01:00
Sebastian Ramacher
10b5006828 reset scale if it is negative 2012-01-13 17:33:19 +01:00
Sebastian Ramacher
565104a769 coding style 2011-12-11 20:19:57 +01:00
Sebastian Ramacher
298daab365 don't loop indefinitly if a plugin directy doesn't exist 2011-11-22 18:57:09 +01:00
Moritz Lipp
133b127319 Skip '.' and '..' 2011-10-29 13:09:16 +02:00
Pavel Borzenkov
744320b8fa Fix build warning
The patch fixes the following warning:

document.c: In function ‘guess_type’:
document.c:174: warning: implicit declaration of function ‘read’

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-24 08:39:39 +02:00
Sebastian Ramacher
c06a1a4df7 use BUFSIZ 2011-10-23 19:27:57 +02:00
Sebastian Ramacher
7ca688a964 read file blockwise to determine filetype 2011-10-23 19:26:06 +02:00
Sebastian Ramacher
911d84c908 update includes due to girara restructuring 2011-10-23 17:01:15 +02:00
Sebastian Ramacher
37189ece79 remove zathura_list_t 2011-10-22 00:11:42 +02:00
Sebastian Ramacher
f7e9c3d770 remove duplicated code 2011-10-21 23:40:16 +02:00
Sebastian Ramacher
4d7de4bb9f fix logic 2011-10-21 23:36:17 +02:00
Sebastian Ramacher
719557ff9e always close the plugin handle 2011-10-21 23:33:18 +02:00
Sebastian Ramacher
2572c2a5cc Guess the content from the actual data if it fails to do so from the file name alone. 2011-10-21 15:00:57 +02:00