Guillaume Duranceau
12f7b393a6
new window-title-page option
...
When set to 'true', this option displays the page number in the title of
a zathura window.
2013-07-27 01:18:46 +02:00
Sebastian Ramacher
2ad8571f41
Add missing includes
...
Also fix other compiler warnings.
Closes : #332
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-07-25 21:57:39 +02:00
Moritz Lipp
df466eeeb2
Fix
2013-05-28 23:39:18 +02:00
Moritz Lipp
cf96d52790
Report missing plugin/unsupported file type
2013-05-28 17:00:37 +02:00
Moritz Lipp
87f10baffc
Allow negative offsets
2013-05-08 18:28:32 +02:00
Sebastian Ramacher
9a00028a0d
Remove some unnecessary \ns
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-03-26 15:21:03 +01:00
Benoît Knecht
1702fb620a
Don't scroll the document when focusing the inputbar
...
Add a new adjust mode that is set when focusing the inputbar and
disables adjusting the vertical scrollbar. As a result, focusing the
inputbar doesn't scroll the document, leading to better results when
changing pages from the inputbar (e.g. using bookmarks).
Reported-by: Marwan Tanager <marwan.tngr@gmail.com>
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-03-23 16:03:11 +01:00
Sebastian Ramacher
0a92abe720
Fix the logic in guess_type
2013-02-19 15:27:23 +01:00
Sebastian Ramacher
1899011a6c
add some debug output
2013-02-19 15:19:10 +01:00
Sebastian Ramacher
4446456159
add some comments
2013-02-13 15:43:02 +01:00
Sebastian Ramacher
c6c0fd1ce2
Merge branch 'staging-mime' into develop
...
Conflicts:
Makefile
config.mk
document.c
2013-02-13 15:41:38 +01:00
Diego Joss
1d23f466a2
replace g_content_type_guess with libmagic
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-02-13 15:33:29 +01:00
Sebastian Ramacher
7c3fa7fd1a
Add support to detect mimetypes with magic
...
Thanks to Diego Joss <djego.joss@gmail.com> for the patch.
2013-02-08 10:59:26 +01:00
Sebastian Ramacher
9765b43113
Cover all cases of read.
...
Files smaller than GT_MAX_READ cause guess_type to hang in an endless loop.
Closes : #285
2013-01-17 10:13:31 +01:00
Benoît Knecht
27d7973586
Add document method to compute the size of a cell
...
A document is laid out on a homogeneous gtk table/grid. This new method,
zathura_document_get_cell_size, computes the size of the cells in that
table/grid, at the current scale.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2012-12-13 18:18:03 +01:00
Moritz Lipp
89e7832047
Update style
2012-10-09 01:12:18 +02:00
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