Louisvh
ec615d562f
Removed unnecessary ifdef, fixed compiler warning
...
If WITH_SYNCTEX is not defined, synctex_editor will always be NULL, so
the ifdef is not needed. This gets rid of the "unused variable" warning
when compiling without synctex.
2016-02-05 04:05:13 +01:00
Sebastian Ramacher
241d302b09
Fix memory leak
2016-01-20 04:11:51 +01:00
Sebastian Ramacher
274809be41
Remove another #ifdef
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-01-20 02:06:09 +01:00
Sebastian Ramacher
ec5268a975
Reduce some of the #ifdef madness
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-01-20 01:57:56 +01:00
Sebastian Ramacher
564ae2bdd6
Children should not fork
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-01-18 12:42:05 +01:00
Sebastian Ramacher
fec81cf40b
Ignore extra -- from g_option_context_parse
...
Debian bug #811032
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-01-15 02:02:39 +01:00
Sebastian Ramacher
f1d027e656
Exit without failure if instance found
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2016-01-09 15:11:48 +01:00
Petr Šabata
b78be80d13
Build even without SyncTeX
...
synctex_editor is used no matter whether we're building WITH_SYNCTEX or
not. This fixes a build failure when WITH_SYNCTEX isn't defined.
Signed-off-by: Petr Šabata <contyk@redhat.com>
2015-12-21 16:57:59 +01:00
Sebastian Ramacher
b5df57c1e1
Use fork to start other instances
...
This should help with #472 when multiple files are opened.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-24 01:03:38 +01:00
Sebastian Ramacher
12f57fb76a
Refactor
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-24 00:47:18 +01:00
Sebastian Ramacher
ba72d40fbd
Initialize GTK+ as late as possible ( fixes #471 )
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-24 00:34:55 +01:00
Sebastian Ramacher
96597253c8
Error messages if setsid or fork fail
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-23 23:55:45 +01:00
Sebastian Ramacher
32ad46441c
CS
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-23 23:28:45 +01:00
Sebastian Ramacher
d7b06ca3fc
Require GTK+ 3.6
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-20 15:07:18 +01:00
Sebastian Ramacher
083520cea6
Remove compat code for pre-2.32 glib
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-08 21:41:24 +02:00
Sebastian Ramacher
5c60ce4156
Get rid of embedded copy of libsynctex
...
TeXLive 2015 including libsynctex is out long enough.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-08 21:26:22 +02:00
Sebastian Ramacher
66b9870d76
Pass arguments to spawned processes ( fixes #504 )
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-10-08 00:05:16 +02:00
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
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
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
Moritz Lipp
a1a0e47148
Begin to update build-system
2014-11-07 15:57:46 +01:00