Commit graph

2059 commits

Author SHA1 Message Date
Moritz Lipp
d79c2ba5a5 Do not additionally reference PageWidget while removing from table 2014-11-07 14:24:46 +01:00
Moritz Lipp
b869d8ad1d Free jumplist string from g_key_file_get_string 2014-11-07 13:20:47 +01:00
Moritz Lipp
7b9097ec80 Update .gitignore 2014-11-06 19:47:15 +01:00
Moritz Lipp
c7c7b88289 Update po/de.po file 2014-11-06 19:42:43 +01:00
Lucas Hoffmann
2ecf23431b Fix typo in synopsis in man page. 2014-11-01 12:19:55 +01:00
Sebastian Ramacher
9d5ab75a55 Merge remote-tracking branch 'xlz/develop' into develop 2014-10-29 20:59:10 +01:00
Sebastian Ramacher
6292b5c5c5 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-29 00:06:22 +01:00
Lingzhu Xiang
f9b4a12208 Make thumbnail maximum size configurable 2014-10-28 18:11:52 -04:00
Lingzhu Xiang
25e88a114a Penalize large render jobs during zooming
All but the last jobs during zooming are aborted, so let smaller
jobs go faster.
2014-10-28 16:32:26 -04:00
Lingzhu Xiang
757f3d8257 Avoid large amount of scaling for pages at low zoom level 2014-10-28 03:46:20 -04:00
Lingzhu Xiang
b0c068f3cb Check memory allocation 2014-10-28 03:44:26 -04:00
Sebastian Ramacher
2205156738 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-27 21:18:28 +01:00
Sebastian Ramacher
9929d34a76 Do not adjust scale if given scale is not positive
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-27 17:49:05 +01:00
Sebastian Ramacher
e0753ce954 Move input validation back to document_open
Re-setting scale back to 1 does not make sense if the change to scale comes from
zooming in zathura.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-27 17:09:57 +01:00
Moritz Lipp
48183d6717 Correct the given scale value 2014-10-27 11:55:21 +01:00
Sebastian Ramacher
42c1780aef CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-26 21:32:20 +01:00
Sebastian Ramacher
70482cc08f Add Lingzhu Xiang to AUTHORS 2014-10-26 21:29:46 +01:00
Lingzhu Xiang
4d948fbfb6 Cache thumbnails to support smooth zooming 2014-10-26 16:13:59 -04:00
Lingzhu Xiang
3e61e14fe3 Do not refresh if the zoom level does not change 2014-10-26 08:17:47 -04:00
Sebastian Ramacher
15838abf56 Only enable reparent if we have X11
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-24 19:44:20 +02:00
Sebastian Ramacher
1acb8ceb53 Fix documentation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-23 17:37:05 +02:00
Moritz Lipp
cea37334ce Additional check for event null pointer in sc_zoom 2014-10-23 12:48:34 +02:00
Moritz Lipp
9712257b62 Pass event to sc_mouse_zoom to prevent SIGSEGV 2014-10-23 12:39:20 +02:00
Moritz Lipp
6f64f459a0 Merge tag '0.3.1' into develop
Version 0.3.1
2014-10-22 22:08:22 +02:00
Moritz Lipp
00f90abb3d Merge branch 'release/0.3.1' 2014-10-22 22:08:16 +02:00
Moritz Lipp
a567383e52 Version 0.3.1 2014-10-22 22:08:12 +02:00
Sebastian Ramacher
93edb66fef Some documentation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-21 21:20:29 +02:00
Sebastian Ramacher
d2a1a2d6d0 Adjust for different indices in SyncTex
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-21 21:17:59 +02:00
Sebastian Ramacher
71d9f6a546 Use SynctexView for --synctex-forward
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-21 21:12:23 +02:00
Sebastian Ramacher
d5941a6f14 Add SynctaxView method
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-21 20:57:12 +02:00
Moritz Lipp
44480523ac Pass actual event instead of NULL pointer to sc_scroll 2014-10-21 18:03:24 +02:00
Moritz Lipp
75868a55f3 Pass actual event instead of NULL pointer to sc_scroll 2014-10-21 17:51:20 +02:00
Moritz Lipp
51acd4c9af Merge tag '0.3.0' into develop
Version 0.3.0
2014-10-16 23:58:25 +02:00
Moritz Lipp
98c8ceab2b Merge branch 'release/0.3.0' 2014-10-16 23:58:19 +02:00
Moritz Lipp
74d67de55d Version 0.3.0 2014-10-16 23:58:12 +02:00
Moritz Lipp
9ee079bd34 Use _DEFAULT_SOURCE instead of deprecated _BSD_SOURCE 2014-10-16 23:56:41 +02:00
Sebastian Ramacher
e70d346288 Run update-po
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-10-08 15:39:45 +02:00
Sebastian Ramacher
afae19f633 Update documentation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-09-30 19:48:51 +02:00
Sebastian Ramacher
9a06b5f61e Add option to ignore images while recoloring
Ideally we would handle this differently. See the TODO entry in the render
function. But the patch is a start.

Thanks to carlos for the patch.

Closes: #398

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-09-30 19:45:07 +02:00
Sebastian Ramacher
50ea97468c Add AppData file
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-09-29 14:44:12 +02:00
Sebastian Ramacher
d24dac5d29 Update synctex_parser copy
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-09-29 14:22:47 +02:00
Sebastian Ramacher
3f5568f631 Get rid of page_widget_alignment
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-09-27 02:19:38 +02:00
Sebastian Ramacher
d911d8c393 Replace deprecatec GtkAlignment
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-09-27 02:07:53 +02:00
Sebastian Ramacher
bf8c95ecd6 Remove two casts
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-09-27 01:41:35 +02:00
Sebastian Ramacher
9a403458fe Add vim style exec
Thanks to bashseb for the patch.

Closes: #423

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-09-27 01:37:31 +02:00
Moritz Lipp
735b31e2a5 Prevent double-free in zathura_document_free 2014-09-09 17:28:10 +02:00
Sebastian Ramacher
2ddb04d4ab Merge branch 'develop' of pwmt.org:zathura into develop 2014-09-07 19:16:57 +02:00
Sebastian Ramacher
1ae4eda5b2 Print a warning if loading plugins failed. 2014-09-07 19:12:41 +02:00
Sebastian Ramacher
d9152a03fa Remove unnecessary check 2014-09-07 19:12:16 +02:00
Sebastian Ramacher
c69ce573de Fix broken check 2014-09-07 19:10:54 +02:00