1 2015-12-21 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
3 * synctex-luatex.h: update for the new texnode.h in LuaTeX beta-0.87.0.
5 2015-07-10 Peter Breitenlohner <peb@mppmu.mpg.de>
7 * am/synctex.am: Dependencies for 'make check'.
9 2015-04-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
11 * synctex.c: Support file names with multi-byte characters in SyncTeX
12 for XeTeX in addition to for (e)upTeX (win32 only).
14 2015-03-23 Peter Breitenlohner <peb@mppmu.mpg.de>
16 * am/synctex.am [MinGW]: SyncTeX requires libshlwapi.a.
17 * synctex_parser_utils.c: Avoid an unused variable.
19 2015-03-23 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
21 * synctex_parser_utils.c: Fix a bug in
22 synctex_bool_t synctex_ignore_leading_dot_slash_in_path().
23 From Noriyuki Abe (2015-03-23).
25 2015-03-22 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
27 * synctex_parser_utils.c: Use WIN32API PathFindFileName() and
28 PathFindExtension() for last_component and last_extension, respectively,
29 in _synctex_strip_last_path_extension(), in order to support multi-byte
30 characters in SyncTeX applications (win32 only).
31 From Noriyuki Abe (2015-03-22).
33 2015-03-19 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
35 * synctex.c: Avoid minor memory leaks (win32 only).
37 2015-03-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
39 * synctex.c: Support multi-byte characters in file names in SyncTeX
40 for (e)upTeX (win32 only).
42 2015-03-08 Peter Breitenlohner <peb@mppmu.mpg.de>
44 * ac/synctex.a, am/synctex.am: Reorganize rules for libsynctex.
46 2014-12-10 Peter Breitenlohner <peb@mppmu.mpg.de>
48 * synctex.c: Define SYNCTEX_YES as 1, not -1 (for bitfields).
50 2014-08-04 Peter Breitenlohner <peb@mppmu.mpg.de>
52 * synctex_parser.c: Declare functions with file scope as static.
53 * synctex.test (new): Shell script for a simple test.
54 * am/synctex.am: Added the new test.
56 2014-08-04 Sebastian Ramacher <sramacher@debian.org>
58 * synctex_parser.c (_synctex_open): Avoid memory leak,
60 2014-07-22 Peter Breitenlohner <peb@mppmu.mpg.de>
62 * am/synctex.am: Build libsynctex as possibly shared library.
63 From Sebastian Ramacher <sramacher@debian.org>.
65 2014-07-22 Khaled Hosny <khaledhosny@eglug.org>
67 * am/synctex.am: Don't apply synctex-e-mem.ch0 to XeTeX, and replace
68 synctex-e-rec.ch0 with synctex-xe-rec.ch0, after TeX--XeT removal.
69 * synctex-xe-rec.ch0: New file (adapted from synctex-e-rec.ch0).
71 2014-01-14 Sebastian Ramacher <sramacher@debian.org>
73 * synctex_main.c: Bug fix (segfault).
75 2013-02-11 Peter Breitenlohner <peb@mppmu.mpg.de>
77 Simplify SyncTeX change files.
78 * synctex-def.ch0, synctex-xe-def.ch0: New files defining
79 synctex_field_size (1 or 2) and field access macros.
80 * synctex-mem.ch0: Drop synctex_field_size.
81 * synctex-rec.ch0, synctex-e-rec.ch0: Use field access macros.
82 * synctex-rec.ch1: Drop obsolete explicit field access.
83 * synctex-mem.ch1, synctex-xe-rec.ch2, synctex-xe-mem.ch2,
84 synctex-e-rec.ch1 (removed): Now obsolete.
85 * am/synctex.am: Adapted.
87 2012-11-10 Peter Breitenlohner <peb@mppmu.mpg.de>
89 * synctex-rec.ch0: Avoid conflict with xetexdir/xetex.web.
91 2012-10-08 Peter Breitenlohner <peb@mppmu.mpg.de>
93 * synctex_parser_utils.h: Avoid definition of FALSE and TRUE
94 that may cause warnings.
96 2012-09-06 Peter Breitenlohner <peb@mppmu.mpg.de>
98 * synctex_main.c: Define snprintf and getcwd for WIN32.
100 2012-07-30 Peter Breitenlohner <peb@mppmu.mpg.de>
102 * synctex_main.c (TEST): Check values returned by snprintf().
104 2012-06-30 Peter Breitenlohner <peb@mppmu.mpg.de>
106 * synctex.c: Remove "# warning ..." line, because MSVC fails to
108 From Akira Kakuto <kakuto@fuk.kindai.ac.jp> (W32TeX).
110 2012-05-16 Vladimir Volovich <vvv@vsu.ru>
112 * synctex_parser.c (SYNCTEX_DECLARE_CHARINDEX): Bug fix, avoid
115 2012-02-03 Peter Breitenlohner <peb@mppmu.mpg.de>
117 * synctex_parser.c: Change struct __synctex_updater_t member
118 file from 'void *' to 'gzFile', they differ for zlib-1.2.6.
120 2011-10-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
122 * synctex_parser.c: remove "# warning ..." lines, because MSVC fails to
125 2011-10-14 Jérôme Laurens <jerome.laurens@u-bourgogne.fr>
127 These changes only affect the synctex command line utility
128 as well as 3rd parties developers. The various TeX engines are not affected.
131 - cosmetic changes to enhance code readability
132 - Adding the notiong of mean line and weight to hbox nodes
133 in order to enhance forward synchronization
134 - function synctex_scanner_get_name:
135 + Adding support for the new file naming convention with './'
136 * synctex_parser_utils.c:
137 - Adding support for the new file naming convention with './'
138 + function synctex_ignore_leading_dot_slash_in_path replaces synctex_ignore_leading_dot_slash
139 + function _synctex_is_equivalent_file_name is more permissive
141 See the synctex_parser_readme.txt for more details
143 2011-08-25 Peter Breitenlohner <peb@mppmu.mpg.de>
145 * synctex-e-rec.ch0: Shorten a change set to simplify e-pTeX.
147 2011-08-22 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
149 * synctex-luatex.h, synctex-xetex.h: Define SYNCTEX_CURH and
150 SYNCTEX_CURH to yield correct coordinates in dvi and pdf mode.
152 2011-08-12 Peter Breitenlohner <peb@mppmu.mpg.de>
154 * am/synctex.am: Add upTeX and e-upTeX.
155 * synctex-euptex.h, synctex-uptex.h: New files.
157 2011-07-25 Peter Breitenlohner <peb@mppmu.mpg.de>
159 * am/synctex.am (eptex_ch_synctex): Bug fix:
160 use synctex-e-rec.ch[01] instead of ...
161 * synctex-ep-rec.ch1 (removed): ... this file.
162 Mail from Akira, Sat, 23 Jul 2011 23:02:45.
164 2011-07-04 Peter Breitenlohner <peb@mppmu.mpg.de>
166 SyncTeX infrastructure for pTeX and e-pTeX.
167 * synctex-ptex.h, synctex-p-{mem,rec}.ch[01] (all new):
168 Additional files for pTeX.
169 * synctex-eptex.h, synctex-ep-{mem.ch[01],rec.ch1} (all new):
170 Additional files for e-pTeX.
171 * am/synctex.am: Adapt
173 * synctex.c: Drop `#warning These structures MUST be kept...'.
175 2011-06-30 Peter Breitenlohner <peb@mppmu.mpg.de>
177 * synctex-{,e}tex.h: Drop the `#warning SyncTeX for *TeX'.
178 * synctex-{,e,pdf,xe}tex.h: Move the default definition of
179 SYNCTEX_GET_CURRENT_NAME for here ...
180 * synctex.c: ... to here.
182 2011-06-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
184 * synctex_parser_utils.c: fix a typo.
186 2011-05-13 Taco Hoekwater <taco@luatex.org>
188 * synctex-luatex.h: synchronization_field_size has to be 1 for luatex.
190 2011-05-12 Peter Breitenlohner <peb@mppmu.mpg.de>
192 * synctex-etex.h, synctex-pdftex.h, synctex-tex.h, synctex-xetex.h:
193 Move generic_synctex_get_current_name() prototype to ../texmfmp.h.
195 2011-05-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
197 * synctex-etex.h, synctex-pdftex.h, synctex-tex.h, synctex-xetex.h:
198 define SYNCTEX_GET_CURRENT_NAME() as in LuaTeX, since SyncTeX name
199 should be full path when --output-directory option is given.
201 2011-05-09 Taco Hoekwater <taco@luatex.org>
203 * synctex-luatex.h: use an actual function to find the current name.
205 2011-04-16 Taco Hoekwater <taco@luatex.org>
207 * synctex.c: Rename flags member output => output_p to avoid
208 conflict with macro defined for MinGW32.
210 2011-04-16 Peter Breitenlohner <peb@mppmu.mpg.de>
212 * synctex-luatex.h (new): moved from ../luatexdir/utils to here.
214 * synctex.c (synctexstartinput): When SYNCTEX_GET_CURRENT_NAME()
215 returns "", don't assign "texput" which might later get freed
216 but rather xrealloc and strcpy.
218 2011-04-03 Peter Breitenlohner <peb@mppmu.mpg.de>
220 * synctex-e-mem.ch0: Adapt to ../etexdir/etex.ch.
222 2011-03-28 Peter Breitenlohner <peb@mppmu.mpg.de>
224 * am/synctex.am: Use AM_CFLAGS instead of synctex_CFLAGS.
226 2011-03-14 Peter Breitenlohner <peb@mppmu.mpg.de>
228 * synctex.c: Instead of sed-substituting TEX-OR-MF-OR-MP in
229 #include "synctex-TEX-OR-MF-OR-MP.h", #include SYNCTEX_ENGINE_H
230 and add -DSYNCTEX_ENGINE_H=\"synctex-tex.h\" to CPPFLAGS for TeX
231 and similarly for e-TeX, pdfTeX, and XeTeX.
232 * am/synctex.am: Adapt.
234 2011-03-12 Peter Breitenlohner <peb@mppmu.mpg.de>
236 Avoid compiler warnings (redo changes from 2010-01-22).
238 * synctex_parser_utils.h: Declare synctex_suffix{,_gz} extern ...
239 * synctex_parser.c: ... and instantiate here.
240 * synctex_parser_utils.[ch]: Constify _synctex_last_path_component()
242 * synctex_parser.c (__synctex_scanner_t): Change type of struct
243 members buffer_{cur,start,end} from 'unsigned char *' to 'char *'
244 and remove the casts.
245 (_synctex_class_t synctex_class_*): Declare as non-const.
246 (_synctex_scan_named): Constify string param `name'.
248 2010-06-10 Peter Breitenlohner <peb@mppmu.mpg.de>
250 Reorganize web2c headers.
251 * synctex_main.c, synctex_parser_local.h:
252 #include <w2c/config.h> instead of "config.h".
254 2010-05-13 Jerome Laurens <jerome.laurens@u-bourgogne.fr>
256 * synctex.c, very minor change in code design to remove wrong warnings when building xetex.
258 2010-05-13 Jerome Laurens <jerome.laurens@u-bourgogne.fr>
260 * synctex.c, change in code design.
261 The macro layer is enhanced to take luatex into account.
262 Luatex can now safely use this file instead of luatexdir/utils/synctex.c,
263 provided luatexdir/utils/synctex-luatex.h is updated accordingly.
264 No change for pdftex nor xetex.
266 * synctex.c, typos fixed, some wrong "size_t" causing false warnings replaced by "int".
268 2010-04-23 Peter Breitenlohner <peb@mppmu.mpg.de>
270 * synctex_main.c, synctex_parser_local.h: #include "c-auto.h"
271 instead of "web2c/c-auto.h".
273 2010-01-22 Peter Breitenlohner <peb@mppmu.mpg.de>
275 * am/synctex.am (synctex_CFLAGS): Enable compiler warnings.
277 Avoid compiler warnings:
279 * synctex_main.c: Define _ISOC99_SOURCE to get fmax() prototype
281 * synctex_parser_utils.h: Move declaration of synctex_io_modes ...
282 * synctex_parser.c: ... to here.
283 * synctex_parser_utils.h: Declare synctex_suffix{,_gz} extern ...
284 * synctex_parser.c: ... and instantiate here.
285 * synctex_parser_utils.[ch]: Constify _synctex_last_path_component()
287 * synctex_parser.c (__synctex_scanner_t): Change type of struct
288 members buffer_{cur,start,end} from 'unsigned char *' to 'char *'
289 and remove the casts.
290 (_synctex_class_t synctex_class_*): Declare as non-const.
291 (_synctex_scan_named): Constify string param `name'.
293 2010-01-10 Jérôme Laurens <jerome.laurens@u-bourgogne.fr>
295 * synctex_parser.c: in the _synctex_smallest_container() function,
296 SYNCTEX_WIDTH is replaced with SYNCTEX_ABS_WIDTH
297 to take into account h boxes with negative width.
298 Solves a problem with amsmath's gather environment
299 * synctex_parser.c: enhancements in comments to better explain the code
301 2009-12-30 Jérôme Laurens <jerome.laurens@u-bourgogne.fr>
303 * synctex_parser_utils.c: in the _synctex_malloc() function,
304 memset() is used unconditionally (suggested by J. Kew).
305 * synctex_parser_utils.c: in the _synctex_error() function,
306 - all 3 instances of OutputDebugString() replaced with OutputDebugStringA()
307 such that unicode is ignored (also suggested by J. Kew).
308 - _WIN32 flag replaced by SYNCTEX_RECENT_WINDOWS because older windows systems
309 may have _WIN32 defined but no OutputDebugString().
311 2009-12-04 Peter Breitenlohner <peb@mppmu.mpg.de>
313 * synctex.c: Remove extern declaration of gettexstring(),
314 now in ../web2c/coerce.h.
316 2009-10-07 Peter Breitenlohner <peb@mppmu.mpg.de>
318 synctex-e-mem.ch0 (just_reverse): Drop unused label found.
320 2009-09-06 Peter Breitenlohner <peb@mppmu.mpg.de>
322 * synctex.c (synctex_suffix*): Constify strings.
323 Add #include "synctex.h" for prototypes.
324 * synctex.h (synctexabort): Add prototype.
325 * synctex_main.c (synctex_help*): Constify string params.
326 (synctex_edit_proceed): Add a prototype (was a duplicate for
327 synctex_view_proceed). Drop cast.
328 * synctex_parser_utils.[ch] (_synctex_error): Constify string
331 2009-09-04 Peter Breitenlohner <peb@mppmu.mpg.de>
333 * am/synctex.am: Prepare compiler warnings.
335 2009-08-18 Peter Breitenlohner <peb@mppmu.mpg.de>
337 * am/synctex.am: SyncTeX now integrated into ../texmfmp.h.
338 * synctex-convert.sh (removed): Obsolete.
340 2009-07-16 Peter Breitenlohner <peb@mppmu.mpg.de>
342 * synctex_main.c: re-#include "web2c/c-auto.h", needed for AIX.
344 2009-07-13 Peter Breitenlohner <peb@mppmu.mpg.de>
346 * am/synctex.am: remove INSTALL.
348 2009-07-13 Jerome Laurens <jerome.laurens@u-bourgogne.fr>
350 No need to rebuild the binaries with these changes.
351 * INSTALL: the content has no meaning with the new building architecture, file removed.
352 * synctex_parser*: version number changed to 1.8
353 * synctex_main.c: version number updated to 1.2 (2 typos)
355 2009-07-10 Peter Breitenlohner <peb@mppmu.mpg.de>
357 * am/synctex.am: remove unused files Makefile, Makefile.in.
359 2009-07-09 Peter Breitenlohner <peb@mppmu.mpg.de>
361 * synctex_main.c: make 'synctex help update' work as advertised.
362 * tests/LM-Volume-manuscript.tex: Mac -> native line ends.
364 2009-07-08 Peter Breitenlohner <peb@mppmu.mpg.de>
366 * am/synctex.am: distribute new files.
367 * synctex_parser_local.h: add newline at end of file.
368 * synctex_parser_readme.txt: Mac -> native line ends.
370 2009-07-08 Jerome Laurens <jerome.laurens@u-bourgogne.fr>
374 2009-03-19 Peter Breitenlohner <peb@mppmu.mpg.de>
376 Adapt to TL2009 build system.