Albert Astals Cid
086c0dbce4
Comparing paths with strcmp is not really smart
...
This is "the same" commit as b932ef7e0f
but with a different patch number 08->09
15 years ago
Albert Astals Cid
e0a0091d0c
Update the series file
15 years ago
Albert Astals Cid
858442781e
Fix cpp comments
15 years ago
Albert Astals Cid
5536d1b1aa
Apply and update 07-synctex_scanner_new_with_output_file-reset-mode.diff
15 years ago
Albert Astals Cid
31326a2cac
Apply and update 06-mingw-_synctex_error.diff
15 years ago
Albert Astals Cid
b822617454
Apply and update 05-fix-error-formats.diff
15 years ago
Albert Astals Cid
34a2f4605a
Apply and update 04-gcc-specify-printf-format.diff
15 years ago
Albert Astals Cid
5c2bb74538
03-fix-_synctex_scan_named.diff is fixed upstream
15 years ago
Albert Astals Cid
c07473792a
Apply and update 01-fix-win32-define.diff
15 years ago
Albert Astals Cid
fd9c8580d3
This patch is upstream now
15 years ago
Albert Astals Cid
c2287ecb37
Apply 00-disable-SYNCTEX_INLINE.diff
...
And update the diff itself to the new line location
15 years ago
Albert Astals Cid
e834ec57c9
Update to synctex 1.16
...
Does not compile :D
15 years ago
Pino Toscano
4612649647
synctex_scanner_new_with_output_file: reset the io_mode to read before trying to read again
...
synctex_scanner_new_with_output_file() tries first to open the file in an
"unquoted mode"; if it fails, it tries again quoting the file name.
During the first attempt, the synctex_io_mode_t is passed as pointer and it
can be incremented, making the second attempt start from "rb" instead of "r".
The easiest solution is to reset the io_mode before doing the second open
attempt.
Bug seen, analyzed and patched by Albert Astals Cid.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1132526
16 years ago
Pino Toscano
bc6b4978be
Update the SyncTeX parser from 1.6 to 1.9.
...
Also update the patches we carry:
- new 00-fix-__synctex_open-declaration.diff: fix a misplaced function declaration
- new 00-disable-SYNCTEX_INLINE.diff: disable SYNCTEX_INLINE on !MSVC, to avoid compiling issues
- remove 02-fix-_synctex_error.diff: code is already present in SyncTeX
- refresh 01-fix-win32-define.diff, 03-fix-_synctex_scan_named.diff, 04-gcc-specify-printf-format.diff, 05-fix-error-formats.diff
svn path=/trunk/KDE/kdegraphics/okular/; revision=1129764
16 years ago
Pino Toscano
a7bdec3b40
Fix _synctex_error() on mingw: _vscprintf() is specific for MSVC, so for !MSVC use _vsnprintf() and grow the buffer until necessary.
...
Patch provided by Patrick Spendrin <ps_ml@gmx.de>, thanks!
svn path=/trunk/KDE/kdegraphics/okular/; revision=1033539
17 years ago
Pino Toscano
6551b285eb
'z' looks a gnu extension, so use %lu
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003153
17 years ago
Pino Toscano
a36b9042bd
local synctex change: fix the printf specifier for a parameter (of type size_t), to be %zd instead of %d
...
add the change as local patch 05-fix-error-formats.diff
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003109
17 years ago
Pino Toscano
fe8ab0045e
local synctex change: _synctex_error has a printf-like format, so use the proper gcc extensions to check its arguments (doing nothing for other compilers)
...
add the change as local patch 04-gcc-specify-printf-format.diff
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003104
17 years ago
Pino Toscano
5fa6a43122
local synctex change: make const the name parameter for _synctex_scan_named
...
add the change as local patch 03-fix-_synctex_scan_named.diff
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003093
17 years ago
Pino Toscano
eb474beeee
local synctex change: make const the format-like message parameter for _synctex_error
...
add the change as local patch 02-fix-_synctex_error.diff
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003084
17 years ago
Pino Toscano
f732152653
local synctex change: fix the various #if _WIN32 to #ifdef _WIN32
...
add the change as local patch 01-fix-win32-define.diff
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003065
17 years ago
Armin Berres
555cb3c9a1
add synctex support for pdf files
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003016
17 years ago