Commit graph

2042 commits

Author SHA1 Message Date
Sebastian Ramacher
d895ad32a1 White spaces
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-12-06 20:23:18 +01:00
Sebastian Ramacher
73e8eedc35 Remove unused parameter
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-12-06 19:12:51 +01:00
Sebastian Ramacher
a4619843d7 Advertise URL support
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-12-06 19:06:50 +01:00
Sebastian Ramacher
3d14894549 Revert parts of c3337bdd80
We still need a copy for the plugins.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-12-06 17:38:14 +01:00
Sebastian Ramacher
c3337bdd80 Also handle file:// URIs
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-12-06 13:51:49 +01:00
Sebastian Ramacher
bf73069d14 Merge branch 'carrotIndustries/zathura-features/gio-download' into develop 2015-12-05 12:57:17 +01:00
Lukas K
1de8e2a568 add gio download 2015-12-02 22:56:47 +01:00
Sebastian Ramacher
b64a5ce4bb Update appdata
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-30 18:19:23 +01:00
Sebastian Ramacher
e10cf0eaf3 Add viewer to Keywords 2015-11-24 01:22:47 +01:00
Sebastian Ramacher
5f11103a48 Use %F as opening multiple files is supported
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-24 01:22:41 +01:00
Sebastian Ramacher
b5df57c1e1 Use fork to start other instances
This should help with #472 when multiple files are opened.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-24 01:03:38 +01:00
Sebastian Ramacher
12f57fb76a Refactor
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-24 00:47:18 +01:00
Sebastian Ramacher
ba72d40fbd Initialize GTK+ as late as possible (fixes #471)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-24 00:34:55 +01:00
Sebastian Ramacher
96597253c8 Error messages if setsid or fork fail
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-23 23:55:45 +01:00
Sebastian Ramacher
32ad46441c CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-23 23:28:45 +01:00
Sebastian Ramacher
138230c3cc Fix error checking
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-23 23:16:14 +01:00
Sebastian Ramacher
a3d676b96b Document GTK+ requirements
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-23 22:22:10 +01:00
Sebastian Ramacher
b2189277bb Use g_strv_length
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-20 15:21:21 +01:00
Sebastian Ramacher
d7b06ca3fc Require GTK+ 3.6
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-20 15:07:18 +01:00
Sebastian Ramacher
ff976d4854 Error handling 2015-11-20 14:57:47 +01:00
Sebastian Ramacher
7f38470a9e Fix another invalid free
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-13 00:29:35 +01:00
Sebastian Ramacher
4a1852b02c Move static variables to zathura instance
Fixes another memory leak.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-12 23:32:59 +01:00
Sebastian Ramacher
4f6bd04f23 Move MIN and MAX
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-12 23:15:45 +01:00
Sebastian Ramacher
108533804b Same consts
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-12 23:14:25 +01:00
Sebastian Ramacher
596262bb43 Fix invalid free
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-12 22:54:21 +01:00
Sebastian Ramacher
876d35de94 Fix memory leak
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-12 22:32:36 +01:00
Sebastian Ramacher
599e61ccf1 Use g_strlcat
It has a sane API.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-12 22:28:52 +01:00
Sebastian Ramacher
43244a67d2 Merge remote-tracking branch 'haggl/feature/toggle_page_mode_improvement' into develop 2015-11-12 22:15:18 +01:00
Sebastian Neuser
bab767fb2c Update documentation on first-page-column 2015-11-12 16:42:15 +01:00
Sebastian Neuser
a9aa7e4ad2 Implement first page column list 2015-11-12 16:42:15 +01:00
Sebastian Neuser
7e2a18f7a8 Change type of first-page-column to char* / TEXT 2015-11-12 16:42:14 +01:00
Sebastian Neuser
924b7e0e60 shortcuts.c: Fix code comments 2015-11-12 15:08:06 +01:00
Sebastian Ramacher
28d186c8bd Remove unused imports
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-11 21:31:34 +01:00
Sebastian Ramacher
229ff0ad9a Remove some extra allocations
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-11 21:26:56 +01:00
Sebastian Ramacher
2695a53bfc CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-11 21:08:53 +01:00
Sebastian Ramacher
40e5019276 Fix makefile dependencies
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-22 19:30:35 +02:00
Sebastian Ramacher
6d1e916a4f Fix argument
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-20 22:01:51 +02:00
Sebastian Ramacher
1b3ff76dfd Update translations
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-15 23:10:09 +02:00
Sebastian Ramacher
f41fc252bd Open password dialog after handling current input (fixes #468)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-15 22:47:08 +02:00
Sebastian Ramacher
63e477fd41 Fix mutex clean up
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-11 22:28:09 +02:00
Sebastian Ramacher
083520cea6 Remove compat code for pre-2.32 glib
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-08 21:41:24 +02:00
Sebastian Ramacher
359fc9a6f2 Update comment
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-08 21:36:48 +02:00
Sebastian Ramacher
321e27eaaa Update README
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-08 21:28:41 +02:00
Sebastian Ramacher
5c60ce4156 Get rid of embedded copy of libsynctex
TeXLive 2015 including libsynctex is out long enough.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-08 21:26:22 +02:00
Sebastian Ramacher
66b9870d76 Pass arguments to spawned processes (fixes #504)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-08 00:05:16 +02:00
Sebastian Ramacher
1652c2aab3 Auto start instance if --synctex-forward is passed but no instance exists 2015-10-07 22:55:35 +02:00
Sebastian Ramacher
264aaed0bd Factor out highlight_rects
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-07 22:55:35 +02:00
Sebastian Ramacher
0ab1147543 Factor out SyncTeX string parsing
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-07 22:53:48 +02:00
Sebastian Ramacher
80582c9079 Check return value 2015-10-07 21:33:51 +02:00
Sebastian Ramacher
08b341d4f8 Use correct type
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-07 21:11:39 +02:00