Commit graph

897 commits

Author SHA1 Message Date
Moritz Lipp
85290d1463 Coding standard 2012-01-22 12:30:25 +01:00
Sebastian Ramacher
a284f75ce9 use girara_xdg_open 2012-01-21 22:03:08 +01:00
Moritz Lipp
c63f033412 Fix typo 2012-01-20 14:58:19 +01:00
Moritz Lipp
3311038681 Begin to draw sc_follow results 2012-01-19 00:49:08 +01:00
Moritz Lipp
8ce61ed633 Implement recalc_rectangle
This function should be used to recalculate the coordinates of
a rectangle to its new coordinates on the rendered page
(depending on the current scale and rotation value)
2012-01-19 00:37:58 +01:00
Sebastian Ramacher
9ae81c0000 need G_SPAWN_SEARCH_PATH here 2012-01-13 19:35:38 +01:00
Sebastian Ramacher
daf418bbb7 open external links with xdg-open 2012-01-13 19:33:37 +01:00
Sebastian Ramacher
82525556a3 implement :export 2012-01-13 18:54:09 +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
58e25e8733 sort files in :open 2012-01-13 18:00:12 +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
Moritz Lipp
6d1240d796 Evaluate number of calls in sc_navigate 2012-01-11 16:38:50 +01:00
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