summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/ChangeLog
blob: 6e0f29740a778bc4e1a54bf85952105d613866d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
2022-02-13  Paul Vojta  <vojta@math.berkeley.edu>

	* dvi-init.c (make_backup_fp): call new try_dup, and existing
	try_fdopen, before fseek.
	* util.c (try_dup): define new fn.
	* util.h (try_dup): declare it.
	This resolves xdvi crashing under MacOS after hitting `R' in some
	situations (the preceding change did as well, in a clunkier way).
	https://tug.org/pipermail/tlbuild/2022q1/005140.html ff.

2022-02-01  John Hawkinson  <jhawk@alum.mit.edu>

	* dvi-init.c (make_backup_fp): check returns from fseeks,
	disable useTempFp if failure. Posted at
	https://tug.org/pipermail/tlbuild/2022q1/005129.html

2022-01-31  Karl Berry  <karl@freefriends.org>

	* dvi-init.c (file_exists_p): check for failed fstat.
	Found by John Hawkinson, tlbuild 30 Jan 2022 22:42:23.	
	https://tug.org/pipermail/tlbuild/2022q1/005105.html

	* xdvi.1.in: add 262144=find and 524288=files.
	Found by John Hawkinson, tlbuild 30 Jan 2022 23:11:10.

2022-01-26  Karl Berry  <karl@freefriends.org>

	* gui/print-log.h (info): don't declare unintended `info' variable
	with type. From Evan Miller, tex-k 26 Jan 2022 10:55:35.

2021-03-14  Karl Berry  <karl@freefriends.org>

	* string-utils.c (shell_escape_string): escape other shell
	metacharacters and whitespace.

2021-03-12  Norbert Preining  <norbert@preining.info>

	* string-utils.c (shell_escape_string): also escape &.

2021-03-14  Norbert Preining  <norbert@preining.info>

	* string-utils.c (shell_escape_string): also escape &.

2020-03-02  Karl Berry  <karl@freefriends.org>

	* main.c (is_good_dvi_file): avoid using strnlen, not present
	on Solaris.
	https://tug.org/pipermail/tlbuild/2020q1/004659.html

2020-03-01  Karl Berry  <karl@freefriends.org>

	* Import xdvi-22.87.04 from
	https://sourceforge.net/projects/xdvi/files/xdvik, includes
	changes made here.

2019-07-22  Karl Berry  <karl@freefriends.org>

	* psgs.c (initGS): don't use now-gone-from-ghostscript execute
	operator; from Paul Vojta.

2019-05-31  Karl Berry  <karl@freefriends.org>

	* ac/xdvik.ac (xdvi-x-toolkit): the default is always xaw,
	and has been for a long time. Nelson mail to tlbuild,
	31 May 2019 11:39:52.

2019-03-25  Karl Berry  <karl@freefriends.org>

	* xdvi.1.in: omit unused second font letter for option names.
	From Debian.

2018-01-17  Karl Berry  <karl@freefriends.org>

	* xdvi.1.in: remove trailing whitespace to placate Debian.
	Use \& instead of "," after end-of-line "e.g." for consistency.
	Remove spurious doubled words.

2018-01-17  Norbert Preining  <norbert@preining.info>

	* add .desktop file
	* Makefile.am: add desktop file installation

2017-08-07  Hironobu Yamashita  <h.y.acetaminophen@gmail.com>

	* Makefile.am: config.xdvi is installed under
	texmf-dist/dvips/xdvi, not texmf-dist/dvips/config.

2016-04-06  Karl Berry  <karl@tug.org>

	* Import xdvik-22.87.03.

2015-04-17  Karl Berry  <karl@tug.org>

	* psheader.txt (/psfts, /startTexFig, /doclip, /endTexFig):
	remove these defns from (obsolete and nonfree) psfig.
	Report from Werner Fink, 14 Apr 2015 17:16:23.

