Commit graph

2353 commits

Author SHA1 Message Date
Jeremie Knuesel
76e5f7dc7a Fix display of link hint
The link hint was truncated when the link rectangle was too small to
contain in. With this commit the link hint area is also redrawn.
2018-01-26 14:05:33 +01:00
Jeremie Knuesel
bab38fc636 Fix setting of link font 2018-01-26 14:03:37 +01:00
Sebastian Ramacher
c72e02d65d Merge remote-tracking branch 'knuesel/feature/hidpi' into develop 2018-01-25 13:39:31 +01:00
Jeremie Knuesel
a7f42769c6 Fix GTK+ version in README, other minor fixes
Minor fixes include a rewording of "user size" to "unscaled size": Cairo
has user units, (unscaled) device units and (scaled) device pixels.
2018-01-25 08:40:54 +01:00
Sebastian Ramacher
19645cf608 Merge branch 'knuesel/zathura-feature/hidpi' into develop 2018-01-24 22:16:21 +01:00
Jeremie Knuesel
9752b8f03b HiDPI: fix initial-zooming artifact 2018-01-24 21:48:20 +01:00
Jeremie Knuesel
4e9f8a7b1d HiDPI: refactor handling of device scale factors
The document scale factors are now guaranteed to be non-zero.

A new Cairo helper function get_safe_device_factors() and a type
zathura_device_factors_t are introduced to simplify the code and avoid
some #ifdef blocks.
2018-01-24 21:48:20 +01:00
Jeremie Knuesel
9cf3239708 HiDPI: zero check using DBL_EPSILON 2018-01-23 22:38:45 +01:00
Jeremie Knuesel
e0cf06ff05 Remove HAVE_HIDPI_SUPPORT
One can simply check the Cairo version now that GTK+ has been bumped to
3.10.
2018-01-23 22:22:40 +01:00
Jeremie Knuesel
29b6e45c02 Bump GTK+ to 3.10 2018-01-23 22:19:02 +01:00
Jeremie Knuesel
e487df053d HiDPI: use original notify callback signature 2018-01-23 21:55:12 +01:00
Jeremie Knuesel
7f4acdb0f4 HiDPI: fix thumbnail scaling 2018-01-23 11:34:22 +01:00
Jeremie Knuesel
36d9ece978 HiDPI: add preprocessor conditionals 2018-01-23 10:23:01 +01:00
Jeremie Knuesel
5fa4b8907e HiDPI: watch GtkWidget scale-factor property
The scale-factor property is more specific than the GDK configure event
and is the recommended way to watch for scale factor changes.
2018-01-23 09:17:01 +01:00
Jeremie Knuesel
b5d0b28bb9 Implement support for HiDPI displays 2018-01-22 22:51:36 +01:00
qwence
51f4bba5f5 Cases for vertical_center were swapped 2018-01-03 20:38:38 +01:00
valoq
4bde3d793f
seccomp implementation 2017-12-30 13:46:07 +01:00
Sebastian Ramacher
1d67949b32 Improve synctex documentation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-12-21 15:24:25 +01:00
Sebastian Ramacher
98cbbb6dab Merge branch 'master' into develop 2017-12-21 15:13:17 +01:00
Sebastian Ramacher
fc01105da5 Merge tag '0.3.8' into develop
Version 0.3.8
2017-12-20 14:41:29 +01:00
Sebastian Ramacher
3093c7955e Merge branch 'release/0.3.8' 2017-12-20 14:41:20 +01:00
Sebastian Ramacher
e79f61f3d9 Version 0.3.8 2017-12-20 14:40:45 +01:00
Sebastian Ramacher
5e5efe6066 Bump girara version requirement
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-12-19 02:32:33 +01:00
Sebastian Ramacher
9cd6353cf8 Save some allocations
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-12-09 11:35:01 +01:00
Sebastian Ramacher
9514ee4e9e Make blist without arguments list all bookmarks (fixes #697)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-12-09 11:25:13 +01:00
Moritz Lipp
28337773ec Escape document index titles
Fixes #692
2017-10-30 15:57:19 +01:00
Sebastian Ramacher
f6e0eb9703 Fix AppStream data path
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-09-26 02:12:26 +02:00
Sebastian Ramacher
63a872aaee Fix translation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-09-12 10:46:42 +02:00
Sebastian Ramacher
93775267fc Display notification after copying image
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-09-12 10:41:12 +02:00
Sebastian Ramacher
a020da7049 Mention synctex support in sublime
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-08-28 15:13:06 +02:00
Sebastian Ramacher
03c02bbc97 Check versions first
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-08-13 18:23:17 +02:00
Sebastian Ramacher
0fb57ad15c Include interface specification in resource
This commit essentially reverts
4ee323a89a. We now duplicate the data
again, but loading the interface specification from somewhere else does
not make much sense, since the specification must match the actually
implemented interface.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-07-08 12:28:49 +02:00
Sebastian Ramacher
e28598a07d Rename resources
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-07-08 12:19:05 +02:00
Sebastian Ramacher
66805ec2eb Query pkg-config only once for libs and cflags
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-07-02 19:09:34 +02:00
Sebastian Ramacher
1bf887edc5 Simplify 2017-06-30 20:24:32 +02:00
Sebastian Ramacher
30f5779828 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-30 20:24:32 +02:00
Sebastian Ramacher
4c1cb6414d Update German translation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-25 21:59:00 +02:00
Arkadiusz Drabczyk
7cf66fb685 Generate error when search fails
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-25 21:56:08 +02:00
Sebastian Ramacher
903548b902 Cast to correct type
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-20 21:31:31 +02:00
Sebastian Ramacher
e597921125 Fix placing of break
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-20 21:29:23 +02:00
Sebastian Ramacher
06aab5d3e6 Update German translation 2017-06-14 22:05:07 +02:00
Sebastian Ramacher
fa5e28732a Add translated comment 2017-06-14 21:59:03 +02:00
Sebastian Ramacher
08174fc2cd Run update-po 2017-06-14 21:54:17 +02:00
Sebastian Ramacher
9adb456fd7 Bump to next glib stable release
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-13 22:07:24 +02:00
Arkadiusz Drabczyk
0549059e54 Update required glib version
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-13 22:04:38 +02:00
Sebastian Ramacher
a3115e2c92 Clean up
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-13 19:48:28 +02:00
Sebastian Ramacher
801a28cdf4 Move mappings to girara
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-08 22:14:00 +02:00
Sebastian Ramacher
5a106c56f4 Also replace $FILE and % in shortcut
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-07 19:14:14 +02:00
Sebastian Ramacher
b4c87e05aa CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-07 18:50:56 +02:00
Sebastian Ramacher
4147fd0913 Document exec shortcut
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2017-06-07 14:11:56 +02:00