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
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
|
2023-07-09 Karl Berry <karl@freefriends.org>
* tests/bibtexu-char.test (is.knj.str$): test fails (rc=16).
2023-07-08 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* utils.c, gblprocs.h:
Enable to build with system ICU DLL icu.dll
for Windows 10 version 1903 (May 2019 Update) or later.
https://learn.microsoft.com/en-us/windows/win32/intl/international-components-for-unicode--icu-
* bibtex-{1,4}.c:
Enable to build with older ICU.
2023-04-12 Karl Berry <karl@freefriends.org>
* tests/bibtex8.test,
* tests/bibtexu.test: use different basenames for the
different bibtex programs. Hoping to fix report of sporadic
failures from Werner Fink, 12 Apr 2023 12:46:56.
2023-04-10 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* tests/substr[au].bbl, tests/testsubstr.bst:
Add more tests for substring$.
2023-01-29 Karl Berry <karl@freefriends.org>
* tests/bibtexu-sort.test,
* tests/bibtexu-char.test: set LC_ALL and LANGUAGE to avoid
locale-dependent failure. Report from Johannes Hielscher,
tlbuild mail 29 Jan 2023 16:28:24.
(Also minor shell portability changes.)
2022-09-12 Karl Berry <karl@freefriends.org>
* README: new file to mention both programs.
* bibtex8.1: remove old addresses for Kempson and Aguilar-Sierra.
2022-09-02 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* bibtex.c:
Initialize max_print_line after checking options.
This change prevents unwanted looking for texmf.cnf.
2022-08-30 Karl Berry <karl@freefriends.org>
* bibtex8.1,
* bibtexu.1: typo fixes from Hilmar Preu\ss{}e,
https://tug.org/pipermail/tex-live/2022-June/048227.html
2022-05-22 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* version.h:
Bump version to 4.00 (22 may 2022).
* bibtex.c, utils.c, version.h:
Show "Release version" and TeX Live version at the first line
of a banner.
2022-05-17 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* version.h:
Bump version to 4.00 (17 may 2022).
* bibtex-4.c, bibtex.h:
Fix a bug of text.prefix$ and text.length$ in bibtexu.
* tests/testsubstr[au].bib, substr[au].bbl, txtprfx[au].bbl:
Update tests.
2022-05-08 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* version.h:
Bump version to 4.00 (8 may 2022).
* bibtex-2.c:
Set LEGAL_ID_CHAR to id_class of 8bit characters.
* Makefile.am, tests/bibtex[8u].test,
tests/bibtex8-char.test, tests/bibtexu-sort.test,
tests/test{case,char,name,period,substr,txtprfx,width,iscjk}.bst,
tests/case[au].bbl, tests/chara.bbl, tests/name[au].bbl,
tests/substra.bbl, tests/txtprfxa.bbl, tests/yannis.bbl,
tests/exampl.bbl, tests/ltnbib.bib, tests/mlgbib.bib,
tests/testcase[au].bib, tests/yannis.bib:
Update tests.
2022-05-02 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* version.h:
Bump version to 4.00 (2 may 2022).
* bibtex.[ch], gblvars.h:
Accept max_print_line variable in kpathsea.
We can define max_print_line.bibtex8 or max_print_line.bibtexu
in texmf.cnf.
* tests/bibtex[8u]-char.test, tests/name[au].bbl:
Update tests.
2022-04-29 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* configure.ac, version.h:
Bump version to 4.00 (29 apr 2022).
Both BibTeX8 and BibTeXu::
* bibtex.[ch], utils.[ch], datatype.h, gblprocs.h, gblvars.h, sysdep.h,
version.h, bibtex-[1234].c, HISTORY:
Remove keywords for RCS from headers since we do not use RCS anymore.
* bibtex-[234].c, bibtex.h, gblprocs.h, gblvars.h:
Add operators bitwise AND "&" and bitwise OR "|" to built-in functions
in style files.
* bibtex8.1, bibtexu.1, HISTORY: Update documents.
* Makefile.am, tests/bibtex[8u]-char.test,
tests/testcase.bst tests/testchar.bst,
tests/period[au].bbl, tests/testperiod[au].bib, tests/testperiod.bst,
tests/substr[au].bbl, tests/testsubstr[au].bib, tests/testsubstr.bst,
tests/txtprfx[au].bbl, tests/testtxtprfx.bst,
tests/width[au].bbl, tests/testwidth[au].bib, tests/testwidth.bst,
tests/name[au].{aux,bbl}, tests/{ltn,mlg}bib, tests/testname.bst,
tests/iscjku.{aux,bbl}, tests/testiscjku.bib, tests/testiscjk.bst:
Update tests.
BibTeXu only::
* bibtex-1.c:
Inhibit breaking lines between space and characters rather than Latin,
Greek, Cyrillic and Hangul Cyllables.
* bibtex-[234].c, bibtex.h, gblprocs.h, gblvars.h:
Add built-in functions is.cjk.str$ and is.kanji.str$ in style files
to check wheter a string is CJK or not.
* bibtex-[24].c:
Enhance built-in functions num.names$ and format.name$ in style files.
Ideographic/Fullwidth Comma ("、" U+3001, "," U+FF0C) in addition to
an " and " string is accepted as a separator between persons.
Ideographic Space (" " U+3000) in addition to a space " " is accepted
as a separator between a family name and a given name.
2022-04-21 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* configure.ac, version.h:
Bump version to 3.80 (21 apr 2022).
* bibtex-4.c:
Fix a bug of substring$ in bibtexu.
* tests/substr[au].bbl, tests/testsubstr[au].bib, tests/testsubstr.bst,
tests/txtprfx[au].bbl:
Update tests.
2022-04-16 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* configure.ac, version.h:
Bump version to 3.80 (16 apr 2022).
* bibtex-2.c, bibtex-4.c, bibtex.h, gblvars.h:
Support width$ for Latin-1 characters in bibtex8.
Support width$ for Latin-1, Latin Extended-A, CJK characters in bibtexu.
Note other character sets (Greek, Cyrillic, etc.) are not impremented yet.
* bibtex-2.c, bibtex-4.c, gblproc.h:
Support substring$ for characters on Unicode supplementary planes in bibtexu.
* bibtex-3.c:
Ignore add.period$ after Unicode punctuation marks ‼⁇⁈⁉‽!?。 . in bibtexu.
* bibtex-4.c:
Accept characters over ASCII by int.to.chr$ in bibtex8 & bibtexu.
Accept multibyte characters by chr.to.int$ in bibtexu.
* Makefile.am,
tests/bibtex8u-mem.test, tests/bibtex[8u]-{sort,char}.test,
tests/sortu.aux, tests/sortu-{az,da,en,fi,tr}.bbl, tests/testsortu.bib,
tests/case[au].{aux,bbl}, tests/testcase[au].bib, tests/testcase.bst,
tests/char[au].{aux,bbl}, tests/testchar[au].bib, tests/testchar.bst,
tests/period[au].{aux,bbl}, tests/testperiod[au].bib, tests/testperiod.bst,
tests/substr[au].{aux,bbl}, tests/testsubstr[au].bib, tests/testsubstr.bst,
tests/txtprfx[au].{aux,bbl}, tests/testtxtprfx.bst,
tests/width[au].{aux,bbl}, tests/testwidth[au].bib, tests/testwidth.bst:
Add new tests.
2022-02-05 Karl Berry <karl@freefriends.org>
* configure.ac,
* version.h: version 3.72 (05 feb 2022).
2021-08-21 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* bibtex-4.c:
Fix bug of collation (check END_OF_STRING, compare arg1 and arg2).
* bibtex-2.c, gblproc.h:
Fix bug of making upper/lower cases.
It may remain a bug when lengths are different between
from-string and to-string, for example:
U+00DF ß LATIN SMALL LETTER SHARP S, 0xC3 0x9F in UTF-8
U+1E9E ẞ LATIN CAPITAL LETTER SHARP S, 0xE1 0xBA 0x9E in UTF-8
* tests/ubasic.{bib,bbl},yannis.{bib,bbl}:
Update.
* tests/bibtexu-yannis.test:
Reenable again (fixed the fails on FreeBSD, OpenBSD, sparc-solaris).
https://build.contextgarden.net/#/waterfall?tags=c.texlive
2021-08-14 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* bibtex.c, bibtex-[23].c, gbl{proc,vars}.h:
Use ucol_strcollUTF8() for collation.
Use u_strToUTF8WithSub() in icu_fromUChars() and
u_strFromUTF8WithSub() in icu_toUChars() in stead of ucnv_*.
Initialize ICU collator only once.
2021-06-21 Karl Berry <karl@freefriends.org>
* tests/bibtexu-yannis.test: disable again. Fails on
FreeBSD, OpenBSD, sparc-solaris.
https://tug.org/pipermail/tlbuild/2021q2/004918.html
2021-06-20 Karl Berry <karl@freefriends.org>
* Makefile.am (bibtexu_tests): add tests/bibtexu-{basic,range}.test.
(EXTRA_DIST, DISTCLEANFILES): likewise.
* tests/bibtexu-{basic,range}.test,
* tests/u{basic,range}.{aux,bbl,bib,tex}: new files from Dmitry.
* tests/bibtexu-yannis.test: reenable (probably failed due to lack
of pthread?), use same test template.
* tests/yannis.bib: credit Yannis.
2021-06-20 Dmitry Zheleznyakov <dmitry.zhelezniakov@gmail.com>
* bibtex-4.c (x_substring, web section 438): adjust pop_lit1
before icu_fromUChars calls, to avoid crash on page ranges.
2021-06-19 Karl Berry <karl@freefriends.org>
* configure.ac [enable_bibtexu]: also check for -lpthread.
* Makefile.am (bibtexu_LDADD): include $(PTHREAD_LIB).
Report and fix from Dmitry Zheleznyakov:
https://tug.org/pipermail/tex-k/2021-June/003591.html
2021-02-06 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* utils.c, configure.ac:
Show TeX Live version by version option.
Show bug report address in usage.
2019-05-22 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
* bibtex-2.c, bibtex-3.c: Better error messages for debug.
* bibtex-3.c (icu_strToUpper): React to Str_language.
2019-05-05 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
* bibtexu-yannis.test, yannis.aux, yannis.bib, yannis.bbl:
New test files for BibTeXu.
* Makefile.am: Add the new test.
2019-03-15 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
* Makefile.am: Add bibtex8.1 and bibtexu.1.
* bibtex8.1, bibtexu.1: New man pages.
2019-03-06 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
* bibtex-2.c: Check error status for every call of
u_strFromUTF8WithSub().
2019-03-05 Akira Kakuto <kakuto@w32tex.org>
* bibtex-2.c: Use u_strFromUTF8WithSub() with a substitution
character 0xfffd, instead of u_strFromUTF8().
2019-03-04 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
Both BibTeX8 and BibTeXu:
* bibtex-2.c: Add trace for sorting. (There is no related
code in the original BibTeX, but can be useful.)
Suppress compiler warnings.
* bibtex.c, utils.c: Print ICU version in BibTeXu.
* version.h: Bump version (04 mar 2019).
BibTeXu only:
* bibtex-2.c: Use u_strFromUTF8() instead of icu_toUChars()
while sorting for BibTeXu. Close UConverter properly.
* bibtex-4.c: Fix x_purify() for BibTeXu.
* utils.c: Default to Flag_8bit in BibTeXu. We should NOT
read any csf file in BibTeXu. (BibTeX8 is unaffected)
2017-04-27 Karl Berry <karl@tug.org>
* Makefile.am (bibtexu_LDADD): add $(ICU_LIBS_EXTRA).
2015-07-07 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Better dependencies for 'make check'.
* ac/bibtex-x.ac: Fixed a typo.
2014-06-16 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS.
2013-03-19 Peter Breitenlohner <peb@mppmu.mpg.de>
Merge bibtex8/ and bibtexu/ into bibtex-x (extended).
* bibtex-[234].c, bibtex.[ch], gblprocs.h, gblvars.h, utils.c:
Use '#ifndef UTF_8 <bibtex8 code> #else <bibtexu code> #endif'.
* version.h: Set date to '18 mar 2013'.
Makefile.am, configure.ac: Adapted.
2013-03-18 Peter Breitenlohner <peb@mppmu.mpg.de>
BibTeX8
* bibtex-2.c: Use char_less_than and char_greater_than macros.
BibTeXu
* bibtex-[24].c, bibtex.h: Define and use DO_UTF8 to handle
1-, 2-, 3-, and 4-byte UTF-8 codes.
* tests/bibtex.test (removed): Renamed ...
* tests/bibtexu.test (new): ... into this.
2013-03-15 Peter Breitenlohner <peb@mppmu.mpg.de>
BibTeXu
Reduce diffs with bibtex8.
* bibtex-[1-4].c, bibtex.[ch], gblprocs.h, gblvars.h,
utils.[ch]: Drop unused code and adjust white space,
#include "unicode/*.h" only through gblprocs.h.
2013-02-08 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am (btdocdir): Change texmf => texmf-dist.
2012-12-07 Peter Breitenlohner <peb@mppmu.mpg.de>
BibTeXu
* bibtex-2.c: Drop unused variable (gcc-4.6 warning).
2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Avoid use of deprecated INCLUDES.
2012-10-11 Peter Breitenlohner <peb@mppmu.mpg.de>
* utils.c (c8read_csf): DEFAULT_BIBTEX_CSFILE is set to
"/nonesuch" in ../kpathsea/paths.h; so we use CSF_FILE_ENVVAR.
2012-08-04 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
BibTeXu
* bibtex.c : Change order of inclusion of headers to avoid warnings.
2012-04-12 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* bibtex-2.c: Do not check whether Glob_Str_Size > Buf_Size,
and Ent_Str_size > Buf_Size, since Buf_Size can be changed
dynamically, whereas Glob_Str_Size and Ent_Str_Size are maximum
values which are constants.
2012-04-10 Norbert Preining <preining@logic.at>
* bibtex-2.c: Do not check whether Glob_Str_Size > Buf_Size,
since the former can be changed dynamically
* bibtex.h: Adjust BUF_SIZE to the value that matches bibtex.ch
2012-02-14 Peter Breitenlohner <peb@mppmu.mpg.de>
* bibtex.c (eoln): Accept both CR and LF as end-of-line.
2011-12-06 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Replace ${prefix}/texmf => $(datarootdir)/texmf.
2011-10-04 Peter Breitenlohner <peb@mppmu.mpg.de>
BibTeX8
* Makefile.am (DISTCLEANFILES): Preserve distributed files.
BibTeXu
* Makefile.am (DISTCLEANFILES): Add CXXLD.sh.
2011-04-18 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid 'differ in signedness' warnings.
* datatype.h (PdsType_T): Do not declare as unsigned.
* bibtex-3.c (pre_define): Cast xord[] index to UChar_T.
* utils.c (c8read_csf): Cast name_of_file to 'char *'.
BibTeXu
* bibtex-2.c: A few casts to 'char *'.
2011-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
* utils.c (setup_bound_variable): `program_invocation_name' has
been renamed into `kpse_invocation_name'.
2010-10-04 Peter Breitenlohner <peb@mppmu.mpg.de>
BibTeXu
* tests/bibtexu.test (new): Just 'bibtexu -version'.
* Makefile.am: Add the new test.
2010-05-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* bibtex.h: fix a bug in the macro BIB_XRETALLOC_STRING.
2010-03-24 Peter Breitenlohner <peb@mppmu.mpg.de>
* bibtex*.[ch], gblvars.h, utils.c: Obtain Ent_Str_Size and
Glob_Str_Size from environment or config file.
Dynamically allocate global strings arrays, literal stack
arrays, and single function space instances; reallocate them
as required.
2010-03-19 Peter Breitenlohner <peb@mppmu.mpg.de>
* utils.c: Default csfile and Max_Strings from env or config.
* bibtex.h (STR_ROOM): Call pool_overflow() as often as needed.
* bibtex-3.c (scan_fn_def): Same for increase Wiz_Fn_Space.
* bibtex-4.c (BST_STRING_SIZE_EXCEEDED): Drop extra "%ld".
(x_text_prefix): Add missing STR_ROOM.
BibTeX8
* bibtex.c: Call kpse_set_program_name with "bibtex8".
BibTeXu
* bibtex.c: Call kpse_set_program_name with "bibtexu".
2010-03-18 Peter Breitenlohner <peb@mppmu.mpg.de>
Dynamic allocation of name_of_file strings. No padding.
* bibtex-1.c (add_area): Not used and removed.
* bibtex-2.c (file_nm_size_overflow): Not used and removed.
* bibtex-3.c (s_bst_area, s_bib_area): Removed.
* gblvars.h (bib_area_string, bst_area_string): Removed.
* utils.c (open_ip_file, open_op_file): Adapted.
2010-03-17 Peter Breitenlohner <peb@mppmu.mpg.de>
* bibtex-1.c (check_cite_overflow): Reallocate cite_info,
cite_list, entry_exists, and type_list.
* bibtex.h (MAX_CITES): Initial allocation as in bibtex.web.
* gblvars.h (M_cites): Removed.
* utils.c (parse_cmd_line, usage): Ignore/remove --mcites.
* bibtex-1.c (add_database_cite): Fix bug, from bibtex.ch.
* Makefile.am (AM_CPPFLAGS): Remove obsolete -funsigned-char.
BibTeX8
* tests/bibtex-mem.test: New shell script for dynamic arrays.
* Makefile.am: Adapted.
2010-03-16 Peter Breitenlohner <peb@mppmu.mpg.de>
* bibtex-1.c, utils.c: Delay allocation of entry_ints and
entry_strs until the required size is known.
* bibtex.h (MAX_ENT_INTS, MAX_ENT_STRS): Removed.
* gblvars.h (M_entstrs, Max_Ent_Ints, Max_Ent_Strs): Removed.
* utils.c (parse_cmd_line, usage): Ignore/remove --mentstrs.
BibTeX8
* tests/sort.test: New shell script to test csfiles.
* tests/sort[123].{bbl,csf}, tests/test{data.bib,style.bst}:
Test data from Philipp Lehman <lehman@gmx.net>.
2010-03-15 Peter Breitenlohner <peb@mppmu.mpg.de>
* tests/bibtex.test: New shell script to test 7-bit mode.
* Makefile.am (TESTS, EXTRA_DIST, DISTCLEANFILES): Adapted.
* bibtex-1.c, bibtex-2.c: Reallocate bib_file, bib_list, and
s_preamble as needed.
* datatype.h (BufType_T): Declare as pointer instead of array.
* gblvars.h, utils.c: Dynamically allocate buffer, ex_buf,
out_buf, and sv_buffer.
* bibtex-1.c (add_out_pool): Call buffer_overflow to reallocate.
(buffer_overflow): Reallocate buffer, ex_buf, name_sep_char,
name_tok, out_buf, and sv_buffer as needed.
* utils.c (c8read_csf): Drastically reduce sx array size.
2010-03-14 Peter Breitenlohner <peb@mppmu.mpg.de>
* bibtex-1.c: Reallocate entry_ints, field_info as needed.
* bibtex-3.c: Reallocate wiz_functions as needed.
* gblvars.h, utils.c: Dynamically allocate bib_file, bib_list,
name_sep_char, name_tok, and s_preamble.
* gblvars.h (M_entints, M_fields, M_wiz_fn_space): Removed.
* utils.c (parse_cmd_line, usage): Ignore/remove --mentints,
--mfields, and --mwizfuns.
* bibtex-4.c: Added check for str_pool overflow (from bibtex).
* gblvars.h (Buf_Size, Max_Bib_Files): New global vars.
* utils.c: Set Buf_Size=BUF_SIZE, Max_Bib_Files=MAX_BIB_FILES.
Allocate bib_file, bib_list, name_sep_char, name_tok, and
s_preamble.[A
* bibtex-1.c, bibtex-2.c: Use Buf_Size and Max_Bib_Files.
2010-03-13 Peter Breitenlohner <peb@mppmu.mpg.de>
Dynamic allocation of arrays.
* bibtex.h (MYRETALLOC, BIB_XRETALLOC, BIB_XRETALLOC_NOSET):
Preprocessor macros used to reallocate arrays.
* utils.[ch] (myrealloc): New function.
(mymalloc, myrealloc): Allocate at least 1 byte, to avoid NULL.
(checkdbg, checklong): Declare as static.
* bibtex-2.c (pool_overflow): Reallocate str_pool as needed.
* gblvars.h (M_pool): Removed.
* utils.c (parse_cmd_line, usage): Ignore/remove --mpool.
BibTeX8
* utils.c (usage): This is bibtex8, not bibtex.
2010-03-12 Peter Breitenlohner <peb@mppmu.mpg.de>
Determine hash_size from max_strings and compute hash_prime.
* bibtex.c (main): Don't call allocate_arrays.
Print newline after fatal error message.
* utils.c (allocate_arrays): Declare as static.
(compute_hash_prime): New function, using allocated arrays.
(set_array_sizes): Call allocate_arrays and compute_hash_prime.
* utils.h (allocate_arrays): Remove.
2010-03-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* bibtex.h: Adapt to bibtex.web final 0.99d from Oren.
2010-03-09 Peter Breitenlohner <peb@mppmu.mpg.de>
* bibtex-1.c: Remove spurious format spec in BIBTEX_OVERFLOW.
2010-03-02 Peter Breitenlohner <peb@mppmu.mpg.de>
* bibtex-1.c, bibtex.h: Adapt to bibtex.web 0.99d test 1
from Oren, breaking .bbl lines only at whitespace.
2010-02-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* sysdep.h (IMPLEMENTATION): Define for MinGW32.
* utils.c [WIN32]: Do not #include <kpathsea/getopt.h>.
* utils.h (CDECL) [WIN32]: #undef before re-#define.
2010-02-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* getopt.[ch], getopt1.h: Removed, use libkpathsea.
* utils.c: #include <kpathsea/getopt.h> instead of "getopt.h".
* Makefile.am (EXTRA_DIST): remove getopt.[ch] and getopt1.h.
2009-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* bibtex*.c, utils.c: #include <config.h>.
* configure.ac: Add AC_CONFIG_HEADERS([config.h]).
2009-10-24 Peter Breitenlohner <peb@mppmu.mpg.de>
* utils.c (open_ip_file, open_op_file): Check for legitimate
file names via kpse_{in,out}_name_ok() before opening files.
2009-10-08 Peter Breitenlohner <peb@mppmu.mpg.de>
Import BibTeXu from http://omega.enstb.org/yannis/bibtexu/.
Avoid various compiler warnings:
* bibtex-[234].c: unused vars, decl. after stmt., return with
value in void function.
* bibtex-[23].c: #include "unicode/ustring.h".
2009-09-30 Peter Breitenlohner <peb@mppmu.mpg.de>
* utils.[ch] (getopt_str): Declare string as const.
(debug_msg): Declare param2 string as const.
(usage): Declare param string as const.
* datatype.h (PdsType_T): Declare char array as const.
2009-06-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am (AM_CFLAGS): enable compiler warnings.
* bibtex-3.c (str_lookup): silence 'used uninitialized' warning.
* datatype.h, gblvars.h: in various places replace Integer8_T
(i.e., char) by UChar_T (i.e., unsigned char).
* utils.c (c8read_csf): avoid unused variable.
* remove rcsid's.
* FIXME: still needs careful checking for signed/unsigned char.
2009-06-04 Karl Berry <karl@tug.org>
* Makefile.am (AM_CPPFLAGS): move -funsigned-char here,
since we don't want to pass it to the loader.
peb tlbuild mail 3 Jun 2009 17:37:38 +0200.
2009-05-28 Peter Breitenlohner <peb@mppmu.mpg.de>
Adapt to TL2009 build system.
2008-03-01 Peter Breitenlohner <peb@mppmu.mpg.de>
* sysdep.h: avoid redefinition of TRUE and FALSE.
2008-02-29 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.in: added AC_CONFIG_HEADERS (moved
from ../kpathsea/common.ac to here).
2008-01-31 Peter Breitenlohner <peb@mppmu.mpg.de>
* utils.c: Fix a typo (relevant for non-kpathsea version).
2008-01-30 Peter Breitenlohner <peb@mppmu.mpg.de>
Convert from autoconf-2.13 to autoconf-2.59+:
* Makefile.in: Add @configure_input@ line.
* aclocal.m4 (new): Generated (aclocal -I ../m4).
* configure: Regenerated (autoconf).
2007-07-16 Karl Berry <karl@tug.org>
* bibtex.h (BUF_SIZE, MAX_CITES, MAX_ENT_INTS, MAX_ENT_STRS,
MAX_STRS): increase. From panov, 12 Jul 2007 12:13:38.
|