Sebastian Ramacher
2d785cc20d
Check indices before accessing the list
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-04-07 16:00:19 +02:00
Sebastian Ramacher
797b83bfed
Some more debug output for synctex
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-04-07 15:48:12 +02:00
Sebastian Ramacher
ab9f5515b5
Start documenting shortcut functions in more detail
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-02-22 22:18:17 +01:00
Sebastian Ramacher
ba917f174b
Make the documentation match the code
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-02-18 16:36:04 +01:00
Moritz Lipp
af6e3e7aa4
Merge tag '0.2.7' into develop
...
Version 0.2.7
2014-02-17 15:34:01 +01:00
Moritz Lipp
a7b3d73f7b
Merge branch 'release/0.2.7'
2014-02-17 15:33:56 +01:00
Moritz Lipp
0f005c0d5d
Version 0.2.7
2014-02-17 15:33:53 +01:00
Sebastian Ramacher
475871fe20
Add Norwegian translation
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-02-17 14:20:54 +01:00
Sebastian Ramacher
d1b4aea056
Update Portuguese translation
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-02-17 12:15:00 +01:00
Sebastian Ramacher
d1a1f25458
Add Lithuanian translation
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-02-17 12:10:23 +01:00
Sebastian Ramacher
e2388f3200
Add Norwegian translation
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-02-17 12:06:27 +01:00
Sebastian Ramacher
b2b9b4df12
Update translations
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-02-14 13:40:30 +01:00
Sebastian Ramacher
35f278e1f3
Add shortcuts for ^C and Esc in all modes
...
This should fix #392 and hopefully doesn't break anything else.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-02-14 12:59:25 +01:00
Sebastian Ramacher
70f8e20e19
Use the actual mode in mode toggle calls
2014-02-14 12:11:12 +01:00
Sebastian Ramacher
806b69a1fe
Disable a mode_set call that hasn't been doing anything for ages
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-02-14 12:09:47 +01:00
Sebastian Ramacher
a85decc8cc
Only copy selected text in normal and fullscreen mode
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-02-14 11:46:17 +01:00
Sebastian Ramacher
f2fbf92621
Update po
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-31 10:37:16 +01:00
Sebastian Ramacher
a45cd0a474
CS
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-31 10:33:25 +01:00
Sebastian Ramacher
ac8be2d528
Translate error messages
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-31 10:19:27 +01:00
Sebastian Ramacher
eea53de243
Correctly safe print setting state
...
Since we are running the operation asynchronsly, we need to store the print
settings in a callback for the done signal.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-30 22:42:53 +01:00
Sebastian Ramacher
ace31581b4
Add --mode option
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-29 20:59:45 +01:00
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
935964bbf5
Remove unused zathura_adjustment_clone
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-20 18:06:38 +01:00
Sebastian Ramacher
71e10b5f3c
Add a cast
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-20 17:31:46 +01:00
Sebastian Ramacher
b6778e390d
Merge branch 'list-2014-01-20' into develop
2014-01-20 17:30:30 +01:00
akbjker
bb47adb270
Center pages
...
Whoops, you're right. I misunderstood the purpose of gtk_widget_reparent.
Here's the patch v2.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-20 16:33:30 +01:00
Sebastian Ramacher
3e5d7816c2
More documentation for synctex support
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-20 16:31:53 +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
9c45dd5278
Fix a return
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-20 00:55:39 +01:00
Sebastian Ramacher
34b5c556fe
GObject references should be unref'd in dispose
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 21:03:40 +01:00
Sebastian Ramacher
693f1d713a
GObject references should be unref'd in dispose
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 20:53:44 +01:00
Sebastian Ramacher
207f57b33b
Call parent's finalize
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 20:50:54 +01:00
Sebastian Ramacher
af40bbabad
Only allocate dynamically if we add to the list
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 19:42:54 +01:00
Sebastian Ramacher
7fc2b365ba
g_try_realloc behaves like realloc
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 19:39:58 +01:00
Sebastian Ramacher
d83d7bc7d9
Create zathura instance later
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 17:17:14 +01:00
Sebastian Ramacher
3524c6da23
Add extra element for NULL at the end
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 17:15: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
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