Debian Codegraph @

texk/bibtex-x/ChangeLog

raw
1 2026-01-25 TANAKA Takuji <[email protected]>
2
3 * configure.ac, version.h:
4 Bump version to 4.03 (25 jan 2026).
5 * bibtex-4.c:
6 Support characters defined by Unicode 17.0.
7 It works with ICU 78.1 or later.
8 * tests/bibtexu-iscjk.test,
9 tests/iscjku.bbl, tests/testiscjku.bib:
10 Update tests.
11
12 2025-01-21 Vincenzo Mantova <[email protected]>
13
14 * configure.ac (KPSE_KPATHSEA_FLAGS): call even if bibtexu is disabled.
15 https://tug.org/pipermail/tlbuild/2024q2/005555.html
16
17 2024-01-27 Karl Berry <[email protected]>
18
19 * tests/bibtexu-iscjk.test: sed -E is not portable to Solaris 10
20 (and other systems); also, use sed -n .../p instead of grep.
21
22 2023-12-16 TANAKA Takuji <[email protected]>
23
24 * configure.ac, version.h:
25 Bump version to 4.02 (16 dec 2023).
26 * bibtex-4.c:
27 Support characters defined by Unicode 15.1.
28 It works with ICU 74.1 or later.
29 * tests/bibtexu-{char,iscjk}.test,
30 tests/iscjku.bbl, tests/testiscjku.bib, Makefile.am:
31 Update tests.
32
33 2023-08-30 TANAKA Takuji <[email protected]>
34
35 * tests/{bibtex8u-mem,bibtexu-char}.test:
36 Tweak for portability.
37
38 2023-08-20 TANAKA Takuji <[email protected]>
39
40 * bibtex.c, sysdep.h: Avoid compiler warnings on Windows.
41 * tests/bibtex8u-mem.test: Tweak.
42
43 2023-08-11 TANAKA Takuji <[email protected]>
44
45 * tests/bibtex{8,u}.test, tests/bibtex8-{char,sort}.test,
46 tests/bibtex8u-mem.test, bibtexu-{basic,char,range,sort,yannis}.test:
47 Make easier to test on Windows.
48 In bibtexu-char.test, all tests are skipped on MinGW
49 since it does not pass. More study is required.
50
51 2023-07-15 TANAKA Takuji <[email protected]>
52
53 * configure.ac, version.h:
54 Bump version to 4.01 (15 jul 2023).
55 * bibtex.{c,h}, bibtex-{1,2,3}.c, utils.c, gblvars.h:
56 Define "max_print_line" by function setup_bound_variable().
57 * bibtex-{1,4}.c:
58 Support characters defined by Unicode 15.0
59 and fix the degrade at 2023-07-08.
60 * bibtex-{2,3}.c, utils.c, sysdep.h:
61 Allow 8-bit/Unicode file names (both on Unix/Linux and Windows).
62 * tests/bibtexu-char.test: Enable test rc=16 again.
63 * tests/bibtex{8,u}.test, tests/bibtex8u-mem.test,
64 caseu.bbl, iscjku.bbl, testcaseu.bib, testiscjku.bib:
65 Update tests.
66
67 2023-07-09 Karl Berry <[email protected]>
68
69 * tests/bibtexu-char.test (is.knj.str$): test fails (rc=16).
70
71 2023-07-08 TANAKA Takuji <[email protected]>
72
73 * utils.c, gblprocs.h:
74 Enable to build with system ICU DLL icu.dll
75 for Windows 10 version 1903 (May 2019 Update) or later.
76 https://learn.microsoft.com/en-us/windows/win32/intl/international-components-for-unicode--icu-
77 * bibtex-{1,4}.c:
78 Enable to build with older ICU.
79
80 2023-04-12 Karl Berry <[email protected]>
81
82 * tests/bibtex8.test,
83 * tests/bibtexu.test: use different basenames for the
84 different bibtex programs. Hoping to fix report of sporadic
85 failures from Werner Fink, 12 Apr 2023 12:46:56.
86
87 2023-04-10 TANAKA Takuji <[email protected]>
88
89 * tests/substr[au].bbl, tests/testsubstr.bst:
90 Add more tests for substring$.
91
92 2023-01-29 Karl Berry <[email protected]>
93
94 * tests/bibtexu-sort.test,
95 * tests/bibtexu-char.test: set LC_ALL and LANGUAGE to avoid
96 locale-dependent failure. Report from Johannes Hielscher,
97 tlbuild mail 29 Jan 2023 16:28:24.
98 (Also minor shell portability changes.)
99
100 2022-09-12 Karl Berry <[email protected]>
101
102 * README: new file to mention both programs.
103 * bibtex8.1: remove old addresses for Kempson and Aguilar-Sierra.
104
105 2022-09-02 TANAKA Takuji <[email protected]>
106
107 * bibtex.c:
108 Initialize max_print_line after checking options.
109 This change prevents unwanted looking for texmf.cnf.
110
111 2022-08-30 Karl Berry <[email protected]>
112
113 * bibtex8.1,
114 * bibtexu.1: typo fixes from Hilmar Preu\ss{}e,
115 https://tug.org/pipermail/tex-live/2022-June/048227.html
116
117 2022-05-22 TANAKA Takuji <[email protected]>
118
119 * version.h:
120 Bump version to 4.00 (22 may 2022).
121 * bibtex.c, utils.c, version.h:
122 Show "Release version" and TeX Live version at the first line
123 of a banner.
124
125 2022-05-17 TANAKA Takuji <[email protected]>
126
127 * version.h:
128 Bump version to 4.00 (17 may 2022).
129 * bibtex-4.c, bibtex.h:
130 Fix a bug of text.prefix$ and text.length$ in bibtexu.
131 * tests/testsubstr[au].bib, substr[au].bbl, txtprfx[au].bbl:
132 Update tests.
133
134 2022-05-08 TANAKA Takuji <[email protected]>
135
136 * version.h:
137 Bump version to 4.00 (8 may 2022).
138 * bibtex-2.c:
139 Set LEGAL_ID_CHAR to id_class of 8bit characters.
140 * Makefile.am, tests/bibtex[8u].test,
141 tests/bibtex8-char.test, tests/bibtexu-sort.test,
142 tests/test{case,char,name,period,substr,txtprfx,width,iscjk}.bst,
143 tests/case[au].bbl, tests/chara.bbl, tests/name[au].bbl,
144 tests/substra.bbl, tests/txtprfxa.bbl, tests/yannis.bbl,
145 tests/exampl.bbl, tests/ltnbib.bib, tests/mlgbib.bib,
146 tests/testcase[au].bib, tests/yannis.bib:
147 Update tests.
148
149 2022-05-02 TANAKA Takuji <[email protected]>
150
151 * version.h:
152 Bump version to 4.00 (2 may 2022).
153 * bibtex.[ch], gblvars.h:
154 Accept max_print_line variable in kpathsea.
155 We can define max_print_line.bibtex8 or max_print_line.bibtexu
156 in texmf.cnf.
157 * tests/bibtex[8u]-char.test, tests/name[au].bbl:
158 Update tests.
159
160 2022-04-29 TANAKA Takuji <[email protected]>
161
162 * configure.ac, version.h:
163 Bump version to 4.00 (29 apr 2022).
164
165 Both BibTeX8 and BibTeXu::
166 * bibtex.[ch], utils.[ch], datatype.h, gblprocs.h, gblvars.h, sysdep.h,
167 version.h, bibtex-[1234].c, HISTORY:
168 Remove keywords for RCS from headers since we do not use RCS anymore.
169 * bibtex-[234].c, bibtex.h, gblprocs.h, gblvars.h:
170 Add operators bitwise AND "&" and bitwise OR "|" to built-in functions
171 in style files.
172 * bibtex8.1, bibtexu.1, HISTORY: Update documents.
173 * Makefile.am, tests/bibtex[8u]-char.test,
174 tests/testcase.bst tests/testchar.bst,
175 tests/period[au].bbl, tests/testperiod[au].bib, tests/testperiod.bst,
176 tests/substr[au].bbl, tests/testsubstr[au].bib, tests/testsubstr.bst,
177 tests/txtprfx[au].bbl, tests/testtxtprfx.bst,
178 tests/width[au].bbl, tests/testwidth[au].bib, tests/testwidth.bst,
179 tests/name[au].{aux,bbl}, tests/{ltn,mlg}bib, tests/testname.bst,
180 tests/iscjku.{aux,bbl}, tests/testiscjku.bib, tests/testiscjk.bst:
181 Update tests.
182
183 BibTeXu only::
184 * bibtex-1.c:
185 Inhibit breaking lines between space and characters rather than Latin,
186 Greek, Cyrillic and Hangul Cyllables.
187 * bibtex-[234].c, bibtex.h, gblprocs.h, gblvars.h:
188 Add built-in functions is.cjk.str$ and is.kanji.str$ in style files
189 to check wheter a string is CJK or not.
190 * bibtex-[24].c:
191 Enhance built-in functions num.names$ and format.name$ in style files.
192 Ideographic/Fullwidth Comma ("、" U+3001, "," U+FF0C) in addition to
193 an " and " string is accepted as a separator between persons.
194 Ideographic Space (" " U+3000) in addition to a space " " is accepted
195 as a separator between a family name and a given name.
196
197 2022-04-21 TANAKA Takuji <[email protected]>
198
199 * configure.ac, version.h:
200 Bump version to 3.80 (21 apr 2022).
201 * bibtex-4.c:
202 Fix a bug of substring$ in bibtexu.
203 * tests/substr[au].bbl, tests/testsubstr[au].bib, tests/testsubstr.bst,
204 tests/txtprfx[au].bbl:
205 Update tests.
206
207 2022-04-16 TANAKA Takuji <[email protected]>
208
209 * configure.ac, version.h:
210 Bump version to 3.80 (16 apr 2022).
211 * bibtex-2.c, bibtex-4.c, bibtex.h, gblvars.h:
212 Support width$ for Latin-1 characters in bibtex8.
213 Support width$ for Latin-1, Latin Extended-A, CJK characters in bibtexu.
214 Note other character sets (Greek, Cyrillic, etc.) are not impremented yet.
215 * bibtex-2.c, bibtex-4.c, gblproc.h:
216 Support substring$ for characters on Unicode supplementary planes in bibtexu.
217 * bibtex-3.c:
218 Ignore add.period$ after Unicode punctuation marks ‼⁇⁈⁉‽!?。 . in bibtexu.
219 * bibtex-4.c:
220 Accept characters over ASCII by int.to.chr$ in bibtex8 & bibtexu.
221 Accept multibyte characters by chr.to.int$ in bibtexu.
222 * Makefile.am,
223 tests/bibtex8u-mem.test, tests/bibtex[8u]-{sort,char}.test,
224 tests/sortu.aux, tests/sortu-{az,da,en,fi,tr}.bbl, tests/testsortu.bib,
225 tests/case[au].{aux,bbl}, tests/testcase[au].bib, tests/testcase.bst,
226 tests/char[au].{aux,bbl}, tests/testchar[au].bib, tests/testchar.bst,
227 tests/period[au].{aux,bbl}, tests/testperiod[au].bib, tests/testperiod.bst,
228 tests/substr[au].{aux,bbl}, tests/testsubstr[au].bib, tests/testsubstr.bst,
229 tests/txtprfx[au].{aux,bbl}, tests/testtxtprfx.bst,
230 tests/width[au].{aux,bbl}, tests/testwidth[au].bib, tests/testwidth.bst:
231 Add new tests.
232
233 2022-02-05 Karl Berry <[email protected]>
234
235 * configure.ac,
236 * version.h: version 3.72 (05 feb 2022).
237
238 2021-08-21 TANAKA Takuji <[email protected]>
239
240 * bibtex-4.c:
241 Fix bug of collation (check END_OF_STRING, compare arg1 and arg2).
242 * bibtex-2.c, gblproc.h:
243 Fix bug of making upper/lower cases.
244 It may remain a bug when lengths are different between
245 from-string and to-string, for example:
246 U+00DF ß LATIN SMALL LETTER SHARP S, 0xC3 0x9F in UTF-8
247 U+1E9E ẞ LATIN CAPITAL LETTER SHARP S, 0xE1 0xBA 0x9E in UTF-8
248 * tests/ubasic.{bib,bbl},yannis.{bib,bbl}:
249 Update.
250 * tests/bibtexu-yannis.test:
251 Reenable again (fixed the fails on FreeBSD, OpenBSD, sparc-solaris).
252 https://build.contextgarden.net/#/waterfall?tags=c.texlive
253
254 2021-08-14 TANAKA Takuji <[email protected]>
255
256 * bibtex.c, bibtex-[23].c, gbl{proc,vars}.h:
257 Use ucol_strcollUTF8() for collation.
258 Use u_strToUTF8WithSub() in icu_fromUChars() and
259 u_strFromUTF8WithSub() in icu_toUChars() in stead of ucnv_*.
260 Initialize ICU collator only once.
261
262 2021-06-21 Karl Berry <[email protected]>
263
264 * tests/bibtexu-yannis.test: disable again. Fails on
265 FreeBSD, OpenBSD, sparc-solaris.
266 https://tug.org/pipermail/tlbuild/2021q2/004918.html
267
268 2021-06-20 Karl Berry <[email protected]>
269
270 * Makefile.am (bibtexu_tests): add tests/bibtexu-{basic,range}.test.
271 (EXTRA_DIST, DISTCLEANFILES): likewise.
272 * tests/bibtexu-{basic,range}.test,
273 * tests/u{basic,range}.{aux,bbl,bib,tex}: new files from Dmitry.
274
275 * tests/bibtexu-yannis.test: reenable (probably failed due to lack
276 of pthread?), use same test template.
277 * tests/yannis.bib: credit Yannis.
278
279 2021-06-20 Dmitry Zheleznyakov <[email protected]>
280
281 * bibtex-4.c (x_substring, web section 438): adjust pop_lit1
282 before icu_fromUChars calls, to avoid crash on page ranges.
283
284 2021-06-19 Karl Berry <[email protected]>
285
286 * configure.ac [enable_bibtexu]: also check for -lpthread.
287 * Makefile.am (bibtexu_LDADD): include $(PTHREAD_LIB).
288 Report and fix from Dmitry Zheleznyakov:
289 https://tug.org/pipermail/tex-k/2021-June/003591.html
290
291 2021-02-06 TANAKA Takuji <[email protected]>
292
293 * utils.c, configure.ac:
294 Show TeX Live version by version option.
295 Show bug report address in usage.
296
297 2019-05-22 Hironobu Yamashita <[email protected]>
298
299 * bibtex-2.c, bibtex-3.c: Better error messages for debug.
300 * bibtex-3.c (icu_strToUpper): React to Str_language.
301
302 2019-05-05 Hironobu Yamashita <[email protected]>
303
304 * bibtexu-yannis.test, yannis.aux, yannis.bib, yannis.bbl:
305 New test files for BibTeXu.
306 * Makefile.am: Add the new test.
307
308 2019-03-15 Hironobu Yamashita <[email protected]>
309
310 * Makefile.am: Add bibtex8.1 and bibtexu.1.
311 * bibtex8.1, bibtexu.1: New man pages.
312
313 2019-03-06 Hironobu Yamashita <[email protected]>
314
315 * bibtex-2.c: Check error status for every call of
316 u_strFromUTF8WithSub().
317
318 2019-03-05 Akira Kakuto <[email protected]>
319
320 * bibtex-2.c: Use u_strFromUTF8WithSub() with a substitution
321 character 0xfffd, instead of u_strFromUTF8().
322
323 2019-03-04 Hironobu Yamashita <[email protected]>
324
325 Both BibTeX8 and BibTeXu:
326 * bibtex-2.c: Add trace for sorting. (There is no related
327 code in the original BibTeX, but can be useful.)
328 Suppress compiler warnings.
329 * bibtex.c, utils.c: Print ICU version in BibTeXu.
330 * version.h: Bump version (04 mar 2019).
331
332 BibTeXu only:
333 * bibtex-2.c: Use u_strFromUTF8() instead of icu_toUChars()
334 while sorting for BibTeXu. Close UConverter properly.
335 * bibtex-4.c: Fix x_purify() for BibTeXu.
336 * utils.c: Default to Flag_8bit in BibTeXu. We should NOT
337 read any csf file in BibTeXu. (BibTeX8 is unaffected)
338
339 2017-04-27 Karl Berry <[email protected]>
340
341 * Makefile.am (bibtexu_LDADD): add $(ICU_LIBS_EXTRA).
342
343 2015-07-07 Peter Breitenlohner <[email protected]>
344
345 * Makefile.am: Better dependencies for 'make check'.
346 * ac/bibtex-x.ac: Fixed a typo.
347
348 2014-06-16 Peter Breitenlohner <[email protected]>
349
350 * Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS.
351
352 2013-03-19 Peter Breitenlohner <[email protected]>
353
354 Merge bibtex8/ and bibtexu/ into bibtex-x (extended).
355 * bibtex-[234].c, bibtex.[ch], gblprocs.h, gblvars.h, utils.c:
356 Use '#ifndef UTF_8 <bibtex8 code> #else <bibtexu code> #endif'.
357 * version.h: Set date to '18 mar 2013'.
358 Makefile.am, configure.ac: Adapted.
359
360 2013-03-18 Peter Breitenlohner <[email protected]>
361
362 BibTeX8
363 * bibtex-2.c: Use char_less_than and char_greater_than macros.
364
365 BibTeXu
366 * bibtex-[24].c, bibtex.h: Define and use DO_UTF8 to handle
367 1-, 2-, 3-, and 4-byte UTF-8 codes.
368 * tests/bibtex.test (removed): Renamed ...
369 * tests/bibtexu.test (new): ... into this.
370
371 2013-03-15 Peter Breitenlohner <[email protected]>
372
373 BibTeXu
374 Reduce diffs with bibtex8.
375 * bibtex-[1-4].c, bibtex.[ch], gblprocs.h, gblvars.h,
376 utils.[ch]: Drop unused code and adjust white space,
377 #include "unicode/*.h" only through gblprocs.h.
378
379 2013-02-08 Peter Breitenlohner <[email protected]>
380
381 * Makefile.am (btdocdir): Change texmf => texmf-dist.
382
383 2012-12-07 Peter Breitenlohner <[email protected]>
384
385 BibTeXu
386 * bibtex-2.c: Drop unused variable (gcc-4.6 warning).
387
388 2012-11-19 Peter Breitenlohner <[email protected]>
389
390 * Makefile.am: Avoid use of deprecated INCLUDES.
391
392 2012-10-11 Peter Breitenlohner <[email protected]>
393
394 * utils.c (c8read_csf): DEFAULT_BIBTEX_CSFILE is set to
395 "/nonesuch" in ../kpathsea/paths.h; so we use CSF_FILE_ENVVAR.
396
397 2012-08-04 Akira Kakuto <[email protected]>
398
399 BibTeXu
400 * bibtex.c : Change order of inclusion of headers to avoid warnings.
401
402 2012-04-12 Akira Kakuto <[email protected]>
403
404 * bibtex-2.c: Do not check whether Glob_Str_Size > Buf_Size,
405 and Ent_Str_size > Buf_Size, since Buf_Size can be changed
406 dynamically, whereas Glob_Str_Size and Ent_Str_Size are maximum
407 values which are constants.
408
409 2012-04-10 Norbert Preining <[email protected]>
410
411 * bibtex-2.c: Do not check whether Glob_Str_Size > Buf_Size,
412 since the former can be changed dynamically
413 * bibtex.h: Adjust BUF_SIZE to the value that matches bibtex.ch
414
415 2012-02-14 Peter Breitenlohner <[email protected]>
416
417 * bibtex.c (eoln): Accept both CR and LF as end-of-line.
418
419 2011-12-06 Peter Breitenlohner <[email protected]>
420
421 * Makefile.am: Replace ${prefix}/texmf => $(datarootdir)/texmf.
422
423 2011-10-04 Peter Breitenlohner <[email protected]>
424
425 BibTeX8
426 * Makefile.am (DISTCLEANFILES): Preserve distributed files.
427
428 BibTeXu
429 * Makefile.am (DISTCLEANFILES): Add CXXLD.sh.
430
431 2011-04-18 Peter Breitenlohner <[email protected]>
432
433 Avoid 'differ in signedness' warnings.
434 * datatype.h (PdsType_T): Do not declare as unsigned.
435 * bibtex-3.c (pre_define): Cast xord[] index to UChar_T.
436 * utils.c (c8read_csf): Cast name_of_file to 'char *'.
437
438 BibTeXu
439 * bibtex-2.c: A few casts to 'char *'.
440
441 2011-03-07 Peter Breitenlohner <[email protected]>
442
443 * utils.c (setup_bound_variable): `program_invocation_name' has
444 been renamed into `kpse_invocation_name'.
445
446 2010-10-04 Peter Breitenlohner <[email protected]>
447
448 BibTeXu
449 * tests/bibtexu.test (new): Just 'bibtexu -version'.
450 * Makefile.am: Add the new test.
451
452 2010-05-03 Akira Kakuto <[email protected]>
453
454 * bibtex.h: fix a bug in the macro BIB_XRETALLOC_STRING.
455
456 2010-03-24 Peter Breitenlohner <[email protected]>
457
458 * bibtex*.[ch], gblvars.h, utils.c: Obtain Ent_Str_Size and
459 Glob_Str_Size from environment or config file.
460 Dynamically allocate global strings arrays, literal stack
461 arrays, and single function space instances; reallocate them
462 as required.
463
464 2010-03-19 Peter Breitenlohner <[email protected]>
465
466 * utils.c: Default csfile and Max_Strings from env or config.
467 * bibtex.h (STR_ROOM): Call pool_overflow() as often as needed.
468 * bibtex-3.c (scan_fn_def): Same for increase Wiz_Fn_Space.
469 * bibtex-4.c (BST_STRING_SIZE_EXCEEDED): Drop extra "%ld".
470 (x_text_prefix): Add missing STR_ROOM.
471
472 BibTeX8
473 * bibtex.c: Call kpse_set_program_name with "bibtex8".
474
475 BibTeXu
476 * bibtex.c: Call kpse_set_program_name with "bibtexu".
477
478 2010-03-18 Peter Breitenlohner <[email protected]>
479
480 Dynamic allocation of name_of_file strings. No padding.
481 * bibtex-1.c (add_area): Not used and removed.
482 * bibtex-2.c (file_nm_size_overflow): Not used and removed.
483 * bibtex-3.c (s_bst_area, s_bib_area): Removed.
484 * gblvars.h (bib_area_string, bst_area_string): Removed.
485 * utils.c (open_ip_file, open_op_file): Adapted.
486
487 2010-03-17 Peter Breitenlohner <[email protected]>
488
489 * bibtex-1.c (check_cite_overflow): Reallocate cite_info,
490 cite_list, entry_exists, and type_list.
491 * bibtex.h (MAX_CITES): Initial allocation as in bibtex.web.
492 * gblvars.h (M_cites): Removed.
493 * utils.c (parse_cmd_line, usage): Ignore/remove --mcites.
494
495 * bibtex-1.c (add_database_cite): Fix bug, from bibtex.ch.
496
497 * Makefile.am (AM_CPPFLAGS): Remove obsolete -funsigned-char.
498
499 BibTeX8
500 * tests/bibtex-mem.test: New shell script for dynamic arrays.
501 * Makefile.am: Adapted.
502
503 2010-03-16 Peter Breitenlohner <[email protected]>
504
505 * bibtex-1.c, utils.c: Delay allocation of entry_ints and
506 entry_strs until the required size is known.
507 * bibtex.h (MAX_ENT_INTS, MAX_ENT_STRS): Removed.
508 * gblvars.h (M_entstrs, Max_Ent_Ints, Max_Ent_Strs): Removed.
509 * utils.c (parse_cmd_line, usage): Ignore/remove --mentstrs.
510
511 BibTeX8
512 * tests/sort.test: New shell script to test csfiles.
513 * tests/sort[123].{bbl,csf}, tests/test{data.bib,style.bst}:
514 Test data from Philipp Lehman <[email protected]>.
515
516 2010-03-15 Peter Breitenlohner <[email protected]>
517
518 * tests/bibtex.test: New shell script to test 7-bit mode.
519 * Makefile.am (TESTS, EXTRA_DIST, DISTCLEANFILES): Adapted.
520
521 * bibtex-1.c, bibtex-2.c: Reallocate bib_file, bib_list, and
522 s_preamble as needed.
523
524 * datatype.h (BufType_T): Declare as pointer instead of array.
525 * gblvars.h, utils.c: Dynamically allocate buffer, ex_buf,
526 out_buf, and sv_buffer.
527 * bibtex-1.c (add_out_pool): Call buffer_overflow to reallocate.
528 (buffer_overflow): Reallocate buffer, ex_buf, name_sep_char,
529 name_tok, out_buf, and sv_buffer as needed.
530
531 * utils.c (c8read_csf): Drastically reduce sx array size.
532
533 2010-03-14 Peter Breitenlohner <[email protected]>
534
535 * bibtex-1.c: Reallocate entry_ints, field_info as needed.
536 * bibtex-3.c: Reallocate wiz_functions as needed.
537 * gblvars.h, utils.c: Dynamically allocate bib_file, bib_list,
538 name_sep_char, name_tok, and s_preamble.
539 * gblvars.h (M_entints, M_fields, M_wiz_fn_space): Removed.
540 * utils.c (parse_cmd_line, usage): Ignore/remove --mentints,
541 --mfields, and --mwizfuns.
542
543 * bibtex-4.c: Added check for str_pool overflow (from bibtex).
544
545 * gblvars.h (Buf_Size, Max_Bib_Files): New global vars.
546 * utils.c: Set Buf_Size=BUF_SIZE, Max_Bib_Files=MAX_BIB_FILES.
547 Allocate bib_file, bib_list, name_sep_char, name_tok, and
548 s_preamble.[A
549 * bibtex-1.c, bibtex-2.c: Use Buf_Size and Max_Bib_Files.
550
551 2010-03-13 Peter Breitenlohner <[email protected]>
552
553 Dynamic allocation of arrays.
554 * bibtex.h (MYRETALLOC, BIB_XRETALLOC, BIB_XRETALLOC_NOSET):
555 Preprocessor macros used to reallocate arrays.
556 * utils.[ch] (myrealloc): New function.
557 (mymalloc, myrealloc): Allocate at least 1 byte, to avoid NULL.
558 (checkdbg, checklong): Declare as static.
559
560 * bibtex-2.c (pool_overflow): Reallocate str_pool as needed.
561 * gblvars.h (M_pool): Removed.
562 * utils.c (parse_cmd_line, usage): Ignore/remove --mpool.
563
564 BibTeX8
565 * utils.c (usage): This is bibtex8, not bibtex.
566
567 2010-03-12 Peter Breitenlohner <[email protected]>
568
569 Determine hash_size from max_strings and compute hash_prime.
570 * bibtex.c (main): Don't call allocate_arrays.
571 Print newline after fatal error message.
572 * utils.c (allocate_arrays): Declare as static.
573 (compute_hash_prime): New function, using allocated arrays.
574 (set_array_sizes): Call allocate_arrays and compute_hash_prime.
575 * utils.h (allocate_arrays): Remove.
576
577 2010-03-10 Peter Breitenlohner <[email protected]>
578
579 * bibtex.h: Adapt to bibtex.web final 0.99d from Oren.
580
581 2010-03-09 Peter Breitenlohner <[email protected]>
582
583 * bibtex-1.c: Remove spurious format spec in BIBTEX_OVERFLOW.
584
585 2010-03-02 Peter Breitenlohner <[email protected]>
586
587 * bibtex-1.c, bibtex.h: Adapt to bibtex.web 0.99d test 1
588 from Oren, breaking .bbl lines only at whitespace.
589
590 2010-02-18 Peter Breitenlohner <[email protected]>
591
592 * sysdep.h (IMPLEMENTATION): Define for MinGW32.
593 * utils.c [WIN32]: Do not #include <kpathsea/getopt.h>.
594 * utils.h (CDECL) [WIN32]: #undef before re-#define.
595
596 2010-02-10 Peter Breitenlohner <[email protected]>
597
598 * getopt.[ch], getopt1.h: Removed, use libkpathsea.
599 * utils.c: #include <kpathsea/getopt.h> instead of "getopt.h".
600 * Makefile.am (EXTRA_DIST): remove getopt.[ch] and getopt1.h.
601
602 2009-11-20 Peter Breitenlohner <[email protected]>
603
604 * bibtex*.c, utils.c: #include <config.h>.
605 * configure.ac: Add AC_CONFIG_HEADERS([config.h]).
606
607 2009-10-24 Peter Breitenlohner <[email protected]>
608
609 * utils.c (open_ip_file, open_op_file): Check for legitimate
610 file names via kpse_{in,out}_name_ok() before opening files.
611
612 2009-10-08 Peter Breitenlohner <[email protected]>
613
614 Import BibTeXu from http://omega.enstb.org/yannis/bibtexu/.
615 Avoid various compiler warnings:
616 * bibtex-[234].c: unused vars, decl. after stmt., return with
617 value in void function.
618 * bibtex-[23].c: #include "unicode/ustring.h".
619
620 2009-09-30 Peter Breitenlohner <[email protected]>
621
622 * utils.[ch] (getopt_str): Declare string as const.
623 (debug_msg): Declare param2 string as const.
624 (usage): Declare param string as const.
625 * datatype.h (PdsType_T): Declare char array as const.
626
627 2009-06-18 Peter Breitenlohner <[email protected]>
628
629 * Makefile.am (AM_CFLAGS): enable compiler warnings.
630 * bibtex-3.c (str_lookup): silence 'used uninitialized' warning.
631 * datatype.h, gblvars.h: in various places replace Integer8_T
632 (i.e., char) by UChar_T (i.e., unsigned char).
633 * utils.c (c8read_csf): avoid unused variable.
634 * remove rcsid's.
635
636 * FIXME: still needs careful checking for signed/unsigned char.
637
638 2009-06-04 Karl Berry <[email protected]>
639
640 * Makefile.am (AM_CPPFLAGS): move -funsigned-char here,
641 since we don't want to pass it to the loader.
642 peb tlbuild mail 3 Jun 2009 17:37:38 +0200.
643
644 2009-05-28 Peter Breitenlohner <[email protected]>
645
646 Adapt to TL2009 build system.
647
648 2008-03-01 Peter Breitenlohner <[email protected]>
649
650 * sysdep.h: avoid redefinition of TRUE and FALSE.
651
652 2008-02-29 Peter Breitenlohner <[email protected]>
653
654 * configure.in: added AC_CONFIG_HEADERS (moved
655 from ../kpathsea/common.ac to here).
656
657 2008-01-31 Peter Breitenlohner <[email protected]>
658
659 * utils.c: Fix a typo (relevant for non-kpathsea version).
660
661 2008-01-30 Peter Breitenlohner <[email protected]>
662
663 Convert from autoconf-2.13 to autoconf-2.59+:
664 * Makefile.in: Add @configure_input@ line.
665 * aclocal.m4 (new): Generated (aclocal -I ../m4).
666 * configure: Regenerated (autoconf).
667
668 2007-07-16 Karl Berry <[email protected]>
669
670 * bibtex.h (BUF_SIZE, MAX_CITES, MAX_ENT_INTS, MAX_ENT_STRS,
671 MAX_STRS): increase. From panov, 12 Jul 2007 12:13:38.