Commit Graph

2264 Commits

Author SHA1 Message Date
Sebastian Ramacher
d5fb34dc97 Add translations for nl 2018-02-25 17:56:48 +01:00
Sebastian Ramacher
96d3561fc9 Remove deprecated scale
All plugins have been fixed.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-25 11:10:22 +01:00
Sebastian Ramacher
2106afb933 Extend building instructions
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-25 10:48:09 +01:00
Sebastian Ramacher
f82162a5ca Mark scale as deprecated
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-23 16:34:05 +01:00
Sebastian Ramacher
2f1938694e Merge remote-tracking branch 'knuesel/feature/physical-size' into develop 2018-02-23 16:32:05 +01:00
Jeremie Knuesel
f1ebe9e5d5 Merge remote-tracking branch 'upstream/develop' into feature/physical-size 2018-02-23 15:47:52 +01:00
Jeremie Knuesel
063b234a2a Listen on configure event for PPI changes
This allows detection of a PPI change due to the window moving to
another monitor
2018-02-23 15:33:23 +01:00
Jeremie Knuesel
8e3f056121 If new PPI is significantly different, yes render and refresh 2018-02-23 15:26:43 +01:00
Jeremie Knuesel
1e170f0cab Indentation fix 2018-02-23 15:02:06 +01:00
Sebastian Ramacher
dfc31a3fe1 Use zathura-version.h (fixes #708)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-21 11:34:37 +01:00
Sebastian Ramacher
278eeb2077 Make nohlsearch shortcut available
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-20 23:26:53 +01:00
Sebastian Ramacher
9dde3d9d61 Implement nohlsearch shortcut
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-20 23:26:38 +01:00
Sebastian Ramacher
d3e06883f1 Include girara build and runtime version
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-20 23:18:30 +01:00
Sebastian Ramacher
1348a46633 Update build instructions
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-20 22:41:58 +01:00
Sebastian Ramacher
38d3608908 Clean up 2018-02-20 21:43:31 +01:00
Sebastian Ramacher
102325a41e Generate version.h as zathura-version.h
This avoid confusions between girara's and zathura's version.h.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-20 21:42:43 +01:00
Sebastian Ramacher
f037679776 Merge branch 'feature/meson' into develop 2018-02-20 20:24:34 +01:00
Jeremie Knuesel
af90d4050d Store monitors-changed handler for disconnection 2018-02-16 16:42:33 +01:00
Jeremie Knuesel
8b93be9471 Add scale/zoom union in link target
scale is now deprecated and plugins should use zoom instead
2018-02-15 18:07:20 +01:00
Sebastian Ramacher
a230bcced0 Remove empty line
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-15 12:09:03 +01:00
Sebastian Ramacher
bfdd4be4b2 Avoid explicit iterator
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-15 12:09:03 +01:00
Sebastian Ramacher
324d88100d Mark functions as const 2018-02-15 12:09:03 +01:00
Jeremie Knuesel
09d8a37c8e Add zoom column to sqlite database if missing 2018-02-13 20:00:56 +01:00
Jeremie Knuesel
4f3837c372 Remove Cairo 1.14 version checks
They're no longer needed since GTK+ 3.22 depends on Cairo >= 1.14
2018-02-12 15:18:18 +01:00
Jeremie Knuesel
1a12214a8c Bump GTK+ to 3.22 2018-02-12 14:50:14 +01:00
Jeremie Knuesel
f6dd3682a8 Fix compilation for GTK+ < 3.22 2018-02-12 11:16:49 +01:00
Jeremie Knuesel
55055758fa Assume PPI=100 (typical value) if info unavailable 2018-02-12 11:16:49 +01:00
Jeremie Knuesel
b4eca29d3a Replace monitor "dpi" with "ppi"
This should avoid some confusion with the font DPI
2018-02-12 11:16:49 +01:00
Jeremie Knuesel
d625c0d9bd Distinguish zoom and scale, always apply DPI correction on scale
Replace scale with zoom in most cases. Scale means pixels per point, as
before. The zoom is the screen-size / document-size ratio: a zoom of 1
means that the document should have the same size on screen as on paper.

This fixes many issues with the previous DPI changes, e.g. with link and
search rectangles.
2018-02-12 11:15:03 +01:00
Jeremie Knuesel
9bfefaf905 Check GTK+ version for monitor methods 2018-02-11 15:13:01 +01:00
Jeremie Knuesel
250547cabd Use DPI to scale documents to physical size 2018-02-11 15:11:43 +01:00
Jeremie Knuesel
fc5a344dc1 Use signals to detect DPI change 2018-02-11 15:11:43 +01:00
Jeremie Knuesel
553a8ff428 Store monitor DPI in document structure 2018-02-11 15:11:37 +01:00
Jeremie Knuesel
ff679a310b Comment fixes 2018-02-11 15:00:47 +01:00
Sebastian Ramacher
94bf91d830 Bump plugin API and ABI version
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-10 21:39:50 +01:00
Sebastian Ramacher
531ee53b1a Bump plugin API and ABI version
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-10 21:39:12 +01:00
Sebastian Ramacher
68ebb6f139 Debug output for content type mapping
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-10 21:13:30 +01:00
Sebastian Ramacher
4ea9d46584 Convert all MIME types to glib "content" types
On Linux they are the same, but somewhere else they might be different.
2018-02-10 21:09:22 +01:00
Sebastian Ramacher
14a867f080 Fix installign of manpages 2018-02-10 14:15:57 +01:00
Sebastian Ramacher
21a9aed968 Fix return type 2018-02-10 13:31:13 +01:00
Sebastian Ramacher
b777e8487c Remove extra defines 2018-02-10 13:31:06 +01:00
Sebastian Ramacher
85458ef87e Convert to meson based build system 2018-02-10 13:27:45 +01:00
Sebastian Ramacher
49e1bd1b8c Use consistent debug messages
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-08 21:36:54 +01:00
Sebastian Ramacher
a0a07be99d Avoid explicit iterator
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-08 21:23:47 +01:00
Sebastian Ramacher
eb5c7079d2 Remove useless cast
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-08 21:16:06 +01:00
Sebastian Ramacher
821dc79117 Re-factor plugin loading
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-08 21:14:08 +01:00
Sebastian Ramacher
b1d9862b0e Run update-po 2018-02-04 10:51:35 +01:00
Sebastian Ramacher
c46fc2a5ba Remove extra new lines 2018-02-04 10:47:41 +01:00
Sebastian Ramacher
cb887221e1 Drop register function
Do not forget to bump ZATHURA_ABI_VERSION before the next release.
2018-02-03 14:28:35 +01:00
Sebastian Ramacher
53abbdf250 Update years
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-03 14:25:14 +01:00