Commit Graph

2424 Commits

Author SHA1 Message Date
Sebastian Ramacher
11d2239d19 Convert to desktop-application 2018-02-25 19:54:12 +01:00
Sebastian Ramacher
c02652dff0 Update copyright years 2018-02-25 19:50:39 +01:00
Sebastian Ramacher
49b55d648b Validate desktop file 2018-02-25 19:49:08 +01:00
Sebastian Ramacher
c239e84ddb IDs are supposed to follow reverse DNS 2018-02-25 19:48:52 +01:00
Sebastian Ramacher
2f98ecde0d Translate desktop file via i18n infrastructure 2018-02-25 18:39:03 +01:00
Sebastian Ramacher
354dfc35a6 Run update-po
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2018-02-25 17:57:05 +01:00
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
valoq
3f983e7ae2
added sandbox options to zathurarc 2018-02-22 14:28:22 +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
valoq
c0bdd41630
fixed read only mode 2018-02-20 12:19:07 +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