summaryrefslogtreecommitdiff
path: root/Build/source/texk/ptexenc/ChangeLog
blob: 7cbc7c0571ef1120375cc3690037cbdc6a30f642 (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
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
2024-03-10  Karl Berry  <karl@tug.org>

	* TL'24 release.

2024-02-11  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c, ptexenc/ptexenc.h:
	Add function guessing end-of-line code.
	* ptekf.c: Better treatment of end-of-line.
	* tests/ptekf-eol.test: New tests for end-of-line.
	* Makefile.am: Adjust.
	* version.ac: Bump to 1.4.6.
	https://github.com/texjporg/tex-jp-build/issues/142

2024-02-10  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptekf.1: Add command line manual.
	* ptekf.c: Tweak command line help message.
	* Makefile.am: Adjust.

2023-02-09  Karl Berry  <karl@tug.org>

	* version.ac: remove /dev, for TL24.

2024-02-01  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c, ptexenc/ptexenc.h, kanjicnv.c, ptexenc/kanjicnv.h:
	Add to support ISO-8859 in guessing input file encodings.
	* ptekf.c: Add a new simple encoding conversion utility "ptekf"
	to analyze file encoding conversion procedure.
	* tests/ptekf-{smoke,guess,conv}.test,
	tests/enc-amb0.bib-{euc,euc-utf8,jis,sjis,sjis-utf8,utf8},
	tests/enc-amb1.bib-{euc,jis,sjis,sjis-utf8,utf8},
	tests/enc-amb2,bib_{euc,sjis}-utf8,
	tests/enc-{euc,jis,sjis}.bib-utf8,
	tests/enc-utf8{,a,b}.bib-{euc,jis,sjis,utf8}:
	New tests to guess/convert encoding.
	https://github.com/texjporg/tex-jp-build/issues/142
	* configure.ac, Makefile.am: Adjust.
	* version.ac, COPYRIGHT: Update copyright year.
	* version.ac: Bump to 1.4.5/dev.

2023-09-11  Hironobu Yamashita  <h.y.acetaminophen@gmail.com>

	* unicode.c (UPTEXtoUCS): if >=UCS_MAX not >UCS_MAX.

2023-02-09  Karl Berry  <karl@tug.org>

	* version.ac: remove /dev, for TL23.

2023-01-01  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c, ptexenc/ptexenc.h:
	Remove unused function ptenc_get_command_line_args().
	* version.ac, COPYRIGHT: Update copyright year.

2022-12-22  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptexenc.c, ptexenc/ptexenc.h:
	Add a new function ptenc_conv_first_line()
	to accept file names with JIS X 0208 characters
	in `(e)(u)ptex --kanji-internal={euc,sjis}`.
	https://github.com/texjporg/tex-jp-build/issues/136
	* version.ac: Bump to 1.4.3/dev.

2022-09-24  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c: Skip guessing file encoding if input is from pipe.
	https://github.com/texjporg/tex-jp-build/issues/148

2022-09-01  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptexenc.c: Initialize infile_enc_auto only when this variable
	is first used (input_line2).
	https://github.com/texjporg/tex-jp-build/pull/144

2022-06-12  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c, unicode.c, ptexenc/ptexenc.h, ptexenc/unicode.h:
	Add new functions ptenc_guess_enc() and set_guess_file_enc()
	to support guessing input file encodings.
	https://github.com/texjporg/tex-jp-build/issues/142
	* version.ac: Bump to 1.4.2/dev.

2022-03-21  Karl Berry  <karl@tug.org>

	* TL'22 release.

2022-02-05  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptexenc.c, ptexenc/ptexenc.h: Add is_terminalUTF8.

2022-01-22  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptexenc.c, ptexenc/ptexenc.h, unicode.c, ptexenc/unicode.h:
	Distinguish 8-bit characters and Japanese characters by using
	flag 0x100 for Japanese char.
	* version.ac: Bump to 1.4.0.

2022-01-18  Karl Berry  <karl@tug.org>

	* version.ac: remove /dev, for TL22.

2021-06-29  Hironobu Yamashita  <h.y.acetaminophen@gmail.com>

	* kanjicnv.c, ptexenc/kanjicnv.h: Always return 0 for
	invalid code conversions between JIS/EUC/SJIS/KUTEN/UCS.
	* jisx0208.h: Remove unused entry of UnicodeTbl.

2021-06-25  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* unicode-jp.c: changed the returned value of UCS2toJISnative(0)
	from 0x222F to 0 to indicate that it is invalid.

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

	* version.ac: now 1.3.11/dev since TL21 is released.

2021-03-23  Karl Berry  <karl@tug.org>

	* TL'21.

2021-02-17  Karl Berry  <karl@tug.org>

	* version.ac: remove /dev for 1.3.9, for TL21.

2020-05-10  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptexenc.c: Fix a bug of end of line in input_line2().
	https://github.com/texjporg/tex-jp-build/issues/100

2020-04-10  Karl Berry  <karl@tug.org>

	* version.ac: now 1.3.9/dev since TL'19 is released.

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

	* version.ac (ptexenc_version): remove /dev (just 1.3.8) for TL'20.

2019-09-09  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptexenc.c: Fix a bug that size of buf was insufficient, when
	converting the file name from UTF-8 to the internal encoding.
	This bug could cause "Abort trap: 6".
	https://github.com/texjporg/tex-jp-build/issues/89
	* ptexenc.c: Avoid to collapse some invalid UTF-8 sequences into
	a "Japanese" character U+0027 (1-2-15 in JIS X 0213).
	https://github.com/texjporg/tex-jp-build/pull/90

2019-05-03  Karl Berry  <karl@tug.org>

	* version.ac: 1.3.8/dev since TL'19 is released.

2019-02-15  Akira Kakuto  <kakuto@w32tex.org>

	* ptexenc.c: Initialize a local variable.

2019-02-11  Karl Berry  <karl@tug.org>

	* version.ac: no /dev for TL'19.

2019-01-23  Hironobu Yamashita  <h.y.acetaminophen@gmail.com>

	* ptexenc.c, ptexenc/ptexenc.h: define enc_to_string() and
	get_internal_enc() as extern.

2018-06-14  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c, ptexenc/ptexenc.h: remove sjisterminal (w32 only).

2018-06-09  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c, ptexenc/ptexenc.h: Add new functions
	ptenc_from_utf8_string_to_internal_enc(),
	ptenc_from_internal_enc_string_to_utf8() and
	ptenc_get_command_line_args() to support UTF-8 file names
	on UTF-8 locale in pTeX (Unix-like platform only).

2018-03-26  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c: Change default_kanji_enc from ENC_SJIS to ENC_UTF8
	(Windows only).

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

	* ptexenc.c: #include <kpathsea/c-pathmx.h>, per Debian.

2017-09-09  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>

	* ptexenc.c, ptexenc/ptexenc.h: Add a new function setstdinenc()
	 for the primitive \epTeXinputencoding in e-(u)pTeX.

2017-03-18  Karl Berry  <karl@tug.org>

	* version.ac (ptexenc_version): 1.3.5dev => 1.3.5 for TL17.

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

	* version.ac (ptexenc_version): 1.3.4 => 1.3.5dev.

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

	* version.ac: remove /dev for start of 2016 builds.

2016-03-01  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c: Increase default OPEN_MAX on system
	lacking of OPEN_MAX.

2016-02-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c, ptexenc/ptexenc.h: Add a function setinfileenc() for a new
	primitive \epTeXinputencoding in e-(u)pTeX. (from N. Abe).

2016-01-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c: Fix a bug, reported by N. Abe, in isUTF8Nstream().

2015-10-25  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* ptexenc.c: Enable composition of Hiragana, Katakana
	from combining character sequences to precomposed characters
	in upTeX.

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

	* version.ac: Update version number 1.3.3 => 1.3.4dev.

2015-05-21  Karl Berry  <karl@tug.org>

	* TL'15.

2015-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: 1.3.3 (without the dev) for 2015 pretest.

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

	* Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS.
	* version.ac: Update version number 1.3.2 => 1.3.3dev.

2014-04-28  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* ptexenc.c: Accept Ctrl+Z as EOF in console (keyboard)
	in upTeX on Windows.

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

	* version.ac: 1.3.2 (without the dev) for 2014 pretest.

2014-01-25  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* ptexenc.c: Return replacement character U+FFFD
	for illegal surrogate pair in console (keyboard) input
	in upTeX on Windows.

2014-01-03  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* ptexenc.c, ptexenc/unicode.h: Enable console (keyboard) input
	of Unicode characters in upTeX on Windows.

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

	* configure.ac (AH_TOP): Simplify the generation of c-auto.h.

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

	* Makefile.am: Use ../../am/rebuild.am.

2013-06-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c: Provide right console output on windows for both
	ptex and uptex if --sjis-terminal option is given. (from T. Tanaka).

2013-06-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc.c: Remove redundant lines in input_line2(), which are
	inconsistent with those lines in texmfmp.c.

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

	* version.ac: Update version number 1.3.1 => 1.3.2dev.

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

	* Makefile.am (*_la_LDFLAGS): Add -bindir for MinGW DLL.

2013-05-30  Karl Berry  <karl@tug.org>
	
	* TeX Live 2013.

2013-04-05  Karl Berry  <karl@tug.org>

	* version.ac: 1.3.1 to prepare for TL'13 pretest.

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

	* ptexenc.c: Use kpse_readable_file() with non-const arg.

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

	* Makefile.am: Avoid use of deprecated INCLUDES.

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

	* ptexenc.c: Define ptexenc_version_string as PTEXENCVERSION.

2012-08-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexenc/ptexenc.h: Correct set_enc_string() return type.

	Updates from W32TeX.
	* ptexenc.c (input_line2): Handle input files with Dos/Windows
	(CRLF) line endings.
	Various sjisterminal related changes.
	* unicode-jp.c: Update variation[] table.

2012-07-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: Update version number 1.3.0 => 1.3.1dev.

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

	Avoid 'differ in signedness' warnings.
	* ptexenc.c (write_hex): Cast buffer to 'char *'.

2012-02-29  Ken Brown  <kbrow1i@gmail.com>

	* Makefile.am (libptexenc_la_LIBADD): Add $(KPATHSEA_LIBS) as
	required with `-no-undefined' (at least for Cygwin).

2012-01-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* ptexenc/ptexenc.h, ptexenc.c: add set_prior_file_enc() in order to
	enable -kanji option in pdvitype and updvitype.
	(patch from TANAKA Takuji-san).

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

	* ptexenc.c, ptexenc/ptexenc.h: Declare and export Poptr.

2011-09-05  Takuji Tanaka <KXD02663@nifty.ne.jp>

	* ptexenc.c: Fix putc2() to output right unicode characters.

2011-08-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* unicode.c (UTF8length, UCStoUPTEX, UPTEXtoUCS),
	* unicode-jp.c (variation, JIStoUCS2): Patches from
	Takuji Tanaka <KXD02663@nifty.ne.jp>, mail [ptex:00300].

	* unicode-jp.c: #include <ptexenc/ptexenc.h> for
	is_internalUPTEX().  From Takuji Tanaka [ptex:00302].

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

	More support for upTeX and e-upTeX.  Updates from W32TeX.
	* ptexenc.c, ptexenc/ptexenc.h: Add is_internalEUC(),
	is_internalUPTEX(), ismultichr(), ismultichr(), toDVI(), and
	fromDVI().
	No nkf_disable(), nkf_open(), and nkf_close() for WIN32.

	* ptexenc/unicode.h, unicode.c: Add UCStoUPTEX(), UPTEXtoUCS().

	* ptexenc/kanjicnv.h, ptexenc/ptexenc.h, ptexenc/unicode.h:
	Use prototypes as in ptexenc/ from W32TeX.

	* ptexenc.c: Handle default encoding with/without uptex.
	* configure.ac: Remove configure option '--with-ptexenc-enc'.

2011-08-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: Update version number 1.2.0 => 1.3.0dev.
	* ptexenc.c, ptexenc/ptexenc.h: Add sjisterminal,
	infile_enc_auto, and enable_UPTEX().

	Renamed ChangeLog => ChangeLog.jp, ChangeLog.TL => ChangeLog.
	* Makefile.am (EXTRA_DIST): Adapted.

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

	Add support for upTeX and e-upTeX.
	* ptexenc/ptexenc.h, ptexenc.c: Export fromUCS().

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

	* version.ac: New file defining the ptexenc version.
	* configure.ac: Adapt. Use KPSE_LT_VERSION.

2011-01-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	For e-pTeX, adapted from eptex-110102.tar.xz by Hironori Kitagawa.
	* ptexenc.c, ptexenc/ptexenc.h: Export toUCS().
	* ptexenc/unicode.h: Export UCStoUTF8().
	* ptexenc.c: Change version string "ptetex" => "ptexenc".
	* Makefile.am: Install ptexenc/unicode.h.

	* configure.ac: Version 1.2.0.

2010-10-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (libptexenc_la_LDFLAGS): Add -no-undefined.

2010-06-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (libptexenc_la_CPPFLAGS): Define MAKE_PTENC_DLL
	instead of MAKE_KPSE_DLL.
	(libptexenc_la_SOURCES, nobase_include_HEADERS): Do not install
	kanjicnv.h, unicode-jp.h, and unicode.h.
	* ptexenc/ptexenc.h: Define and use PTENCDLL instead of KPSEDLL.
	* ptexenc/kanjicnv.h, ptexenc/unicode-jp.h, ptexenc/unicode.h:
	Remove KPSEDLL, everything is internal to the library.

2010-06-04  Karl Berry <karl@tug.org>
	
	* configure.ac (ptexenc_lib_devel): no more dev.

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

	* Makefile.am (nobase_nodist_include_HEADERS): Removed,
	don't install ptexenc/c-auto.h.

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

	Moved headers (except jisx0208.h) to ptexenc/, removed patches/.
	* Makefile.am, configure.ac: Adjusted.

2010-04-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexenc.[ch] (input_line3): Removed.
	* ptexenc.h (inputline3): Removed.
	(inputline2): Moved from here to ../web2c/ptexdir/kanji.h.

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

	* jisx0208.h (new): Copy of ../../libs/gd/gd-2.0.35/jisx0208.h.
	* Makefile.am, unicode-jp.c: Adjusted.

2010-04-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Version 1.1.1 (dev).

2010-04-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Avoid compiler warnings.
	* ptexenc.[ch]: Declare ptexenc_version_string, get_enc_string,
	and set_enc_string's params as const.
	* ptexenc.c (enc_to_string): Declare return value as const.
	(string_to_enc): Declare param as const.
	(in_filter): Declare as const.
	(getc4, ungetc4): Declare as static.
	(get_terminal_enc): Declare as static and string var s as const.
	* unicode.c (UCStoUTF8S): Skip unused function.

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

	* Makefile.am (rebuild): New target for forced (re-)build.
	(INCLUDES): Add $(KPATHSEA_INCLUDES) in case we use an installed
	(system) version.
	Add rule to rebuild libkpathsea, if necessary.

2010-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ptexenc.c (NOFILE) [MinGW32]: Always define it.

(This ChangeLog file public domain.)