Debian Codegraph @

texk/xdvik/ChangeLog

raw
1 2025-10-16 Karl Berry <[email protected]>
2
3 * mksedscript (XDVI_VERSION_INFO): avoid using egrep.
4 Report from Jan Kasprzak,
5 https://tug.org/pipermail/tex-k/2025-October/004217.html.
6
7 2025-02-17 Karl Berry <[email protected]>
8
9 * m4/xdvi-check-xaw.m4: try to discern the type of the list
10 (second) parameter of the XawListChange function, (too) simply
11 with: sed -n 's/list,$//p' /usr/include/X11/Xaw/List.h.
12 Default to the type of the page_labels member, as before.
13 Maybe it will work in practice?
14 * gui/pagesel.c (XAWLISTCHANGELISTTYPE): define if not defined.
15 (xaw_update_list): cast to it.
16 (See next ChangeLog entry for links to discussions.)
17
18 * c-auto.in,
19 * configure: regenerate.
20
21 2025-02-15 Karl Berry <[email protected]>
22
23 * gui/pagesel.c (xaw_update_list): put in comment about the known
24 problem of incompatible pointer types in the XawListChange call.
25 A configure test seems to be needed.
26 xdvi bug report: https://sourceforge.net/p/xdvi/bugs/406/
27 discussion of alternatives:
28 https://tug.org/pipermail/tex-k/2024-February/004008.html
29
30 2024-11-26 Sam James <[email protected]>
31
32 * dvi-draw.c (lseek,pow): remove () declarations, incompatible
33 with C23.
34 * gui/menu.c,
35 * gui/sfDraw.c,
36 * gui/sfDraw.h,
37 * gui/sfSelFile.c: avoid () decls.
38 https://tug.org/pipermail/tex-live/2024-November/050931.html
39 https://tug.org/pipermail/tex-live/2024-November/050930.html
40
41 2023-02-02 Florian Weimer <[email protected]>
42
43 * m4/xdvi-func-setsid-in-fork.m4.c99-4: avoid implicit
44 declarations of wait and exit, to appease C99.
45 https://tug.org/pipermail/tex-live/2023-January/048833.html
46
47 2022-02-13 Paul Vojta <[email protected]>
48
49 * dvi-init.c (make_backup_fp): call new try_dup, and existing
50 try_fdopen, before fseek.
51 * util.c (try_dup): define new fn.
52 * util.h (try_dup): declare it.
53 This resolves xdvi crashing under MacOS after hitting `R' in some
54 situations (the preceding change did as well, in a clunkier way).
55 https://tug.org/pipermail/tlbuild/2022q1/005140.html ff.
56
57 2022-02-01 John Hawkinson <[email protected]>
58
59 * dvi-init.c (make_backup_fp): check returns from fseeks,
60 disable useTempFp if failure. Posted at
61 https://tug.org/pipermail/tlbuild/2022q1/005129.html
62
63 2022-01-31 Karl Berry <[email protected]>
64
65 * dvi-init.c (file_exists_p): check for failed fstat.
66 Found by John Hawkinson, tlbuild 30 Jan 2022 22:42:23.
67 https://tug.org/pipermail/tlbuild/2022q1/005105.html
68
69 * xdvi.1.in: add 262144=find and 524288=files.
70 Found by John Hawkinson, tlbuild 30 Jan 2022 23:11:10.
71
72 2022-01-26 Karl Berry <[email protected]>
73
74 * gui/print-log.h (info): don't declare unintended `info' variable
75 with type. From Evan Miller, tex-k 26 Jan 2022 10:55:35.
76
77 2021-03-14 Karl Berry <[email protected]>
78
79 * string-utils.c (shell_escape_string): escape other shell
80 metacharacters and whitespace.
81
82 2021-03-12 Norbert Preining <[email protected]>
83
84 * string-utils.c (shell_escape_string): also escape &.
85
86 2021-03-14 Norbert Preining <[email protected]>
87
88 * string-utils.c (shell_escape_string): also escape &.
89
90 2020-03-02 Karl Berry <[email protected]>
91
92 * main.c (is_good_dvi_file): avoid using strnlen, not present
93 on Solaris.
94 https://tug.org/pipermail/tlbuild/2020q1/004659.html
95
96 2020-03-01 Karl Berry <[email protected]>
97
98 * Import xdvi-22.87.04 from
99 https://sourceforge.net/projects/xdvi/files/xdvik, includes
100 changes made here.
101
102 2019-07-22 Karl Berry <[email protected]>
103
104 * psgs.c (initGS): don't use now-gone-from-ghostscript execute
105 operator; from Paul Vojta.
106
107 2019-05-31 Karl Berry <[email protected]>
108
109 * ac/xdvik.ac (xdvi-x-toolkit): the default is always xaw,
110 and has been for a long time. Nelson mail to tlbuild,
111 31 May 2019 11:39:52.
112
113 2019-03-25 Karl Berry <[email protected]>
114
115 * xdvi.1.in: omit unused second font letter for option names.
116 From Debian.
117
118 2018-01-17 Karl Berry <[email protected]>
119
120 * xdvi.1.in: remove trailing whitespace to placate Debian.
121 Use \& instead of "," after end-of-line "e.g." for consistency.
122 Remove spurious doubled words.
123
124 2018-01-17 Norbert Preining <[email protected]>
125
126 * add .desktop file
127 * Makefile.am: add desktop file installation
128
129 2017-08-07 Hironobu Yamashita <[email protected]>
130
131 * Makefile.am: config.xdvi is installed under
132 texmf-dist/dvips/xdvi, not texmf-dist/dvips/config.
133
134 2016-04-06 Karl Berry <[email protected]>
135
136 * Import xdvik-22.87.03.
137
138 2015-04-17 Karl Berry <[email protected]>
139
140 * psheader.txt (/psfts, /startTexFig, /doclip, /endTexFig):
141 remove these defns from (obsolete and nonfree) psfig.
142 Report from Werner Fink, 14 Apr 2015 17:16:23.
143
144 2014-12-10 Peter Breitenlohner <[email protected]>
145
146 * xdvi.c (set_windowsize): Use "%u" to print unsigned int.
147 * hypertex.h: Correct typo in spelling of header guard.
148
149 2014-06-23 Peter Breitenlohner <[email protected]>
150
151 * encodings.c: Do not compile close_iconv() when not used.
152 * translations.h: Do not #include "c-auto.h".
153 * xdvi.h: Do not #include "c-auto.h" and "kpathsea/c-auto.h".
154
155 * m4/xdvi-xinput-2-1.m4: Test link instead of compile step.
156
157 2014-06-19 Peter Breitenlohner <[email protected]>
158
159 * ft.c, gui/xaw_menu.c, hypertex.c: Avoid undefined behaviour
160 when char is signed.
161
162 2014-06-16 Peter Breitenlohner <[email protected]>
163
164 * squeeze/Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS.
165
166 2014-05-06 Peter Breitenlohner <[email protected]>
167
168 * m4/xdvi-xinput-2-1.m4: Change the default to disable 'smooth
169 scrolling' for native TL build.
170
171 2014-04-14 Peter Breitenlohner <[email protected]>
172
173 Imported xdvik-22.87.tar.gz
174 from http://sourceforge.net/projects/xdvi/files/xdvik/.
175
176 2013-09-02 Peter Breitenlohner <[email protected]>
177
178 * Makefile.am: Drop ACLOCAL_AMFLAGS.
179 * configure.ac: Use AC_CONFIG_MACRO_DIRS.
180
181 2013-07-02 Peter Breitenlohner <[email protected]>
182
183 * *.[ch], gui/*.[ch], tests/*.[ch]: Include "xdvi-config.h"
184 first in all compilable source files but not in headers, as
185 claimed in a comment at the top of xdvi-config.h.
186
187 2013-07-01 Peter Breitenlohner <[email protected]>
188
189 * font-open.c, psdps.c, xdvi.h: Replace bcopy(f, t, l) =>
190 memcpy(t, f, l).
191 * psgs.c: Replace rindex() => strrchr().
192
193 2013-06-28 Peter Breitenlohner <[email protected]>
194
195 * xlwradioP.h: May need to #include <X11/Xaw/XawInit.h>.
196
197 2013-06-27 Peter Breitenlohner <[email protected]>
198
199 Drop variables that are set but not used:
200 * dvi-draw.c: 'actual_w'.
201 * events.c: 'arg_bak' and 'clear_statusline'.
202 * gui/print-dialog.c: 'dest_label' and 'range_label'.
203 * gui/search-dialog.c: 'timeout'.
204 * hypertex.c: 'x_delta'.
205 * special.c: 'found' (two times).
206 * xdvi.c: 'exclusive'.
207
208 2013-06-20 Peter Breitenlohner <[email protected]>
209
210 * m4/xdvi-check-iconv.m4: Somewhat improved logic.
211
212 2013-04-07 Peter Breitenlohner <[email protected]>
213
214 Imported xdvik-22.86.tar.gz
215 from http://sourceforge.net/projects/xdvi/files/xdvik/.
216
217 * Makefile.am: Renamed ChangeLog.TL => ChangeLog.
218 (install-data-hook): Make sure $(DESTDIR)$(dvipsconfdir) exists.
219
220 * util.c (find_str_int_hash): Return type of hash_lookup() is
221 'const_string *'.
222
223 * ft.c (read_ft_char): Count bmTypeT words instead of bytes and
224 avoid cast causing 'strict-aliasing rules' warning.
225
226 2013-02-08 Peter Breitenlohner <[email protected]>
227
228 * Makefile.am (xdvidir, pixmapdir): Change texmf => texmf-dist.
229
230 2012-12-16 Peter Breitenlohner <[email protected]>
231
232 * util.c: Adapt to modified hash_lookup() return type.
233 * Makefile.am, squeeze/Makefile.am: Enable silent rules.
234
235 2012-11-20 Peter Breitenlohner <[email protected]>
236
237 * Makefile.am, tests/Makefile.am: Avoid use of deprecated INCLUDES.
238
239 2012-04-18 Peter Breitenlohner <[email protected]>
240
241 * configure.ac: Remove some obsolete comments.
242
243 * m4/xdvi-check-iconv.m4, m4/xdvi-check-langinfo.m4,
244 m4/xdvi-func-working-vsnprintf.m4: Update copyright statements
245 with info provided by Paul Vojta <[email protected]>.
246
247 2012-04-17 Peter Breitenlohner <[email protected]>
248
249 * xdvi.c (run_dvi_file): Avoid unaligned access on some 64-bit
250 systems. Mail from Nelson H. F. Beebe <[email protected]>
251 [tlbuild] Mon, 16 Apr 2012 18:48:34.
252
253 2012-04-02 Peter Breitenlohner <[email protected]>
254
255 Imported xdvik-22.85.tar.gz
256 from http://sourceforge.net/projects/xdvi/files/xdvik/.
257
258 * mksedscript: Correctly handle strings with embedded blanks,
259 e.g., '#define PACKAGE_STRING "xdvik 22.85"' and similar.
260
261 2012-03-17 Peter Breitenlohner <[email protected]>
262
263 * mime.c, xdvi.1.in: Use /usr/local/etc/{mimetypes=>mime.types}.
264
265 2012-03-15 Peter Breitenlohner <[email protected]>
266
267 * xdvi.1.in: Remove an unmatched #endif and formatting bugs.
268 * Makefile.am: Fixed a typo (in comment).
269
270 2012-02-21 Peter Breitenlohner <[email protected]>
271
272 * configure.ac: Drop XDVI_CC_CONCAT and XDVI_SYS_SUNOS_4, the
273 results are not used.
274 * m4/xdvi-cc-concat.m4, m4/xdvi-sys-sunos4.m4: Removed.
275
276 2011-12-06 Peter Breitenlohner <[email protected]>
277
278 * Makefile.am: Replace ${prefix}/texmf => $(datarootdir)/texmf.
279
280 2011-07-30 Peter Breitenlohner <[email protected]>
281
282 * font-open.[ch] (font_open): Constify `char **' parameter.
283 * dvi-init.c (load_font): Cast font_open() argument to
284 `const char **'.
285
286 2011-06-16 Peter Breitenlohner <[email protected]>
287
288 * read-mapfile.c (read_map_file): Allow find_suffix() to return
289 a const string.
290
291 2011-03-07 Peter Breitenlohner <[email protected]>
292
293 * hypertex.c (launch_xdvi): `program_invocation_name' has been
294 renamed into `kpse_invocation_name'.
295
296 2010-05-25 Karl Berry <[email protected]>
297
298 * m4/xdvi-check-iconv.m4 (--with-iconv): new option to
299 completely disable checking for iconv. Needed due to the local
300 configuration of the machine used to build the sparc-linux
301 binaries (namely, weyl.math.utah.edu).
302
303 2010-05-19 Peter Breitenlohner <[email protected]>
304
305 * tests/run_tests.c, test_dl_list.c: Cast size_t to long for
306 printing to avoid warnings on 64Bit systems.
307
308 2010-03-29 Peter Breitenlohner <[email protected]>
309
310 * configure.ac: Remove AC_TYPE_SIZE_T, now part of KPSE_COMMON.
311
312 2009-12-22 Peter Breitenlohner <[email protected]>
313
314 * tests/test_string_utils.c (test_my_stristr): Make the test
315 more stringent (and closer to the original code).
316
317 2009-12-21 Peter Breitenlohner <[email protected]>
318
319 * tests/test_string_utils.c (test_my_stristr): Make test result
320 independent of compiler optimizations (constant folding).
321
322 2009-12-18 Peter Breitenlohner <[email protected]>
323
324 * tests/test_string_utils.c (test_expand_filename):
325 Do not prepend cwd to absolute filenames.
326
327 2009-11-17 Peter Breitenlohner <[email protected]>
328
329 * configure.ac: Suppress some compiler warnings (too many).
330
331 2009-11-07 Peter Breitenlohner <[email protected]>
332
333 * configure.ac, xdvi.h: Require recent kpathsea version.
334
335 2009-08-27 Peter Breitenlohner <[email protected]>
336
337 Avoid some maximal compiler warnings.
338 * encodings.c (cjk2unicode): Unconstify string arg.
339 * events.c (show_timers): Constify string arg.
340 * gui/sfPath.c (SFLogin): Constify string members.
341 (SFstrdup): Convert arg1 to result that can be assigned to const
342 strings, constify remaining arg.
343 (SFunreadableDir): Constify local var.
344 * gui/sfPath.[ch] (SFchdir): Constify string arg.
345 * hypertex.c (remote_URL_schemes): 'char *const'=>'const char*'.
346 * main.c (compare_strings): 'const char**'=>'const char*const*'.
347 * mime.c (mailcap_map): Constify string members.
348 * pixmaps/toolbar.xpm, pixmaps/toolbar2.xpm: Constify pixmaps.
349
350
351 2009-08-26 Peter Breitenlohner <[email protected]>
352
353 Avoid some maximal compiler warnings.
354 * dvi-init.c (get_tmp_dvi_name), gui/Tip.c (foo),
355 gui/sfDir.c (foo), gui/sfDraw.c (foo), gui/sfPath.c (foo),
356 gui/sfSelFile.c (foo), gui/xaw_menu.c (foo),
357 gui/xlwradio.c (foo), gui/xm_colorsel.c (foo),
358 gui/xm_filesel.c (foo), gui/xm_menu.c (foo),
359 gui/xm_prefs.c (foo), gui/xm_prefs_appearance.c (foo),
360 gui/xm_prefs_fonts.c (foo), gui/xm_prefs_helpers.c (foo),
361 gui/xm_prefs_page.c (foo), gui/xm_prefs_scroll.c (foo),
362 gui/xm_toolbar.c (foo), image-magick.c (clear_cache, foo),
363 pagehist.c (page_history_clear),
364 psdps.c (DPSErrorProcHandler, foo),
365 psgs.c (gs_resume_prescan, foo),
366 psnews.c (initNeWS, foo), util.c (do_abort):
367 ANSI C function definitions, i.e., '()'=>'(void)'.
368 * xserver-info.c (print_display_info, print_visual_info,
369 print_screen_info, foo): ANSI C function definitions.
370
371 2009-08-22 Peter Breitenlohner <[email protected]>
372
373 * configure.ac: Check for <kpathsea/version.h> and ...
374 * xdvi.h: ... skip extern decl if found.
375
376 2009-06-29 Karl Berry <[email protected]>
377
378 * gui/help-window.c (default_help_general): avoid embedding
379 date in binary.
380
381 2009-06-22 Peter Breitenlohner <[email protected]>
382
383 * dvi-draw.c: do not #include "kpathsea/c-vararg.h" (after
384 #include <stdarg.h>).
385 * string-utils.h, xdvi.h, gui/message-window.c,
386 gui/statusline.c, tests/test_string_utils.c:
387 #include <stdarg.h>, not "kpathsea/c-vararg.h".
388
389 * xdvi.h: remove NeedFunctionPrototypes et al.
390
391 2009-06-03 Peter Breitenlohner <[email protected]>
392
393 * events.c: avoid declaration after statement.
394
395 from Vladimir Volovich <[email protected]>.
396
397 2009-05-21 Peter Breitenlohner <[email protected]>
398
399 * CHANGES: fixed version/relase-date such that mksedscript can
400 extract them.
401
402 2009-04-28 Peter Breitenlohner <[email protected]>
403
404 * xdvi.h: guard typedef of iconv_char_pptrT by '#if HAVE_ICONV_H'.
405
406 * squeeze/squeeze.c: add '#include <string.h>'.
407
408 2009-04-18 Peter Breitenlohner <[email protected]>
409
410 * xdvi.1.in (warnspecials): fixed duplicate entry, removing
411 an #ifkpathsea without matching #endif.
412
413 2009-03-31 Peter Breitenlohner <[email protected]>
414
415 Imported ftp://tug.org/tex/xdvik-22.84.15.tar.gz and
416 adapted to new TeX Live build system (Automake & Co.).
417 Renamed original files XXX -> XXX-22.84.15.
418
419 * squeeze.c (removed): File moved ...
420 * squeeze/squeeze.c (new): ... to here. Don't include
421 any system dependent kpathsea headers, such that squeeze/
422 can be configured separately for the build system.
423
424 2009-03-21 Peter Breitenlohner <[email protected]>
425
426 * CHANGES: fixed version/relase-date such that mksedscript can
427 extract them.
428
429 2008-07-01 Peter Breitenlohner <[email protected]>
430
431 Imported ftp://tug.org/tex/xdvik-22.84.14.tar.gz and
432 adapted to new TeX Live build system (autoconf-2.59+).
433
434 * Makefile.in.orig, acconfig.h.orig, aclocal.m4.orig,
435 configure.in.orig, depend.mk.orig, gui/Makefile.in.orig,
436 gui/depend.mk.orig, kpathsea.ac.orig, tests/Makefile.in.orig,
437 tests/depend.mk.orig, withenable.ac.orig (all new):
438 Original files from xdvik-22.84.14.
439
440 * Makefile.in, gui/Makefile.in, tests/Makefile.in:
441 Added '@configure_input@' line and replace ac_include by
442 kpse_include.
443
444 * acinclude.m4 (new): Renamed from aclocal.m4.
445 Renamed cache variables (must contain '_cv_').
446
447 * acinclude.m4, configure.in, withenable.ac:
448 Added lots of m4 quoting and third args of AC_DEFINE.
449
450 * acconfig.h (removed): Use AC_DEFINE with three args to
451 provide templates.
452
453 * configure.in:
454 Replaced AC_OUTPUT with arguments by KPSE_CONFIG_FILES,
455 AC_CONFIG_FILES and AC_OUTPUT without arg.
456
457 * kpathsea.ac (LIBKPATHSEACPPFLAGS): Set to '-I$(kpathsea_parent)'
458 instead of '-I$(kpathsea_dir)' to avoid confusion between
459 <c-auto.h> and <kpathsea/c-auto.h>.
460
461 * depend.mk, gui/depend.mk, tests/depend.mk: Regenerated and
462 cleaned by hand ('make depend' didn't quite do that).
463
464 * aclocal.m4, c-auto.in, configure: Regenerated.
465
466 2008-02-29 Peter Breitenlohner <[email protected]>
467
468 * acinclude.m4: added quotes to DEFUN's first args, added
469 AC_DEFINES's third arg to provide autoheader templates ...
470 * configure.in, withenable.ac: added AC_DEFINES's third arg to provide
471 autoheader templates ...
472 * acconfig.h: ... removed.
473
474 2008-01-31 Peter Breitenlohner <[email protected]>
475
476 Convert from autoconf-2.13 to autoconf-2.59+:
477 * configure.in (AC_PREREQ): Require autoconf-2.59.
478 * Makefile.in, gui/Makefile.in: Add @configure_input@ lines.
479 * acinclude.m4 (new): Renamed from aclocal.m4.
480 * aclocal.m4 (new): Generated (aclocal -I ../m4).
481 * ../../libs/t1lib/t1lib.ac: Fixed a typo.
482 * configure: Regenerated (autoconf).