Commit graph

1844 commits

Author SHA1 Message Date
Sebastian Ramacher
8d2e331b1a Fix up some types
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-10 18:53:21 +01:00
Sebastian Ramacher
bacdc19d23 Implement G and gg for index mode
Closes: #52

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-10 17:46:22 +01:00
Sebastian Ramacher
dbe5f7429a One more check
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-10 16:11:43 +01:00
Sebastian Ramacher
c575fe5f83 Use strtok_r instead of strtok
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-10 16:07:03 +01:00
Sebastian Ramacher
2c02dd97e6 Use g_key_file_* to set/get doubles
And use locale-independent functions everywhere else.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-10 15:49:24 +01:00
Sebastian Ramacher
96914d635c Document toggle and select
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-10 14:55:38 +01:00
Sebastian Ramacher
f504da0dd1 Implement TOGGLE for sc_navigate_index
Closes: #396

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-10 14:52:51 +01:00
Sebastian Ramacher
f41d372f75 Add mapping for SELECT
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-10 14:52:07 +01:00
Sebastian Ramacher
69e3851522 Merge branch 'feature/presentation-mode' of pwmt.org:zathura into feature/presentation-mode 2014-01-09 21:55:40 +01:00
Moritz Lipp
43aca4cb36 Add missing zoom key bindings 2014-01-09 21:39:16 +01:00
Sebastian Ramacher
5bdbebab7d Merge branch 'develop' into feature/presentation-mode
Conflicts:
	config.c
2014-01-09 17:16:56 +01:00
Sebastian Ramacher
40fe7cdd9e Some typos
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-07 03:43:38 +01:00
Sebastian Ramacher
68b665a49d Move config file loading to config.c 2014-01-06 16:02:58 +01:00
Sebastian Ramacher
4350053956 Some clean up
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-06 15:48:16 +01:00
Sebastian Ramacher
7b9fd65ce6 A const
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-06 15:34:03 +01:00
Sebastian Ramacher
5d2666daf5 Move file based detection into separate function 2014-01-06 01:18:56 +01:00
Sebastian Ramacher
ecf090b9b1 Split guess_type methods into separate functions
Also don't try to run file if we have libmagic available.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-05 23:40:37 +01:00
Sebastian Ramacher
250c575f44 CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-05 23:05:43 +01:00
Sebastian Ramacher
dcc2e9f736 Remove obsolete tests 2014-01-05 22:29:30 +01:00
Sebastian Ramacher
6599b921a3 Remove more unused functions
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-05 22:21:50 +01:00
Sebastian Ramacher
3a0fe29336 Remove unused execute_command
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-05 22:06:44 +01:00
Sebastian Ramacher
fcbc9cf883 Move the deprecated stuff to the end
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-05 21:54:23 +01:00
Sebastian Ramacher
9be3600440 A typo
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-05 17:23:31 +01:00
Sebastian Ramacher
f9ef7598a4 Add syntex-dbus-service setting to en/disable D-Bus service for synctex 2014-01-05 14:57:48 +01:00
Sebastian Ramacher
db1f2c98a8 Update translations
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-04 20:23:48 +01:00
Sebastian Ramacher
3a524935d2 Clean up
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-04 20:19:53 +01:00
Sebastian Ramacher
4e33ae66dd Merge remote-tracking branch 'haggl/develop' into develop 2014-01-02 18:34:38 +01:00
Sebastian Neuser
aeaa900a94 Preserve horizontal position when scrolling to PAGE_TOP/BOTTOM 2014-01-01 19:28:20 +01:00
Sebastian Ramacher
d9a4c18627 Remove extra <Enter> 2014-01-01 18:14:17 +01:00
Sebastian Ramacher
6cd8f2d3f6 Run version check if config.mk changed 2014-01-01 16:50:19 +01:00
Sebastian Ramacher
3c83a50cff Update copyright years 2014-01-01 16:49:34 +01:00
Moritz Lipp
1bde43da4f Merge branch 'develop' of pwmt.org:zathura into develop 2013-12-30 06:54:03 +01:00
Moritz Lipp
79e812dc5e Run command in vim script without breaking the screen 2013-12-30 06:53:22 +01:00
Sebastian Ramacher
85e8833305 Move D-Bus interface definition and vim ftplugin to data
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 22:32:19 +01:00
Sebastian Ramacher
029364bd30 Fix use after free
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 22:21:59 +01:00
Sebastian Ramacher
b1e8edf0d6 Install vim ftplugin
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 21:26:38 +01:00
Sebastian Ramacher
2458173473 Really use realpath
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 21:15:41 +01:00
Sebastian Ramacher
de46558ecc Update help string 2013-12-27 21:15:05 +01:00
Sebastian Ramacher
83ca2119b4 Merge branch 'develop' into feature/synctex 2013-12-27 21:13:18 +01:00
Sebastian Ramacher
81e75539b3 Use fullpath in for --syntex-forward
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 20:40:06 +01:00
Sebastian Ramacher
2940be27f1 Document --syntex-forward
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-27 20:16:00 +01:00
Moritz Lipp
d0b7750065 Fix quotes in girara_error call 2013-12-27 17:12:59 +01:00
Sebastian Ramacher
2b446f4182 Fail if no open instance has been found
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 17:58:50 +01:00
Sebastian Ramacher
5640bc78ec Add initial vim ftplugin 2013-12-24 17:50:38 +01:00
Sebastian Ramacher
03e1fb1f90 Set log level earlier
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:41:43 +01:00
Sebastian Ramacher
f5983a8429 Remove some unneeded stuff
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:25:20 +01:00
Sebastian Ramacher
fb000b9607 Install D-Bus interface definitions
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:20:17 +01:00
Sebastian Ramacher
b36c078710 Add interface definition
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:17:21 +01:00
Sebastian Ramacher
321b38ab48 Merge branch 'feature/remove-gtk2' into develop 2013-12-24 01:10:36 +01:00
Sebastian Ramacher
ccab5cf829 Close the connection
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-24 01:09:27 +01:00