Sebastian Ramacher
76e456ef4c
Expose more properties via D-Bus
...
Thanks to Ork for the initial patch.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-28 18:32:07 +01:00
Sebastian Ramacher
d43e1f07ff
Add --synctex-pid option for the case where the process is known
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-20 01:53:09 +01:00
Sebastian Ramacher
71ef7c7eed
Fix some memory leaks and a use after free
...
Also return proper D-Bus errors
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 17:09:33 +01:00
Moritz Lipp
0fc5b80121
Replace glib memory functions with try version
2014-01-19 16:47:08 +01:00
Sebastian Ramacher
bafbedbcef
Add missing include
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-18 22:01:07 +01:00
Abdo Roig-Maranges
e17bb81cc3
honor search-hadjust setting in synctex forward search
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-18 21:59:50 +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
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
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