Commit graph

1997 commits

Author SHA1 Message Date
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
Sidharth Kapur
7c3417bbe9 Remove unnecessary retrieval of settings 2015-10-01 17:12:04 -05:00
Sidharth Kapur
0c81a47eff Use tilde-substitution in page number update 2015-10-01 17:10:47 -05:00
Sidharth Kapur
f1f65664da Add feature to show ~ instead of $HOME in title 2015-10-01 16:55:07 -05:00
Sebastian Ramacher
7da7bcb4c1 Do not display recent files if there aren't any
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-07-26 23:38:10 +02:00
Sebastian Ramacher
5d490f6895 Fix sorting 2015-07-26 23:35:23 +02:00
Sebastian Ramacher
4f3b1b257b Make show-recent both an option to show recent files and the maximum number to be shown
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-07-26 23:19:22 +02:00
Sebastian Ramacher
4e5ae52bc5 Display recent files in completion (fixes #490)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-07-24 17:25:57 +02:00
Sebastian Ramacher
83fe96e814 Implement recent files 2015-07-24 17:20:17 +02:00
Sebastian Ramacher
6db534caea Implement recent files support
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-07-24 17:19:58 +02:00
Sebastian Ramacher
47cd9b1895 List recent files
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-07-24 16:35:51 +02:00
Matthew hague
1cd609d33b added bindings for ctrl-[/ctrl-c/esc and ctrl-j in index view
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-07-21 19:53:54 +02:00
Sebastian Ramacher
7b947cc7e8 Use LFS everywhere
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-07-12 21:03:32 +02:00
Sebastian Ramacher
e7dce3e6d1 Merge remote-tracking branch 'haggl/feature/quit-in-index-mode' into develop 2015-05-08 18:36:31 +02:00
Sebastian Neuser
3c5e9e67ed config.c: Add quit shortcut for index mode 2015-05-08 13:09:54 +02:00
Sebastian Neuser
e4281c159c Fix .gitignore: Ignore the build directory instead of binaries 2015-05-08 13:09:10 +02:00
MicheleSr
303277124b replaced deprecated gdk_cursor_new()
replaced with gdk_cursor_new_for_display()
2015-04-28 23:32:50 +02:00
Moritz Lipp
4d57751b23 Build with c11 standard 2015-04-14 23:28:36 +02:00
Moritz Lipp
c2b6cbe8ce Merge tag '0.3.3' into develop
Version 0.3.3
2015-04-13 22:54:36 +02:00
Moritz Lipp
d9e74bb152 Merge branch 'release/0.3.3' 2015-04-13 22:54:30 +02:00
Moritz Lipp
c6e7be982e Version 0.3.3 2015-04-13 22:54:22 +02:00
Sebastian Ramacher
d284bb6942 Update po
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-04-13 19:52:44 +02:00
Sebastian Ramacher
0ed98dd959 Allow .dylib plugins on Mac OS X
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-04-10 16:03:49 +02:00
Sebastian Ramacher
9d1b58a4d9 Introduce PKG_CONFIG 2015-04-10 15:51:50 +02:00
Philipp Ittershagen
427df9fc49 Use DESTDIR in po files uninstall recipe.
Signed-off-by: Philipp Ittershagen <pit@shgn.de>
2015-03-23 14:18:45 +01:00
Lingzhu Xiang
c17c54c4a0 Fix dual page render breakge of adjust_window
When the page is set to adjust width to the window,
toggling dual page mode would break rendering because
sc_toggle_page_mode() did not update dimensions.
2015-02-05 17:37:40 -05:00
Sebastian Ramacher
12a9bf93ae Demote info message to debug
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-01-20 21:43:47 +01:00
Moritz Lipp
676005ad99 Merge branch 'develop' of pwmt.org:zathura into develop 2015-01-20 21:38:10 +01:00
Moritz Lipp
cfc0c2aa7d Don't free content_type before setting error message 2015-01-20 21:37:04 +01:00
Callum Burns
24c59c98de Fixed typo and changed warning to debug 2015-01-13 21:53:07 +00:00