| 1 |
2026-03-02 Karl Berry <[email protected]> |
| 2 |
|
| 3 |
* TL'26 release. |
| 4 |
|
| 5 |
2026-02-23 Norbert Preining <[email protected]> |
| 6 |
|
| 7 |
* synctex_parser.c: Fix use after free |
| 8 |
Reported by Fatih Çelik (tlsecurity, 2026-02-15) |
| 9 |
|
| 10 |
Fixes: |
| 11 |
- In _synctex_post_process_ref, ensure the ref's sibling |
| 12 |
pointer is reset before freeing, so even if __synctex_replace_ref |
| 13 |
failed to detach it, _synctex_free_leaf won't chase stale sibling |
| 14 |
pointers into the live tree. |
| 15 |
- Make _synctex_free_node, _synctex_free_leaf, and _synctex_free_input |
| 16 |
reset their sibling/child pointers before recursively freeing, |
| 17 |
preventing cascading damage from any code path |
| 18 |
that frees a partially-detached node. |
| 19 |
|
| 20 |
The crash occurs in _synctex_post_process_ref() at |
| 21 |
synctex_parser.c:5799. Here's the precise mechanism: |
| 22 |
1. __synctex_replace_ref(ref) (line 5789) attempts to |
| 23 |
replace a ref node with a proxy in the tree. As part |
| 24 |
of this, it detaches ref from the sibling chain - but |
| 25 |
only if ref has a parent (line 5741). |
| 26 |
2. If _synctex_tree_parent(ref) returns NULL (easily |
| 27 |
triggered by malformed synctex input from fuzzing), |
| 28 |
the error path at line 5771 is taken. The ref's sibling |
| 29 |
pointer is never reset. |
| 30 |
3. synctex_node_free(ref) is then called unconditionally at line 5799. |
| 31 |
4. This invokes _synctex_free_leaf(ref) (line 964-971), |
| 32 |
which calls synctex_node_free(__synctex_tree_sibling(node)) |
| 33 |
- recursively freeing the sibling chain that still belongs |
| 34 |
to the live tree. |
| 35 |
5. When those prematurely-freed nodes are later accessed during |
| 36 |
tree traversal or destruction, the UAF fires. |
| 37 |
|
| 38 |
|
| 39 |
2025-11-10 Karl Berry <[email protected]> |
| 40 |
|
| 41 |
* synctex.c: typo. |
| 42 |
|
| 43 |
2025-08-10 TANAKA Takuji <[email protected]> |
| 44 |
|
| 45 |
* synctex-{p,up,ep}tex.h: Remove. |
| 46 |
|
| 47 |
2025-03-09 Akira Kakuto <[email protected]> |
| 48 |
|
| 49 |
* synctex.c: improve printing of a synctex file name |
| 50 |
(windows only). |
| 51 |
|
| 52 |
2025-03-07 Karl Berry <[email protected]> |
| 53 |
|
| 54 |
* TL'25 release. |
| 55 |
|
| 56 |
2024-10-13 <[email protected]> |
| 57 |
|
| 58 |
* synctex_record_node_kern: pass "kern" instead of "glue" |
| 59 |
as SYNCTEX_TAG_MODEL and SYNCTEX_LINE_MODEL. |
| 60 |
https://tug.org/pipermail/luatex/2024-September/008006.html |
| 61 |
|
| 62 |
Forwarded by Luigi, confirmed by Jerome, committed by Karl. |
| 63 |
Jerome adds: |
| 64 |
This bug only affects engines for which kern node and glue |
| 65 |
nodes do not have the same size, aka none. |
| 66 |
The kern problem is well known for luatex since a long time but |
| 67 |
it does not affect other engines. While this patch is necessary |
| 68 |
to make the synctex code cleaner, it does not change anything |
| 69 |
for the engines concerned by the code. |
| 70 |
|
| 71 |
2024-04-14 TANAKA Takuji <[email protected]> |
| 72 |
|
| 73 |
* am/synctex.am: Remove eptex. |
| 74 |
|
| 75 |
2024-03-10 Karl Berry <[email protected]> |
| 76 |
|
| 77 |
* TL'24 release. |
| 78 |
|
| 79 |
2023-08-27 TANAKA Takuji <[email protected]> |
| 80 |
|
| 81 |
* synctex.test: Make easier to test on Windows. |
| 82 |
|
| 83 |
2023-03-09 Karl Berry <[email protected]> |
| 84 |
|
| 85 |
* TL'23 release. |
| 86 |
|
| 87 |
2023-02-23 Hironobu Yamashita <[email protected]> |
| 88 |
|
| 89 |
Sync with GH 2020 branch. |
| 90 |
|
| 91 |
* Changed files (on https://github.com/jlaurens/synctex): |
| 92 |
synctex_parser.c |
| 93 |
synctex_parser_utils.c |
| 94 |
synctex_parser_utils.h |
| 95 |
|
| 96 |
- Fix compilation on MSVC. |
| 97 |
https://github.com/jlaurens/synctex/pull/59 |
| 98 |
- Fix some GCC warnings. |
| 99 |
https://github.com/jlaurens/synctex/pull/57 |
| 100 |
|
| 101 |
2023-01-19 Hironobu Yamashita <[email protected]> |
| 102 |
|
| 103 |
Comparing TL r55094 (by JL) and GH 2020 branch. |
| 104 |
|
| 105 |
* Changed files (on https://github.com/jlaurens/synctex): |
| 106 |
synctex_main.c |
| 107 |
synctex_parser.c |
| 108 |
synctex_parser_readme.md |
| 109 |
synctex_parser_utils.c |
| 110 |
|
| 111 |
- Fix compilation with clang with -Wformat-nonliteral. |
| 112 |
https://github.com/jlaurens/synctex/pull/38 |
| 113 |
- Fix build when compiling with -Werror=implicit-function-declaration. |
| 114 |
https://github.com/jlaurens/synctex/pull/39 |
| 115 |
- More explanations. |
| 116 |
- Remove recursion form _synctex_free_handle_old. |
| 117 |
- Fix a Bug in post scriptum parser y_offset. |
| 118 |
https://github.com/jlaurens/synctex/issues/50 |
| 119 |
- Fix a Memory leak when opening files. |
| 120 |
https://github.com/jlaurens/synctex/issues/49 |
| 121 |
- Fix memleaks when a file cannot be parsed. |
| 122 |
https://github.com/jlaurens/synctex/issues/48 |
| 123 |
- Fix memleaks when freeing iterators |
| 124 |
https://github.com/jlaurens/synctex/issues/55 |
| 125 |
|
| 126 |
2023-01-15 TANAKA Takuji <[email protected]> |
| 127 |
|
| 128 |
* am/synctex.am: Remove ptex and uptex. |
| 129 |
|
| 130 |
2022-08-30 Karl Berry <[email protected]> |
| 131 |
|
| 132 |
* man1/synctex.1, |
| 133 |
* man5/synctex.5: typo fixes from Hilmar Preu\ss{}e, |
| 134 |
https://tug.org/pipermail/tex-live/2022-June/048227.html |
| 135 |
|
| 136 |
2022-05-31 Karl Berry <[email protected]> |
| 137 |
|
| 138 |
* synctex.c (synctexterminate): insert missing \n |
| 139 |
before ``SyncTeX written on "..." ...'' (quoted case). |
| 140 |
Report from jerome.lelong, tex-k 31 May 2022 16:34:44. |
| 141 |
|
| 142 |
2022-03-21 Karl Berry <[email protected]> |
| 143 |
|
| 144 |
* TL'22 release. |
| 145 |
|
| 146 |
2022-01-22 Hironori Kitagawa <[email protected]> |
| 147 |
|
| 148 |
* synctex.c: Reencode nameoffile to utf8 for pTeX. |
| 149 |
|
| 150 |
2021-12-16 Luigi Scarso <[email protected]> |
| 151 |
|
| 152 |
* synctex_main.c [WIN32]: #include <kpathsea/progname.h> |
| 153 |
* am/synctex.am (synctex_CPPFLAGS, synctex_LDADD) [MINGW32]: |
| 154 |
include KPATHSEA_* variables. |
| 155 |
https://tug.org/pipermail/tlbuild/2021q4/004983.html |
| 156 |
|
| 157 |
2021-07-24 TANAKA Takuji <[email protected]> |
| 158 |
|
| 159 |
* synctex_main.c (synctex_test_file): |
| 160 |
Output not "compress mode" but "io mode". |
| 161 |
* synctex_main.c: |
| 162 |
Apply patch of W32TeX by Kakuto-san. (Windows only). |
| 163 |
|
| 164 |
2021-03-23 Karl Berry <[email protected]> |
| 165 |
|
| 166 |
* TL'21. |
| 167 |
|
| 168 |
2021-03-04 Karl Berry <[email protected]> |
| 169 |
|
| 170 |
* synctex_scanner_new_with_output_file: don't warn to terminal |
| 171 |
with _synctex_error when a file is missing. |
| 172 |
code from https://gitlab.gnome.org/GNOME/evince/commit/678410e81d0c889f4db4e995ca451ed62b8a2eee |
| 173 |
Debian bug #908964 |
| 174 |
|
| 175 |
2019-10-10 Hironori Kitagawa <[email protected]> |
| 176 |
|
| 177 |
* synctex-p-rec.ch0, synctex-ep-rec.ch0: Fix \meaning\synctex |
| 178 |
for pTeX and upTeX. |
| 179 |
* am/synctex.am: Adjusted. |
| 180 |
|
| 181 |
2019-08-07 Akira Kakuto <[email protected]> |
| 182 |
|
| 183 |
* synctex.c: Improve support of non-ASCII path names |
| 184 |
(Windows only). |
| 185 |
|
| 186 |
2018-10-25 Akira Kakuto <[email protected]> |
| 187 |
|
| 188 |
* synctex.c: Cleanup for non-ascii file names (w32 only). |
| 189 |
|
| 190 |
2018-07-27 Karl Berry <[email protected]> |
| 191 |
|
| 192 |
* synctex_parser_api_level.txt: new file (contents "2.0.0"). |
| 193 |
* ac/synctex.ac: use it instead of synctex_parser_version.txt. |
| 194 |
Per Debian. |
| 195 |
https://github.com/jlaurens/synctex/issues/23 |
| 196 |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895980 |
| 197 |
|
| 198 |
2018-07-15 Akira Kakuto <[email protected]> |
| 199 |
|
| 200 |
* synctex.c: Fix a bug that Magnification is not correctly |
| 201 |
recorded. Report by Karel Horak: |
| 202 |
https://tug.org/pipermail/tex-live/2018-July/042063.html |
| 203 |
|
| 204 |
2018-06-13 Karl Berry <[email protected]> |
| 205 |
|
| 206 |
* man1/synctex.1: man page list syntax. |
| 207 |
Report/patch from esr, 12 Jun 2018 15:16:13. |
| 208 |
|
| 209 |
2018-06-10 TANAKA Takuji <[email protected]> |
| 210 |
|
| 211 |
* synctex.c: Allow non-ascii file names for pdfTeX |
| 212 |
with UTF-8 source files (w32 only). |
| 213 |
|
| 214 |
2018-05-29 Akira Kakuto <[email protected]> |
| 215 |
|
| 216 |
* synctex.c: Discard the changes on 2018-05-11, since |
| 217 |
'command_line_encoding=utf-8' is not so natural for |
| 218 |
pdfTeX (w32 only). |
| 219 |
|
| 220 |
2018-05-11 Akira Kakuto <[email protected]> |
| 221 |
|
| 222 |
* synctex.c: Allow non-ascii file names also for pdfTeX |
| 223 |
(w32 only). |
| 224 |
|
| 225 |
2018-01-18 Karl Berry <[email protected]> |
| 226 |
|
| 227 |
* man5/synctex.5: spacing, typos, per Debian. |
| 228 |
|
| 229 |
2017-07-18 Akira Kakuto <[email protected]> |
| 230 |
|
| 231 |
* synctex_parser_utils.c: mingw32 also may not have syslog.h. |
| 232 |
|
| 233 |
2017-07-16 Akira Kakuto <[email protected]> |
| 234 |
|
| 235 |
* synctex_parser_utils.h: Avoid to be included twice. |
| 236 |
|
| 237 |
2017-07-15 Akira Kakuto <[email protected]> |
| 238 |
|
| 239 |
* synctex_parser.c: Remove double definition of synctex_iterator_s. |
| 240 |
|
| 241 |
2017-07-14 Akira Kakuto <[email protected]> |
| 242 |
|
| 243 |
* synctex_parser.c, synctex_parser_util.c: Support |
| 244 |
Visual Studio 2015. |
| 245 |
|
| 246 |
2017-04-24 Hironori Kitagawa <[email protected]> |
| 247 |
|
| 248 |
* synctex-ep-mem.ch0, synctex-p-mem.ch0, |
| 249 |
synctex-ep-mem.ch1, synctex-p-mem.ch1: |
| 250 |
Adapt to changes in ptexdir/ptex-base.ch (p\TeX -> \pTeX). |
| 251 |
|
| 252 |
2017-04-22 Jerome Laurens <[email protected]> |
| 253 |
* man5/synctex.1, man5/synctex.5, synctex-pdf-rec.ch2, |
| 254 |
synctex-pdftex.h, synctex-rec.ch0, synctex.c, synctex.defines, |
| 255 |
synctex.h: add support for \pdfxform |
| 256 |
|
| 257 |
2016-03-04 Hironori Kitagawa <[email protected]> |
| 258 |
|
| 259 |
* synctex-ep-mem.ch1, synctex-p-mem.ch1: Adapt to changes in |
| 260 |
ptexdir/ptex-base.ch. |
| 261 |
|
| 262 |
2015-12-21 Akira Kakuto <[email protected]> |
| 263 |
|
| 264 |
* synctex-luatex.h: update for the new texnode.h in LuaTeX beta-0.87.0. |
| 265 |
|
| 266 |
2015-07-10 Peter Breitenlohner <[email protected]> |
| 267 |
|
| 268 |
* am/synctex.am: Dependencies for 'make check'. |
| 269 |
|
| 270 |
2015-04-05 Akira Kakuto <[email protected]> |
| 271 |
|
| 272 |
* synctex.c: Support file names with multi-byte characters in SyncTeX |
| 273 |
for XeTeX in addition to for (e)upTeX (win32 only). |
| 274 |
|
| 275 |
2015-03-23 Peter Breitenlohner <[email protected]> |
| 276 |
|
| 277 |
* am/synctex.am [MinGW]: SyncTeX requires libshlwapi.a. |
| 278 |
* synctex_parser_utils.c: Avoid an unused variable. |
| 279 |
|
| 280 |
2015-03-23 Akira Kakuto <[email protected]> |
| 281 |
|
| 282 |
* synctex_parser_utils.c: Fix a bug in |
| 283 |
synctex_bool_t synctex_ignore_leading_dot_slash_in_path(). |
| 284 |
From Noriyuki Abe (2015-03-23). |
| 285 |
|
| 286 |
2015-03-22 Akira Kakuto <[email protected]> |
| 287 |
|
| 288 |
* synctex_parser_utils.c: Use WIN32API PathFindFileName() and |
| 289 |
PathFindExtension() for last_component and last_extension, respectively, |
| 290 |
in _synctex_strip_last_path_extension(), in order to support multi-byte |
| 291 |
characters in SyncTeX applications (win32 only). |
| 292 |
From Noriyuki Abe (2015-03-22). |
| 293 |
|
| 294 |
2015-03-19 Akira Kakuto <[email protected]> |
| 295 |
|
| 296 |
* synctex.c: Avoid minor memory leaks (win32 only). |
| 297 |
|
| 298 |
2015-03-18 Akira Kakuto <[email protected]> |
| 299 |
|
| 300 |
* synctex.c: Support multi-byte characters in file names in SyncTeX |
| 301 |
for (e)upTeX (win32 only). |
| 302 |
|
| 303 |
2015-03-08 Peter Breitenlohner <[email protected]> |
| 304 |
|
| 305 |
* ac/synctex.a, am/synctex.am: Reorganize rules for libsynctex. |
| 306 |
|
| 307 |
2014-12-10 Peter Breitenlohner <[email protected]> |
| 308 |
|
| 309 |
* synctex.c: Define SYNCTEX_YES as 1, not -1 (for bitfields). |
| 310 |
|
| 311 |
2014-08-04 Peter Breitenlohner <[email protected]> |
| 312 |
|
| 313 |
* synctex_parser.c: Declare functions with file scope as static. |
| 314 |
* synctex.test (new): Shell script for a simple test. |
| 315 |
* am/synctex.am: Added the new test. |
| 316 |
|
| 317 |
2014-08-04 Sebastian Ramacher <[email protected]> |
| 318 |
|
| 319 |
* synctex_parser.c (_synctex_open): Avoid memory leak, |
| 320 |
|
| 321 |
2014-07-22 Peter Breitenlohner <[email protected]> |
| 322 |
|
| 323 |
* am/synctex.am: Build libsynctex as possibly shared library. |
| 324 |
From Sebastian Ramacher <[email protected]>. |
| 325 |
|
| 326 |
2014-07-22 Khaled Hosny <[email protected]> |
| 327 |
|
| 328 |
* am/synctex.am: Don't apply synctex-e-mem.ch0 to XeTeX, and replace |
| 329 |
synctex-e-rec.ch0 with synctex-xe-rec.ch0, after TeX--XeT removal. |
| 330 |
* synctex-xe-rec.ch0: New file (adapted from synctex-e-rec.ch0). |
| 331 |
|
| 332 |
2014-01-14 Sebastian Ramacher <[email protected]> |
| 333 |
|
| 334 |
* synctex_main.c: Bug fix (segfault). |
| 335 |
|
| 336 |
2013-02-11 Peter Breitenlohner <[email protected]> |
| 337 |
|
| 338 |
Simplify SyncTeX change files. |
| 339 |
* synctex-def.ch0, synctex-xe-def.ch0: New files defining |
| 340 |
synctex_field_size (1 or 2) and field access macros. |
| 341 |
* synctex-mem.ch0: Drop synctex_field_size. |
| 342 |
* synctex-rec.ch0, synctex-e-rec.ch0: Use field access macros. |
| 343 |
* synctex-rec.ch1: Drop obsolete explicit field access. |
| 344 |
* synctex-mem.ch1, synctex-xe-rec.ch2, synctex-xe-mem.ch2, |
| 345 |
synctex-e-rec.ch1 (removed): Now obsolete. |
| 346 |
* am/synctex.am: Adapted. |
| 347 |
|
| 348 |
2012-11-10 Peter Breitenlohner <[email protected]> |
| 349 |
|
| 350 |
* synctex-rec.ch0: Avoid conflict with xetexdir/xetex.web. |
| 351 |
|
| 352 |
2012-10-08 Peter Breitenlohner <[email protected]> |
| 353 |
|
| 354 |
* synctex_parser_utils.h: Avoid definition of FALSE and TRUE |
| 355 |
that may cause warnings. |
| 356 |
|
| 357 |
2012-09-06 Peter Breitenlohner <[email protected]> |
| 358 |
|
| 359 |
* synctex_main.c: Define snprintf and getcwd for WIN32. |
| 360 |
|
| 361 |
2012-07-30 Peter Breitenlohner <[email protected]> |
| 362 |
|
| 363 |
* synctex_main.c (TEST): Check values returned by snprintf(). |
| 364 |
|
| 365 |
2012-06-30 Peter Breitenlohner <[email protected]> |
| 366 |
|
| 367 |
* synctex.c: Remove "# warning ..." line, because MSVC fails to |
| 368 |
interpret it. |
| 369 |
From Akira Kakuto <[email protected]> (W32TeX). |
| 370 |
|
| 371 |
2012-05-16 Vladimir Volovich <[email protected]> |
| 372 |
|
| 373 |
* synctex_parser.c (SYNCTEX_DECLARE_CHARINDEX): Bug fix, avoid |
| 374 |
isolated semicolon. |
| 375 |
|
| 376 |
2012-02-03 Peter Breitenlohner <[email protected]> |
| 377 |
|
| 378 |
* synctex_parser.c: Change struct __synctex_updater_t member |
| 379 |
file from 'void *' to 'gzFile', they differ for zlib-1.2.6. |
| 380 |
|
| 381 |
2011-10-18 Akira Kakuto <[email protected]> |
| 382 |
|
| 383 |
* synctex_parser.c: remove "# warning ..." lines, because MSVC fails to |
| 384 |
interpret them. |
| 385 |
|
| 386 |
2011-10-14 Jérôme Laurens <[email protected]> |
| 387 |
|
| 388 |
These changes only affect the synctex command line utility |
| 389 |
as well as 3rd parties developers. The various TeX engines are not affected. |
| 390 |
|
| 391 |
* synctex_parser.c: |
| 392 |
- cosmetic changes to enhance code readability |
| 393 |
- Adding the notiong of mean line and weight to hbox nodes |
| 394 |
in order to enhance forward synchronization |
| 395 |
- function synctex_scanner_get_name: |
| 396 |
+ Adding support for the new file naming convention with './' |
| 397 |
* synctex_parser_utils.c: |
| 398 |
- Adding support for the new file naming convention with './' |
| 399 |
+ function synctex_ignore_leading_dot_slash_in_path replaces synctex_ignore_leading_dot_slash |
| 400 |
+ function _synctex_is_equivalent_file_name is more permissive |
| 401 |
|
| 402 |
See the synctex_parser_readme.txt for more details |
| 403 |
|
| 404 |
2011-08-25 Peter Breitenlohner <[email protected]> |
| 405 |
|
| 406 |
* synctex-e-rec.ch0: Shorten a change set to simplify e-pTeX. |
| 407 |
|
| 408 |
2011-08-22 Akira Kakuto <[email protected]> |
| 409 |
|
| 410 |
* synctex-luatex.h, synctex-xetex.h: Define SYNCTEX_CURH and |
| 411 |
SYNCTEX_CURH to yield correct coordinates in dvi and pdf mode. |
| 412 |
|
| 413 |
2011-08-12 Peter Breitenlohner <[email protected]> |
| 414 |
|
| 415 |
* am/synctex.am: Add upTeX and e-upTeX. |
| 416 |
* synctex-euptex.h, synctex-uptex.h: New files. |
| 417 |
|
| 418 |
2011-07-25 Peter Breitenlohner <[email protected]> |
| 419 |
|
| 420 |
* am/synctex.am (eptex_ch_synctex): Bug fix: |
| 421 |
use synctex-e-rec.ch[01] instead of ... |
| 422 |
* synctex-ep-rec.ch1 (removed): ... this file. |
| 423 |
Mail from Akira, Sat, 23 Jul 2011 23:02:45. |
| 424 |
|
| 425 |
2011-07-04 Peter Breitenlohner <[email protected]> |
| 426 |
|
| 427 |
SyncTeX infrastructure for pTeX and e-pTeX. |
| 428 |
* synctex-ptex.h, synctex-p-{mem,rec}.ch[01] (all new): |
| 429 |
Additional files for pTeX. |
| 430 |
* synctex-eptex.h, synctex-ep-{mem.ch[01],rec.ch1} (all new): |
| 431 |
Additional files for e-pTeX. |
| 432 |
* am/synctex.am: Adapt |
| 433 |
|
| 434 |
* synctex.c: Drop `#warning These structures MUST be kept...'. |
| 435 |
|
| 436 |
2011-06-30 Peter Breitenlohner <[email protected]> |
| 437 |
|
| 438 |
* synctex-{,e}tex.h: Drop the `#warning SyncTeX for *TeX'. |
| 439 |
* synctex-{,e,pdf,xe}tex.h: Move the default definition of |
| 440 |
SYNCTEX_GET_CURRENT_NAME for here ... |
| 441 |
* synctex.c: ... to here. |
| 442 |
|
| 443 |
2011-06-11 Akira Kakuto <[email protected]> |
| 444 |
|
| 445 |
* synctex_parser_utils.c: fix a typo. |
| 446 |
|
| 447 |
2011-05-13 Taco Hoekwater <[email protected]> |
| 448 |
|
| 449 |
* synctex-luatex.h: synchronization_field_size has to be 1 for luatex. |
| 450 |
|
| 451 |
2011-05-12 Peter Breitenlohner <[email protected]> |
| 452 |
|
| 453 |
* synctex-etex.h, synctex-pdftex.h, synctex-tex.h, synctex-xetex.h: |
| 454 |
Move generic_synctex_get_current_name() prototype to ../texmfmp.h. |
| 455 |
|
| 456 |
2011-05-11 Akira Kakuto <[email protected]> |
| 457 |
|
| 458 |
* synctex-etex.h, synctex-pdftex.h, synctex-tex.h, synctex-xetex.h: |
| 459 |
define SYNCTEX_GET_CURRENT_NAME() as in LuaTeX, since SyncTeX name |
| 460 |
should be full path when --output-directory option is given. |
| 461 |
|
| 462 |
2011-05-09 Taco Hoekwater <[email protected]> |
| 463 |
|
| 464 |
* synctex-luatex.h: use an actual function to find the current name. |
| 465 |
|
| 466 |
2011-04-16 Taco Hoekwater <[email protected]> |
| 467 |
|
| 468 |
* synctex.c: Rename flags member output => output_p to avoid |
| 469 |
conflict with macro defined for MinGW32. |
| 470 |
|
| 471 |
2011-04-16 Peter Breitenlohner <[email protected]> |
| 472 |
|
| 473 |
* synctex-luatex.h (new): moved from ../luatexdir/utils to here. |
| 474 |
|
| 475 |
* synctex.c (synctexstartinput): When SYNCTEX_GET_CURRENT_NAME() |
| 476 |
returns "", don't assign "texput" which might later get freed |
| 477 |
but rather xrealloc and strcpy. |
| 478 |
|
| 479 |
2011-04-03 Peter Breitenlohner <[email protected]> |
| 480 |
|
| 481 |
* synctex-e-mem.ch0: Adapt to ../etexdir/etex.ch. |
| 482 |
|
| 483 |
2011-03-28 Peter Breitenlohner <[email protected]> |
| 484 |
|
| 485 |
* am/synctex.am: Use AM_CFLAGS instead of synctex_CFLAGS. |
| 486 |
|
| 487 |
2011-03-14 Peter Breitenlohner <[email protected]> |
| 488 |
|
| 489 |
* synctex.c: Instead of sed-substituting TEX-OR-MF-OR-MP in |
| 490 |
#include "synctex-TEX-OR-MF-OR-MP.h", #include SYNCTEX_ENGINE_H |
| 491 |
and add -DSYNCTEX_ENGINE_H=\"synctex-tex.h\" to CPPFLAGS for TeX |
| 492 |
and similarly for e-TeX, pdfTeX, and XeTeX. |
| 493 |
* am/synctex.am: Adapt. |
| 494 |
|
| 495 |
2011-03-12 Peter Breitenlohner <[email protected]> |
| 496 |
|
| 497 |
Avoid compiler warnings (redo changes from 2010-01-22). |
| 498 |
|
| 499 |
* synctex_parser_utils.h: Declare synctex_suffix{,_gz} extern ... |
| 500 |
* synctex_parser.c: ... and instantiate here. |
| 501 |
* synctex_parser_utils.[ch]: Constify _synctex_last_path_component() |
| 502 |
return type. |
| 503 |
* synctex_parser.c (__synctex_scanner_t): Change type of struct |
| 504 |
members buffer_{cur,start,end} from 'unsigned char *' to 'char *' |
| 505 |
and remove the casts. |
| 506 |
(_synctex_class_t synctex_class_*): Declare as non-const. |
| 507 |
(_synctex_scan_named): Constify string param `name'. |
| 508 |
|
| 509 |
2010-06-10 Peter Breitenlohner <[email protected]> |
| 510 |
|
| 511 |
Reorganize web2c headers. |
| 512 |
* synctex_main.c, synctex_parser_local.h: |
| 513 |
#include <w2c/config.h> instead of "config.h". |
| 514 |
|
| 515 |
2010-05-13 Jerome Laurens <[email protected]> |
| 516 |
|
| 517 |
* synctex.c, very minor change in code design to remove wrong warnings when building xetex. |
| 518 |
|
| 519 |
2010-05-13 Jerome Laurens <[email protected]> |
| 520 |
|
| 521 |
* synctex.c, change in code design. |
| 522 |
The macro layer is enhanced to take luatex into account. |
| 523 |
Luatex can now safely use this file instead of luatexdir/utils/synctex.c, |
| 524 |
provided luatexdir/utils/synctex-luatex.h is updated accordingly. |
| 525 |
No change for pdftex nor xetex. |
| 526 |
|
| 527 |
* synctex.c, typos fixed, some wrong "size_t" causing false warnings replaced by "int". |
| 528 |
|
| 529 |
2010-04-23 Peter Breitenlohner <[email protected]> |
| 530 |
|
| 531 |
* synctex_main.c, synctex_parser_local.h: #include "c-auto.h" |
| 532 |
instead of "web2c/c-auto.h". |
| 533 |
|
| 534 |
2010-01-22 Peter Breitenlohner <[email protected]> |
| 535 |
|
| 536 |
* am/synctex.am (synctex_CFLAGS): Enable compiler warnings. |
| 537 |
|
| 538 |
Avoid compiler warnings: |
| 539 |
|
| 540 |
* synctex_main.c: Define _ISOC99_SOURCE to get fmax() prototype |
| 541 |
FIXME: Linux only? |
| 542 |
* synctex_parser_utils.h: Move declaration of synctex_io_modes ... |
| 543 |
* synctex_parser.c: ... to here. |
| 544 |
* synctex_parser_utils.h: Declare synctex_suffix{,_gz} extern ... |
| 545 |
* synctex_parser.c: ... and instantiate here. |
| 546 |
* synctex_parser_utils.[ch]: Constify _synctex_last_path_component() |
| 547 |
return type. |
| 548 |
* synctex_parser.c (__synctex_scanner_t): Change type of struct |
| 549 |
members buffer_{cur,start,end} from 'unsigned char *' to 'char *' |
| 550 |
and remove the casts. |
| 551 |
(_synctex_class_t synctex_class_*): Declare as non-const. |
| 552 |
(_synctex_scan_named): Constify string param `name'. |
| 553 |
|
| 554 |
2010-01-10 Jérôme Laurens <[email protected]> |
| 555 |
|
| 556 |
* synctex_parser.c: in the _synctex_smallest_container() function, |
| 557 |
SYNCTEX_WIDTH is replaced with SYNCTEX_ABS_WIDTH |
| 558 |
to take into account h boxes with negative width. |
| 559 |
Solves a problem with amsmath's gather environment |
| 560 |
* synctex_parser.c: enhancements in comments to better explain the code |
| 561 |
|
| 562 |
2009-12-30 Jérôme Laurens <[email protected]> |
| 563 |
|
| 564 |
* synctex_parser_utils.c: in the _synctex_malloc() function, |
| 565 |
memset() is used unconditionally (suggested by J. Kew). |
| 566 |
* synctex_parser_utils.c: in the _synctex_error() function, |
| 567 |
- all 3 instances of OutputDebugString() replaced with OutputDebugStringA() |
| 568 |
such that unicode is ignored (also suggested by J. Kew). |
| 569 |
- _WIN32 flag replaced by SYNCTEX_RECENT_WINDOWS because older windows systems |
| 570 |
may have _WIN32 defined but no OutputDebugString(). |
| 571 |
|
| 572 |
2009-12-04 Peter Breitenlohner <[email protected]> |
| 573 |
|
| 574 |
* synctex.c: Remove extern declaration of gettexstring(), |
| 575 |
now in ../web2c/coerce.h. |
| 576 |
|
| 577 |
2009-10-07 Peter Breitenlohner <[email protected]> |
| 578 |
|
| 579 |
synctex-e-mem.ch0 (just_reverse): Drop unused label found. |
| 580 |
|
| 581 |
2009-09-06 Peter Breitenlohner <[email protected]> |
| 582 |
|
| 583 |
* synctex.c (synctex_suffix*): Constify strings. |
| 584 |
Add #include "synctex.h" for prototypes. |
| 585 |
* synctex.h (synctexabort): Add prototype. |
| 586 |
* synctex_main.c (synctex_help*): Constify string params. |
| 587 |
(synctex_edit_proceed): Add a prototype (was a duplicate for |
| 588 |
synctex_view_proceed). Drop cast. |
| 589 |
* synctex_parser_utils.[ch] (_synctex_error): Constify string |
| 590 |
param. |
| 591 |
|
| 592 |
2009-09-04 Peter Breitenlohner <[email protected]> |
| 593 |
|
| 594 |
* am/synctex.am: Prepare compiler warnings. |
| 595 |
|
| 596 |
2009-08-18 Peter Breitenlohner <[email protected]> |
| 597 |
|
| 598 |
* am/synctex.am: SyncTeX now integrated into ../texmfmp.h. |
| 599 |
* synctex-convert.sh (removed): Obsolete. |
| 600 |
|
| 601 |
2009-07-16 Peter Breitenlohner <[email protected]> |
| 602 |
|
| 603 |
* synctex_main.c: re-#include "web2c/c-auto.h", needed for AIX. |
| 604 |
|
| 605 |
2009-07-13 Peter Breitenlohner <[email protected]> |
| 606 |
|
| 607 |
* am/synctex.am: remove INSTALL. |
| 608 |
|
| 609 |
2009-07-13 Jerome Laurens <[email protected]> |
| 610 |
|
| 611 |
No need to rebuild the binaries with these changes. |
| 612 |
* INSTALL: the content has no meaning with the new building architecture, file removed. |
| 613 |
* synctex_parser*: version number changed to 1.8 |
| 614 |
* synctex_main.c: version number updated to 1.2 (2 typos) |
| 615 |
|
| 616 |
2009-07-10 Peter Breitenlohner <[email protected]> |
| 617 |
|
| 618 |
* am/synctex.am: remove unused files Makefile, Makefile.in. |
| 619 |
|
| 620 |
2009-07-09 Peter Breitenlohner <[email protected]> |
| 621 |
|
| 622 |
* synctex_main.c: make 'synctex help update' work as advertised. |
| 623 |
* tests/LM-Volume-manuscript.tex: Mac -> native line ends. |
| 624 |
|
| 625 |
2009-07-08 Peter Breitenlohner <[email protected]> |
| 626 |
|
| 627 |
* am/synctex.am: distribute new files. |
| 628 |
* synctex_parser_local.h: add newline at end of file. |
| 629 |
* synctex_parser_readme.txt: Mac -> native line ends. |
| 630 |
|
| 631 |
2009-07-08 Jerome Laurens <[email protected]> |
| 632 |
|
| 633 |
Updated version. |
| 634 |
|
| 635 |
2009-03-19 Peter Breitenlohner <[email protected]> |
| 636 |
|
| 637 |
Adapt to TL2009 build system. |
| 638 |
|