Commit Graph

1976 Commits

Author SHA1 Message Date
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
Sebastian Ramacher
fdd843e116 Fix memory leak
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-07 20:48:34 +02:00
Sebastian Ramacher
ce7f53e5e9 Some clean up
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-07 20:22:15 +02:00
Sebastian Ramacher
013ac1f4b4 Fix a memory leak
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-07 20:18:33 +02:00
Sebastian Ramacher
05c44474d1 Simplify code a bit 2015-10-07 20:10:40 +02:00
Sebastian Ramacher
6a676cc5b5 Make get_formatted_filename static
It's only used in zathura.c

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-07 20:10:32 +02:00
Sebastian Ramacher
075924d108 Merge remote-tracking branch 'sid-kap/substitute_home_with_tilde' into develop 2015-10-07 20:06:52 +02:00
Sidharth Kapur
2b73bfb6bd Use more glib functions
Also, check file_path_len >= home_len
2015-10-06 23:31:15 -05:00
Sebastian Ramacher
5ca5264dd9 Fix grammar
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-06 23:00:20 +02:00
Sebastian Ramacher
5aa3fa952b Detect if -fdiagnostics-color is available
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-06 22:02:51 +02:00
Sidharth Kapur
1bc5a64dcd Remove unnecessary space in zathurarc.5.rst 2015-10-05 16:41:38 -05:00
Sidharth Kapur
93531c3eff Use g_strdup instead of malloc+strcpy 2015-10-05 15:59:31 -05:00
Sidharth Kapur
8bc9aa8af7 Fix memory leak, use girara_get_home_directory 2015-10-05 15:49:04 -05:00
Sebastian Ramacher
f9d1d89bd4 Use the widget's display
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-05 21:14:54 +02:00
Sidharth Kapur
7991618d25 Implement tilde feature for statusbar as well 2015-10-05 10:37:25 -05:00
Sidharth Kapur
1be84c6c3b Use glib malloc instead of malloc 2015-10-05 10:21:54 -05:00
Sidharth Kapur
c0306b8706 Update manpage 2015-10-05 10:17:49 -05:00