| 1 |
2026-03-02 Karl Berry <[email protected]> |
| 2 |
|
| 3 |
* TL'26 release. |
| 4 |
|
| 5 |
2026-01-12 TANAKA Takuji <[email protected]> |
| 6 |
|
| 7 |
* tests/mendex.test, tests/sample.idx, tests/sample.ind: |
| 8 |
Add tests for malformed inputs. |
| 9 |
* Makefile.am: Adjust. |
| 10 |
|
| 11 |
2026-01-07 Karl Berry <[email protected]> |
| 12 |
|
| 13 |
* COPYRIGHT, |
| 14 |
* main.c: 2026. |
| 15 |
|
| 16 |
2025-12-05 TANAKA Takuji <[email protected]> |
| 17 |
|
| 18 |
* configure.ac, version.h: |
| 19 |
Version 3.10 [5-Dec-2025]. |
| 20 |
* main.c: Add command line option '--version'. |
| 21 |
* tests/mendex.test: Add tests for command line options. |
| 22 |
https://github.com/texjporg/tex-jp-build/issues/191 |
| 23 |
|
| 24 |
2025-10-11 TANAKA Takuji <[email protected]> |
| 25 |
|
| 26 |
* convert.c: Fix bug of out of bound read. |
| 27 |
Thanks to Ryan Lee. |
| 28 |
https://www.tug.org/pipermail/tex-live/2025-October/051800.html |
| 29 |
https://tug.org/pipermail/tex-k/2025-October/004208.html |
| 30 |
* tests/romalpA.idx, tests/romalpA-[56].ind: |
| 31 |
Add tests for roman numerals. |
| 32 |
|
| 33 |
2025-08-11 TANAKA Takuji <[email protected]> |
| 34 |
|
| 35 |
* configure.ac, version.h: |
| 36 |
Version 3.9 [11-Aug-2025]. |
| 37 |
* fwrite.c: Fix bug on page range. |
| 38 |
Thanks to @pejsek02468. |
| 39 |
https://github.com/t-tk/upmendex-package/issues/15 |
| 40 |
* fread.c, convert.c: |
| 41 |
Avoid segmentation fault about page_compositor and page_precedence. |
| 42 |
Thanks to Lemures Lemniscati. |
| 43 |
https://okumuralab.org/tex/mod/forum/discuss.php?d=3976#p24754 |
| 44 |
https://github.com/texjporg/tex-jp-build/issues/181 |
| 45 |
* tests/pprec.test, tests/range.idx, |
| 46 |
tests/range4.ist, tests/range{1,2,3,4}.ind: |
| 47 |
Add tests for page range. |
| 48 |
* Makefile.am: Adjust. |
| 49 |
|
| 50 |
2025-03-07 Karl Berry <[email protected]> |
| 51 |
|
| 52 |
* TL'25 release. |
| 53 |
|
| 54 |
2025-02-19 TANAKA Takuji <[email protected]> |
| 55 |
|
| 56 |
* tests/mendex.test: Add tests. |
| 57 |
|
| 58 |
2025-02-18 Yukimasa Morimi <[email protected]> |
| 59 |
|
| 60 |
* convert.c, kp.{c,h}, styfile.c: |
| 61 |
Use kpse_find_file to find style files. |
| 62 |
https://github.com/texjporg/tex-jp-build/issues/175 |
| 63 |
|
| 64 |
2025-02-10 TANAKA Takuji <[email protected]> |
| 65 |
|
| 66 |
* Makefile.am: Adjust. |
| 67 |
|
| 68 |
2025-02-09 Yukimasa Morimi <[email protected]> |
| 69 |
|
| 70 |
* configure.ac, version.h: |
| 71 |
Version 3.8 [09-Feb-2025]. |
| 72 |
* fread.c: Improved compatibility with makeindex. |
| 73 |
* styfile.c: Fix escaping of string parameters. |
| 74 |
https://github.com/texjporg/tex-jp-build/issues/173 |
| 75 |
* tests/mendex.test, tests/head1.ist, |
| 76 |
tests/tort{,W}.idx, tests/ok-tort{,2}.ind: |
| 77 |
Add tests for encap escape & heading_{pre,post}fix |
| 78 |
from TANAKA Takuji. |
| 79 |
|
| 80 |
2025-01-25 Karl Berry <[email protected]> |
| 81 |
|
| 82 |
* COPYRIGHT, |
| 83 |
* main.c: 2025. |
| 84 |
|
| 85 |
2024-11-09 TANAKA Takuji <[email protected]> |
| 86 |
|
| 87 |
* configure.ac, version.h: |
| 88 |
Version 3.7 [09-Nov-2024]. |
| 89 |
* fwrite.c: Better treatment of "item_12" |
| 90 |
for compatibility with makeindex. |
| 91 |
https://github.com/t-tk/upmendex-package/pull/9 |
| 92 |
* fread.c: Improve error message when reading index entries. |
| 93 |
https://github.com/t-tk/upmendex-package/issues/13 |
| 94 |
* tests/{mendex,pprec,encode}.test: Split test scripts. |
| 95 |
* tests/nest.test, tests/nested3.{ist,idx,ind}, |
| 96 |
tests/toodeep.idx: Add new tests for nested depth. |
| 97 |
* tests/mendex.test, tests/tort{,W}.idx, tests/ok-tort.ind: |
| 98 |
Add new tests for error/warning. |
| 99 |
* Makefile.am: Adjust. |
| 100 |
|
| 101 |
2024-03-10 Karl Berry <[email protected]> |
| 102 |
|
| 103 |
* TL'24 release. |
| 104 |
|
| 105 |
2024-02-05 Karl Berry <[email protected]> |
| 106 |
|
| 107 |
* COPYRIGHT, |
| 108 |
* main.c: 2024. |
| 109 |
|
| 110 |
2023-08-11 TANAKA Takuji <[email protected]> |
| 111 |
|
| 112 |
* tests/mendex.test: |
| 113 |
Make easier to test on Windows. |
| 114 |
|
| 115 |
2023-03-09 Karl Berry <[email protected]> |
| 116 |
|
| 117 |
* TL'23 release. |
| 118 |
|
| 119 |
2022-09-24 TANAKA Takuji <[email protected]> |
| 120 |
|
| 121 |
* tests/mendex.test, tests/enc-{e,j,s,u}.idx, tests/enc.dic, |
| 122 |
tests/jis.ist, tests/enc-x.ind, Makefile.am: |
| 123 |
Add tests for guessing file encodings. |
| 124 |
|
| 125 |
2022-09-01 Hironori Kitagawa <[email protected]> |
| 126 |
|
| 127 |
* main.c: |
| 128 |
Initialization of infile_enc_auto is moved to ptexenc. |
| 129 |
Moved calls of KP_entry_filetype() (after checking options). |
| 130 |
These changes prevent unwanted looking for texmf.cnf. |
| 131 |
https://github.com/texjporg/tex-jp-build/pull/144 |
| 132 |
|
| 133 |
2022-06-12 TANAKA Takuji <[email protected]> |
| 134 |
|
| 135 |
* main.c: |
| 136 |
Support guessing input file encodings. |
| 137 |
https://github.com/texjporg/tex-jp-build/issues/142 |
| 138 |
* tests/mendex.test, tests/{sjis,euc}.ist, Makefile.am: |
| 139 |
Update tests. |
| 140 |
* version.h: Date [12-Jun-2022] |
| 141 |
|
| 142 |
2022-05-22 TANAKA Takuji <[email protected]> |
| 143 |
|
| 144 |
* fread.c: |
| 145 |
Modify heuristic detection of page number types |
| 146 |
for ambiguous ones between roman number and alphabet. |
| 147 |
* tests/mendex.test, tests/pprec[567].ist, |
| 148 |
tests/romalp[ABCD].idx, tests/romalpA-[56].ind, |
| 149 |
tests/romalp[BD]-[567].ind, tests/romalpC-5.ind, Makefile.am: |
| 150 |
Update tests. |
| 151 |
* version.h: Date [22-May-2022] |
| 152 |
|
| 153 |
2022-03-21 Karl Berry <[email protected]> |
| 154 |
|
| 155 |
* TL'22 release. |
| 156 |
|
| 157 |
2022-03-07 Hironobu Yamashita <[email protected]> |
| 158 |
|
| 159 |
* fwrite.c: output to file instead of accumulating too much. |
| 160 |
https://github.com/texjporg/tex-jp-build/issues/137 |
| 161 |
|
| 162 |
2022-01-22 Hironori Kitagawa <[email protected]> |
| 163 |
|
| 164 |
* fread.c: Adapt to arguments of input_line2() in ptexenc-1.4.0. |
| 165 |
|
| 166 |
2022-01-18 Karl Berry <[email protected]> |
| 167 |
|
| 168 |
* COPYRIGHT, |
| 169 |
* main.c: 2022. |
| 170 |
|
| 171 |
2021-09-19 TANAKA Takuji <[email protected]> |
| 172 |
|
| 173 |
* fread.c: |
| 174 |
Modify heuristic detection of page number types. |
| 175 |
* tests/mendex.test, tests/range.idx, tests/range[123].ind, |
| 176 |
tests/pprecB.idx, tests/pprec[34].ist, tests/pprecB-[034].ind: |
| 177 |
Update tests. |
| 178 |
* version.h: Date [19-Sep-2021] |
| 179 |
|
| 180 |
2021-09-18 TANAKA Takuji <[email protected]> |
| 181 |
|
| 182 |
* fread.c, fwrite.c, sort.c, mendex.h, {,ex}var.h: |
| 183 |
Extend levels of page numbers from 3 to 10 |
| 184 |
for compatibility with makeindex. |
| 185 |
Fix a bug of page ranges with multi-level page numbers. |
| 186 |
* fread.c: |
| 187 |
Strict check for "page_precedence" and "page_compositor" in style file. |
| 188 |
* fwrite.c: |
| 189 |
Do not break lines before "delim_n". |
| 190 |
* tests/mendex.test, tests/range.idx, tests/range[123].{ist,ind}, |
| 191 |
removed tests/rangetwo.*: |
| 192 |
Update tests. |
| 193 |
* version.h: Date [18-Sep-2021] |
| 194 |
|
| 195 |
2021-09-04 TANAKA Takuji <[email protected]> |
| 196 |
|
| 197 |
* configure.ac, version.h: |
| 198 |
Version 3.6 [4-Sep-2021]. |
| 199 |
* styfile.c, sort.c, fwrite.c, mendex.h, {,ex}var.h: |
| 200 |
Support output order of symbols and numbers separately |
| 201 |
when "symbol_flag" is 2 in style file. |
| 202 |
|
| 203 |
2021-08-29 TANAKA Takuji <[email protected]> |
| 204 |
|
| 205 |
* sort.c: |
| 206 |
Strict check for "character_order" in style file. |
| 207 |
* fwrite.c: |
| 208 |
Fix a bug when "symbol_flag" is 0. |
| 209 |
* version.h: Date [29-Aug-2021] |
| 210 |
|
| 211 |
2021-08-28 TANAKA Takuji <[email protected]> |
| 212 |
|
| 213 |
* styfile.c: |
| 214 |
Add a alias "headings_flag" of the keyword "heading_flag" |
| 215 |
in style file for compatibility with makeindex. |
| 216 |
Warn if specifier in style file is unknown. |
| 217 |
* version.h: Date [28-Aug-2021] |
| 218 |
|
| 219 |
2021-06-13 Hironobu Yamashita <[email protected]> |
| 220 |
|
| 221 |
* fwrite.c: Avoid segmentation fault for unwritable fopen. |
| 222 |
Recognize symhead_{positive,negative} for non-default |
| 223 |
character_order. |
| 224 |
* pageread.c, styfile.c: Exit code 255 for non-existent |
| 225 |
style/log file. |
| 226 |
* version.h: Date [13-Jun-2021], but still Version 3.5 (bugfix |
| 227 |
only). |
| 228 |
|
| 229 |
2021-06-06 TANAKA Takuji <[email protected]> |
| 230 |
|
| 231 |
* configure.ac, version.h: |
| 232 |
Version 3.5 [6-Jun-2021]. |
| 233 |
* main.c, styfile.c: |
| 234 |
Accept multiple numbers of style files by option '-s'. |
| 235 |
* tests/mendex.test, tests/uni[12].ist: |
| 236 |
Add a new test. |
| 237 |
* mendex.1{,ja}, mendex.ja.txt: |
| 238 |
Update documents. |
| 239 |
|
| 240 |
2021-05-19 TANAKA Takuji <[email protected]> |
| 241 |
|
| 242 |
* main.c, configure.ac, version.h: |
| 243 |
Version 3.4 [19-May-2021]. |
| 244 |
* styfile.c, var.h, exvar.h: |
| 245 |
Fix a bug of reading keywords "setpage_prefix", "setpage_suffix" |
| 246 |
in style file. |
| 247 |
More strictly check string length. |
| 248 |
|
| 249 |
2021-05-09 Karl Berry <[email protected]> |
| 250 |
|
| 251 |
* mendex.h (page.attr): use int, not char, since we do signed |
| 252 |
comparison and aarch64 apparently treats char as unsigned. |
| 253 |
(index.words): use unsigned char for consistency. |
| 254 |
* fwrite.c (printpage): factor out beginning/end page values. |
| 255 |
* tests/rangetwo.idx, |
| 256 |
* tests/rangetwo.ind, |
| 257 |
* tests/rangetwo.ist: new simple test. |
| 258 |
* tests/mendex.test: run the rangetwo test. |
| 259 |
Report from Johannes Hielscher, |
| 260 |
https://tug.org/pipermail/tlbuild/2021q1/004873.html. |
| 261 |
|
| 262 |
2021-03-23 Karl Berry <[email protected]> |
| 263 |
|
| 264 |
* TL'21. |
| 265 |
|
| 266 |
2021-03-21 TANAKA Takuji <[email protected]> |
| 267 |
|
| 268 |
* main.c, configure.ac, version.h: |
| 269 |
Version 3.3 [21-Mar-2021]. |
| 270 |
* fread.c: Fix a bug about page_precedence in style. |
| 271 |
Thanks to Suzana Sagadin for the report. |
| 272 |
* tests/pprec[012].ist, tests/pprecA.idx, tests/pprecA-[012].ind, |
| 273 |
tests/mendex.test, Makefile.am: |
| 274 |
Add new tests. |
| 275 |
|
| 276 |
2020-01-16 Karl Berry <[email protected]> |
| 277 |
|
| 278 |
* COPYRIGHT, |
| 279 |
* main.c: 2021. |
| 280 |
|
| 281 |
2020-05-01 TANAKA Takuji <[email protected]> |
| 282 |
|
| 283 |
* main.c, version.h, Makefile.{am.in}: Add bug report addresses |
| 284 |
on command line help. |
| 285 |
* main.c: Remove option "T" from command line help (w32 only). |
| 286 |
|
| 287 |
2020-01-16 Karl Berry <[email protected]> |
| 288 |
|
| 289 |
* configure.ac, |
| 290 |
* COPYRIGHT, |
| 291 |
* main.c (VERSION): version 3.2 16-Jan-2020 for TL'20. |
| 292 |
|
| 293 |
2019-03-16 TANAKA Takuji <[email protected]> |
| 294 |
|
| 295 |
* mendex.ja.txt: Rename from mendex.doc |
| 296 |
|
| 297 |
2019-02-17 TANAKA Takuji <[email protected]> |
| 298 |
|
| 299 |
* main.c, configure.ac, configure: |
| 300 |
Version 3.1 [17-Feb-2019]. |
| 301 |
* main.c, COPYRIGHT: Update copyright year. |
| 302 |
* fread.c: Fix typo. It seems a bug. |
| 303 |
* {convert,fread,fwrite,kp,main}.c: |
| 304 |
Avoid compiler warnings. |
| 305 |
Thanks to @ngothan for a report by covscan. |
| 306 |
https://github.com/TeX-Live/texlive-source/issues/11 |
| 307 |
|
| 308 |
2019-01-23 Hironobu Yamashita <[email protected]> |
| 309 |
|
| 310 |
* mendex.1, mendex.1.ja: Add fallback TeX and LaTeX logos. |
| 311 |
|
| 312 |
2018-07-22 TANAKA Takuji <[email protected]> |
| 313 |
|
| 314 |
* README.md: Added. |
| 315 |
* mendex.1, mendex.1.ja: Sync with upstream. |
| 316 |
|
| 317 |
2018-06-27 TANAKA Takuji <[email protected]> |
| 318 |
|
| 319 |
* mendex.1, mendex.doc, mendex.1.ja, README_asciimw: |
| 320 |
Sync with upstream. |
| 321 |
|
| 322 |
2018-06-14 Akira Kakuto <[email protected]> |
| 323 |
|
| 324 |
* main.c: remove sjisterminal (w32 only). |
| 325 |
|
| 326 |
2018-05-15 TANAKA Takuji <[email protected]> |
| 327 |
|
| 328 |
* README, main.c, configure.ac, configure: |
| 329 |
Version 3.0 [15-May-2018]. |
| 330 |
* main.c, mendex.1, mendex.doc, mendex.1.ja: |
| 331 |
Set default encoding of internal buffer UTF-8. |
| 332 |
* indexsty, kana.h, ktable.h: |
| 333 |
Convert encoding from EUC-JP to UTF-8. |
| 334 |
* README_asciimw: Rename from README and |
| 335 |
convert encoding from EUC-JP to UTF-8. |
| 336 |
|
| 337 |
2018-01-17 Karl Berry <[email protected]> |
| 338 |
|
| 339 |
* mendex.1 (.TH): use 1 instead of L, per Debian (and all our |
| 340 |
other man pages). |
| 341 |
|
| 342 |
2017-04-05 TANAKA Takuji <[email protected]> |
| 343 |
|
| 344 |
* main.c: Avoid access violation. |
| 345 |
Thanks to I. Wada san. |
| 346 |
|
| 347 |
2016-12-21 TANAKA Takuji <[email protected]> |
| 348 |
|
| 349 |
* mendex.1, mendex.doc, mendex.1.ja: Sync with upstream. |
| 350 |
Now they are maintained at |
| 351 |
https://github.com/texjporg/mendex-doc |
| 352 |
* COPYRIGHT.ja, ChangeLog.ja: Rename from *.jis and convert |
| 353 |
encoding to UTF-8 |
| 354 |
* Makefile.am: Add those files to EXTRA_DIST. |
| 355 |
|
| 356 |
2016-12-15 Akira Kakuto <[email protected]> |
| 357 |
|
| 358 |
* main.c: Remove email address "[email protected]" as in upmendex. |
| 359 |
|
| 360 |
2016-11-12 Akira Kakuto <[email protected]> |
| 361 |
|
| 362 |
* mendex.h: Sync with W32TeX (W32 only). |
| 363 |
* main.c: Avoid access violation. |
| 364 |
|
| 365 |
2016-09-28 Hironobu Yamashita <[email protected]> |
| 366 |
|
| 367 |
* styfile.c: Use mfgets() instead of fgets() in bfgets(). |
| 368 |
|
| 369 |
2016-02-02 TANAKA Takuji <[email protected]> |
| 370 |
|
| 371 |
* mendex.1, mendex.doc: Convert encoding |
| 372 |
from EUC-JP to UTF-8 |
| 373 |
|
| 374 |
2016-01-31 TANAKA Takuji <[email protected]> |
| 375 |
|
| 376 |
* mendex.1, mendex.doc: Remove unimplemented style option |
| 377 |
'letter_head=0' from document. |
| 378 |
|
| 379 |
2016-01-18 TANAKA Takuji <[email protected]> |
| 380 |
|
| 381 |
* fwrite.c: Fix bug of -g option. |
| 382 |
|
| 383 |
2015-08-23 TANAKA Takuji <[email protected]> |
| 384 |
|
| 385 |
* main.c, fwrite.c: Accept long file name for a log file and |
| 386 |
a index file. |
| 387 |
|
| 388 |
2015-08-08 TANAKA Takuji <[email protected]> |
| 389 |
|
| 390 |
* main.c: Add '--help' option. |
| 391 |
|
| 392 |
2015-07-07 Peter Breitenlohner <[email protected]> |
| 393 |
|
| 394 |
* Makefile.am: Better dependencies for 'make check'. |
| 395 |
|
| 396 |
2015-01-24 TANAKA Takuji <[email protected]> |
| 397 |
|
| 398 |
* main.c, mendex.1, mendex.doc: Add '--' option. |
| 399 |
Update manuals. |
| 400 |
|
| 401 |
2015-01-09 Peter Breitenlohner <[email protected]> |
| 402 |
|
| 403 |
* fwrite.c: Some compilers mishandle the use of sizeof(buf) |
| 404 |
inside C99 variadic macros, so we replace it by BUFFERLEN. |
| 405 |
|
| 406 |
2014-07-05 TANAKA Takuji <[email protected]> |
| 407 |
|
| 408 |
* convert.c: Better timing for xstrdup. |
| 409 |
|
| 410 |
2014-06-25 Peter Breitenlohner <[email protected]> |
| 411 |
|
| 412 |
* main.c: Drop definition of TL_VERSION. |
| 413 |
* configure.ac: Use ../../version.ac to AC_DEFINE([TL_VERSION]). |
| 414 |
|
| 415 |
2014-06-16 Peter Breitenlohner <[email protected]> |
| 416 |
|
| 417 |
* Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS. |
| 418 |
* configure.ac: Check for C99 variadic macros. |
| 419 |
* fwrite.c: Better handling of snprintf(). |
| 420 |
|
| 421 |
2014-05-13 Peter Breitenlohner <[email protected]> |
| 422 |
|
| 423 |
* fread.c (copy_multibyte_char): Avoid ambiguous operation. |
| 424 |
|
| 425 |
2014-05-13 TANAKA Takuji <[email protected]> |
| 426 |
|
| 427 |
* fread.c: Add copy_multibyte_char() to |
| 428 |
copy multibyte character correctly. |
| 429 |
* tests/uni.{idx,ind}: Update. |
| 430 |
|
| 431 |
2014-05-12 Akira Kakuto <[email protected]> |
| 432 |
|
| 433 |
* fread.c: Wide char is not always even bytes in getestr(). |
| 434 |
|
| 435 |
2014-05-11 Peter Breitenlohner <[email protected]> |
| 436 |
|
| 437 |
* convert.c: Add (unsigned char*) cast arg1 of UTF8StoUCS(). |
| 438 |
* fwrite.c: Declare fprint_euc_char() as static. |
| 439 |
|
| 440 |
2014-05-11 TANAKA Takuji <[email protected]> |
| 441 |
|
| 442 |
* main.c: Add TeX Live version. |
| 443 |
* {main,convert,fread,fwrite,styfile}.c, kana.h, |
| 444 |
mendex.doc, mendex.1: Add a new option -I to switch |
| 445 |
internal buffers for key words to EUC-JP or UTF-8. |
| 446 |
* tests/mendex.test: Add a new test. |
| 447 |
* tests/uni.{idx,dict,ist} (new): Test input. |
| 448 |
* tests/uni.ind (new): Expected output. |
| 449 |
* Makefile.am: Adapted. |
| 450 |
|
| 451 |
2014-05-10 TANAKA Takuji <[email protected]> |
| 452 |
|
| 453 |
* mendex.1: Fix usage. |
| 454 |
|
| 455 |
2014-05-05 TANAKA Takuji <[email protected]> |
| 456 |
|
| 457 |
* convert.c: Allow longer words in dictionary. |
| 458 |
* fwrite.c: Make a buffer size larger. |
| 459 |
|
| 460 |
2014-05-02 Peter Breitenlohner <[email protected]> |
| 461 |
|
| 462 |
* fwrite.c: OS X build fix. |
| 463 |
|
| 464 |
2014-04-30 Norbert Preining <[email protected]> |
| 465 |
|
| 466 |
* fwrite.c: Replace sprintf with snprintf. |
| 467 |
|
| 468 |
2013-11-16 Akira Kakuto <[email protected]> |
| 469 |
|
| 470 |
* fread.c: Allow lines with only a line ending in mfgets(), |
| 471 |
because dictionary files with DOS line endings can't be read. |
| 472 |
|
| 473 |
2013-09-10 Peter Breitenlohner <[email protected]> |
| 474 |
|
| 475 |
* fwrite.c: Bug fix as suggested by Akira, Karl, and Norbert. |
| 476 |
|
| 477 |
* tests/mendex.test (new): Shell script for a test case. |
| 478 |
* tests/foo.idx (new): Test input. |
| 479 |
* tests/foo.ind (new): Expected output. |
| 480 |
* Makefile.am: Adapted. |
| 481 |
|
| 482 |
2013-06-28 Peter Breitenlohner <[email protected]> |
| 483 |
|
| 484 |
* mendex.h: First include <c-auto.h>. |
| 485 |
|
| 486 |
2012-11-19 Peter Breitenlohner <[email protected]> |
| 487 |
|
| 488 |
* Makefile.am: Avoid use of deprecated INCLUDES. |
| 489 |
|
| 490 |
2012-10-16 Peter Breitenlohner <[email protected]> |
| 491 |
|
| 492 |
* convert.c: Move common #include's from here ... |
| 493 |
* fread.c: ... and here ... |
| 494 |
* fwrite.c: ... and here ... |
| 495 |
* main.c: ... and here ... |
| 496 |
* pageread.c: ... and here ... |
| 497 |
* sort.c: ... and here ... |
| 498 |
* styfile.c: ... and here ... |
| 499 |
* mendex.h: ... to here and add '#include <c-auto.h>'. |
| 500 |
* kp.c: Add '#include "mendex.h"' for common #include's. |
| 501 |
|
| 502 |
Avoid TL vs W32TeX diffs. |
| 503 |
* main.c: Use "PTEX_KANJI_ENC" and "guess_input_kanji_encoding". |
| 504 |
[WIN32}: Add command line option '-T' (from W32TeX). |
| 505 |
|
| 506 |
2012-09-06 Peter Breitenlohner <[email protected]> |
| 507 |
|
| 508 |
* main.c [WIN32]: Use "sjis" file encoding (from W32TeX). |
| 509 |
|
| 510 |
2012-07-28 Peter Breitenlohner <[email protected]> |
| 511 |
|
| 512 |
* convert.c, pageread.c, styfile.c: Handle input files with |
| 513 |
Dos/Windows (CRLF) line endings (from W32TeX). |
| 514 |
|
| 515 |
Use Nelson Beebe's qqsort() instead of qsort() (from W32TeX). |
| 516 |
* convert.c, sort.c: Add #include "qsort.h". |
| 517 |
* qsort.[ch] (new): Copied from ../makeindexk. |
| 518 |
* Makefile.am (mendex_SOURCES): Add the new files. |
| 519 |
|
| 520 |
2012-07-27 Peter Breitenlohner <[email protected]> |
| 521 |
|
| 522 |
* convert.c, kp.[ch], main.c, styfile.c: Always use KPATHSEA. |
| 523 |
* Makefile.am (AM_CPPFLAGS): Remove '-DKPATHSEA'. |
| 524 |
* convert.c, fread.c, main.c, sort.c: Use xmalloc(). |
| 525 |
* fread.c, main.c: Use xstrdup() instead of malloc()+strcpy(). |
| 526 |
* fwrite.c, mendex.h, kp.[ch]: Change {verb,warn}_printf() and |
| 527 |
KP_entry_filetype() return type from 'int' into 'void'. |
| 528 |
|
| 529 |
2012-07-26 Peter Breitenlohner <[email protected]> |
| 530 |
|
| 531 |
* fwrite.c, main.c: Use binary mode for input and output |
| 532 |
(from W32TeX). |
| 533 |
* convert.c, fread.c, main.c: Use 8-bit exit() codes. |
| 534 |
* main.c: Terminate main() with return instead of exit(). |
| 535 |
|
| 536 |
2012-07-15 Peter Breitenlohner <[email protected]> |
| 537 |
|
| 538 |
* kp.c: Pass program name string to kpse_set_program_name. |
| 539 |
|
| 540 |
2012-03-04 Peter Breitenlohner <[email protected]> |
| 541 |
|
| 542 |
Avoid 'differ in signedness' warnings. |
| 543 |
* fread.c (mfgets): Cast buf to 'char *'. |
| 544 |
|
| 545 |
2011-10-21 Akira Kakuto <[email protected]> |
| 546 |
|
| 547 |
* kp.c: program name should be mendex. |
| 548 |
|
| 549 |
2011-08-23 Peter Breitenlohner <[email protected]> |
| 550 |
|
| 551 |
Rename: ChangeLog => ChangeLog.jis, ChangeLog.TL => ChangeLog. |
| 552 |
* Makefile.am: Adapt. |
| 553 |
|
| 554 |
* mendex.h [WIN32]: #define nkf_open as fopen and nkf_close as |
| 555 |
fclose. |
| 556 |
|
| 557 |
* convert.c, fread.c, styfile.c: Open files with mode "rb" |
| 558 |
(required for WIN32, ignored for Unix). |
| 559 |
|
| 560 |
2011-08-02 Peter Breitenlohner <[email protected]> |
| 561 |
|
| 562 |
* convert.c, kp.[ch], main.c: Remove code for ancient kpathsea. |
| 563 |
* Makefile.am (AM_CPPFLAGS): Drop `-DKPATHSEA3'. |
| 564 |
|
| 565 |
2011-04-23 Peter Breitenlohner <[email protected]> |
| 566 |
|
| 567 |
* Makefile.am (EXTRA_DIST): No need to mention ChangeLog, README. |
| 568 |
* configure.ac: Drop useless check for <strings.h>. |
| 569 |
|
| 570 |
* convert.c, fread.c, main.c, sort.c: Do not typecast the |
| 571 |
result of malloc(). |
| 572 |
|
| 573 |
2011-04-22 Peter Breitenlohner <[email protected]> |
| 574 |
|
| 575 |
Avoid 'differ in signedness' warnings. |
| 576 |
The string functions strlen(), strcmp(), strncmp(), strcpy(), |
| 577 |
and strncpy() all expect 'char *' arguments and gcc-4.x will |
| 578 |
create warnings for 'signed char *' and 'unsigned char *' args. |
| 579 |
Moreover strcmp() and strncmp() will always compare string bytes |
| 580 |
interpreted as 'unsigned char'. Finally initializing plain char |
| 581 |
array elements with, e.g., '0x80' always does the right thing. |
| 582 |
|
| 583 |
* convert.c, exkana.h, exvar.h, fread.c, fwrite.c, kana.h, |
| 584 |
ktable.h, mendex.h, sort.c, var.h: Change type of all global and |
| 585 |
local vars, function params, and struct members from 'unsigned |
| 586 |
char' or 'unsigned char *' to plain 'char' or 'char *', but |
| 587 |
always cast string bytes to 'unsigned char' when tested for '<', |
| 588 |
'<=', '>', or '>='. |
| 589 |
|
| 590 |
2010-04-17 Peter Breitenlohner <[email protected]> |
| 591 |
|
| 592 |
* convert.c (dicread, dicvalread), fread.c (idxread), |
| 593 |
pageread.c (lastpage), styfile.c (styread): Use kpse_in_name_ok. |
| 594 |
* fwrite.c (indwrite), main.c (main): Use kpse_out_name_ok. |
| 595 |
From Akira Kakuto <[email protected]>, 17 Apr 2010 23:30:15. |
| 596 |
Added #include <kpathsea/tex-file.h> for prototypes. |
| 597 |
|
| 598 |
* convert.c (kp_dict): Move extern declaration from here ... |
| 599 |
* styfile.c (kp_ist): ... and here ... |
| 600 |
* kp.h (kp_ist, kp_dict): ... to here. |
| 601 |
|
| 602 |
2010-04-16 Peter Breitenlohner <[email protected]> |
| 603 |
|
| 604 |
* exvar.h, var.h (atama, page_compositor, page_precedence): |
| 605 |
Change types from 'char' back to 'unsigned char' as they |
| 606 |
originally were in exvar.h. From Sadayuki Tanaka |
| 607 |
<[email protected]>, 16 Apr 2010 16:30:22. |
| 608 |
|
| 609 |
2010-04-15 Peter Breitenlohner <[email protected]> |
| 610 |
|
| 611 |
* pageread.c: #include "mendex.h" for prototype. |
| 612 |
* kana.h: #include "exkana.h" for type checking. |
| 613 |
* var.h: #include "exvar.h" for type checking. |
| 614 |
* sort.c (wcomp): Initialize local variable prechar. |
| 615 |
* kp.c (KP_init): Use kpse_set_program_name() because |
| 616 |
kpse_set_progname() is deprecated since ages and no longer |
| 617 |
exported from kpathsea. |
| 618 |
|
| 619 |
FIXME: Is this correct? |
| 620 |
* exvar.h (atama, page_compositor, page_precedence): Change type |
| 621 |
from 'unsigned char' to 'char' as defined in var.h. |
| 622 |
|
| 623 |
* convert.c (dicread): Add 'return 0' at end. |
| 624 |
|
| 625 |
Avoid compiler warnings. |
| 626 |
* ANSI C function prototypes and definitions. |
| 627 |
* Declare functions as static, skip compilation of unused ones. |
| 628 |
* Declare various function param or result, struct member, and |
| 629 |
local or global var strings as const. |
| 630 |
|
| 631 |
2010-04-12 Peter Breitenlohner <[email protected]> |
| 632 |
|
| 633 |
* Makefile.am (EXTRA_DIST): Add indexsty, mendex.doc. |
| 634 |
Add rule to rebuild kpathsea. |