Sebastian Ramacher
fa06f015ba
Deprecate scrollbar settings and update guioptions
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-18 19:33:37 +01:00
Abdo Roig-Maranges
e72b2d52d4
fix type mismatch that broke synctex forward search
...
The problem was introduced in commit 5a992d2d46
.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-18 18:21:44 +01:00
Abdo Roig-Maranges
633889f291
align highlighted rectangles correctly
...
Align center of the rectangle with the center of the viewport, vor both
keyword searches and synctex forward search.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 16:39:55 +01:00
Abdo Roig-Maranges
1a8e211a3b
properly scale and rotate rectangle
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 16:38:11 +01:00
Abdo Roig-Maranges
ad4f5f5f79
fix rectangles subindex. Need page not 0
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 16:35:56 +01:00
Sebastian Ramacher
5a992d2d46
Make page an integer where possible
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 16:31:01 +01:00
Sebastian Ramacher
bfb3acc1b1
Fix the page number once while parsing the synctex output
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 16:21:44 +01:00
Abdo Roig-Maranges
2778868599
fix page range check
...
In those cases, page is in the range [1...N], both ends included.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 15:39:24 +01:00
Sebastian Ramacher
0e733af2a5
Fix some bugs in the D-Bus and synctex code
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-15 20:59:18 +01:00
Sebastian Ramacher
51267cdae0
Jump to the first rectangle
2014-01-15 20:38:42 +01:00
Sebastian Ramacher
8200dd0884
Get rid of ZATHURA_GTK_VERSION
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-15 18:50:06 +01:00
Sebastian Ramacher
e5b951451a
Uninstall D-Bus interface definitions
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-15 17:56:09 +01:00
Sebastian Ramacher
5a9f53b2b7
Add a header for D-Bus interface definitions
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-15 17:55:54 +01:00
Sebastian Ramacher
2eeaef341c
Remove unused includes
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-14 18:13:14 +01:00
Sebastian Ramacher
5021767a18
Split of guess_content_type
...
… and use it everywhere we want to get the content type of a file.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-14 18:01:34 +01:00
Sebastian Ramacher
74fd28b4b2
Send rectangles not on the main page too
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-14 16:15:34 +01:00
Sebastian Ramacher
7e6112d883
Use the appropriate constant
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-12 23:29:33 +01:00
Sebastian Ramacher
8b701f609c
Finish renaming
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-12 22:23:29 +01:00
Sebastian Ramacher
c64b4f545a
Just support latexsuite for now
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-11 23:11:59 +01:00
Sebastian Ramacher
b6af22c525
Draw 'search' result
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-11 22:24:35 +01:00
Sebastian Ramacher
b6c018ca87
Add more methods to D-Bus interface
...
… and improve the rest.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-11 22:04:49 +01:00
Sebastian Ramacher
d0b7676bc3
Just return a list of rectangles
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-11 22:04:14 +01:00
Sebastian Ramacher
26333fb20c
Run D-Bus service all the time
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-11 22:03:36 +01:00
Sebastian Ramacher
7e2c0f2e1e
Generate introspection data from XML file
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-11 21:48:41 +01:00
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