2014-12-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xdvi.c (set_windowsize): Use "%u" to print unsigned int.
	* hypertex.h: Correct typo in spelling of header guard.

2014-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* encodings.c: Do not compile close_iconv() when not used.
	* translations.h: Do not #include "c-auto.h".
	* xdvi.h: Do not #include "c-auto.h" and "kpathsea/c-auto.h".

	* m4/xdvi-xinput-2-1.m4: Test link instead of compile step.

2014-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ft.c, gui/xaw_menu.c, hypertex.c: Avoid undefined behaviour
	when char is signed.

2014-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* squeeze/Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS.

2014-05-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* m4/xdvi-xinput-2-1.m4: Change the default to disable 'smooth
	scrolling' for native TL build.

2014-04-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Imported xdvik-22.87.tar.gz
	from http://sourceforge.net/projects/xdvi/files/xdvik/.

2013-09-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: Drop ACLOCAL_AMFLAGS.
	* configure.ac: Use AC_CONFIG_MACRO_DIRS.

2013-07-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* *.[ch], gui/*.[ch], tests/*.[ch]: Include "xdvi-config.h"
	first in all compilable source files but not in headers, as
	claimed in a comment at the top of xdvi-config.h.

2013-07-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* font-open.c, psdps.c, xdvi.h: Replace bcopy(f, t, l) =>
	memcpy(t, f, l).
	* psgs.c: Replace rindex() => strrchr().

2013-06-28  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xlwradioP.h: May need to #include <X11/Xaw/XawInit.h>.

2013-06-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Drop variables that are set but not used:
	* dvi-draw.c: 'actual_w'.
	* events.c: 'arg_bak' and 'clear_statusline'.
	* gui/print-dialog.c: 'dest_label' and 'range_label'.
	* gui/search-dialog.c: 'timeout'.
	* hypertex.c: 'x_delta'.
	* special.c: 'found' (two times).
	* xdvi.c: 'exclusive'.

2013-06-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* m4/xdvi-check-iconv.m4: Somewhat improved logic.

2013-04-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Imported xdvik-22.86.tar.gz
	from http://sourceforge.net/projects/xdvi/files/xdvik/.

	* Makefile.am: Renamed ChangeLog.TL => ChangeLog.
	(install-data-hook): Make sure $(DESTDIR)$(dvipsconfdir) exists.

	* util.c (find_str_int_hash): Return type of hash_lookup() is
	'const_string *'.

	* ft.c (read_ft_char): Count bmTypeT words instead of bytes and
	avoid cast causing 'strict-aliasing rules' warning.

2013-02-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (xdvidir, pixmapdir): Change texmf => texmf-dist.

2012-12-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* util.c: Adapt to modified hash_lookup() return type.
	* Makefile.am, squeeze/Makefile.am: Enable silent rules.

2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am, tests/Makefile.am: Avoid use of deprecated INCLUDES.

2012-04-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Remove some obsolete comments.

	* m4/xdvi-check-iconv.m4, m4/xdvi-check-langinfo.m4,
	m4/xdvi-func-working-vsnprintf.m4: Update copyright statements
	with info provided by Paul Vojta <vojta@math.berkeley.edu>.

2012-04-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xdvi.c (run_dvi_file): Avoid unaligned access on some 64-bit
	systems.  Mail from Nelson H. F. Beebe <beebe@math.utah.edu>
	[tlbuild] Mon, 16 Apr 2012 18:48:34.

2012-04-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Imported xdvik-22.85.tar.gz
	from http://sourceforge.net/projects/xdvi/files/xdvik/.

	* mksedscript: Correctly handle strings with embedded blanks,
	e.g., '#define PACKAGE_STRING "xdvik 22.85"' and similar.

2012-03-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mime.c, xdvi.1.in: Use /usr/local/etc/{mimetypes=>mime.types}.

2012-03-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xdvi.1.in: Remove an unmatched #endif and formatting bugs.
	* Makefile.am: Fixed a typo (in comment).

2012-02-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Drop XDVI_CC_CONCAT and XDVI_SYS_SUNOS_4, the
	results are not used.
	* m4/xdvi-cc-concat.m4, m4/xdvi-sys-sunos4.m4: Removed.

2011-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: Replace ${prefix}/texmf => $(datarootdir)/texmf.

2011-07-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* font-open.[ch] (font_open): Constify `char **' parameter.
	* dvi-init.c (load_font): Cast font_open() argument to
	`const char **'.

2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* read-mapfile.c (read_map_file): Allow find_suffix() to return
	a const string.

2011-03-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* hypertex.c (launch_xdvi): `program_invocation_name' has been
	renamed into `kpse_invocation_name'.

2010-05-25  Karl Berry  <karl@tug.org>

	* m4/xdvi-check-iconv.m4 (--with-iconv): new option to
	completely disable checking for iconv.  Needed due to the local
	configuration of the machine used to build the sparc-linux
	binaries (namely, weyl.math.utah.edu).

2010-05-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tests/run_tests.c, test_dl_list.c: Cast size_t to long for
	printing to avoid warnings on 64Bit systems.

2010-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Remove AC_TYPE_SIZE_T, now part of KPSE_COMMON.

2009-12-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tests/test_string_utils.c (test_my_stristr): Make the test
	more stringent (and closer to the original code).

2009-12-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tests/test_string_utils.c (test_my_stristr): Make test result
	independent of compiler optimizations (constant folding).

2009-12-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tests/test_string_utils.c (test_expand_filename):
	Do not prepend cwd to absolute filenames.

2009-11-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Suppress some compiler warnings (too many).

2009-11-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac, xdvi.h: Require recent kpathsea version.

2009-08-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Avoid some maximal compiler warnings.
	* encodings.c (cjk2unicode): Unconstify string arg.
	* events.c (show_timers): Constify string arg.
	* gui/sfPath.c (SFLogin): Constify string members.
	(SFstrdup): Convert arg1 to result that can be assigned to const
	strings, constify remaining arg.
	(SFunreadableDir): Constify local var.
	* gui/sfPath.[ch] (SFchdir): Constify string arg.
	* hypertex.c (remote_URL_schemes): 'char *const'=>'const char*'.
	* main.c (compare_strings): 'const char**'=>'const char*const*'.
	* mime.c (mailcap_map): Constify string members.
	* pixmaps/toolbar.xpm, pixmaps/toolbar2.xpm: Constify pixmaps.


2009-08-26  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Avoid some maximal compiler warnings.
	* dvi-init.c (get_tmp_dvi_name), gui/Tip.c (foo),
	gui/sfDir.c (foo), gui/sfDraw.c (foo), gui/sfPath.c (foo),
	gui/sfSelFile.c (foo), gui/xaw_menu.c (foo),
	gui/xlwradio.c (foo), gui/xm_colorsel.c (foo),
	gui/xm_filesel.c (foo), gui/xm_menu.c (foo),
	gui/xm_prefs.c (foo), gui/xm_prefs_appearance.c (foo),
	gui/xm_prefs_fonts.c (foo), gui/xm_prefs_helpers.c (foo),
	gui/xm_prefs_page.c (foo), gui/xm_prefs_scroll.c (foo),
	gui/xm_toolbar.c (foo), image-magick.c (clear_cache, foo),
	pagehist.c (page_history_clear),
	psdps.c (DPSErrorProcHandler, foo),
	psgs.c (gs_resume_prescan, foo),
	psnews.c (initNeWS, foo), util.c (do_abort):
	ANSI C function definitions, i.e., '()'=>'(void)'.
	* xserver-info.c (print_display_info, print_visual_info,
	print_screen_info, foo): ANSI C function definitions.

2009-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Check for <kpathsea/version.h> and ...
	* xdvi.h: ... skip extern decl if found.

2009-06-29  Karl Berry  <karl@tug.org>

	* gui/help-window.c (default_help_general): avoid embedding
	date in binary.

2009-06-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* dvi-draw.c: do not #include "kpathsea/c-vararg.h" (after
	#include <stdarg.h>).
	* string-utils.h, xdvi.h, gui/message-window.c, 
	gui/statusline.c, tests/test_string_utils.c:
	#include <stdarg.h>, not "kpathsea/c-vararg.h".

	* xdvi.h: remove NeedFunctionPrototypes et al.

2009-06-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* events.c: avoid declaration after statement.

	from Vladimir Volovich <vvv@vsu.ru>.

2009-05-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* CHANGES: fixed version/relase-date such that mksedscript can
	extract them.

2009-04-28  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xdvi.h: guard typedef of iconv_char_pptrT by '#if HAVE_ICONV_H'.

	* squeeze/squeeze.c: add '#include <string.h>'.

2009-04-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xdvi.1.in (warnspecials): fixed duplicate entry, removing
	an #ifkpathsea without matching #endif.

2009-03-31  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Imported ftp://tug.org/tex/xdvik-22.84.15.tar.gz and
	adapted to new TeX Live build system (Automake & Co.).
	Renamed original files XXX -> XXX-22.84.15.

	* squeeze.c (removed): File moved ...
	* squeeze/squeeze.c (new): ... to here. Don't include
	any system dependent kpathsea headers, such that squeeze/
	can be configured separately for the build system.

2009-03-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* CHANGES: fixed version/relase-date such that mksedscript can
	extract them.

2008-07-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Imported ftp://tug.org/tex/xdvik-22.84.14.tar.gz and
	adapted to new TeX Live build system (autoconf-2.59+).

	* Makefile.in.orig, acconfig.h.orig, aclocal.m4.orig,
	configure.in.orig, depend.mk.orig, gui/Makefile.in.orig,
	gui/depend.mk.orig, kpathsea.ac.orig, tests/Makefile.in.orig,
	tests/depend.mk.orig, withenable.ac.orig (all new):
	Original files from xdvik-22.84.14.

	* Makefile.in, gui/Makefile.in, tests/Makefile.in:
	Added '@configure_input@' line and replace ac_include by
	kpse_include.

	* acinclude.m4 (new): Renamed from aclocal.m4.
	Renamed cache variables (must contain '_cv_').

	* acinclude.m4, configure.in, withenable.ac:
	Added lots of m4 quoting and third args of AC_DEFINE.

	* acconfig.h (removed): Use AC_DEFINE with three args to
	provide templates.

	* configure.in:
	Replaced AC_OUTPUT with arguments by KPSE_CONFIG_FILES,
	AC_CONFIG_FILES and AC_OUTPUT without arg.

	* kpathsea.ac (LIBKPATHSEACPPFLAGS): Set to '-I$(kpathsea_parent)'
	instead of '-I$(kpathsea_dir)' to avoid confusion between
	<c-auto.h> and <kpathsea/c-auto.h>.

	* depend.mk, gui/depend.mk, tests/depend.mk: Regenerated and
	cleaned by hand ('make depend' didn't quite do that). 

	* aclocal.m4, c-auto.in, configure: Regenerated.

2008-02-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* acinclude.m4: added quotes to DEFUN's first args, added
	AC_DEFINES's third arg to provide autoheader templates ...
	* configure.in, withenable.ac: added AC_DEFINES's third arg to provide
	autoheader templates ...
	* acconfig.h: ... removed.

2008-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Convert from autoconf-2.13 to autoconf-2.59+:
	* configure.in (AC_PREREQ): Require autoconf-2.59.
	* Makefile.in, gui/Makefile.in: Add @configure_input@ lines.
	* acinclude.m4 (new): Renamed from aclocal.m4.
	* aclocal.m4 (new): Generated (aclocal -I ../m4).
	* ../../libs/t1lib/t1lib.ac: Fixed a typo.
	* configure: Regenerated (autoconf).