Commit Graph

2048 Commits

Author SHA1 Message Date
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
Sebastian Ramacher
7721b237e4 Remove code duplication 2014-09-07 18:48:50 +02:00
Moritz Lipp
edae973baa Check if plugin file ends with .so 2014-09-05 09:21:07 +02:00
Moritz Lipp
1608249709 Update visible pages after opening the file 2014-09-04 00:42:46 +02:00
Sebastian Ramacher
caa27db95d Add a note about the D-Bus signal 2014-08-22 20:43:57 +02:00
Sebastian Ramacher
fca4d040a4 Move synctex logic away from ZathuraPage
Also emit the D-Bus signal
2014-08-22 20:42:33 +02:00
Sebastian Ramacher
c82bc2f0d4 Add Edit signal 2014-08-22 20:09:32 +02:00
Sebastian Ramacher
fd13cf5921 Add synctex_get_input_line_column 2014-08-22 20:09:18 +02:00
Sebastian Ramacher
d0bb3b8983 Test your commits before you push
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-08-21 00:33:01 +02:00
Sebastian Ramacher
9e1166c911 Update AUTHORS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-08-20 23:55:28 +02:00
Sebastian Ramacher
fdff7076b7 Use event.x and event.y
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-08-20 23:54:52 +02:00
Sebastian Ramacher
7a997ef88f Merge remote-tracking branch 'projedi/smooth-scroll' into develop 2014-08-20 23:45:31 +02:00