Commit Graph

107 Commits

Author SHA1 Message Date
Moritz Lipp
5ad335043d Hide plugin structure and introduce new functions 2012-06-13 16:08:24 +02:00
Moritz Lipp
488ab101e9 Set default adjust mode to none 2012-04-21 00:00:03 +02:00
Moritz Lipp
97247f41ca Unhitch zathura_t from document_t/page_t/plugin_manager_t 2012-04-03 09:02:45 +02:00
Moritz Lipp
1b44ccb0f8 Add missing include 2012-04-01 21:15:32 +02:00
Moritz Lipp
025c995d89 Introduce plugin manager 2012-04-01 18:32:16 +02:00
Moritz Lipp
ab4c364e56 Update document information plugin api 2012-03-30 18:24:00 +02:00
Moritz Lipp
64e9f540fb Fix set_rotation 2012-03-28 16:44:46 +02:00
Moritz Lipp
334b4fbb95 Introduce and use zathura_document wrapper functions 2012-03-27 21:59:35 +02:00
Moritz Lipp
647f26a77f Implemented some zathura_document wrapper functions 2012-03-27 14:44:09 +02:00
Moritz Lipp
61d7a6a436 Pass document/page data to plugin functions 2012-03-27 14:22:36 +02:00
Moritz Lipp
4ade2c1472 Introduced plugin.h and plugin-api.h 2012-03-27 13:30:04 +02:00
Moritz Lipp
fa40facc71 Begin to introduce types.h 2012-03-27 11:19:39 +02:00
Moritz Lipp
1133207a48 Update zathura_page plugin functions 2012-03-26 15:17:01 +02:00
Moritz Lipp
efc108fbe2 Introduced page.h 2012-03-26 14:44:56 +02:00
Moritz Lipp
90796b5b5c Added :offset command and some style updates 2012-03-24 18:27:10 +01:00
Sebastian Ramacher
22d750eb4e If g_guess_content_type fails, fall back to file. 2012-03-23 18:08:24 +01:00
Sebastian Ramacher
1dd2430554 If g_content_type_guess is certain, stop early. 2012-03-22 16:28:36 +01:00
Sebastian Ramacher
9c334cc6a6 Add ABI versioning. 2012-03-21 16:23:29 +01:00
Sebastian Ramacher
393fb2a2b6 Simplify zathura_document_plugins_load. 2012-03-19 17:13:00 +01:00
Sebastian Ramacher
2475c371fd There is really no reason to implement file_exists on our own. 2012-03-19 17:03:27 +01:00
Sebastian Ramacher
66bc63f5a7 Rename page_widget to page-widget. 2012-03-16 14:37:54 +01:00
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