Sebastian Ramacher
b133a75717
pass sessionname
2011-12-13 19:59:59 +01:00
Sebastian Ramacher
565104a769
coding style
2011-12-11 20:19:57 +01:00
Sebastian Ramacher
f47775abf2
coding style
2011-12-11 19:30:36 +01:00
Sebastian Ramacher
45366ecadd
no need to manipulate scale while printing
2011-12-11 18:41:12 +01:00
Moritz Lipp
97cad5a7a4
Round values up when calculating width/height
2011-12-11 01:45:27 +01:00
Sebastian Ramacher
fa6bc5a2e8
set default values before loading the first config file
2011-12-11 00:19:46 +01:00
Sebastian Ramacher
864dc5bd1d
rotate in expose-event, not in render
2011-12-10 11:44:27 +01:00
Sebastian Ramacher
6c0a63943f
fix the zooming issue
2011-12-10 10:19:14 +01:00
Sebastian Ramacher
435727672c
Merge branch 'develop' of pwmt.org:zathura into develop
2011-12-09 22:18:12 +01:00
Sebastian Ramacher
2cb31a61ea
reuse GIRARA_UNUSED
2011-12-09 14:50:35 +01:00
Sebastian Ramacher
777e19baf4
const correctness
2011-12-09 14:48:16 +01:00
Sebastian Ramacher
1e40db7f55
Merge branch 'develop' of pwmt.org:zathura into develop
2011-12-08 21:25:29 +01:00
Moritz Lipp
5c71589c6f
Add some argument mappings
2011-12-06 11:21:48 +01:00
Sebastian Ramacher
90eb74102e
Merge branch 'develop' of pwmt.org:zathura into develop
2011-12-03 22:41:58 +01:00
Sebastian Ramacher
56efd1550e
use GIRARA_UNUSED
2011-11-25 11:56:21 +01:00
Sebastian Ramacher
31563e6fa6
need to use g_free here
2011-11-25 11:44:03 +01:00
Sebastian Ramacher
298daab365
don't loop indefinitly if a plugin directy doesn't exist
2011-11-22 18:57:09 +01:00
Sebastian Ramacher
d613fd41ac
don't use _from_fd variants
2011-11-21 16:40:26 +01:00
Sebastian Ramacher
f8f48dcc7d
adopt to latest girara changes
2011-11-20 11:32:34 +01:00
Sebastian Ramacher
8146ebdb3d
Fix 'format not a string literal' warnings
2011-11-19 17:14:02 +01:00
Sebastian Ramacher
1927622137
fix another 'format not a string literal and no format arguments' warning
2011-11-12 19:11:46 +01:00
Sebastian Ramacher
ed724cc03d
fix a 'format not a string literal and no format arguments' warning
2011-11-12 18:21:45 +01:00
Sebastian Ramacher
8386b3abf4
honor CPPFLAGS
2011-11-11 16:14:29 +01:00
Sebastian Ramacher
44360dea93
load config files from XDG_CONFIG_DIRS
2011-10-30 11:46:30 +01:00
Sebastian Ramacher
19c1b0195b
use girara_split_path_array and girara_list_merge
2011-10-29 22:58:02 +02:00
Moritz Lipp
133b127319
Skip '.' and '..'
2011-10-29 13:09:16 +02:00
Pavel Borzenkov
e3b80cb37f
'make uninstall' should remove /usr/include/zathura
...
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-28 23:42:49 +02:00
Moritz Lipp
ab60625531
Update sc_toggle_fullscreen
2011-10-26 20:46:59 +02:00
Moritz Lipp
5acf8da4de
Merge branch 'develop' of pwmt.org:zathura into develop
2011-10-24 10:51:09 +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
Pavel Borzenkov
0476dbe930
Fix build warnings
...
The patch fixes the following build warnings:
zathura.c: In function ‘prepare_document_open_from_stdin’:
zathura.c:306: warning: implicit declaration of function ‘close’
zathura.c:314: warning: implicit declaration of function ‘read’
zathura.c:316: warning: implicit declaration of function ‘write’
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-24 08:09:24 +02:00
Sebastian Ramacher
d18f255bc0
use girara_list_find
2011-10-23 20:18:44 +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
49b682e0a8
duplicate the string for stdin support
2011-10-23 17:34:10 +02:00
Sebastian Ramacher
911d84c908
update includes due to girara restructuring
2011-10-23 17:01:15 +02:00
Moritz Lipp
98cc73d3e4
Added cmd_search
2011-10-22 16:35:38 +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
cd842a8f48
Don't break backwards compatibility of the settings names
2011-10-21 15:37:59 +02:00
Sebastian Ramacher
d31a350f23
readd scroll-step
2011-10-21 15:34:06 +02:00
Sebastian Ramacher
7a5dd056fd
g_free return values of girara_setting_get
2011-10-21 15:32:50 +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
Sebastian Ramacher
98a1d2bc95
Reimplment 'load from stdin'
2011-10-21 15:00:22 +02:00
Sebastian Ramacher
27f275dd66
use g_malloc0 for zathura_document_info_t
2011-10-21 14:11:37 +02:00
Pavel Borzenkov
9dd8067873
Make sure we don't pass garbage to g_mutex_free()
...
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-20 18:28:22 +02:00
Pavel Borzenkov
8608823613
Get file info earlier
...
We need to know the document's 'scale' value earlier (before cairo
surfaces are created). Otherwise, cairo surfaces will be re-created and
wrong page will be rendered (since zoom doesn't preserve page number).
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-20 18:28:12 +02:00
Pavel Borzenkov
88be07272f
There is no need to check return value of g_malloc()
...
It never returns NULL. If this function fails, the application is
terminated.
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-20 18:27:56 +02:00