1Author: Ken Hornstein <kenh@pobox.com> 2Date: Tue Mar 6 14:10:00 2018 -0500 3 4 Updating for 1.7.1 release. 5 6Author: Ken Hornstein <kenh@pobox.com> 7Date: Tue Feb 20 10:57:44 2018 -0500 8 9 Update DATE and VERSION for third release candidate 10 11Author: David Levine <levinedl@acm.org> 12Date: Mon Feb 19 21:30:17 2018 -0500 13 14 Fixed mhshow/test-charset to work on all tested platforms. 15 16 Restores the functionality of commit f81046da6. Also, skips the 17 last two tests if iconv isn't enabled. And removes the test 18 files if the last test, without iconv_elides_question_marks, behaves 19 as expected. Finally, some comments have been updated. 20 21 (cherry picked from commit 8ed8876c673325b1af92d67012dc2e8ae3cf1019) 22 23Author: David Levine <levinedl@acm.org> 24Date: Sat Feb 3 08:00:36 2018 -0500 25 26 Removed comment about testing noiconv portion of get_param_value(). 27 28 I'm not sure if it ever did, but it doesn't seem to now. 29 30 (cherry picked from commit 63041ccfe270ccecede25ac4f4c18d71aa43b1a4) 31 32Author: Ralph Corderoy <ralph@inputplus.co.uk> 33Date: Sat Feb 3 10:49:40 2018 +0000 34 35 test-charset: Fix test when HAVE_ICONV is false. 36 37 When the Content-Type's charset parameter's encoding is `invalid', it 38 makes no difference whether HAVE_ICONV is defined or not as the 39 parameter's value can't be decoded. 40 41 (cherry picked from commit d4814561eafc238a9ed2b4fa67ef2755e5e83858) 42 43Author: Ralph Corderoy <ralph@inputplus.co.uk> 44Date: Thu Jan 25 00:16:15 2018 +0000 45 46 test-charset: Divulge mhshow output if iconv_open(3) doesn't gripe. 47 48 Andy Bradford was finding the grep failed, but was left with no 49 explanation that's what happened, or what the file that didn't match 50 contained. 51 52 (cherry picked from commit 695ed941eb3d907a7c2912d9ea8fdad06a3fd0f5) 53 54Author: Ken Hornstein <kenh@pobox.com> 55Date: Mon Feb 12 16:01:08 2018 -0500 56 57 Avoid free() in format engine for now. 58 59 This free() call messes up the buffer handling in scansbr.c:scan(); 60 for now we're going to live with the leak and fix this properly when 61 we normalize the format engine's memory handling. 62 63 (cherry picked from commit 19c69cf39d0ab9aee0cf45caa13d39edf1997fef) 64 65Author: Ken Hornstein <kenh@pobox.com> 66Date: Sat Feb 10 01:29:46 2018 -0500 67 68 Add a few more MacOS X valgrind suppressions 69 70 (cherry picked from commit 42db3a2c36e26e0106b1e480407e32d3c8c09bef) 71 72Author: Ken Hornstein <kenh@pobox.com> 73Date: Fri Feb 9 23:15:32 2018 -0500 74 75 Clean up memory leaks by callers of scan(). 76 77 Make sure we reuse the "scanl" argument to the scan() function, as that's 78 the signal to have scan() reuse it's buffers. Otherwise repeated calls 79 to scan will leak a TON of memory. Reported by Ralph Corderoy. 80 81 (cherry picked from commit 946ddda2565e28600b65cb666a59182a6d95ff48) 82 83Author: Ken Hornstein <kenh@pobox.com> 84Date: Sun Jan 21 17:59:13 2018 -0500 85 86 Update for second release candidate. 87 88Author: Ralph Corderoy <ralph@inputplus.co.uk> 89Date: Sat Jan 20 11:48:30 2018 +0000 90 91 test-whom: Send whom's stderr down pipe; don't discard. 92 93 Fixes 2a02eef3. 94 95 (cherry picked from commit c349c172bd195190c0ddb7754644f16ba8545fda) 96 97Author: Ralph Corderoy <ralph@inputplus.co.uk> 98Date: Sat Jan 20 11:45:32 2018 +0000 99 100 test-msgchk: Send msgchk's stderr down pipe; don't discard. 101 102 Present since original 26ac907a. 103 104 (cherry picked from commit 341ac166ef0f1e9b0eac5ab3fa74899e5323c242) 105 106Author: Ralph Corderoy <ralph@inputplus.co.uk> 107Date: Sat Jan 20 11:38:24 2018 +0000 108 109 test: Send command's stderr down pipe; don't discard. 110 111 Fixes 880ff2a4 that turned `foo >$actual 2>&1' into 112 `foo | sed ... >$actual 2>&1'. 113 114 (cherry picked from commit 025963d5fe8ca0781eee8c83c23b4ea1209a3b0b) 115 116Author: Ralph Corderoy <ralph@inputplus.co.uk> 117Date: Sat Jan 20 08:57:40 2018 +0000 118 119 test/common.sh.in: Unset libcurl(3)'s proxy environment variables. 120 121 Debian's packager, Alexander Zanger, reported test/oauth/test-* problems 122 due to environment variables for the system's network proxies. David 123 Levine suggested the unsetting of them. The tests only make HTTP 124 connections so just the variables affecting those are unset. 125 126 (cherry picked from commit 5303e0f65b71e1336944a5b10356d6a99528511a) 127 128Author: Ralph Corderoy <ralph@inputplus.co.uk> 129Date: Sat Jan 20 07:33:36 2018 +0000 130 131 test-subpart: Send mhshow's stderr down pipe; don't discard. 132 133 Fixes 2f1e191a. 134 135 (cherry picked from commit ca079bfa8e3812ebf21ffec1c27edeaa03cb9280) 136 137Author: Ralph Corderoy <ralph@inputplus.co.uk> 138Date: Sat Jan 20 07:28:29 2018 +0000 139 140 test-textcharset: Send mhshow's stderr down pipe; don't discard. 141 142 Fixes 67bb0fc0. 143 144 (cherry picked from commit f7a2498729e0c642c7c7fb573deee3a35176de44) 145 146Author: Ralph Corderoy <ralph@inputplus.co.uk> 147Date: Sat Jan 20 00:08:33 2018 +0000 148 149 fmttest.c: Avoid `++' with bools, silencing compiler warnings. 150 151 A partial application of fmttest.c's changes in 8c6e995a to fix the 152 errors introduced by the cherry-picking of another commit in 88ba19fc. 153 154Author: David Levine <levinedl@acm.org> 155Date: Thu Jan 18 21:46:13 2018 -0500 156 157 Removed quotes around "%{charset}" in mhbuild-convert-text. 158 159 They broke test/repl/test-convert on Cygwin. It looks like parameter 160 quoting differs between mhbuild and mhshow. 161 162 Fix to commit 47629e9e87a324531be881cebfca38dd38f8afaa. 163 164 (cherry picked from commit 73e1f01148bb9709a405e27f7d3c5a95ea03b859) 165 166Author: David Levine <levinedl@acm.org> 167Date: Thu Jan 18 20:21:40 2018 -0500 168 169 Removed quotes from charset argument to iconv. 170 171 Fix to commit 47629e9e87a324531be881cebfca38dd38f8afaa. Ken 172 noticed that it broke test/repl/test-convert on MacOS X. 173 174 (cherry picked from commit a3953e07ac53f83373326301d049faea82eb97d0) 175 176Author: David Levine <levinedl@acm.org> 177Date: Thu Jan 18 19:03:52 2018 -0500 178 179 Filter test output to remove added whitespace. 180 181 Ralph noticed that lynx added whitespace to the (empty) converted 182 html document, breaking the test. 183 184 Fix to commit 47629e9e87a324531be881cebfca38dd38f8afaa. 185 186 (cherry picked from commit 67bb0fc0c930d5c91b6a2881b4596e1044546297) 187 188Author: David Levine <levinedl@acm.org> 189Date: Wed Jan 17 19:36:12 2018 -0500 190 191 Wrapped uses of %{charset} in mhn.defaults with double quotes. 192 193 (cherry picked from commit 47629e9e87a324531be881cebfca38dd38f8afaa) 194 195Author: Ken Hornstein <kenh@pobox.com> 196Date: Tue Jan 16 21:16:32 2018 -0500 197 198 Update for first release candidate of 1.7.1. 199 200Author: Ralph Corderoy <ralph@inputplus.co.uk> 201Date: Wed Nov 22 13:44:01 2017 +0000 202 203 Rewrite cpnumber() to fix `%2(msg)' with 123 overflowing to `?23'. 204 205 Reported in 1.7 by Ken on nmh-workers yesterday. 206 `It seems this was introduced in commit 92128dacf'. 207 We now use the C library to format the number, and then manipulate the 208 result. A temporary charstring_t is no longer used. 209 Also adds left justification using negative width. 210 211 (cherry picked from commit a034d7e5edab2f0d56a62f6e1fcbbc76f3e5f31b) 212 213Author: Ralph Corderoy <ralph@inputplus.co.uk> 214Date: Mon Jan 15 16:25:35 2018 +0000 215 216 Add test-fmttest for cpstripped(), cptrimmed(), and cpnumber(). 217 218 Many more tests could be done, and some, like those below, would produce 219 known erroneous results, but this is a start and helps spot regressions. 220 221 create mode 100755 test/format/test-fmttest 222 223 (cherry picked from commit 3e2ca6f83691294fece17b00f8f08b203821c91f) 224 225Author: Ralph Corderoy <ralph@inputplus.co.uk> 226Date: Sat Jan 13 13:54:15 2018 +0000 227 228 fmttest: Allow `-outsize 0' to mean no output, not default size. 229 230 `0' might be arrived at by a script tracking remaining space. 231 232 (cherry picked from commit 4fd4b0afa64f34a399c0b1bbbffacb859d1e55b8) 233 234Author: Ralph Corderoy <ralph@inputplus.co.uk> 235Date: Wed Nov 29 17:28:50 2017 +0000 236 237 Add Arch Linux to the often-built-and-tested distro list. 238 239 And correct a `Mac OS' to have an `X', and `HPUX' to be `HP-UX'. 240 241 (cherry picked from commit 9283525375671f0c4c6d0c021440074b3c96ac0a) 242 243Author: David Levine <levinedl@acm.org> 244Date: Sat Dec 2 15:43:16 2017 -0500 245 246 Removed version number from OpenBSD, it's in the "recent" section. 247 248 (cherry picked from commit 0813132987677a8b0cf3b4d0e8bf851657deeadd) 249 250Author: David Levine <levinedl@acm.org> 251Date: Sat Dec 2 09:44:19 2017 -0500 252 253 Moved OpenBSD back to "routinely built and tested" category. 254 255 (cherry picked from commit a640546144e14bc303c3ca0de019b40818ccc319) 256 257Author: David Levine <levinedl@acm.org> 258Date: Mon Nov 27 20:56:30 2017 -0500 259 260 Updated platform lists in MACHINES. 261 262 (cherry picked from commit ac30294d6103652024539ebb76af348977812050) 263 264Author: Ralph Corderoy <ralph@inputplus.co.uk> 265Date: Mon Sep 25 17:43:04 2017 +0100 266 267 Delete "blank" lines at start of files to bring content into view. 268 269 (cherry picked from commit a7c1ec95e26ca515d95bfda1e260e3827ba25a1e) 270 271Author: David Levine <levinedl@acm.org> 272Date: Mon Jan 15 17:30:49 2018 -0500 273 274 Also trap ambiguous post switch. 275 276 Fix to commit d321a6ee82fce5d187f4342199c090909a72e9b8. 277 278 (cherry picked from commit ff7b97ca9ddcf66640aaeef01934a6b45a5f183b) 279 280Author: David Levine <levinedl@acm.org> 281Date: Mon Jan 15 17:16:41 2018 -0500 282 283 Fixed rcvdist to pass switch arguments to post(1). 284 285 Looks like this has always been broken. Found by Steven Winikoff 286 when he tried to pass a -port switch, to override the default 287 submission port. 288 289 This is intended to be a temporary fix. The post switches should 290 be factored out into one place. 291 292 (cherry picked from commit d321a6ee82fce5d187f4342199c090909a72e9b8) 293 and manually changed die() to adios() 294 295Author: David Levine <levinedl@acm.org> 296Date: Sun Jan 14 15:04:53 2018 -0500 297 298 Removed escape before newline. 299 300 It was causing a *roff font selection code to appear in the 301 formatted man page. 302 303 Fix to commit 95e0df2af. That commit removed a space after the 304 escape, which used to cause a double space in the formatted output. 305 306 (cherry picked from commit 28ebf6bb835e9954c0f959b56c8abac2bf3decd5) 307 308Author: David Levine <levinedl@acm.org> 309Date: Sat Nov 18 10:35:19 2017 -0500 310 311 Move etc/rmmproc.messageid to fix its install permissions. 312 313 And removed duplicate docs/contrib/replaliases to fix its install permissions. 314 315 (cherry picked from commit f102d048fdd4679534460ac5cb0c610ee228d063) 316 317Author: David Levine <levinedl@acm.org> 318Date: Mon Nov 27 20:11:30 2017 -0500 319 320 Removed sbr/dtimep.c from CLEANFILES. 321 322 automake puts it in maintainer-clean-generic, which is where it belongs. 323 Reversal of commit 1353a95720e4049e5f8357cd009b76c0450ec39f. 324 325 (cherry picked from commit babec898bb63d36349aae85a8cbde6b97b274192) 326 327Author: Ralph Corderoy <ralph@inputplus.co.uk> 328Date: Mon Nov 27 15:20:44 2017 +0000 329 330 test-mhfixmsg: pwd(1)'s `-P' needed to avoid failure with symlinks. 331 332 Steven Winikoff reported to nmh-workers that one of this file's tests 333 failed in 1.7. It attempts to manipulate the output of mhpath(1) 334 assuming it starts with the result of `pwd', but symlinks in the latter 335 may cause this to fail. Use POSIX's `-P' option to ensure no symlinks, 336 as done in some other tests. 337 338 (cherry picked from commit 0e593b90e45687680b8ea9eb6c7643b44abde0fb) 339 340Author: David Levine <levinedl@acm.org> 341Date: Sun Nov 26 17:27:48 2017 -0500 342 343 Use ISO-2022-KR instead of EBCDIC-US in test-charset, because 344 Robert Elz reported that it is installed on his NetBSD host. 345 Also, don't run that check without iconv. 346 347 (cherry picked from commit f81046da683a14b2265a501f0de00df264a77413) 348 349Author: Ralph Corderoy <ralph@inputplus.co.uk> 350Date: Sun Nov 26 12:09:22 2017 +0000 351 352 Fix tests that assume the backup prefix is a comma. 353 354 Steven Winikoff reported to nmh-workers that some tests failed in 1.7 355 configured with --with-hash-backup because they assume the backup prefix 356 is comma rather than hash. Alter those tests to use `mhparam sbackup', 357 as other tests already do. PATH is already set to use the mhparam being 358 tested. 359 360 test-mhfixmsg used find(1) to check for leftover files that globbed 361 `mhfix*' or `,mhfix*'. Changed to just `*mhfix*' as I think any file 362 containing that would be unwanted, and it will also spot mhfixmsg 363 hard-coding the comma prefix. 364 365 (cherry picked from commit 47b86722957cca6057bf5fcd07c9d1f01b4516f8) 366 367Author: Ralph Corderoy <ralph@inputplus.co.uk> 368Date: Sat Nov 25 15:42:09 2017 +0000 369 370 mhshow/test-charset: Protect question mark from shell globbing. 371 372 (cherry picked from commit f227479ac47aea8bc8f31f9c6d97a94af72ee147) 373 374Author: David Levine <levinedl@acm.org> 375Date: Fri Nov 24 18:41:23 2017 -0500 376 377 Reworked parameter value tests to reflect Ralph's (re-?) discovery 378 that GNU iconv elides the ? from charset names. nmh uses it as a 379 replacement character when decoding fails. 380 381 (cherry picked from commit 523641d2282ce5606a8b83250f9e45f33650edf6) 382 383Author: Ralph Corderoy <ralph@inputplus.co.uk> 384Date: Wed Nov 22 15:12:11 2017 +0000 385 386 fmttest.c: Clear output buffer after each write. 387 388 Otherwise each write outputs the whole buffer again, including what's 389 already appeared. Instead of the three lines 1, 2, 3, one sees 1, 1, 2, 390 1, 2, 3. 391 392 (cherry picked from commit 1670e4d1af608291d93f02e74c57b6aef69a83ad) 393 394Author: David Levine <levinedl@acm.org> 395Date: Sun Dec 17 20:41:34 2017 -0500 396 397 Removed sysconfdir overrides from SPECS examples. 398 399Author: Ken Hornstein <kenh@pobox.com> 400Date: Fri Nov 17 10:23:34 2017 -0500 401 402 Update for 1.7 final release. 403 404Author: David Levine <levinedl@acm.org> 405Date: Tue Sep 5 10:51:00 2017 -0400 406 407 Revised expected output with -prefer in test/mhlist/test-mhlist. 408 409 Update to commit 5dce1b38ace6cf61398df3ee4ca5aee0e1dedb5d. 410 411 (cherry picked from commit f6d438b5e08d12eacb62f93a8ce1a6c22d2ae16d) 412 413Author: Ralph Corderoy <ralph@inputplus.co.uk> 414Date: Fri Nov 17 12:04:01 2017 +0000 415 416 NEWS: Encourage nmh-announce subscription. Capitalise `Gmail'. 417 418 (cherry picked from commit 532e14e4e60411b4375b34f6c99b0c988259415c) 419 420Author: Ken Hornstein <kenh@pobox.com> 421Date: Sat Nov 4 09:59:18 2017 -0400 422 423 Use va_copy() to get a copy of va_list, instead of using original. 424 425 netsec_vprintf() can call vsnprintf() twice if the outgoing buffer is 426 full (but it happens rarely in practice, given the way the current 427 code uses it). But if this DOES happen, vsnprintf() will use the 428 same va_list argument twice, and the second time around either it will 429 grab a random bit of memory off of the stack OR it will segfault. 430 So we always use va_copy() to get our own copy of the passed-in va_list 431 and work on that. 432 433 (cherry picked from commit b47b562525f149f175c3d216feea20a6db2e9ff5) 434 435Author: Paul Fox <pgf@foxharp.boston.ma.us> 436Date: Sat Sep 2 11:24:01 2017 -0400 437 438 Add -noprefer switch to mhshow, mhstore, and mhlist 439 440 Allow profile-specified -prefer switches to be cancelled from the 441 command line. 442 443 (cherry picked from commit ceeb47c04f8abb144a3fbaeae3a54010175c2d36) 444 445Author: Paul Fox <pgf@foxharp.boston.ma.us> 446Date: Sat Sep 2 09:13:44 2017 -0400 447 448 Change the priority ordering for multiple -prefer switches 449 450 Interpreting multiple -prefer switches in ascending priority 451 order allows the command line to override the user's profile. 452 453 (cherry picked from commit 5dce1b38ace6cf61398df3ee4ca5aee0e1dedb5d) 454 455Author: Ken Hornstein <kenh@pobox.com> 456Date: Fri Sep 8 12:08:41 2017 -0400 457 458 Add a -credentials argument when we call post. 459 460 If we are using -check, post(8) will need to talk to a remote SMTP server, 461 and it might need to perform authentication when doing so. So include a 462 -credentials option if there is the appropriate line in the user's profile. 463 464 (cherry picked from commit 9a4413187b1cf9562bceef8cfe442278ed67afd9) 465 466Author: Ken Hornstein <kenh@pobox.com> 467Date: Fri Sep 8 13:46:08 2017 -0400 468 469 Send a QUIT instead of RSET at session end when doing 'whom'. 470 471 When running 'whom -check' (which really invokes post(8)), at the 472 end of the SMTP session we would send a RSET instead of a QUIT. This was 473 technically a RFC violation (RFC 5321 says a QUIT has to be the last 474 thing you send), and this would cause some SMTP servers to complain. 475 So make sure if we're being invoked by whom to send a QUIT at the end 476 of the session. Reported by Ralph Corderoy. 477 478 (cherry picked from commit 6396778780e014c789e3d18a0880525ee1cde4f6) 479 480Author: Ken Hornstein <kenh@pobox.com> 481Date: Wed Aug 23 14:35:21 2017 -0400 482 483 Update for release candidate 3 484 485Author: Ken Hornstein <kenh@pobox.com> 486Date: Wed Aug 23 12:08:24 2017 -0400 487 488 Make sure we return the descriptor from the file handle. Noted by 489 Ralph Corderoy. 490 491 (cherry picked from commit 15fde7dd84cc29c054857e5d8a7fdd4a8db10a97) 492 493Author: David Levine <levinedl@acm.org> 494Date: Mon Aug 21 16:44:07 2017 -0400 495 496 Removed conditional addition of -D_FORTIFY_SOURCE=2 from CPPFLAGS. 497 498 And added to CFLAGS in build_nmh. 499 500 (cherry picked from commit 7d728514c2c11f194afd433445666ae6c3b7dba7) 501 502Author: Ralph Corderoy <ralph@inputplus.co.uk> 503Date: Sun Aug 20 14:59:26 2017 +0100 504 505 man: Vet the NAME sections, especially mhfixmsg's. 506 507 Don't limit mhfixmsg to fixing "nmh MIME" emails. 508 509 (cherry picked from commit aae36dd297503787301fef6b9573c749846a6392) 510 511Author: David Levine <levinedl@acm.org> 512Date: Sun Aug 20 09:20:49 2017 -0400 513 514 Add -D_FORTIFY_SOURCE=2 to CPPFLAGS instead of AM_CPPFLAGS. 515 516 To make it easier for packagers to override. 517 Fix to commit 35d2b4dc00d705e6816bcb0ccab491aabda688dc. 518 519 (cherry picked from commit 73a94823f58fa921f9e6c58632f9cecead0e10fd) 520 521Author: David Levine <levinedl@acm.org> 522Date: Sun Aug 20 08:50:17 2017 -0400 523 524 Restored old NAME in mhical(1) man page. 525 526 mhical only operates on iCalendar event requests, not messages. 527 Fix to commit 0e7daaa2daf6c668c8c6feb9da3c9a6639fa4e7e. 528 529 (cherry picked from commit b1fb6f46efb8956aae6397c704db26e1310a6564) 530 531Author: Ralph Corderoy <ralph@inputplus.co.uk> 532Date: Sun Aug 20 12:33:38 2017 +0100 533 534 scan.man: Note that %{body} does not decode MIME. 535 536 (cherry picked from commit b852bee5757ed6aaee4046f68cbe458a1ffa623d) 537 538Author: Ralph Corderoy <ralph@inputplus.co.uk> 539Date: Sun Aug 20 10:34:01 2017 +0100 540 541 NEWS: Add bug fix: EPIPE when writing error no longer recurses. 542 543 Also move an existing item into the Bug Fixes section. 544 545 (cherry picked from commit 5da45d9802e59261cba09af83ebc77e106345b04) 546 547Author: Ralph Corderoy <ralph@inputplus.co.uk> 548Date: Sun Aug 20 09:31:18 2017 +0100 549 550 NEWS: Consistent punctuation. Mention SI and IEC quantities. 551 552 (cherry picked from commit 7ec9aaa931525abed3df348a22f824c49c828225) 553 554Author: Ralph Corderoy <ralph@inputplus.co.uk> 555Date: Sat Aug 19 15:58:49 2017 +0100 556 557 test-sendfiles: Feed `lzma -cd' stdin rather than a filename. 558 559 Håkon Alstadheim reported that Debian's lzma-9.22-2 would complain at 560 `lzma -cd foo.tar' with `unknown suffix -- unchanged' even though it was 561 not being asked to alter the file, or produce a new one based on its 562 filename. This appears to be https://bugs.debian.org/700681. The lzma 563 from Arch Linux's xz 5.2.3-1 does no have this fault. Work around it by 564 feeding the file to decompress on standard input for all the compression 565 programs being tested; none of the others should mind. 566 567 (cherry picked from commit 937ee92013bed7b3ebd30fff2c17a751d37b1a61) 568 569Author: David Levine <levinedl@acm.org> 570Date: Fri Aug 18 23:18:15 2017 -0400 571 572 Protect fileno() call against NULL argument. 573 574 Fix to commit 337b4e616e8f53ba06285b1645e1df9918ed5c16. Thanks to 575 Norm for reporting and Ken for diagnosing the bug. 576 577 (cherry picked from commit c8815b7b63b710e1480d4be759744583e59308e9) 578 579Author: Ralph Corderoy <ralph@inputplus.co.uk> 580Date: Fri Aug 18 14:29:59 2017 +0100 581 582 lock_file.c: Compiler warns of unused isnewlock if HAVE_LIBLOCKFILE. 583 584 (cherry picked from commit bb8a255634719c63cfae1ee4d0fb12f056efa71b) 585 586Author: David Levine <levinedl@acm.org> 587Date: Thu Aug 17 19:45:20 2017 -0400 588 589 Default CFLAGS to -std=c99 instead of -ansi. 590 591 gcc -ansi -pedantic issued a few warnings about C90 not supporting the 592 "ll" printf length modifier. Ralph pointed out that 593 http://www.unix.org/version4/overview.html says: 594 595 The following source code portability standards lie at the core of 596 the Single UNIX Specification: 597 598 POSIX.1-2008 599 600 (This is technically identical to the Base Specifications, Issue 7; 601 they are one and the same document.) 602 603 The ISO/IEC 9899:1999 standard 604 605 So perhaps we're wrong to expect modern POSIX code to compile as C90. 606 607 (cherry picked from commit f4ec967205c6fa0f3d37aad24335337251f17e16) 608 609Author: Ralph Corderoy <ralph@inputplus.co.uk> 610Date: Thu Aug 17 12:42:57 2017 +0100 611 612 Both f_typestr(): Remove parenthesis from long list of returns. 613 614 It's not a function call, they're just noise. 615 616 (cherry picked from commit 16b794c5709dc07a81534fd90fed5d1f25f3fbea) 617 618Author: Ralph Corderoy <ralph@inputplus.co.uk> 619Date: Thu Aug 17 12:36:50 2017 +0100 620 621 Both f_typestr(): Rebuild switch from FT_* to string from scratch. 622 623 Adds missing cases, e.g. FT_LS_CFIND. Removes inconsistent "FT_" prefix 624 from some strings, e.g. FT_LS_DECODE. Re-orders cases to match 625 definitions. 626 627 (cherry picked from commit ce8a66e8b8e9a818d165d09f8df56178e0b40dc9) 628 629Author: Ralph Corderoy <ralph@inputplus.co.uk> 630Date: Thu Aug 17 12:20:16 2017 +0100 631 632 fmtdump.c, fmttest.c: Remove tests for FT_LIT_FORCE. 633 634 It isn't defined, and git-grep(1) suggests it was a local Lawrence 635 Berkeley Laboratory modification that output a literal without consuming 636 any of the width budget. 637 638 (cherry picked from commit efb2c94fbc4861fc81307cd5d0ce22eb16e6de26) 639 640Author: Ralph Corderoy <ralph@inputplus.co.uk> 641Date: Thu Aug 17 11:35:51 2017 +0100 642 643 cpnumber(): Cast desired width to size_t to silence gcc's warning. 644 645 Add a comment on `wid = -wid' that it's OK because wid's value was 646 originally a short so won't remain the same value. 647 648 (cherry picked from commit ac0bb0e1e19bedfd9d7105db0aad1cdfc5ef994f) 649 650Author: Ralph Corderoy <ralph@inputplus.co.uk> 651Date: Wed Aug 16 13:44:32 2017 +0100 652 653 INSTALL: Update c89(1) mention to c99(1), that exists today. 654 655 (cherry picked from commit 0d0d0e65a4c093f3f8827d4cd3375dcde4d4aab0) 656 657Author: Ralph Corderoy <ralph@inputplus.co.uk> 658Date: Wed Aug 9 16:00:17 2017 +0100 659 660 fmtdump.c: Add string for FT_LS_UNQUOTE case. 661 662 It was missing since e8635a8a1 and the default case that attempted to 663 format it as a number was faulty, fixed in 39ecf70bb. That fix broke 664 test/format/test-fmtdump as it expected the broken "blank line" to be 665 output instead. 666 667 (cherry picked from commit 4bdd57be745679ee8fc97a3029fa837b14a80b50) 668 669Author: Ralph Corderoy <ralph@inputplus.co.uk> 670Date: Sun Aug 13 15:04:58 2017 +0100 671 672 post.man: Detail -port's default value: submission, 587. 673 674 (cherry picked from commit d9c165f79476d60ac59515d3b23ede004759fe06) 675 676Author: Leonardo Taccari <iamleot@gmail.com> 677Date: Thu Aug 17 19:42:48 2017 -0400 678 679 mhical expected an ics file as input and after just pressing 680 ^D I've found that mhical wasn't happy about an empty input. 681 A trivial patch that should fix this issue. 682 683 (cherry picked from commit 76b9af849ba1c93eb2b6807e57268b7a7a2e205c) 684 685Author: Ken Hornstein <kenh@pobox.com> 686Date: Thu Aug 17 13:01:09 2017 -0400 687 688 Update for release candidate 2. 689 690Author: Ralph Corderoy <ralph@inputplus.co.uk> 691Date: Thu Aug 17 11:59:38 2017 +0100 692 693 Makefile.am: Remove multiple `mkdir -p' for etc; use ./configure. 694 695 A `mkdir -p' was used in each rule that created a file in etc to ensure 696 the directory already existed. Ken pointed out existing ./configure 697 code to do that for the man directory, just once. Use that for etc too. 698 Remove the `test -d' because `mkdir -p' does that itself. 699 700 (cherry picked from commit 1009a32da2ba2b0caae7b71708625e00d8cf58c6) 701 702Author: Ken Hornstein <kenh@pobox.com> 703Date: Thu Aug 17 01:24:08 2017 -0400 704 705 Fix bug in cpnumber(). 706 707 The cpnumber() function (which handles the NUMF instruction, among others) 708 would hang if a 0 width was given to it. Make sure that (and negative 709 widths) are handled correctly. Note that normally NUMF did not handle 710 left padding which is indicated by a negative width; that may change 711 in the future. 712 713 (cherry picked from commit 58fa16ef1e6d6c3a698d220409416bccec187287) 714 715Author: Ken Hornstein <kenh@pobox.com> 716Date: Thu Aug 17 01:12:22 2017 -0400 717 718 Improve installation documentation 719 720 Fix up the various installation information so it matches reality. 721 722 (cherry picked from commit b7a676587f92187d2270be73a1ede5be0af9f104) 723 724Author: Ken Hornstein <kenh@pobox.com> 725Date: Wed Aug 16 23:55:23 2017 -0400 726 727 Make sure the %(kilo) and %(kibi) instructions are in fmttest(1). 728 729 Man, we should really merge fmttest and fmtdump at some point. 730 731 (cherry picked from commit 877306f0cf8700241efc2e245f66df5ba95113f9) 732 733Author: Ralph Corderoy <ralph@inputplus.co.uk> 734Date: Sun Aug 6 18:15:41 2017 +0100 735 736 cpstripped(): Rewrite multi-byte version. 737 738 Removes the assert(3) failure reported on the list for 1.7-RC1 when a 739 non-space, non-cntrl, rune has a wcwidth(3) of -1; output L'?' in its 740 place. The old code also didn't reset mbtowc(3)'s state before trying 741 to parse "?"; that's handled differently now so isn't an issue. Pad 742 with the multi-byte encoding of L" ", having ensured the wcwidth(1) of 743 L' ' is one, rather than with a non-wchar_t ' '. Point out padding only 744 occurs in one particular case, and not the other two; quite odd. 745 746 (cherry picked from commit a091c28b416f83aa46dcb0bd0da81ca1d3b8a7f9) 747 748Author: Ralph Corderoy <ralph@inputplus.co.uk> 749Date: Sat Aug 5 18:20:07 2017 +0100 750 751 cpstripped(), single-byte: Simplify logic. 752 753 Now that it doesn't have to fit in with the multi-byte version's logic, 754 it can be re-structured to be simpler. No functional change intended. 755 756 (cherry picked from commit 8ba2c2e0a5c0e2c087cd1684a885b959c101e010) 757 758Author: Ralph Corderoy <ralph@inputplus.co.uk> 759Date: Sat Aug 5 17:57:48 2017 +0100 760 761 cpstripped: Split into two versions, each with a single #ifdef. 762 763 Got fed up trying to read C logic when the preprocessor's logic didn't 764 nest neatly with the function's. No intentional change to either 765 version. 766 767 (cherry picked from commit 0a934c0ff1b5623956da677751e485c52e1ab361) 768 769Author: David Levine <levinedl@acm.org> 770Date: Tue Aug 8 20:10:49 2017 -0400 771 772 Fixed scan to handle empty files without violating an assert [Bug #51693]. 773 774 (cherry picked from commit 0d593e1ce1a218332af78b83987543756b0c6cf4) 775 776Author: Ralph Corderoy <ralph@inputplus.co.uk> 777Date: Thu Aug 3 12:22:07 2017 +0100 778 779 NEWS: Move "new features" that might bite a user to the top. 780 781Author: Ralph Corderoy <ralph@inputplus.co.uk> 782Date: Thu Aug 3 12:17:30 2017 +0100 783 784 NEWS: Re-order 1.7's sections, as discussed on nmh-workers. 785 786Author: Ken Hornstein <kenh@pobox.com> 787Date: Wed Aug 2 22:20:46 2017 -0400 788 789 Updates for 1.7 release. 790 791Author: Ken Hornstein <kenh@pobox.com> 792Date: Wed Aug 2 00:03:40 2017 -0400 793 794 Update DATE and VERSION for start of 1.7 release. 795 796Author: Ken Hornstein <kenh@pobox.com> 797Date: Tue Aug 1 23:53:05 2017 -0400 798 799 Use correct error code for SSL context retrieval. 800 801 Make sure we use the correct error code if we are unable to retrieve 802 the SSL context from the context from the BIO. 803 804Author: Ken Hornstein <kenh@pobox.com> 805Date: Tue Aug 1 13:28:04 2017 -0400 806 807 Document bug fix 808 809Merge: 8f460dd a2d70b2 810Author: Ken Hornstein <kenh@pobox.com> 811Date: Tue Aug 1 13:22:36 2017 -0400 812 813 Merge branch 'fix-post-bcc' 814 815 This branch fixes bug #51098; the lack of alias expansion on a From line 816 when doing a Bcc. Admittedly, this is rather an obscure bug, and AFAICT 817 it never worked in any version of MH or nmh, but it is fixed now. 818 819Author: Ken Hornstein <kenh@pobox.com> 820Date: Tue Aug 1 13:21:21 2017 -0400 821 822 Implemented test for this patch. 823 824 This patch tests the code that does alias expansion in a From line when 825 doing bcc. Which is, now that I think about it, one heck of a corner case. 826 827Author: Ralph Corderoy <ralph@inputplus.co.uk> 828Date: Tue Aug 1 14:41:20 2017 +0100 829 830 Move m_getfld's MS_* mbox-type macros to the only user. 831 832Author: David Levine <levinedl@acm.org> 833Date: Mon Jul 31 22:00:39 2017 -0400 834 835 Restricted application of the adjustment in m_Eom(). 836 837 Per Ralph's suggestion. Update to commit 29db9a64a. Also, 838 consolidated print statments in test-eom-align. 839 840Author: David Levine <levinedl@acm.org> 841Date: Sun Jul 30 20:24:34 2017 -0400 842 843 Hacked m_Eom() to fix test-eom-align. 844 845Author: David Levine <levinedl@acm.org> 846Date: Sat Jul 29 17:55:25 2017 -0400 847 848 Restored local variable to m_Eom(), to not truncate EOF. 849 850 Reversion of significant part of commit d3e11c5e9. Thanks to Ralph 851 for noticing that it wasn't a good change. 852 853Author: David Levine <levinedl@acm.org> 854Date: Sat Jul 29 17:07:06 2017 -0400 855 856 Removed a local variable from m_Eom(). 857 858 Minor code simplification in preparation for upcoming fix. 859 860Author: David Levine <levinedl@acm.org> 861Date: Sat Jul 29 12:42:35 2017 -0400 862 863 Simplified m_strn() per Ralph's suggestions. 864 865 Update to commit 4a56a28ac. 866 867Author: David Levine <levinedl@acm.org> 868Date: Sat Jul 29 10:47:16 2017 -0400 869 870 Use m_strn() to allow restoration of buffer size to 26 bytes. 871 872 Fix to commit a3724ed39. 873 874Author: Ralph Corderoy <ralph@inputplus.co.uk> 875Date: Sat Jul 29 15:06:11 2017 +0100 876 877 dtimezone(): Explain abs(3) is undefined on INT_MIN. 878 879 That's why a negative int is flipped over into unsigned by assuming 880 two's complement. 881 882Author: David Levine <levinedl@acm.org> 883Date: Sat Jul 29 10:02:28 2017 -0400 884 885 Added m_str() and m_strn() functions to convert int to string. 886 887 Allows better fix to uip/forw.c than commit d711510305. 888 889Author: Ralph Corderoy <ralph@inputplus.co.uk> 890Date: Sat Jul 29 14:29:15 2017 +0100 891 892 Simplify dtimezone()'s logic by working with unsigned int. 893 894 Character buffer is resized down from arbitrary 64 to suit 32-bit int, 895 a change to the recent a3724ed3. 896 897Author: Ken Hornstein <kenh@pobox.com> 898Date: Tue Jul 25 15:40:28 2017 -0400 899 900 Finished implementation, but tests need to be written. 901 902Author: David Levine <levinedl@acm.org> 903Date: Sun Jul 23 11:39:24 2017 -0400 904 905 Added some specific tests to test-eom-align. 906 907 These were found by scanning a much larger range of buffer sizes, 908 over nmh versions from cvs, 1.4, 1.5, 1.6, and current HEAD. 909 910Author: Ralph Corderoy <ralph@inputplus.co.uk> 911Date: Mon Jul 17 12:58:38 2017 +0100 912 913 Bump up size of two static char[] so gcc knows they won't overflow. 914 915Author: David Levine <levinedl@acm.org> 916Date: Sun Jul 16 20:06:01 2017 -0400 917 918 Increase size of buffer to avoid warning from gcc -Wformat-truncation. 919 920Author: David Levine <levinedl@acm.org> 921Date: Sun Jul 16 17:25:51 2017 -0400 922 923 Replaced snprintf() to convert an int with m_name(). 924 925 At Ralph's suggestion. The goal was to get rid of a warning from 926 gcc -Wformat-truncation, but the code ends up being cleaner as well. 927 928Author: David Levine <levinedl@acm.org> 929Date: Sun Jul 16 09:02:08 2017 -0400 930 931 Enhanced mhical syntax error message to provide some context. 932 933 Specifically for the case of improperly folded lines. 934 935Author: David Levine <levinedl@acm.org> 936Date: Sat Jul 15 09:37:26 2017 -0400 937 938 Fixed flex fixups to not break LFLAGS. 939 940 Addresses comment added in commit 4ac978448. 941 942Author: David Levine <levinedl@acm.org> 943Date: Sat Jul 15 09:16:47 2017 -0400 944 945 Added flex fixup for Fedora 26's flex 2.6.1. 946 947 The fix is compatible with unpatched flex 2.6.1. 948 949Author: Ken Hornstein <kenh@pobox.com> 950Date: Fri Jun 23 11:53:28 2017 -0400 951 952 Start of work to fix lack of address rewriting for bcc 953 954 This is the start of work to fix the problems described in #51098. Is 955 not finished yet. 956 957Author: David Levine <levinedl@acm.org> 958Date: Sat Jun 17 13:42:59 2017 -0400 959 960 Rearranged statements to eliminate memory allocation. 961 962 Update to commit a5bf16c0928cb4044b082f9cf6f44f9bb3998824. 963 964Author: David Levine <levinedl@acm.org> 965Date: Sat Jun 17 11:01:32 2017 -0400 966 967 Show display program name and arguments in error message if it fails. 968 969Author: David Levine <levinedl@acm.org> 970Date: Sat Jun 17 09:32:00 2017 -0400 971 972 Don't bypass scan_content() when expanding pseudoheaders. 973 974 expand_pseudoheader() would avoid the call to scan_content() in order 975 to inhibit use of quoted-printable for text content. Removed that; 976 the user still has control over the use of quoted-printable via 977 -maxunencoded. Though now, lines over 998 bytes long will always 978 be encoded. 979 980Author: Ralph Corderoy <ralph@inputplus.co.uk> 981Date: Sat Jun 10 18:32:08 2017 +0100 982 983 sbr/netsec.c: Report popped TLS error code, don't pop again. 984 985 ERR_get_error() pops an error code so having tested that value it should 986 also be the one that's reported in an error message, not another popped 987 error code by calling ERR_get_error() again as this misleads as to the 988 error's cause. 989 990Author: Ralph Corderoy <ralph@inputplus.co.uk> 991Date: Tue May 30 23:00:10 2017 +0100 992 993 uip/inc.c: Don't increment variable of type bool. 994 995 gcc 7.1.1 is warning against incrementing `bool' variables. 996 Assign true instead. 997 998Author: David Levine <levinedl@acm.org> 999Date: Thu Jun 1 19:54:21 2017 -0400 1000 1001 Fixed double fclose(). 1002 1003Author: Ken Hornstein <kenh@pobox.com> 1004Date: Thu Jun 1 12:26:23 2017 -0400 1005 1006 Remove ancient SENDMAILBUG code. 1007 1008 Old SMTP code used to treat a code 451 the same as code 250 (success). It's 1009 not clear if this was ever a real bug in sendmail, but regardless this code 1010 is long obsolete. 1011 1012Author: Ken Hornstein <kenh@pobox.com> 1013Date: Thu Jun 1 12:25:15 2017 -0400 1014 1015 Comment cleanup; removed ancient reference to 4.2BSD systems. 1016 1017Author: Ken Hornstein <kenh@pobox.com> 1018Date: Wed May 31 14:39:48 2017 -0400 1019 1020 Normalize connection shutdown handling. 1021 1022 I originally tried to make things work so that the netsec client code gave 1023 the client the option of closing the file descriptors if it wanted to, but 1024 I was running into a problem where if TLS negotiation failed part of the 1025 negotiation would be interpreted as connection data. The code has been 1026 changed to have the sockets close when the SSL BIO is released and to 1027 have netsec_shutdown unconditionally close the file descriptors. 1028 1029Author: Ken Hornstein <kenh@pobox.com> 1030Date: Wed May 31 11:53:47 2017 -0400 1031 1032 Use original error code from OpenSSL. 1033 1034 Reuse the error code we already retrieved from OpenSSL, otherwise the 1035 error might be cleared the next time we call ERR_get_error(). 1036 1037Author: Ralph Corderoy <ralph@inputplus.co.uk> 1038Date: Mon May 29 13:20:00 2017 +0100 1039 1040 sbr/brkstring.c: Use strchr(3) in brkany(), not own loop. 1041 1042Author: Ralph Corderoy <ralph@inputplus.co.uk> 1043Date: Mon May 29 12:56:10 2017 +0100 1044 1045 sizeof char is always 1, so don't bother to divide by it. 1046 1047Author: Ralph Corderoy <ralph@inputplus.co.uk> 1048Date: Mon May 29 12:53:24 2017 +0100 1049 1050 Use DIM(a) macro a few more times; array's dimension using sizeof. 1051 1052Author: Ralph Corderoy <ralph@inputplus.co.uk> 1053Date: Mon May 29 12:23:38 2017 +0100 1054 1055 uip/scansbr.c: Add PUTC() macro, similar to FPUTS(). 1056 1057 FPUTS() exists, but all the putc(3) checks for error were written 1058 alongside in longhand. May as well have a PUTC() to match, though 1059 perhaps just the existing check of the FILE's sticky error state with 1060 ferror(3) is sufficient and neither macro is required. 1061 1062Author: Ralph Corderoy <ralph@inputplus.co.uk> 1063Date: Mon May 29 11:49:29 2017 +0100 1064 1065 uip/scansbr.c: Stop `scan -file' copying mailbox to /dev/null. 1066 1067 scan() was copying the mailbox to /dev/null when called for `scan -file 1068 foo.mbox' because it used outnum being non-zero as the test of whether 1069 to write instead of FILE pointer scnout being non-NULL. By switching, 1070 we can avoid the opening of /dev/null that was just to give scnout a 1071 valid value for the needless fputs(3), etc. 1072 1073 Add comment explaining scan()'s outnum input parameter's three 1074 functions: -1, 0, and positive. 1075 1076Author: Ralph Corderoy <ralph@inputplus.co.uk> 1077Date: Sun May 28 13:07:25 2017 +0100 1078 1079 h/mts.h: Replace char pointer mmdlm1 with macro MMDF_DELIM. 1080 1081 mmdlm1 only ever pointed to its initial string constant. 1082 1083Author: Ralph Corderoy <ralph@inputplus.co.uk> 1084Date: Sun May 28 12:32:28 2017 +0100 1085 1086 sbr/mts.c: Delete mmdlm2; use same-valued mmdlm1 instead. 1087 1088 mmdlm1 and mmdlm2 had the same compile-time value. Both could be 1089 changed at run-time by mts.conf(5), but d205d39a stopped that. Use 1090 mmdlm1 instead of mmdlm2 and delete mmdlm2. 1091 1092Author: Ralph Corderoy <ralph@inputplus.co.uk> 1093Date: Sun May 28 12:21:12 2017 +0100 1094 1095 sbr/mts.c: Make MMDF's delimeters fixed at compile time. 1096 1097 mts.conf(5) allowed `mmdelim1' and `mmdelim2' to alter the default MMDF 1098 begin and end markers of four ASCII SOHs and an LF. There doesn't seem 1099 to be a modern use for this, and nmh wouldn't have handled longer 1100 markers correctly so remove the capability. 1101 1102Author: Ralph Corderoy <ralph@inputplus.co.uk> 1103Date: Sat May 27 17:04:48 2017 +0100 1104 1105 uip/forw.c, uip/repl.c: Remove -file's "msh" comment. 1106 1107 The comment claims -file is "interface from msh", but msh(1) was removed 1108 in e6917522. The options remain as discussion on the list prompted 1109 David to say he uses them occasionally. 1110 1111Author: Ralph Corderoy <ralph@inputplus.co.uk> 1112Date: Fri May 26 23:34:10 2017 +0100 1113 1114 uip/mhparse.c: Fix body starting a byte too soon when no blank line. 1115 1116 m_getfld() returns BODY when the headers run into a line without a colon 1117 instead of being separated from the body by a blank line. The file's 1118 position and the returned `bufsz' differ from the normal case of a blank 1119 line and then the start of the body, causing confusion. get_content() 1120 was aware of the difference, documented it, and attempted to correct for 1121 it, but got it wrong and included the `\n' that terminates the last real 1122 header at the start of the "body". This affected a struct Content's 1123 c_begin. 1124 1125 Use the correct file position for c_begin, adding a comment that 1126 explains the theory for both cases. Add a test-mhlist case that checks 1127 mhlist(1) states the body size is the same whether it is separated from 1128 the headers by a blank line or not. Correct existing 1129 test/bad-input/test-header test that expected the extra blank line to be 1130 counted and to appear in the output. 1131 1132Author: Ralph Corderoy <ralph@inputplus.co.uk> 1133Date: Fri May 26 12:36:32 2017 +0100 1134 1135 Remove mention of msh in comments and to-do list. 1136 1137 msh(1) was removed in e6917522. 1138 1139Author: Ralph Corderoy <ralph@inputplus.co.uk> 1140Date: Fri May 26 11:56:37 2017 +0100 1141 1142 Makefile.am: Add test/inc/test-eom-align to XFAIL_TESTS. 1143 1144 Since 5f34de43, it's expected the test will fail. 1145 Add it to XFAIL_TESTS so it's still run, but its failure doesn't cause 1146 the `check' target to fail. 1147 1148Author: Ralph Corderoy <ralph@inputplus.co.uk> 1149Date: Thu May 25 18:12:55 2017 +0100 1150 1151 Don't cast lseek(2)'s offset to off_t when it's 0. 1152 1153 `lseek(fd, (off_t)0, SEEK_SET)' does not need the cast when a prototype 1154 is in scope, and <unistd.h> is #include'd. 1155 1156Author: Ralph Corderoy <ralph@inputplus.co.uk> 1157Date: Thu May 25 17:23:10 2017 +0100 1158 1159 uip/slocal.c: Tidy `verbose' logic in usr_file(). 1160 1161 Boolean was being tested three times instead of once after recent 1162 dead-code deletions. 1163 1164Author: Ralph Corderoy <ralph@inputplus.co.uk> 1165Date: Thu May 25 16:29:33 2017 +0100 1166 1167 uip/popsbr.c: Delete unused pop_list(), etc. 1168 1169 Those deleted: pop_list(), pop_noop(), pop_rset(), and pop_top(). 1170 1171Author: Ralph Corderoy <ralph@inputplus.co.uk> 1172Date: Thu May 25 16:23:00 2017 +0100 1173 1174 sbr/utils.c: Delete dead-code open_form(); not called. 1175 1176Author: Ralph Corderoy <ralph@inputplus.co.uk> 1177Date: Thu May 25 14:36:59 2017 +0100 1178 1179 uip/comp.c: Delete single-use NULLMP macro. 1180 1181 It just cast 0 to a pointer to struct msgs and was used once, as a 1182 function's parameter. Replace that with NULL since a prototype for the 1183 function is visible. 1184 1185Author: Ralph Corderoy <ralph@inputplus.co.uk> 1186Date: Thu May 25 14:36:33 2017 +0100 1187 1188 sbr/fmt_compile.c: Delete single-use NEWFMT macro. 1189 1190 Its simple content was to increment a variable; doing that in situ is 1191 more clear. 1192 1193Author: Ralph Corderoy <ralph@inputplus.co.uk> 1194Date: Thu May 25 13:53:27 2017 +0100 1195 1196 Remove support for ./.foo.map index for ./foo mailbox. 1197 1198 An MH-only index of a mailbox, mbox or MMDF format, called a map file, 1199 could be built and maintained by packf(1), rcvpack(1), and slocal(1), 1200 but since msh(1) was removed in e6917522, there hasn't been a user of 1201 the index file so stop producing it and delete all the supporting code 1202 in uip/dropsbr.c. 1203 1204 mbx_copy() loses its `mapping' and `noisy' parameters; noisy was only 1205 used when mapping. Delete mbx_read() and mbx_size() as they have no 1206 callers without maps. 1207 1208Author: Ralph Corderoy <ralph@inputplus.co.uk> 1209Date: Thu May 25 13:03:53 2017 +0100 1210 1211 test/runpty.c: Add more detail to "timed out" message. 1212 1213 test/install-mh/test-version-check was skipped due to timeout, but it 1214 took a lot less than the thirty-second timeout to run. Add start time 1215 and the time now to the diagnostic, and select(2)'s return value. 1216 1217Author: Ralph Corderoy <ralph@inputplus.co.uk> 1218Date: Thu May 25 11:24:54 2017 +0100 1219 1220 uip/prompter.c: Make getln() static; only called locally. 1221 1222Author: Ralph Corderoy <ralph@inputplus.co.uk> 1223Date: Thu May 25 11:21:40 2017 +0100 1224 1225 uip/prompter.c: Delete obfuscating ERASE, etc., macros. 1226 1227 Their few uses are clearer as `t_io.c_cc[VERASE]' as otherwise the 1228 storage, t_io, isn't mentioned, and c_cc and VERASE match termios.h's 1229 man page. 1230 1231Author: Ralph Corderoy <ralph@inputplus.co.uk> 1232Date: Thu May 25 11:18:11 2017 +0100 1233 1234 uip/prompter.c: Delete unused macros CKILL and CERASE. 1235 1236 They haven't been used in git's history. Their definitions of `@' and 1237 `#' might surprise younger users if put into use. :-) 1238 1239Author: Ralph Corderoy <ralph@inputplus.co.uk> 1240Date: Wed May 24 19:22:02 2017 +0100 1241 1242 uip/inc.c: Delete POP3's -pack option for msh users. 1243 1244 inc(1)'s -pack option, only available with POP3 access, stored the 1245 emails in a spool file instead of a folder. The man page says this was 1246 intended for msh(1) users, but msh was deleted in e6917522. The spool 1247 file was always in packf(1)'s MMDF format, no option of -mbox, and was a 1248 rare producer of `map' files that indexed the spool file, again intended 1249 for msh. Removing -pack makes deletion of map files elsewhere in the 1250 code easier. 1251 1252Author: Ralph Corderoy <ralph@inputplus.co.uk> 1253Date: Wed May 24 13:50:25 2017 +0100 1254 1255 uip/dropsbr.c: Delete unused mbx_write() and map_read(). 1256 1257 Most recently used by msh(1), removed by e6917522. 1258 1259Author: Ralph Corderoy <ralph@inputplus.co.uk> 1260Date: Tue May 23 12:56:00 2017 +0100 1261 1262 Replace some "FALLTHRU" comments with control flow. 1263 1264 Instead of a case statement falling through, with a "FALLTHRU" comment, 1265 to the follow case that just does a break, continue, goto, etc., 1266 control-flow statement, duplicate the statement in place of the comment. 1267 Fall-through should be the exception, and saving a break statement 1268 doesn't offset the cognitive cost when reading the source. 1269 1270Author: Ralph Corderoy <ralph@inputplus.co.uk> 1271Date: Tue May 23 12:53:32 2017 +0100 1272 1273 config/config.c: Fix indentation of "FALLTHRU" comment. 1274 1275 It's not part of the preceding if-statement, but unconditional. 1276 1277Author: Ralph Corderoy <ralph@inputplus.co.uk> 1278Date: Sun May 21 12:45:54 2017 +0100 1279 1280 sbr/m_getfld.c: Fix and improve `delim' comment. 1281 1282 fdelimlen is one higher than was described in 86c5ebc87. 1283 Describe pointer positions pictorially. 1284 1285Author: David Levine <levinedl@acm.org> 1286Date: Mon May 22 20:17:48 2017 -0400 1287 1288 Fixed a couple of typos. 1289 1290Author: Ralph Corderoy <ralph@inputplus.co.uk> 1291Date: Sat May 20 12:46:04 2017 +0100 1292 1293 test/inc/test-eom-align: Show size of test email as progress. 1294 1295 Don't bother over-printing; Perhaps when it's working again and lots of 1296 output is being produced. 1297 1298Author: Ralph Corderoy <ralph@inputplus.co.uk> 1299Date: Sat May 20 12:38:22 2017 +0100 1300 1301 test/inc/test-eom-align: Fix tests; they've never worked. 1302 1303 Instead of cycling through lots of mbox sizes, $STDIO_BUFSZ was always 1304 used as the desired size resulting in tests A and B being duplicated 221 1305 times each. Slowly, if using valgrind. The tests fail now they're 1306 fixed. 1307 1308Author: Ralph Corderoy <ralph@inputplus.co.uk> 1309Date: Sat May 20 12:09:13 2017 +0100 1310 1311 test/common.sh.in: test_skip(): Remove unused variable. 1312 1313 `$Test' was being interpolated into the output, but has never existed. 1314 Rephrase the output given a /^SKIP: / line follows from the test harness 1315 due to the `exit 77'. 1316 1317Author: Ralph Corderoy <ralph@inputplus.co.uk> 1318Date: Sat May 20 11:53:55 2017 +0100 1319 1320 test/runpty.c: Add missing exit(3) after child fails to execvp(3). 1321 1322Author: Ralph Corderoy <ralph@inputplus.co.uk> 1323Date: Sat May 20 11:48:10 2017 +0100 1324 1325 uip/aliasbr.c: Remove dead code used for Unix groups. 1326 1327 Main functionality removed in afaab789. 1328 1329Author: Ken Hornstein <kenh@pobox.com> 1330Date: Thu May 18 14:03:09 2017 -0400 1331 1332 Remove support for aliases based on Unix groups. 1333 1334 Remove support for expanding aliases based on group membership (=) and 1335 all users who have a particular primary group (+). This was the result 1336 of a discussion on nmh-workers; these features were of dubious value, likely 1337 not used, and interfered with RFC-2047 encoded names in alias files. 1338 1339Author: Ralph Corderoy <ralph@inputplus.co.uk> 1340Date: Wed May 17 17:56:00 2017 +0100 1341 1342 uip/mhshowsbr.c: Increase buffer size for showing-content command. 1343 1344 Experimenting with small BUFSIZ to try and trigger programs caused one 1345 test to fail because the code detected BUFSIZ was too small a string to 1346 hold the command to execute. Use NMH_BUFSIZ instead. 1347 1348Author: Ken Hornstein <kenh@pobox.com> 1349Date: Wed May 17 23:28:02 2017 -0400 1350 1351 After further reflection, I decided I didn't like that previous 1352 implementation. Instead, allocate two ptys and connect one to standard 1353 input and the other to standard output and standard error of the child 1354 process. After the first data is received from the slave, close the 1355 master connected to standard input; that will generate an EOF on input 1356 to the child process. This ends up being much cleaner than looping and 1357 waiting to send the EOF character to the child process. 1358 1359Author: Ken Hornstein <kenh@pobox.com> 1360Date: Wed May 17 21:40:57 2017 -0400 1361 1362 Apparently on Linux if a slave pty is closed, instead of the master 1363 getting an EOF they get an EIO, which strikes me as unfriendly. So 1364 make sure we exit the main read loop without complaint on an EOF or 1365 error. 1366 1367Author: Ken Hornstein <kenh@pobox.com> 1368Date: Wed May 17 21:00:47 2017 -0400 1369 1370 Switch from using script(1) to a new custom utility, runpty. It turns out 1371 on some systems script(1) has a bug that results in hangs that is simply 1372 too difficult to test for, and this custom utility is simpler. 1373 1374Author: Ralph Corderoy <ralph@inputplus.co.uk> 1375Date: Wed May 17 15:15:18 2017 +0100 1376 1377 uip/mhbuildsbr.c: Fix long-line truncation when BUFSIZ is 1024. 1378 1379 a23477eb changed one char array from BUFSIZ to NMH_BUFSIZ elements, but 1380 the long line read into it was passed to user_content() that 1381 strncpy(3)'d it, silently truncating, to another char array, still 1382 BUFSIZ long. This show up on platforms where BUFSIZ is 1024 versus 1383 NMH_BUFSIZ's minimum of 8192. 1384 1385Author: Ralph Corderoy <ralph@inputplus.co.uk> 1386Date: Wed May 17 13:06:40 2017 +0100 1387 1388 test/common.sh.in: Clarify it's the first failure by a *named* test. 1389 1390 Unnamed tests may have failed earlier. 1391 1392Author: Ralph Corderoy <ralph@inputplus.co.uk> 1393Date: Wed May 17 12:58:15 2017 +0100 1394 1395 test/mhbuild/test-cte: Move run_prog() to just before check(). 1396 1397 Prepare the input and output files, then run the program and check the 1398 result. Makes it easier to see every run is being checked if a, 1399 sometimes large, expected-output file isn't being produced in between. 1400 1401Author: Ralph Corderoy <ralph@inputplus.co.uk> 1402Date: Wed May 17 12:47:07 2017 +0100 1403 1404 test/mhbuild/test-cte: Add missing check() for earlier run_prog(). 1405 1406 be6c3984 added a new run_prog and swiped the earlier check. 1407 1408Author: Ralph Corderoy <ralph@inputplus.co.uk> 1409Date: Wed May 17 12:45:26 2017 +0100 1410 1411 test/common.sh.in: Clarify test name in failure message. 1412 1413 Some test names don't stand out as that when suffixed with `failed' 1414 amidst all the other output. Change `foo failed' to `first test 1415 failure: foo' instead. Also makes clear there's possibly other tests 1416 that failed later. 1417 1418Author: Ken Hornstein <kenh@pobox.com> 1419Date: Tue May 16 21:30:10 2017 -0400 1420 1421 Make sure we are in the correct directory when we do "git describe". 1422 1423Author: Ralph Corderoy <ralph@inputplus.co.uk> 1424Date: Wed May 17 00:27:54 2017 +0100 1425 1426 sbr/check_charset.c: Fix warning on unspecified struct initialisers. 1427 1428 A different C compiler disliked `{NULL}' as the initialiser for a 1429 two-member struct so specify NULL for the other member too. 1430 1431Author: Ralph Corderoy <ralph@inputplus.co.uk> 1432Date: Tue May 16 12:57:25 2017 +0100 1433 1434 Rewrite norm_charmap(), moving code into data. 1435 1436 Also removes return of static char array, and is more precise, e.g. 1437 `CP1242' doesn't become `WINDOWS-1242' as it's not a known code page. 1438 1439Merge: 684716b 3d0e5b6 1440Author: Ralph Corderoy <ralph@inputplus.co.uk> 1441Date: Tue May 16 11:44:18 2017 +0100 1442 1443 Merge commit '3d0e5b6a4383a5228732edd6cb1532375b771262' 1444 1445Author: Ralph Corderoy <ralph@inputplus.co.uk> 1446Date: Tue May 16 11:35:49 2017 +0100 1447 1448 Merge sbr/norm_charmap.c into sbr/check_charset.c. 1449 1450 Alter norm_charmap() to be static now its only caller is in the same 1451 file. I've checked the upstream cam.ac.uk source and it's still the 1452 same and hasn't changed in years, so I don't think there's much benefit 1453 from having it standalone to ease checking. 1454 1455Author: Ralph Corderoy <ralph@inputplus.co.uk> 1456Date: Tue May 16 11:29:17 2017 +0100 1457 1458 Part 1 of merging sbr/norm_charmap.c into sbr/check_charset.c. 1459 1460 This commit won't compile, but I'm attempting to get the rename into git 1461 so the history after the next, merge, commit will continue through both 1462 parents. 1463 1464Author: Ralph Corderoy <ralph@inputplus.co.uk> 1465Date: Tue May 16 11:21:50 2017 +0100 1466 1467 sbr/unquote.c: Move prototype from h/prototypes.h to new header. 1468 1469Author: Ralph Corderoy <ralph@inputplus.co.uk> 1470Date: Tue May 16 10:59:07 2017 +0100 1471 1472 sbr/mime_type.c: Move prototype from h/prototypes.h to new header. 1473 1474Author: Ralph Corderoy <ralph@inputplus.co.uk> 1475Date: Tue May 16 10:53:17 2017 +0100 1476 1477 sbr/message_id.c: Move duplicate prototypes to new header. 1478 1479Author: Ralph Corderoy <ralph@inputplus.co.uk> 1480Date: Tue May 16 10:41:35 2017 +0100 1481 1482 sbr/makedir.c: Move prototype from h/prototypes.h to new header. 1483 1484Author: Ralph Corderoy <ralph@inputplus.co.uk> 1485Date: Tue May 16 10:36:02 2017 +0100 1486 1487 sbr/m_popen.c: Move prototypes from h/prototypes.h to new header. 1488 1489Author: Ralph Corderoy <ralph@inputplus.co.uk> 1490Date: Tue May 16 00:30:59 2017 +0100 1491 1492 sbr/m_maildir.c: Move prototypes from h/prototypes.h to new header. 1493 1494Author: Ralph Corderoy <ralph@inputplus.co.uk> 1495Date: Tue May 16 00:02:30 2017 +0100 1496 1497 sbr/m_rand.c: Move prototype from h/prototypes.h to new header. 1498 1499Author: Ralph Corderoy <ralph@inputplus.co.uk> 1500Date: Mon May 15 23:54:05 2017 +0100 1501 1502 h/prototypes.h: Give sbr/lock_file.c's prototypes their own header. 1503 1504Author: Ralph Corderoy <ralph@inputplus.co.uk> 1505Date: Mon May 15 18:58:19 2017 +0100 1506 1507 sbr/utils.c: Delete unused upcase() function. 1508 1509Author: Ralph Corderoy <ralph@inputplus.co.uk> 1510Date: Mon May 15 18:52:32 2017 +0100 1511 1512 h/utils.h: Move in PLURALS() macro from h/mh.h. 1513 1514Author: Ralph Corderoy <ralph@inputplus.co.uk> 1515Date: Mon May 15 18:47:46 2017 +0100 1516 1517 h/prototypes.h: Remove duplicate prototype for pwd(). 1518 1519 It is already in h/utils.h. 1520 1521Author: Ralph Corderoy <ralph@inputplus.co.uk> 1522Date: Mon May 15 18:39:45 2017 +0100 1523 1524 h/utils.h: Move in nmh_init() prototype from h/prototypes.h. 1525 1526Author: Ralph Corderoy <ralph@inputplus.co.uk> 1527Date: Mon May 15 18:06:19 2017 +0100 1528 1529 uip/mhshowsbr.h: Move in declarations from h/mhparse.h. 1530 1531 Delete non-existent markerform parameter from show_all_messages()'s 1532 comment. Alter show_all_messages()'s definition's concatsw parameter to 1533 match comment and prototype. 1534 1535Author: Ralph Corderoy <ralph@inputplus.co.uk> 1536Date: Mon May 15 17:14:01 2017 +0100 1537 1538 uip/mhshowsbr.c: Create header file with exports' declarations. 1539 1540 Create a single set of externs for mhshowsbr.c's global variables. Have 1541 the other users of those use the new include file instead of their own 1542 declarations. 1543 1544Author: Ralph Corderoy <ralph@inputplus.co.uk> 1545Date: Mon May 15 16:09:28 2017 +0100 1546 1547 uip/mhcachesbr.c: Move exported symbols to existing h/mhcachesbr.h. 1548 1549 Remove the user's copies of the declarations. 1550 A static struct swit caches[] was declared everywhere that included 1551 h/mhcachesbr.h. The larger number of includers causes `variable not 1552 used' for `caches'. Move that declaration to uip/mhcachesbr.c and have 1553 an exported `cache_policy' symbol that points to it for the existing 1554 users. 1555 1556Author: Ralph Corderoy <ralph@inputplus.co.uk> 1557Date: Mon May 15 15:14:44 2017 +0100 1558 1559 uip/mhoutsbr.c: Move exported prototype to new header file. 1560 1561 Alter the callers to include the new header file instead of having their 1562 own copy of the prototype. 1563 1564Author: Ralph Corderoy <ralph@inputplus.co.uk> 1565Date: Mon May 15 15:07:10 2017 +0100 1566 1567 sbr/m_mktemp.h: Move remaining prototypes from h/prototypes.h. 1568 1569 Gives the normal one header file showing interface exported by one C 1570 file. 1571 1572Author: Ralph Corderoy <ralph@inputplus.co.uk> 1573Date: Mon May 15 14:40:52 2017 +0100 1574 1575 sbr/m_mktemp.h: Create with missing prototypes. 1576 1577 Some of sbr/m_mktemp.c's functions didn't have prototypes in a header 1578 file so callers were declaring prototypes themselves. Have them include 1579 the new header file instead. 1580 1581Author: Ralph Corderoy <ralph@inputplus.co.uk> 1582Date: Mon May 15 14:31:36 2017 +0100 1583 1584 sbr/utils.c: Use h/signals.h for setup_signal_handlers prototype. 1585 1586 Deleted its own prototype for setup_signal_handlers() and added it to 1587 the existing h/signals.h as it's defined in h/signals.c. 1588 1589Author: Ralph Corderoy <ralph@inputplus.co.uk> 1590Date: Mon May 15 14:23:53 2017 +0100 1591 1592 uip/picksbr.c: Use function prototypes for `nexus' functions. 1593 1594 Prototypes for ORaction(), etc., now state the parameters they expect. 1595 Removed the args() macro, instead explicitly listing the arguments being 1596 passed to functions. 1597 1598Author: Ralph Corderoy <ralph@inputplus.co.uk> 1599Date: Mon May 15 14:12:21 2017 +0100 1600 1601 Specify function parameters in prototypes, mainly void. 1602 1603 These prototypes are all in *.[cl] source compared with the *.h of the 1604 earlier commit. All but one had void added, that one's parameter was a 1605 char pointer. 1606 1607Author: Ralph Corderoy <ralph@inputplus.co.uk> 1608Date: Mon May 15 13:45:39 2017 +0100 1609 1610 h/prototypes.h: Remove scan_reset_m_getfld_state() prototype. 1611 1612 Function removed back in 2014 by 58eaf2c2. 1613 1614Author: Ralph Corderoy <ralph@inputplus.co.uk> 1615Date: Mon May 15 13:39:08 2017 +0100 1616 1617 Use `void' in prototypes for functions with no parameters. 1618 1619 The old-style `int foo()' still lived on in a few places. 1620 1621Author: Ralph Corderoy <ralph@inputplus.co.uk> 1622Date: Mon May 15 13:29:28 2017 +0100 1623 1624 h/mhparse.h: Move mhfree.c's free_content prototype to new header. 1625 1626 It was the only thing of mhfree.c's in h/mhparse.h. 1627 1628Author: Ralph Corderoy <ralph@inputplus.co.uk> 1629Date: Mon May 15 13:25:23 2017 +0100 1630 1631 Match `NORETURN' function prototypes by adding it to definition. 1632 1633Author: Ralph Corderoy <ralph@inputplus.co.uk> 1634Date: Mon May 15 13:13:45 2017 +0100 1635 1636 Create and use header file for uip/mhfree.c's exports. 1637 1638 Remove all the duplicate inconsistent prototypes from mhfree.c's users. 1639 1640Author: Ralph Corderoy <ralph@inputplus.co.uk> 1641Date: Mon May 15 13:10:30 2017 +0100 1642 1643 test/mhical/test-mhical: Force UTC timezone for mhical. 1644 1645 Commit c3238c0e added a test but mhical's output depends on its 1646 timezone; force it to UTC for consistent results. 1647 1648Author: Ralph Corderoy <ralph@inputplus.co.uk> 1649Date: Mon May 15 12:52:23 2017 +0100 1650 1651 uip/mhfree.c: Make free_header() static. 1652 1653Author: Ralph Corderoy <ralph@inputplus.co.uk> 1654Date: Mon May 15 12:38:26 2017 +0100 1655 1656 uip/flist.c: Make locally defined and used functions static. 1657 1658Author: David Levine <levinedl@acm.org> 1659Date: Sun May 14 17:27:23 2017 -0400 1660 1661 Support iCalendar event request files that don't end with a newline. 1662 1663 Such files do not conform to RFC 5545 § 3.1, which requires that each 1664 contentline end with a CRLF. But be liberal in what we accept. 1665 1666Author: David Levine <levinedl@acm.org> 1667Date: Sun May 14 13:08:03 2017 -0400 1668 1669 Added explicit dependency to build sbr/icalparse.h before running LEX. 1670 1671 "Fix" to commit 665dfc96. The build had been relying upon the listed 1672 order of files. 1673 1674Author: David Levine <levinedl@acm.org> 1675Date: Sun May 14 12:18:35 2017 -0400 1676 1677 Have post(1) report name of fileproc if it fails. 1678 1679Author: Ralph Corderoy <ralph@inputplus.co.uk> 1680Date: Sun May 14 23:17:36 2017 +0100 1681 1682 Replace calls to unputenv() with unsetenv(3). 1683 1684Author: Ralph Corderoy <ralph@inputplus.co.uk> 1685Date: Sun May 14 22:56:52 2017 +0100 1686 1687 Replace calls to m_putenv() with setenv(3). 1688 1689Author: Ralph Corderoy <ralph@inputplus.co.uk> 1690Date: Sun May 14 19:35:13 2017 +0100 1691 1692 sbr/dtimep.l: Remove redundant wrapping parenthesis in definitions. 1693 1694 It's been decades since a lex(1) didn't follow POSIX and treat `{foo}' 1695 as parenthesis surrounding foo's definition. Other nmh lex files work 1696 without the extra wrapping. 1697 1698Author: Ralph Corderoy <ralph@inputplus.co.uk> 1699Date: Sun May 14 12:53:33 2017 +0100 1700 1701 uip/mhstoresbr.c: Fix single-character nmh-storage bug. 1702 1703 If the profile component nmh-storage was a single character, e.g. the 1704 relative directory `d', then it would be dropped from the output path so 1705 instead of `d/foo' being written, `/foo' would probably fail. I think 1706 this was due to a faulty check for nmh-storage being `/'. Add a test 1707 for a non-/ single-character nmh-storage. 1708 1709Author: Ralph Corderoy <ralph@inputplus.co.uk> 1710Date: Sun May 14 12:08:06 2017 +0100 1711 1712 sbr/fmt_rfc2047.c: Simplify test for /^=\?./. 1713 1714Author: Ralph Corderoy <ralph@inputplus.co.uk> 1715Date: Sun May 14 11:23:33 2017 +0100 1716 1717 Use new PLURALS(n) macro instead of variety of tests. 1718 1719 Whether to output a plural noun in a message was decided by ternary 1720 operators that tested n==1, n!=1, n>1, etc. Make them all consistent by 1721 using PLURALS(n). 1722 1723Author: Ralph Corderoy <ralph@inputplus.co.uk> 1724Date: Sat May 13 23:40:50 2017 +0100 1725 1726 uip/folder.c: Use `%s' for plural, not `%c'. 1727 1728 Instead of a ternary operator with 's' and ' ' as the outcomes, switch 1729 the format specifier from `%c' to `%s' and use strings "s" and " ". 1730 1731Author: Ralph Corderoy <ralph@inputplus.co.uk> 1732Date: Sat May 13 18:39:06 2017 +0100 1733 1734 uip/folder.c: Rewrite plural test to common form. 1735 1736 The common form is a choice between "" and "s". This one occurrence was 1737 using " " and "s" so either output was a fixed width. Alter the 1738 printf(3) format string from `%s' to `%1s' to provide that instead. 1739 Allows the new code to be altered by an upcoming `plural' change. 1740 1741Author: Ralph Corderoy <ralph@inputplus.co.uk> 1742Date: Sat May 13 18:35:15 2017 +0100 1743 1744 Makefile.am: Alter long lists to be sorted, one entry per line. 1745 1746 It was hard to see what files were included in some variables when 1747 searching for the best place for new content. Some variables had 1748 definitions that were almost sorted, by weren't. Switch to a 1749 one-entry-per-line list, in `LC_ALL=C sort' order, documented at the 1750 start of the file. Makes it easy to run through the lists and see the 1751 patterns. 1752 1753Author: Ralph Corderoy <ralph@inputplus.co.uk> 1754Date: Sat May 13 13:24:03 2017 +0100 1755 1756 Use FENDNULL() instead of duplicate, locally defined, empty(). 1757 1758 Three files had an empty() that was defined using FENDNULL(); use the 1759 latter directly. 1760 1761Author: Ralph Corderoy <ralph@inputplus.co.uk> 1762Date: Sat May 13 13:13:18 2017 +0100 1763 1764 Add FENDNULL(s): fends off NULL by giving an empty string instead. 1765 1766 Use it in place of all the `foo->bar_xyzzy ? foo->bar_xyzzy : ""'. 1767 Avoids the reader having to check first two of the ternary operands are 1768 the same. 1769 1770Author: Ralph Corderoy <ralph@inputplus.co.uk> 1771Date: Sat May 13 12:56:58 2017 +0100 1772 1773 sbr/mf.c: Rename path to routepath to avoid h/mh.h clash. 1774 1775 Adding #include of h/mh.h brings two path global symbols together; 1776 path() and char *path. Rename the latter. h/mh.h is needed by a future 1777 commit. 1778 1779Author: Ralph Corderoy <ralph@inputplus.co.uk> 1780Date: Fri May 12 23:29:31 2017 +0100 1781 1782 Replace `a == b ? 1 : 0' and similar with `a == b'. 1783 1784Author: Ralph Corderoy <ralph@inputplus.co.uk> 1785Date: Fri May 12 23:14:43 2017 +0100 1786 1787 Replace `e ? 0 : 1' with `!e'. 1788 1789 Needs less thought to read. 1790 1791Author: Ralph Corderoy <ralph@inputplus.co.uk> 1792Date: Fri May 12 22:45:34 2017 +0100 1793 1794 sbr/icalparse.y: Replace max(BUFSIZ, 8192) with NMH_BUFSIZ. 1795 1796Author: Ralph Corderoy <ralph@inputplus.co.uk> 1797Date: Fri May 12 22:42:35 2017 +0100 1798 1799 Use existing macros min() and max() more. 1800 1801Author: David Levine <levinedl@acm.org> 1802Date: Thu May 11 22:41:02 2017 -0400 1803 1804 Clarified the phrasing added by commit 44ce2010. 1805 1806Author: David Levine <levinedl@acm.org> 1807Date: Thu May 11 20:20:16 2017 -0400 1808 1809 Added warning about when post(1) can't refile(1) a draft. 1810 1811Author: Ralph Corderoy <ralph@inputplus.co.uk> 1812Date: Wed May 10 12:13:28 2017 +0100 1813 1814 sbr/fmt_scan.c: Fix `foo%-42{bar}' right-justification bug. 1815 1816 The space padding was added at the start of the output buffer, not the 1817 start of the component being formatted. Caused by 92128dac's move to 1818 dynamic allocation for fmt_scan()'s output. Only shows if the component 1819 isn't at the start of the buffer. Expand existing 1820 test/format/test-rightjustify to cover this. 1821 1822Author: Ralph Corderoy <ralph@inputplus.co.uk> 1823Date: Tue May 9 23:10:06 2017 +0100 1824 1825 config/version.sh: Rewrite. Use uname(1), git-describe(1), and UTC. 1826 1827 Not sure why it searched through PATH manually for uname(1) and 1828 hostname(1). uname and its -n option are POSIX so just use those. It 1829 was the preference over hostname anyway. 1830 1831 Use git-describe(1), not just git-branch(1), as it gives more detail, 1832 including --dirty to show the built source differs from the commit. 1833 1834 Specify the format for the build date, and its timezone; +0000. 1835 1836Author: Ralph Corderoy <ralph@inputplus.co.uk> 1837Date: Tue May 9 22:48:11 2017 +0100 1838 1839 sbr/mf.c: Simplify isat(); it's /^ at /i. 1840 1841 This one's for all those RFC 733 emails out there. 1842 You know who you are. 1843 1844Author: Ralph Corderoy <ralph@inputplus.co.uk> 1845Date: Sun May 7 23:30:46 2017 +0100 1846 1847 uip/inc.c: Use bool, not int, for some of the options. 1848 1849 Makes clear there's no special meaning to repeating these options more 1850 than once. 1851 1852Author: Ralph Corderoy <ralph@inputplus.co.uk> 1853Date: Sun May 7 22:43:19 2017 +0100 1854 1855 sbr/netsec.c: Remove extraneous semicolon. 1856 1857Author: Ralph Corderoy <ralph@inputplus.co.uk> 1858Date: Sun May 7 22:35:41 2017 +0100 1859 1860 Split some comma-operator terms into separate statements. 1861 1862 Some uses of the comma operator weren't the idiomatic `p++, len--'. 1863 Split its terms into two statements instead, e.g. `close(fd); fd = -1'. 1864 1865Author: Ralph Corderoy <ralph@inputplus.co.uk> 1866Date: Sun May 7 18:02:03 2017 +0100 1867 1868 uip/picksbr.c: Increase line-buffer size for "grep" action. 1869 1870 Alter LBSIZE from 1024 to NMH_BUFSIZ, e.g. 8192. This dominates the 1871 size of the char array used to hold a single unfolded header line when 1872 evaluating a "grep" action, e.g. `-to foo' becomes `^to[ ^I]*:.*foo'. 1873 1874Author: Ralph Corderoy <ralph@inputplus.co.uk> 1875Date: Sun May 7 14:01:48 2017 +0100 1876 1877 uip/scansbr.c: Replace uses of SBUFSIZ with NMH_BUFSIZ. 1878 1879 Now that the former is defined as the latter, the uses of SBUFSIZ were 1880 all in the same expression and it simplifies from a ternary expression 1881 to NMH_BUFSIZ. 1882 1883Author: Ralph Corderoy <ralph@inputplus.co.uk> 1884Date: Sun May 7 13:57:39 2017 +0100 1885 1886 uip/rcvdist.c: Replace SBUFSIZ with NMH_BUFSIZ. 1887 1888 The former was defined as the latter and had only one proper use: to 1889 size a char array. The other uses should have been the sizeof operator 1890 on that array, and now are. 1891 1892Author: Ralph Corderoy <ralph@inputplus.co.uk> 1893Date: Sun May 7 13:56:40 2017 +0100 1894 1895 uip/replsbr.c: Replace single use of SBUFSIZ with NMH_BUFSIZ. 1896 1897 The former was defined as the latter; not a lot of point having it. 1898 1899Author: Ralph Corderoy <ralph@inputplus.co.uk> 1900Date: Sun May 7 13:03:01 2017 +0100 1901 1902 Make many m_getfld() buffer parameters NMH_BUFSIZ big. 1903 1904 char arrays were often stdio.h's BUFSIZ large, and that's 8192 with here 1905 with glibc 2.25-1 on Linux x86_64, so using NMH_BUFSIZ is no different 1906 as that's max(BUFSIZ, 8192). But some were 256 or 512 with a local 1907 SBUFSIZ macro and they caused scan(1) to truncate a field, or pick(1) to 1908 not spot text because the field was truncated. 1909 1910 Delete bad-input/test-header's test for m_getfld()'s detection for a 1911 header without a colon that's under the header-length NAMESZ limit, but 1912 longer than the passed in buffer. This no longer happens in scan as the 1913 buffer is larger than the longest allowed header. 1914 1915Author: Ralph Corderoy <ralph@inputplus.co.uk> 1916Date: Fri May 5 13:11:15 2017 +0100 1917 1918 configure.ac: Enable assert(3) by default. 1919 1920 Revert 167e542b that disabled assert(3) by default after private email 1921 discussion with David Levine. I suggested it being enabled by default 1922 in git so those running nmh from git were testing them for us, with it 1923 being disabled as part of the release process so packagers continue with 1924 it disabled. David pointed out that would make the release 1925 intentionally different from what had been long tested so the default is 1926 now enabled assertions everywhere unless disabled by a packager. 1927 1928Author: Ralph Corderoy <ralph@inputplus.co.uk> 1929Date: Mon May 1 23:02:06 2017 +0100 1930 1931 mhstoresbr.c: Flip logic to simplify. Remove else after continue. 1932 1933 Former in store_partial(), latter in parse_format_string(). 1934 1935Author: Ralph Corderoy <ralph@inputplus.co.uk> 1936Date: Mon May 1 22:57:44 2017 +0100 1937 1938 mhlsbr.c: Flip parse()'s logic. Remove oneline()'s else after break. 1939 1940Author: Ralph Corderoy <ralph@inputplus.co.uk> 1941Date: Mon May 1 22:56:30 2017 +0100 1942 1943 dropsbr.c: Flip mbx_open()'s logic to simplify. 1944 1945Author: Ralph Corderoy <ralph@inputplus.co.uk> 1946Date: Mon May 1 22:47:38 2017 +0100 1947 1948 base64.c: Remove some else after break. Flip logic to simplify. 1949 1950Author: Ralph Corderoy <ralph@inputplus.co.uk> 1951Date: Mon May 1 22:46:38 2017 +0100 1952 1953 mhfixmsg.c: Flip logic to simplify. Remove else after break. 1954 1955Author: Ralph Corderoy <ralph@inputplus.co.uk> 1956Date: Mon May 1 22:36:30 2017 +0100 1957 1958 path.c: Simplify compath()'s flow; return, don't break twice. 1959 1960Author: Ralph Corderoy <ralph@inputplus.co.uk> 1961Date: Mon May 1 21:49:38 2017 +0100 1962 1963 mhshowsbr.c: Remove else after break in iconv_start(). 1964 1965Author: Ralph Corderoy <ralph@inputplus.co.uk> 1966Date: Mon May 1 21:46:20 2017 +0100 1967 1968 mhparse.c: Remove a couple of else after continue. 1969 1970 In openQuoted() and parse_header_attrs(). 1971 1972Author: Ralph Corderoy <ralph@inputplus.co.uk> 1973Date: Mon May 1 21:43:36 2017 +0100 1974 1975 m_getfld.c: Remove else after break in m_unknown() and m_Eom(). 1976 1977Author: Ralph Corderoy <ralph@inputplus.co.uk> 1978Date: Mon May 1 21:42:59 2017 +0100 1979 1980 picksbr.c: Remove some else after break in plist(). 1981 1982Author: Ralph Corderoy <ralph@inputplus.co.uk> 1983Date: Mon May 1 18:42:07 2017 +0100 1984 1985 fmt_rfc2047.c: Remove else after decode_rfc2047()'s break. 1986 1987Author: Ralph Corderoy <ralph@inputplus.co.uk> 1988Date: Mon May 1 18:33:15 2017 +0100 1989 1990 sortm.c: Flip get_fields()'s logic to simplify. 1991 1992Author: Ralph Corderoy <ralph@inputplus.co.uk> 1993Date: Sun Apr 30 15:25:20 2017 +0100 1994 1995 README.developers: Add pointers to Debian's Lintian's complaints. 1996 1997Author: Ralph Corderoy <ralph@inputplus.co.uk> 1998Date: Sun Apr 30 15:14:46 2017 +0100 1999 2000 README.developers: Add blank lines for consistent headers. 2001 2002Author: Ralph Corderoy <ralph@inputplus.co.uk> 2003Date: Sat Apr 29 00:01:58 2017 +0100 2004 2005 Fix spelling in C comments. 2006 2007Author: Ralph Corderoy <ralph@inputplus.co.uk> 2008Date: Fri Apr 28 22:42:46 2017 +0100 2009 2010 bvector_copy: Use bvector's tiny storage if big enough. 2011 2012 Otherwise a source bvector that's using tiny storage has its bits 2013 duplicated into a malloc'd area when the destination's tiny storage was 2014 sufficient. 2015 2016Author: Ralph Corderoy <ralph@inputplus.co.uk> 2017Date: Fri Apr 28 22:08:26 2017 +0100 2018 2019 sbr/oauth.c: Remove const to avoid curl's debug_callback warning. 2020 2021 The curl_debug_callback typedef doesn't use const for any of the 2022 function's parameters. On one of the compilation platforms here, 2023 oauth.c's debug_callback having const specifiers for some parameters 2024 causes compilation warnings, and -Werror stops the compilation. Remove 2025 them. 2026 2027Author: Ralph Corderoy <ralph@inputplus.co.uk> 2028Date: Fri Apr 28 17:12:31 2017 +0100 2029 2030 sbr/folder_read.c: Don't malloc() once per message. 2031 2032 Instead of struct msgs having a pointer to a malloc'd array of pointers, 2033 each to a malloc'd struct bvector, 1+N, it now has a pointer to a 2034 malloc'd array of struct bvector; one malloc for all of them. This 2035 avoids the large number of calls to malloc() and free() that's linear 2036 with the size of the folder. 2037 2038 But there are some downsides. In order to step through an array of 2039 struct bvector, code outside of sbr/vector.c needs to know the struct's 2040 size. The simplest way to do this is to make the struct's definition 2041 public, with a comment that access should be through vector.c. 2042 2043 New functions are needed to initialise the content of an already 2044 allocated bvector, and to finish with its content prior to deallocation. 2045 bvector_create() and bvector_free() now also use these new functions. 2046 2047 Before, it was the array of pointers to bvector that would be realloc'd. 2048 That doesn't work for the array of bvectors as they may contain pointers 2049 to within themselves. The solution is to malloc a new array and 2050 bvector_copy() the ones to keep across, as folder_realloc() now does. 2051 The other half of its logic that coped with growth at the end of the 2052 array, has been deleted. Also deleted, is the code to clear the 2053 bvectors before and after the old ones as they start in that state. 2054 2055Author: Ralph Corderoy <ralph@inputplus.co.uk> 2056Date: Fri Apr 28 17:00:54 2017 +0100 2057 2058 valgrind: Add suppression for dbm_open(3)'s write(2). 2059 2060 It writes bytes from an area it mallocs, but doesn't set all of those 2061 bytes first. See with gdbm 1.13-1 on Arch Linux. 2062 2063Author: Ralph Corderoy <ralph@inputplus.co.uk> 2064Date: Fri Apr 28 12:45:26 2017 +0100 2065 2066 sbr/vector.c: Only allocate bvector storage for set bits. 2067 2068 Now that a pointer to all the bit storage doesn't escape vector.c, 2069 there's no need to allocate storage, that's initialised to 0, just to 2070 then clear a bit in it. Only extend the bits's storage for set bits. 2071 Remove the unused initial size parameter from bvector_create() as it 2072 simplifies the implementation. 2073 2074Author: Ralph Corderoy <ralph@inputplus.co.uk> 2075Date: Fri Apr 28 12:27:44 2017 +0100 2076 2077 sbr/vector.c: Add bvector comments, tidy identifiers. 2078 2079Author: Ralph Corderoy <ralph@inputplus.co.uk> 2080Date: Fri Apr 28 12:16:01 2017 +0100 2081 2082 sbr/vector.c: Rewrite BVEC_BYTES(n) macro to remove branch. 2083 2084 Use the idiom of integer truncation. 2085 2086Author: Ralph Corderoy <ralph@inputplus.co.uk> 2087Date: Fri Apr 28 12:12:15 2017 +0100 2088 2089 sbr/vector.c: Use new BVEC_BITS_BITS macro. 2090 2091 Factors out a common expression from a few other places. 2092 2093Author: Ralph Corderoy <ralph@inputplus.co.uk> 2094Date: Thu Apr 27 00:14:28 2017 +0100 2095 2096 sbr/vector.c: Zero the growth with memset(3), not loop. 2097 2098 When the resize functions grow the vectors, as they always do, zero the 2099 new slots with memset(3) rather than a for loop. Particularly of note 2100 for the bit vector where it was bvector_clear()ing one bit at a time. 2101 Although a NULL pointer needn't have a representation of all-zero bits, 2102 the code was already assuming that, e.g. on the initial allocation, so 2103 we're no worse off. 2104 2105Author: Ralph Corderoy <ralph@inputplus.co.uk> 2106Date: Wed Apr 26 13:41:27 2017 +0100 2107 2108 sbr/vector.c: Change bvector_bits() to return first word. 2109 2110 Rename it to bvector_first_bits() to represent its new behaviour. It 2111 has only one caller that uses it to produce debug. Tighten the API so 2112 other callers don't get access to the location of the bvector's bits. 2113 2114Author: Ralph Corderoy <ralph@inputplus.co.uk> 2115Date: Tue Apr 25 23:21:21 2017 +0100 2116 2117 sbr/vector.c: Embed initial vector storage in header struct. 2118 2119 Instead of a malloc(3)'d struct bvector having a pointer to a separately 2120 malloc'd area for the bits in the normal case of the default initial 2121 size, have non-malloc'd storage in the struct itself, and set the 2122 pointer to that. It's two unsigned longs, which is less than the 2123 previous default of 256 bits for struct bvector, but still double the 2124 pre-bvector norm of one word on 32 and 64-bit architectures. 2125 2126 This halves the mallocs needed to create a struct bvector in the common 2127 case, but does mean that embedded memory is wasted should it not be 2128 enough. That's probably an unusual case. It also means derefencing the 2129 pointer to the bits probably hits the same cache line. 2130 2131 Have separate initial sizes for string and int vectors. 2132 2133Author: Ralph Corderoy <ralph@inputplus.co.uk> 2134Date: Tue Apr 25 00:20:08 2017 +0100 2135 2136 sbr/vector.c: Remove `vec' argument from BVEC_OFFSET(), etc. 2137 2138 A few macros took a struct bvector pointer as their first argument just 2139 to get the sizeof one of its fields. This can be done with a NULL 2140 pointer so remove that argument from all of them. 2141 2142Author: Ralph Corderoy <ralph@inputplus.co.uk> 2143Date: Mon Apr 24 23:47:46 2017 +0100 2144 2145 sbr/vector.c: Delete unused bvector_maxsize() and ivector_size(). 2146 2147 May as well keep the proffered interface as small as possible so the 2148 implementation can make greater assumptions knowing some internal 2149 details aren't available. 2150 2151Author: Ralph Corderoy <ralph@inputplus.co.uk> 2152Date: Mon Apr 24 22:58:56 2017 +0100 2153 2154 sbr/vector.c: Move assert(3)s into bvector_create(). 2155 2156 Rather than asserting on every bit-related operation, assert just when 2157 creating the vector. Whether the assertion is true is decided at 2158 compile time, so it only needs checking once; once for every vector is 2159 an easy compromise. 2160 2161Author: Ralph Corderoy <ralph@inputplus.co.uk> 2162Date: Mon Apr 24 22:08:09 2017 +0100 2163 2164 sbr/vector.c: Replace Nbby with <limits.h>'s CHAR_BIT. 2165 2166 POSIX mandates CHAR_BIT is 8; see stdint.h(0p). 2167 2168Author: Ralph Corderoy <ralph@inputplus.co.uk> 2169Date: Mon Apr 24 21:19:56 2017 +0100 2170 2171 sbr/vector.c: calloc(3) rather than malloc(3) and memset(3). 2172 2173 calloc(3) tells libc upfront that the memory needs to be zeroed rather 2174 than giving it the news later with memset. Perhaps this allows it to 2175 allocate from a CoW page of zero bytes, or it benefits from some other 2176 way in memset not having to clear each bit, but it knocks about 15% off 2177 the wall-clock time and the number of library calls under ltrace(1). 2178 2179Author: Ralph Corderoy <ralph@inputplus.co.uk> 2180Date: Mon Apr 24 21:13:52 2017 +0100 2181 2182 sbr/folder_read.c: Don't clear newly created bvectors. 2183 2184 The newly created bvectors are already clear; don't loop clearing each 2185 again with memset(3). 2186 2187Author: Ralph Corderoy <ralph@inputplus.co.uk> 2188Date: Wed Apr 26 00:14:26 2017 +0100 2189 2190 sbr/fmt_scan.c: Only wcwidth(3) a valid mbtowc(3) result. 2191 2192 The assert(3) added by 80a9e99f7078199500d2d53c8d77d1b92af06fbc is 2193 failing, but not reproducibly. It's probable that mbtowc() is returning 2194 a negative, and not altering wide_char, leaving it as random stack 2195 content. Taking its wcwidth() then sometimes also returns negative, 2196 causing the assert() failure. Initialising wide_char before the call 2197 isn't a solution as it isn't documented if it's modified to an invalid 2198 value on an error return. 2199 2200 Instead, delay calculating the wcwidth() until after the possible 2201 substitution of "?". Leave the assert() in place. 2202 2203Author: Ralph Corderoy <ralph@inputplus.co.uk> 2204Date: Sun Apr 23 16:17:09 2017 +0100 2205 2206 Remove return statements at end of void functions. 2207 2208Author: Ralph Corderoy <ralph@inputplus.co.uk> 2209Date: Sun Apr 23 16:10:59 2017 +0100 2210 2211 tws.h: Remove ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST. 2212 2213 Code that's conditional on its definition has been kept; just the tests 2214 removed. The comment explaining its purpose has been kept, just without 2215 the "If defined...". 2216 2217Author: Ralph Corderoy <ralph@inputplus.co.uk> 2218Date: Sun Apr 23 15:48:53 2017 +0100 2219 2220 Use C's `++', `+=', etc., not the longhand. 2221 2222Author: Ralph Corderoy <ralph@inputplus.co.uk> 2223Date: Sun Apr 23 15:19:33 2017 +0100 2224 2225 Remove unneeded incomplete, member-less `struct tag;'. 2226 2227 The forward declaration isn't needed to typedef based on the struct. 2228 2229Author: Ralph Corderoy <ralph@inputplus.co.uk> 2230Date: Sun Apr 23 14:47:20 2017 +0100 2231 2232 mh.h: Compact the reserved sequence bit-masks. 2233 2234 Removes the gap created by axing DELETED. 2235 2236Author: Ralph Corderoy <ralph@inputplus.co.uk> 2237Date: Sun Apr 23 14:36:57 2017 +0100 2238 2239 mh.h: Remove unused MODIFIED and DELETED macros. 2240 2241 MODIFIED was a folder attribute used by msh(1), and DELETED a message 2242 attribute that may have last been used in the 1980s. 2243 Adjust corresponding FBITS and MBITS definitions. 2244 2245Author: Ralph Corderoy <ralph@inputplus.co.uk> 2246Date: Sun Apr 23 14:36:47 2017 +0100 2247 2248 md5.h: Remove unused UINT2 typedef for unsigned short. 2249 2250Author: Ralph Corderoy <ralph@inputplus.co.uk> 2251Date: Sun Apr 23 13:50:02 2017 +0100 2252 2253 ap.man, dp.man: Add fmttest(1) to SEE ALSO section. 2254 2255Author: Ralph Corderoy <ralph@inputplus.co.uk> 2256Date: Sun Apr 23 13:33:57 2017 +0100 2257 2258 tws.h: Remove zero-valued TW_SNIL macro, used once. 2259 2260 Macro TW_SNIL was the zero value for a two-bit field. It was only used 2261 once, and that is better ordered to check for bits set with none set 2262 being the last, else, case, rather than in the middle. Kept the 2263 behaviour of undefined value 3 being treated as TW_SIMP, 2. 2264 2265Author: Ralph Corderoy <ralph@inputplus.co.uk> 2266Date: Sun Apr 23 13:18:20 2017 +0100 2267 2268 tws.h: Remove redundant TW_SZONE and TW_SZNIL bit-masks. 2269 2270 TW_SZONE is a mask of one bit that can either be 0, TW_SZNIL, or set, 2271 TW_SZEXP. Rather than three macros for the single bit, have one, 2272 TW_SZEXP. Simplifies the test too when the mask is known to be one-bit 2273 wide. 2274 2275Author: Ralph Corderoy <ralph@inputplus.co.uk> 2276Date: Sun Apr 23 11:01:18 2017 +0100 2277 2278 mh-format.man: Fix `Return' column heading alignment. 2279 2280 Two of the column headings were separated by spaces rather than a tab. 2281 The other two similar tables used `Return' instead of `Result', so 2282 switch to that at the same time. 2283 2284Author: Ralph Corderoy <ralph@inputplus.co.uk> 2285Date: Sun Apr 23 09:48:13 2017 +0100 2286 2287 sbr/dtime.c: Remove struct-assigning twscopy(). 2288 2289 Historically, twscopy() assigned all the struct's members individually, 2290 but that was `#if 0'd as far back as the repository goes. The one 2291 caller now uses assignment, making clear the direction of data flow. 2292 2293Author: Ralph Corderoy <ralph@inputplus.co.uk> 2294Date: Sun Apr 23 09:28:24 2017 +0100 2295 2296 uip/sortm.c: Remove unused variable and dlocaltimenow() call. 2297 2298 read_hdrs() has a auto `struct tws tb'. It's only use is as the 2299 destination for dlocaltimenow()'s result. Remove the variable. Also 2300 remove the dlocaltimenow() call; this I'm unsure about as it has a side 2301 effect of calling tzset(3). However, tests pass. Repository history 2302 sheds no light. 2303 2304Author: Ralph Corderoy <ralph@inputplus.co.uk> 2305Date: Sun Apr 23 09:19:13 2017 +0100 2306 2307 sbr/dtimep.l: Remove always false `europeandate' flag. 2308 2309 Switched from reverse-podium MM/DD/YY interpretation to DD/MM/YY. 2310 Never set so conditional code unused. 2311 2312Author: Ralph Corderoy <ralph@inputplus.co.uk> 2313Date: Sun Apr 23 00:47:32 2017 +0100 2314 2315 Append descriptions to C source files with first-line filenames. 2316 2317Author: Ralph Corderoy <ralph@inputplus.co.uk> 2318Date: Sun Apr 23 00:29:02 2017 +0100 2319 2320 Add first-line comment describing C source's purpose. 2321 2322 I had a stab at them after a bit of a skim; they're better than 2323 nothing. 2324 2325Author: Ralph Corderoy <ralph@inputplus.co.uk> 2326Date: Sun Apr 23 00:02:41 2017 +0100 2327 2328 Ensure a space after `#!'. 2329 2330 The majority of the `#!' scripts have a space before the `/'; 2331 add one to the three deviants. 2332 2333Author: Ralph Corderoy <ralph@inputplus.co.uk> 2334Date: Sat Apr 22 23:36:19 2017 +0100 2335 2336 Correct first-line comments where filename is wrong. 2337 2338 Having jiggled the start-of-file comment about, it's apparent that a few 2339 files either don't know their own name, or the format the rest of the 2340 gang follow. To wit, "basename(filename) -- ...". 2341 2342Author: Ralph Corderoy <ralph@inputplus.co.uk> 2343Date: Sat Apr 22 23:19:39 2017 +0100 2344 2345 Replace "/*\n * " with "/* " at the start of a file. 2346 2347 Pulls the meat of the comment onto the file's first line, now that the 2348 blank line at the start of the file has been deleted. Allows `sed -ns 2349 1p ...' or similar to give a summary of lots of files. 2350 2351Author: Ralph Corderoy <ralph@inputplus.co.uk> 2352Date: Sat Apr 22 19:05:32 2017 +0100 2353 2354 Remove leading and trailing blank lines from code. 2355 2356 Many of the main source file start with a blank line, and many end with 2357 one or more too. They seem to serve little purpose so delete them. 2358 This makes all the files consistent in not having them and ideally the 2359 first line of a C source file will say something about its content in 2360 time instead of just "/*". Avoided editing format files, etc,. where 2361 the line could be significant, and historical files. 2362 2363Author: Ralph Corderoy <ralph@inputplus.co.uk> 2364Date: Sat Apr 22 18:37:15 2017 +0100 2365 2366 mts/smtp/smtp.h: Remove one-use rp_isbad() macro. 2367 2368 It just cast its argument to signed char, and the sole user can do that 2369 itself a few lines later. 2370 2371Author: Ralph Corderoy <ralph@inputplus.co.uk> 2372Date: Sat Apr 22 18:32:55 2017 +0100 2373 2374 mts/smtp/smtp.h: Remove unused `MMDF' macros. 2375 2376 The header file has a specification of a historical interface and 2377 removing the unused parts leaves it incomplete, but it's unlikely those 2378 parts will be needed and what remains seems more understandable; partly 2379 due to it being less to grok, and also because it relates more to modern 2380 use. 2381 2382Author: Ralph Corderoy <ralph@inputplus.co.uk> 2383Date: Sat Apr 22 18:21:01 2017 +0100 2384 2385 mts/smtp/smtp.c: Remove unused SM_... timeout macros. 2386 2387 SM_TEXT, SM_CLOS, and SM_AUTH are unused. 2388 Alter the comment for the block of macros to state they're timeouts in 2389 seconds. 2390 2391Author: Ralph Corderoy <ralph@inputplus.co.uk> 2392Date: Sat Apr 22 17:28:18 2017 +0100 2393 2394 h/mf.h: Remove many unused macros; some UUCP related. 2395 2396 MF... were "Codes returned by uucp2mmdf(), mmdf2uucp()". 2397 A spot check of the others shows they've not been used in this git 2398 repository. 2399 2400Author: Ralph Corderoy <ralph@inputplus.co.uk> 2401Date: Sat Apr 22 17:16:54 2017 +0100 2402 2403 sbr/mf.c: Remove unused functions: isfrom, lequal, mfgets. 2404 2405 isfrom(s) checked for /^>?From /. 2406 lequal(a, b) was another case-insensitive strcmp(3). 2407 mfgets(fp, line) fetched a header at a time from fp, indicating when the 2408 end of headers was reached. 2409 Investigating their historical usage was, ironically, made too tedious 2410 to complete by the pollution of mass commits of historical MH. 2411 2412Author: Ralph Corderoy <ralph@inputplus.co.uk> 2413Date: Sat Apr 22 16:51:02 2017 +0100 2414 2415 uip/mhbuildsbr.c: Remove unusused MAXURLTOKEN macro. 2416 2417 "Maximum size of URL token in message/external-body". 2418 Uses deleted in 95ad91ca30e1cda09efe454d12ed790a60661f56. 2419 2420Author: Ralph Corderoy <ralph@inputplus.co.uk> 2421Date: Sat Apr 22 16:48:13 2017 +0100 2422 2423 sbr/dtime.c: Remove unused `struct zone' definition. 2424 2425 The uses went in 6a68057d8ef48bef3ee752741a53a629a2840e68. 2426 2427Author: Ralph Corderoy <ralph@inputplus.co.uk> 2428Date: Sat Apr 22 16:46:33 2017 +0100 2429 2430 uip/post.c: Don't bother naming `struct oauth_profile'. 2431 2432 It's never used, and one more identifier to track when reading. 2433 If there's no name, that's a signal it's not used elsewhere. 2434 2435Author: Ralph Corderoy <ralph@inputplus.co.uk> 2436Date: Sat Apr 22 16:42:51 2017 +0100 2437 2438 h/nmh.h: Remove unused NLENGTH(dirent) macro. 2439 2440 It just does a strlen(3) of its argument's d_name; that's not even done 2441 longhand anyway. And its name is very generic for such a narrow task. 2442 2443Author: Ralph Corderoy <ralph@inputplus.co.uk> 2444Date: Sat Apr 22 16:41:00 2017 +0100 2445 2446 h/mts.h: Remove unused isdlm{1,2}() macros. 2447 2448 They just do a strcmp(3) of their argument against mmdlm{1,2} and test 2449 it's "equal". That's more clearly written longhand than have yet 2450 another small-scope, specialised, macro to recall; as practice bears 2451 out. 2452 2453Author: Ralph Corderoy <ralph@inputplus.co.uk> 2454Date: Sat Apr 22 16:39:29 2017 +0100 2455 2456 h/mh.h: Remove unused set_deleted() macro. 2457 2458 Its comment says "for msh only". 2459 2460Author: Ralph Corderoy <ralph@inputplus.co.uk> 2461Date: Sat Apr 22 14:31:10 2017 +0100 2462 2463 h/tws.h: Remove TW_YES and TW_NO; TW_SUCC good enough. 2464 2465 TW_SUCC is a macro for the bit-mask 0x0040. TW_YES, a vague name, was 2466 the same value. TW_NO was 0, and unused by the code. Ditch both those 2467 as TW_SUCC is sufficient for setting and testing. Alter its comment to 2468 make clear it means parsing was successful. 2469 2470Author: Ralph Corderoy <ralph@inputplus.co.uk> 2471Date: Sat Apr 22 14:10:41 2017 +0100 2472 2473 docs/FAQ: Replace suggestion of NOMHNPROC with -nocheckmime. 2474 2475 Environment variable NOMHNPROC was removed in 1.6, as stated in NEWS. 2476 2477Author: Ralph Corderoy <ralph@inputplus.co.uk> 2478Date: Sat Apr 22 01:00:29 2017 +0100 2479 2480 sbr/discard.c: Simplify by inverting initial test. 2481 2482 The function used to return early, but these days that's just avoiding a 2483 single statement, so execute that conditionally instead. 2484 2485Author: Ralph Corderoy <ralph@inputplus.co.uk> 2486Date: Sat Apr 22 00:48:47 2017 +0100 2487 2488 sbr/lock_file.c: Move static variables into their functions. 2489 2490 A couple of file-scoped statc ints were the typical "if this function is 2491 being called for the first time" flags. Move each into their respective 2492 functions. Make them bools. Name them so the initial value is zero, 2493 thus placing them in BSS. 2494 2495Author: Ralph Corderoy <ralph@inputplus.co.uk> 2496Date: Fri Apr 21 14:01:21 2017 +0100 2497 2498 send and whatnow: Remove deprecated -attach... switches. 2499 2500 They were changed to do nothing but warn on stderr that they were 2501 deprecated in 521674623 and 035c5db34, both before 1.6's release, and so 2502 can be removed ready for 1.7's release. 2503 2504Author: Ralph Corderoy <ralph@inputplus.co.uk> 2505Date: Thu Apr 20 14:27:46 2017 +0100 2506 2507 uip/dropsbr.c: Fix buffer overrun in mbx_copy(). 2508 2509 The overrun occurs frequently, but typically zeroes a byte of a 2510 character pointer on the stack that's not yet been used. 2511 Caused by 28610ff9a604a75ae0c383be03aa19415ddb1965 appending a NUL after 2512 the bytes stored by read(2). 2513 2514Author: Ralph Corderoy <ralph@inputplus.co.uk> 2515Date: Tue Apr 18 15:37:54 2017 +0100 2516 2517 h/mime.h: Delete unused isatom(c) macro. 2518 2519Author: Ralph Corderoy <ralph@inputplus.co.uk> 2520Date: Tue Apr 18 12:54:28 2017 +0100 2521 2522 man/*.man: Fix some multi-word .B invocations. 2523 2524 Some needed to be .B for the first word, but .I for the second, or just 2525 plain text for the rest of the words that should be on their own line. 2526 Others were just plain wrong and became .IR for a man-page reference. 2527 Then the .TP macro uses an input trap so only a single following line of 2528 source is used and this prevents a two-line `.B .I', so use embedded 2529 font escapes instead. 2530 2531Author: Ralph Corderoy <ralph@inputplus.co.uk> 2532Date: Tue Apr 18 01:14:57 2017 +0100 2533 2534 man/*.man: Use italic for emphasis, not bold or SHOUTING. 2535 2536 When reading a body of text, italic is sufficient to add emphasis to 2537 what's already being read. Bold draws the eye to the word on the page 2538 and is more useful for keywords, concepts, etc. Some `.B' remain that 2539 should probably be `.I', but they looked to have other problems so I 2540 left them out of this pass. 2541 2542Author: Ralph Corderoy <ralph@inputplus.co.uk> 2543Date: Tue Apr 18 00:27:35 2017 +0100 2544 2545 README.manpages: `user ID', not `user-id'. 2546 2547Author: Ralph Corderoy <ralph@inputplus.co.uk> 2548Date: Tue Apr 18 00:24:07 2017 +0100 2549 2550 man/*.man: Replace minus sign with hyphen: `\-' with `-'. 2551 2552 Conservatively changed many of the troff minus-signs, `\-', with a troff 2553 hyphen, `-'. Where it wasn't quickly obviously, I left it unchanged. 2554 There were also cases that shouldn't be either minus sign or hyphen. 2555 Those were changed to hyphen and still need to be fixed properly. 2556 2557Author: Ralph Corderoy <ralph@inputplus.co.uk> 2558Date: Mon Apr 17 23:36:28 2017 +0100 2559 2560 README.manpages: It's a `From header', not a `From: header'. 2561 2562Author: David Levine <levinedl@acm.org> 2563Date: Mon Apr 17 18:06:05 2017 -0400 2564 2565 Use stat(3) instead of lstat(3), to dereference symbolic links. 2566 2567 Fix to commit 4318012376e06229307c0ed4f62a00faae9edc63. 2568 2569Author: Ralph Corderoy <ralph@inputplus.co.uk> 2570Date: Mon Apr 17 14:53:28 2017 +0100 2571 2572 Don't ignore bit 5 of a char when comparing alias names. 2573 2574 It's a crude method of ignoring case, but makes `^' equal to `~'. 2575 Use tolower(3) instead. 2576 http://lists.nongnu.org/archive/html/nmh-workers/2017-03/msg00050.html 2577 2578Author: Ralph Corderoy <ralph@inputplus.co.uk> 2579Date: Mon Apr 17 14:34:14 2017 +0100 2580 2581 man/mh-profile.man: Note MHTMPDIR is deprecated. 2582 2583 In future, only TMPDIR and /tmp will be used, e.g. not `mhpath +'. 2584 2585Author: Ralph Corderoy <ralph@inputplus.co.uk> 2586Date: Mon Apr 17 14:06:36 2017 +0100 2587 2588 README.manpages: Add `Common errors and subjective conventions'. 2589 2590 Based partly on recent mailing-list posts about Larry's patches. 2591 2592Author: Ralph Corderoy <ralph@inputplus.co.uk> 2593Date: Mon Apr 17 13:32:47 2017 +0100 2594 2595 README.manpages: Add question to guide update of .TH's date. 2596 2597Author: Ralph Corderoy <ralph@inputplus.co.uk> 2598Date: Mon Apr 17 13:29:38 2017 +0100 2599 2600 README.manpages: Clarify that man-page source is ASCII. 2601 2602Author: Ralph Corderoy <ralph@inputplus.co.uk> 2603Date: Mon Apr 17 12:10:35 2017 +0100 2604 2605 Fix post's die() to save errno before unlink(2)ing. 2606 2607Author: Ralph Corderoy <ralph@inputplus.co.uk> 2608Date: Mon Apr 17 11:50:39 2017 +0100 2609 2610 Allow advertise() to assume strerror(3) won't fail. 2611 2612 The code already assumes that elsewhere when it calls strerror(). 2613 2614Author: Ralph Corderoy <ralph@inputplus.co.uk> 2615Date: Mon Apr 17 11:42:39 2017 +0100 2616 2617 Change admonish(NULL, "foo") to inform("foo, continuing..."). 2618 2619 Removes more uses of the ad... functions with unneeded parameters. 2620 Puts the "continuing" at the call site rather than the reader having to 2621 remember it's being magically appended. (Some calls were passing 2622 "foo\n" that would result in "foo\n, continuing...\n" appearing.) 2623 2624Author: Ralph Corderoy <ralph@inputplus.co.uk> 2625Date: Mon Apr 17 11:13:36 2017 +0100 2626 2627 Don't store getname()'s return value during flushing. 2628 2629 `cp' after the loop is overwritten before being read. 2630 Not storing the return value makes it clear it's not used. 2631 2632Author: Ralph Corderoy <ralph@inputplus.co.uk> 2633Date: Mon Apr 17 11:06:12 2017 +0100 2634 2635 Improve function comments for the ad... diagnostic functions. 2636 2637 Give the resulting layout of parameters that appears on stderr. 2638 2639Author: Ralph Corderoy <ralph@inputplus.co.uk> 2640Date: Mon Apr 17 10:57:54 2017 +0100 2641 2642 Fix bug in advertise("", "", "foo", ap). 2643 2644 A non-NULL but empty `what' would result in "fooerrno\n" without 2645 separation. Improve the function's comment to try and make it obvious 2646 how its out of order parameters appear. 2647 2648Author: Ralph Corderoy <ralph@inputplus.co.uk> 2649Date: Mon Apr 17 10:42:09 2017 +0100 2650 2651 Replace advise(NULL, fmt, ...) with inform(fmt, ...). 2652 2653Author: Ralph Corderoy <ralph@inputplus.co.uk> 2654Date: Mon Apr 17 10:16:51 2017 +0100 2655 2656 Add inform() to provide an equivalent to advise(NULL, ...). 2657 2658 A small step in clearing up the confusing ad... names of the diagnostic 2659 routines. `inform' isn't great, but err(3) nabs `warn' already. 2660 2661Author: Ralph Corderoy <ralph@inputplus.co.uk> 2662Date: Sun Apr 16 23:49:00 2017 +0100 2663 2664 Replace add(nonnull, NULL) with mh_xstrdup(nonnull). 2665 2666 Only a few cases where it's obvious that the first parameter will not be 2667 NULL. 2668 2669Author: Ralph Corderoy <ralph@inputplus.co.uk> 2670Date: Sun Apr 16 23:36:07 2017 +0100 2671 2672 uip/aliasbr.c: Add FIXME to prove test of add()'s return value. 2673 2674 add() always returns true so perhaps some other test is intended 2675 instead. 2676 2677Author: Ralph Corderoy <ralph@inputplus.co.uk> 2678Date: Sun Apr 16 23:25:32 2017 +0100 2679 2680 man/*.man: Replace \(ru with an underscore, e.g. .mh_profile. 2681 2682 The character is an underscore, and that's what's wanted. 2683 \(ru gives a "rule", which draws as a thick baseline in PDFs; 2684 not a character at all. 2685 Other devices map \(ru onto underscore, e.g. ASCII, 2686 but an underscore should be used in the first place. 2687 2688Author: Ralph Corderoy <ralph@inputplus.co.uk> 2689Date: Sun Apr 16 14:01:42 2017 +0100 2690 2691 Replace some strdup() with mh_xstrdup(). 2692 2693 (This is an old patch I had stashed.) 2694 Some surrounding `if...adios()' are removed too, but most of the 2695 strdup() calls weren't being checked for success, thus their 2696 replacement. 2697 2698Author: Ralph Corderoy <ralph@inputplus.co.uk> 2699Date: Sun Apr 16 00:35:11 2017 +0100 2700 2701 Remove unneeded `\&' from man pages. 2702 2703 The zero-width character is used before a command character that is 2704 intended to be literal but may end up at the start of a line. 2705 Similarly, it's used after an end-of-sentence character when it may end 2706 up at the end of the line but isn't the end of a sentence. 2707 Remove the other cases because they're noise that confuses the issue of 2708 when `\&' should be used. 2709 2710Author: Ralph Corderoy <ralph@inputplus.co.uk> 2711Date: Sun Apr 16 00:34:01 2017 +0100 2712 2713 Alter mh-chart(7)'s NAME to be lowercase. 2714 2715 And mention the commands' options. 2716 2717Author: Ralph Corderoy <ralph@inputplus.co.uk> 2718Date: Sat Apr 15 20:14:42 2017 +0100 2719 2720 man/*.man: No need for empty comment to be comments. 2721 2722 A line that's just a `.' suffices. 2723 2724Author: Ralph Corderoy <ralph@inputplus.co.uk> 2725Date: Sat Apr 15 20:11:33 2017 +0100 2726 2727 Ensure .TH is the first line of a man page. 2728 2729Author: Ralph Corderoy <ralph@inputplus.co.uk> 2730Date: Sat Apr 15 19:17:31 2017 +0100 2731 2732 Fix errors in man-page NAME sections. 2733 2734 man/fmttest.man didn't have a NAME section, but a FMTTEST one. 2735 And it broke lexgrog(1) by splitting the section over multiple lines and 2736 using `.IR'. Re-write to use inline escapes. 2737 man/rcvtty.man had two spaces before the `\-'. 2738 2739Author: Ralph Corderoy <ralph@inputplus.co.uk> 2740Date: Sat Apr 15 15:29:02 2017 +0100 2741 2742 Switch date to yyyy-mm-dd in generated mh-chart.man. 2743 2744 It's still today's date, but improving on that seems non-trivial. 2745 2746Author: Ralph Corderoy <ralph@inputplus.co.uk> 2747Date: Sat Apr 15 14:48:02 2017 +0100 2748 2749 Specify yyyy-mm-dd date format for a man page's .TH date. 2750 2751Author: Ralph Corderoy <ralph@inputplus.co.uk> 2752Date: Sat Apr 15 14:36:51 2017 +0100 2753 2754 Use `Unix', not `UNIX', in man pages. 2755 2756 "...in deference to dmr's wishes." 2757 — http://catb.org/jargon/html/U/Unix.html 2758 2759Author: Ralph Corderoy <ralph@inputplus.co.uk> 2760Date: Sat Apr 15 14:25:12 2017 +0100 2761 2762 Fix forward-reference and `news.*' in mh-alias(5)'s example. 2763 2764 Spotted by Bob Carragher. 2765 The example's forward reference was made a backward one, and `news.*' 2766 explanation removed, in ff3060cefb460cce2174058eefff38b6e11ee2f1. 2767 2768Author: Ralph Corderoy <ralph@inputplus.co.uk> 2769Date: Sat Apr 15 11:31:22 2017 +0100 2770 2771 Set man-page date to last significant change, UTC. 2772 2773Author: Ralph Corderoy <ralph@inputplus.co.uk> 2774Date: Sat Apr 15 13:26:42 2017 +0100 2775 2776 Wind man-page date back to last significant change, UTC. 2777 2778Author: Ralph Corderoy <ralph@inputplus.co.uk> 2779Date: Fri Apr 14 18:34:43 2017 +0100 2780 2781 Wind man-page date back to the earliest git revision, UTC. 2782 2783 No significant changes since then, and I can't find an earlier reference 2784 date. 2785 2786Author: Ralph Corderoy <ralph@inputplus.co.uk> 2787Date: Sat Apr 15 13:21:07 2017 +0100 2788 2789 Convert, already correct, man-page date to UTC. 2790 2791Author: Ralph Corderoy <ralph@inputplus.co.uk> 2792Date: Fri Apr 14 23:49:21 2017 +0100 2793 2794 Convert, already correct, man-page date to yyyy-mm-dd format. 2795 2796Author: Ralph Corderoy <ralph@inputplus.co.uk> 2797Date: Fri Apr 14 15:55:47 2017 +0100 2798 2799 Remove trailing spaces from lines in man pages. 2800 2801Author: Ralph Corderoy <ralph@inputplus.co.uk> 2802Date: Fri Apr 14 15:51:58 2017 +0100 2803 2804 Escape literal leading full stop in man/new.man. 2805 2806 Error made in 5e32ede8e40251bf02f35b864e32a86e91599b3f. 2807 2808Author: Larry Hynes <larry@larryhynes.com> 2809Date: Fri Mar 24 23:20:07 2017 +0000 2810 2811 Editing of man/rmm.man. 2812 2813 - formatting, mostly 2814 - don't make NOT bold 2815 2816Author: Larry Hynes <larry@larryhynes.com> 2817Date: Fri Mar 24 23:09:32 2017 +0000 2818 2819 Editing of man/rmf.man. 2820 2821 - delete trailing whitespace 2822 - remove some \- things 2823 - some formatting 2824 - sort SEE ALSO 2825 2826Author: Larry Hynes <larry@larryhynes.com> 2827Date: Fri Mar 24 23:02:00 2017 +0000 2828 2829 Editing of man/repl.com. 2830 2831 - unashamedly add nmh to .SH NAME 2832 - replace the delightfully baroque 'may be used to produce a reply 2833 to an existing message' with 'may be used to reply to a message'. 2834 - remove some \- objects 2835 - deflower 'repl uses a reply template to guide its actions' 2836 - remove multiple instances of 'replied\-to', with 'replied to' 2837 - change 'tab\-stop' to 'tab stop' 2838 - some formatting 2839 - replace .B mhbuild with .IR mhbuild (1) 2840 - replace whatnow with .B whatnow 2841 2842Author: Larry Hynes <larry@larryhynes.com> 2843Date: Fri Mar 24 19:05:21 2017 +0000 2844 2845 Editing of man/refile.man. 2846 2847 - some formatting 2848 - change .B mh\-sequence (5) to .IR mh\-sequence (5) 2849 2850Author: Larry Hynes <larry@larryhynes.com> 2851Date: Fri Mar 24 18:54:52 2017 +0000 2852 2853 Editing of man/rcvstore.man. 2854 2855 - delete some \- things 2856 - some formatting 2857 - change protection to mode, in line with inc.man 2858 - Uncapitalize .SS Locking and \-unseen 2859 - sort SEE ALSO 2860 2861Author: Larry Hynes <larry@larryhynes.com> 2862Date: Fri Mar 24 18:21:58 2017 +0000 2863 2864 Editing of man/prompter.man. 2865 2866 - remove some \- items; quite a few, actually 2867 - put .B prompter on a line by itself, a number of times 2868 - some formatting 2869 2870Author: Larry Hynes <larry@larryhynes.com> 2871Date: Fri Mar 24 17:54:58 2017 +0000 2872 2873 Editing of man/prev.man. 2874 2875 - Delete trailing whitespace 2876 2877Author: Larry Hynes <larry@larryhynes.com> 2878Date: Fri Mar 24 17:52:22 2017 +0000 2879 2880 Editing of man/post.man. 2881 2882 - Delete trailing whitespace 2883 - Change inline mh-profile(5) refs to .IR mh-profile (5) 2884 - Some formatting 2885 - Change take to read 2886 - Say 'all message drafts' instead of 'all message draft' 2887 2888Author: Larry Hynes <larry@larryhynes.com> 2889Date: Fri Mar 24 17:35:37 2017 +0000 2890 2891 Editing of man/pick.man. 2892 2893 - Some formatting 2894 - Delete trailing whitespace 2895 - Change complimentary to complementary, because English 2896 - delete some \- things 2897 2898Author: Larry Hynes <larry@larryhynes.com> 2899Date: Fri Mar 24 17:21:19 2017 +0000 2900 2901 Editing of man/packf.man. 2902 2903Author: Larry Hynes <larry@larryhynes.com> 2904Date: Fri Mar 24 17:08:00 2017 +0000 2905 2906 Editing of man/next.man. 2907 2908 - Delete trailing whitespace 2909 2910Author: Larry Hynes <larry@larryhynes.com> 2911Date: Fri Mar 24 01:19:47 2017 +0000 2912 2913 Editing of man/rcvtty.man. 2914 2915 - Add missing 'command' 2916 - Some formatting 2917 - Remove a \-, the mark that dare not speak its name 2918 - Use 'switches' instead of 'options' 2919 - Sort SEE ALSO programs 2920 2921Author: Larry Hynes <larry@larryhynes.com> 2922Date: Fri Mar 24 00:54:05 2017 +0000 2923 2924 Editing of man/mhfixmsg.man. 2925 2926 - 8bit -> 8-bit, nbit -> n-bit, except in flags and error msgs 2927 - Add nmh to .SH NAME 2928 - Formatting 2929 - use .B for -outfile 2930 - use .IR for mh-profile (5) 2931 - sort SEE ALSO programs 2932 2933Author: Larry Hynes <larry@larryhynes.com> 2934Date: Thu Mar 23 22:52:46 2017 +0000 2935 2936 Editing of man/mhstore.man. 2937 2938 - store -> stored 2939 - some formatting 2940 2941Author: Larry Hynes <larry@larryhynes.com> 2942Date: Thu Mar 23 22:08:44 2017 +0000 2943 2944 Editing of man/mhshow.man. 2945 2946 - Add some stray s's 2947 - Some formatting 2948 - Remove an \- object (I now pronounce \- as uh-unh; it's easier this way) 2949 - Use alternative instead of alternate 2950 2951Author: Larry Hynes <larry@larryhynes.com> 2952Date: Thu Mar 23 21:07:49 2017 +0000 2953 2954 Editing of man/mhpath.man. 2955 2956 - Add some commas 2957 - Some formatting 2958 - Delete empty .PP 2959 2960Author: Larry Hynes <larry@larryhynes.com> 2961Date: Thu Mar 23 20:24:19 2017 +0000 2962 2963 Editing of man/mhparam.man. 2964 2965 - Add some commas 2966 - Some formatting 2967 - Delete 'just' 2968 2969Author: Larry Hynes <larry@larryhynes.com> 2970Date: Thu Mar 23 20:11:10 2017 +0000 2971 2972 Editing of man/mhmail.man. 2973 2974 - Add reference to nmh in .SH NAME 2975 - Delete empty .PP 2976 - Remove a few 'various'es 2977 - Some formatting 2978 - SEE ALSO in alphabetical order 2979 2980Author: Larry Hynes <larry@larryhynes.com> 2981Date: Thu Mar 23 18:12:46 2017 +0000 2982 2983 Editing of man/mhlist.man. 2984 2985 - Make clear that -headers is the default 2986 - Some formatting 2987 2988Author: Larry Hynes <larry@larryhynes.com> 2989Date: Thu Mar 23 17:31:12 2017 +0000 2990 2991 Editing of man/mhl.man. 2992 2993 - Refer to environment variables (in text) without preceding $ 2994 - Don't put environment variables in bold (as per most other pages) 2995 - Some better formatting 2996 2997Author: Larry Hynes <larry@larryhynes.com> 2998Date: Thu Mar 23 17:05:26 2017 +0000 2999 3000 Editing of man/mhical.man. 3001 3002 - Don't use capitalised .SH, when uncapitalised .SS will do 3003 - Remove some early .SH/.SS to improve narrative 3004 - Delete superfluous .fi 3005 3006 It could be argued that each of the (now) .SSs, which have been 3007 demoted from .SHs, are unnecessary or, at least, not in line with 3008 the other man pages . Demotion may suffice, for now. 3009 3010Author: Larry Hynes <larry@larryhynes.com> 3011Date: Thu Mar 23 14:15:46 2017 +0000 3012 3013 Editing of man/mhbuild.man. 3014 3015 - EDTIOR -> EDITOR 3016 - remove some \- things 3017 - formatting 3018 - use 8-bit, like 7-bit 3019 3020Author: Larry Hynes <larry@larryhynes.com> 3021Date: Thu Mar 23 01:49:06 2017 +0000 3022 3023 Editing of man/mh-tailor.man. 3024 3025 - Straighten up some formatting 3026 - Don't escape hyphens unecessarily 3027 - Pluralise message (so that outgoing messages...) 3028 3029Author: Larry Hynes <larry@larryhynes.com> 3030Date: Thu Mar 23 01:29:20 2017 +0000 3031 3032 Editing of man/mh-sequence.man. 3033 3034 - Don't escape hyphens unecessarily 3035 - Remove duplicate 'when' (when when) 3036 - Straighten up some formatting 3037 - Bring RFC reference into line (don't hyphenate) 3038 3039Author: Larry Hynes <larry@larryhynes.com> 3040Date: Thu Mar 23 00:46:53 2017 +0000 3041 3042 Editing of man/mh-profile.man. 3043 3044 - Clean up some formatting 3045 - Replace an .sp with a .PP 3046 - Remove a couple of empty .PPs and .REs 3047 - Make the good English, yes please 3048 3049Author: Larry Hynes <larry@larryhynes.com> 3050Date: Wed Mar 22 22:57:13 2017 +0000 3051 3052 Editing of man/mh-mime.man. 3053 3054 - Clean up .SH NAME to one line without .IR nmh (7) on it 3055 - Don't use escaped hyphens when not necessary 3056 - Clean up some formatting 3057 - Use 'Attach:' consistently (instead of 'Attach') 3058 3059Author: Larry Hynes <larry@larryhynes.com> 3060Date: Tue Mar 21 22:56:39 2017 +0000 3061 3062 Editing of man/mh-mail.man. 3063 3064 I think we can rise above ourselves, and delete 'antiquated'. 3065 3066Author: Larry Hynes <larry@larryhynes.com> 3067Date: Tue Mar 21 22:35:50 2017 +0000 3068 3069 Editing of man/mh-folders.man. 3070 3071Author: Larry Hynes <larry@larryhynes.com> 3072Date: Tue Mar 21 19:54:56 2017 +0000 3073 3074 Editing of man/mh-draft.man. 3075 3076Author: Larry Hynes <larry@larryhynes.com> 3077Date: Tue Mar 21 01:48:34 2017 +0000 3078 3079 Editing of man/new.man. 3080 3081Author: Larry Hynes <larry@larryhynes.com> 3082Date: Tue Mar 21 01:31:52 2017 +0000 3083 3084 Mention `nmh' in man-page NAME section for apropos(1). 3085 3086Author: Larry Hynes <larry@larryhynes.com> 3087Date: Sun Mar 19 23:40:59 2017 +0000 3088 3089 Replace `maildrop' with `mail drop' in man pages. 3090 3091Author: Larry Hynes <larry@larryhynes.com> 3092Date: Sun Mar 19 14:51:30 2017 +0000 3093 3094 Review inc.man. 3095 3096 First cut at a cleanup of inc.man, including: maildrop -> mail drop; 3097 Ralph's mode/octal suggestion, with a change (by me) to refer to 3098 chmod(1). 3099 3100Author: David Levine <levinedl@acm.org> 3101Date: Sun Apr 2 09:26:17 2017 -0400 3102 3103 Attempt to fix test-ap on fbsd-10 build host. 3104 3105Author: David Levine <levinedl@acm.org> 3106Date: Sat Apr 1 18:53:26 2017 -0400 3107 3108 Check for sufficient room for multi-column character. 3109 3110 Fix to commit 92128dacf8d5db02379e8f872dc50d31c6aaa55f. The sympton, 3111 reported by Valdis, was overrun of scan -width. 3112 3113Author: David Levine <levinedl@acm.org> 3114Date: Sat Mar 25 07:47:53 2017 -0400 3115 3116 Escaped repl, in case the user has it as a shell alias. 3117 3118Author: David Levine <levinedl@acm.org> 3119Date: Sat Mar 25 07:46:45 2017 -0400 3120 3121 Added etc/rmmproc.messageid. 3122 3123Author: Ralph Corderoy <ralph@inputplus.co.uk> 3124Date: Wed Mar 22 14:47:18 2017 +0000 3125 3126 Fix free(3) of unmalloc()'d string in whatnow's refile. 3127 3128 `ref +foo' at comp(1)'s whatnow prompt was trying to free "+foo". 3129 Take a copy of the string so the later free works. 3130 Tom Rodman reported the problem to nmh-workers. 3131 Bug introduced in 3b6be5607a251a3a793e97382e251ce66ea2bca0. 3132 3133Author: Ralph Corderoy <ralph@inputplus.co.uk> 3134Date: Wed Mar 22 10:51:34 2017 +0000 3135 3136 Work around flex 2.6.3 bug by conditionally #undef yywrap. 3137 3138 There's no sign on https://github.com/westes/flex/issues/162 that they 3139 will release a new flex with the fix soon. 3140 3141Author: Larry Hynes <larry@larryhynes.com> 3142Date: Tue Mar 21 12:49:12 2017 -0400 3143 3144 Cleanup of .SH NAME sections. 3145 3146Author: Larry Hynes <larry@larryhynes.com> 3147Date: Sat Mar 18 13:49:06 2017 +0000 3148 3149 Fixed forw.man to pass test-manpages. 3150 3151Author: David Levine <levinedl@acm.org> 3152Date: Sat Mar 18 16:53:15 2017 -0400 3153 3154 Added test case for commit 4318012376e06229307c0ed4f62a00faae9edc63. 3155 3156Author: David Levine <levinedl@acm.org> 3157Date: Sat Mar 18 09:49:31 2017 -0400 3158 3159 Don't let parse_mime() try to parse a directory. 3160 3161Author: Larry Hynes <larry@larryhynes.com> 3162Date: Fri Mar 17 12:36:06 2017 -0400 3163 3164 Cleanup to forw(1) man page. 3165 3166Author: David Levine <levinedl@acm.org> 3167Date: Sun Feb 26 22:50:42 2017 -0500 3168 3169 Added /* FALLTHRU */ comments where gcc 7 noticed their need. 3170 3171 And replaced similar comments to be consistent. Used that comment 3172 because it satisfies gcc -Wimplicit-fallthrough=4. 3173 3174Author: David Levine <levinedl@acm.org> 3175Date: Sun Feb 26 14:07:38 2017 -0500 3176 3177 Separate out backquote expression to please Heirloom shell. 3178 3179Author: David Levine <levinedl@acm.org> 3180Date: Sun Feb 26 13:41:34 2017 -0500 3181 3182 Tweaked to work with Heirloom shell. 3183 3184 Shell parameter expansion ending in space needs it to be quoted. 3185 3186Author: David Levine <dlevine@akamai.com> 3187Date: Tue Feb 21 10:31:57 2017 -0500 3188 3189 Echo CFLAGS in configure line, and only include if set. 3190 3191Author: Ken Hornstein <kenh@pobox.com> 3192Date: Sun Feb 19 17:05:12 2017 -0500 3193 3194 Change "servers" mts.conf entry to only support a single SMTP server. 3195 As part of this change, fix SMTP code so the chosen SMTP server is 3196 configured correctly for the netsec code. 3197 3198Author: David Levine <dlevine@akamai.com> 3199Date: Sun Feb 19 14:05:25 2017 -0500 3200 3201 Reworked handling of multiple, space separated, smtp servers. 3202 3203Author: David Levine <dlevine@akamai.com> 3204Date: Sun Feb 19 14:00:04 2017 -0500 3205 3206 Suppress getcanon exit status check. 3207 3208 To allow tests to run when the local hostname doesn't resolve. 3209 3210Author: David Levine <dlevine@akamai.com> 3211Date: Sun Feb 19 13:58:20 2017 -0500 3212 3213 Support mhparam -debug along with -all. 3214 3215 Fix to commit 234c9cc4829d86589a079ace49cfa5bc251ef62c. 3216 3217Author: Ralph Corderoy <ralph@inputplus.co.uk> 3218Date: Sat Feb 18 14:47:56 2017 +0000 3219 3220 Limit mhparam's exit status to 120 missing components. 3221 3222 Otherwise, 126 and 127 would clash with bash and zsh's use. 3223 Higher than 127 would look like signals. And 256 would wrap 3224 to a falsely succesful zero. 3225 3226Author: Ralph Corderoy <ralph@inputplus.co.uk> 3227Date: Tue Jan 17 12:54:02 2017 +0000 3228 3229 mhfixmsg: Use folder name to open second message of a sequence. 3230 3231 `mhfixmsg foo' where foo was sequence of more than one message would 3232 sucessfully process the lowest numbered message of the sequence, but 3233 fail to open(2) the second one as the folder was missing from the path. 3234 For example, /home/ralph/mail/inbox/1 was used to open the first, but 3235 /home/ralph/mail/2 was attempted for the second. I guess this was 3236 because a static array was being trampled during the first's processing, 3237 though didn't try too hard to find where. Making a copy of it fixed the 3238 problem. 3239 3240Author: David Levine <levinedl@acm.org> 3241Date: Sat Jan 14 10:57:09 2017 -0500 3242 3243 Remove unused test file. 3244 3245Author: David Levine <levinedl@acm.org> 3246Date: Sat Jan 14 10:51:40 2017 -0500 3247 3248 Added delay for output file to be closed. 3249 3250Author: David Levine <levinedl@acm.org> 3251Date: Sat Jan 14 10:16:22 2017 -0500 3252 3253 Fixed references to --with-cyrus-sasl, and --without-, in comments. 3254 3255Author: Ken Hornstein <kenh@pobox.com> 3256Date: Wed Jan 11 21:37:52 2017 -0500 3257 3258 Make sure we always generate a Content-ID header for message/external-body 3259 entities, as required by RFC 2045. 3260 3261Author: David Levine <levinedl@acm.org> 3262Date: Wed Jan 11 21:32:20 2017 -0500 3263 3264 Fixed permissions on test script. 3265 3266 Fix to commit 77fff244ad1bb1e746c78bedc87659400e2c6535. 3267 3268Author: David Levine <levinedl@acm.org> 3269Date: Wed Jan 11 20:53:41 2017 -0500 3270 3271 Rearranged check for whether to skip param value checks so 3272 that no files are left over. 3273 3274 Update of commit 2cf4ff9dd2fba77c7f98bbd706b00d2e79a11a3b. 3275 3276Author: David Levine <levinedl@acm.org> 3277Date: Wed Jan 11 20:49:12 2017 -0500 3278 3279 Added valgrind suppressions for system libs on MacOS El Capitan. 3280 3281Author: David Levine <levinedl@acm.org> 3282Date: Sat Jan 7 18:54:40 2017 -0500 3283 3284 Fixed commit 60052b95778a065760a437859ee9b8a1cc4e39a9, wrong sense. 3285 3286Author: David Levine <levinedl@acm.org> 3287Date: Sat Jan 7 18:00:05 2017 -0500 3288 3289 Removed if ! bash-ism. 3290 3291Author: David Levine <levinedl@acm.org> 3292Date: Sat Jan 7 17:38:27 2017 -0500 3293 3294 Fixed a couple of tests to not fail when there is no text browser. 3295 3296Author: David Levine <levinedl@acm.org> 3297Date: Sat Jan 7 17:37:52 2017 -0500 3298 3299 Added missing AC_SUBST of AM_LDFLAGS. 3300 3301Author: Ralph Corderoy <ralph@inputplus.co.uk> 3302Date: Sat Dec 10 23:55:50 2016 +0000 3303 3304 crawl_context: Remove unused struct member `total'. 3305 3306 It was maintained inconsistently, and checking what problems that caused 3307 showed it wasn't used. 3308 3309Author: Larry Hynes <larry@larryhynes.com> 3310Date: Sun Jan 1 23:15:56 2017 +0000 3311 3312 Changes to folder.man 3313 3314 Kill a couple of empty .PPs, resurrect a lost .SS, a little bit 3315 of slash and burn, stray whitespace, the usual. 3316 3317 As far as I know, which is not far, the \- construct is only 3318 required for \-args, not, e.g., sub\-folder. 3319 3320 I've changed instances of 'subfolder' to sub-folder. 3321 3322 I've changed the 'the' in 3323 3324 These folders are all preceded by the read-only... 3325 3326 to 'any'. 3327 3328Author: Larry Hynes <larry@larryhynes.com> 3329Date: Sat Dec 31 17:57:13 2016 +0000 3330 3331 Changes to install-mh.man 3332 3333 Some more simple wordsmithing... 3334 3335 Change instances of 'Install-mh' to 'install-mh', in line with 3336 other pages, switch to single `' around 'Mail', in line with 3337 other pages, option -> switch, clean up a little. 3338 3339Author: Larry Hynes <larry@larryhynes.com> 3340Date: Sat Dec 31 15:57:42 2016 +0000 3341 3342 A cleanup, and possibly some controversy: I've replaced 3343 3344 Rather than standard message skeleton 3345 3346 with 3347 3348 User message skeleton 3349 3350 My thinking here is that a) we can do away with the kinda weird 3351 'Rather than', b) I find the distinction between 'default' and 3352 'standard' to be vague and c) it only appears in a few pages 3353 and is easily remedied. It turns up in comp(1) as "An alternative 3354 to the standard skeleton.", where 'standard' is used in the same 3355 way as 'default' is used in rcvdist(1), so I think it's worth 3356 settling on something 'better' and applying it consistently. 3357 3358 My proposal is 'Default foo', for the foo in %nmhetcdir% and 3359 'User foo' for the foo in the user's <mh-dir>. 3360 3361Author: Larry Hynes <larry@larryhynes.com> 3362Date: Sat Dec 31 15:54:55 2016 +0000 3363 3364 Fix skeletons in comp(1), forw(1) and dist(1) 3365 3366 While I was here, I removed two 'empty' paragraphs (.PP) in forw(1). 3367 They may have been intended as line breaks, but I think they are 3368 unnecessary; feel free to overrule me! 3369 3370 Aside: I would not be unhappy if, some day, 'skeleton' was replaced by 3371 something utilitarian like 'template'. 3372 3373Author: David Levine <levinedl@acm.org> 3374Date: Sat Dec 31 09:30:07 2016 -0500 3375 3376 Remove .w3m from test directory. 3377 3378Author: David Levine <levinedl@acm.org> 3379Date: Sat Dec 31 09:22:19 2016 -0500 3380 3381 Reverted commit 316068ee3b7105ea802c63b732ee4cfb584a2600. 3382 3383 It was a repeat of commit 30a9c9b62fa92df289079080eb5ee57d2fda3951. 3384 Also, wrapped a few $MH_TEST_DIR with quotes. 3385 3386Author: Larry Hynes <larry@larryhynes.com> 3387Date: Thu Dec 29 21:47:21 2016 -0500 3388 3389 Clean up, and change .SS case to Title Case, from UPPER, 3390 in line with other pages. 3391 3392Author: Larry Hynes <larry@larryhynes.com> 3393Date: Fri Dec 23 16:29:36 2016 +0000 3394 3395 Changes to rcvpack.man 3396 3397Author: Ken Hornstein <kenh@pobox.com> 3398Date: Wed Dec 21 15:38:11 2016 -0500 3399 3400 Make the -fcc switch to repl actually work properly, and make sure that 3401 any Fcc header in a replied-to message is not carried over to the draft. 3402 3403Author: Larry Hynes <larry@larryhynes.com> 3404Date: Wed Dec 21 16:58:51 2016 +0000 3405 3406 Changes to fmtdump.man 3407 3408 Add a reference to fmttest(1), delete a superfluous 'the', 3409 delete the '...is simply...' line. 3410 3411Author: David Levine <levinedl@acm.org> 3412Date: Tue Dec 20 11:49:20 2016 -0500 3413 3414 Added check of -fcc with no fcc in components. 3415 3416Author: David Levine <levinedl@acm.org> 3417Date: Tue Dec 20 11:48:27 2016 -0500 3418 3419 Protect repl -file against dereference of null mp. 3420 3421Author: David Levine <levinedl@acm.org> 3422Date: Mon Dec 19 11:20:54 2016 -0500 3423 3424 Removed #ifdef FT_PAUSE protection. 3425 3426 FT_PAUSE is unconditionally defined in h/fmt_compile.h. 3427 3428Author: David Levine <levinedl@acm.org> 3429Date: Mon Dec 19 11:18:38 2016 -0500 3430 3431 Removed unused references to FT_ADDTOSEQ. 3432 3433 They were #ifdef LBL relics. 3434 3435Author: Larry Hynes <larry@larryhynes.com> 3436Date: Mon Dec 19 01:17:10 2016 +0000 3437 3438 Changes to mh-format.man 3439 3440 This is a beast, and we may not tame it at the first attempt. 3441 3442 Mostly language simplification, some grammar and formatting, trailing 3443 whitespace, that sort of thing. There are one or two instances where 3444 I've taken (small) liberties with language, in favour of 'comprehension 3445 at first glance'. 3446 3447 There are some commented lines hanging around in this. I've left 3448 them in, but I think they should go at the first opportunity. 3449 3450Author: David Levine <levinedl@acm.org> 3451Date: Mon Dec 19 11:11:27 2016 -0500 3452 3453 Removed obsolete comment about use of getcpy(). 3454 3455Author: Larry Hynes <larry@larryhynes.com> 3456Date: Sat Dec 17 19:28:30 2016 +0000 3457 3458 Changes to dist.man 3459 3460 Switch 'in place' for inplace, remove 'in truth of fact'. 3461 3462Author: Larry Hynes <larry@larryhynes.com> 3463Date: Sat Dec 17 19:28:31 2016 +0000 3464 3465 Changes to flist.man 3466 3467 Replace 'option' with 'switch' in a couple of places, correct 3468 (hopefully) a few sentences, restore '.SS "Multiple Folders" to its 3469 rightful place. 3470 3471Author: Larry Hynes <larry@larryhynes.com> 3472Date: Fri Dec 16 22:55:39 2016 +0000 3473 3474 Changes to comp.man 3475 3476 Remove the slightly legalistic 'in truth of fact', and bring the 3477 mention of man whatnow into the preceding sentence. 3478 3479 The line 'If the draft already exists, comp will ask you as to the 3480 disposition of the draft.' makes no sense to me, and I'm struggling 3481 to make it make sense. If we put to one side the fact that I think 3482 it's a broken sentence, I still haven't managed to get comp to 3483 accept - or prompt me for - a 'replace' option when 'the draft 3484 already exists', so I'm afraid I have to admit defeat here and seek 3485 the wisdom of the elders. 3486 3487Author: Larry Hynes <larry@larryhynes.com> 3488Date: Thu Dec 15 21:57:35 2016 +0000 3489 3490 Changes to burst.man 3491 3492 I'm not sure how relevant burst(1) is these days, but here goes... 3493 3494Author: David Levine <levinedl@acm.org> 3495Date: Thu Dec 15 17:44:56 2016 -0500 3496 3497 Added clarifications to abbreviations. 3498 3499 1) N must be a positive number. 3500 2) The + can be omitted. 3501 3) As many of the N messages that exist. 3502 4) Can also use - (or +) with first, prev, next, and last. 3503 3504Author: Larry Hynes <larry@larryhynes.com> 3505Date: Thu Dec 15 18:33:15 2016 +0000 3506 3507 Changes to nmh.man 3508 3509 This adds a reference to the 'COMMANDS' section, corrects - and 3510 hopefully simplifies - a couple of things, and tries to untangle 3511 the line beginning 'show displays...' in the seventh paragraph. 3512 3513 The line 'The first, previous, next or last messages, if they exist.' 3514 doesn't seem to accurately cover the accompanying 'foo:N' listing 3515 in the following, or am I missing something? 3516 3517 first:N 3518 prev:N 3519 next:N 3520 last:N The first, previous, next or last messages, if they exist. 3521 3522Author: Larry Hynes <larry@larryhynes.com> 3523Date: Tue Dec 13 20:14:11 2016 +0000 3524 3525 Changes to ali.man 3526 3527 The following is the beginning of an attempt to clean up the manual 3528 pages somewhat. 3529 3530 grep tells me that 'switch' is used 193 times, whereas 'option' is 3531 only used 51 times, so I've tried to standardise on 'switch'. 3532 3533Author: David Levine <levinedl@acm.org> 3534Date: Tue Dec 13 16:06:38 2016 -0500 3535 3536 Fixed description of anno -list switch. 3537 3538 As noted in commit 98c2e7d95bda262ef23e8f0838e5b86d08ed4e4f. 3539 If -text is used with -list, its argument is required but 3540 ignored. 3541 3542Author: Larry Hynes <larry@larryhynes.com> 3543Date: Tue Dec 13 20:14:11 2016 +0000 3544 3545 Changes to anno.man. 3546 3547 (Also noted that description of -list needs to be fixed, will 3548 do in next commit.) 3549 3550Author: Ralph Corderoy <ralph@inputplus.co.uk> 3551Date: Sat Dec 10 14:51:06 2016 +0000 3552 3553 showbuildenv: Add comment describing exit-status convention. 3554 3555 It helps explain why some commands are `... || true' despite no `set -e' 3556 being in effect. 3557 3558Author: Ralph Corderoy <ralph@inputplus.co.uk> 3559Date: Sat Dec 10 14:48:19 2016 +0000 3560 3561 Revert "Test if the buildbots care about tools/showbuildenv's exit status." 3562 3563 This reverts commit c92a4119fca5d677055dc616255a7d1efec9d750. 3564 They do care, showing "environment failed". 3565 3566Author: Ralph Corderoy <ralph@inputplus.co.uk> 3567Date: Sat Dec 10 14:46:04 2016 +0000 3568 3569 Rename recently added ToUpper() to to_upper(). 3570 3571Author: Ralph Corderoy <ralph@inputplus.co.uk> 3572Date: Sat Dec 10 14:45:00 2016 +0000 3573 3574 Rename recently added ToLower() to to_lower(). 3575 3576Author: Ralph Corderoy <ralph@inputplus.co.uk> 3577Date: Sat Dec 10 14:43:59 2016 +0000 3578 3579 Rename recently added TrimSuffixC() to trim_suffix_c(). 3580 3581Author: Ralph Corderoy <ralph@inputplus.co.uk> 3582Date: Sat Dec 10 14:42:47 2016 +0000 3583 3584 Rename recently added HasSuffixC() to has_suffix_c(). 3585 3586Author: Ralph Corderoy <ralph@inputplus.co.uk> 3587Date: Sat Dec 10 14:39:21 2016 +0000 3588 3589 Rename recently added HasSuffix() to has_suffix(). 3590 3591Author: Ralph Corderoy <ralph@inputplus.co.uk> 3592Date: Sat Dec 10 14:36:43 2016 +0000 3593 3594 Rename recently added HasPrefix() to has_prefix(). 3595 3596 Sticking with local convention, as Ken requested. 3597 3598Author: Ralph Corderoy <ralph@inputplus.co.uk> 3599Date: Sat Dec 10 14:24:27 2016 +0000 3600 3601 Test if the buildbots care about tools/showbuildenv's exit status. 3602 3603Author: Ralph Corderoy <ralph@inputplus.co.uk> 3604Date: Sat Dec 10 14:19:43 2016 +0000 3605 3606 Document that adios() does not return. abort() ensures it won't. 3607 3608 Discussion with David confirmed that adios()'s de facto contract with 3609 the caller is that it won't return. Document that, and add an abort(3) 3610 to ensure it won't occur. Better that than return and blunder on until 3611 a SEGV or corruption later. 3612 3613Author: Ralph Corderoy <ralph@inputplus.co.uk> 3614Date: Sat Dec 10 14:11:13 2016 +0000 3615 3616 mhlsbr.c: Don't hide mhladios and mhldone behind macros. 3617 3618 Locally defined mhladios() and mhldone() were called as adios() and 3619 done() thanks to #defines that hid the widely-used functions with those 3620 names. Don't bother as it confuses the reader. Just call the local 3621 variations directly to make clear it's not the standard implementation. 3622 3623Author: David Levine <levinedl@acm.org> 3624Date: Fri Dec 9 09:34:59 2016 -0500 3625 3626 Generalized condition for support of parameter value tests. 3627 3628Author: David Levine <levinedl@acm.org> 3629Date: Thu Dec 8 21:04:52 2016 -0500 3630 3631 One last fix to test-charset. 3632 3633Author: David Levine <levinedl@acm.org> 3634Date: Thu Dec 8 20:53:36 2016 -0500 3635 3636 Fixed condition to enable skipping parameter value tests. 3637 3638Author: David Levine <levinedl@acm.org> 3639Date: Thu Dec 8 20:45:57 2016 -0500 3640 3641 And skip the other parameter value test on the FreeBSD10 buildbot. 3642 3643Author: David Levine <levinedl@acm.org> 3644Date: Thu Dec 8 20:18:14 2016 -0500 3645 3646 That didnt work, so skip Encoded parameter value test on that buildbot. 3647 3648Author: David Levine <levinedl@acm.org> 3649Date: Thu Dec 8 20:03:28 2016 -0500 3650 3651 Use locale that the FreeBSD10 buildbot has. 3652 3653 It has EBCDIC-UK but not EBCDIC-US. 3654 3655Author: David Levine <levinedl@acm.org> 3656Date: Thu Dec 8 19:51:25 2016 -0500 3657 3658 Added temporary debug code. 3659 3660Author: David Levine <levinedl@acm.org> 3661Date: Thu Dec 8 19:37:40 2016 -0500 3662 3663 Try to fix Encoded parameter value test on FreeBSD10 buildbot. 3664 3665Author: David Levine <levinedl@acm.org> 3666Date: Thu Dec 8 16:27:40 2016 -0500 3667 3668 Replaced !iscntrl() with isprint(). 3669 3670 To address Ralph's FIXME comment. One example where a byte would 3671 have been printed with !iscntrl() is 0x24 is ISO 646 BASIC (Inv), 3672 which is undefined. Also, added test cases to cover most of 3673 get_param_value(). Also, replaced a couple of other FIXME's with 3674 code comments. 3675 3676Author: David Levine <levinedl@acm.org> 3677Date: Mon Dec 5 11:50:40 2016 -0500 3678 3679 Fixed and restored commit 9a4b4a3d3b27fe4a7ff6d0b8724ce1c06b5917eb. 3680 3681 Using AC_CHECK_MEMBERS instead of AC_CHECK_MEMBER. I don't know why 3682 the former works but the latter doesn't. 3683 3684Author: David Levine <levinedl@acm.org> 3685Date: Sun Dec 4 17:13:09 2016 -0500 3686 3687 Reverted commit 9a4b4a3d3b27fe4a7ff6d0b8724ce1c06b5917eb. 3688 3689 It broke the build on the FreeBSD 10 buildbot, not sure why. 3690 3691Author: David Levine <levinedl@acm.org> 3692Date: Sun Dec 4 17:02:13 2016 -0500 3693 3694 Enabled detection of tm_gmtoff on _GNU_SOURCE platforms, e.g., Linux. 3695 3696 By temporarily adding $AM_CPPFLAGS to CPPFLAGS. 3697 3698Author: David Levine <levinedl@acm.org> 3699Date: Sat Dec 3 12:03:53 2016 -0500 3700 3701 Added filename completion to bash_completion_nmh. 3702 3703Author: David Levine <levinedl@acm.org> 3704Date: Fri Nov 25 09:02:08 2016 -0500 3705 3706 Close temp file. 3707 3708Author: David Levine <levinedl@acm.org> 3709Date: Wed Nov 23 10:05:38 2016 -0500 3710 3711 Added flex 2.6.0 (with Fedora 25) output fixup. 3712 3713Author: David Levine <levinedl@acm.org> 3714Date: Sun Nov 20 14:25:11 2016 -0500 3715 3716 Open infile before fixing each message. 3717 3718 Though the input file won't need to be opened if everything goes 3719 well, do it early just in case there's a failure, and that failure 3720 is running out of file descriptors. 3721 3722Author: Larry Hynes <larry@larryhines.com> 3723Date: Sun Nov 20 10:32:40 2016 -0500 3724 3725 Fix nmh man page so it shows correct name of profile. 3726 3727Author: Ralph Corderoy <ralph@inputplus.co.uk> 3728Date: Mon Nov 14 00:14:31 2016 +0000 3729 3730 mhstoresbr.c: Factor MIME-parameter-can-be-used-for-filename test. 3731 3732 It was several lines repeated each time, and it saves having to check 3733 they're all identical. The original test pressed on if the MIME 3734 parameter's value was an empty string; preserve that as it's spotted 3735 later on. 3736 3737Author: Ralph Corderoy <ralph@inputplus.co.uk> 3738Date: Sun Nov 13 23:05:37 2016 +0000 3739 3740 Split a few more if-then statements into two lines to help gcov. 3741 3742 It's interesting to see how often some of them have the then-branch 3743 taken. 3744 3745Author: David Levine <levinedl@acm.org> 3746Date: Sat Nov 19 10:37:06 2016 -0500 3747 3748 Open outfile before parsing message(s). 3749 3750 So that we don't have to risk opening it after running out of fds. 3751 3752Author: David Levine <levinedl@acm.org> 3753Date: Sat Nov 19 10:28:08 2016 -0500 3754 3755 Added application/ics entries, and "file was generated" comment. 3756 3757 application/ics is odd but does appear in the wild, and sometimes 3758 without a corresponding text/calendar part. 3759 3760Author: David Levine <levinedl@acm.org> 3761Date: Sat Nov 19 10:24:43 2016 -0500 3762 3763 Added mhshow-suffix-text entry. 3764 3765 I don't know why it wasn't there already, it's in the mhshow 3766 man page. 3767 3768Author: David Levine <levinedl@acm.org> 3769Date: Sun Nov 13 19:40:53 2016 -0500 3770 3771 Tweaked to work with Heirloom shell. 3772 3773Author: David Levine <levinedl@acm.org> 3774Date: Sun Nov 13 17:56:44 2016 -0500 3775 3776 Removed bash-ism "function" declaration. 3777 3778Author: David Levine <levinedl@acm.org> 3779Date: Sun Nov 13 14:50:08 2016 -0500 3780 3781 Replaced docs/COMPLETION-BASH with etc/bash_completions_nmh. 3782 3783 It's generated from man/mh-chart.man, which in turn is generated. 3784 Automake doesn't like generated files in docs, hence the move to 3785 etc. And the new filename better fits usage, I think. 3786 3787 Did not provide support for completing message numbers. It can 3788 be fooled by programs that take multiple switches with + 3789 arguments. 3790 3791 COMPLETION-BASH was broken with current bash, anyway. 3792 3793 Also, removed sbr/sigmsg.h from CLEANFILES in Makefile.am. It 3794 was a leftover from commit 5776f9b783afe8e6bdbe430adb5d5b9435d25b19. 3795 3796Author: David Levine <levinedl@acm.org> 3797Date: Sun Nov 13 09:39:01 2016 -0500 3798 3799 Added copyright noticed. 3800 3801Author: David Levine <levinedl@acm.org> 3802Date: Sun Nov 13 09:38:24 2016 -0500 3803 3804 Removed unused declaration of output_message(). 3805 3806Author: Ralph Corderoy <ralph@inputplus.co.uk> 3807Date: Sun Nov 13 01:05:09 2016 +0000 3808 3809 Replace many add(s, NULL) with mh_xstrdup(s). 3810 3811 Where s is known to be non-NULL. 3812 3813Author: Ralph Corderoy <ralph@inputplus.co.uk> 3814Date: Sat Nov 12 18:48:20 2016 +0000 3815 3816 Replace some add(FIELD, NULL) with mh_xstrdup(FIELD). 3817 3818 The various FIELD are macros for string constants so can not be NULL. 3819 3820Author: Ralph Corderoy <ralph@inputplus.co.uk> 3821Date: Sat Nov 12 18:40:46 2016 +0000 3822 3823 m_getfld: Shuffle `delim' assignments slightly. 3824 3825 Document end state of the four pointers to parts of the delimiter. 3826 fdelimlen can be, wrongly, one less without causing problems because a 3827 second check uses edelimlen. The only side effect is an extra iteration 3828 through m_getfld(). 3829 3830Author: Ralph Corderoy <ralph@inputplus.co.uk> 3831Date: Sat Nov 12 15:35:35 2016 +0000 3832 3833 Revert "m_getfld: Shorten fdelimlen by one; it was too long." 3834 3835 This reverts commit 36a12f6a1a5a57799e48b23fd5ae47fe2351be68. 3836 3837 I think it was right after all, but currently trying to get a test to 3838 fail with the faulty change. 3839 3840Author: Ralph Corderoy <ralph@inputplus.co.uk> 3841Date: Sat Nov 12 00:55:17 2016 +0000 3842 3843 Replace copy(s, d) with POSIX-1.2008's stpcpy(d, s). 3844 3845Author: Ralph Corderoy <ralph@inputplus.co.uk> 3846Date: Sat Nov 12 00:39:23 2016 +0000 3847 3848 m_getfld: Replace matchc() with memmem(3). 3849 3850 libc is more likely to find one lump of memory inside another quicker 3851 than a home-grown quadratic emulation of the VAX's MATCHC instruction. 3852 memmem() isn't POSIX, but exists on Linux and FreeBSD. This will see if 3853 the buildbot is happy. 3854 3855Author: Ralph Corderoy <ralph@inputplus.co.uk> 3856Date: Sat Nov 12 00:31:36 2016 +0000 3857 3858 m_getfld: Remove never-true test in matchc(). 3859 3860 Now the fdelimlen doesn't include the NUL it is never true. I didn't 3861 understand how it could ever be true but gcov on the test suite was 3862 showing 22e6 tests had three positives; that's what put me on to 3863 fdelimlen's overshoot. 3864 3865Author: Ralph Corderoy <ralph@inputplus.co.uk> 3866Date: Fri Nov 11 23:23:11 2016 +0000 3867 3868 m_getfld: Shorten fdelimlen by one; it was too long. 3869 3870 The fdelimlen bytes starting at fdelim included a NUL at the end, e.g. 7 3871 for "\nFrom \0". Other code seems not to expect this and has 3872 conditional bits to work around it, perhaps without understanding why. 3873 All the tests still pass, including with valgrind. 3874 3875Author: Ralph Corderoy <ralph@inputplus.co.uk> 3876Date: Fri Nov 11 21:25:39 2016 +0000 3877 3878 configure.ac: Add FIXME regarding _BSD_SOURCE for tm.tm_gmtoff test. 3879 3880Author: Ralph Corderoy <ralph@inputplus.co.uk> 3881Date: Fri Nov 11 00:38:29 2016 +0000 3882 3883 dlocaltime(): Only call tzset(3) once. 3884 3885 This avoids the stat(2) of /etc/localtime per message scan if TZ isn't 3886 set in the environment; that's the default case on this Linux system. 3887 I can't see a way the TZ environment variable is likely to change 3888 between messages, or that it's intended an invocation of scan(1), say, 3889 copes with the timezone shifting underneath it by /etc/localtime being 3890 changed. 3891 3892Author: Ralph Corderoy <ralph@inputplus.co.uk> 3893Date: Thu Nov 10 22:44:59 2016 +0000 3894 3895 uip/scansbr.c: Use fputs(3) instead of mh_fputs(). 3896 3897 I can't see any reason a local one exists. It loops, calling putc(3). 3898 The stdlib has the opportunity to be more efficient. 3899 3900Author: Ralph Corderoy <ralph@inputplus.co.uk> 3901Date: Thu Nov 10 21:39:40 2016 +0000 3902 3903 Add test-forw-coverage to improve uip/forw.c's coverage. 3904 3905Author: Ralph Corderoy <ralph@inputplus.co.uk> 3906Date: Wed Nov 9 04:50:01 2016 +0000 3907 3908 test-mhl-flags: Improve coverage of uip/mhlsbr.c. 3909 3910Author: Ralph Corderoy <ralph@inputplus.co.uk> 3911Date: Wed Nov 9 03:02:02 2016 +0000 3912 3913 test-fmtdump: Increase uip/fmtdump.c coverage. 3914 3915Author: Ralph Corderoy <ralph@inputplus.co.uk> 3916Date: Tue Nov 8 23:55:13 2016 +0000 3917 3918 test-flist: Increase coverage on argv[] processing. 3919 3920Author: Ralph Corderoy <ralph@inputplus.co.uk> 3921Date: Tue Nov 8 23:32:23 2016 +0000 3922 3923 Add test/format/test-ap to get 100% uip/ap.c coverage. 3924 3925Author: Ralph Corderoy <ralph@inputplus.co.uk> 3926Date: Thu Nov 3 10:23:31 2016 +0000 3927 3928 uip/dp.c: Increase coverage to 100%. 3929 3930Author: David Levine <levinedl@acm.org> 3931Date: Tue Nov 8 08:25:50 2016 -0500 3932 3933 Replaced add(s, NULL) with mh_xstrdup(s). 3934 3935Author: David Levine <levinedl@acm.org> 3936Date: Tue Nov 8 08:16:24 2016 -0500 3937 3938 Removed unused global from MIME parser. 3939 3940Author: David Levine <levinedl@acm.org> 3941Date: Mon Nov 7 21:01:31 2016 -0500 3942 3943 Initialize mhparse global for each message. 3944 3945 Globals are evil. It's tricky to test, so no test was added. 3946 Just cleaned up test-mhfixmsg. 3947 3948Author: David Levine <levinedl@acm.org> 3949Date: Mon Nov 7 16:43:01 2016 -0500 3950 3951 Forgot to commit test-mhbuild. And thank Tom Lane for reporting bug. 3952 3953 Update to commit 6c359ae82651d117af71c55ce1e56f3c5db18bfe. 3954 3955Author: David Levine <levinedl@acm.org> 3956Date: Mon Nov 7 16:28:14 2016 -0500 3957 3958 Don't parse parse # lines with mhbuild -nodirectives. 3959 3960Author: David Levine <levinedl@acm.org> 3961Date: Sun Nov 6 17:41:01 2016 -0500 3962 3963 Plugged remaining mhfixmsg(1) memory leaks. 3964 3965Author: David Levine <levinedl@acm.org> 3966Date: Sun Nov 6 17:39:13 2016 -0500 3967 3968 Made static char strings const. 3969 3970Author: David Levine <levinedl@acm.org> 3971Date: Sun Nov 6 16:48:40 2016 -0500 3972 3973 Plug memory leak with parameter continuations. 3974 3975Author: David Levine <levinedl@acm.org> 3976Date: Sun Nov 6 16:46:42 2016 -0500 3977 3978 Free c_ctparams for all content types, not just text. 3979 3980Author: Ralph Corderoy <ralph@inputplus.co.uk> 3981Date: Thu Nov 3 10:41:50 2016 +0000 3982 3983 uip/ap, uip/dp: Remove unneeded char **arguments. 3984 3985Author: Ralph Corderoy <ralph@inputplus.co.uk> 3986Date: Wed Nov 2 23:25:14 2016 +0000 3987 3988 dp: Fix write past end of dates[] array. 3989 3990 Not spotted by valgrind because that doesn't check heap or stack arrays. 3991 3992Author: Ralph Corderoy <ralph@inputplus.co.uk> 3993Date: Thu Nov 3 10:36:30 2016 +0000 3994 3995 ap: Fix write past end of addrs[] array. 3996 3997 Not spotted by valgrind because that doesn't check heap or stack arrays. 3998 3999Author: David Levine <levinedl@acm.org> 4000Date: Sat Nov 5 09:49:59 2016 -0400 4001 4002 Just show relevant portion of invalid encoded string. 4003 4004Author: David Levine <levinedl@acm.org> 4005Date: Sat Nov 5 09:46:17 2016 -0400 4006 4007 Replaced use of freects_done() with free_content() for each message. 4008 4009 Thereby not holding on to open file descriptors until termination. 4010 4011Author: David Levine <levinedl@acm.org> 4012Date: Thu Nov 3 15:50:40 2016 -0400 4013 4014 Pass through message even if from relative folder. 4015 4016Author: David Levine <levinedl@acm.org> 4017Date: Thu Nov 3 08:52:53 2016 -0400 4018 4019 Use result, because (void) didn't prevent warning on FreeBSD 10. 4020 4021Author: Ralph Corderoy <ralph@inputplus.co.uk> 4022Date: Thu Nov 3 11:14:55 2016 +0000 4023 4024 test-rfc6532: Export LC_CTYPE after setting it. 4025 4026 Updates commit 2c4ac164edefd18861595ec7624e5ad344b10198. 4027 4028Author: David Levine <levinedl@acm.org> 4029Date: Wed Nov 2 20:33:52 2016 -0400 4030 4031 Changed type of flags from signed to unsigned long. 4032 4033Author: David Levine <levinedl@acm.org> 4034Date: Wed Nov 2 20:24:32 2016 -0400 4035 4036 Replace non-ASCII characters in headers with ?'s with non-UTF8 locale. 4037 4038Author: David Levine <levinedl@acm.org> 4039Date: Wed Nov 2 20:08:27 2016 -0400 4040 4041 Fixed display of header field values with multibyte characters. 4042 4043Author: David Levine <levinedl@acm.org> 4044Date: Wed Nov 2 11:36:07 2016 -0400 4045 4046 Removed NMH_UNUSED(hostname) because it no longer exists. 4047 4048Author: Ken Hornstein <kenh@pobox.com> 4049Date: Wed Nov 2 10:45:16 2016 -0400 4050 4051 Add some Autoconf support for older OpenSSL libraries that don't support 4052 hostname verification. 4053 4054Author: Ralph Corderoy <ralph@inputplus.co.uk> 4055Date: Wed Nov 2 12:08:04 2016 +0000 4056 4057 State netsec_set_tls()'s noverify is unused if no TLS. 4058 4059 Stops compiler warning. 4060 4061Author: Ken Hornstein <kenh@pobox.com> 4062Date: Tue Nov 1 23:30:34 2016 -0400 4063 4064 Update docs a bit. 4065 4066Author: Ken Hornstein <kenh@pobox.com> 4067Date: Tue Nov 1 23:13:04 2016 -0400 4068 4069 Add support for certificate verification when using TLS. 4070 4071Author: Ken Hornstein <kenh@pobox.com> 4072Date: Sun Oct 30 21:20:36 2016 -0400 4073 4074 Print out more TLS information if -snoop is turned on. 4075 4076Author: Ralph Corderoy <ralph@inputplus.co.uk> 4077Date: Tue Nov 1 17:49:08 2016 +0000 4078 4079 test/folder: Add test-coverage; lots of check_exit. 4080 4081Author: Ralph Corderoy <ralph@inputplus.co.uk> 4082Date: Tue Nov 1 17:03:14 2016 +0000 4083 4084 Split one-line condition+body to get gcov results. 4085 4086Author: Ralph Corderoy <ralph@inputplus.co.uk> 4087Date: Tue Nov 1 12:37:48 2016 +0000 4088 4089 uip/dist.c: Increase coverage. 4090 4091Author: Ralph Corderoy <ralph@inputplus.co.uk> 4092Date: Tue Nov 1 12:23:12 2016 +0000 4093 4094 uip/send: -saslmech lacking argument indexed outside array. 4095 4096 Similar to problem in commit 171ad462ce7582196f91f93f91f99fc60a21189e. 4097 4098Author: Ralph Corderoy <ralph@inputplus.co.uk> 4099Date: Tue Nov 1 11:51:26 2016 +0000 4100 4101 man: Fix spelling mistakes. 4102 4103Author: Ralph Corderoy <ralph@inputplus.co.uk> 4104Date: Tue Nov 1 11:49:43 2016 +0000 4105 4106 Fix spelling mistake in comment. 4107 4108 Only done because the same typo appears in the man pages. 4109 4110Author: Ralph Corderoy <ralph@inputplus.co.uk> 4111Date: Tue Nov 1 11:49:11 2016 +0000 4112 4113 Fix spelling mistakes in UI text. 4114 4115Author: Ralph Corderoy <ralph@inputplus.co.uk> 4116Date: Tue Nov 1 11:11:11 2016 +0000 4117 4118 test: Remove the " # gcov" comment from check_exit calls. 4119 4120 Now the command is passed to check_exit, that is sufficient to indicate 4121 it's for coverage uses only, and a candidate to be fleshed out into a 4122 test that checks the output. 4123 4124Author: Ralph Corderoy <ralph@inputplus.co.uk> 4125Date: Tue Nov 1 00:41:58 2016 +0000 4126 4127 uip/comp.c: Increase coverage. 4128 4129Author: Ralph Corderoy <ralph@inputplus.co.uk> 4130Date: Tue Nov 1 00:17:47 2016 +0000 4131 4132 uip/burst.c: Increase coverage. 4133 4134Author: Ralph Corderoy <ralph@inputplus.co.uk> 4135Date: Tue Nov 1 00:08:02 2016 +0000 4136 4137 uip/anno.c: Increase coverage. 4138 4139Author: Ralph Corderoy <ralph@inputplus.co.uk> 4140Date: Tue Nov 1 00:05:42 2016 +0000 4141 4142 anno: Stop segmentation violation on `-number 0'. 4143 4144 If atoi(3) returned zero, either because `0' was given or the number 4145 could not be parsed, then the error message dereferenced an invalid 4146 pointer. Found when trying to increase coverage with check_exit. 4147 4148Author: Ralph Corderoy <ralph@inputplus.co.uk> 4149Date: Mon Oct 31 23:13:02 2016 +0000 4150 4151 uip/ali.c: Increase coverage. 4152 4153Author: Ralph Corderoy <ralph@inputplus.co.uk> 4154Date: Mon Oct 31 18:36:19 2016 +0000 4155 4156 ali: Fix a memory leak spotted by valgrind. 4157 4158Author: Ralph Corderoy <ralph@inputplus.co.uk> 4159Date: Mon Oct 31 18:18:07 2016 +0000 4160 4161 mhbuild's fgetstr(): simplify source, logic untouched. 4162 4163 The tests aren't getting 100% coverage and the nested assignments make 4164 it harder to see what's happening, and what needs to happen to gain 4165 coverage. Hoist invariants so it's clear they're such to the reader and 4166 not just the compiler. 4167 4168Author: David Levine <levinedl@acm.org> 4169Date: Mon Oct 31 19:01:36 2016 -0400 4170 4171 Remove test files that aren't removed by check(). 4172 4173Author: David Levine <levinedl@acm.org> 4174Date: Mon Oct 31 15:17:55 2016 -0400 4175 4176 Replaced BUFSIZ with NMH_BUFSIZ in a few places. 4177 4178 This allows the test suite to succeed with BUFSIZ of 256. We should 4179 consider using different constants for different purposes. 4180 4181Author: David Levine <levinedl@acm.org> 4182Date: Mon Oct 31 15:03:07 2016 -0400 4183 4184 Don't set CT type if reformat failed. 4185 4186Author: Ralph Corderoy <ralph@inputplus.co.uk> 4187Date: Mon Oct 31 17:56:13 2016 +0000 4188 4189 Uncapitalise a few more mentions of commands in man pages. 4190 4191Author: Ralph Corderoy <ralph@inputplus.co.uk> 4192Date: Mon Oct 31 17:47:22 2016 +0000 4193 4194 mh-mkstemp.man: Detail exit status as 255 rather than -1. 4195 4196 Since that's what the outside kernel and outside world sees. 4197 4198Author: Ralph Corderoy <ralph@inputplus.co.uk> 4199Date: Mon Oct 31 17:44:24 2016 +0000 4200 4201 Use new check_exit in `# gcov' tests. 4202 4203 It showed up fmtdump wasn't being found because $? was 127, not 1. 4204 And mkstemp exits 255 on error, unusually amongst MH commands. 4205 4206Author: Ralph Corderoy <ralph@inputplus.co.uk> 4207Date: Mon Oct 31 17:18:11 2016 +0000 4208 4209 test/common.sh.in: Add test_exit() for $? checking. 4210 4211 The stdout and stderr of the command being tested are saved but ignored, 4212 only regurgitated if the test fails. The test is stated as a fragment 4213 of a test(1) condition, e.g. '-eq 1'. This is mainly intended for the 4214 quick one-liners to increase gcov coverage and thus valgrind's scope. 4215 Over time, better tests that check more of the command's behaviour can 4216 replace these, keeping the coverage level. 4217 4218Author: David Levine <levinedl@acm.org> 4219Date: Mon Oct 31 11:39:11 2016 -0400 4220 4221 Replaced use of ! with || true, for ultimate Bourne shell compatiblity. 4222 4223 Update to commit c3ba36f92bcbf44e071961f3d0bb5e6ddab317d6. 4224 4225Author: Ralph Corderoy <ralph@inputplus.co.uk> 4226Date: Sun Oct 30 21:45:22 2016 +0000 4227 4228 test-nocreate: Don't use run_test and run_prog together. 4229 4230 valgrind tries to run run_prog and can't find the command. 4231 4232Author: Ralph Corderoy <ralph@inputplus.co.uk> 4233Date: Sun Oct 30 21:06:06 2016 +0000 4234 4235 fgets() reserves space for the NUL itself. 4236 4237 No need to knock one off the buffer size when calling it as that 4238 suggests something special is going on. 4239 4240Author: Ralph Corderoy <ralph@inputplus.co.uk> 4241Date: Sun Oct 30 20:51:07 2016 +0000 4242 4243 Gain coverage with `mhparam localmbox'. 4244 4245 Now 100% for uip/mhparam.c 4246 4247Author: Ralph Corderoy <ralph@inputplus.co.uk> 4248Date: Sun Oct 30 20:48:25 2016 +0000 4249 4250 Remove mhparam's p_find()'s ability to take NULL argument. 4251 4252 It can't be passed NULL and couldn't get coverage. 4253 4254Author: Ralph Corderoy <ralph@inputplus.co.uk> 4255Date: Sun Oct 30 20:41:29 2016 +0000 4256 4257 Get coverage of quite a few of the `ambiguous switch' case. 4258 4259 Typically by adding a `foo -', discarding stdout and stderr, and 4260 expecting it to exit non-zero. A `# gcov' comment states its purpose, 4261 and makes it easier to see if they can be deleted in time as other 4262 coverage tests improve. 4263 4264Author: Ralph Corderoy <ralph@inputplus.co.uk> 4265Date: Sun Oct 30 20:18:28 2016 +0000 4266 4267 Split gcov target into multiple sub-targets. 4268 4269 Allows them to be run individually. 4270 4271Author: Ralph Corderoy <ralph@inputplus.co.uk> 4272Date: Sun Oct 30 15:55:30 2016 +0000 4273 4274 Clarify trunccpy()'s src and dest must not overlap. 4275 4276Author: Ralph Corderoy <ralph@inputplus.co.uk> 4277Date: Sun Oct 30 15:25:44 2016 +0000 4278 4279 Replace printf("%s", foo) with fputs(foo, stdout). 4280 4281Author: Ralph Corderoy <ralph@inputplus.co.uk> 4282Date: Sun Oct 30 15:09:55 2016 +0000 4283 4284 Replace strlen(foo) > 0 with *foo. 4285 4286Author: Ralph Corderoy <ralph@inputplus.co.uk> 4287Date: Sun Oct 30 15:07:41 2016 +0000 4288 4289 Add outputs from Makefile.am's gcov target. 4290 4291 *.gcda, *.gcno, and *.gcov. 4292 4293Author: Ralph Corderoy <ralph@inputplus.co.uk> 4294Date: Sun Oct 30 15:04:38 2016 +0000 4295 4296 Remove sbr/peekc.c containing unused peekc(). 4297 4298 gcov showed it wasn't getting any; we've all been there. 4299 It didn't check for EOF, nor that the ungetc(3) succeeded. 4300 4301Author: Ralph Corderoy <ralph@inputplus.co.uk> 4302Date: Sun Oct 30 14:46:01 2016 +0000 4303 4304 Replace fprintf(fp, "%s", foo) with fputs(foo, fp). 4305 4306Author: Ralph Corderoy <ralph@inputplus.co.uk> 4307Date: Sun Oct 30 14:44:07 2016 +0000 4308 4309 Replace printf("%s", foo) with fputs(foo, stdout). 4310 4311Author: Ralph Corderoy <ralph@inputplus.co.uk> 4312Date: Sun Oct 30 14:05:16 2016 +0000 4313 4314 Replace printf("%s\n", foo) with puts(foo). 4315 4316Author: Ralph Corderoy <ralph@inputplus.co.uk> 4317Date: Sun Oct 30 13:45:40 2016 +0000 4318 4319 Add trunccpy(), and the convenience TRUNCCPY(). 4320 4321 truncpy copies at most size - 1 chars from non-NULL src to non-NULL 4322 dst, and ensures dst is NUL terminated. If size is zero then it 4323 aborts as dst cannot be NUL terminated. 4324 4325 It's to be used when truncation is intended and correct, e.g. 4326 reporting a possibly very long external string back to the user. One 4327 of its advantages over strncpy(3) is it doesn't pad in the common 4328 case of no truncation. 4329 4330Author: Ralph Corderoy <ralph@inputplus.co.uk> 4331Date: Sun Oct 30 00:03:34 2016 +0100 4332 4333 Fix test-header-parsing test script. 4334 4335 It was using sh's backticks that chomped the last linefeed! 4336 Add comment referencing the commit that fixed the code this is testing. 4337 Have fewer test cases, sticking to just one or two character headers 4338 with empty or one-character bodies. Avoids slowing the tests too much 4339 and the fixed bug was to do with hashing one-character headers. 4340 4341Author: Ralph Corderoy <ralph@inputplus.co.uk> 4342Date: Sat Oct 29 23:11:52 2016 +0100 4343 4344 Simplify folder_exists() to just testing stat(2)'s return value. 4345 4346Author: Ralph Corderoy <ralph@inputplus.co.uk> 4347Date: Fri Oct 28 23:51:41 2016 +0100 4348 4349 Replace printf("...\n") with puts("..."). 4350 4351Author: Ralph Corderoy <ralph@inputplus.co.uk> 4352Date: Fri Oct 28 23:10:55 2016 +0100 4353 4354 Replace v?fprintf(stdout, ...) with v?printf(...). 4355 4356Author: David Levine <levinedl@acm.org> 4357Date: Sat Oct 29 22:24:25 2016 -0400 4358 4359 Added (y|n) domain to a couple of build_nmh config prompts. 4360 4361Author: David Levine <levinedl@acm.org> 4362Date: Sat Oct 29 22:12:37 2016 -0400 4363 4364 Set first character of name[] buffer in BODY state. 4365 4366 Fix to 47313b9bc395470311e383b57eb184c830662c4a to prevent 4367 uninitialized read, revealed by test/burst/test-burst-mime 4368 with NMH_VALGRIND=1. 4369 4370Author: David Levine <levinedl@acm.org> 4371Date: Wed Oct 26 19:08:53 2016 -0400 4372 4373 Removed configure options now that it determines them automatically. 4374 4375Author: David Levine <levinedl@acm.org> 4376Date: Wed Oct 26 11:38:45 2016 -0400 4377 4378 Moved build_nmh to top level directory. 4379 4380Author: David Levine <levinedl@acm.org> 4381Date: Wed Oct 26 11:31:49 2016 -0400 4382 4383 Reworked output handling. 4384 4385Author: David Levine <levinedl@acm.org> 4386Date: Tue Oct 25 12:10:51 2016 -0400 4387 4388 Reworked default SASL support to enable if header and lib are found. 4389 4390Author: David Levine <levinedl@acm.org> 4391Date: Tue Oct 25 11:35:20 2016 -0400 4392 4393 Added -r to gcov invocation. 4394 4395Author: David Levine <levinedl@acm.org> 4396Date: Tue Oct 25 11:10:01 2016 -0400 4397 4398 Add -O0 instead of -O2 to CFLAGS with build_nmh -d option. 4399 4400Author: David Levine <levinedl@acm.org> 4401Date: Tue Oct 25 11:05:54 2016 -0400 4402 4403 Don't add -D_FORTIFY_SOURCE to AM_CPPFLAGS with -O0. 4404 4405Merge: 7b27ac3 9cca3d0 4406Author: Ralph Corderoy <ralph@inputplus.co.uk> 4407Date: Tue Oct 25 00:23:49 2016 +0100 4408 4409 Merge branch 'master' of git.sv.gnu.org:/srv/git/nmh 4410 4411Author: Ralph Corderoy <ralph@inputplus.co.uk> 4412Date: Tue Oct 25 00:04:12 2016 +0100 4413 4414 Replace fputc() with putchar(). 4415 4416Author: David Levine <levinedl@acm.org> 4417Date: Mon Oct 24 19:01:14 2016 -0400 4418 4419 Changed build_nmh sasl and tls defaults to be configure's. 4420 4421Merge: e00c601 1e7b41c 4422Author: Ralph Corderoy <ralph@inputplus.co.uk> 4423Date: Mon Oct 24 23:49:11 2016 +0100 4424 4425 Merge branch 'master' of git.sv.gnu.org:/srv/git/nmh 4426 4427Author: Ralph Corderoy <ralph@inputplus.co.uk> 4428Date: Mon Oct 24 23:37:50 2016 +0100 4429 4430 Replace putc() with putchar(). 4431 4432Author: Ralph Corderoy <ralph@inputplus.co.uk> 4433Date: Mon Oct 24 23:37:34 2016 +0100 4434 4435 Replace putc() with putchar(). 4436 4437Author: Ralph Corderoy <ralph@inputplus.co.uk> 4438Date: Mon Oct 24 23:36:52 2016 +0100 4439 4440 Replace putc() with putchar(). 4441 4442 Others already existed. Not being a macro probably won't hurt. 4443 4444Author: David Levine <levinedl@acm.org> 4445Date: Mon Oct 24 18:31:27 2016 -0400 4446 4447 Removed unnecessary definition of tls_support. 4448 4449Author: Ralph Corderoy <ralph@inputplus.co.uk> 4450Date: Mon Oct 24 23:22:06 2016 +0100 4451 4452 Replace puts() with putchar(). 4453 4454Author: Ralph Corderoy <ralph@inputplus.co.uk> 4455Date: Mon Oct 24 23:21:57 2016 +0100 4456 4457 Replace puts() with putchar(). 4458 4459Author: David Levine <levinedl@acm.org> 4460Date: Mon Oct 24 18:07:48 2016 -0400 4461 4462 Reworked default TLS support to enable if header and libs are found. 4463 4464 Also, fixed AC_CHECK_LIB for libssl. The crypto lib 4465 needs to be the fifth, not fourth, argument. 4466 4467Author: David Levine <levinedl@acm.org> 4468Date: Mon Oct 24 14:33:23 2016 -0400 4469 4470 Removed OAUTH support detection from because configure does it. 4471 4472Author: Ralph Corderoy <ralph@inputplus.co.uk> 4473Date: Mon Oct 24 19:11:07 2016 +0100 4474 4475 sbr/netsec.c: Add NMH_UNUSED(nsc) twice for if !TLS_SUPPORT. 4476 4477Author: Ralph Corderoy <ralph@inputplus.co.uk> 4478Date: Mon Oct 24 18:59:30 2016 +0100 4479 4480 netsec_set_tls(): Return a value in the !TLS_SUPPORT && !tls case. 4481 4482 Silences clang. 4483 4484Author: David Levine <levinedl@acm.org> 4485Date: Mon Oct 24 12:58:04 2016 -0400 4486 4487 More enhancements to build_nmh. 4488 4489 1) Display failure messages that were hidden. 4490 2) Display location of log file at end, if not in current directory, 4491 the build failed, or verbose was enabled. 4492 3) Replaced use of showbuildenv with less invasive platform info. 4493 4) Don't colorize tests summary if TERM is unset or dumb. 4494 4495Author: Ralph Corderoy <ralph@inputplus.co.uk> 4496Date: Mon Oct 24 16:34:17 2016 +0100 4497 4498 nmh.h: Add getline() prototype, conditional on HAVE_GETLINE. 4499 4500Author: Ralph Corderoy <ralph@inputplus.co.uk> 4501Date: Mon Oct 24 12:12:29 2016 +0100 4502 4503 Fix flex 2.6.1's output regarding signed/unsigned comparisons. 4504 4505 Add comment referencing flex bug. 4506 Note this workaround breaks $(LFLAGS). 4507 4508Author: Ralph Corderoy <ralph@inputplus.co.uk> 4509Date: Mon Oct 24 12:12:09 2016 +0100 4510 4511 mhical.c: display(): Replace memcpy() with struct assignment. 4512 4513Author: Ralph Corderoy <ralph@inputplus.co.uk> 4514Date: Mon Oct 24 00:18:18 2016 +0100 4515 4516 fix_filename_param(): Remove redundant strlen(). 4517 4518Author: Ralph Corderoy <ralph@inputplus.co.uk> 4519Date: Mon Oct 24 00:15:33 2016 +0100 4520 4521 fix_filename_param(): Replace strncmp() with HasSuffix(). 4522 4523Author: Ralph Corderoy <ralph@inputplus.co.uk> 4524Date: Mon Oct 24 00:11:42 2016 +0100 4525 4526 sbr/utils.c: Add HasSuffix(s, suffix). 4527 4528 HasSuffix returns true if non-NULL s ends with non-NULL suffix. 4529 4530Author: Ralph Corderoy <ralph@inputplus.co.uk> 4531Date: Mon Oct 24 00:03:48 2016 +0100 4532 4533 Use LEN() to save having to consider the -1. 4534 4535Author: Ralph Corderoy <ralph@inputplus.co.uk> 4536Date: Mon Oct 24 00:03:12 2016 +0100 4537 4538 Use LEN() to save having to consider the -1. 4539 4540Author: Ralph Corderoy <ralph@inputplus.co.uk> 4541Date: Mon Oct 24 00:02:33 2016 +0100 4542 4543 Use LEN() to save having to consider the -1. 4544 4545Author: Ralph Corderoy <ralph@inputplus.co.uk> 4546Date: Mon Oct 24 00:01:54 2016 +0100 4547 4548 Remove unused NCWD and NPWD #defines. 4549 4550Author: Ralph Corderoy <ralph@inputplus.co.uk> 4551Date: Sun Oct 23 23:45:34 2016 +0100 4552 4553 Use HasPrefix() instead of strncmp(). 4554 4555Author: Ralph Corderoy <ralph@inputplus.co.uk> 4556Date: Sun Oct 23 23:44:58 2016 +0100 4557 4558 Use HasPrefix() instead of strncmp(). 4559 4560Author: Ralph Corderoy <ralph@inputplus.co.uk> 4561Date: Sun Oct 23 23:44:38 2016 +0100 4562 4563 Use HasPrefix() instead of strncmp(). 4564 4565Author: Ralph Corderoy <ralph@inputplus.co.uk> 4566Date: Sun Oct 23 23:43:41 2016 +0100 4567 4568 Use HasPrefix() instead of strncmp(). 4569 4570Author: Ralph Corderoy <ralph@inputplus.co.uk> 4571Date: Sun Oct 23 23:43:19 2016 +0100 4572 4573 Use HasPrefix() instead of strncmp(). 4574 4575Author: Ralph Corderoy <ralph@inputplus.co.uk> 4576Date: Sun Oct 23 23:20:58 2016 +0100 4577 4578 Use HasPrefix() instead of strncmp(). 4579 4580Author: Ralph Corderoy <ralph@inputplus.co.uk> 4581Date: Sun Oct 23 23:20:45 2016 +0100 4582 4583 Use HasPrefix() instead of strncmp(). 4584 4585Author: Ralph Corderoy <ralph@inputplus.co.uk> 4586Date: Sun Oct 23 23:20:31 2016 +0100 4587 4588 Use HasPrefix() instead of strncmp(). 4589 4590Author: Ralph Corderoy <ralph@inputplus.co.uk> 4591Date: Sun Oct 23 23:02:49 2016 +0100 4592 4593 Use HasPrefix() instead of strncmp(). 4594 4595Author: Ralph Corderoy <ralph@inputplus.co.uk> 4596Date: Sun Oct 23 23:02:01 2016 +0100 4597 4598 Use HasPrefix() instead of strncmp(). 4599 4600Author: Ralph Corderoy <ralph@inputplus.co.uk> 4601Date: Sun Oct 23 22:59:57 2016 +0100 4602 4603 nmh_command_generator(): Fix indentation. 4604 4605Author: Ralph Corderoy <ralph@inputplus.co.uk> 4606Date: Sun Oct 23 22:51:24 2016 +0100 4607 4608 Use HasPrefix() instead of strncmp(). 4609 4610Author: Ralph Corderoy <ralph@inputplus.co.uk> 4611Date: Sun Oct 23 22:49:25 2016 +0100 4612 4613 Use HasPrefix() instead of strncmp(). 4614 4615Author: Ralph Corderoy <ralph@inputplus.co.uk> 4616Date: Sun Oct 23 22:48:49 2016 +0100 4617 4618 Use HasPrefix() instead of strncmp(). 4619 4620Author: Ralph Corderoy <ralph@inputplus.co.uk> 4621Date: Sun Oct 23 22:47:08 2016 +0100 4622 4623 Use HasPrefix() instead of strncmp(). 4624 4625Author: Ralph Corderoy <ralph@inputplus.co.uk> 4626Date: Sun Oct 23 22:36:26 2016 +0100 4627 4628 Use HasPrefix() instead of strncmp(). 4629 4630Author: Ralph Corderoy <ralph@inputplus.co.uk> 4631Date: Sun Oct 23 18:56:58 2016 +0100 4632 4633 Use HasPrefix() instead of strncmp(). 4634 4635Author: Ralph Corderoy <ralph@inputplus.co.uk> 4636Date: Sun Oct 23 18:56:33 2016 +0100 4637 4638 Use HasPrefix() instead of strncmp(). 4639 4640Author: Ralph Corderoy <ralph@inputplus.co.uk> 4641Date: Sun Oct 23 12:08:31 2016 +0100 4642 4643 Alter HasSuffixC()'s char * to be const. 4644 4645Author: Ralph Corderoy <ralph@inputplus.co.uk> 4646Date: Sun Oct 23 12:02:55 2016 +0100 4647 4648 utils.c: Add HasPrefix(s, prefix). 4649 4650 HasPrefix returns true if non-NULL s starts with non-NULL prefix. 4651 4652Author: Ralph Corderoy <ralph@inputplus.co.uk> 4653Date: Sun Oct 23 01:18:49 2016 +0100 4654 4655 Rename EndsWithC() to HasSuffixC(). 4656 4657Author: Ralph Corderoy <ralph@inputplus.co.uk> 4658Date: Sun Oct 23 01:13:57 2016 +0100 4659 4660 mh-folders.man: Remove empty `.I' immediately followed by `.IR'. 4661 4662Author: Ralph Corderoy <ralph@inputplus.co.uk> 4663Date: Mon Oct 24 09:59:44 2016 +0100 4664 4665 build_nmh: If cloning with git, make a shallow clone. 4666 4667Author: Ralph Corderoy <ralph@inputplus.co.uk> 4668Date: Mon Oct 24 09:46:52 2016 +0100 4669 4670 showbuildenv: Drop lsb_release(1); /etc/lsb_release tested earlier. 4671 4672Author: Ralph Corderoy <ralph@inputplus.co.uk> 4673Date: Mon Oct 24 09:33:56 2016 +0100 4674 4675 build_nmh: Use `gzip -d' rather than assume tar has -z. 4676 4677Author: Ralph Corderoy <ralph@inputplus.co.uk> 4678Date: Mon Oct 24 09:31:00 2016 +0100 4679 4680 build_nmh: Have a silent curl still show errors. 4681 4682 Arguably, -sS should be curl's defaults! 4683 4684Author: David Levine <levinedl@acm.org> 4685Date: Sun Oct 23 17:16:31 2016 -0400 4686 4687 Fixed output of commit hash by git log command. 4688 4689Author: David Levine <levinedl@acm.org> 4690Date: Sun Oct 23 17:12:04 2016 -0400 4691 4692 Check for existence of tools/showbuildenv. 4693 4694Author: David Levine <levinedl@acm.org> 4695Date: Sun Oct 23 16:25:00 2016 -0400 4696 4697 Redirect verbose build_nmh messages so they're visible while running. 4698 4699Author: David Levine <levinedl@acm.org> 4700Date: Sun Oct 23 16:03:11 2016 -0400 4701 4702 Enhanced build_nmh to support standalone use. 4703 4704 1) If not in nmh directory, download the nmh sources from savannah 4705 using git clone, wget, or curl. 4706 2) Added -b branch option, for use when downloading. 4707 3) Support -l -. 4708 4) Capture build environment with tools/showbuildenv. 4709 4710Author: Ralph Corderoy <ralph@inputplus.co.uk> 4711Date: Sun Oct 23 01:10:58 2016 +0100 4712 4713 man: Use lowercase for command name at start of sentence. 4714 4715 `Inc' is a different command to `inc'. 4716 4717Author: Ralph Corderoy <ralph@inputplus.co.uk> 4718Date: Sun Oct 23 00:08:17 2016 +0100 4719 4720 uprf(): Rewrite, using types rather than masking ints. 4721 4722Author: Ralph Corderoy <ralph@inputplus.co.uk> 4723Date: Sat Oct 22 23:37:19 2016 +0100 4724 4725 Add comment describing uprf(). 4726 4727Author: Ralph Corderoy <ralph@inputplus.co.uk> 4728Date: Sat Oct 22 19:56:52 2016 +0100 4729 4730 Use ToLower() instead of loop. 4731 4732Author: Ralph Corderoy <ralph@inputplus.co.uk> 4733Date: Sat Oct 22 19:53:01 2016 +0100 4734 4735 Use ToUpper() instead of loop. 4736 4737Author: Ralph Corderoy <ralph@inputplus.co.uk> 4738Date: Sat Oct 22 19:52:42 2016 +0100 4739 4740 Use ToUpper() instead of loop. 4741 4742Author: Ralph Corderoy <ralph@inputplus.co.uk> 4743Date: Sat Oct 22 19:43:12 2016 +0100 4744 4745 Add ToLower(s) and ToUpper(s). 4746 4747Author: Ralph Corderoy <ralph@inputplus.co.uk> 4748Date: Sat Oct 22 19:33:24 2016 +0100 4749 4750 putcomp(): Use local to avoid repeating tautological ternary. 4751 4752Author: Ralph Corderoy <ralph@inputplus.co.uk> 4753Date: Sat Oct 22 19:18:15 2016 +0100 4754 4755 Alter netrc permissions error message to match code. Add test. 4756 4757 The code wants `go=', but the error message, and FAQ, said to clear read 4758 permission from group and other. Add test to inc/test-pop as that is 4759 the existing netrc test location, but it might be better in its own test 4760 file as other tests for netrc parsing could be added. 4761 4762Author: Ralph Corderoy <ralph@inputplus.co.uk> 4763Date: Sat Oct 22 18:09:02 2016 +0100 4764 4765 Fix netrc's token()'s bug if backslash escapes EOF. 4766 4767 Discard the whole token so the user hopefully investigates. 4768 4769Author: Ralph Corderoy <ralph@inputplus.co.uk> 4770Date: Sat Oct 22 18:01:16 2016 +0100 4771 4772 Fix netrc's token() bug of first character being backslash. 4773 4774Author: Ralph Corderoy <ralph@inputplus.co.uk> 4775Date: Sat Oct 22 17:47:06 2016 +0100 4776 4777 Merge .netrc's token() file-reading loops; quoted and not. 4778 4779 Check for ferror(3) as well as feof(3) on entry. 4780 Comment on lack of definition of quoted-string syntax, e.g. «"foo""bar"» 4781 is two tokens without needing a separator. 4782 Add comments on bugs for first non-quote character of a token being 4783 backslash, and if a backslash escapes EOF. 4784 4785Author: Ralph Corderoy <ralph@inputplus.co.uk> 4786Date: Sat Oct 22 16:17:42 2016 +0100 4787 4788 Have ruserpass() return TOK_EOF and put "" in the token table. 4789 4790 Gives 0 a name and removes a little logic. 4791 4792Author: Ralph Corderoy <ralph@inputplus.co.uk> 4793Date: Sat Oct 22 16:04:58 2016 +0100 4794 4795 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 4796 4797Author: Ralph Corderoy <ralph@inputplus.co.uk> 4798Date: Sat Oct 22 15:53:51 2016 +0100 4799 4800 Check advertise()'s iob[] isn't too short with assert(3). 4801 4802 Using DIM(a) added to h/mh.h 4803 4804Author: Ralph Corderoy <ralph@inputplus.co.uk> 4805Date: Sat Oct 22 15:36:40 2016 +0100 4806 4807 Use macros in advertise() to simplify source. 4808 4809 Happens to remove strlen() of literals at the same time. 4810 4811Author: Ralph Corderoy <ralph@inputplus.co.uk> 4812Date: Sat Oct 22 14:43:11 2016 +0100 4813 4814 Document advise(), adios(), admonish(), and advertise(). 4815 4816 It doesn't make their design any better. Their "ad" prefix goes against 4817 common advice of having distinguishable identifiers to avoid mix-ups, 4818 and seems to be a theme that got out of hand. The out-of-order 4819 parameters to advertise seem due to lack of strerror(3) that's no longer 4820 a problem. 4821 4822 Before: 4823 advertise("open", "continuing...", "couldn't read profile: %s", 4824 path); 4825 Could be: 4826 error("couldn't read profile: %s: open: %s, continuing...\n", 4827 path, strerror(errno)); 4828 And the "open" is typically dropped as superfluous so there's a 4829 repetitive leading NULL passed a lot. 4830 4831Author: Ralph Corderoy <ralph@inputplus.co.uk> 4832Date: Sat Oct 22 13:58:43 2016 +0100 4833 4834 POSIX, 2016 Ed, removes bcopy(3). Stop referring to it. 4835 4836 Even though it's in a comment, it shows up in searches. 4837 4838Author: Ralph Corderoy <ralph@inputplus.co.uk> 4839Date: Sat Oct 22 13:45:35 2016 +0100 4840 4841 Don't need to cast to `char *' for free(3) these days. 4842 4843Author: Ralph Corderoy <ralph@inputplus.co.uk> 4844Date: Sat Oct 22 13:45:24 2016 +0100 4845 4846 Don't need to cast to `char *' for free(3) these days. 4847 4848Author: Ralph Corderoy <ralph@inputplus.co.uk> 4849Date: Sat Oct 22 13:45:22 2016 +0100 4850 4851 Don't need to cast to `char *' for free(3) these days. 4852 4853Author: Ralph Corderoy <ralph@inputplus.co.uk> 4854Date: Sat Oct 22 13:45:19 2016 +0100 4855 4856 Don't need to cast to `char *' for free(3) these days. 4857 4858Author: Ralph Corderoy <ralph@inputplus.co.uk> 4859Date: Sat Oct 22 13:45:16 2016 +0100 4860 4861 Don't need to cast to `char *' for free(3) these days. 4862 4863Author: Ralph Corderoy <ralph@inputplus.co.uk> 4864Date: Sat Oct 22 13:45:11 2016 +0100 4865 4866 Don't need to cast to `char *' for free(3) these days. 4867 4868Author: Ralph Corderoy <ralph@inputplus.co.uk> 4869Date: Sat Oct 22 13:44:47 2016 +0100 4870 4871 Don't need to cast to `char *' for free(3) these days. 4872 4873 But still need a cast to discard the const. 4874 Use `void *' as it saves needing to check the original type. 4875 4876Author: Ralph Corderoy <ralph@inputplus.co.uk> 4877Date: Sat Oct 22 13:42:52 2016 +0100 4878 4879 Don't need to cast to `char *' for free(3) these days. 4880 4881Author: Ralph Corderoy <ralph@inputplus.co.uk> 4882Date: Sat Oct 22 13:42:47 2016 +0100 4883 4884 Don't need to cast to `char *' for free(3) these days. 4885 4886Author: Ralph Corderoy <ralph@inputplus.co.uk> 4887Date: Sat Oct 22 13:42:45 2016 +0100 4888 4889 Don't need to cast to `char *' for free(3) these days. 4890 4891Author: Ralph Corderoy <ralph@inputplus.co.uk> 4892Date: Sat Oct 22 13:42:43 2016 +0100 4893 4894 Don't need to cast to `char *' for free(3) these days. 4895 4896Author: Ralph Corderoy <ralph@inputplus.co.uk> 4897Date: Sat Oct 22 13:42:39 2016 +0100 4898 4899 Don't need to cast to `char *' for free(3) these days. 4900 4901Author: Ralph Corderoy <ralph@inputplus.co.uk> 4902Date: Sat Oct 22 00:45:09 2016 +0100 4903 4904 Move smtp_init's last-ditch attempt for client inside first test. 4905 4906 Didn't realise there was a second lot of similar code before the last 4907 commit. 4908 4909Author: Ralph Corderoy <ralph@inputplus.co.uk> 4910Date: Sat Oct 22 00:41:44 2016 +0100 4911 4912 Move smtp_init's last-ditch attempt for client inside first test. 4913 4914 No point checking it twice in a row if it was false the first time. 4915 4916Author: Ralph Corderoy <ralph@inputplus.co.uk> 4917Date: Sat Oct 22 00:40:30 2016 +0100 4918 4919 Don't `else' after return. Simplify control flow. 4920 4921Author: Ralph Corderoy <ralph@inputplus.co.uk> 4922Date: Sat Oct 22 00:27:58 2016 +0100 4923 4924 Replace `if (p) free(p)' with `mh_xfree(p)'. 4925 4926Author: Ralph Corderoy <ralph@inputplus.co.uk> 4927Date: Sat Oct 22 00:27:54 2016 +0100 4928 4929 Replace `if (p) free(p)' with `mh_xfree(p)'. 4930 4931Author: Ralph Corderoy <ralph@inputplus.co.uk> 4932Date: Sat Oct 22 00:27:51 2016 +0100 4933 4934 Replace `if (p) free(p)' with `mh_xfree(p)'. 4935 4936Author: Ralph Corderoy <ralph@inputplus.co.uk> 4937Date: Sat Oct 22 00:27:48 2016 +0100 4938 4939 Replace `if (p) free(p)' with `mh_xfree(p)'. 4940 4941Author: Ralph Corderoy <ralph@inputplus.co.uk> 4942Date: Sat Oct 22 00:27:42 2016 +0100 4943 4944 Replace `if (p) free(p)' with `mh_xfree(p)'. 4945 4946Author: Ralph Corderoy <ralph@inputplus.co.uk> 4947Date: Sat Oct 22 00:27:29 2016 +0100 4948 4949 Replace `if (p) free(p)' with `mh_xfree(p)'. 4950 4951Author: Ralph Corderoy <ralph@inputplus.co.uk> 4952Date: Sat Oct 22 00:27:22 2016 +0100 4953 4954 Replace `if (p) free(p)' with `mh_xfree(p)'. 4955 4956Author: Ralph Corderoy <ralph@inputplus.co.uk> 4957Date: Sat Oct 22 00:27:16 2016 +0100 4958 4959 Replace `if (p) free(p)' with `mh_xfree(p)'. 4960 4961Author: Ralph Corderoy <ralph@inputplus.co.uk> 4962Date: Sat Oct 22 00:26:57 2016 +0100 4963 4964 Replace `if (p) free(p)' with `mh_xfree(p)'. 4965 4966Author: Ralph Corderoy <ralph@inputplus.co.uk> 4967Date: Sat Oct 22 00:26:54 2016 +0100 4968 4969 Replace `if (p) free(p)' with `mh_xfree(p)'. 4970 4971Author: Ralph Corderoy <ralph@inputplus.co.uk> 4972Date: Sat Oct 22 00:26:35 2016 +0100 4973 4974 Replace `if (p) free(p)' with `mh_xfree(p)'. 4975 4976Author: Ralph Corderoy <ralph@inputplus.co.uk> 4977Date: Sat Oct 22 00:26:02 2016 +0100 4978 4979 Replace `if (p) free(p)' with `mh_xfree(p)'. 4980 4981Author: Ralph Corderoy <ralph@inputplus.co.uk> 4982Date: Sat Oct 22 00:25:53 2016 +0100 4983 4984 Replace `if (p) free(p)' with `mh_xfree(p)'. 4985 4986Author: Ralph Corderoy <ralph@inputplus.co.uk> 4987Date: Sat Oct 22 00:21:16 2016 +0100 4988 4989 Replace `if (p) free(p)' with `mh_xfree(p)'. 4990 4991Author: Ralph Corderoy <ralph@inputplus.co.uk> 4992Date: Sat Oct 22 00:20:55 2016 +0100 4993 4994 Replace `if (p) free(p)' with `mh_xfree(p)'. 4995 4996Author: Ralph Corderoy <ralph@inputplus.co.uk> 4997Date: Sat Oct 22 00:20:49 2016 +0100 4998 4999 Replace `if (p) free(p)' with `mh_xfree(p)'. 5000 5001Author: Ralph Corderoy <ralph@inputplus.co.uk> 5002Date: Sat Oct 22 00:20:46 2016 +0100 5003 5004 Replace `if (p) free(p)' with `mh_xfree(p)'. 5005 5006Author: Ralph Corderoy <ralph@inputplus.co.uk> 5007Date: Sat Oct 22 00:18:54 2016 +0100 5008 5009 Replace `if (p) free(p)' with `mh_xfree(p)'. 5010 5011Author: Ralph Corderoy <ralph@inputplus.co.uk> 5012Date: Sat Oct 22 00:18:50 2016 +0100 5013 5014 Replace `if (p) free(p)' with `mh_xfree(p)'. 5015 5016Author: Ralph Corderoy <ralph@inputplus.co.uk> 5017Date: Sat Oct 22 00:18:43 2016 +0100 5018 5019 Replace `if (p) free(p)' with `mh_xfree(p)'. 5020 5021Author: Ralph Corderoy <ralph@inputplus.co.uk> 5022Date: Sat Oct 22 00:18:39 2016 +0100 5023 5024 Replace `if (p) free(p)' with `mh_xfree(p)'. 5025 5026Author: Ralph Corderoy <ralph@inputplus.co.uk> 5027Date: Sat Oct 22 00:18:32 2016 +0100 5028 5029 Replace `if (p) free(p)' with `mh_xfree(p)'. 5030 5031Author: Ralph Corderoy <ralph@inputplus.co.uk> 5032Date: Sat Oct 22 00:18:26 2016 +0100 5033 5034 Replace `if (p) free(p)' with `mh_xfree(p)'. 5035 5036Author: Ralph Corderoy <ralph@inputplus.co.uk> 5037Date: Sat Oct 22 00:09:10 2016 +0100 5038 5039 Don't test boundary in output_content() for NULL; it never is. 5040 5041Author: Ralph Corderoy <ralph@inputplus.co.uk> 5042Date: Fri Oct 21 23:21:30 2016 +0100 5043 5044 Replace `if (p) free(p)' with `mh_xfree(p)'. 5045 5046Author: Ralph Corderoy <ralph@inputplus.co.uk> 5047Date: Fri Oct 21 23:20:41 2016 +0100 5048 5049 Replace `if (p) free(p)' with `mh_xfree(p)'. 5050 5051Author: Ralph Corderoy <ralph@inputplus.co.uk> 5052Date: Fri Oct 21 23:20:06 2016 +0100 5053 5054 Replace `if (p) free(p)' with `mh_xfree(p)'. 5055 5056Author: Ralph Corderoy <ralph@inputplus.co.uk> 5057Date: Fri Oct 21 23:17:48 2016 +0100 5058 5059 Replace `if (p) free(p)' with `mh_xfree(p)'. 5060 5061Author: Ralph Corderoy <ralph@inputplus.co.uk> 5062Date: Fri Oct 21 23:16:11 2016 +0100 5063 5064 Replace `if (p) free(p)' with `mh_xfree(p)'. 5065 5066Author: Ralph Corderoy <ralph@inputplus.co.uk> 5067Date: Fri Oct 21 23:15:53 2016 +0100 5068 5069 Replace `if (p) free(p)' with `mh_xfree(p)'. 5070 5071Author: Ralph Corderoy <ralph@inputplus.co.uk> 5072Date: Fri Oct 21 23:15:47 2016 +0100 5073 5074 Replace `if (p) free(p)' with `mh_xfree(p)'. 5075 5076Author: Ralph Corderoy <ralph@inputplus.co.uk> 5077Date: Fri Oct 21 23:15:32 2016 +0100 5078 5079 Replace `if (p) free(p)' with `mh_xfree(p)'. 5080 5081Author: Ralph Corderoy <ralph@inputplus.co.uk> 5082Date: Fri Oct 21 22:01:54 2016 +0100 5083 5084 Replace `if (p) free(p)' with `mh_xfree(p)'. 5085 5086Author: Ralph Corderoy <ralph@inputplus.co.uk> 5087Date: Fri Oct 21 21:18:38 2016 +0100 5088 5089 Add FIXME raising if iscntrl(3) test should be based on isprint(3) 5090 5091 !iscntrl blocks characters that could be isspace or isblank whereas 5092 isprint would let them through unharmed. 5093 5094Author: Ralph Corderoy <ralph@inputplus.co.uk> 5095Date: Fri Oct 21 21:18:16 2016 +0100 5096 5097 Assume POSIX ctype.h; don't vet toupper()'s parameter. 5098 5099Author: Ralph Corderoy <ralph@inputplus.co.uk> 5100Date: Fri Oct 21 21:14:24 2016 +0100 5101 5102 Explain isascii() test more in netsec_set_sasl_params(). 5103 5104 It stops non-ASCII lower in the SASL mechanism being uppered, just in 5105 case there is some. 5106 5107Author: Ralph Corderoy <ralph@inputplus.co.uk> 5108Date: Fri Oct 21 21:10:42 2016 +0100 5109 5110 Assume POSIX ctype.h; don't vet toupper()'s parameter. 5111 5112Author: Ralph Corderoy <ralph@inputplus.co.uk> 5113Date: Fri Oct 21 20:39:11 2016 +0100 5114 5115 Assume POSIX ctype.h; don't vet tolower()'s parameter. 5116 5117Author: Ralph Corderoy <ralph@inputplus.co.uk> 5118Date: Fri Oct 21 20:37:32 2016 +0100 5119 5120 Assume POSIX ctype.h; don't vet tolower()'s parameter. 5121 5122Author: Ralph Corderoy <ralph@inputplus.co.uk> 5123Date: Fri Oct 21 20:23:55 2016 +0100 5124 5125 Oops, stop showbuildenv reading from stdin when run from a TTY. 5126 5127 David spotted the problem I introduced with 8374c3c. Alter offset to 5128 process any arguments, falling back to stdin if none. 5129 5130Author: Ralph Corderoy <ralph@inputplus.co.uk> 5131Date: Fri Oct 21 14:42:35 2016 +0100 5132 5133 Assume POSIX ctype.h; don't vet tolower()'s parameter. 5134 5135Author: Ralph Corderoy <ralph@inputplus.co.uk> 5136Date: Fri Oct 21 14:41:17 2016 +0100 5137 5138 Assume POSIX ctype.h; don't vet tolower()'s parameter. 5139 5140Author: Ralph Corderoy <ralph@inputplus.co.uk> 5141Date: Fri Oct 21 14:35:47 2016 +0100 5142 5143 Assume POSIX ctype.h; don't vet tolower()'s parameter. 5144 5145Author: David Levine <levinedl@acm.org> 5146Date: Fri Oct 21 13:26:43 2016 -0400 5147 5148 Fixed MIME parser so it can read binary content. 5149 5150 Second of two-part fix. Replaced use of strlen(). 5151 5152Author: David Levine <levinedl@acm.org> 5153Date: Fri Oct 21 13:22:22 2016 -0400 5154 5155 Have m_getfld() pass back indication of missing blank line. 5156 5157 This is part one of a two part fix to the MIME parser to 5158 read binary content. It should have no effect. 5159 5160 Also added start/finish test calls to test-header. 5161 5162Author: Ralph Corderoy <ralph@inputplus.co.uk> 5163Date: Fri Oct 21 09:53:45 2016 +0100 5164 5165 Fix warnings caused by recent edits; don't mix declarations and code. 5166 Quite right too, I prefer all the declarations, codeless, up front. The 5167 standard -Wall didn't pick this up. David pointed it out, probably due 5168 to his defaults of `-pedantic -ansi'. 5169 5170Author: Ralph Corderoy <ralph@inputplus.co.uk> 5171Date: Fri Oct 21 00:06:11 2016 +0100 5172 5173 Don't `else' after goto. Simplify control flow. 5174 5175Author: Ralph Corderoy <ralph@inputplus.co.uk> 5176Date: Fri Oct 21 00:06:07 2016 +0100 5177 5178 Don't `else' after goto. Simplify control flow. 5179 5180Author: Ralph Corderoy <ralph@inputplus.co.uk> 5181Date: Fri Oct 21 00:05:50 2016 +0100 5182 5183 Don't `else' after goto. Simplify control flow. 5184 5185Author: Ralph Corderoy <ralph@inputplus.co.uk> 5186Date: Fri Oct 21 00:05:46 2016 +0100 5187 5188 Don't `else' after goto. Simplify control flow. 5189 5190Author: David Levine <levinedl@acm.org> 5191Date: Thu Oct 20 19:38:01 2016 -0400 5192 5193 Added test/mhshow/test-binary. The MIME parser doesn't 5194 properly handle null bytes because it uses getline(). 5195 5196Author: Ralph Corderoy <ralph@inputplus.co.uk> 5197Date: Thu Oct 20 23:57:56 2016 +0100 5198 5199 Don't `else' after return. Simplify control flow. 5200 5201Author: Ralph Corderoy <ralph@inputplus.co.uk> 5202Date: Thu Oct 20 23:57:09 2016 +0100 5203 5204 Don't `else' after return. Simplify control flow. 5205 5206Author: Ralph Corderoy <ralph@inputplus.co.uk> 5207Date: Thu Oct 20 23:30:39 2016 +0100 5208 5209 Don't `else' after return. Simplify control flow. 5210 5211Author: Ralph Corderoy <ralph@inputplus.co.uk> 5212Date: Thu Oct 20 23:30:07 2016 +0100 5213 5214 Don't `else' after return. Simplify control flow. 5215 5216Author: Ralph Corderoy <ralph@inputplus.co.uk> 5217Date: Thu Oct 20 23:30:02 2016 +0100 5218 5219 Don't `else' after return. Simplify control flow. 5220 5221Author: Ralph Corderoy <ralph@inputplus.co.uk> 5222Date: Thu Oct 20 23:29:56 2016 +0100 5223 5224 Don't `else' after return. Simplify control flow. 5225 5226Author: Ralph Corderoy <ralph@inputplus.co.uk> 5227Date: Thu Oct 20 23:29:49 2016 +0100 5228 5229 Don't `else' after return. Simplify control flow. 5230 5231Author: Ralph Corderoy <ralph@inputplus.co.uk> 5232Date: Thu Oct 20 23:29:46 2016 +0100 5233 5234 Don't `else' after return. Simplify control flow. 5235 5236Author: Ralph Corderoy <ralph@inputplus.co.uk> 5237Date: Thu Oct 20 23:29:35 2016 +0100 5238 5239 Don't `else' after return. Simplify control flow. 5240 5241Author: Ralph Corderoy <ralph@inputplus.co.uk> 5242Date: Thu Oct 20 23:29:19 2016 +0100 5243 5244 Don't `else' after return. Simplify control flow. 5245 5246Author: Ralph Corderoy <ralph@inputplus.co.uk> 5247Date: Thu Oct 20 23:27:42 2016 +0100 5248 5249 Don't `else' after return. Simplify control flow. 5250 5251Author: Ralph Corderoy <ralph@inputplus.co.uk> 5252Date: Thu Oct 20 23:27:37 2016 +0100 5253 5254 Don't `else' after return. Simplify control flow. 5255 5256Author: Ralph Corderoy <ralph@inputplus.co.uk> 5257Date: Thu Oct 20 23:27:21 2016 +0100 5258 5259 Don't `else' after return. Simplify control flow. 5260 5261Author: Ralph Corderoy <ralph@inputplus.co.uk> 5262Date: Thu Oct 20 23:27:08 2016 +0100 5263 5264 Don't `else' after return. Simplify control flow. 5265 5266Author: Ralph Corderoy <ralph@inputplus.co.uk> 5267Date: Thu Oct 20 23:27:05 2016 +0100 5268 5269 Don't `else' after return. Simplify control flow. 5270 5271Author: Ralph Corderoy <ralph@inputplus.co.uk> 5272Date: Thu Oct 20 23:23:46 2016 +0100 5273 5274 Don't `else' after return. Simplify control flow. 5275 5276Author: Ralph Corderoy <ralph@inputplus.co.uk> 5277Date: Thu Oct 20 23:23:41 2016 +0100 5278 5279 Don't `else' after return. Simplify control flow. 5280 5281Author: Ralph Corderoy <ralph@inputplus.co.uk> 5282Date: Thu Oct 20 23:23:38 2016 +0100 5283 5284 Don't `else' after return. Simplify control flow. 5285 5286Author: Ralph Corderoy <ralph@inputplus.co.uk> 5287Date: Thu Oct 20 23:23:35 2016 +0100 5288 5289 Don't `else' after return. Simplify control flow. 5290 5291Author: Ralph Corderoy <ralph@inputplus.co.uk> 5292Date: Thu Oct 20 23:23:28 2016 +0100 5293 5294 Don't `else' after return. Simplify control flow. 5295 5296Author: Ralph Corderoy <ralph@inputplus.co.uk> 5297Date: Thu Oct 20 23:23:00 2016 +0100 5298 5299 Don't `else' after return. Simplify control flow. 5300 5301Author: Ralph Corderoy <ralph@inputplus.co.uk> 5302Date: Thu Oct 20 23:22:21 2016 +0100 5303 5304 Don't `else' after return. Simplify control flow. 5305 5306Author: Ralph Corderoy <ralph@inputplus.co.uk> 5307Date: Thu Oct 20 23:22:15 2016 +0100 5308 5309 Don't `else' after return. Simplify control flow. 5310 5311Author: Ralph Corderoy <ralph@inputplus.co.uk> 5312Date: Thu Oct 20 23:22:11 2016 +0100 5313 5314 Don't `else' after return. Simplify control flow. 5315 5316Author: Ralph Corderoy <ralph@inputplus.co.uk> 5317Date: Thu Oct 20 23:22:04 2016 +0100 5318 5319 Don't `else' after return. Simplify control flow. 5320 5321Author: Ralph Corderoy <ralph@inputplus.co.uk> 5322Date: Thu Oct 20 23:22:00 2016 +0100 5323 5324 Don't `else' after return. Simplify control flow. 5325 5326Author: Ralph Corderoy <ralph@inputplus.co.uk> 5327Date: Thu Oct 20 23:21:45 2016 +0100 5328 5329 Don't `else' after return. Simplify control flow. 5330 5331Author: Ralph Corderoy <ralph@inputplus.co.uk> 5332Date: Thu Oct 20 23:21:34 2016 +0100 5333 5334 Don't `else' after return. Simplify control flow. 5335 5336Author: Ralph Corderoy <ralph@inputplus.co.uk> 5337Date: Thu Oct 20 23:21:05 2016 +0100 5338 5339 Don't `else' after return. Simplify control flow. 5340 5341Author: Ralph Corderoy <ralph@inputplus.co.uk> 5342Date: Thu Oct 20 23:20:25 2016 +0100 5343 5344 Don't `else' after return. Simplify control flow. 5345 5346Author: Ralph Corderoy <ralph@inputplus.co.uk> 5347Date: Thu Oct 20 23:20:20 2016 +0100 5348 5349 Don't `else' after return. Simplify control flow. 5350 5351Author: Ralph Corderoy <ralph@inputplus.co.uk> 5352Date: Thu Oct 20 23:20:17 2016 +0100 5353 5354 Don't `else' after return. Simplify control flow. 5355 5356Author: Ralph Corderoy <ralph@inputplus.co.uk> 5357Date: Thu Oct 20 23:20:07 2016 +0100 5358 5359 Don't `else' after return. Simplify control flow. 5360 5361Author: Ralph Corderoy <ralph@inputplus.co.uk> 5362Date: Thu Oct 20 23:19:59 2016 +0100 5363 5364 Don't `else' after return or goto. Simplify control flow. 5365 5366Author: Ralph Corderoy <ralph@inputplus.co.uk> 5367Date: Thu Oct 20 23:19:28 2016 +0100 5368 5369 Don't `else' after return. Simplify control flow. 5370 5371Author: Ralph Corderoy <ralph@inputplus.co.uk> 5372Date: Thu Oct 20 23:18:47 2016 +0100 5373 5374 Don't `else' after return. Simplify control flow. 5375 5376Author: Ralph Corderoy <ralph@inputplus.co.uk> 5377Date: Thu Oct 20 23:16:32 2016 +0100 5378 5379 Don't `else' after return. Simplify control flow. 5380 5381Author: Ralph Corderoy <ralph@inputplus.co.uk> 5382Date: Thu Oct 20 23:16:21 2016 +0100 5383 5384 Don't `else' after return. Simplify control flow. 5385 5386Author: Ralph Corderoy <ralph@inputplus.co.uk> 5387Date: Thu Oct 20 23:15:53 2016 +0100 5388 5389 Don't `else' after return. Simplify control flow. 5390 5391Author: Ralph Corderoy <ralph@inputplus.co.uk> 5392Date: Thu Oct 20 00:43:52 2016 +0100 5393 5394 Hoist test of search string for NULL out of loop. 5395 5396Author: Ken Hornstein <kenh@pobox.com> 5397Date: Thu Oct 20 13:37:29 2016 -0400 5398 5399 Rototill credentials code so that we only prompt for the username and 5400 password when it is necessary. 5401 5402Author: David Levine <levinedl@acm.org> 5403Date: Wed Oct 19 19:53:42 2016 -0400 5404 5405 Added locale profile component, value is passed to nmh_init(). 5406 5407Author: David Levine <levinedl@acm.org> 5408Date: Wed Oct 19 15:00:56 2016 -0400 5409 5410 Pass CFLAGS to make distcheck via DISTCHECK_CONFIGURE_FLAGS. 5411 5412Author: Ralph Corderoy <ralph@inputplus.co.uk> 5413Date: Thu Oct 20 00:32:37 2016 +0100 5414 5415 Replace sizeof string constant - 1 with LEN(). 5416 5417Author: Ralph Corderoy <ralph@inputplus.co.uk> 5418Date: Thu Oct 20 00:32:30 2016 +0100 5419 5420 Replace sizeof string constant - 1 with LEN(). 5421 5422Author: Ralph Corderoy <ralph@inputplus.co.uk> 5423Date: Thu Oct 20 00:24:20 2016 +0100 5424 5425 Replace strlen(), malloc(), and sprintf() with concat(). 5426 5427Author: Ralph Corderoy <ralph@inputplus.co.uk> 5428Date: Thu Oct 20 00:09:47 2016 +0100 5429 5430 Use LEN() on string constants instead of strlen(). 5431 5432Author: Ralph Corderoy <ralph@inputplus.co.uk> 5433Date: Thu Oct 20 00:09:47 2016 +0100 5434 5435 Use LEN() on string constants instead of strlen(). 5436 5437Author: Ralph Corderoy <ralph@inputplus.co.uk> 5438Date: Thu Oct 20 00:09:47 2016 +0100 5439 5440 Use LEN() on string constants instead of strlen(). 5441 5442Author: Ralph Corderoy <ralph@inputplus.co.uk> 5443Date: Thu Oct 20 00:08:50 2016 +0100 5444 5445 Add LEN(s) definition. 5446 LEN gives the strlen() of string constant s, excluding the 5447 terminating NUL. 5448 5449Author: Ralph Corderoy <ralph@inputplus.co.uk> 5450Date: Thu Oct 20 00:02:14 2016 +0100 5451 5452 Put, rather than print, single characters. 5453 5454Author: Ralph Corderoy <ralph@inputplus.co.uk> 5455Date: Thu Oct 20 00:02:14 2016 +0100 5456 5457 Put, rather than print, single characters. 5458 5459Author: Ralph Corderoy <ralph@inputplus.co.uk> 5460Date: Thu Oct 20 00:02:14 2016 +0100 5461 5462 Put, rather than print, single characters. 5463 5464Author: Ralph Corderoy <ralph@inputplus.co.uk> 5465Date: Thu Oct 20 00:02:14 2016 +0100 5466 5467 Put, rather than print, single characters. 5468 5469Author: Ralph Corderoy <ralph@inputplus.co.uk> 5470Date: Thu Oct 20 00:02:14 2016 +0100 5471 5472 Put, rather than print, single characters. 5473 5474Author: Ralph Corderoy <ralph@inputplus.co.uk> 5475Date: Thu Oct 20 00:02:14 2016 +0100 5476 5477 Put, rather than print, single characters. 5478 5479Author: Ralph Corderoy <ralph@inputplus.co.uk> 5480Date: Thu Oct 20 00:02:14 2016 +0100 5481 5482 Put, rather than print, single characters. 5483 5484Author: Ralph Corderoy <ralph@inputplus.co.uk> 5485Date: Thu Oct 20 00:02:14 2016 +0100 5486 5487 Put, rather than print, single characters. 5488 5489Author: Ralph Corderoy <ralph@inputplus.co.uk> 5490Date: Thu Oct 20 00:02:14 2016 +0100 5491 5492 Put, rather than print, single characters. 5493 5494Author: Ralph Corderoy <ralph@inputplus.co.uk> 5495Date: Wed Oct 19 23:38:04 2016 +0100 5496 5497 Put, rather than print, single characters. 5498 5499Author: Ralph Corderoy <ralph@inputplus.co.uk> 5500Date: Wed Oct 19 23:38:04 2016 +0100 5501 5502 Put, rather than print, single characters. 5503 5504Author: Ralph Corderoy <ralph@inputplus.co.uk> 5505Date: Wed Oct 19 23:38:04 2016 +0100 5506 5507 Put, rather than print, single characters. 5508 5509Author: Ralph Corderoy <ralph@inputplus.co.uk> 5510Date: Wed Oct 19 23:27:13 2016 +0100 5511 5512 Replace `(char *)0' et al with `NULL'. 5513 None of them are vararg parameters. 5514 5515Author: Ralph Corderoy <ralph@inputplus.co.uk> 5516Date: Wed Oct 19 23:27:13 2016 +0100 5517 5518 Replace `(char *)0' et al with `NULL'. 5519 None of them are vararg parameters. 5520 5521Author: Ralph Corderoy <ralph@inputplus.co.uk> 5522Date: Wed Oct 19 23:27:13 2016 +0100 5523 5524 Replace `(char *)0' et al with `NULL'. 5525 None of them are vararg parameters. 5526 5527Author: Ralph Corderoy <ralph@inputplus.co.uk> 5528Date: Wed Oct 19 23:27:13 2016 +0100 5529 5530 Replace `(char *)0' et al with `NULL'. 5531 None of them are vararg parameters. 5532 5533Author: Ralph Corderoy <ralph@inputplus.co.uk> 5534Date: Wed Oct 19 23:27:13 2016 +0100 5535 5536 Replace `(char *)0' et al with `NULL'. 5537 None of them are vararg parameters. 5538 5539Author: Ralph Corderoy <ralph@inputplus.co.uk> 5540Date: Wed Oct 19 23:27:12 2016 +0100 5541 5542 Replace `(char *)0' et al with `NULL'. 5543 None of them are vararg parameters. 5544 5545Author: Ralph Corderoy <ralph@inputplus.co.uk> 5546Date: Wed Oct 19 23:27:12 2016 +0100 5547 5548 Replace `(char *)0' et al with `NULL'. 5549 None of them are vararg parameters. 5550 5551Author: Ralph Corderoy <ralph@inputplus.co.uk> 5552Date: Wed Oct 19 23:27:12 2016 +0100 5553 5554 Replace `(char *)0' et al with `NULL'. 5555 None of them are vararg parameters. 5556 5557Author: Ralph Corderoy <ralph@inputplus.co.uk> 5558Date: Wed Oct 19 23:27:12 2016 +0100 5559 5560 Replace `(char *)0' et al with `NULL'. 5561 None of them are vararg parameters. 5562 5563Author: Ralph Corderoy <ralph@inputplus.co.uk> 5564Date: Wed Oct 19 23:27:12 2016 +0100 5565 5566 Replace `(char *)0' et al with `NULL'. 5567 None of them are vararg parameters. 5568 5569Author: Ralph Corderoy <ralph@inputplus.co.uk> 5570Date: Wed Oct 19 23:27:12 2016 +0100 5571 5572 Replace `(char *)0' et al with `NULL'. 5573 None of them are vararg parameters. 5574 5575Author: Ralph Corderoy <ralph@inputplus.co.uk> 5576Date: Wed Oct 19 23:27:12 2016 +0100 5577 5578 Replace `(char *)0' et al with `NULL'. 5579 None of them are vararg parameters. 5580 5581Author: Ralph Corderoy <ralph@inputplus.co.uk> 5582Date: Wed Oct 19 23:27:12 2016 +0100 5583 5584 Replace `(char *)0' et al with `NULL'. 5585 None of them are vararg parameters. 5586 5587Author: Ralph Corderoy <ralph@inputplus.co.uk> 5588Date: Wed Oct 19 23:27:12 2016 +0100 5589 5590 Replace `(char *)0' et al with `NULL'. 5591 None of them are vararg parameters. 5592 5593Author: Ralph Corderoy <ralph@inputplus.co.uk> 5594Date: Wed Oct 19 23:27:12 2016 +0100 5595 5596 Replace `(char *)0' et al with `NULL'. 5597 None of them are vararg parameters. 5598 5599Author: Ralph Corderoy <ralph@inputplus.co.uk> 5600Date: Wed Oct 19 19:18:48 2016 +0100 5601 5602 Replace strlen(), malloc(), and sprintf() with concat(). 5603 5604Author: Ralph Corderoy <ralph@inputplus.co.uk> 5605Date: Wed Oct 19 18:47:30 2016 +0100 5606 5607 Replace sprintf() with strcpy(); it's no worse. 5608 5609Author: Ralph Corderoy <ralph@inputplus.co.uk> 5610Date: Wed Oct 19 18:47:04 2016 +0100 5611 5612 Replace sprintf() with strcpy(); it's no worse. 5613 5614Author: Ralph Corderoy <ralph@inputplus.co.uk> 5615Date: Wed Oct 19 18:44:58 2016 +0100 5616 5617 Add comment describing concat(). 5618 5619Author: Ralph Corderoy <ralph@inputplus.co.uk> 5620Date: Wed Oct 19 18:30:41 2016 +0100 5621 5622 Use the imperfect snprintf(3) instead of sprintf(3). 5623 5624Author: Ralph Corderoy <ralph@inputplus.co.uk> 5625Date: Wed Oct 19 18:29:56 2016 +0100 5626 5627 Use the imperfect snprintf(3) instead of sprintf(3). 5628 5629Author: Ralph Corderoy <ralph@inputplus.co.uk> 5630Date: Wed Oct 19 18:29:43 2016 +0100 5631 5632 Use the imperfect snprintf(3) instead of sprintf(3). 5633 5634Author: Ralph Corderoy <ralph@inputplus.co.uk> 5635Date: Wed Oct 19 18:29:18 2016 +0100 5636 5637 Use the imperfect snprintf(3) instead of sprintf(3). 5638 5639Author: Ralph Corderoy <ralph@inputplus.co.uk> 5640Date: Wed Oct 19 18:13:10 2016 +0100 5641 5642 Add EndsWithC(char *s, int c) and call it in some initial places. 5643 EndsWithC returns true if non-NULL string s ends with a c before the 5644 terminating NUL. 5645 5646Author: Ralph Corderoy <ralph@inputplus.co.uk> 5647Date: Wed Oct 19 17:52:44 2016 +0100 5648 5649 Add stdbool.h plus fallback to h/nmh.h. 5650 Change h/mh.h's FALSE and TRUE to use stdbool.h's. In time, everything 5651 can switch over and FALSE and TRUE can go. Delete some local 5652 re-definitions of FALSE and TRUE. 5653 5654Author: Ralph Corderoy <ralph@inputplus.co.uk> 5655Date: Wed Oct 19 16:34:05 2016 +0100 5656 5657 Fix ruserpass() to not assume `\n' present before trimming. 5658 5659Author: David Levine <levinedl@acm.org> 5660Date: Wed Oct 19 12:09:37 2016 -0400 5661 5662 Removed remaining relics of generated ctypoe-checked.[hc]. 5663 5664Author: Ralph Corderoy <ralph@inputplus.co.uk> 5665Date: Wed Oct 19 15:43:12 2016 +0100 5666 5667 Alter ctype-checked to handle EOF and be hand-written. 5668 Along the way, replace the code generation with code that punts the work 5669 onto the stdlib's C functions, needing only a single `identity' array 5670 for all the macros. A mkdir needed to be added in Makefile.am because 5671 otherwise etc didn't exist in a distcheck and attempting to redirect 5672 stdout to a file in etc failed. I'm not happy that's the best automake 5673 way to achieve this, i.e. what if another rule attempts to create in etc 5674 first? 5675 5676Author: Ralph Corderoy <ralph@inputplus.co.uk> 5677Date: Wed Oct 19 14:39:53 2016 +0100 5678 5679 Remove ./configure's --enable-debug support; it did nothing. 5680 David on nmh-workers said "that looks like a relic that can be removed". 5681 5682Author: Ralph Corderoy <ralph@inputplus.co.uk> 5683Date: Wed Oct 19 13:04:12 2016 +0100 5684 5685 Don't recurse in advertise() on writev(2) error, just write(2). 5686 Some errors, e.g. EPIPE, cause the advise()'s call to another 5687 advertise() to fail again, ad segvinitum when stack busts. Instead, 5688 snprintf(3) and write(2) that single string, ignoring any error. 5689 5690Author: Ralph Corderoy <ralph@inputplus.co.uk> 5691Date: Wed Oct 19 12:22:47 2016 +0100 5692 5693 Add check-programs target to Makefile.am to add to `make all'. 5694 5695Author: Ralph Corderoy <ralph@inputplus.co.uk> 5696Date: Wed Oct 19 11:30:55 2016 +0100 5697 5698 Ignore etags ugly TAGS output file. 5699 Makefile prefers etags over ctags. 5700 5701Author: Ralph Corderoy <ralph@inputplus.co.uk> 5702Date: Wed Oct 19 10:09:47 2016 +0100 5703 5704 Replace strchr() condition with TrimSuffixC(), fixing assumptions. 5705 A couple of the existing strchr()-based trims assumed fgets() returned a 5706 string containing `\n' if it didn't return NULL. 5707 5708Author: Ralph Corderoy <ralph@inputplus.co.uk> 5709Date: Wed Oct 19 10:06:44 2016 +0100 5710 5711 Replace strchr() condition with TrimSuffixC(). 5712 5713Author: Ralph Corderoy <ralph@inputplus.co.uk> 5714Date: Wed Oct 19 10:06:24 2016 +0100 5715 5716 Replace strchr() condition with TrimSuffixC(). 5717 5718Author: Ralph Corderoy <ralph@inputplus.co.uk> 5719Date: Wed Oct 19 10:04:59 2016 +0100 5720 5721 Replace strchr() condition with TrimSuffixC(). 5722 5723Author: Ralph Corderoy <ralph@inputplus.co.uk> 5724Date: Wed Oct 19 10:04:12 2016 +0100 5725 5726 Replace strchr() condition with TrimSuffixC(). 5727 5728Author: Ralph Corderoy <ralph@inputplus.co.uk> 5729Date: Wed Oct 19 10:03:31 2016 +0100 5730 5731 Replace strchr() condition with TrimSuffixC(). 5732 5733Author: Ralph Corderoy <ralph@inputplus.co.uk> 5734Date: Wed Oct 19 00:50:28 2016 +0100 5735 5736 Replace strchr() condition with TrimSuffixC(). 5737 5738Author: Ralph Corderoy <ralph@inputplus.co.uk> 5739Date: Tue Oct 18 17:05:24 2016 +0100 5740 5741 Add TrimSuffixC(char *s, int c). 5742 TrimSuffixC deletes c from the end of non-NULL string s if it's present, 5743 shortening s by 1. Only one instance of c is removed. 5744 5745Author: David Levine <levinedl@acm.org> 5746Date: Tue Oct 18 19:55:49 2016 -0400 5747 5748 With EAI (mhbuild -headerencoding utf-8), force message header to 5749 show 8-bit UTF-8, even if the message body is ASCII. 5750 5751Author: David Levine <levinedl@acm.org> 5752Date: Tue Oct 18 16:45:30 2016 -0400 5753 5754 Output an error message from post(8) when user specifies 5755 mhbuild -headerencoding utf-8 but the SMTP server doesn't 5756 support SMTPUTF8. 5757 5758Author: Ralph Corderoy <ralph@inputplus.co.uk> 5759Date: Tue Oct 18 16:33:12 2016 +0100 5760 5761 Rewrite r1bindex() using strrchr(3). 5762 5763Author: Ralph Corderoy <ralph@inputplus.co.uk> 5764Date: Tue Oct 18 16:23:44 2016 +0100 5765 5766 Use concat() in m_putenv. Add FIXME about memory leaks. 5767 POSIX defines setenv(3) and unsetenv(3). They seem like a good route, 5768 just need to preserve the existing functions' behaviour. 5769 5770Author: Ralph Corderoy <ralph@inputplus.co.uk> 5771Date: Tue Oct 18 16:22:41 2016 +0100 5772 5773 Shrink the static char[] for "%d" from 8KiB to just right. 5774 5775Author: Ralph Corderoy <ralph@inputplus.co.uk> 5776Date: Tue Oct 18 14:52:26 2016 +0100 5777 5778 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5779 5780Author: Ralph Corderoy <ralph@inputplus.co.uk> 5781Date: Tue Oct 18 14:52:26 2016 +0100 5782 5783 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5784 5785Author: Ralph Corderoy <ralph@inputplus.co.uk> 5786Date: Tue Oct 18 14:52:26 2016 +0100 5787 5788 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5789 5790Author: Ralph Corderoy <ralph@inputplus.co.uk> 5791Date: Tue Oct 18 14:52:26 2016 +0100 5792 5793 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5794 5795Author: Ralph Corderoy <ralph@inputplus.co.uk> 5796Date: Tue Oct 18 14:52:26 2016 +0100 5797 5798 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5799 5800Author: Ralph Corderoy <ralph@inputplus.co.uk> 5801Date: Tue Oct 18 14:52:26 2016 +0100 5802 5803 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5804 5805Author: Ralph Corderoy <ralph@inputplus.co.uk> 5806Date: Tue Oct 18 14:52:26 2016 +0100 5807 5808 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5809 5810Author: Ralph Corderoy <ralph@inputplus.co.uk> 5811Date: Tue Oct 18 14:52:26 2016 +0100 5812 5813 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5814 5815Author: Ralph Corderoy <ralph@inputplus.co.uk> 5816Date: Tue Oct 18 14:52:26 2016 +0100 5817 5818 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5819 5820Author: Ralph Corderoy <ralph@inputplus.co.uk> 5821Date: Tue Oct 18 14:52:26 2016 +0100 5822 5823 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5824 5825Author: Ralph Corderoy <ralph@inputplus.co.uk> 5826Date: Tue Oct 18 14:52:26 2016 +0100 5827 5828 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5829 5830Author: Ralph Corderoy <ralph@inputplus.co.uk> 5831Date: Tue Oct 18 14:52:26 2016 +0100 5832 5833 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5834 5835Author: Ralph Corderoy <ralph@inputplus.co.uk> 5836Date: Tue Oct 18 14:52:26 2016 +0100 5837 5838 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5839 5840Author: Ralph Corderoy <ralph@inputplus.co.uk> 5841Date: Tue Oct 18 14:52:26 2016 +0100 5842 5843 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5844 5845Author: Ralph Corderoy <ralph@inputplus.co.uk> 5846Date: Tue Oct 18 14:52:25 2016 +0100 5847 5848 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5849 5850Author: Ralph Corderoy <ralph@inputplus.co.uk> 5851Date: Tue Oct 18 14:52:25 2016 +0100 5852 5853 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5854 5855Author: Ralph Corderoy <ralph@inputplus.co.uk> 5856Date: Tue Oct 18 14:52:25 2016 +0100 5857 5858 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5859 5860Author: Ralph Corderoy <ralph@inputplus.co.uk> 5861Date: Tue Oct 18 14:52:25 2016 +0100 5862 5863 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5864 5865Author: Ralph Corderoy <ralph@inputplus.co.uk> 5866Date: Tue Oct 18 14:52:25 2016 +0100 5867 5868 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5869 5870Author: Ralph Corderoy <ralph@inputplus.co.uk> 5871Date: Tue Oct 18 14:52:25 2016 +0100 5872 5873 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5874 5875Author: Ralph Corderoy <ralph@inputplus.co.uk> 5876Date: Tue Oct 18 14:52:25 2016 +0100 5877 5878 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5879 5880Author: Ralph Corderoy <ralph@inputplus.co.uk> 5881Date: Tue Oct 18 14:52:25 2016 +0100 5882 5883 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5884 5885Author: Ralph Corderoy <ralph@inputplus.co.uk> 5886Date: Tue Oct 18 14:52:25 2016 +0100 5887 5888 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5889 5890Author: Ralph Corderoy <ralph@inputplus.co.uk> 5891Date: Tue Oct 18 14:52:25 2016 +0100 5892 5893 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5894 5895Author: Ralph Corderoy <ralph@inputplus.co.uk> 5896Date: Tue Oct 18 14:52:25 2016 +0100 5897 5898 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5899 5900Author: Ralph Corderoy <ralph@inputplus.co.uk> 5901Date: Tue Oct 18 14:52:25 2016 +0100 5902 5903 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5904 5905Author: Ralph Corderoy <ralph@inputplus.co.uk> 5906Date: Tue Oct 18 14:52:25 2016 +0100 5907 5908 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5909 5910Author: Ralph Corderoy <ralph@inputplus.co.uk> 5911Date: Tue Oct 18 14:52:25 2016 +0100 5912 5913 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5914 5915Author: Ralph Corderoy <ralph@inputplus.co.uk> 5916Date: Tue Oct 18 14:52:25 2016 +0100 5917 5918 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5919 5920Author: Ralph Corderoy <ralph@inputplus.co.uk> 5921Date: Tue Oct 18 14:52:25 2016 +0100 5922 5923 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5924 5925Author: Ralph Corderoy <ralph@inputplus.co.uk> 5926Date: Tue Oct 18 14:52:25 2016 +0100 5927 5928 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5929 5930Author: Ralph Corderoy <ralph@inputplus.co.uk> 5931Date: Tue Oct 18 14:52:25 2016 +0100 5932 5933 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5934 5935Author: Ralph Corderoy <ralph@inputplus.co.uk> 5936Date: Tue Oct 18 14:52:25 2016 +0100 5937 5938 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5939 5940Author: Ralph Corderoy <ralph@inputplus.co.uk> 5941Date: Tue Oct 18 14:52:25 2016 +0100 5942 5943 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5944 5945Author: Ralph Corderoy <ralph@inputplus.co.uk> 5946Date: Tue Oct 18 13:37:15 2016 +0100 5947 5948 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5949 5950Author: Ralph Corderoy <ralph@inputplus.co.uk> 5951Date: Tue Oct 18 13:37:15 2016 +0100 5952 5953 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5954 5955Author: Ralph Corderoy <ralph@inputplus.co.uk> 5956Date: Tue Oct 18 13:37:14 2016 +0100 5957 5958 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5959 5960Author: Ralph Corderoy <ralph@inputplus.co.uk> 5961Date: Tue Oct 18 13:37:14 2016 +0100 5962 5963 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5964 5965Author: Ralph Corderoy <ralph@inputplus.co.uk> 5966Date: Tue Oct 18 13:37:14 2016 +0100 5967 5968 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5969 5970Author: Ralph Corderoy <ralph@inputplus.co.uk> 5971Date: Tue Oct 18 13:37:14 2016 +0100 5972 5973 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5974 5975Author: Ralph Corderoy <ralph@inputplus.co.uk> 5976Date: Tue Oct 18 13:37:14 2016 +0100 5977 5978 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5979 5980Author: Ralph Corderoy <ralph@inputplus.co.uk> 5981Date: Tue Oct 18 13:37:14 2016 +0100 5982 5983 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5984 5985Author: Ralph Corderoy <ralph@inputplus.co.uk> 5986Date: Tue Oct 18 13:37:14 2016 +0100 5987 5988 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5989 5990Author: Ralph Corderoy <ralph@inputplus.co.uk> 5991Date: Tue Oct 18 13:37:14 2016 +0100 5992 5993 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5994 5995Author: Ralph Corderoy <ralph@inputplus.co.uk> 5996Date: Tue Oct 18 13:37:14 2016 +0100 5997 5998 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 5999 6000Author: Ralph Corderoy <ralph@inputplus.co.uk> 6001Date: Tue Oct 18 13:37:14 2016 +0100 6002 6003 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 6004 6005Author: Ralph Corderoy <ralph@inputplus.co.uk> 6006Date: Tue Oct 18 13:37:14 2016 +0100 6007 6008 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 6009 6010Author: Ralph Corderoy <ralph@inputplus.co.uk> 6011Date: Tue Oct 18 13:09:27 2016 +0100 6012 6013 Replace getcpy() with mh_xstrdup() where the string isn't NULL. 6014 6015Author: Ralph Corderoy <ralph@inputplus.co.uk> 6016Date: Tue Oct 18 01:27:27 2016 +0100 6017 6018 Fix unlikely bug in oauth's make_query_url() of base_url overflow. 6019 6020Author: Ralph Corderoy <ralph@inputplus.co.uk> 6021Date: Tue Oct 18 01:18:24 2016 +0100 6022 6023 Replace a few calculations of string lengths with concat(). 6024 Saves the reader have to keep checking all the +1 are correct. 6025 Passed the oauth tests; they weren't skipped. 6026 6027Author: Ralph Corderoy <ralph@inputplus.co.uk> 6028Date: Mon Oct 17 23:52:00 2016 +0100 6029 6030 Close FILE pointer in anno for -append as well as -delete. 6031 https://savannah.nongnu.org/bugs/?23465 has Peter Maydell pointing out 6032 the assymetric open and close of a FILE pointer. He's right on that 6033 AFAICS so change the test to be for a non-NULL pointer rather than the 6034 more wordy and prone to error flag-testing. 6035 6036Author: Ralph Corderoy <ralph@inputplus.co.uk> 6037Date: Mon Oct 17 21:46:47 2016 +0100 6038 6039 Oops, should have offset file in showbuildenv rather than cat. 6040 6041Author: Ralph Corderoy <ralph@inputplus.co.uk> 6042Date: Mon Oct 17 21:16:38 2016 +0100 6043 6044 Look for a platform-specific /etc/*-release or similar. 6045 /etc/os-release is becoming standard due to systemd. 6046 6047Author: Ralph Corderoy <ralph@inputplus.co.uk> 6048Date: Mon Oct 17 20:51:09 2016 +0100 6049 6050 Protect showbuildenv's headers from glob expansion. 6051 6052Author: Ralph Corderoy <ralph@inputplus.co.uk> 6053Date: Mon Oct 17 20:35:51 2016 +0100 6054 6055 A-ha! automake has support for tests expected to fail; use that. 6056 Backing out my recent addition of an `expectedfail` parameter to the 6057 `check' function. 6058 6059Author: Ralph Corderoy <ralph@inputplus.co.uk> 6060Date: Mon Oct 17 20:14:33 2016 +0100 6061 6062 Remove use of C's register keyword. 6063 6064Author: David Levine <levinedl@acm.org> 6065Date: Mon Oct 17 09:42:32 2016 -0400 6066 6067 Added reference to mh-profile(5) man page for more information on 6068 postproc. And note that "Nmh-" header lines are filtered out. 6069 6070Author: Ralph Corderoy <ralph@inputplus.co.uk> 6071Date: Mon Oct 17 11:55:12 2016 +0100 6072 6073 Add FIXME for more documentation to showbuildenv. 6074 6075Author: Ralph Corderoy <ralph@inputplus.co.uk> 6076Date: Mon Oct 17 11:51:32 2016 +0100 6077 6078 Have showbuildenv only indent non-blank lines. 6079 6080Author: Ralph Corderoy <ralph@inputplus.co.uk> 6081Date: Mon Oct 17 11:50:22 2016 +0100 6082 6083 Run lsb_release(1) if uname is Linux. 6084 6085Author: Ralph Corderoy <ralph@inputplus.co.uk> 6086Date: Mon Oct 17 11:30:24 2016 +0100 6087 6088 Oops, fc31cece had a syntax error that gcc ignored, clang doesn't. 6089 Two logical-or operators in a row don't upset gcc. Who said parsing was 6090 a solved problem? 6091 6092Author: Ralph Corderoy <ralph@inputplus.co.uk> 6093Date: Mon Oct 17 01:41:32 2016 +0100 6094 6095 Replace NEW() then memset() of 0 with NEW0(). 6096 6097Author: Ralph Corderoy <ralph@inputplus.co.uk> 6098Date: Mon Oct 17 01:36:35 2016 +0100 6099 6100 Don't call strlen() twice; save result. 6101 The second instance was attempting to write strlen(mmdlm2) bytes 6102 and checking the return value against strlen(mmdlm1). I assumed 6103 that was an error without digging. 6104 6105Author: Ralph Corderoy <ralph@inputplus.co.uk> 6106Date: Mon Oct 17 01:35:15 2016 +0100 6107 6108 Don't call strlen() twice; save result. 6109 6110Author: Ralph Corderoy <ralph@inputplus.co.uk> 6111Date: Mon Oct 17 01:34:18 2016 +0100 6112 6113 Deference char pointer to test for empty string instead of strlen(3). 6114 6115Author: Ralph Corderoy <ralph@inputplus.co.uk> 6116Date: Mon Oct 17 01:28:53 2016 +0100 6117 6118 Replace getcpy() with mh_xstrdup(). 6119 6120Author: Ralph Corderoy <ralph@inputplus.co.uk> 6121Date: Mon Oct 17 01:28:13 2016 +0100 6122 6123 Replace mh_xmalloc() with mh_xstrdup(). 6124 6125Author: Ralph Corderoy <ralph@inputplus.co.uk> 6126Date: Mon Oct 17 01:26:53 2016 +0100 6127 6128 Replace mh_xmalloc() with mh_xstrdup(). 6129 6130Author: Ralph Corderoy <ralph@inputplus.co.uk> 6131Date: Mon Oct 17 00:32:46 2016 +0100 6132 6133 Delete client_getcpy(); don't know why it exists. 6134 Replace with calls to getcpy() or mh_xstrdup(). 6135 6136Author: Ralph Corderoy <ralph@inputplus.co.uk> 6137Date: Mon Oct 17 00:22:23 2016 +0100 6138 6139 Use mh_xstrdup() instead of getcpy() for a string constant. 6140 It cannot be NULL. 6141 6142Author: Ralph Corderoy <ralph@inputplus.co.uk> 6143Date: Mon Oct 17 00:08:26 2016 +0100 6144 6145 Rewrite getcpy() using mh_x*() allocation functions. 6146 6147Author: Ralph Corderoy <ralph@inputplus.co.uk> 6148Date: Mon Oct 17 00:07:24 2016 +0100 6149 6150 Add const specifier to mh_xstrdup()'s src parameter. 6151 6152Author: Ralph Corderoy <ralph@inputplus.co.uk> 6153Date: Sun Oct 16 23:35:35 2016 +0100 6154 6155 Rename fmt_compile.c's NEW macro to NEW_FP to avoid redefine. 6156 It grabs and fills in a pointer called `fp' so a more specific name 6157 seems OK. 6158 6159Author: Ralph Corderoy <ralph@inputplus.co.uk> 6160Date: Sun Oct 16 23:16:26 2016 +0100 6161 6162 Rename local enum to avoid clashing with NEW() macro. 6163 Even if it doesn't in practice due to the lack of parenthesis, it makes 6164 things more clean if all the enumerates have a common abbreviation 6165 prefix. 6166 6167Author: Ralph Corderoy <ralph@inputplus.co.uk> 6168Date: Sun Oct 16 22:53:23 2016 +0100 6169 6170 Add mh_xstrdup() that exits on allocation failure. 6171 Call it from a few simple places. 6172 6173Author: Ralph Corderoy <ralph@inputplus.co.uk> 6174Date: Sun Oct 16 19:38:36 2016 +0100 6175 6176 Add NEW(p) that sets p to mh_xmalloc'd memory sized by *p. 6177 Use it for the simple cases. Again, saves having to check the same 6178 identifier is given, possibly far apart after a superfluous cast. 6179 6180Author: Ralph Corderoy <ralph@inputplus.co.uk> 6181Date: Sun Oct 16 18:49:32 2016 +0100 6182 6183 Add macro NEW0(p) that callocs, and use it in simple calls. 6184 p is a pointer, the size of the contents of the pointer is allocated 6185 with calloc via mh_xcalloc. It saves having to check every calloc to 6186 ensure the space requested matches the pointer to which it is assigned. 6187 6188Author: Ralph Corderoy <ralph@inputplus.co.uk> 6189Date: Sun Oct 16 18:24:51 2016 +0100 6190 6191 Put parameter names in h/utils.h memory function prototypes. 6192 It can be a problem if there is a system creeps in a clashing macro, 6193 e.g. `size', but that's unlikely and I think the documentation benefits. 6194 6195Author: Ralph Corderoy <ralph@inputplus.co.uk> 6196Date: Sun Oct 16 18:21:15 2016 +0100 6197 6198 Add mh_xfree(), guarding free(3) from NULLs. 6199 Perhaps all nmh's platforms cope with free(3) these days, but it gives 6200 symmetry with the other mh_x* memory functions and if there is code 6201 testing the pointer before calling free then it can use this instead. 6202 6203Author: Ralph Corderoy <ralph@inputplus.co.uk> 6204Date: Sun Oct 16 18:17:31 2016 +0100 6205 6206 Tweak mh_xcalloc(); print size on error, follow POSIX. 6207 Using `%zu' for the size_t value. That might be a problem on older 6208 platforms, but we'll see. If asked for zero bytes then allocate one to 6209 get a unique pointer. 6210 6211Author: Ralph Corderoy <ralph@inputplus.co.uk> 6212Date: Sun Oct 16 18:08:29 2016 +0100 6213 6214 Tweak mh_xrealloc(); print size on error, follow POSIX. 6215 Using `%zu' for the size_t value. That might be a problem on older 6216 platforms, but we'll see. If asked for zero bytes then free an existing 6217 pointer, only passing it to free(3) if it's non-NULL, and then allocate 6218 a byte so a unique pointer is returned. 6219 6220Author: Ralph Corderoy <ralph@inputplus.co.uk> 6221Date: Sun Oct 16 17:43:56 2016 +0100 6222 6223 Tweak mh_xmalloc(); print size in error, allocate zero bytes. 6224 Using `%zu' for the size_t value. That might be a problem on older 6225 platforms, but we'll see. If asked for zero bytes then allocate one 6226 rather than exit; it's sometimes useful to allocate zero, but some 6227 older platforms might not like it. 6228 6229Author: Ralph Corderoy <ralph@inputplus.co.uk> 6230Date: Sun Oct 16 17:36:03 2016 +0100 6231 6232 Don't check mh_xcalloc() and friends for a NULL return. 6233 They never return NULL. That's their prime purpose. 6234 6235Author: Ralph Corderoy <ralph@inputplus.co.uk> 6236Date: Sun Oct 16 15:50:12 2016 +0100 6237 6238 Expand the test of scan's -forma; fails on first attempt. 6239 For an email that's just `a:\nb:\nc:\n', a scan with `%{a}\n%{b}\n%{c}' 6240 is one blank line short. If the `%{c}' has anything added then its line 6241 prints. Break out of the loop so all the other tests are skipped. 6242 6243Author: Ralph Corderoy <ralph@inputplus.co.uk> 6244Date: Sun Oct 16 15:25:37 2016 +0100 6245 6246 Don't test -reverse's boolean on every message number. 6247 Test just once before the loop and define start, end, and increment. 6248 Keep going whilst start is not end. Happy for underflow or overflow in 6249 calculating end because msgnum will make the same transition. It can't 6250 affect whether the loop runs at all since 0 is not a valid message 6251 number. 6252 6253Author: Ralph Corderoy <ralph@inputplus.co.uk> 6254Date: Sun Oct 16 14:28:38 2016 +0100 6255 6256 Update pending-release-notes with a couple of my recent fixes. 6257 6258Author: Ralph Corderoy <ralph@inputplus.co.uk> 6259Date: Sun Oct 16 14:19:56 2016 +0100 6260 6261 Fix bug where single-character headers were sometimes missed. 6262 The hash function used to check if a header was of interest always used 6263 its first three characters. For a single-character header that third 6264 byte wasn't particularly set and so it was pot luck if the two hashes 6265 matched, swayed by what was previously in the format string and in the 6266 email's headers. Alter it to cope, including with an empty string. 6267 Comment that it never gives 127 so leaves the last element of the 6268 hash-table array unused. Alter test-header-parsing to stop declaring it 6269 expects to fail. 6270 6271Author: Ralph Corderoy <ralph@inputplus.co.uk> 6272Date: Sun Oct 16 12:44:32 2016 +0100 6273 6274 Change all Getc() callers to use EOF, not comparisons with 0. 6275 Makes the logic that bit easier when you don't have to convert to EOF 6276 mentally. No functional change intended. 6277 6278Author: Ralph Corderoy <ralph@inputplus.co.uk> 6279Date: Sun Oct 16 12:23:57 2016 +0100 6280 6281 Don't increment bytes_read if returning EOF. 6282 Don't know if this was actually causing a problem, or if it was wrong, 6283 but bytes_read was always being incremented even if the later test 6284 showed readpos was to be left unincremented and EOF returned instead. 6285 All tests still pass so any breakage must be subtle! 6286 6287Author: Ralph Corderoy <ralph@inputplus.co.uk> 6288Date: Sun Oct 16 12:13:59 2016 +0100 6289 6290 Fix spelling in comment. Alter case to match identifier. 6291 vim will search matching case on `*', for example, so if searching for 6292 `\<fdelim\>' the comment shouldn't use `Fdelim'. 6293 6294Author: Ralph Corderoy <ralph@inputplus.co.uk> 6295Date: Sun Oct 16 11:43:45 2016 +0100 6296 6297 Add failing test case for single-character header parsing. 6298 `scan -format '%{x}'' fails to find single-character header `x' in some 6299 cases, depending on the position of the header in the file. Add a 6300 simple test case, scan/test-header-parsing, for this that fails. Alter 6301 the test harness to allow a test to indicate it expects to fail. When 6302 it does, that's ignored. If it passes, that's then an error instead. 6303 6304 Did this because I don't know if or when it will be fixed and didn't 6305 want it to be forgotten in the meantime. When it is fixed, the test can 6306 be enhanced to cover many more possibilities. First noticed it with ad 6307 hoc testing of my fewer-lseek change, but it is present in the released 6308 1.6. 6309 6310Author: Ralph Corderoy <ralph@inputplus.co.uk> 6311Date: Sun Oct 16 10:52:39 2016 +0100 6312 6313 Fix spelling in warning message; s/conext/context/. 6314 6315Author: Ralph Corderoy <ralph@inputplus.co.uk> 6316Date: Sun Oct 16 10:13:46 2016 +0100 6317 6318 Simply enter_getfld()'s structure, no functional change. 6319 Return ASAP to avoid having to mentally track those states as the code 6320 indents further. 6321 6322Author: Ralph Corderoy <ralph@inputplus.co.uk> 6323Date: Sun Oct 16 09:58:34 2016 +0100 6324 6325 Explicitly state a postproc's last argument will be the draft. 6326 Update the sample postproc script to make clear it's the -whom detection 6327 that sucks. 6328 6329Author: Ralph Corderoy <ralph@inputplus.co.uk> 6330Date: Sun Oct 16 09:35:03 2016 +0100 6331 6332 Document fmttest(1)'s existing -help and -version options. 6333 6334Author: Ralph Corderoy <ralph@inputplus.co.uk> 6335Date: Sun Oct 16 09:17:51 2016 +0100 6336 6337 Move -help and -version to the front of the man page options. 6338 The man pages had -verbose and -help listed at the end of the synopsis. 6339 This put them after mandatory arguments in some cases, e.g. post(8). 6340 Put then at the front, swapping the order so -help is first, as novices 6341 will want to know -help exists early on, and others can simply skip over 6342 them rather than encounter them at the end when they're trying to track 6343 the combinations of what they've read so far. 6344 6345Author: Ralph Corderoy <ralph@inputplus.co.uk> 6346Date: Sun Oct 16 08:52:10 2016 +0100 6347 6348 Fix end of sentence spacing in man pages, and related problems. 6349 troff(1) input that ends a sentence at the end of the line gets the 6350 proper inter-sentence spacing when formatted. If the sentence ends 6351 midline then two spaces must follow to get the same result, otherwise 6352 the spacing looks odd. Similarly, if a full stop is not the end of a 6353 sentence then it should have the zero-width escape appended so if 6354 re-formatting the source happens to place it at the end of the line then 6355 no large gap follows it: e.g. `e.g.\&'. 6356 Replace `et. al.' with `et al'. 6357 6358Author: Ralph Corderoy <ralph@inputplus.co.uk> 6359Date: Sun Oct 16 08:34:35 2016 +0100 6360 6361 Reference the buildbot in docs/README.developers. 6362 6363Author: Ralph Corderoy <ralph@inputplus.co.uk> 6364Date: Sun Oct 16 08:23:51 2016 +0100 6365 6366 Stop one lseek(2) per header fetched by m_getfld.c in common case. 6367 Only call ftello(3) in enter_getfld() when track_filepos has been 6368 requested; not often. 6369 6370Author: Ralph Corderoy <ralph@inputplus.co.uk> 6371Date: Sat Oct 15 23:40:00 2016 +0100 6372 6373 Fix error message when attempting to xmh_realloc() 0 bytes. 6374 Though really, I'd expect it to perform a free(3) then, as the real 6375 realloc(3) does. 6376 6377Author: David Levine <levinedl@acm.org> 6378Date: Sat Oct 15 14:21:13 2016 -0400 6379 6380 Plugged memory leak in convert_content_charset(). 6381 6382Author: David Levine <levinedl@acm.org> 6383Date: Sat Oct 15 11:53:24 2016 -0400 6384 6385 Fixed mhshow warn message when it can't convert character set, 6386 "from" instead of "to", as reported by Ralph. 6387 6388Author: David Levine <levinedl@acm.org> 6389Date: Sat Oct 15 11:33:34 2016 -0400 6390 6391 Changed "existant" to "existent". Found by misspell_fixer. 6392 6393Author: David Levine <levinedl@acm.org> 6394Date: Sat Oct 15 09:58:24 2016 -0400 6395 6396 Added to convertargs documentation. 6397 6398Author: David Levine <levinedl@acm.org> 6399Date: Fri Oct 14 16:53:27 2016 -0400 6400 6401 Try running script(1) for SHELL test in subshell. 6402 6403Author: David Levine <levinedl@acm.org> 6404Date: Fri Oct 14 16:40:16 2016 -0400 6405 6406 Check that script(1) supports SHELL in test-version-check. 6407 6408Author: David Levine <levinedl@acm.org> 6409Date: Fri Oct 14 14:36:21 2016 -0400 6410 6411 Added check to test-version-check to ensure that script(1) makes 6412 the program look like it's connected to a terminal. 6413 6414Author: David Levine <levinedl@acm.org> 6415Date: Fri Oct 14 13:40:14 2016 -0400 6416 6417 Didn't work on buildbot hosts. Added debug statements. 6418 6419Author: David Levine <levinedl@acm.org> 6420Date: Fri Oct 14 13:27:32 2016 -0400 6421 6422 Instead of feeding stdin to script(1) in test-version-check, 6423 create a simple shell script with the command to be run and feed 6424 it to script via the SHELL environment variable or -S option. 6425 Thanks to Ralph for suggesting this approach. We'll see if it 6426 works on all of the buildbot hosts. 6427 6428Author: David Levine <levinedl@acm.org> 6429Date: Fri Oct 14 09:54:59 2016 -0400 6430 6431 Tweaked formatting of welcome message. 6432 6433Author: David Levine <levinedl@acm.org> 6434Date: Thu Oct 13 19:12:59 2016 -0400 6435 6436 Disable test-version-check, again, when not connected to terminal. 6437 I can't otherwise explain why it fails on the ubuntu buildbot. 6438 6439Author: David Levine <levinedl@acm.org> 6440Date: Thu Oct 13 18:54:16 2016 -0400 6441 6442 Added debug printouts to test-version-check. 6443 6444Author: David Levine <levinedl@acm.org> 6445Date: Thu Oct 13 18:45:06 2016 -0400 6446 6447 Use "script file" in test-version-check for maximum portability. 6448 Feed its stdin, which might be problematic. 6449 6450Author: David Levine <levinedl@acm.org> 6451Date: Wed Oct 12 21:48:11 2016 -0400 6452 6453 Added check that replied-to text is not quoted-printable encoded. 6454 It's up to the external converter to generate RFC 5322-legal text. 6455 6456Author: David Levine <levinedl@acm.org> 6457Date: Wed Oct 12 21:47:16 2016 -0400 6458 6459 Split ${charset:+-I "$charset"} and another similar case into two 6460 separate options, because Solaris didn't like the space between them. 6461 6462Author: Oliver Kiddle <okiddle@yahoo.co.uk> 6463Date: Tue Oct 11 10:20:52 2016 -0400 6464 6465 For the autoconf/automake stuff to replace getline, the following 6466 patch seems to work. 6467 6468 The final change on configure.ac is to cope with cc -V output having 6469 slightly changed in the most recent version of the compiler. 6470 6471Author: Ralph Corderoy <ralph@inputplus.co.uk> 6472Date: Tue Oct 11 10:14:14 2016 -0400 6473 6474 I've written a getline(3) from scratch based on 6475 https://manned.org/getdelim.3p and am happy for it to have whatever 6476 licence nmh needs. 6477 6478Author: David Levine <levinedl@acm.org> 6479Date: Tue Oct 11 09:31:42 2016 -0400 6480 6481 Removed test-local-mailbox that was mistakenly committed. 6482 6483Author: David Levine <levinedl@acm.org> 6484Date: Tue Oct 11 08:55:12 2016 -0400 6485 6486 Only set CFLAGS with gcc. 6487 6488Author: David Levine <levinedl@acm.org> 6489Date: Tue Oct 11 08:53:32 2016 -0400 6490 6491 Moved gcc warning options from AM_CFLAGS back to CFLAGS, to 6492 make it easier for packagers to override. This is a partial 6493 rollback of commit f7eb978bd395752d3d9037ea4436b8e2db41f135. 6494 6495Author: David Levine <levinedl@acm.org> 6496Date: Tue Oct 11 08:41:10 2016 -0400 6497 6498 Added LANG to procmail example in mhfixmsg man page. 6499 6500Author: David Levine <levinedl@acm.org> 6501Date: Mon Oct 10 16:43:56 2016 -0400 6502 6503 Corrected date in forw man page. 6504 6505Author: David Levine <levinedl@acm.org> 6506Date: Mon Oct 10 16:42:57 2016 -0400 6507 6508 Tweaked OAuth documentation in mhlogin and send man pages. 6509 6510Author: David Levine <levinedl@acm.org> 6511Date: Mon Oct 10 16:42:20 2016 -0400 6512 6513 Removed reference to nmh User's Manual because there is no such 6514 thing. There was an MH User's Manual, but that is not distributed 6515 with nmh. 6516 6517Author: David Levine <levinedl@acm.org> 6518Date: Mon Oct 10 09:54:51 2016 -0400 6519 6520 Changed test suite's require_locale() to set the locale that it 6521 finds, and added upper case versions of locale names to each test. 6522 This should allow the tests to succeed on old Solaris. 6523 6524Author: David Levine <levinedl@acm.org> 6525Date: Sun Oct 9 13:59:11 2016 -0400 6526 6527 Added -sasl to -saslmech xoauth examples in man pages. 6528 6529Author: David Levine <levinedl@acm.org> 6530Date: Fri Oct 7 22:21:02 2016 -0400 6531 6532 Replace `id -u` with $$ so that tests have a chance of working 6533 on old Solaris hosts. 6534 6535Author: David Levine <levinedl@acm.org> 6536Date: Fri Oct 7 11:07:03 2016 -0400 6537 6538 Added comments about sidestepping check for checks to determine 6539 whether replied-to text needs to be encoded in mhbuildsbr.c. 6540 6541Author: David Levine <levinedl@acm.org> 6542Date: Fri Oct 7 09:40:23 2016 -0400 6543 6544 Added example of decoding RFC-2047 filename to mhstore man page. 6545 6546Author: David Levine <levinedl@acm.org> 6547Date: Thu Oct 6 18:01:50 2016 -0400 6548 6549 A better fix than e87f37c27828723317a71291e31b34f39ec09098, because 6550 c_reqencoding should be set for text content in replies if we don't 6551 want it to be encoded. Scan the text content to see if it is 7- or 6552 8-bit, and set c_reqencoding accordingly. 6553 6554Author: David Levine <levinedl@acm.org> 6555Date: Thu Oct 6 17:53:00 2016 -0400 6556 6557 Moved scan_input() from uip/post.c to sbr/utils.c. 6558 6559Author: David Levine <levinedl@acm.org> 6560Date: Thu Oct 6 13:10:19 2016 -0400 6561 6562 Updated test-version-check test_skip message. 6563 6564Author: David Levine <levinedl@acm.org> 6565Date: Thu Oct 6 13:07:20 2016 -0400 6566 6567 Fixed test negations in test-version-check to work with make distcheck. 6568 6569Author: David Levine <levinedl@acm.org> 6570Date: Thu Oct 6 12:57:45 2016 -0400 6571 6572 OK, don't run test-version-check if not connected to terminal. 6573 6574Author: David Levine <levinedl@acm.org> 6575Date: Thu Oct 6 12:47:52 2016 -0400 6576 6577 More debugging test-version-check. 6578 6579Author: David Levine <levinedl@acm.org> 6580Date: Thu Oct 6 12:45:52 2016 -0400 6581 6582 Replaced strtod() with strtof(). 6583 6584Author: David Levine <levinedl@acm.org> 6585Date: Thu Oct 6 12:16:53 2016 -0400 6586 6587 More debugging. 6588 6589Author: David Levine <levinedl@acm.org> 6590Date: Thu Oct 6 11:59:24 2016 -0400 6591 6592 More test-version-check debugging, on Linux buildbot hosts. 6593 6594Author: David Levine <levinedl@acm.org> 6595Date: Thu Oct 6 11:47:26 2016 -0400 6596 6597 1) Use script(1) -t 0 instead of -f on FreeBSD. 6598 2) Added another debug printout. 6599 6600Author: David Levine <levinedl@acm.org> 6601Date: Thu Oct 6 11:30:19 2016 -0400 6602 6603 Accommodate FreeBSD script(1), and add debugging statement to diagnose 6604 failure on ubuntu buildbot host. 6605 6606Merge: 641e461 84eab76 6607Author: David Levine <levinedl@acm.org> 6608Date: Thu Oct 6 09:39:27 2016 -0400 6609 6610 Merge branch 'welcome' 6611 6612Author: David Levine <levinedl@acm.org> 6613Date: Thu Oct 6 09:11:45 2016 -0400 6614 6615 Enable SMTP 8BITMIME for messages with 8-bit content: 6616 6617 1) In post, look for a Content-Transfer-Encoding header. It has to 6618 be the header for the message, not any MIME parts. If found, 6619 post trusts that it's correct. If there isn't one, post scans 6620 the entire message body for any 8-bit bytes. 6621 6622 2) If the message body is 8-bit: 6623 If the server supports 8BITMIME, enable it. 6624 6625 If the server doesn't support 8BITMIME, fail with a message to 6626 user that they need to encode the message for 7-bit transport. 6627 6628Author: David Levine <levinedl@acm.org> 6629Date: Wed Oct 5 16:04:11 2016 -0400 6630 6631 Call c_ceclosefnx in mhfixmsg set_ce(). It doesn't seem to help 6632 reduce file descriptor leaks, but can't hurt. 6633 6634Author: David Levine <levinedl@acm.org> 6635Date: Wed Oct 5 16:02:47 2016 -0400 6636 6637 Don't set c_reqencoding in repl, let mhbuild set it based on 6638 the content. 6639 6640Author: Ken Hornstein <kenh@pobox.com> 6641Date: Tue Oct 4 22:00:12 2016 -0400 6642 6643 Improve these comments a bit. 6644 6645Author: David Levine <levinedl@acm.org> 6646Date: Tue Oct 4 21:24:10 2016 -0400 6647 6648 Enabled check for 8-bit content in all text parts, not just those 6649 with no specified character set, so that a Content-Transfer-Encoding 6650 header will be added if needed. 6651 6652Author: David Levine <levinedl@acm.org> 6653Date: Tue Oct 4 19:08:42 2016 -0400 6654 6655 Have mhfixmsg add a C-T-E at the message level, based on the least 6656 restrictive C-T-E of its parts. 6657 6658Author: David Levine <levinedl@acm.org> 6659Date: Mon Oct 3 21:30:14 2016 -0400 6660 6661 Base Content-Transfer-Encoding on decoded and new text parts on 6662 content rather than the user's charset. 6663 6664Author: David Levine <levinedl@acm.org> 6665Date: Mon Oct 3 17:59:51 2016 -0400 6666 6667 Fixed typo. 6668 6669Author: David Levine <levinedl@acm.org> 6670Date: Mon Oct 3 17:50:35 2016 -0400 6671 6672 Fix C-T-E of message, as well as multipart, types to be 7bit, 8bit, 6673 or binary. 6674 6675Author: David Levine <levinedl@acm.org> 6676Date: Sun Oct 2 09:53:56 2016 -0400 6677 6678 Added test of SMTP server that doesn't support SMTPUTF8. 6679 6680Author: Ken Hornstein <kenh@pobox.com> 6681Date: Sun Oct 2 02:05:44 2016 -0400 6682 6683 Fix some typos in the comments. 6684 6685Author: Ken Hornstein <kenh@pobox.com> 6686Date: Sun Oct 2 01:47:15 2016 -0400 6687 6688 Move the read buffer shuffling to BEFORE where we call the network 6689 read routines; otherwise we can end up calling the lower layers with 6690 a length of zero, which messes everything up. 6691 6692 Also make sure we reshuffle our pointers around if that happens. 6693 6694Author: David Levine <levinedl@acm.org> 6695Date: Sat Oct 1 14:37:27 2016 -0400 6696 6697 mhfixmsg now replaces RFC 2047 encoding with RFC 2231 encoding of 6698 name and filename parameters in Content-Type and Content-Disposition 6699 headers, respectively. 6700 6701Author: David Levine <levinedl@acm.org> 6702Date: Sat Oct 1 12:49:12 2016 -0400 6703 6704 Cleaned up a bit, mostly in comments for each function. 6705 6706Author: Ken Hornstein <kenh@pobox.com> 6707Date: Sat Oct 1 01:02:34 2016 -0400 6708 6709 Sigh, the return value from SSL_get_error() isn't suitable to give 6710 to ERR_get_error(), so use a different function to get the error. 6711 6712Author: Ken Hornstein <kenh@pobox.com> 6713Date: Fri Sep 30 21:24:43 2016 -0400 6714 6715 Print even more errors. 6716 6717Author: Ken Hornstein <kenh@pobox.com> 6718Date: Fri Sep 30 15:15:08 2016 -0400 6719 6720 Add -initialtls/-notls flags to msgchk. 6721 6722Author: Ken Hornstein <kenh@pobox.com> 6723Date: Fri Sep 30 15:07:03 2016 -0400 6724 6725 Make sure we retry if possible upon a TLS read, and give a more meaningful 6726 error if we can't. 6727 6728Author: David Levine <levinedl@acm.org> 6729Date: Fri Sep 30 10:35:06 2016 -0400 6730 6731 Added --sysconfdir to nmh.cygport. 6732 6733Author: David Levine <levinedl@acm.org> 6734Date: Fri Sep 30 09:18:27 2016 -0400 6735 6736 Replaced some hard-coded strings with variables in nmh.cygport. 6737 6738Author: Eric Gillespie <epg@pretzelnet.org> 6739Date: Fri Sep 30 00:55:55 2016 -0700 6740 6741 Fix typos and drop declaractions of 2 undefined functions. 6742 6743Author: David Levine <levinedl@acm.org> 6744Date: Thu Sep 29 15:18:02 2016 -0400 6745 6746 Updated comments in h/prototypes.h. 6747 6748Author: David Levine <levinedl@acm.org> 6749Date: Thu Sep 29 15:13:05 2016 -0400 6750 6751 Welcome message enhancements: 6752 1) Disable if Welcome: disable component is in profile. 6753 2) If MHCONTEXT is set, only print the message if the context file 6754 already has a Version: reference where the version is old. 6755 6756Author: David Levine <levinedl@acm.org> 6757Date: Thu Sep 29 11:40:10 2016 -0400 6758 6759 Instead of relying on invo_name to decide whether to call 6760 nmh_version_changed(), use a read_context setting of 1. 6761 6762Author: David Levine <levinedl@acm.org> 6763Date: Thu Sep 29 09:58:27 2016 -0400 6764 6765 Make sure stderr is directed to terminal, as well as stdin and 6766 stdout, when deciding whether to check for nmh version update. 6767 6768Author: David Levine <levinedl@acm.org> 6769Date: Wed Sep 28 18:48:16 2016 -0400 6770 6771 Wait for user to ack new version message. 6772 6773Author: David Levine <levinedl@acm.org> 6774Date: Wed Sep 28 15:01:43 2016 -0400 6775 6776 Added welcome message when nmh detects that its version changed. 6777 6778Author: Oliver Kiddle <okiddle@yahoo.co.uk> 6779Date: Wed Sep 28 09:58:54 2016 +0200 6780 6781 back out use of RFC 2047 decoding on the filename 6782 6783 The RFCs clearly state that an encoded word should not be used in 6784 the MIME parameters and the scheme from RFC2231 should be used 6785 instead. nmh supports that. Unfortunately, other mail clients, 6786 in particular gmail and IBM/Lotus Notes, produce messages with 6787 the invalid encoding. 6788 6789Author: David Levine <levinedl@acm.org> 6790Date: Tue Sep 27 08:29:05 2016 -0400 6791 6792 Added start_test/finish_test. 6793 6794Author: David Levine <levinedl@acm.org> 6795Date: Tue Sep 27 08:28:47 2016 -0400 6796 6797 Updated start_test() and finish_test() to not update the test name 6798 if there was a test failure. run_test disables exit on non-zero 6799 status, but does increment failed. 6800 6801Author: Oliver Kiddle <okiddle@yahoo.co.uk> 6802Date: Tue Sep 27 01:42:55 2016 +0200 6803 6804 Do RFC 2047 decoding on filename for mhstore 6805 6806Author: David Levine <levinedl@acm.org> 6807Date: Mon Sep 26 16:50:38 2016 -0400 6808 6809 Replaced use of GNU sed extension. 6810 6811Author: David Levine <levinedl@acm.org> 6812Date: Mon Sep 26 15:41:22 2016 -0400 6813 6814 Added debug statements to test-mhparam. 6815 6816Author: David Levine <levinedl@acm.org> 6817Date: Mon Sep 26 14:33:55 2016 -0400 6818 6819 Fixed typo in -help message. 6820 6821Author: David Levine <levinedl@acm.org> 6822Date: Mon Sep 26 12:07:50 2016 -0400 6823 6824 Reworked BUGS section of nmh(7) man page, and added excerpt 6825 to end of each -help message and to end of install-mh output. 6826 6827Merge: aaf014c 60048af 6828Author: David Levine <levinedl@acm.org> 6829Date: Mon Sep 26 08:58:55 2016 -0400 6830 6831 Merge remote-tracking branch 'origin' into smtputf8 6832 6833Author: David Levine <levinedl@acm.org> 6834Date: Sun Sep 25 12:58:05 2016 -0400 6835 6836 Added MH(7) man page, as an alias of nmh(7). 6837 6838Author: David Levine <levinedl@acm.org> 6839Date: Sun Sep 25 12:18:42 2016 -0400 6840 6841 Added mention of replaliases to mh-mime(7) man page. 6842 6843Merge: 2c00d44 38e17e1 6844Author: David Levine <levinedl@acm.org> 6845Date: Sun Sep 25 09:28:05 2016 -0400 6846 6847 Merge remote-tracking branch 'origin' into smtputf8 6848 6849Author: David Levine <levinedl@acm.org> 6850Date: Sat Sep 24 17:08:01 2016 -0400 6851 6852 Replace profile-based hack to allow getname() to handle 8-bit 6853 addresses with a global data-based hack. At least the global 6854 data is hidden in addrsbr.c. 6855 6856Author: David Levine <levinedl@acm.org> 6857Date: Sat Sep 24 17:01:32 2016 -0400 6858 6859 Removed send and post -eai switches. Instead, post now enables 6860 SMTPUTF8 if it finds any 8-bit characters in header field bodies. 6861 6862Author: David Levine <levinedl@acm.org> 6863Date: Sat Sep 24 12:21:40 2016 -0400 6864 6865 Disabled incompatible locale check because the output varies too 6866 much between platforms. 6867 6868 (cherry picked from commit 38e17e1b8ba306ed6137b174f2f196d09d02816f) 6869 6870Author: David Levine <levinedl@acm.org> 6871Date: Sat Sep 24 12:21:40 2016 -0400 6872 6873 Disabled incompatible locale check because the output varies too 6874 much between platforms. 6875 6876Author: David Levine <levinedl@acm.org> 6877Date: Sat Sep 24 12:10:28 2016 -0400 6878 6879 Wrapped some variables and arguments to prevent compile warnings 6880 when configured without SASL and OAUTH support. 6881 6882Author: David Levine <levinedl@acm.org> 6883Date: Sat Sep 24 10:42:58 2016 -0400 6884 6885 Added incompatible locale test to test/mhl/test-rfc6532. It's 6886 a placeholder to show that 8-bit header field values aren't 6887 properly handled if the locale is incompatible. 6888 6889 (cherry picked from commit 2cfa2ea56602d3bb0465a46c0b144017b497b558) 6890 6891Author: David Levine <levinedl@acm.org> 6892Date: Sat Sep 24 10:42:58 2016 -0400 6893 6894 Added incompatible locale test to test/mhl/test-rfc6532. It's 6895 a placeholder to show that 8-bit header field values aren't 6896 properly handled if the locale is incompatible. 6897 6898Author: David Levine <levinedl@acm.org> 6899Date: Sat Sep 24 09:44:39 2016 -0400 6900 6901 Added descriptive/usage information to top of replaliases. 6902 6903Author: Ken Hornstein <kenh@pobox.com> 6904Date: Sat Sep 24 02:01:05 2016 -0400 6905 6906 Change from an autoconf test for SSL_library_init to SSL_new, 6907 for compatibility with OpenSSL 1.1.0. 6908 6909Author: Ken Hornstein <kenh@pobox.com> 6910Date: Fri Sep 23 23:12:58 2016 -0400 6911 6912 Improve and update comments a bit, and also improve the error messages 6913 when we don't have Cyrus-SASL support compiled in. 6914 6915Author: David Levine <levinedl@acm.org> 6916Date: Fri Sep 23 22:13:04 2016 -0400 6917 6918 Specify that mhbuild -autoheaderencoding picks either base64 or q-p, 6919 but not utf-8. 6920 6921Author: Ken Hornstein <kenh@pobox.com> 6922Date: Fri Sep 23 22:04:44 2016 -0400 6923 6924 Add our sample localpostprox, and also pick up replaliases while we're 6925 at it. 6926 6927Author: David Levine <levinedl@acm.org> 6928Date: Fri Sep 23 21:54:26 2016 -0400 6929 6930 Renamed mhbuild -headerencoding 8bit to utf-8. 6931 6932Author: Ken Hornstein <kenh@pobox.com> 6933Date: Fri Sep 23 19:52:09 2016 -0400 6934 6935 Make it so we always return the chosen mechanism, even if we aren't 6936 using the Cyrus SASL library; this makes XOAUTH2 work without 6937 Cyrus-SASL. 6938 6939Author: Ken Hornstein <kenh@pobox.com> 6940Date: Fri Sep 23 19:51:36 2016 -0400 6941 6942 Missed removing SASLminc() from authservice switch. 6943 6944Author: Ken Hornstein <kenh@pobox.com> 6945Date: Fri Sep 23 19:30:21 2016 -0400 6946 6947 Switch to AM_DISTCHECK_CONFIGURE_FLAGS. 6948 6949Author: Ken Hornstein <kenh@pobox.com> 6950Date: Fri Sep 23 15:08:25 2016 -0400 6951 6952 Make the SASL flags work even without support for Cyrus-SASL. 6953 6954Author: Ken Hornstein <kenh@pobox.com> 6955Date: Fri Sep 23 15:07:51 2016 -0400 6956 6957 Move things around so you can still initialize netsec with SASL 6958 parameters even if you don't have Cyrus-SASL enabled. 6959 6960Author: Ken Hornstein <kenh@pobox.com> 6961Date: Fri Sep 23 14:48:50 2016 -0400 6962 6963 Move some of the SASL variables outside of the ifdef, so OAUTH 6964 can make use of them. Also, clean up some warnings. 6965 6966Author: Ken Hornstein <kenh@pobox.com> 6967Date: Fri Sep 23 14:22:29 2016 -0400 6968 6969 Update documentation a bit. 6970 6971Author: Ken Hornstein <kenh@pobox.com> 6972Date: Fri Sep 23 14:21:23 2016 -0400 6973 6974 Whoops, a typo from the last merge; when the one variable got 6975 reformatted continuation escapes weren't included. 6976 6977Merge: f3cd885 2ebd126 6978Author: Ken Hornstein <kenh@pobox.com> 6979Date: Fri Sep 23 14:14:26 2016 -0400 6980 6981 Merge branch 'pop-tls' 6982 6983Author: Ken Hornstein <kenh@pobox.com> 6984Date: Fri Sep 23 14:13:23 2016 -0400 6985 6986 Don't output snoop information when doing RETR or TOP. 6987 6988Author: Ken Hornstein <kenh@pobox.com> 6989Date: Fri Sep 23 14:00:59 2016 -0400 6990 6991 Switch decodeBase64() second argument to an unsigned char **. 6992 6993Author: Ken Hornstein <kenh@pobox.com> 6994Date: Fri Sep 23 13:59:52 2016 -0400 6995 6996 Don't always output a decoded SASL token; if it's a large binary blob, just 6997 stick with the base64 output. 6998 6999Author: David Levine <levinedl@acm.org> 7000Date: Fri Sep 23 11:55:20 2016 -0400 7001 7002 Added SMTPUTF8 (RFC 6531) support: 7003 1) Allow 8-bit characters in addresses. 7004 2) Disable RFC 2047 encoding of (all) header field bodies, via 7005 mhbuild -headerencoding 8bit. 7006 3) Have post enable it in the SMTP transaction. 7007 4) If enabled, add the commands to the SMTP transaction 7008 (MAIL FROM: <address> BODY=8BITMIME SMTPUTF8). 7009 Some things may changed, such as the 8bit encoding algorithm name. 7010 7011Author: David Levine <levinedl@acm.org> 7012Date: Fri Sep 23 08:21:57 2016 -0400 7013 7014 Rearranged statements to avoid compile warning about mixed 7015 declarations and code. 7016 7017Author: David Levine <levinedl@acm.org> 7018Date: Fri Sep 23 08:20:27 2016 -0400 7019 7020 Fixed typo (NOTLSSW). 7021 7022Author: Ken Hornstein <kenh@pobox.com> 7023Date: Thu Sep 22 23:27:36 2016 -0400 7024 7025 Garbage collect the saslmaxssf flag, and update documentation for 7026 new -initialtls flag and -notls flags for inc. 7027 7028Author: Ken Hornstein <kenh@pobox.com> 7029Date: Thu Sep 22 23:10:59 2016 -0400 7030 7031 Forgot to reset the snoop callback one time. 7032 7033Author: Ken Hornstein <kenh@pobox.com> 7034Date: Thu Sep 22 21:26:39 2016 -0400 7035 7036 Fix some typos and warnings. 7037 7038Author: Ken Hornstein <kenh@pobox.com> 7039Date: Thu Sep 22 20:01:34 2016 -0400 7040 7041 Switched to "server" instead of "client" for SASL remote hostname. 7042 7043Author: Ken Hornstein <kenh@pobox.com> 7044Date: Thu Sep 22 19:31:57 2016 -0400 7045 7046 Garbage collect unused code. 7047 7048Author: Ken Hornstein <kenh@pobox.com> 7049Date: Thu Sep 22 19:24:50 2016 -0400 7050 7051 Whoops, turns out I originally ran this test with XOAUTH set. Fix the 7052 output and make sure the common script unsets XOAUTH so this doesn't 7053 happen again. 7054 7055Author: Ken Hornstein <kenh@pobox.com> 7056Date: Thu Sep 22 19:12:36 2016 -0400 7057 7058 Change the tests to make them work with the new program output 7059 and slight change in the interface. 7060 7061Author: Ken Hornstein <kenh@pobox.com> 7062Date: Thu Sep 22 19:12:12 2016 -0400 7063 7064 Add error reporting for one case, and move around the return code 7065 in the SASL callback a bit. 7066 7067Author: Ken Hornstein <kenh@pobox.com> 7068Date: Thu Sep 22 19:11:32 2016 -0400 7069 7070 Add the SASL callback; things work now! 7071 7072Author: Ken Hornstein <kenh@pobox.com> 7073Date: Thu Sep 22 19:10:23 2016 -0400 7074 7075 Disable the original call to BIO_flush() now that we're doing our 7076 own buffering. 7077 7078Author: Ken Hornstein <kenh@pobox.com> 7079Date: Thu Sep 22 19:05:39 2016 -0400 7080 7081 I had forgotten that nesec_set_tls() has to be called AFTER the 7082 descriptors are set. 7083 7084Author: David Levine <levinedl@acm.org> 7085Date: Thu Sep 22 14:08:10 2016 -0400 7086 7087 Fixed test-mhfixmsg by using octal instead of hex bytes with 7088 printf(1). 7089 7090Author: David Levine <levinedl@acm.org> 7091Date: Thu Sep 22 13:54:50 2016 -0400 7092 7093 Removed temporary debuggin printout. 7094 7095Author: David Levine <levinedl@acm.org> 7096Date: Thu Sep 22 13:39:55 2016 -0400 7097 7098 Added start_test/finish_test. 7099 7100Author: David Levine <levinedl@acm.org> 7101Date: Thu Sep 22 13:39:42 2016 -0400 7102 7103 Added temporary diagnostic printout. 7104 7105Author: David Levine <levinedl@acm.org> 7106Date: Thu Sep 22 13:07:32 2016 -0400 7107 7108 Allow -decodetext binary, though 8bit is still the default because 7109 binary can produce messages that are not RFC 2045 compliant. 7110 7111Author: David Levine <levinedl@acm.org> 7112Date: Thu Sep 22 08:24:49 2016 -0400 7113 7114 Specify full path to mhl in test because it might not be on PATH. 7115 7116Author: Ken Hornstein <kenh@pobox.com> 7117Date: Thu Sep 22 00:05:13 2016 -0400 7118 7119 Alright, things compile now, but don't link yet; need to write the 7120 SMTP sasl callback. 7121 7122Author: Ken Hornstein <kenh@pobox.com> 7123Date: Thu Sep 22 00:04:43 2016 -0400 7124 7125 Okay, fixed a few more things. Almost there? 7126 7127Merge: 64a5aa1 cff807b 7128Author: Ken Hornstein <kenh@pobox.com> 7129Date: Wed Sep 21 23:33:29 2016 -0400 7130 7131 Merge branch 'pop-tls' of git.sv.gnu.org:/srv/git/nmh into pop-tls 7132 7133Author: Ken Hornstein <kenh@pobox.com> 7134Date: Wed Sep 21 23:32:11 2016 -0400 7135 7136 Change things so we can take two file descriptors, one for input 7137 and one for output. 7138 7139Author: Ken Hornstein <kenh@pobox.com> 7140Date: Wed Sep 21 16:51:21 2016 -0400 7141 7142 Okay! Squashed a few bugs, now have POP OAuth tests working. 7143 7144Author: David Levine <levinedl@acm.org> 7145Date: Wed Sep 21 13:49:21 2016 -0400 7146 7147 Fixed test-rfc6532: MIME-Version isn't ignored by mhl.headers. 7148 Maybe it should be? 7149 7150Author: David Levine <levinedl@acm.org> 7151Date: Wed Sep 21 11:54:49 2016 -0400 7152 7153 Added test/mhl/test-rfc6532. 7154 7155Author: Ken Hornstein <kenh@pobox.com> 7156Date: Wed Sep 21 00:06:52 2016 -0400 7157 7158 Add support for a base64-decoding snoop callback. 7159 7160Author: Ken Hornstein <kenh@pobox.com> 7161Date: Tue Sep 20 23:30:51 2016 -0400 7162 7163 Garbage-collect all of this unused code. 7164 7165Author: Ken Hornstein <kenh@pobox.com> 7166Date: Tue Sep 20 22:11:25 2016 -0400 7167 7168 We have OAauth working! But the tests don't work yet. 7169 7170Author: Ken Hornstein <kenh@pobox.com> 7171Date: Tue Sep 20 20:09:37 2016 -0400 7172 7173 Shuffle some stuff around, change some prototypes, and modify the 7174 oauth code a bit to fit our new structure. 7175 7176Author: David Levine <levinedl@acm.org> 7177Date: Tue Sep 20 12:23:04 2016 -0400 7178 7179 Plugged memory leak in openBase64(). 7180 7181Author: Ken Hornstein <kenh@pobox.com> 7182Date: Mon Sep 19 23:29:39 2016 -0400 7183 7184 Maybe ... it works? Sort of! Needs more testing, and for me to finish 7185 OAuth support. 7186 7187Author: Ken Hornstein <kenh@pobox.com> 7188Date: Mon Sep 19 19:59:40 2016 -0400 7189 7190 More work, but not there just yet. 7191 7192Author: Ken Hornstein <kenh@pobox.com> 7193Date: Sun Sep 18 22:03:18 2016 -0400 7194 7195 Okay, we're finally getting to implementation stage! Hopefully we'll be 7196 able to make it all work with POP first, then SMTP. 7197 7198Author: David Levine <levinedl@acm.org> 7199Date: Sun Sep 18 12:22:10 2016 -0400 7200 7201 Moved LDFLAGS to AM_LDFLAGS. 7202 7203Author: David Levine <levinedl@acm.org> 7204Date: Sun Sep 18 10:29:17 2016 -0400 7205 7206 Moved CFLAGS additions to AM_CFLAGS. 7207 7208Author: David Levine <levinedl@acm.org> 7209Date: Sun Sep 18 09:57:06 2016 -0400 7210 7211 Moved restore of CFLAGS outside of AC_CHECK_HEADER, so that it's done 7212 unconditionally. 7213 7214Author: Ken Hornstein <kenh@pobox.com> 7215Date: Sun Sep 18 01:15:20 2016 -0400 7216 7217 I think I've written all of these functions; now we just need to 7218 have everyone else use them. 7219 7220Author: David Levine <levinedl@acm.org> 7221Date: Sat Sep 17 17:11:23 2016 -0400 7222 7223 Added AM_CPPFLAGS to CFLAGS that are used for curl checks, because 7224 they're needed on Cygwin. (Without _GNU_SOURCE, sys/types.h doesn't 7225 include sys/select.h.) Also added AM_CFLAGS, which we don't currently 7226 use but might in the future. 7227 7228Author: David Levine <levinedl@acm.org> 7229Date: Sat Sep 17 10:15:11 2016 -0400 7230 7231 Updated Makefile.am to correspond to file replacement in commit 7232 4a007bacfa67e69923b15500e2b2c3a6bcde541a. 7233 7234Author: David Levine <levinedl@acm.org> 7235Date: Sat Sep 17 10:08:22 2016 -0400 7236 7237 Updated cygport script in preparation for nmh 1.7 release. 7238 7239Author: David Levine <levinedl@acm.org> 7240Date: Sat Sep 17 10:06:56 2016 -0400 7241 7242 Replaced cygwin build script with cygport script. 7243 7244Author: David Levine <levinedl@acm.org> 7245Date: Sat Sep 17 10:05:35 2016 -0400 7246 7247 Added libcurl to Cygwin package requirements, if configured 7248 with --with-oauth. 7249 7250Author: David Levine <levinedl@acm.org> 7251Date: Fri Sep 16 17:47:31 2016 -0400 7252 7253 Added oauth to mhparam examples. 7254 7255Author: Ken Hornstein <kenh@pobox.com> 7256Date: Fri Sep 16 15:59:27 2016 -0400 7257 7258 Still closer, but not quite there yet. 7259 7260Author: David Levine <levinedl@acm.org> 7261Date: Fri Sep 16 12:08:55 2016 -0400 7262 7263 Moved LFLAGS additions to AM_LFLAGS. 7264 7265Author: David Levine <levinedl@acm.org> 7266Date: Fri Sep 16 11:56:42 2016 -0400 7267 7268 Use CPPFLAGS instead of AM_CPPFLAGS for FreeBSD additions. 7269 Otherwise, it will miss -liconv. I think. 7270 7271Author: David Levine <levinedl@acm.org> 7272Date: Fri Sep 16 11:15:45 2016 -0400 7273 7274 Cleaned up cppflags.m4 a bit and fixed its mode. 7275 7276Author: David Levine <levinedl@acm.org> 7277Date: Fri Sep 16 08:28:18 2016 -0400 7278 7279 Moved CPPFLAGS additions to AM_CPPFLAGS. 7280 7281Author: Ken Hornstein <kenh@pobox.com> 7282Date: Thu Sep 15 22:36:17 2016 -0400 7283 7284 Okay, a bit closer. 7285 7286Author: David Levine <levinedl@acm.org> 7287Date: Thu Sep 15 20:00:02 2016 -0400 7288 7289 Added 2 second timeout to curl command in post() in oauth.c, for 7290 localhost requests only, because the default timeout on Cygwin is 5 7291 minutes. 7292 7293Author: David Levine <levinedl@acm.org> 7294Date: Thu Sep 15 18:58:14 2016 -0400 7295 7296 Added NMH_ADDL_CPPFLAGS macro in new m4/cppflags.m4, to remove 7297 explicit OS dependencies when deciding whether -DGNU_SOURCE is 7298 needed. (Cygwin now needs it.) 7299 7300Author: Ken Hornstein <kenh@pobox.com> 7301Date: Thu Sep 15 16:00:07 2016 -0400 7302 7303 Fleshed out some more, but we're not there just yet. 7304 7305Author: Ken Hornstein <kenh@pobox.com> 7306Date: Wed Sep 14 00:00:48 2016 -0400 7307 7308 A bit more code. 7309 7310Author: Ken Hornstein <kenh@pobox.com> 7311Date: Tue Sep 13 16:00:46 2016 -0400 7312 7313 Save this for now. 7314 7315Author: Ken Hornstein <kenh@pobox.com> 7316Date: Mon Sep 12 21:37:06 2016 -0400 7317 7318 More functions documented. 7319 7320Author: Ken Hornstein <kenh@pobox.com> 7321Date: Mon Sep 12 19:07:29 2016 -0400 7322 7323 Beginnings of a new library API. 7324 7325Author: David Levine <levinedl@acm.org> 7326Date: Sun Sep 11 11:49:44 2016 -0400 7327 7328 Exposed a bunch of switches that are now documented. 7329 7330Author: David Levine <levinedl@acm.org> 7331Date: Sun Sep 11 11:30:42 2016 -0400 7332 7333 Added Examples section to mhlogin man page. 7334 7335Author: Ken Hornstein <kenh@pobox.com> 7336Date: Sun Sep 11 00:41:18 2016 -0400 7337 7338 Add a "file-nopermcheck" credential entry. 7339 7340Author: Ken Hornstein <kenh@pobox.com> 7341Date: Sun Sep 11 00:05:25 2016 -0400 7342 7343 Change this so the MTS_SMTP is the default, to match the value 7344 of mts_method and the original code. 7345 7346Author: Ken Hornstein <kenh@pobox.com> 7347Date: Sun Sep 11 00:01:28 2016 -0400 7348 7349 Remove the unused argument from mts_init() (as far as I can tell, 7350 it has never been used, for anything). 7351 7352Author: Ken Hornstein <kenh@pobox.com> 7353Date: Fri Sep 9 15:49:26 2016 -0400 7354 7355 Closer, but not there yet. 7356 7357Author: Ken Hornstein <kenh@pobox.com> 7358Date: Thu Sep 8 15:40:04 2016 -0400 7359 7360 Started ... not quite working yet. 7361 7362Author: Ken Hornstein <kenh@pobox.com> 7363Date: Thu Sep 8 13:13:57 2016 -0400 7364 7365 Only get a write lock on the sequences file if we're performing a pack 7366 operation. 7367 7368Author: David Levine <levinedl@acm.org> 7369Date: Tue Sep 6 18:02:46 2016 -0400 7370 7371 Added some NMH_UNUSED's to prevent compile warnings without 7372 OAUTH_SUPPORT. 7373 7374Author: David Levine <levinedl@acm.org> 7375Date: Tue Sep 6 17:49:59 2016 -0400 7376 7377 Protected call of mh_oauth_do_xoauth() with #ifdef OAUTH_SUPPORT to 7378 allow post(1) to link when configured without it. 7379 7380Author: David Levine <levinedl@acm.org> 7381Date: Tue Sep 6 17:36:16 2016 -0400 7382 7383 Protected use of setup_oauth_params() with #ifdef OAUTH_SUPPORT. 7384 7385Author: Ken Hornstein <kenh@pobox.com> 7386Date: Tue Sep 6 15:32:28 2016 -0400 7387 7388 Under some circumstances, some version of MacOS X can return EPROTOTYPE 7389 if you try to write to a connection that is being torn down. Handle 7390 that case. 7391 7392Author: David Levine <levinedl@acm.org> 7393Date: Tue Sep 6 09:16:15 2016 -0400 7394 7395 Removed incorrect increment of read position pointer, which caused 7396 first character of some very short (less than 4 characters) message 7397 bodies to be dropped. It seems that the message needed to start 7398 with a "From " line to reveal the problem. 7399 7400Merge: 5776f9b da91c15 7401Author: Ken Hornstein <kenh@pobox.com> 7402Date: Mon Sep 5 20:32:03 2016 -0400 7403 7404 Merge branch 'xoauth' 7405 7406Author: Ken Hornstein <kenh@pobox.com> 7407Date: Mon Sep 5 20:21:55 2016 -0400 7408 7409 Change things so if -authservice wasn't given, throw an error. 7410 At the same time, improve the code so -authservice doesn't 7411 have to be given before the other oauth flags. 7412 7413Author: Ken Hornstein <kenh@pobox.com> 7414Date: Sun Sep 4 22:20:40 2016 -0400 7415 7416 Switch from our horrible awk script that parses the signal header file 7417 to the POSIX function strsignal(). 7418 7419Author: Ken Hornstein <kenh@pobox.com> 7420Date: Sun Sep 4 20:42:21 2016 -0400 7421 7422 Fix up a few minor nits to make OAuth2 (finally!) work right in post(8). 7423 Change the tests to support the new error output. 7424 7425Author: Ken Hornstein <kenh@pobox.com> 7426Date: Sat Sep 3 23:46:45 2016 -0400 7427 7428 Add new signal include file location for El Capitan. I am not sure 7429 this is in general the right approach. 7430 7431Author: David Levine <levinedl@acm.org> 7432Date: Mon Aug 29 09:26:38 2016 -0400 7433 7434 Added warning message on stderr if folder -nocreate is provided 7435 a non-existant folder. 7436 7437 (cherry picked from commit d51964a51fdc08d92dab9825a8357c9adba34aa7) 7438 7439Author: David Levine <levinedl@acm.org> 7440Date: Mon Aug 29 09:26:38 2016 -0400 7441 7442 Added warning message on stderr if folder -nocreate is provided 7443 a non-existant folder. 7444 7445Author: David Levine <david.levine@gonift.com> 7446Date: Sun Aug 21 13:04:59 2016 -0400 7447 7448 Removed jsmn license from COPYRIGHT. In keeping what appears to 7449 be standard practice, the COPYRIGHT file just contains the nmh 7450 copyright. We retain the jsmn license in thirdparty/jsmn/LICENSE. 7451 7452Author: David Levine <david.levine@gonift.com> 7453Date: Sun Aug 21 12:22:42 2016 -0400 7454 7455 Check result of setup_oauth_params() for != OK instead of non-zero. 7456 7457Author: Ken Hornstein <kenh@pobox.com> 7458Date: Sun Aug 21 00:39:36 2016 -0400 7459 7460 Very close, but it doesn't passes the tests just yet. 7461 7462Author: Ken Hornstein <kenh@pobox.com> 7463Date: Sat Aug 20 01:18:13 2016 -0400 7464 7465 Retrieve appropriate profile entries and pass them to post(8). 7466 Not quite working yet. 7467 7468Author: Ken Hornstein <kenh@pobox.com> 7469Date: Tue Aug 16 23:35:09 2016 -0400 7470 7471 Start of adding arguments for transmitting OAuth parameters to 7472 post. 7473 7474 (cherry picked from commit 68246559a5087f3a3c13ef2a6240a7c18dd9c155) 7475 7476Author: Ken Hornstein <kenh@pobox.com> 7477Date: Tue Aug 16 23:35:09 2016 -0400 7478 7479 Start of adding arguments for transmitting OAuth parameters to 7480 post. 7481 7482Author: Ken Hornstein <kenh@pobox.com> 7483Date: Mon Aug 15 14:39:04 2016 -0400 7484 7485 Add $(ICONVLIB) to programs that need it. 7486 7487 (cherry picked from commit 8c9441dc98bb4ce98ae70528d5415d9f5507713e) 7488 7489Author: Ken Hornstein <kenh@pobox.com> 7490Date: Mon Aug 15 14:39:04 2016 -0400 7491 7492 Add $(ICONVLIB) to programs that need it. 7493 7494Author: David Levine <levinedl@acm.org> 7495Date: Mon Aug 15 10:58:33 2016 -0400 7496 7497 Create $MH_OBJ_DIR/test/testdir if it doesn't already exist. This 7498 allows a test to be run standalone, now that said directory must 7499 exist before defining $MH_TEST_DIR. 7500 7501 (cherry picked from commit 0f53d91688c0fab28b900ad27a1610a755dea526) 7502 7503Author: David Levine <levinedl@acm.org> 7504Date: Mon Aug 15 10:58:33 2016 -0400 7505 7506 Create $MH_OBJ_DIR/test/testdir if it doesn't already exist. This 7507 allows a test to be run standalone, now that said directory must 7508 exist before defining $MH_TEST_DIR. 7509 7510Author: David Levine <levinedl@acm.org> 7511Date: Mon Aug 15 10:31:43 2016 -0400 7512 7513 Plug a couple of (harmless) memory leaks in mhfixmsg. 7514 7515 (cherry picked from commit 58d22c00deb7bc9c771c5293079f6f89bc28274a) 7516 7517Author: David Levine <levinedl@acm.org> 7518Date: Mon Aug 15 10:31:43 2016 -0400 7519 7520 Plug a couple of (harmless) memory leaks in mhfixmsg. 7521 7522Author: David Levine <levinedl@acm.org> 7523Date: Sun Aug 14 20:45:43 2016 -0400 7524 7525 Handle base64 decoding decoding of initial response for all AUTH 7526 mechanisms the same way, based on RFC 4954 spec. Also, don't try 7527 to decode = or * response. 7528 7529 (cherry picked from commit b3ebdfc56e7a0199a60d80f54872e86969d96933) 7530 7531Author: David Levine <levinedl@acm.org> 7532Date: Sun Aug 14 20:45:43 2016 -0400 7533 7534 Handle base64 decoding decoding of initial response for all AUTH 7535 mechanisms the same way, based on RFC 4954 spec. Also, don't try 7536 to decode = or * response. 7537 7538Author: Ken Hornstein <kenh@pobox.com> 7539Date: Sun Aug 14 13:26:59 2016 -0400 7540 7541 Newer versions of Automake want to include the test-driver script, 7542 so make sure we ignore it. 7543 7544 (cherry picked from commit bd6f799b1d98c11b50a4121c9ac763bcf1b1b3fe) 7545 7546Author: Ken Hornstein <kenh@pobox.com> 7547Date: Sun Aug 14 13:25:51 2016 -0400 7548 7549 Use isascii() with isprint(), since using isprint() on 7550 bytes > 127 is undefined. 7551 7552 (cherry picked from commit 7054379384884f0975c687ce9b2cd8c20e3f2c12) 7553 7554Author: Ken Hornstein <kenh@pobox.com> 7555Date: Sun Aug 14 13:26:59 2016 -0400 7556 7557 Newer versions of Automake want to include the test-driver script, 7558 so make sure we ignore it. 7559 7560Author: Ken Hornstein <kenh@pobox.com> 7561Date: Sun Aug 14 13:25:51 2016 -0400 7562 7563 Use isascii() with isprint(), since using isprint() on 7564 bytes > 127 is undefined. 7565 7566Author: David Levine <levinedl@acm.org> 7567Date: Sun Aug 14 13:11:50 2016 -0400 7568 7569 Set HOME in tests if unset, to avoid warning from w3m about not being 7570 about to create config directory. 7571 7572 (cherry picked from commit 30a9c9b62fa92df289079080eb5ee57d2fda3951) 7573 7574Author: David Levine <levinedl@acm.org> 7575Date: Sun Aug 14 13:11:50 2016 -0400 7576 7577 Set HOME in tests if unset, to avoid warning from w3m about not being 7578 about to create config directory. 7579 7580Author: David Levine <levinedl@acm.org> 7581Date: Sun Aug 14 11:04:07 2016 -0400 7582 7583 Fixed typo in man page. 7584 7585Author: David Levine <david.levine@gonift.com> 7586Date: Sun Aug 14 11:02:50 2016 -0400 7587 7588 Fixed a couple of typos in man pages. 7589 7590Author: David Levine <david.levine@gonift.com> 7591Date: Sun Aug 14 10:59:13 2016 -0400 7592 7593 Attempt to decode base64-encoded strings in -snoop traffic. 7594 7595Author: David Levine <levinedl@acm.org> 7596Date: Sun Aug 14 10:57:51 2016 -0400 7597 7598 Attempt to decode base64-encoded strings in -snoop traffic. 7599 7600Author: David Levine <levinedl@acm.org> 7601Date: Wed Aug 10 11:58:45 2016 -0400 7602 7603 Canonicalize MH_TEST_DIR in TESTS_ENVIRONMENT. 7604 7605 (cherry picked from commit 28c31eb83bf6113dd72182bb5f13c4da99372d9e) 7606 7607Author: David Levine <levinedl@acm.org> 7608Date: Wed Aug 10 11:47:36 2016 -0400 7609 7610 Use pwd -P to canonicalize MH_TEST_DIR. 7611 7612 (cherry picked from commit 6f94c7d978b034d34319236e8a868a5b225605c0) 7613 7614Author: David Levine <levinedl@acm.org> 7615Date: Wed Aug 10 11:41:01 2016 -0400 7616 7617 Added debug printouts. 7618 7619 (cherry picked from commit 5d8bc1288d5bd672bfb81b347e4c7742fbe644d1) 7620 7621Author: David Levine <levinedl@acm.org> 7622Date: Wed Aug 10 11:19:00 2016 -0400 7623 7624 Canonicalized MH_TEST_DIR, and replaced use of `pwd` with it, to 7625 try to prevent test failures on fbsd10 test host. 7626 7627 (cherry picked from commit 1846c42228ff68f328cb046027bc7a03ec3ba596) 7628 7629Author: David Levine <levinedl@acm.org> 7630Date: Wed Aug 10 11:58:45 2016 -0400 7631 7632 Canonicalize MH_TEST_DIR in TESTS_ENVIRONMENT. 7633 7634Author: David Levine <levinedl@acm.org> 7635Date: Wed Aug 10 11:47:36 2016 -0400 7636 7637 Use pwd -P to canonicalize MH_TEST_DIR. 7638 7639Author: David Levine <levinedl@acm.org> 7640Date: Wed Aug 10 11:41:01 2016 -0400 7641 7642 Added debug printouts. 7643 7644Author: David Levine <levinedl@acm.org> 7645Date: Wed Aug 10 11:19:00 2016 -0400 7646 7647 Canonicalized MH_TEST_DIR, and replaced use of `pwd` with it, to 7648 try to prevent test failures on fbsd10 test host. 7649 7650Author: David Levine <levinedl@acm.org> 7651Date: Fri Jul 22 10:08:24 2016 -0400 7652 7653 Fixed comments describing decodeBase64(). 7654 7655 (cherry picked from commit 06b87ce464beb93a7929541c355edf580ccec023) 7656 7657Author: David Levine <levinedl@acm.org> 7658Date: Fri Jul 22 10:08:24 2016 -0400 7659 7660 Fixed comments describing decodeBase64(). 7661 7662Author: David Levine <levinedl@acm.org> 7663Date: Wed Jul 20 21:25:01 2016 -0400 7664 7665 Factored out base64 decoding code into decodeBase64(). 7666 7667 (cherry picked from commit 522c66eae1a144e0631dfaa61f1632e341ea7ce6) 7668 7669Author: David Levine <levinedl@acm.org> 7670Date: Wed Jul 20 21:14:25 2016 -0400 7671 7672 Moved md5.c from uip to sbr. 7673 7674 (cherry picked from commit 98c792e2effa2656e4fce979d6f6eec44d64131c) 7675 7676Author: David Levine <levinedl@acm.org> 7677Date: Wed Jul 20 21:25:01 2016 -0400 7678 7679 Factored out base64 decoding code into decodeBase64(). 7680 7681Author: David Levine <levinedl@acm.org> 7682Date: Wed Jul 20 21:14:25 2016 -0400 7683 7684 Moved md5.c from uip to sbr. 7685 7686Author: David Levine <levinedl@acm.org> 7687Date: Fri Jul 8 11:01:07 2016 -0400 7688 7689 Updated send(1) man page to note that sendfrom looks in 7690 Envelope-From and Sender headers as well as the From header. 7691 7692 (cherry picked from commit b347135ed8e4c15c6562d7b3d7924bd9ef7f1589) 7693 7694Author: David Levine <levinedl@acm.org> 7695Date: Fri Jul 8 11:01:07 2016 -0400 7696 7697 Updated send(1) man page to note that sendfrom looks in 7698 Envelope-From and Sender headers as well as the From header. 7699 7700Merge: ae54f99 75ac400 7701Author: David Levine <david.levine@gonift.com> 7702Date: Fri Jul 8 10:48:59 2016 -0400 7703 7704 Merge remote-tracking branch 'origin' into xoauth 7705 7706Author: David Levine <levinedl@acm.org> 7707Date: Fri Jul 8 10:35:52 2016 -0400 7708 7709 Added Envelope-From and Sender support to sendfrom. 7710 7711Author: David Levine <levinedl@acm.org> 7712Date: Fri Jul 8 10:28:20 2016 -0400 7713 7714 Changed addresses to use example.com. 7715 7716Author: David Levine <levinedl@acm.org> 7717Date: Fri Jul 8 09:59:58 2016 -0400 7718 7719 export MH_TEST_DIR so that test/dist/test-dist can be run standalone. 7720 7721Author: David Levine <david.levine@gonift.com> 7722Date: Tue Jul 5 12:10:05 2016 -0400 7723 7724 Moved sendfrom code from contrib into send(1). 7725 7726Author: David Levine <levinedl@acm.org> 7727Date: Tue Jul 5 12:02:59 2016 -0400 7728 7729 Moved sendfrom code from contrib into send(1). 7730 7731Author: David Levine <levinedl@acm.org> 7732Date: Tue Jul 5 09:57:07 2016 -0400 7733 7734 Added context_find_prefix(). 7735 7736Author: David Levine <david.levine@gonift.com> 7737Date: Mon Jul 4 18:25:53 2016 -0400 7738 7739 Added context_find_prefix(). 7740 7741Author: David Levine <levinedl@acm.org> 7742Date: Sat Jun 25 21:22:37 2016 -0400 7743 7744 Wrapped code block of conditional statement with {}, so that the 7745 second statement is now included in the conditional. Found by 7746 gcc 6 -Wmisleading-indentation. 7747 7748 (cherry picked from commit 9626eb33ed5ff7c59776081e1a58a20a1eed96be) 7749 7750Author: David Levine <levinedl@acm.org> 7751Date: Sat Jun 25 21:19:37 2016 -0400 7752 7753 Moved free(cp) to right after last (and only) use of cp. The statement 7754 was flagged by gcc 6 -Wmisleading-indentation. In its original location, 7755 it would not always have been called, resulting in leaked memory. 7756 7757 (cherry picked from commit 79f012b76eba04d50a36a4a37c57458a8d521434) 7758 7759Author: David Levine <levinedl@acm.org> 7760Date: Sat Jun 25 21:17:05 2016 -0400 7761 7762 Fixed indentation to prevent warning from gcc 6 -Wmisleading-indentation. 7763 7764 (cherry picked from commit a814c930041c1e238f1826b1ac9c46b67e4cfb70) 7765 7766Author: David Levine <levinedl@acm.org> 7767Date: Sat Jun 25 21:22:37 2016 -0400 7768 7769 Wrapped code block of conditional statement with {}, so that the 7770 second statement is now included in the conditional. Found by 7771 gcc 6 -Wmisleading-indentation. 7772 7773Author: David Levine <levinedl@acm.org> 7774Date: Sat Jun 25 21:19:37 2016 -0400 7775 7776 Moved free(cp) to right after last (and only) use of cp. The statement 7777 was flagged by gcc 6 -Wmisleading-indentation. In its original location, 7778 it would not always have been called, resulting in leaked memory. 7779 7780Author: David Levine <levinedl@acm.org> 7781Date: Sat Jun 25 21:17:05 2016 -0400 7782 7783 Fixed indentation to prevent warning from gcc 6 -Wmisleading-indentation. 7784 7785Merge: c546ef9 235b62a 7786Author: David Levine <david.levine@gonift.com> 7787Date: Sat Jun 25 21:16:36 2016 -0400 7788 7789 Merge remote-tracking branch 'origin' into xoauth 7790 7791Author: David Levine <levinedl@acm.org> 7792Date: Sun Jun 12 10:38:19 2016 -0400 7793 7794 Added const to filename args of cpydata(). Then added const to some 7795 args in mhfixmsg.c. 7796 7797 (cherry picked from commit 9f7d48c36f01ba29974834cbcdc24e4c2e1f07d9) 7798 7799Author: David Levine <levinedl@acm.org> 7800Date: Sun Jun 12 10:36:43 2016 -0400 7801 7802 Added const to arg of m_backup(). 7803 7804 (cherry picked from commit d42ab414c8bce17b6b437ef9ebfd194a8ac4111c) 7805 7806Author: David Levine <david.levine@gonift.com> 7807Date: Sun Jun 12 11:34:59 2016 -0400 7808 7809 Synched common.sh.in from master to nmh-oauth. 7810 7811Author: David Levine <levinedl@acm.org> 7812Date: Sun Jun 12 11:33:27 2016 -0400 7813 7814 No longer need const cast in sendfrom.c. 7815 7816Author: David Levine <david.levine@gonift.com> 7817Date: Sun Jun 12 11:27:21 2016 -0400 7818 7819 Added consts to adios(), advise(), and advertise() to sync master 7820 and nmh-oauth branch. 7821 7822Author: David Levine <levinedl@acm.org> 7823Date: Sun Jun 12 11:26:37 2016 -0400 7824 7825 Added consts to adios(), advise(), and advertise() to sync master 7826 and nmh-oauth branch. 7827 7828Author: David Levine <levinedl@acm.org> 7829Date: Sun Jun 12 10:38:19 2016 -0400 7830 7831 Added const to filename args of cpydata(). Then added const to some 7832 args in mhfixmsg.c. 7833 7834Author: David Levine <levinedl@acm.org> 7835Date: Sun Jun 12 10:36:43 2016 -0400 7836 7837 Added const to arg of m_backup(). 7838 7839Author: David Levine <levinedl@acm.org> 7840Date: Sun Jun 12 10:35:47 2016 -0400 7841 7842 Added const to first arg of adios(). 7843 7844Author: David Levine <levinedl@acm.org> 7845Date: Sun Jun 12 10:05:16 2016 -0400 7846 7847 If parse_mime() fails and the -file switch was used, pass the input 7848 message to it unchanged so that pipelines won't break. 7849 7850 (cherry picked from commit 564b5b785c7cc709f92a83afb547267ed7418f18) 7851 7852Author: David Levine <levinedl@acm.org> 7853Date: Sun Jun 12 10:05:16 2016 -0400 7854 7855 If parse_mime() fails and the -file switch was used, pass the input 7856 message to it unchanged so that pipelines won't break. 7857 7858Author: David Levine <david.levine@gonift.com> 7859Date: Mon May 30 11:49:20 2016 -0400 7860 7861 Plugged leak in mh_oauth_cred_load(). 7862 7863Author: David Levine <david.levine@gonift.com> 7864Date: Mon May 30 11:48:46 2016 -0400 7865 7866 Added free_fs() call to plug leak from fmt_compile(). 7867 7868Author: David Levine <levinedl@acm.org> 7869Date: Mon May 30 11:48:28 2016 -0400 7870 7871 Added free_fs() call to plug leak from fmt_compile(). 7872 7873Author: klemens <ka7@github.com> 7874Date: Sun May 29 14:39:05 2016 +0200 7875 7876 spelling-fixes ( code-comments in .c, .h. .y ... ) 7877 7878 (cherry picked from commit 942561da2455ee50a1eb82c8c4f2bdb5e25133d1) 7879 7880Author: klemens <ka7@github.com> 7881Date: Sun May 29 14:37:11 2016 +0200 7882 7883 spelling-fixes ( docs, man, readme ) 7884 7885 (cherry picked from commit fa92642a21119eda8bfc961f8d5a8d3e9ee7d494) 7886 7887Author: klemens <ka7@github.com> 7888Date: Sun May 29 14:39:05 2016 +0200 7889 7890 spelling-fixes ( code-comments in .c, .h. .y ... ) 7891 7892Author: klemens <ka7@github.com> 7893Date: Sun May 29 14:37:11 2016 +0200 7894 7895 spelling-fixes ( docs, man, readme ) 7896 7897Author: David Levine <david.levine@gonift.com> 7898Date: Sun May 29 09:40:12 2016 -0400 7899 7900 Added sendfrom to docs/contrib. 7901 7902Author: David Levine <levinedl@acm.org> 7903Date: Sun May 29 09:39:36 2016 -0400 7904 7905 Added sendfrom to docs/contrib. 7906 7907Author: David Levine <levinedl@acm.org> 7908Date: Sat May 21 09:15:56 2016 -0400 7909 7910 Added docdir to mhparam. 7911 7912 (cherry picked from commit 89d69fbd2ae1f9c8c989850ec7057814c655a727) 7913 7914Author: David Levine <levinedl@acm.org> 7915Date: Sat May 21 08:06:36 2016 -0400 7916 7917 Removed unnecessary memset on fmt_mnull: it gets initialized to 7918 all 0's. 7919 7920 (cherry picked from commit 56c4ac49d7b8ad674c0a66e9999186bcb98bd048) 7921 7922Author: Ken Hornstein <kenh@pobox.com> 7923Date: Wed May 18 12:44:21 2016 -0400 7924 7925 Check to see if cross-directory links are supported; if they are not, 7926 then don't run the refile -link test. 7927 7928 (cherry picked from commit 35fce21b692a6259138fc81caf13f4d07bb58da0) 7929 7930Author: David Levine <levinedl@acm.org> 7931Date: Sat May 21 09:15:56 2016 -0400 7932 7933 Added docdir to mhparam. 7934 7935Author: David Levine <levinedl@acm.org> 7936Date: Sat May 21 08:06:36 2016 -0400 7937 7938 Removed unnecessary memset on fmt_mnull: it gets initialized to 7939 all 0's. 7940 7941Author: Ken Hornstein <kenh@pobox.com> 7942Date: Wed May 18 12:44:21 2016 -0400 7943 7944 Check to see if cross-directory links are supported; if they are not, 7945 then don't run the refile -link test. 7946 7947Author: David Levine <levinedl@acm.org> 7948Date: Mon May 2 12:55:31 2016 -0400 7949 7950 For slocal, changed default user, if -user switch isn't used, to be 7951 the user part of the Local-Mailbox profile entry, if present, or the 7952 current user. addr uses the same default. This allows addr 7953 to contain a '.', which slocal did not allow before. 7954 7955Author: David Levine <david.levine@gonift.com> 7956Date: Mon Apr 25 22:20:39 2016 -0400 7957 7958 Added test of negative return code from jsmn_parse() to test-send. 7959 7960Author: David Levine <david.levine@gonift.com> 7961Date: Mon Apr 25 22:19:37 2016 -0400 7962 7963 Added test of empty authorization code to test-mhlogin. 7964 7965Author: David Levine <david.levine@gonift.com> 7966Date: Mon Apr 25 21:58:10 2016 -0400 7967 7968 Added explicit OATH_SUPPORT=1 to configure.ac when oauth support is 7969 enabled, otherwise it didn't get set to 1. 7970 7971Author: Eric Gillespie <epg@pretzelnet.org> 7972Date: Mon Apr 25 03:33:15 2016 +0000 7973 7974 Fix tests with oauth disabled. 7975 7976Author: David Levine <david.levine@gonift.com> 7977Date: Sun Apr 24 22:09:39 2016 -0400 7978 7979 Check for empty code. 7980 7981Author: David Levine <david.levine@gonift.com> 7982Date: Sun Apr 24 21:42:20 2016 -0400 7983 7984 Return false from parse_json() if jmsn_parse() returns a negative 7985 (or zero, as it did before) value. 7986 7987Author: Eric Gillespie <epg@pretzelnet.org> 7988Date: Mon Apr 25 01:23:04 2016 +0000 7989 7990 Improve oauth autoconf support. 7991 7992 - By default, enable OAuth if curl is found. 7993 7994 - If OAuth requested (--with-oauth), error if curl not found. 7995 7996 - If OAuth disabled (--without-oauth), don't enable it even if found. 7997 7998 - Sanity-check curl-config --version output so we don't send anything crazy in 7999 our HTTP requests if curl-config changes. 8000 8001Author: Eric Gillespie <epg@pretzelnet.org> 8002Date: Wed Apr 13 16:58:45 2016 +0000 8003 8004 Rename files to match renamed functions 8005 8006 Follow-up to commit 840b3f0e45a43b8378e88c66f004b2f186662e35 8007 8008Author: Eric Gillespie <epg@pretzelnet.org> 8009Date: Sun Apr 10 18:46:52 2016 +0000 8010 8011 Fix mhlogin(1) title. 8012 8013Author: David Levine <david.levine@gonift.com> 8014Date: Sun Apr 10 11:42:29 2016 -0400 8015 8016 Added -user to mhlogin man page. 8017 8018Author: David Levine <david.levine@gonift.com> 8019Date: Sat Mar 26 18:59:31 2016 -0400 8020 8021 Added start_test() and finish_test() functions to test/common.sh.in. 8022 See usage information in the (new) cleanup() function in that file. 8023 This allow us to isolate test failures based on naming of individual 8024 tests within a single test file. As part of this, added set -e to 8025 setup_test(). This required minor updates to test/new/basic and 8026 test/pick/test-stderr to conform. So, migrated test/new/test-basic 8027 to start_test()/finish_test(). 8028 8029 (cherry picked from commit cd6133dd23422f92534328f768a322f63a5c6dfe) 8030 8031Author: David Levine <levinedl@acm.org> 8032Date: Sun Apr 10 11:16:55 2016 -0400 8033 8034 Fix to commit 84932d0a96c79bfb2f0384ebab806dc51a35f600 to 8035 insert blank line between header and content for non-text 8036 content. 8037 8038 (cherry picked from commit fe36a7ee2f4304fd3797443d4f2f950d6dc2475d) 8039 8040Author: David Levine <levinedl@acm.org> 8041Date: Sun Apr 10 11:16:55 2016 -0400 8042 8043 Fix to commit 84932d0a96c79bfb2f0384ebab806dc51a35f600 to 8044 insert blank line between header and content for non-text 8045 content. 8046 8047Author: David Levine <levinedl@acm.org> 8048Date: Sun Apr 10 11:15:42 2016 -0400 8049 8050 Quoted variables in trap so that distcheck doesn't trip over them if 8051 not set. 8052 8053Author: David Levine <levinedl@acm.org> 8054Date: Sun Apr 10 11:14:54 2016 -0400 8055 8056 Moved "const" to after "register" to silence compile warning fron gcc. 8057 8058Author: Eric Gillespie <epg@pretzelnet.org> 8059Date: Sun Apr 10 06:19:19 2016 +0000 8060 8061 check curl_ctx->res_len > 0 not res_body != NULL 8062 8063 res_body is not a pointer and is never NULL 8064 8065 (Thanks clang!) 8066 8067Author: Eric Gillespie <epg@pretzelnet.org> 8068Date: Sun Apr 10 06:17:35 2016 +0000 8069 8070 oops, pass int to m_getfld not size_t 8071 8072Author: Eric Gillespie <epg@pretzelnet.org> 8073Date: Sat Apr 9 23:09:12 2016 -0700 8074 8075 support multiple oauth users; mhlogin now requires -user 8076 8077Author: Eric Gillespie <epg@pretzelnet.org> 8078Date: Sun Apr 10 05:03:14 2016 +0000 8079 8080 plug some memory leaks, in success cases only 8081 8082 (staying clean at least on non-adios paths is not hard) 8083 8084Author: Eric Gillespie <epg@pretzelnet.org> 8085Date: Sun Apr 10 04:53:34 2016 +0000 8086 8087 fix mhlogin -browser test 8088 8089Author: Eric Gillespie <epg@pretzelnet.org> 8090Date: Sun Apr 3 08:23:11 2016 +0000 8091 8092 Rename and document functions that read from stdin. 8093 8094 - gans becomes read_switch 8095 - getans becomes read_switch_multiword 8096 - getans_via_readline becomes read_switch_multiword_via_readline 8097 - getanswer becomes read_yes_or_no_if_tty 8098 - install-mh.c geta becomes read_line 8099 8100Author: Eric Gillespie <epg@pretzelnet.org> 8101Date: Sun Apr 3 01:32:23 2016 +0000 8102 8103 test mhlogin -browser 8104 8105Author: David Levine <david.levine@gonift.com> 8106Date: Sun Mar 27 12:00:16 2016 -0400 8107 8108 Don't call sm_auth_sasl() for XAUTH2 with -sasl. Instead, 8109 call only sm_auth_xoauth2(). 8110 8111Author: David Levine <david.levine@gonift.com> 8112Date: Sat Mar 26 19:09:50 2016 -0400 8113 8114 Added start_test()/finish_test() to README.developers. 8115 8116Author: David Levine <david.levine@gonift.com> 8117Date: Sat Mar 26 19:05:10 2016 -0400 8118 8119 Migrated the oauth tests to start_test()/finish_test() so that 8120 they don't have any output on success, but do report the particular 8121 test on failure. 8122 8123Author: David Levine <david.levine@gonift.com> 8124Date: Sat Mar 26 18:59:31 2016 -0400 8125 8126 Added start_test() and finish_test() functions to test/common.sh.in. 8127 See usage information in the (new) cleanup() function in that file. 8128 This allow us to isolate test failures based on naming of individual 8129 tests within a single test file. As part of this, added set -e to 8130 setup_test(). This required minor updates to test/new/basic and 8131 test/pick/test-stderr to conform. So, migrated test/new/test-basic 8132 to start_test()/finish_test(). 8133 8134Author: David Levine <david.levine@gonift.com> 8135Date: Thu Mar 24 21:25:19 2016 -0400 8136 8137 Added -browser switch to mhlogin(1). 8138 8139Merge: 630af73 961d5bf 8140Author: David Levine <david.levine@gonift.com> 8141Date: Thu Mar 24 20:24:15 2016 -0400 8142 8143 Merge remote-tracking branch 'origin' into xoauth 8144 8145Author: David Levine <levinedl@acm.org> 8146Date: Thu Mar 24 19:57:15 2016 -0400 8147 8148 Changed minchars swit values for -[no]concat switches to show(1) 8149 from negative to 0, so that they can be abbreviated and so that they 8150 appear with -help. Added them to the man page, and fixed text that 8151 was copied from mhshow(1) man page. 8152 8153Author: David Levine <levinedl@acm.org> 8154Date: Thu Mar 24 19:55:58 2016 -0400 8155 8156 Use WIFXEXITED to check return status of system(), because 8157 comparison with NOTOK wasn't valid. 8158 8159Author: David Levine <david.levine@gonift.com> 8160Date: Wed Mar 23 21:40:31 2016 -0400 8161 8162 Changed sign of minchars for the SASL-related switches from 8163 negative to positive so the won't be hidden from help messages. 8164 I think. 8165 8166Merge: 626b510 f1920d7 8167Author: David Levine <david.levine@gonift.com> 8168Date: Wed Mar 23 20:41:46 2016 -0400 8169 8170 Merge remote-tracking branch 'origin' into xoauth 8171 8172 merge is necessary, 8173 8174Author: David Levine <david.levine@gonift.com> 8175Date: Wed Mar 23 20:25:32 2016 -0400 8176 8177 Replaced -oauth service switch with -saslmech xoauth2 8178 -authservice service, because OAUTH2 is a SASL mechanism. 8179 8180Author: Lyndon Nerenberg <lyndon@orthanc.ca> 8181Date: Sun Mar 20 17:28:27 2016 -0700 8182 8183 Another pass at cleaning up (some of) the manpages. 8184 8185 This continues work I started a couple of years ago, but then got 8186 derailed on. There are two main goals behind these updates: 8187 8188 1) replace some low-level troff constructs with more modern 8189 man(7) facilities, and 8190 8191 2) adopt a more consistent visual style to the layout and 8192 formatting of the manpages, particularly in reference to 8193 typeset pages. 8194 8195 This time around I have updated README.manpages to describe the new 8196 guidelines. They are mostly non-intrusive, and serve to clean up 8197 a lot of visual clutter that has crept in over the years. 8198 8199Author: David Levine <levinedl@acm.org> 8200Date: Sat Mar 19 10:15:43 2016 -0400 8201 8202 Added check of return value of write() to quash compiler warning. 8203 8204Author: Ken Hornstein <kenh@pobox.com> 8205Date: Sat Mar 19 00:06:24 2016 -0400 8206 8207 Recover properly if the character conversion fails. 8208 8209Author: Ken Hornstein <kenh@pobox.com> 8210Date: Sat Mar 19 00:04:56 2016 -0400 8211 8212 Fix substitution code so it uses the right pointer for the utf-8 test. 8213 8214Merge: c2a69f6 2885665 8215Author: David Levine <david.levine@gonift.com> 8216Date: Fri Mar 18 08:30:21 2016 -0400 8217 8218 Merge remote-tracking branch 'origin' into xoauth 8219 8220Author: David Levine <levinedl@acm.org> 8221Date: Thu Mar 17 22:05:54 2016 -0400 8222 8223 Have fix_boundary() return NOTOK if it couldn't fix a boundary, 8224 so that mhfixmsg won't modify the message. 8225 8226Author: David Levine <david.levine@gonift.com> 8227Date: Wed Mar 16 21:32:48 2016 -0400 8228 8229 Added oauth support to whatnow. 8230 8231Author: David Levine <david.levine@gonift.com> 8232Date: Sun Mar 13 15:40:23 2016 -0400 8233 8234 Added oauth switch to whatnow. 8235 8236Author: David Levine <david.levine@gonift.com> 8237Date: Sun Mar 13 13:11:21 2016 -0400 8238 8239 Added use of local variable user to prevent compiler warning 8240 when built without OAuth2 support. 8241 8242Author: David Levine <david.levine@gonift.com> 8243Date: Sun Mar 13 12:58:25 2016 -0400 8244 8245 Sort JSON output from oauth tests so that comparisons don't 8246 depend on it being in a specific order. Also, clean up test 8247 tmp files. 8248 8249Author: David Levine <david.levine@gonift.com> 8250Date: Sun Mar 13 12:57:18 2016 -0400 8251 8252 Set MH_VERSION, OAUTH_SUPPORT, and CURL_USER_AGENT in tests/common.sh.in 8253 so that oauth tests can be run individually (not just via make check). 8254 8255Author: David Levine <david.levine@gonift.com> 8256Date: Sun Mar 13 11:00:05 2016 -0400 8257 8258 Added OAuth2 support to build_nmh. 8259 8260Merge: b7f1c78 ddb9e8c 8261Author: David Levine <david.levine@gonift.com> 8262Date: Sun Mar 13 10:42:39 2016 -0400 8263 8264 Merge branch 'master' into xoauth 8265 8266Author: David Levine <levinedl@acm.org> 8267Date: Sat Mar 12 13:25:36 2016 -0500 8268 8269 Have -nocrlflinebreaks apply to the message parts that -decodetypes 8270 designates. 8271 8272Author: David Levine <levinedl@acm.org> 8273Date: Sat Mar 12 10:41:03 2016 -0500 8274 8275 Added EXAMPLES and BUGS sections. 8276 8277Author: Eric Gillespie <epg@pretzelnet.org> 8278Date: Sat Mar 12 00:15:46 2016 -0500 8279 8280 Implement the -reverse option to pick(1) to change the search order. 8281 8282Author: David Levine <levinedl@acm.org> 8283Date: Sat Feb 27 11:44:51 2016 -0500 8284 8285 Updated date on mh-folders(5) man page. 8286 8287Author: David Levine <levinedl@acm.org> 8288Date: Sat Feb 27 11:33:39 2016 -0500 8289 8290 Added application/ics to default list if types to decode. 8291 8292Author: Paul Fox <pgf@foxharp.boston.ma.us> 8293Date: Thu Feb 25 11:33:14 2016 -0500 8294 8295 mh-folders.man: note that folders should not be named numerically 8296 8297Author: David Levine <levinedl@acm.org> 8298Date: Wed Feb 24 20:32:10 2016 -0500 8299 8300 Added -[no]crlflinebreaks switches to mhfixmsg(1). 8301 8302Author: David Levine <levinedl@acm.org> 8303Date: Sun Feb 21 11:59:41 2016 -0500 8304 8305 Added check for successful decode of a different part with 8306 attempted -decodetext of binary text to test-mhfixmsg. 8307 8308Author: David Levine <levinedl@acm.org> 8309Date: Sun Feb 21 11:22:53 2016 -0500 8310 8311 Don't consider failure to build a text/plain part to be an error. 8312 This allows mhfixmsg to succeed even if there isn't a suitable 8313 mhfixmsg-format-text/subtype profile entry for every text part in 8314 the message. 8315 8316Author: David Levine <levinedl@acm.org> 8317Date: Sat Feb 20 13:41:52 2016 -0500 8318 8319 Added -decodetypes switch to mhfixmsg(1). 8320 8321Author: David Levine <levinedl@acm.org> 8322Date: Thu Jan 28 21:16:43 2016 -0500 8323 8324 Add missing -infile switch name to mhfixmsg-format-text/calendar 8325 rule in mhn.defaults. 8326 8327Author: David Levine <levinedl@acm.org> 8328Date: Sat Jan 23 15:14:33 2016 -0500 8329 8330 mhical enhancement: If a datetime is missing the time, assume 8331 midnight. If there is no end datetime (DTEND) and the DTSTART 8332 doesn't contain a time, assume that the event is for the entire day. 8333 8334Author: Richard M Kreuter <kreuter@progn.net> 8335Date: Tue Jan 19 21:39:11 2016 -0500 8336 8337 Set MH to the resolved, absolute pathname inside context_read() so 8338 that exec'd children can find it. 8339 8340Author: Richard M Kreuter <kreuter@progn.net> 8341Date: Tue Jan 19 21:19:16 2016 -0500 8342 8343 Added all of mhshow's documented switches to show's handling, on the 8344 notion that nmh's pieces should know about each other. 8345 8346Author: David Levine <levinedl@acm.org> 8347Date: Tue Jan 19 21:03:30 2016 -0500 8348 8349 Added mention of mhfixmsg -fixcte to error message for improper C-T-E in 8350 multipart message. Thanks to Conrad Hughes for suggesting this. 8351 8352Author: David Levine <levinedl@acm.org> 8353Date: Sun Nov 29 22:21:11 2015 -0500 8354 8355 Moved addition of -ansi -pedantic to CFLAGS with gcc from 8356 configure.ac to docs/contrib/build_nmh, so that they're not 8357 included by default with builds by users. 8358 8359Author: David Levine <levinedl@acm.org> 8360Date: Thu Nov 19 15:27:49 2015 -0500 8361 8362 Allow a RRULE in an iCalendar request to not have an INTERVAL on its 8363 yearly FREQ, because INTERVAL defaults to 1. 8364 8365Author: David Levine <levinedl@acm.org> 8366Date: Wed Nov 18 18:35:59 2015 -0500 8367 8368 Remove any enclosing quotes from a timezone identifier in an 8369 iCalendar event request. See comment added to format_datetime() 8370 that says that I don't believe that RFC 5545 allows them to be 8371 quoted. But Oliver Kiddle found them in the wild. 8372 8373Author: David Levine <levinedl@acm.org> 8374Date: Wed Nov 18 18:02:43 2015 -0500 8375 8376 If format_datetime() returns null, store a copy of node->value on c->c_text 8377 to prevent a double free(). 8378 8379Author: Ken Hornstein <kenh@pobox.com> 8380Date: Sat Aug 22 22:16:22 2015 -0400 8381 8382 If str == buffer, then do NOT do a strncpy(buffer, str). Many systems 8383 this works, but on some systems it causes a SIGABRT. POSIX says the 8384 behavior on overlapping copies with str*cpy() is officially undefined. 8385 8386Author: Ken Hornstein <kenh@pobox.com> 8387Date: Sat Aug 22 22:14:41 2015 -0400 8388 8389 Add support for setting the environment variable MH_TEST_NOCLEANUP to 8390 prevent a test from cleaning up the test working directory. 8391 8392Author: Leonardo Taccari <iamleot@gmail.com> 8393Date: Fri Aug 21 13:26:53 2015 -0400 8394 8395 Add support for the -sendmail flag to send/post, to support changing the 8396 sendmail executable. 8397 8398Author: David Levine <levinedl@acm.org> 8399Date: Mon Jul 13 22:32:36 2015 -0400 8400 8401 Unquoted addresses in mhshow and scan output. Suggested by 8402 Anthony Bentley. 8403 8404Author: Ken Hornstein <kenh@pobox.com> 8405Date: Fri Mar 20 12:09:54 2015 -0400 8406 8407 Change the reference to the valgrind suppression file from $MH_OBJ_DIR to 8408 $srcdir so "make distcheck" works. 8409 8410Author: Ken Hornstein <kenh@pobox.com> 8411Date: Fri Mar 20 12:02:14 2015 -0400 8412 8413 Include a new valgrind warning suppression for MacOS X. 8414 8415Author: Alexander Zangerl <exmh@bin.snafu.priv.at> 8416Date: Fri Mar 20 10:26:02 2015 -0400 8417 8418 Make sure the valgrind suppression file is honored, and add some extra 8419 suppressions needed when running under the Debian fakeroot environment. 8420 8421Author: Ken Hornstein <kenh@pobox.com> 8422Date: Tue Mar 17 11:02:38 2015 -0400 8423 8424 Fix error message to correctly report the program that failed to execute 8425 when doing HTML conversion. 8426 Also, remove perl function prototypes as they are not considered best 8427 practice. 8428 8429Author: Ken Hornstein <kenh@pobox.com> 8430Date: Fri Mar 6 22:58:58 2015 -0500 8431 8432 Rearrange all callers of post(8) so that the filename is always last. 8433 8434Author: Paul Fox <pgf@foxharp.boston.ma.us> 8435Date: Wed Mar 4 13:10:38 2015 -0500 8436 8437 mhparse.c: verify all MIME-Version: headers encountered 8438 8439 in addition to verifying, silently ignore duplicate version headers. 8440 8441Merge: f9eb71e 3f60981 8442Author: David Levine <levinedl@acm.org> 8443Date: Sun Feb 22 21:21:40 2015 -0600 8444 8445 Merge remote-tracking branch 'origin/convertargs' 8446 8447Author: Paul Fox <pgf@foxharp.boston.ma.us> 8448Date: Sat Feb 14 11:36:24 2015 -0500 8449 8450 use %l uniformly on all the text-mode browser display strings 8451 8452 otherwise behavior changes depending on which browser was present 8453 when nmh is configured/installed. 8454 8455Author: David Levine <levinedl@acm.org> 8456Date: Fri Feb 13 23:30:03 2015 -0600 8457 8458 Filter converted text/html to remove blank lines and leading space 8459 that lynx inserts. Also, changed ISO-8859-1 to US-ASCII because it 8460 is, so it doesn't need to be converted. 8461 8462Author: David Levine <levinedl@acm.org> 8463Date: Fri Feb 13 22:22:21 2015 -0600 8464 8465 Removed m_chkids(), per suggestion of Marcin Cieslak. 8466 8467Author: David Levine <levinedl@acm.org> 8468Date: Fri Feb 13 21:31:48 2015 -0600 8469 8470 Removed unnecessary #include of h/signals.h. 8471 8472Author: David Levine <levinedl@acm.org> 8473Date: Fri Feb 13 21:30:41 2015 -0600 8474 8475 Removed #include of signal.h because it's in h/signals.h. 8476 8477Author: Marcin Cieslak <saper@saper.info> 8478Date: Fri Feb 13 21:01:09 2015 -0600 8479 8480 Reset done in inc_done() to prevent endless loop when setegid() 8481 fails (in which case adios() is called, which calls done()). 8482 8483Author: David Levine <levinedl@acm.org> 8484Date: Thu Feb 12 21:33:05 2015 -0600 8485 8486 That didn't work, so removed offset. 8487 8488Author: David Levine <levinedl@acm.org> 8489Date: Thu Feb 12 21:27:45 2015 -0600 8490 8491 Use +0000 isntead of -0000 offset because FreeBSD displays it that way. 8492 8493Author: Marcin Cieslak <saper@saper.info> 8494Date: Thu Feb 12 21:09:26 2015 -0600 8495 8496 Replaced setgid() calls with setegid() so that it works with dot 8497 locking on FreeBSD. setegid() should be supported on modern POSIX 8498 systems. 8499 8500Author: David Levine <levinedl@acm.org> 8501Date: Thu Feb 12 20:22:32 2015 -0600 8502 8503 Added showmimeproc to test/common.sh.in so that test-show will test 8504 it in the workspace, not the user's installation. Also added all of 8505 the other procs defined in config/config.c that are currently unused, 8506 just in case they some day are. 8507 8508Author: David Levine <levinedl@acm.org> 8509Date: Thu Feb 12 20:03:11 2015 -0600 8510 8511 Removed a few more msh (MS_MSH and mshproc) and vmh (vmhproc) relics. 8512 8513Author: David Levine <levinedl@acm.org> 8514Date: Wed Feb 11 21:38:51 2015 -0600 8515 8516 Replaced individual assignment of array elements, one of which was 8517 out of range, with array initialization. 8518 8519Author: Marcin Cieslak <saper@saper.info> 8520Date: Tue Feb 10 14:18:05 2015 +0000 8521 8522 Fixed the error message in lockit() when it fails to create tmp file. 8523 8524Author: Marcin Cieslak <saper@saper.info> 8525Date: Tue Feb 10 14:18:05 2015 +0000 8526 8527 Fixed "inc" to be installed setgid mail with dot locking. MAILGROUP=1 8528 was not set in the config.h because we no longer use "LOCKTYPE" 8529 configure variable. 8530 8531Author: Paul Fox <pgf@foxharp.boston.ma.us> 8532Date: Sun Feb 8 15:13:31 2015 -0500 8533 8534 update tests for new message separator header from mhshow 8535 8536 also added test names to tests, in any file i touched 8537 8538Author: Paul Fox <pgf@foxharp.boston.ma.us> 8539Date: Sun Feb 8 16:06:44 2015 -0500 8540 8541 update man pages for new mhshow message separator header 8542 8543Author: Paul Fox <pgf@foxharp.boston.ma.us> 8544Date: Sun Feb 8 15:22:07 2015 -0500 8545 8546 add new message separator header to mhshow 8547 8548 new switches to mhshow (-headerform and -[no]header) control whether 8549 and what is displayed before the display of every message's content. 8550 the default separator looks like "[ Message folder:msg ]". the 8551 implementation parallels the -markform feature. 8552 8553 since mhshow is often started by show, show now passes the -[no]header 8554 options through to mhshow. (also, show no longer attempts to pass 8555 such options through to cat (in the case of -noshowproc)). 8556 8557Author: Paul Fox <pgf@foxharp.boston.ma.us> 8558Date: Fri Feb 6 13:03:36 2015 -0500 8559 8560 fix typo in mh-format.man 8561 8562Author: Eric Gillespie <epg@google.com> 8563Date: Thu Feb 5 12:46:28 2015 -0800 8564 8565 Test that show always shows message numbers. 8566 8567 show shows message numbers in two different formats when showing one 8568 non-MIME, multiple non-MIME messages, or one MIME message. 8569 8570 show does not show any message numbers when showing multiple messages 8571 any of which is MIME. 8572 8573 This is not a new bug, just one that has bothered me since I started 8574 using mhshow with 1.6. 8575 8576Author: Paul Fox <pgf@foxharp.boston.ma.us> 8577Date: Fri Feb 6 11:57:58 2015 -0500 8578 8579 test/common.sh: allow giving individual tests a name 8580 8581Author: Paul Fox <pgf@foxharp.boston.ma.us> 8582Date: Fri Feb 6 11:32:44 2015 -0500 8583 8584 man pages -- clarify what -part and -type do when used together 8585 8586Merge: 991ae1d afea511 8587Author: David Levine <levinedl@acm.org> 8588Date: Sun Feb 8 09:23:34 2015 -0600 8589 8590 Merge remote-tracking branch 'origin' into convertargs 8591 8592Author: David Levine <levinedl@acm.org> 8593Date: Sun Feb 8 09:21:13 2015 -0600 8594 8595 Added support to mhfixmsg -reformat for multipart/related. If it has 8596 only a single part that is not text/plain and can be converted to 8597 text/plain, a text/plain part is added and the type of the part is 8598 changed to multipart/alternative. If the multipart/related has more 8599 than one part but does not have a text/plain part, try to add one. 8600 8601Author: David Levine <levinedl@acm.org> 8602Date: Wed Feb 4 19:19:54 2015 -0600 8603 8604 Fixed test-convert to work on Cygwin and other platforms that 8605 default to UTF-8 locale. 8606 8607Merge: 397195e ff6c0df 8608Author: David Levine <levinedl@acm.org> 8609Date: Wed Feb 4 19:18:33 2015 -0600 8610 8611 Merge remote-tracking branch 'origin' into convertargs 8612 8613Author: David Levine <levinedl@acm.org> 8614Date: Wed Feb 4 19:05:16 2015 -0600 8615 8616 Removed unused local variable from move_preferred_part(). 8617 8618Author: Paul Fox <pgf@foxharp.boston.ma.us> 8619Date: Wed Feb 4 18:52:53 2015 -0500 8620 8621 pending-release-notes: add mhshow's "-prefer", and mh-format's %(kibi/kilo) 8622 8623Author: Paul Fox <pgf@foxharp.boston.ma.us> 8624Date: Wed Feb 4 14:44:36 2015 -0500 8625 8626 test-subpart: add mhlist and mhshow tests for -type/-part/-prefer 8627 8628Author: Paul Fox <pgf@foxharp.boston.ma.us> 8629Date: Wed Feb 4 12:07:27 2015 -0500 8630 8631 update mhshow, mhlist, and mhstore man pages for -prefer switch 8632 8633Author: Paul Fox <pgf@foxharp.boston.ma.us> 8634Date: Tue Feb 3 21:55:41 2015 -0500 8635 8636 implement -prefer, for multipart/alternative preferences 8637 8638Author: Paul Fox <pgf@foxharp.boston.ma.us> 8639Date: Tue Feb 3 23:03:46 2015 -0500 8640 8641 mhshow.man: more detail on use of -part and -type switches 8642 8643Author: Paul Fox <pgf@foxharp.boston.ma.us> 8644Date: Tue Feb 3 12:39:53 2015 -0500 8645 8646 mhshow: ensure that -part always shows every part requested 8647 8648 previously, "mhshow -part 1 -part 1.3" would show 1.1 but not 1.3. 8649 8650Author: Paul Fox <pgf@foxharp.boston.ma.us> 8651Date: Fri Jan 30 19:52:24 2015 -0500 8652 8653 mhshow: fix display of alternatives after certain nested multiparts 8654 8655 adjust return codes so that we now have a clear indication of whether 8656 there was a hard error (NOTOK), a failure to display due to type 8657 mismatch (DONE), or complete success (OK). use those codes in 8658 show_multi_internal() to decide whether we're finished with this 8659 multipart or not. 8660 8661 prior to this change, it was impossible to show part 1.2 of a 8662 message constructed like the following, because the disinction 8663 between (the new, as described above) DONE and OK states was 8664 lost while processing multipart/related part 1.1. 8665 msg part type/subtype size description 8666 28 multipart/mixed 1040 8667 1 multipart/alternative 623 8668 1.1 multipart/related 275 8669 1.1.1 text/html 105 8670 1.2 text/plain 33 8671 2 text/plain 83 8672 8673 this fix is related to 9cc2510 and c9794733. hopefully it's right 8674 this time. 8675 8676Author: Paul Fox <pgf@foxharp.boston.ma.us> 8677Date: Fri Jan 30 20:14:59 2015 -0500 8678 8679 mhshow: simplify code -- the DONE status was adding no value 8680 8681Author: Paul Fox <pgf@foxharp.boston.ma.us> 8682Date: Fri Jan 30 19:41:37 2015 -0500 8683 8684 drop the second argument to part_ok(), since it is always 1 8685 8686 the second argument hasn't been used since "historical" times. 8687 also add some commentary to part_ok(). 8688 8689Author: Lyndon Nerenberg <lyndon@orthanc.ca> 8690Date: Tue Jan 27 15:17:20 2015 -0800 8691 8692 Add a note about new bindir option to mhparam. 8693 8694Author: Lyndon Nerenberg <lyndon@orthanc.ca> 8695Date: Tue Jan 27 15:07:19 2015 -0800 8696 8697 'mhparam bindir' now prints NMH's idea of $(bindir). 8698 8699Author: David Levine <levinedl@acm.org> 8700Date: Tue Jan 20 19:10:56 2015 -0600 8701 8702 Added a line break to mhbuild man page because the 8703 %docdir%/contrib/replaliases line caused format complaints from groff. 8704 8705Merge: 4857a9e a70006b 8706Author: David Levine <levinedl@acm.org> 8707Date: Sun Jan 18 21:31:20 2015 -0600 8708 8709 Merge remote-tracking branch 'origin' into convertargs 8710 8711Author: David Levine <levinedl@acm.org> 8712Date: Sun Jan 11 19:10:23 2015 -0600 8713 8714 Fixed check of return value of show_content_aux(). 8715 8716Author: David Levine <levinedl@acm.org> 8717Date: Sun Jan 11 19:05:11 2015 -0600 8718 8719 Have show_content_aux2(), and therefore show_content_aux(), return 8720 the status of the process used to show, instead of (usually) OK. 8721 8722 (cherry picked from commit a70006bbdf676639961877b02a19e9e1f1d0ec78) 8723 8724Author: David Levine <levinedl@acm.org> 8725Date: Sun Jan 11 19:05:11 2015 -0600 8726 8727 Have show_content_aux2(), and therefore show_content_aux(), return 8728 the status of the process used to show, instead of (usually) OK. 8729 8730Author: David Levine <levinedl@acm.org> 8731Date: Sat Jan 10 17:23:54 2015 -0600 8732 8733 Fixed typo in mh-format.man page, which I wouldn't have noticed 8734 if I didn't go back in to update its date. 8735 8736Author: David Levine <levinedl@acm.org> 8737Date: Sat Jan 10 17:12:49 2015 -0600 8738 8739 Added multiply format function, requested by Norm. 8740 8741Merge: ebd5247 0706d36 8742Author: David Levine <levinedl@acm.org> 8743Date: Wed Jan 7 20:32:20 2015 -0600 8744 8745 Merge remote-tracking branch 'origin' into convertargs 8746 8747Author: David Levine <levinedl@acm.org> 8748Date: Wed Jan 7 20:15:06 2015 -0600 8749 8750 Pass along arguments to calaccept(), etc., functions in replaliases. 8751 8752Author: David Levine <levinedl@acm.org> 8753Date: Wed Jan 7 20:13:41 2015 -0600 8754 8755 Fix to commit 6b073f7b67a0afd64012ff7d00818ec1bd07b5f2 to properly 8756 detect a Content-Type header in output from converted content. 8757 8758Author: David Levine <levinedl@acm.org> 8759Date: Tue Jan 6 21:39:42 2015 -0600 8760 8761 Another fix to convertarg handling of multipart/related. Two, 8762 actually. One is a simple bug fix, the other restricts concatenation 8763 to text/plain, not just text, parts. 8764 8765Author: David Levine <levinedl@acm.org> 8766Date: Mon Jan 5 22:32:00 2015 -0600 8767 8768 Specifically look for Content-Type header in converted content. 8769 8770Author: David Levine <levinedl@acm.org> 8771Date: Mon Jan 5 19:10:33 2015 -0600 8772 8773 Fixed convertarg handling of text part in multipart/related. 8774 8775Author: David Levine <levinedl@acm.org> 8776Date: Sun Jan 4 11:22:18 2015 -0600 8777 8778 Forgot to commit test-mhical. 8779 8780Author: David Levine <levinedl@acm.org> 8781Date: Sun Jan 4 10:52:28 2015 -0600 8782 8783 Added mhical(1), to display, reply to, and cancel iCalendar (RFC 5545) 8784 event requests. 8785 8786Author: David Levine <levinedl@acm.org> 8787Date: Sun Jan 4 09:57:23 2015 -0600 8788 8789 Added yacc/bison support to configure.ac. 8790 8791Author: David Levine <levinedl@acm.org> 8792Date: Mon Dec 29 07:44:38 2014 -0600 8793 8794 Added rtm alias. 8795 8796Author: David Levine <levinedl@acm.org> 8797Date: Mon Dec 29 06:06:59 2014 -0600 8798 8799 More cleanup of the cp in tests/common.sh.in. 8800 8801Author: David Levine <levinedl@acm.org> 8802Date: Sun Dec 28 22:15:04 2014 -0600 8803 8804 Added -h and -p options to replaliases. The -p argument can be useful 8805 with improperly structured messages, such as those that use 8806 multipart/related when they should have used multipart/alternative. 8807 Alos, removed -editor mhbuild because it precludes use of WhatNow 8808 attach. 8809 8810Author: David Levine <levinedl@acm.org> 8811Date: Sun Dec 28 21:12:06 2014 -0600 8812 8813 Replaced explicit list of files to be copied in test/common.sh.in 8814 with *. It wasn't trivial, per the comments in the file about 8815 portability to posh, but close. 8816 8817Author: David Levine <levinedl@acm.org> 8818Date: Sun Dec 28 15:51:36 2014 -0600 8819 8820 OK, this fixes the problem referenced in the last commit. It 8821 removes the copy of the etc files only during make distcheck. 8822 8823Author: David Levine <levinedl@acm.org> 8824Date: Sun Dec 28 13:42:35 2014 -0600 8825 8826 Reverted commit a2b00e7053ca3be3d1389588580c71498222a267. It caused 8827 make check to pull etc files from where they were already installed, 8828 not from the test directory. 8829 8830Author: David Levine <levinedl@acm.org> 8831Date: Sun Dec 28 12:46:22 2014 -0600 8832 8833 Removed export of most of the variables in test/common.sh.in. The 8834 test scripts source common.sh so they don't need them to be exported. 8835 8836Author: David Levine <levinedl@acm.org> 8837Date: Sun Dec 28 12:32:14 2014 -0600 8838 8839 Removed copy of all of the etc files from test/common.sh.in. 8840 Instead, for make distcheck, pass the location of the installed etc 8841 directory via DISTCHECK_CONFIGURE_FLAGS, configure, and 8842 TESTS_ENVIRONMENT to a new nmhetcdirinst variable. Outside of make 8843 distcheck, nmhetcdir is valid by itself. 8844 8845Author: David Levine <levinedl@acm.org> 8846Date: Sun Dec 28 12:12:40 2014 -0600 8847 8848 Rearranged the variable settings at the top of test/common.sh.in. 8849 8850Author: David Levine <levinedl@acm.org> 8851Date: Sat Dec 27 11:25:48 2014 -0600 8852 8853 Changed direct access to etc files in a couple of tests to be the 8854 installed (for the test) versions, not the copies made by common.sh. 8855 8856Author: David Levine <levinedl@acm.org> 8857Date: Sat Dec 27 11:19:43 2014 -0600 8858 8859 Replaced nmhexecdir with nmhlibexecdir in test/common.sh.in (and 8860 test-mhparam) for consisitency with the Makefile. 8861 8862Author: David Levine <levinedl@acm.org> 8863Date: Thu Dec 25 11:10:52 2014 -0600 8864 8865 Added -fixtype switch to mhfixmsg(1). It ensures that each part of 8866 a message has the correct MIME type shown in its Content-Type header. 8867 8868Author: David Levine <levinedl@acm.org> 8869Date: Thu Dec 25 11:04:28 2014 -0600 8870 8871 Added const to char * arguments of uprf(). 8872 8873Author: David Levine <levinedl@acm.org> 8874Date: Thu Dec 25 00:05:36 2014 -0600 8875 8876 Added ct_str_type() and ct_str_subtype() functions, to translate 8877 MIME type and subtype names to the the internal MIME parser codes. 8878 8879Author: David Levine <levinedl@acm.org> 8880Date: Thu Dec 25 00:04:34 2014 -0600 8881 8882 Merged two adjacent if (verbose) blocks. 8883 8884Author: David Levine <levinedl@acm.org> 8885Date: Wed Dec 24 18:25:43 2014 -0600 8886 8887 Fixed memory leak in mime_type(). get_file_info() always allocates 8888 its return value. 8889 8890Author: David Levine <levinedl@acm.org> 8891Date: Wed Dec 24 14:35:41 2014 -0600 8892 8893 Always initialize those two variables made static in commit 8894 771706ac9fed2b902bd4d3ddccb15ee27b0f58ae in case they were 8895 set in previous calls. 8896 8897Author: David Levine <levinedl@acm.org> 8898Date: Sun Dec 21 19:50:58 2014 -0600 8899 8900 And removed another improperly copied comment. 8901 8902Author: David Levine <levinedl@acm.org> 8903Date: Sun Dec 21 19:46:25 2014 -0600 8904 8905 Removed improperly copied comment from test-mhfixmsg. 8906 8907Author: David Levine <levinedl@acm.org> 8908Date: Sun Dec 21 19:41:12 2014 -0600 8909 8910 In expand_pseudoheader(), set Content-Type to 7-bit for ASCII text. 8911 8912Author: David Levine <levinedl@acm.org> 8913Date: Sun Dec 21 16:21:27 2014 -0600 8914 8915 Added mention of profile components that are described 8916 in other man pages. Suggested by Michael Richardson. 8917 8918Author: David Levine <levinedl@acm.org> 8919Date: Sun Dec 21 10:31:41 2014 -0600 8920 8921 Rearranged code to avoid "might be clobbered by longjmp" warnings from 8922 gcc 4.9.2 8923 8924Author: David Levine <levinedl@acm.org> 8925Date: Sun Dec 21 10:22:41 2014 -0600 8926 8927 Removed unnecessary #includes of setjmp.h. 8928 8929Author: David Levine <levinedl@acm.org> 8930Date: Sat Dec 20 14:27:03 2014 -0600 8931 8932 Removed widths from mhbuild-convert-text/html lines that should 8933 have been removed by commit 5ab36412b5fc49feb41fa816129c68fd6d946e8b. 8934 8935Author: David Levine <levinedl@acm.org> 8936Date: Sat Dec 20 14:07:37 2014 -0600 8937 8938 Fixed use of text_plain_ct in mhbuildsbr.c so that it works with 8939 multiple text parts. Found by Clang static analyzer. 8940 8941Author: David Levine <levinedl@acm.org> 8942Date: Sat Dec 20 10:42:11 2014 -0600 8943 8944 Set COLUMNS in test-cd if using readline so that its wrapping doesn't 8945 disturb the test output. The problem arose with a long workspace path. 8946 8947Author: David Levine <levinedl@acm.org> 8948Date: Sat Dec 20 10:36:10 2014 -0600 8949 8950 posh didn't like use of file wildcard in common.sh.in. 8951 8952Author: David Levine <levinedl@acm.org> 8953Date: Sat Dec 20 09:21:50 2014 -0600 8954 8955 Removed R from default PARINIT environment variable so that par(1) 8956 does not consider an input word that is too long to be an error. 8957 8958Author: David Levine <levinedl@acm.org> 8959Date: Wed Dec 17 20:43:37 2014 -0600 8960 8961 Fixed format engine output of negative number with 0 fill character. 8962 Improper output was reported by Bob Carragher. 8963 8964Author: David Levine <levinedl@acm.org> 8965Date: Sun Dec 14 22:11:00 2014 -0600 8966 8967 Added -convertargs switch to repl(1), to pass arguments to programs 8968 specified in the user's profile or mhn.defaults to convert message 8969 content. 8970 8971Author: David Levine <levinedl@acm.org> 8972Date: Sat Dec 13 08:30:35 2014 -0600 8973 8974 Rearranged mhn.defaults.sh a bit: consolidated web-browser specific 8975 settings and put most of the mhstore-store- directives in a here doc. 8976 8977Author: David Levine <levinedl@acm.org> 8978Date: Sat Dec 13 08:04:13 2014 -0600 8979 8980 Clarified in repl(1) man page that -noformat is only the 8981 default when no -filter switch is used. 8982 8983Author: Eric Gillespie <epg@google.com> 8984Date: Mon Dec 8 23:37:51 2014 -0800 8985 8986 Strip carriage returns fakehttprequest logging. 8987 8988Author: Eric Gillespie <epg@google.com> 8989Date: Mon Dec 8 23:29:07 2014 -0800 8990 8991 Note curl dependencies for Linux and FreeBSD. 8992 8993Author: Eric Gillespie <epg@google.com> 8994Date: Mon Dec 8 23:26:27 2014 -0800 8995 8996 Teach mhparam about oauth support. 8997 8998Author: Eric Gillespie <epg@google.com> 8999Date: Mon Dec 8 23:20:01 2014 -0800 9000 9001 Implement OAuth 2.0 [1] for XOAUTH2 in SMTP [2] and POP3 [3]. 9002 9003 Google defined XOAUTH2 for SMTP, and that's what we use here. If other 9004 providers implement XOAUTH2 or some similar OAuth-based SMTP authentication 9005 protocol, it should be simple to extend this. 9006 9007 [1] https://tools.ietf.org/html/rfc6749 9008 [2] https://developers.google.com/gmail/xoauth2_protocol 9009 [3] http://googleappsdeveloper.blogspot.com/2014/10/updates-on-authentication-for-gmail.html 9010 9011 Technically, XOAUTH2 is a SASL auth mechanism, but the implementation is so 9012 trivial, I can't justify the code complexity or additional dependency 9013 requirement of using Cyrus SASL for this. So it's completely separate. 9014 9015 Changes: 9016 9017 - New dependencies: 9018 9019 - jsmn (JSON processing library) bundled directly rather than linked to as 9020 an external library because there is no clear winner among JSON 9021 libraries for C and this one is tiny 9022 9023 - libcurl is nearly ubiquitous and too heavy-weight to bundle, so link to 9024 the library the user must install separately 9025 9026 - Add oauth.h / oauth.c which do almost all the work, with quite a bit of 9027 help from curl and jsmn. 9028 9029 - Add new mhlogin program to authorize nmh to use the Gmail account and 9030 store the access and refresh tokens. 9031 9032 - Add new user_agent global to version.c (version.sh); not too happy with 9033 such a generic name, but the others had no mh_ prefix or anything... 9034 9035 - Add XOAUTH2 support to: 9036 mts/smtp/smtp.c uip/post.c uip/send.c uip/popsbr.c uip/inc.c uip/msgchk.c 9037 9038 - Split duplicated serving code out of fakepop.c and fakesmtp.c to new 9039 server.c and also use that for new fakehttp.c. 9040 9041 - Add XOAUTH2 support to fakepop.c and fakesmtp.c. 9042 9043Author: Eric Gillespie <epg@pretzelnet.org> 9044Date: Mon Dec 8 21:47:58 2014 -0800 9045 9046 import jsmn 86:19001fb4adb3 9047 9048Author: David Levine <levinedl@acm.org> 9049Date: Sat Dec 6 09:30:52 2014 -0600 9050 9051 Only remove extraneous trailing semicolon from Content-Type and 9052 Content-Disposition headers because those are the only ones that 9053 parse_mime() warns about, but it does appear on others. 9054 9055Author: Eric Gillespie <epg@pretzelnet.org> 9056Date: Fri Dec 5 21:08:40 2014 -0800 9057 9058 Terminate last arg in proxy argv n popsbr.c:parse_proxy(). 9059 9060 This bug seems to have existed since this code was born. I guess 9061 others have been lucky? 9062 9063Author: Ken Hornstein <kenh@pobox.com> 9064Date: Tue Dec 2 13:41:55 2014 -0500 9065 9066 Set all Content structure elements to NULL as they are free()'d; in a few 9067 cases a content structure is reused and you can get into problems with 9068 double-free()ing elements depending on your MIME composition content syntax. 9069 9070Merge: 330bdf6 8206fbf 9071Author: Ken Hornstein <kenh@pobox.com> 9072Date: Tue Dec 2 13:12:45 2014 -0500 9073 9074 Merge commit '8206fbf', due to my screwup of committing it on a detached 9075 HEAD after a git-bisect. 9076 9077Author: Ken Hornstein <kenh@pobox.com> 9078Date: Tue Dec 2 13:00:47 2014 -0500 9079 9080 Turns out those warnings for ali(1) actually happen when the prefix is 9081 33 characters, not 35. 9082 9083Author: Ken Hornstein <kenh@pobox.com> 9084Date: Tue Dec 2 09:35:02 2014 -0500 9085 9086 Explicitly depend on $(srcdir)/config/version.h rather than depend 9087 on VPATH. 9088 9089Author: Paul Fox <pgf@foxharp.boston.ma.us> 9090Date: Mon Dec 1 13:32:26 2014 -0500 9091 9092 cast isspace() arg to unsigned char in previous commit 9093 9094Author: Paul Fox <pgf@foxharp.boston.ma.us> 9095Date: Mon Dec 1 08:57:44 2014 -0500 9096 9097 handle extraneous trailing ';' characters that are followed by whitespace 9098 9099Author: David Levine <levinedl@acm.org> 9100Date: Sun Nov 30 21:35:19 2014 -0600 9101 9102 mhfixmsg now removes an extraneous trailing semicolon from header 9103 parameter lists. 9104 9105Author: David Levine <levinedl@acm.org> 9106Date: Sat Nov 22 19:00:32 2014 -0600 9107 9108 Use Nmh-Attach for attach header field name, and accept Attach. 9109 9110Author: David Levine <levinedl@acm.org> 9111Date: Sat Nov 22 18:55:39 2014 -0600 9112 9113 Have to check for missing type parameter in message/related part 9114 even though it's required according to RFC 2387 Sec. 3.1. 9115 9116Author: David Levine <levinedl@acm.org> 9117Date: Sat Nov 22 18:54:48 2014 -0600 9118 9119 Expanded explanation of mhfixmsg return status in its man page. 9120 9121Author: David Levine <levinedl@acm.org> 9122Date: Thu Nov 20 22:28:28 2014 -0600 9123 9124 Look at type of parent multipart/related when determining whether 9125 a non-plain text part already has a text/plain sibling. 9126 9127Author: David Levine <levinedl@acm.org> 9128Date: Thu Nov 20 22:27:58 2014 -0600 9129 9130 Added support for multipart/related to MIME parser. 9131 9132Author: David Levine <levinedl@acm.org> 9133Date: Thu Nov 20 20:25:14 2014 -0600 9134 9135 Added some checks to mhfixmsg.c to avoid dereferecing null pointers 9136 after a failed transformation. 9137 9138Author: David Levine <levinedl@acm.org> 9139Date: Thu Nov 20 19:48:58 2014 -0600 9140 9141 Fixed double fclose() in InitMultiPart() and leaks introduced in 9142 commit 5be8db81. 9143 9144Author: Paul Fox <pgf@foxharp.boston.ma.us> 9145Date: Thu Nov 20 15:41:34 2014 -0500 9146 9147 prevent spurious errors when requesting specific message parts 9148 9149 no one should be reporting NOTOK for failure to display parts that 9150 weren't actually requested. failure should be reserved for parts that 9151 we really attempted to display. 9152 9153 (this fix is an extension of c9794733.) 9154 9155Author: David Levine <levinedl@acm.org> 9156Date: Wed Nov 19 21:04:33 2014 -0600 9157 9158 Updated simple integration example in mhfixmsg(1) man page 9159 and added return status values. 9160 9161Author: David Levine <levinedl@acm.org> 9162Date: Wed Nov 19 20:17:45 2014 -0600 9163 9164 Updated test-mhfixmsg to support -[no]changecur. 9165 9166Author: David Levine <levinedl@acm.org> 9167Date: Wed Nov 19 20:13:01 2014 -0600 9168 9169 Added -[no]changecur switches to mhfixmsg(1). 9170 9171Author: David Levine <levinedl@acm.org> 9172Date: Sun Nov 16 18:13:47 2014 -0600 9173 9174 Updated test-repl to compare with new -help message. 9175 9176Author: David Levine <levinedl@acm.org> 9177Date: Sun Nov 16 17:14:32 2014 -0600 9178 9179 Fixed repl help message to show "-[no]cc all|to|cc|me" instead of 9180 different options for -cc and -nocc. 9181 9182Author: David Levine <levinedl@acm.org> 9183Date: Sun Nov 16 17:10:52 2014 -0600 9184 9185 Fixed leak in content_charset(): if get_param() found the charset, 9186 it returns a copy. 9187 9188Author: David Levine <levinedl@acm.org> 9189Date: Sat Nov 15 10:20:42 2014 -0600 9190 9191 Moved mhstore declarations from uip/mhn.c, uip/mhstore.c, and 9192 uip/mhstoresbr.c to h/mhparse.h. 9193 9194Author: David Levine <levinedl@acm.org> 9195Date: Sat Nov 15 08:40:36 2014 -0600 9196 9197 Removed "If this draft originated on the local host, then" phrase 9198 from mh-alias man page. Alias resolution applies no matter where 9199 the draft originated. 9200 9201Author: David Levine <levinedl@acm.org> 9202Date: Fri Nov 7 23:08:13 2014 -0600 9203 9204 Changed content_charset() to not cache, so the user can always, and 9205 should, free the return value. 9206 9207Author: David Levine <levinedl@acm.org> 9208Date: Fri Nov 7 22:46:17 2014 -0600 9209 9210 Cleaned up leaks from calls to content_charset() in mhfixmsg. 9211 9212Author: David Levine <levinedl@acm.org> 9213Date: Fri Nov 7 22:42:34 2014 -0600 9214 9215 Added deallocation of cts to freects_done(). 9216 9217Author: David Levine <levinedl@acm.org> 9218Date: Tue Nov 4 21:47:13 2014 -0600 9219 9220 Fixed repl(1) man page to show "msg" instead of "msgs" because 9221 it only allows reply to one message. 9222 9223Author: David Levine <levinedl@acm.org> 9224Date: Tue Nov 4 17:04:30 2014 -0600 9225 9226 Fixed mlistfree() so that it doesn't dereference a free'd list node 9227 in order to find the next node. 9228 9229Author: David Levine <levinedl@acm.org> 9230Date: Tue Nov 4 17:00:28 2014 -0600 9231 9232 Fixed commit 6cc9e85e73ff6f6c67ae6e645d184bbf57ecc2f0 to properly 9233 return other than the first mbox/address if there's a match in 9234 getmymbox/getmyaddr. 9235 9236Author: David Levine <levinedl@acm.org> 9237Date: Wed Oct 29 21:27:55 2014 -0500 9238 9239 Fixed memory management in mhstore. The main problem was a double 9240 free when both -file and -outfile switches were used on a MIME 9241 message. 9242 9243Author: David Levine <levinedl@acm.org> 9244Date: Wed Oct 29 19:37:18 2014 -0500 9245 9246 Added initial "MH-Profile-Version: 1.0\n" line to newly created 9247 profiles. The main purpose of this first line is to fool file(1). 9248 Without it, if the first line of the profile is Path:, file 5.19 9249 reports its type as message/news. With it, it reports the type as 9250 text/plain. 9251 9252Author: David Levine <levinedl@acm.org> 9253Date: Mon Oct 27 21:20:07 2014 -0500 9254 9255 Renamed getmymbox mh-format escape function to getmyaddr, and 9256 added new getmymbox that returns the user's address with any 9257 personal name. 9258 9259Author: David Levine <levinedl@acm.org> 9260Date: Sun Oct 26 10:41:04 2014 -0500 9261 9262 Added getmymbox function escape. 9263 9264Author: David Levine <levinedl@acm.org> 9265Date: Sat Oct 25 20:41:55 2014 -0500 9266 9267 Fixed memory leak in do_name() when multiple dates are parsed. 9268 9269Author: David Levine <levinedl@acm.org> 9270Date: Sat Oct 25 20:38:20 2014 -0500 9271 9272 Added free_fs(), corresponding to new_fs(). 9273 9274Author: David Levine <levinedl@acm.org> 9275Date: Sat Oct 25 18:54:50 2014 -0500 9276 9277 Fixed dst format escape to return 1 instead of 16, to agree with its 9278 documentation. 9279 9280Author: David Levine <levinedl@acm.org> 9281Date: Fri Oct 24 23:25:58 2014 -0500 9282 9283 Added mhstore-store-text/html formatting string to mhn.defaults. 9284 9285Author: David Levine <levinedl@acm.org> 9286Date: Fri Oct 24 23:19:54 2014 -0500 9287 9288 Fixed typo in mhstore man page. 9289 9290Author: David Levine <levinedl@acm.org> 9291Date: Fri Oct 24 22:22:47 2014 -0500 9292 9293 Reworked charstring_buffer_copy() to not use strdup() so that 9294 charstrings with null bytes can be supported. Added 9295 charstring_append_cstring(). 9296 9297Author: David Levine <levinedl@acm.org> 9298Date: Sat Oct 11 09:22:52 2014 -0500 9299 9300 Added mh_xcalloc(). 9301 9302Author: David Levine <levinedl@acm.org> 9303Date: Sat Oct 11 09:17:14 2014 -0500 9304 9305 The units of the zone format escape are minutes, not hours. 9306 9307Merge: edccf71 a92ba79 9308Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9309Date: Wed Oct 8 19:13:19 2014 -0700 9310 9311 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 9312 9313Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9314Date: Wed Oct 8 19:12:28 2014 -0700 9315 9316 no-op to force check the buildbots. 9317 9318Merge: cdec1be 64be852 9319Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9320Date: Sun Oct 5 12:32:20 2014 -0700 9321 9322 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 9323 9324Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9325Date: Sun Oct 5 12:28:56 2014 -0700 9326 9327 mhn.defaults: make fetch less agressive on FreeBSD. 9328 9329 Drop the -a flag to fetch. Its retry logic has a bug where it will 9330 go into an endless loop when trying to re-fetch an object behind 9331 an https:// link when it is unable to validate the X.509 certificate 9332 chain. 9333 9334Author: David Levine <levinedl@acm.org> 9335Date: Sun Oct 5 10:18:25 2014 -0500 9336 9337 Use "mhparam etcdir" instead of hard-coded etc in build_nmh. 9338 9339Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9340Date: Sun Oct 5 01:50:59 2014 -0700 9341 9342 Clean atags file as part of maintainer-clean. 9343 9344Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9345Date: Sun Oct 5 01:27:56 2014 -0700 9346 9347 Add a missing option to mhn fetch command for FreeBSD. 9348 9349 I *always* forget the '-o -' to redirect to stdout :-P 9350 9351Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9352Date: Sun Oct 5 01:20:56 2014 -0700 9353 9354 On FreeBSD, use fetch(1) to retrieve external content through URLs. 9355 9356 fetch(1) is part of the base system, so it's guaranteed to always be there. 9357 And it is more likely to have been configured for any local site 9358 customizations (local caches, proxies, etc). 9359 9360Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9361Date: Sun Oct 5 00:26:11 2014 -0700 9362 9363 If building from a non-master git branch, include the branch name in the version string. 9364 9365Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9366Date: Sat Oct 4 22:49:01 2014 -0700 9367 9368 New locations for config files and support binaries, and smarter default for install root directory. 9369 9370 The default locations for config files and back-end executables has 9371 changed. 9372 9373 Config files have moved from ${sysconfdir} to ${sysconfdir}/nmh, and 9374 the back-end programs from ${libdir} to ${libexecdir}/nmh. 9375 9376 The only user-visible change is the addition of a new mhparam(1) 9377 component 'libexecdir', which replaces the previous 'libdir'. User 9378 scripts invoking 'mhparam libdir' will need an update. 'libdir' 9379 has been kept around for the time being, to give people a chance 9380 to update their scripts. It returns the same value as 'libexecdir'. 9381 'libdir' has been marked deprecated in the mhparam(1) manpage and 9382 the release notes; it will be removed in a couple of releases. 9383 9384 In conjunction with this change there was an opportunity to do a 9385 bit of Makefile cleanup. The old 'auxexec' construct has been 9386 replaced with a new scheme that leverages automake's templating. 9387 The auxexec_* references have been replaced with nmhlibexec_* forms, 9388 and a corresponding nmhlibexecdir variable defined as ${libexecdir}/nmh. 9389 9390 Likewise, etcdir has been replaced with nmhetcdir. 9391 9392 These name changes have percolated downstream to some extent, primarily 9393 in the man pages and test scripts. 9394 9395 Finally, configure has been made a bit smarter about setting the 9396 default ${prefix}. If it finds an existing nmh installation, it 9397 will set the default ${prefix} to match, falling back to /usr/local/nmh. 9398 configure looks for an existing installation by searching $PATH for 9399 a viable mhparam binary. 9400 9401Author: David Levine <levinedl@acm.org> 9402Date: Sat Oct 4 22:43:21 2014 -0500 9403 9404 Fixed commit 2adafe760a9c45b417727a3f5d9481de26471a8b to not 9405 try to allocate a charstring_t of length INT_MAX with -width 0. 9406 9407Author: David Levine <levinedl@acm.org> 9408Date: Sat Oct 4 22:17:08 2014 -0500 9409 9410 Simplified test-mhl-flags a bit. 9411 9412Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9413Date: Wed Oct 1 17:20:38 2014 -0700 9414 9415 Add a 'guide' file for acme(1). 9416 9417 If we ever find more than one acme user working on the source, 9418 the single-guide-file premise might need a review. 9419 9420 Ultimately, there should be a way for the configure script to 9421 search for and import a personal guide file from the developer's 9422 $HOME or some such. The next person to come along can figure 9423 that out. 9424 9425Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9426Date: Wed Oct 1 15:36:25 2014 -0700 9427 9428 git: ignore top-level tags files 9429 9430 atags is the output from a ctags variant that generates its 9431 output in a format recognized by Plan 9's acme editor. 9432 (ftp://orthanc.ca/unix/atags/ for details.) 9433 9434Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9435Date: Mon Sep 29 22:42:28 2014 -0700 9436 9437 FreeBSD packages destination directory fixup. 9438 9439 If the ports collection is not installed, assume ports/packages 9440 install under /usr/local. 9441 9442 Also, when querying <bsd.port.mk>, use the value of the $(LOCALBASE) 9443 macro. ($(PREFIX) is for port-specific overrides of $(LOCALBASE).) 9444 9445Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9446Date: Mon Sep 29 15:52:18 2014 -0700 9447 9448 For FreeBSD builds, also search the ports tree for includes and libs. 9449 9450Author: David Levine <levinedl@acm.org> 9451Date: Sun Sep 14 20:24:24 2014 -0500 9452 9453 Added checks of return value of fwrite() calls where missing. 9454 9455Author: David Levine <levinedl@acm.org> 9456Date: Sun Sep 14 19:31:43 2014 -0500 9457 9458 Fixed formatting of rtrim/nortrim in mhl man page. 9459 9460Author: David Levine <levinedl@acm.org> 9461Date: Sun Sep 14 19:14:10 2014 -0500 9462 9463 An "rtrim" flag has been added to mhl to remove any trailing 9464 whitespace from filtered text lines. A corresponding "nortrim" flag 9465 has also been added. 9466 9467Author: David Levine <levinedl@acm.org> 9468Date: Sun Sep 14 19:04:21 2014 -0500 9469 9470 If a component has trailing whitespace, e.g., body:component="> ", 9471 mhl now trims that whitespace off when filtering blank text lines. 9472 9473Author: David Levine <levinedl@acm.org> 9474Date: Fri Sep 12 22:12:33 2014 -0500 9475 9476 Fixed all anomalies detected by clang static analyzer (with 9477 default checkers on Linux). One was notable: there was a break 9478 missing from a switch case in fmt_scan.c, which caused the result 9479 of the sday function escape to be garbage. 9480 9481Author: Ken Hornstein <kenh@pobox.com> 9482Date: Fri Sep 12 15:06:52 2014 -0400 9483 9484 Fix typo in man page 9485 9486Author: David Levine <levinedl@acm.org> 9487Date: Sun Sep 7 09:56:21 2014 -0500 9488 9489 On some platforms, -D_FORTIFY_SOURCE=2 warns about ignoring the 9490 return value from mbtowc() even when it is called to reset the 9491 shift state. So wrap that in an if statement with a null body. 9492 9493Author: David Levine <levinedl@acm.org> 9494Date: Sun Sep 7 09:18:20 2014 -0500 9495 9496 Added -D_FORTIFY_SOURCE=2 now that the build is clean with it. 9497 Removed -Wno-unused-result because it shold no longer be necessary. 9498 Adjusting all settings of CPPFLAGS to have consistent form. 9499 9500Author: David Levine <levinedl@acm.org> 9501Date: Sat Sep 6 20:26:42 2014 -0500 9502 9503 Added a couple of new directories and a note about valgrind 9504 warnings from debuginfo to README.developers. 9505 9506Author: David Levine <levinedl@acm.org> 9507Date: Sat Sep 6 08:00:52 2014 -0500 9508 9509 Check return values of system calls in uip/ and test/ .c files, found 9510 with gcc's -D_FORTIFY_SOURCE=2. 9511 9512Author: David Levine <levinedl@acm.org> 9513Date: Fri Sep 5 21:18:28 2014 -0500 9514 9515 Quote "$SEARCHPATH" in mhn.defaults.sh to allow spaces, etc., in 9516 PATH components. 9517 9518Author: David Levine <levinedl@acm.org> 9519Date: Mon Sep 1 21:09:04 2014 -0500 9520 9521 Doubled size of buffers used by m_getfld(), scan, and fmttest to 9522 8192, on any platform, so that -width 0 and -outsize max are 9523 likely to include at least some part of the body of each message. 9524 9525Author: David Levine <levinedl@acm.org> 9526Date: Mon Sep 1 20:27:33 2014 -0500 9527 9528 Fixed typo in mh-profile.man. 9529 9530Author: David Levine <levinedl@acm.org> 9531Date: Mon Sep 1 20:14:52 2014 -0500 9532 9533 Don't let scan() use too large a width (BUFSIZ for now) to prevent 9534 allocating a huge output buffer. 9535 9536Author: David Levine <levinedl@acm.org> 9537Date: Sun Aug 31 15:40:57 2014 -0500 9538 9539 A value of 0 for the width switch of scan(1), inc(1), ap(1), dp(1), 9540 fmttest(1), and mhl(1) now means as many characters as the format 9541 engine can produce [Bug #15274]. That amount is limited by internal 9542 buffers. 9543 9544Author: David Levine <levinedl@acm.org> 9545Date: Sun Aug 31 15:39:47 2014 -0500 9546 9547 Fixed read of body in fmttest to limit size to that of rbuf, if 9548 smaller than outwidth, to avoid overrunning it. 9549 9550Author: David Levine <levinedl@acm.org> 9551Date: Fri Aug 29 08:50:51 2014 -0500 9552 9553 fmt_scan() no longer subtracts 1 from the width. This has the effect 9554 of no longer counting the trailing newline in the output of scan(1), 9555 inc(1), and the other programs that rely on it. 9556 9557Author: Ken Hornstein <kenh@pobox.com> 9558Date: Thu Aug 28 22:29:21 2014 -0400 9559 9560 Very very rough cut at trying to parse email addresses with Bison. 9561 9562Author: David Levine <levinedl@acm.org> 9563Date: Mon Aug 25 22:06:11 2014 -0500 9564 9565 Check return values of system calls in several sbr .c files, found 9566 with gcc's -D_FORTIFY_SOURCE=2. Updated checks added previously to 9567 mhfixmsg.c to be consistent. 9568 9569Author: David Levine <levinedl@acm.org> 9570Date: Mon Aug 25 20:49:39 2014 -0500 9571 9572 Moved reverse_alternative_parts() from mhfixmsg.c to mhparse.c 9573 and added declaration to mhparse.h. 9574 9575Author: David Levine <levinedl@acm.org> 9576Date: Mon Aug 25 19:50:23 2014 -0500 9577 9578 Removed msh relics from scansbr.c, including a global. 9579 9580Author: David Levine <levinedl@acm.org> 9581Date: Mon Aug 25 19:29:34 2014 -0500 9582 9583 Added size_t cast of another MB_CUR_MAX to silence the compiler 9584 on FreeBSD 9. 9585 9586Author: David Levine <levinedl@acm.org> 9587Date: Sun Aug 24 21:46:34 2014 -0500 9588 9589 Added cast of MB_CUR_MAX to size_t to silence compiler warning on 9590 FreeBSD. 9591 9592Author: David Levine <levinedl@acm.org> 9593Date: Sun Aug 24 21:19:10 2014 -0500 9594 9595 Dynamically allocate space for the output of fmt_scan(), using 9596 charstring_t, so a fixed sized output buffer is no longer needed. 9597 Also got rid of scanl global. 9598 9599Author: David Levine <levinedl@acm.org> 9600Date: Sun Aug 24 12:06:40 2014 -0500 9601 9602 Added const to last argument of trace_cb signature, it'll be 9603 needed for use with charstring. 9604 9605Author: David Levine <levinedl@acm.org> 9606Date: Sun Aug 24 08:23:55 2014 -0500 9607 9608 Added charstring "class". 9609 9610Author: David Levine <levinedl@acm.org> 9611Date: Wed Aug 20 07:53:56 2014 -0500 9612 9613 Refer to RFC 2046 instead of 1521 in mhlist.man. 9614 9615Author: David Levine <levinedl@acm.org> 9616Date: Mon Aug 18 20:47:03 2014 -0500 9617 9618 Changed dist_contrib_DATA to dist_contrib_SCRIPTS so that all 9619 of the scripts will be installed with execute permissions. 9620 9621Author: David Levine <levinedl@acm.org> 9622Date: Mon Aug 18 20:36:00 2014 -0500 9623 9624 Updated mhfixmsg(1) man page to refer to mh-mkstemp(1) instead of 9625 mktemp. 9626 9627Author: David Levine <levinedl@acm.org> 9628Date: Sat Aug 16 21:01:26 2014 -0500 9629 9630 Checked return value of write() calls in mhfixmsg.c, 9631 found with gcc's -D_FORTIFY_SOURCE=2. 9632 9633Author: David Levine <levinedl@acm.org> 9634Date: Fri Aug 15 21:00:57 2014 -0500 9635 9636 Removed h/msh, hopefully the last msh relic. 9637 9638Author: David Levine <levinedl@acm.org> 9639Date: Sat Aug 9 09:20:31 2014 -0500 9640 9641 ncurses package is required to run all of test suite on Linux and Cygwin. 9642 9643Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9644Date: Fri Aug 8 14:32:54 2014 -0700 9645 9646 Print information about the compiler toolchain on Darwin and FreeBSD. 9647 9648Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9649Date: Wed Aug 6 17:48:18 2014 -0700 9650 9651 Add new build tool: tools/showbuildenv 9652 9653 This prints some basic information about the build environment. 9654 It's intended use is to print some information about the specific 9655 build environment for each of the builds in the buildbot cluster. 9656 In particular, the patch level of the OS, and the versions of 9657 3rd-party packages installed on the system, compiler versions, etc. 9658 9659Author: David Levine <levinedl@acm.org> 9660Date: Sun Aug 3 22:08:23 2014 -0500 9661 9662 Removed second argument from m_Eom() in m_getfld.c because 9663 it was unused. 9664 9665Author: David Levine <levinedl@acm.org> 9666Date: Sun Aug 3 21:05:03 2014 -0500 9667 9668 Here's a better fix to m_Eom() in m_getfld.c than commit 9669 d2520ac7054ad75d60342606bf13c821305d958c. The comparison 9670 of the return value of Getc() with EOF must be as an 9671 integer, not a char. 9672 9673Author: David Levine <levinedl@acm.org> 9674Date: Sun Aug 3 21:01:16 2014 -0500 9675 9676 Removed eom_action from m_getfld.c because it was only used by 9677 m_eomsbr(), which was removed by commit 9678 68e8c25f906e7353269502d2292c8e99aa8c6605. 9679 9680Author: David Levine <levinedl@acm.org> 9681Date: Sun Aug 3 20:35:07 2014 -0500 9682 9683 Removed mhlsbr(). It was only used by msh, too. 9684 9685Author: David Levine <levinedl@acm.org> 9686Date: Sun Aug 3 20:10:45 2014 -0500 9687 9688 Removed m_eomsbr() from m_getfld.c, and its scan_eom_action() 9689 wrapper. It was only used by msh, which was removed by commit 9690 e6917522a770cf2dba9997ca047977bc55fac061. 9691 9692Author: David Levine <levinedl@acm.org> 9693Date: Sun Aug 3 07:53:15 2014 -0500 9694 9695 Added -debug switch to pick(1) and deprecated $MHPDEBUG. 9696 9697Author: David Levine <levinedl@acm.org> 9698Date: Sat Aug 2 21:37:34 2014 -0500 9699 9700 Fixed refile(1) -retainsequences when the source and destination 9701 folders are the same. 9702 9703Author: David Levine <levinedl@acm.org> 9704Date: Sun Jul 27 08:32:13 2014 -0500 9705 9706 Separated out list of programs that are required to build from a 9707 source code snapshot from those that are required to build from a 9708 distribution. 9709 9710Author: David Levine <levinedl@acm.org> 9711Date: Thu Jul 24 13:10:23 2014 -0500 9712 9713 Fixed sed usage in flex fixup to not use -s (or -e, because 9714 even that's not needed). 9715 9716Author: David Levine <levinedl@acm.org> 9717Date: Wed Jul 23 21:20:34 2014 -0500 9718 9719 Removed "true" from end of flex fixups. I don't know why it was 9720 there. 9721 9722Author: David Levine <levinedl@acm.org> 9723Date: Wed Jul 23 21:10:47 2014 -0500 9724 9725 Apply flex fixup to dtimep.c with flex 2.5.37 as well as 2.5.36. 9726 9727Author: David Levine <levinedl@acm.org> 9728Date: Tue Jul 22 21:50:30 2014 -0500 9729 9730 When mhparam(1) is going to output the value for spoollocking, 9731 call mts_init() first in case it was set in mts.conf. 9732 9733Author: David Levine <levinedl@acm.org> 9734Date: Tue Jul 22 21:17:54 2014 -0500 9735 9736 Updated test-spoollocking to restore mts.conf when it's finished 9737 (successfully) so as to not upset subsequent tests. Also fixed 9738 removal of existing spoollocking option each time through. 9739 9740Author: David Levine <levinedl@acm.org> 9741Date: Tue Jul 22 20:46:04 2014 -0500 9742 9743 Note in mh-folders(5) man page that spoollocking can be overridden 9744 in mts.conf as well as with configure. 9745 9746Author: Ken Hornstein <kenh@pobox.com> 9747Date: Wed Jul 9 12:05:49 2014 -0400 9748 9749 Fix bug #42718; ali(1) still refers to removed options -normalize and 9750 -nonormalize. 9751 9752Author: David Levine <levinedl@acm.org> 9753Date: Tue Jul 8 19:58:12 2014 -0500 9754 9755 If the user didn't specify any of the tls switches to post(8), try to 9756 help them by implying -initialtls if they're using port 465 (smtps, 9757 until IANA revoked that registration in 1998). 9758 9759Author: David Levine <levinedl@acm.org> 9760Date: Sun Jul 6 22:22:38 2014 -0500 9761 9762 Here's an even simpler fix to enable TLS by default. 9763 9764Author: David Levine <levinedl@acm.org> 9765Date: Sun Jul 6 16:46:12 2014 -0500 9766 9767 Fix to commit 03e76aecdf671ca13b5912af8206e9bdcb6c0919 to enable 9768 TLS by default. Boolean logic is our friend. 9769 9770Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9771Date: Fri Jul 4 13:24:37 2014 -0700 9772 9773 Revert "Default to enabling (Cyrus) SASL, if available." 9774 9775 This reverts commit fd23674a5829d5092c99a07110086f02f0b4a238. 9776 9777Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9778Date: Thu Jul 3 19:31:44 2014 -0700 9779 9780 Turn back the sasl test. Everything broke as a result. 9781 Not surprising. 9782 9783 Revert "Comments should say why a chance matters ..." 9784 9785 This reverts commit 7e6d0b76b1869b4fecc2412ac68f9739ee5916ea. 9786 9787Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9788Date: Thu Jul 3 17:49:31 2014 -0700 9789 9790 Comments should say why a chance matters ... 9791 9792Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9793Date: Thu Jul 3 16:40:37 2014 -0700 9794 9795 Default to enabling (Cyrus) SASL, if available. 9796 9797Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9798Date: Thu Jul 3 16:33:56 2014 -0700 9799 9800 Fix the release notes to put things in the correct section, 9801 9802Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9803Date: Thu Jul 3 16:25:13 2014 -0700 9804 9805 Note that post uses the submission port now. 9806 9807Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9808Date: Thu Jul 3 16:11:38 2014 -0700 9809 9810 Enable TLS by default. 9811 9812Author: David Levine <levinedl@acm.org> 9813Date: Mon Jun 16 21:04:47 2014 -0500 9814 9815 Check return value of setlocale(3) and admonish on failure. 9816 9817Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9818Date: Mon Jun 16 17:03:06 2014 -0700 9819 9820 Add missing variable initializations on fmt_scan(). 9821 9822Author: Lyndon Nerenberg <lyndon@orthanc.ca> 9823Date: Mon Jun 16 16:03:25 2014 -0700 9824 9825 Ensure getline() is in scope on FreeBSD. 9826 9827 On FreeBSD, to make the getline() prototype visible, you must 9828 '#define _WITH_GETLINE' before including <stdio.h>. 9829 9830Author: David Levine <levinedl@acm.org> 9831Date: Sun Jun 15 22:43:16 2014 -0500 9832 9833 Fix to commit 0d3875d020fb17d34918f5e81ee7f87fbc5d1565: it seems 9834 that only Linux uses the locale name of en_US.utf8, so added check 9835 for the more common en_US.utf-8 to the tests that use it. 9836 9837Author: David Levine <levinedl@acm.org> 9838Date: Sun Jun 15 22:05:16 2014 -0500 9839 9840 Reordered #includes of sbr/terminal.c to allow compilation on 9841 Solaris 10. Thanks to Michael Urban for report the problem and 9842 verifying the fix. 9843 9844Author: David Levine <levinedl@acm.org> 9845Date: Sat Jun 14 11:52:42 2014 -0500 9846 9847 Skip (parts of) tests that require en_US.utf8 locale if it's 9848 not available. Thanks to Alexander Zangerl for reporting the 9849 issue. 9850 9851Author: Ken Hornstein <kenh@pobox.com> 9852Date: Fri Jun 13 15:17:48 2014 -0400 9853 9854 Test to make sure inc works properly with a POP server that has 9855 multiple messages on it. 9856 9857Author: Ken Hornstein <kenh@pobox.com> 9858Date: Fri Jun 13 15:07:26 2014 -0400 9859 9860 Support multiple messages with fakepop. 9861 9862Author: Ken Hornstein <kenh@pobox.com> 9863Date: Tue Jun 10 21:08:02 2014 -0400 9864 9865 Always default the username to the local username, even when not 9866 doing SASL. Fix suggested by Michael Urban. 9867 9868Author: Ken Hornstein <kenh@pobox.com> 9869Date: Tue Jun 10 19:06:54 2014 -0400 9870 9871 Use variable-size (but in one case, fixed but larger) buffers for the SASL 9872 exchange to deal with larger SASL messages (specifically, when doing GSSAPI 9873 with certain ticket extensions). 9874 9875Author: Paul Fox <pgf@foxharp.boston.ma.us> 9876Date: Mon Jun 9 23:21:35 2014 -0400 9877 9878 mh-profile.man: rewrite the Profile Lookup section for clarity 9879 9880 thanks to Ralph Corderoy for the text. 9881 9882Author: Ken Hornstein <kenh@pobox.com> 9883Date: Mon Jun 9 12:00:17 2014 -0400 9884 9885 If "curl" is available, create a nmh-access-url entry that uses it. 9886 9887Author: Ken Hornstein <kenh@pobox.com> 9888Date: Mon Jun 9 11:36:05 2014 -0400 9889 9890 Fix curl example for nmh-access-url entry. 9891 9892Author: Ken Hornstein <kenh@pobox.com> 9893Date: Sat Jun 7 23:14:12 2014 -0400 9894 9895 Return an appropriate error if the input characters are 8-bit, but the 9896 locale character set is US-ASCII. 9897 9898Author: Ken Hornstein <kenh@pobox.com> 9899Date: Sat Jun 7 22:40:12 2014 -0400 9900 9901 Whoops, this should be LC_CTYPE. Fixing that exposes the lack of an 9902 appropriate environment variable in test-utf8-body 9903 9904Author: Paul Fox <pgf@foxharp.boston.ma.us> 9905Date: Wed Jun 4 12:18:12 2014 -0400 9906 9907 mhlist: don't truncate anything when -verbose 9908 9909 without this change to the -verbose output, there's no easy way to use 9910 mhlist to get an unmodified content-type or content-description. (the 9911 non-verbose output isn't changed.) 9912 9913Author: David Levine <levinedl@acm.org> 9914Date: Thu May 29 21:08:59 2014 -0500 9915 9916 Clarified description in comments of context_find_by_type(). 9917 9918Author: David Levine <levinedl@acm.org> 9919Date: Thu May 29 21:07:25 2014 -0500 9920 9921 Added static to declaration of docc(). 9922 9923Author: David Levine <levinedl@acm.org> 9924Date: Thu May 29 21:05:36 2014 -0500 9925 9926 Undid commit 475fef2edee9db3c63fc089df76f8e93e3d598cd, it didn't 9927 seem popular. We'd be better off with a proper method, or using 9928 formail(1), to extract the addresses from a message. 9929 9930Author: David Levine <levinedl@acm.org> 9931Date: Thu May 29 21:02:49 2014 -0500 9932 9933 Split assignment and export of shell variable. 9934 9935Author: David Levine <levinedl@acm.org> 9936Date: Tue May 27 21:35:23 2014 -0500 9937 9938 Added mention of "Reply to <address>?" prompt to repl(1) man 9939 page and code, as comment. Suggested by Norm so that scripts 9940 can depend on it. 9941 9942Author: David Levine <levinedl@acm.org> 9943Date: Mon May 26 09:17:34 2014 -0500 9944 9945 Added context_find_by_type(), helper function to search first, if 9946 subtype is non-NULL, for invoname-string-type/subtype and then 9947 invoname-string-type. Also gets rid of some fixed-size temp buffers. 9948 9949Author: David Levine <levinedl@acm.org> 9950Date: Fri May 23 17:07:39 2014 -0500 9951 9952 Fixed test-mkstemp to work with valgrind. 9953 9954Author: David Levine <levinedl@acm.org> 9955Date: Thu May 22 20:39:45 2014 -0500 9956 9957 Fixed to commit 378589b17424bd78acbfc57d505383ffb8c256cb: 9958 when a -file switch will be used, insert -[no]concat before 9959 the filename (and therefore, the -file switch itself). 9960 9961Author: David Levine <levinedl@acm.org> 9962Date: Wed May 21 22:11:42 2014 -0500 9963 9964 Don't pass -[no]concat from show(1) to mhl(1). 9965 9966Author: David Levine <levinedl@acm.org> 9967Date: Wed May 21 20:56:25 2014 -0500 9968 9969 Fixed typos in comments. 9970 9971Author: David Levine <levinedl@acm.org> 9972Date: Wed May 21 20:50:22 2014 -0500 9973 9974 On platforms with no MIMETYPEPROC, declare the content to be 9975 binary if it contains any NUL characters. 9976 9977Author: Ken Hornstein <kenh@pobox.com> 9978Date: Mon May 19 13:37:26 2014 -0400 9979 9980 Explain how to get a literal % in format files. 9981 9982Author: David Levine <levinedl@acm.org> 9983Date: Sun May 18 21:55:13 2014 -0500 9984 9985 Documented steps to build RPM from tarball, without using autogen.sh. 9986 9987Author: David Levine <levinedl@acm.org> 9988Date: Sun May 18 21:43:20 2014 -0500 9989 9990 Added autogen.sh to EXTRA_DIST. 9991 9992Author: Ken Hornstein <kenh@pobox.com> 9993Date: Fri May 16 13:02:43 2014 -0400 9994 9995 Handle unknown message types in the generic content handler rather 9996 than in the RFC822 handler; this will cause them to be displayed using 9997 an output marker rather than throw an error. 9998 9999Author: Ken Hornstein <kenh@pobox.com> 10000Date: Fri May 16 12:14:21 2014 -0400 10001 10002 Output a newline if the last character in a text/plain part is 10003 not a newline (but only for mhshow). 10004 10005Author: Ken Hornstein <kenh@pobox.com> 10006Date: Fri May 16 00:04:24 2014 -0400 10007 10008 Move the prototype for show_content_aux() to a common header file; it 10009 got an extra argument recently but none of the other users of it 10010 noticed. 10011 10012 When fixing this I discovered that the usage of show_content_aux() 10013 by mhstoresbr.c was wrong; the prototype had an extra argument in 10014 the middle of it. Apparently this has been broken for 15 years! 10015 10016Author: Ken Hornstein <kenh@pobox.com> 10017Date: Thu May 15 23:01:49 2014 -0400 10018 10019 Switch from %p to %l (%p is no longer supported, although we silently 10020 accept it). 10021 10022Author: Paul Fox <pgf@foxharp.boston.ma.us> 10023Date: Thu May 15 14:02:07 2014 -0400 10024 10025 fix comment syntax 10026 10027Author: Paul Fox <pgf@foxharp.boston.ma.us> 10028Date: Tue May 13 09:36:42 2014 -0400 10029 10030 clarify scan_content() logic for choosing encoding 10031 10032Author: David Levine <levinedl@acm.org> 10033Date: Thu May 15 10:28:03 2014 -0500 10034 10035 Added support for mhbuild-disposition-<type>[/<subtype>] profile 10036 entries when mhbuild expands Attach: headers. Default to 10037 'attachment', but override with 'inline' entries for text/calendar 10038 and message/rfc822 in mhn.defaults. 10039 10040Author: Paul Fox <pgf@foxharp.boston.ma.us> 10041Date: Thu May 15 08:55:45 2014 -0400 10042 10043 change mhlist to use decimal math when abbreviating sizes 10044 10045 the K/M/G/T units imply factors of 1000, so make the code 10046 match. (the alternative would be to change the units to 10047 Ki/Mi/Gi/Ti.) mhlist output might someday be configurable 10048 using mh-format, in which case the user will be able to choose. 10049 10050Author: Paul Fox <pgf@foxharp.boston.ma.us> 10051Date: Tue May 13 10:10:09 2014 -0400 10052 10053 add $(kibi) function, as complement to %(kilo) 10054 10055 %(kibi) will convert a number to IEC prefix units, i.e. Ki, Mi, Gi, 10056 Ti, representing factors of 1024. (by comparison, %(kilo) represents 10057 factors of 1000.) 10058 10059Author: Paul Fox <pgf@foxharp.boston.ma.us> 10060Date: Tue May 13 09:43:43 2014 -0400 10061 10062 rename %(units) to %(kilo) 10063 10064 per discussion here: 10065 http://lists.nongnu.org/archive/html/nmh-workers/2014-05/msg00092.html 10066 10067Author: David Levine <levinedl@acm.org> 10068Date: Tue May 13 07:02:11 2014 -0500 10069 10070 Added --dereference option, if supported, to file(1) command 10071 in NMH_MIMETYPEPROC and NMH_MIMEENCODINGPROC macros. 10072 10073Author: David Levine <levinedl@acm.org> 10074Date: Fri May 9 18:58:11 2014 -0500 10075 10076 Fix to commit b828fcb1695393007a75c41d32b2173c296be9d7: a couple 10077 of commas were missing from the added line. 10078 10079Author: Paul Fox <pgf@foxharp.boston.ma.us> 10080Date: Thu May 8 14:25:14 2014 -0400 10081 10082 add new sample files for mhbuild tests to Makefile.am 10083 10084Author: Paul Fox <pgf@foxharp.boston.ma.us> 10085Date: Thu May 8 12:42:10 2014 -0400 10086 10087 add new test for 'mhbuild -check' 10088 10089Author: Paul Fox <pgf@foxharp.boston.ma.us> 10090Date: Thu May 8 11:31:56 2014 -0400 10091 10092 eliminate use of fgets() from calculate_digest() in mhbuildsbr.c 10093 10094Author: Paul Fox <pgf@foxharp.boston.ma.us> 10095Date: Thu May 8 10:57:40 2014 -0400 10096 10097 eliminate use of fgets() in mhbuild.c 10098 10099 use getline() instead, which is more tolerant of NULs in the input. 10100 also cleaned up error and file cleanup paths a bit. 10101 10102Author: Paul Fox <pgf@foxharp.boston.ma.us> 10103Date: Thu May 8 10:51:30 2014 -0400 10104 10105 eliminate use of fgets() in mhparse.c 10106 10107 use getline() instead, which is more tolerant of NULs in the input. 10108 10109Author: Paul Fox <pgf@foxharp.boston.ma.us> 10110Date: Wed May 7 19:43:04 2014 -0400 10111 10112 add new test for NUL bytes embedded in text/plain parts 10113 10114 such parts should be encoded with quoted-printable 10115 10116Author: Paul Fox <pgf@foxharp.boston.ma.us> 10117Date: Wed May 7 16:57:14 2014 -0400 10118 10119 add new test for attachment containing NULs 10120 10121Author: Paul Fox <pgf@foxharp.boston.ma.us> 10122Date: Wed May 7 19:41:39 2014 -0400 10123 10124 clean up whitespace in mhbuildsbr.c 10125 10126 lots of space-follows-tabs, and trailing whitespace. 10127 no code changes. 10128 10129Author: Paul Fox <pgf@foxharp.boston.ma.us> 10130Date: Wed May 7 19:36:56 2014 -0400 10131 10132 make scan_content() work correctly with content containing NULs 10133 10134 switched from fgets to getline for unambiguous reads in the face of 10135 NUL bytes. added a checkfornuls flag, and use it to cause the correct 10136 encoding when content-types of application or text contain NULs. 10137 10138Author: Paul Fox <pgf@foxharp.boston.ma.us> 10139Date: Wed May 7 19:34:33 2014 -0400 10140 10141 make writeQuoted() work correctly with content containing NULs 10142 10143Author: Ken Hornstein <kenh@pobox.com> 10144Date: Thu May 8 12:37:50 2014 -0400 10145 10146 Treat unknown top-level content types as "application" types, instead 10147 of generating an "unknown content type 0" error. 10148 10149Author: David Levine <levinedl@acm.org> 10150Date: Wed May 7 21:16:46 2014 -0500 10151 10152 Fixed test-charset to pass without iconv. 10153 10154Author: David Levine <levinedl@acm.org> 10155Date: Wed May 7 21:14:45 2014 -0500 10156 10157 Moved norm_charmap() declaration from h/prototypes.h to 10158 sbr/check_charset.c. That's the only place where it's used and 10159 we want to keep it that way. 10160 10161Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10162Date: Wed May 7 12:33:56 2014 -0700 10163 10164 Add a doxygen config file. 10165 10166 Sends its output to docs/doxygen/... (see docs/doxygen/html/index.html after 10167 you run doxygen). 10168 10169 Requires graphviz, for the dependency graphs. 10170 10171Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10172Date: Wed May 7 12:09:21 2014 -0700 10173 10174 Revert "Increment VERSION on the head to 1.7+dev." 10175 10176 This reverts commit 6cce62edaae4cc28ac42a1a796ff18f183407788. 10177 10178Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10179Date: Wed May 7 12:07:03 2014 -0700 10180 10181 Add a 'tools' subdirectory. This is a home for developer-oriented 10182 scripts and such which can't be run from the Makefile(s) due to 10183 system dependencies. 10184 10185Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10186Date: Wed May 7 11:49:10 2014 -0700 10187 10188 Increment VERSION on the head to 1.7+dev. 10189 10190Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10191Date: Wed May 7 11:44:05 2014 -0700 10192 10193 Scrub *.plist (Clang Static Analyzer) files when cleaning. 10194 10195Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10196Date: Wed May 7 11:43:09 2014 -0700 10197 10198 Git: ingore *.plist files (generated by the Clang Static Analyzer). 10199 10200Author: Paul Fox <pgf@foxharp.boston.ma.us> 10201Date: Wed May 7 12:10:35 2014 -0400 10202 10203 remove binaries unintentionally committed 10204 10205 oops. 10206 10207Author: Paul Fox <pgf@foxharp.boston.ma.us> 10208Date: Mon May 5 22:41:43 2014 -0400 10209 10210 modify tests for the new mhshow mime part marker format 10211 10212 also added a couple of Content-Description headers to better 10213 test the marker format. 10214 10215Author: Paul Fox <pgf@foxharp.boston.ma.us> 10216Date: Wed May 7 10:19:56 2014 -0400 10217 10218 modify mhshow marker format to include the size of the part 10219 10220Author: Paul Fox <pgf@foxharp.boston.ma.us> 10221Date: Tue May 6 17:28:18 2014 -0400 10222 10223 add "%(units)" function, to express numbers with SI units 10224 10225 i.e., 1510 --> 1.5K, 15780000 --> 15.8M etc. useful with %(size), 10226 as in %(units(size)). 10227 10228Author: Paul Fox <pgf@foxharp.boston.ma.us> 10229Date: Tue May 6 11:54:52 2014 -0400 10230 10231 make the %(size) function useful in mhshow marker line formats 10232 10233 normally %(size) returns the size of the message. in mhshow 10234 marker lines, it returns the size of the (decoded, if necessary) part. 10235 10236Author: Ken Hornstein <kenh@pobox.com> 10237Date: Tue May 6 22:41:34 2014 -0400 10238 10239 Document these functions a bit better. 10240 10241Author: David Levine <levinedl@acm.org> 10242Date: Sun May 4 22:30:45 2014 -0500 10243 10244 Removed obsolete comment. 10245 10246Author: David Levine <levinedl@acm.org> 10247Date: Sun May 4 09:25:49 2014 -0500 10248 10249 Fixed typo in comment in sbr/readconfig.c. 10250 10251Author: David Levine <levinedl@acm.org> 10252Date: Sun May 4 21:51:52 2014 -0500 10253 10254 Replaced use of norm_charmap() in mhshow and mhfixmsg with 10255 case-insensitive string comparison against the charset name. 10256 norm_charmap() is intended for use with result of nl_langinfo(), 10257 and didn't add much value here. 10258 10259Author: David Levine <levinedl@acm.org> 10260Date: Sun May 4 09:03:33 2014 -0500 10261 10262 In mhshow, copy result of call to norm_charmap() and get_charset() 10263 because they return a static buffer. Thanks to Alexander Zangerl 10264 for tracking this down, when using an ISO-8859-1 locale. 10265 10266Author: Paul Fox <pgf@foxharp.boston.ma.us> 10267Date: Wed Apr 23 21:44:54 2014 -0400 10268 10269 mhshow: apply marker form to all part separators 10270 10271 the mhshow "-markform" format is now used for all part separators, not 10272 just those being left out. the format now overloads the %(unseen) 10273 function to indicate that the content of the part being marked has 10274 been suppressed. the built-in default and example formats both make 10275 use of this function. 10276 10277Author: Paul Fox <pgf@foxharp.boston.ma.us> 10278Date: Sat Apr 26 10:45:47 2014 -0400 10279 10280 mhshow: suppress error for undisplayable parts, if they're not wanted 10281 10282 consider this message: 10283 10284 1 multipart/mixed 1113K 10285 1 multipart/alternative 292 10286 1.1 text/html 66 10287 1.2 text/plain 49 10288 2 image/jpeg 823K 10289 10290 if this is displayed using "mshow -part 2", in the presence of an 10291 MHSHOW variable which _only_ describes a rule for displaying images, 10292 then we don't want to get an error about how nothing in part 1 was 10293 displayable. 10294 10295Author: Paul Fox <pgf@foxharp.boston.ma.us> 10296Date: Tue Apr 22 12:23:01 2014 -0400 10297 10298 man pages: clarify how profiles entries are searched 10299 10300 (cherry picked from commit d7b59eb68168ead6a81ca40cf8aa5cccbf86c649) 10301 10302Author: Ken Hornstein <kenh@pobox.com> 10303Date: Mon Apr 21 23:00:47 2014 -0400 10304 10305 Fix minor typo in NEWS file. Pointed out by Norman Shapiro. 10306 10307Author: David Levine <levinedl@acm.org> 10308Date: Mon Apr 21 19:00:45 2014 -0500 10309 10310 Added yet another NDBM (gdbm, actually) header/lib pair, for Ralph's 10311 platform. 10312 10313Author: David Levine <levinedl@acm.org> 10314Date: Mon Apr 21 13:00:00 2014 -0500 10315 10316 Added mhfixmsg to nmh man page. 10317 10318Author: Paul Fox <pgf@foxharp.boston.ma.us> 10319Date: Sun Apr 20 19:01:48 2014 -0400 10320 10321 mhshow.man: fix an incorrect 'mhn' reference 10322 10323Author: Ken Hornstein <kenh@pobox.com> 10324Date: Sun Apr 20 18:28:21 2014 -0400 10325 10326 Documentation improvements, from Ralph Corderoy. 10327 10328Author: Ken Hornstein <kenh@pobox.com> 10329Date: Sun Apr 20 18:08:47 2014 -0400 10330 10331 Move clsfolds() before the call to context_save(); that is required 10332 when using private sequences, since seq_save() only moves the sequence 10333 information into the context structure; a subsequent call to context_save() 10334 is required to actually write out the context file. 10335 10336Author: Ken Hornstein <kenh@pobox.com> 10337Date: Sun Apr 20 00:02:26 2014 -0400 10338 10339 Sigh. Of course I find another bug after I release RC2. Make sure to 10340 initialize the enclosing CT structure when creating a message/external-body 10341 part. 10342 10343Author: Ken Hornstein <kenh@pobox.com> 10344Date: Fri Apr 18 10:57:27 2014 -0400 10345 10346 Remove support for a "*" in alias files (which would add everyone in 10347 the password file to the alias). 10348 10349Author: Ken Hornstein <kenh@pobox.com> 10350Date: Fri Apr 18 10:44:19 2014 -0400 10351 10352 Remove msh(1). 10353 10354Author: Ken Hornstein <kenh@pobox.com> 10355Date: Fri Apr 18 10:03:27 2014 -0400 10356 10357 Remove mhtest(8). 10358 10359Author: Ken Hornstein <kenh@pobox.com> 10360Date: Fri Apr 18 09:30:22 2014 -0400 10361 10362 Remove conflict(8). 10363 10364Author: Ken Hornstein <kenh@pobox.com> 10365Date: Fri Apr 18 09:20:42 2014 -0400 10366 10367 Remove -queue support to post; it is now officially obsolete. 10368 10369Author: Ken Hornstein <kenh@pobox.com> 10370Date: Fri Apr 18 08:43:37 2014 -0400 10371 10372 Fix the same problem in scan that was fixed in commit 10373 9eb9b47593181a3bf987eeaa0398ab5330ec12f8, but fix it for Maildir 10374 support. Patch from Eric Gillespie. 10375 10376Author: David Levine <levinedl@acm.org> 10377Date: Thu Apr 17 19:55:19 2014 -0500 10378 10379 Unset MAILDROP in test/common.sh so that it doesn't confuse 10380 test/inc/test-msgchk. 10381 10382Author: Ken Hornstein <kenh@pobox.com> 10383Date: Wed Apr 16 11:46:55 2014 -0400 10384 10385 Sigh. Mention that we have to do both a "git push" and a "git push --tags". 10386 10387Author: Ken Hornstein <kenh@pobox.com> 10388Date: Wed Apr 16 11:44:48 2014 -0400 10389 10390 Mention release branchpoint tagging. 10391 10392Author: David Levine <levinedl@acm.org> 10393Date: Tue Apr 15 21:57:30 2014 -0500 10394 10395 Fixed popsbr.c to look like its nmh 1.5 version, except it now 10396 uses nmh_get_credentials() instead of ruserpass() directly. Also, 10397 added checks of return values of nmh_get_credentials() to smtp.c. 10398 10399Author: David Levine <levinedl@acm.org> 10400Date: Tue Apr 15 21:10:41 2014 -0500 10401 10402 Consistently refer to $HOME/.mh_profile and mh-profile(5) in 10403 the man pages. 10404 10405Author: David Levine <levinedl@acm.org> 10406Date: Tue Apr 15 20:58:32 2014 -0500 10407 10408 Reworked retrieval of username and password with SMTP and sasl so 10409 that if getusername() and no password are accepted by the mechanism, 10410 then the user need not provide them. 10411 10412Author: Paul Fox <pgf@foxharp.boston.ma.us> 10413Date: Tue Apr 15 21:39:38 2014 -0400 10414 10415 docs/contrib/ml: add a runtime check for known bash-ism 10416 10417 i'm leaving the #! line as /bin/bash, because that's how i wrote 10418 and tested. but with this change i think the script will still 10419 function correctly on a wide variety of shells. 10420 10421Author: Ken Hornstein <kenh@pobox.com> 10422Date: Mon Apr 14 21:32:41 2014 -0400 10423 10424 It turns out that due to the changes to m_getfld() to support file 10425 position tracking, this broke the scan output from inc(1) when POPing 10426 more than one message at a time. Since a new filehandle was being 10427 passed to each call to scan(), it made the most sense to simply 10428 discard the m_getfld() state for each call to scan() when doing POP. 10429 10430Author: Paul Fox <pgf@foxharp.boston.ma.us> 10431Date: Mon Apr 14 12:29:39 2014 -0400 10432 10433 replyfilter: flesh out the configuration instructions 10434 10435Author: Ken Hornstein <kenh@pobox.com> 10436Date: Mon Apr 14 11:58:54 2014 -0400 10437 10438 Updating release notes for new release. 10439 10440Author: Ken Hornstein <kenh@pobox.com> 10441Date: Mon Apr 14 09:57:59 2014 -0400 10442 10443 Update for post-1.6. 10444 10445Author: Ken Hornstein <kenh@pobox.com> 10446Date: Sun Apr 13 23:09:54 2014 -0400 10447 10448 Update these a bit. 10449 10450Author: Ken Hornstein <kenh@pobox.com> 10451Date: Sun Apr 13 23:07:45 2014 -0400 10452 10453 Add README-iCalendar to the distribution. 10454 10455Author: Ken Hornstein <kenh@pobox.com> 10456Date: Sun Apr 13 23:02:57 2014 -0400 10457 10458 Update developer documentation to match reality. 10459 10460Author: Ken Hornstein <kenh@pobox.com> 10461Date: Sun Apr 13 22:37:53 2014 -0400 10462 10463 If attaching a "message" content type, scan the content to see if it 10464 has 8bit characters and set the CTE on the enclosing MIME headers 10465 appropriately. 10466 10467Author: Ken Hornstein <kenh@pobox.com> 10468Date: Sun Apr 13 22:36:34 2014 -0400 10469 10470 Create a default CTE so routines in mhparse.c are happy. 10471 10472Author: Ken Hornstein <kenh@pobox.com> 10473Date: Sun Apr 13 22:17:23 2014 -0400 10474 10475 Make sure the draft filename ends up in the MIME structure, so error 10476 messages have the proper name in them. 10477 10478Author: Paul Fox <pgf@foxharp.boston.ma.us> 10479Date: Sun Apr 13 16:18:07 2014 -0400 10480 10481 add rmf(1) and folder(1) to one another's SEE ALSO sections 10482 10483Author: David Levine <levinedl@acm.org> 10484Date: Sun Apr 13 15:13:21 2014 -0500 10485 10486 If mhfixmsg's call to convert_charset() fails, output why. 10487 10488Author: Ken Hornstein <kenh@pobox.com> 10489Date: Sun Apr 13 13:11:00 2014 -0400 10490 10491 If c_termproc is set, include a default display command so the charset 10492 conversion pipeline will work correctly. 10493 10494Author: David Levine <levinedl@acm.org> 10495Date: Fri Apr 11 17:20:02 2014 -0500 10496 10497 Fixed showproc for RFC 822 messages. Thanks to Mikhail for 10498 pointing this out. 10499 10500Author: Paul Fox <pgf@foxharp.boston.ma.us> 10501Date: Fri Apr 11 15:55:54 2014 -0400 10502 10503 mhshow: properly report the name of a failing display program 10504 10505 otherwise it's not clear what didn't work. 10506 10507Author: David Levine <levinedl@acm.org> 10508Date: Thu Apr 10 21:21:28 2014 -0500 10509 10510 If -[no]concat is given to show(1), have it use showmimeproc instead 10511 of showproc and pass those switches along. This way, show won't pass 10512 them to mhl, which doesn't accept them. 10513 10514Merge: 4c82793 236a2b6 10515Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10516Date: Thu Apr 10 18:49:18 2014 -0700 10517 10518 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 10519 10520Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10521Date: Thu Apr 10 18:47:43 2014 -0700 10522 10523 Add a note about devel/autotools as a pre-req for building on FreeBSD. 10524 10525 Be a bit more specific about the versions of some OSes we build 10526 in the buildbot cluster. 10527 10528Author: Ken Hornstein <kenh@pobox.com> 10529Date: Thu Apr 10 21:45:14 2014 -0400 10530 10531 Use a dynamically-allocated buffer for character set conversion, and 10532 resize it if we get E2BIG. Also create a test that exercises this 10533 particular problem. 10534 10535Author: Ken Hornstein <kenh@pobox.com> 10536Date: Thu Apr 10 18:58:39 2014 -0400 10537 10538 Don't clobber "cp"; use dp instead. 10539 10540Author: Ken Hornstein <kenh@pobox.com> 10541Date: Thu Apr 10 14:09:18 2014 -0400 10542 10543 Fix bug in error message when reporting character set conversion failure. 10544 10545Author: Ken Hornstein <kenh@pobox.com> 10546Date: Thu Apr 10 12:29:28 2014 -0400 10547 10548 A bad cut-and-paste job made -noinlineonly not work. Patch from 10549 M. Levinson. 10550 10551Author: Ken Hornstein <kenh@pobox.com> 10552Date: Thu Apr 10 12:28:01 2014 -0400 10553 10554 Fix test for inlineonly. 10555 10556Author: David Levine <levinedl@acm.org> 10557Date: Thu Apr 10 07:52:41 2014 -0500 10558 10559 Added -dump to w3m and elinks invocations in mhn.defaults. 10560 10561Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10562Date: Thu Apr 10 04:10:34 2014 -0700 10563 10564 When lkfopendata() fails, seqfile is being freed too soon. 10565 10566Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10567Date: Thu Apr 10 04:00:18 2014 -0700 10568 10569 I missed one spot in getln() where the new quoting flag needs to be cleared. 10570 10571Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10572Date: Thu Apr 10 03:52:17 2014 -0700 10573 10574 If getln() sees a newline as its first character, it incorrectly 10575 references a character one byte before the start of its input 10576 buffer. 10577 10578Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10579Date: Thu Apr 10 03:07:16 2014 -0700 10580 10581 Clang's static analyzer reports a potential NULL pointer deref. 10582 This is a "shouldn't happen" case, so I have added an assert 10583 to quell the warning, and catch the failure in the off chance 10584 we do get here with last == NULL. 10585 10586Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10587Date: Thu Apr 10 02:43:36 2014 -0700 10588 10589 Remove dead initialization of fp in main(). 10590 10591Author: David Levine <levinedl@acm.org> 10592Date: Wed Apr 9 22:04:58 2014 -0500 10593 10594 Added -dump (and -child) to lynx invocation when it's used in 10595 mhshow-show-text/html. 10596 10597Author: Ken Hornstein <kenh@pobox.com> 10598Date: Wed Apr 9 21:05:07 2014 -0400 10599 10600 Formatting fix, from Mikhail <mp39590@gmail.com>. 10601 10602Merge: 6e94720 d6e398f 10603Author: David Levine <levinedl@acm.org> 10604Date: Wed Apr 9 19:19:26 2014 -0500 10605 10606 Merge remote-tracking branch 'origin/fix-locking' 10607 10608Author: David Levine <levinedl@acm.org> 10609Date: Wed Apr 9 16:32:56 2014 -0500 10610 10611 The size reported by mhshow test-charset is different with and 10612 without iconv, so determine it at runtime. 10613 10614Author: David Levine <levinedl@acm.org> 10615Date: Wed Apr 9 16:31:06 2014 -0500 10616 10617 Use *ct->c_ceclosefnx() instead of clsoe_encoding() in show_content_aux(). 10618 10619Merge: 1f29440 e6ddebc 10620Author: Ken Hornstein <kenh@pobox.com> 10621Date: Wed Apr 9 16:25:08 2014 -0400 10622 10623 Merge branch 'mhshow-fixup' 10624 10625Author: Ken Hornstein <kenh@pobox.com> 10626Date: Wed Apr 9 16:24:34 2014 -0400 10627 10628 Document and distribute mhshow.marker 10629 10630Author: Ken Hornstein <kenh@pobox.com> 10631Date: Wed Apr 9 16:16:18 2014 -0400 10632 10633 Document the changes made to mhshow. 10634 10635Author: Ken Hornstein <kenh@pobox.com> 10636Date: Wed Apr 9 14:53:00 2014 -0400 10637 10638 Change from "concat" to "concatsw" so we don't conflict with the 10639 function concat(). 10640 10641Author: Ken Hornstein <kenh@pobox.com> 10642Date: Wed Apr 9 13:30:42 2014 -0400 10643 10644 Add new flags for -concat/-noconcat, -inlineonly/-noinlineonly, and 10645 -textonly/-notextonly; 10646 10647Author: Ken Hornstein <kenh@pobox.com> 10648Date: Wed Apr 9 13:15:28 2014 -0400 10649 10650 Change things so we only supply a form filename; most programs don't do 10651 both, and this isn't work the extra hassle. 10652 10653Author: Ken Hornstein <kenh@pobox.com> 10654Date: Wed Apr 9 11:29:32 2014 -0400 10655 10656 Now only display text and inline content by default. 10657 Use mh-format(5) to display marker text for skipped content. 10658 10659Author: David Levine <levinedl@acm.org> 10660Date: Tue Apr 8 21:34:20 2014 -0500 10661 10662 lkopen_dot() would block forever if another process held a lock 10663 forever. Changed it to only retry for 60 seconds, like the other 10664 lkopen's. And have it indicate that it failed to acquire the lock. 10665 10666Author: David Levine <levinedl@acm.org> 10667Date: Sun Apr 6 13:55:27 2014 -0500 10668 10669 Instead of relying on errno to determine if locking failed, pass 10670 back explicit indication in int * argument to lk(f)opendata() and 10671 lkopenspool(). 10672 10673Author: David Levine <levinedl@acm.org> 10674Date: Sun Apr 6 11:12:14 2014 -0500 10675 10676 Don't ignore return value of lkfopendata(), most notably of 10677 seq_read() in folder_read(). Increased LOCK_RETRIES from 5 to 60. 10678 10679Author: David Levine <levinedl@acm.org> 10680Date: Fri Apr 4 20:05:51 2014 -0500 10681 10682 Update context and sequences before showing messages in mhn(1), 10683 just like in mhshow(1). 10684 10685Author: Ken Hornstein <kenh@pobox.com> 10686Date: Thu Apr 3 18:12:56 2014 -0400 10687 10688 Moving closer to fixing mhshow completely. Includes fix from David Levine 10689 for a slight bug in charset conversion. 10690 10691Author: Ken Hornstein <kenh@pobox.com> 10692Date: Tue Mar 25 22:41:13 2014 -0400 10693 10694 Start of changes for mhshow; compiles, but does nothing (yet). 10695 10696Author: David Levine <levinedl@acm.org> 10697Date: Sun Mar 23 08:43:56 2014 -0500 10698 10699 mhn.defaults.sh really doesn't need to look in /usr/demo/SOUND 10700 for helper programs any more. If the user has it in their PATH, 10701 it will anyway. 10702 10703Author: David Levine <levinedl@acm.org> 10704Date: Sun Mar 23 08:30:37 2014 -0500 10705 10706 Added mhshow-show-application/pdf detection to mhn.defaults.sh. 10707 10708Author: David Levine <levinedl@acm.org> 10709Date: Sun Mar 23 08:00:12 2014 -0500 10710 10711 Note that order is preserved for messages that have the same date, 10712 when sorting on dates. 10713 10714Author: Ken Hornstein <kenh@pobox.com> 10715Date: Fri Mar 21 18:53:26 2014 -0400 10716 10717 Move pidcheck() into mhshowsbr.c (the only consumer of it) and make 10718 it static. 10719 10720Author: Ken Hornstein <kenh@pobox.com> 10721Date: Fri Mar 21 14:22:58 2014 -0400 10722 10723 Remove support for -pause/-nopause switches to mhshow(1). This and 10724 commit 4c436246f048635446353dadaa68174445c58160 are based on work 10725 originally done by Markus Schnalke. 10726 10727Author: Ken Hornstein <kenh@pobox.com> 10728Date: Fri Mar 21 12:56:37 2014 -0400 10729 10730 Remove support for parallel content display. This means we can finally drive 10731 a stake in the heart of the horrible xpid global! 10732 10733Author: David Levine <levinedl@acm.org> 10734Date: Thu Mar 20 09:40:01 2014 -0500 10735 10736 Fixed quoting of charset value in mhn.defaults.sh. 10737 10738Author: David Levine <levinedl@acm.org> 10739Date: Sun Mar 16 15:03:37 2014 -0500 10740 10741 Renamed mkstemp(1) man page to mh-mkstemp(1), so it doesn't obscure 10742 any existing mkstemp(3) page. 10743 10744Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10745Date: Sun Mar 16 12:19:54 2014 -0700 10746 10747 Update the manpage style guide to be consistent about setting program names in 10748 boldface always. 10749 10750Author: David Levine <levinedl@acm.org> 10751Date: Sun Mar 16 10:40:27 2014 -0500 10752 10753 Fixed formatting of program name in mh-mime(7) man page. Removed 10754 CONTEXT section from mkstemp(1) man page. 10755 10756Author: David Levine <levinedl@acm.org> 10757Date: Sun Mar 16 10:15:41 2014 -0500 10758 10759 Moved "mhparam iconv" description to mhparam(1) man page and put 10760 references to it in mh-mime(7), mhfixmsg(1), and mhshow(1) man pages. 10761 Updated mhparam man page description of other configuration 10762 parameters. Added "Message Rewrite" section to mh-mime page. 10763 10764Author: David Levine <levinedl@acm.org> 10765Date: Fri Mar 14 20:25:06 2014 -0500 10766 10767 Fixed some of the issues noted by clang --analyze with 10768 mhfixmsg.c and mkstemp.c. 10769 10770Author: David Levine <levinedl@acm.org> 10771Date: Fri Mar 14 20:22:07 2014 -0500 10772 10773 Fixed fixup of sbr/dtimep.c with flex 2.5.36. 10774 10775Author: David Levine <levinedl@acm.org> 10776Date: Fri Mar 14 19:56:38 2014 -0500 10777 10778 Modified probe to output sbr/dtimep.c. The flex version is 2.5.36. 10779 10780Author: David Levine <levinedl@acm.org> 10781Date: Fri Mar 14 19:16:23 2014 -0500 10782 10783 Added probe to configure.ac to output flex version (for fed18arm7 build). 10784 10785Author: David Levine <levinedl@acm.org> 10786Date: Fri Mar 14 19:04:45 2014 -0500 10787 10788 Compare character with EOF using signed comparison because 10789 EOF can be (and is likely) negative. This showed up on 10790 arm7, which apparently uses unsigned char for char. 10791 10792Author: Ken Hornstein <kenh@pobox.com> 10793Date: Fri Mar 14 15:22:12 2014 -0400 10794 10795 Sigh. Make localmbox work even if we're not using -debug. 10796 10797Author: Ken Hornstein <kenh@pobox.com> 10798Date: Fri Mar 14 15:21:49 2014 -0400 10799 10800 Whoops, missed a warning groff found. 10801 10802Author: Ken Hornstein <kenh@pobox.com> 10803Date: Fri Mar 14 14:59:39 2014 -0400 10804 10805 Fix some typos and make some style changes suggested by Ralph Corderoy 10806 10807Author: Ken Hornstein <kenh@pobox.com> 10808Date: Fri Mar 14 12:31:23 2014 -0400 10809 10810 Add support for printing iconv and localmbox. 10811 10812Author: Ken Hornstein <kenh@pobox.com> 10813Date: Thu Mar 13 15:53:05 2014 -0400 10814 10815 Update for mh-mime. 10816 10817Author: Ken Hornstein <kenh@pobox.com> 10818Date: Thu Mar 13 15:51:32 2014 -0400 10819 10820 Create new mh-mime man page, with overview of how MIME handling works in nmh. 10821 10822Author: Ken Hornstein <kenh@pobox.com> 10823Date: Thu Mar 13 15:11:22 2014 -0400 10824 10825 Update and fix some formatting issues. 10826 10827Author: David Levine <levinedl@acm.org> 10828Date: Mon Mar 10 20:26:51 2014 -0500 10829 10830 Fixed test-mkstemp to work on platforms that don't have mkstemps(3), 10831 such as CentOS 5. 10832 10833Author: David Levine <levinedl@acm.org> 10834Date: Mon Mar 10 20:24:46 2014 -0500 10835 10836 Check for text/html display programs in this order: w3m, lynx, elinks. 10837 10838Author: Ken Hornstein <kenh@pobox.com> 10839Date: Fri Mar 7 12:04:46 2014 -0500 10840 10841 Fix minor typo. 10842 10843Author: Lyndon Nerenberg <lyndon@orthanc.ca> 10844Date: Fri Mar 7 09:05:17 2014 -0800 10845 10846 Import Dave Crocker's brief history of email development at Rand. 10847 (Added with his permission.) 10848 10849Author: David Levine <levinedl@acm.org> 10850Date: Thu Mar 6 20:32:14 2014 -0600 10851 10852 Fixed test/getcwidth.c to build without MULTIBYTE_SUPPORT. 10853 Found by cppcheck. 10854 10855Author: David Levine <levinedl@acm.org> 10856Date: Thu Mar 6 20:15:45 2014 -0600 10857 10858 Fixed a few very minor issues that cppcheck noticed. 10859 10860Author: David Levine <levinedl@acm.org> 10861Date: Thu Mar 6 19:46:30 2014 -0600 10862 10863 Removed declaration of unused sm_reply from post.c. 10864 10865Author: David Levine <levinedl@acm.org> 10866Date: Thu Mar 6 19:45:37 2014 -0600 10867 10868 Made a couple of globals static in smtp.c. 10869 10870Author: David Levine <levinedl@acm.org> 10871Date: Thu Mar 6 19:43:47 2014 -0600 10872 10873 Changed unused symbol that gen-ctype-checked creates with NDEBUG 10874 from a data object to a function, to remove a global from libmh.a. 10875 10876Author: David Levine <levinedl@acm.org> 10877Date: Thu Mar 6 19:39:10 2014 -0600 10878 10879 Added remedy for compile warnings when built with --with-tls on 10880 Mac OS 10.7 or later. 10881 10882Author: David Levine <levinedl@acm.org> 10883Date: Thu Mar 6 19:35:22 2014 -0600 10884 10885 Remove backup file at end of test-ext-params, and a temp file. 10886 10887Author: Ken Hornstein <kenh@pobox.com> 10888Date: Thu Mar 6 15:45:19 2014 -0500 10889 10890 Put in check so "attach" is rejected when the draft already has MIME headers. 10891 10892Author: Ken Hornstein <kenh@pobox.com> 10893Date: Thu Mar 6 15:31:01 2014 -0500 10894 10895 Update test to match reality 10896 10897Author: Ken Hornstein <kenh@pobox.com> 10898Date: Thu Mar 6 15:25:55 2014 -0500 10899 10900 Update documentation to match reality. 10901 10902Author: Ken Hornstein <kenh@pobox.com> 10903Date: Thu Mar 6 14:59:35 2014 -0500 10904 10905 Prevent crash if editfile() is called and both "*ed" and editsave 10906 are NULL. This can happen if you call "mime" and then run "edit" without 10907 any arguments, if you're running whatnow standalone. 10908 10909Author: Ken Hornstein <kenh@pobox.com> 10910Date: Thu Mar 6 14:34:34 2014 -0500 10911 10912 Remove unneeded assignment. 10913 10914Author: Ken Hornstein <kenh@pobox.com> 10915Date: Wed Mar 5 23:31:31 2014 -0500 10916 10917 Fix up some warnings and problems when iconv doesn't exist. 10918 10919Merge: 7b9cb49 5c3a50d 10920Author: Ken Hornstein <kenh@pobox.com> 10921Date: Wed Mar 5 23:17:17 2014 -0500 10922 10923 Merge branch 'extended-params' 10924 10925Author: Ken Hornstein <kenh@pobox.com> 10926Date: Wed Mar 5 21:27:25 2014 -0500 10927 10928 Update pending-release-notes. 10929 10930Author: Ken Hornstein <kenh@pobox.com> 10931Date: Wed Mar 5 21:26:02 2014 -0500 10932 10933 More tests for extended-parameter parsing. 10934 10935Author: Ken Hornstein <kenh@pobox.com> 10936Date: Wed Mar 5 18:22:56 2014 -0500 10937 10938 Add extra argument to add_param() so it can use the passed-in pointers 10939 directly without making copies first. 10940 10941Author: Ken Hornstein <kenh@pobox.com> 10942Date: Wed Mar 5 15:43:33 2014 -0500 10943 10944 A more complicated RFC 2231 parsing example. 10945 10946Author: Ken Hornstein <kenh@pobox.com> 10947Date: Wed Mar 5 15:42:59 2014 -0500 10948 10949 Whoops, a little TOO hasty on the last bugfix; put back an assignment. 10950 10951Author: Ken Hornstein <kenh@pobox.com> 10952Date: Wed Mar 5 15:11:54 2014 -0500 10953 10954 Switch over to using the token parser instead of isspace(), and 10955 make sure we have our pointer correct when doing an encoded parameter 10956 that isn't the first one. 10957 10958Author: Ken Hornstein <kenh@pobox.com> 10959Date: Wed Mar 5 14:36:43 2014 -0500 10960 10961 Move language tag parser into the block so it only gets 10962 invoked on index 0. 10963 10964Author: Ken Hornstein <kenh@pobox.com> 10965Date: Wed Mar 5 14:04:47 2014 -0500 10966 10967 Change disposition output slightly. 10968 10969Author: Ken Hornstein <kenh@pobox.com> 10970Date: Wed Mar 5 13:48:45 2014 -0500 10971 10972 Update information to mention RFC 2231. 10973 10974Author: Ken Hornstein <kenh@pobox.com> 10975Date: Wed Mar 5 13:40:13 2014 -0500 10976 10977 Add message/external-body test. 10978 10979Author: Ken Hornstein <kenh@pobox.com> 10980Date: Wed Mar 5 13:03:30 2014 -0500 10981 10982 Update mhlist and other relevant utilities to output disposition information 10983 with a new -disposition switch. 10984 10985Author: Ken Hornstein <kenh@pobox.com> 10986Date: Tue Mar 4 23:44:09 2014 -0500 10987 10988 Some tests for RFC 2231 decoding; seems like it works, but need to stress 10989 it some more. 10990 10991Author: Ken Hornstein <kenh@pobox.com> 10992Date: Tue Mar 4 23:43:26 2014 -0500 10993 10994 Fix up some error reporting, and reassemble partial parameters correctly. 10995 10996Author: Ken Hornstein <kenh@pobox.com> 10997Date: Tue Mar 4 22:49:13 2014 -0500 10998 10999 Fix up a few pointer mishaps; this should now get everything right! 11000 11001Author: Ken Hornstein <kenh@pobox.com> 11002Date: Tue Mar 4 22:37:10 2014 -0500 11003 11004 Whoops, forgot to set the name element of the partial parameter structure. 11005 11006Author: Ken Hornstein <kenh@pobox.com> 11007Date: Tue Mar 4 19:53:23 2014 -0500 11008 11009 A few minor fixups; the parser now passes the test suite! 11010 11011Author: Ken Hornstein <kenh@pobox.com> 11012Date: Tue Mar 4 13:45:19 2014 -0500 11013 11014 Fixes for the MIME parser; kinda works for regular parameters, but 11015 still needs some fixes. 11016 11017Author: Ken Hornstein <kenh@pobox.com> 11018Date: Mon Mar 3 21:52:35 2014 -0500 11019 11020 More work on extended parameter parser. Does not compile yet. 11021 11022Author: David Levine <levinedl@acm.org> 11023Date: Mon Mar 3 07:14:09 2014 -0800 11024 11025 In test/common.sh.in trap, cd to $MH_TEST_DIR before trying 11026 to remove its Mail subdirectory. rm on Solaris won't remove 11027 it if it's in the path of the current working directory. 11028 11029Author: Ken Hornstein <kenh@pobox.com> 11030Date: Mon Mar 3 00:43:46 2014 -0500 11031 11032 Make parse_header_attrs() a private function (there are no longer any 11033 public consumers of it). 11034 11035Author: Ken Hornstein <kenh@pobox.com> 11036Date: Mon Mar 3 00:42:56 2014 -0500 11037 11038 Convert unqp() to decode_qp(), and make it a public function. Also, 11039 handle the case where decode_qp() is passed a character outside of 11040 the normal ASCII range. 11041 11042Author: David Levine <levinedl@acm.org> 11043Date: Sun Mar 2 22:38:57 2014 -0600 11044 11045 Added mkstemp(1), wrapper around mkstemp(3)/mkstemps(3), to 11046 auxexec, for use by mhmail. 11047 11048Author: David Levine <levinedl@acm.org> 11049Date: Sun Mar 2 20:29:20 2014 -0600 11050 11051 Added convenience function die() to mhmail. 11052 11053Author: Ken Hornstein <kenh@pobox.com> 11054Date: Sun Mar 2 21:04:55 2014 -0500 11055 11056 Switch over get_ctinfo() to determine the filename based on the filename if 11057 one was not provided. Remove some unneeded functions as part of this work. 11058 11059Author: David Levine <levinedl@acm.org> 11060Date: Sun Mar 2 12:00:13 2014 -0600 11061 11062 Added recommendation to use nmh-storage profile setting or 11063 non-default -clobber with mhstore -always. 11064 11065Author: David Levine <levinedl@acm.org> 11066Date: Sun Mar 2 10:09:18 2014 -0600 11067 11068 Added check of -noverbose to test-mhstore. 11069 11070Author: David Levine <levinedl@acm.org> 11071Date: Sun Mar 2 09:30:01 2014 -0600 11072 11073 Added commented explaining use of ci_attrs[0] in 11074 build_multipart_alt() of mhfixmsg. 11075 11076Author: Ken Hornstein <kenh@pobox.com> 11077Date: Sun Mar 2 00:07:10 2014 -0500 11078 11079 Whoops, forgot to TEST THIS OUT first. 11080 11081Author: Ken Hornstein <kenh@pobox.com> 11082Date: Sun Mar 2 00:06:13 2014 -0500 11083 11084 For some reason viamail listed mhoutsbr as a dependency. It turned out it 11085 wasn't required, so we removed it so we don't have to pull in a complete MIME 11086 parser into viamail. 11087 11088Author: Ken Hornstein <kenh@pobox.com> 11089Date: Sat Mar 1 23:51:19 2014 -0500 11090 11091 More cleaned and conversion to the new parameter API. 11092 11093Author: Ken Hornstein <kenh@pobox.com> 11094Date: Sat Mar 1 23:24:47 2014 -0500 11095 11096 Add a new get_param_value(); redo iconv() parameter conversion code. 11097 Start having code use get_param() and get_param_value() rather than 11098 walking the whole parameter linked list. 11099 11100Author: David Levine <levinedl@acm.org> 11101Date: Sat Mar 1 13:55:24 2014 -0600 11102 11103 Removed recommendation from mhstore man page that users not put 11104 -auto in their profile. Added recommendation that users not use 11105 the %a escape string. 11106 11107Author: David Levine <levinedl@acm.org> 11108Date: Sat Mar 1 13:30:50 2014 -0600 11109 11110 Added description of switches. 11111 11112Author: David Levine <levinedl@acm.org> 11113Date: Sat Mar 1 12:00:18 2014 -0600 11114 11115 mhstore(1) now obeys its -noverbose switch. 11116 11117Author: David Levine <levinedl@acm.org> 11118Date: Sat Mar 1 08:32:20 2014 -0600 11119 11120 Fix to commit a2806483a53fcdb62ca8e2bec4f4e023355f4470 11121 to properly handle quoting when text follows quoted 11122 text in a mhshow display string. 11123 11124Author: David Levine <levinedl@acm.org> 11125Date: Sat Mar 1 08:30:27 2014 -0600 11126 11127 Moved discussion when no messages are matched from BUGS section 11128 to new subsection under DESCRIPTION, per Ralph's suggestion. 11129 11130Author: David Levine <levinedl@acm.org> 11131Date: Fri Feb 28 22:59:09 2014 -0600 11132 11133 Removed a couple of unnecessary vector typedefs from h/mh.h. 11134 11135Author: David Levine <levinedl@acm.org> 11136Date: Fri Feb 28 22:05:37 2014 -0600 11137 11138 Updated MACHINES and SPECS/nmh.spec to reflect packages 11139 available for CentOS Linux. 11140 11141Author: Ken Hornstein <kenh@pobox.com> 11142Date: Thu Feb 27 21:43:18 2014 -0500 11143 11144 Fix iconv return value test warning. 11145 11146Author: Ken Hornstein <kenh@pobox.com> 11147Date: Thu Feb 27 21:38:09 2014 -0500 11148 11149 Support complete encoding for encoding Content-Type parameters. Start 11150 work on retrieving parameters and converting them to the correct charset. 11151 11152Author: Ken Hornstein <kenh@pobox.com> 11153Date: Thu Feb 27 11:50:33 2014 -0500 11154 11155 Use RFC 2047 encoding for Content-Description, and make sure to encode 11156 MIME parameters correctly when building the Content-Disposition header. 11157 11158Author: Ken Hornstein <kenh@pobox.com> 11159Date: Wed Feb 26 22:58:26 2014 -0500 11160 11161 Re-do length calculation for parameter output, and adapt test for new code. 11162 11163Author: David Levine <levinedl@acm.org> 11164Date: Wed Feb 26 21:48:29 2014 -0600 11165 11166 Fixed quoting of filename, expanded C-T parameter values, etc., 11167 in mhshow. Removed the workarounds that had built up when it 11168 was broken. 11169 11170Author: Ken Hornstein <kenh@pobox.com> 11171Date: Wed Feb 26 21:13:30 2014 -0500 11172 11173 Closer, but not quite right yet. 11174 11175Author: David Levine <levinedl@acm.org> 11176Date: Wed Feb 26 19:58:43 2014 -0600 11177 11178 Updated mhparam, man pages, and test-mhparam to reflect split 11179 of locking methods into datalocking and spoollocking. 11180 11181Author: Ken Hornstein <kenh@pobox.com> 11182Date: Tue Feb 25 21:31:18 2014 -0500 11183 11184 Add test for long + encoded line; does not pass right now. 11185 11186Author: Ken Hornstein <kenh@pobox.com> 11187Date: Tue Feb 25 21:30:52 2014 -0500 11188 11189 Make sure we include space in the list of characters we need to encode in 11190 a parameter line. 11191 11192Author: Ken Hornstein <kenh@pobox.com> 11193Date: Tue Feb 25 21:28:45 2014 -0500 11194 11195 Remove unused variable, and make sure we free c_dispo_type. 11196 11197Author: Ken Hornstein <kenh@pobox.com> 11198Date: Tue Feb 25 21:15:51 2014 -0500 11199 11200 A new test for longer lines. 11201 11202Author: Ken Hornstein <kenh@pobox.com> 11203Date: Tue Feb 25 21:14:51 2014 -0500 11204 11205 Calculate "characters to use in for current line" based on starting a new 11206 line, rather than the number of characters in the previous line. 11207 11208Author: Ken Hornstein <kenh@pobox.com> 11209Date: Tue Feb 25 15:23:56 2014 -0500 11210 11211 First basic test of extended parameter output: working! 11212 11213Author: Ken Hornstein <kenh@pobox.com> 11214Date: Mon Feb 24 21:34:12 2014 -0500 11215 11216 Beginnings of test suite for RFC 2231 support; does not work yet. 11217 11218Author: David Levine <levinedl@acm.org> 11219Date: Mon Feb 24 20:18:17 2014 -0600 11220 11221 Fixed m_getfld() to not return EOF indicator, so that files need 11222 not end with a newline. 11223 11224Author: Ken Hornstein <kenh@pobox.com> 11225Date: Mon Feb 24 13:39:19 2014 -0500 11226 11227 Make sure we don't modify the original text when processing the disposition 11228 header. 11229 11230Author: David Levine <levinedl@acm.org> 11231Date: Sun Feb 23 18:52:52 2014 -0600 11232 11233 Added mh-folders to nmh(7) man page. Split out Formats section of 11234 nmh man page. 11235 11236Author: Ken Hornstein <kenh@pobox.com> 11237Date: Sun Feb 23 21:29:52 2014 -0500 11238 11239 Fix up error reporting for the hook code. 11240 11241Author: Ken Hornstein <kenh@pobox.com> 11242Date: Sat Feb 22 00:07:55 2014 -0500 11243 11244 It compiles now! And actually sort of works, but still a LOT more 11245 that needs to be done before it is complete. 11246 11247Author: Ken Hornstein <kenh@pobox.com> 11248Date: Fri Feb 21 14:49:07 2014 -0500 11249 11250 Getting closer to getting something working. 11251 11252Author: Ken Hornstein <kenh@pobox.com> 11253Date: Thu Feb 20 14:55:01 2014 -0500 11254 11255 More work on handling encoded params; still does not compile. 11256 11257Author: David Levine <levinedl@acm.org> 11258Date: Wed Feb 19 22:01:45 2014 -0600 11259 11260 Cast argument to isspace() to unsigned char instead of int. 11261 11262Author: David Levine <levinedl@acm.org> 11263Date: Wed Feb 19 21:55:19 2014 -0600 11264 11265 Fix to commit ed3214f1518b36c8b96a1a17be4af0a708ea25e3 11266 to not try to quote filenames in multipart parts. 11267 11268Author: David Levine <levinedl@acm.org> 11269Date: Wed Feb 19 21:36:16 2014 -0600 11270 11271 Generalized %{charset} display string escape to any Content-Type 11272 parameter. Also, always quote the expanded value, whether or not 11273 the escape was quoted in the profile. 11274 11275Author: David Levine <levinedl@acm.org> 11276Date: Wed Feb 19 20:09:28 2014 -0600 11277 11278 Added reason to mhfixmsg's printout when it fails to decode binary 11279 content. 11280 11281Author: David Levine <levinedl@acm.org> 11282Date: Wed Feb 19 18:57:29 2014 -0600 11283 11284 Refined commit ed3214f1518b36c8b96a1a17be4af0a708ea25e3 to only 11285 accept single quotes wrapping %f and %F display escapes. 11286 11287Author: David Levine <levinedl@acm.org> 11288Date: Tue Feb 18 21:26:52 2014 -0600 11289 11290 Migrated show_content_aux2() to argsplit(). 11291 11292Author: David Levine <levinedl@acm.org> 11293Date: Tue Feb 18 21:16:06 2014 -0600 11294 11295 Removed redundant quoting of %f and %F in display strings. Now, 11296 the code checks to see if those escapes are quoted before quoting 11297 them. Removed quoting of them in mhn.defaults.sh because it isn't 11298 (and wasn't) necessary. 11299 11300Author: David Levine <levinedl@acm.org> 11301Date: Tue Feb 18 19:16:39 2014 -0600 11302 11303 Removed leading "exec " inserted in show_content_aux2(), which 11304 allows use of shell expansion on Content-Type parameters in 11305 mhshow display straings. 11306 11307Author: Ken Hornstein <kenh@pobox.com> 11308Date: Tue Feb 18 12:38:06 2014 -0500 11309 11310 Fix for bug #41618: Supply charset to w3m when converting text/html parts. 11311 11312Author: David Levine <levinedl@acm.org> 11313Date: Tue Feb 18 07:54:37 2014 -0600 11314 11315 Silenced warnings when built without iconv. 11316 11317Author: David Levine <levinedl@acm.org> 11318Date: Sun Feb 16 15:25:34 2014 -0600 11319 11320 Added MH libdir to PATH in test-textcharset because it uses ap. 11321 11322Author: David Levine <levinedl@acm.org> 11323Date: Sun Feb 16 14:12:15 2014 -0600 11324 11325 Removed remaining TMP relics missed with commit 11326 d046c8f0992fddcd69f2172a6607a14dec3b1251. Also, have mhmail clean 11327 up a .orig tmp file, now that it always uses mhbuild. 11328 11329Author: David Levine <levinedl@acm.org> 11330Date: Sun Feb 16 13:12:39 2014 -0600 11331 11332 Added support for %{charset} display string escape to mhshow(1). 11333 11334Author: David Levine <levinedl@acm.org> 11335Date: Sun Feb 16 11:30:41 2014 -0600 11336 11337 Factored out duplicate code into parse_display_string() function. 11338 11339Author: David Levine <levinedl@acm.org> 11340Date: Sun Feb 16 10:26:34 2014 -0600 11341 11342 Instead of printing PostScript attachments, by default, from mhshow, 11343 try to find a suitable viewer. 11344 11345Author: David Levine <levinedl@acm.org> 11346Date: Sun Feb 16 10:06:47 2014 -0600 11347 11348 Added associations to mhn.defaults.sh from 11349 http://technet.microsoft.com/en-us/library/cc179224.aspx. 11350 11351Author: Ken Hornstein <kenh@pobox.com> 11352Date: Wed Feb 12 15:41:39 2014 -0500 11353 11354 More extended parameter work. Still non-functional. 11355 11356Author: Ken Hornstein <kenh@pobox.com> 11357Date: Wed Feb 12 15:41:04 2014 -0500 11358 11359 Move contains8bit() to a common file, and make it a bit more general. 11360 11361Author: Ken Hornstein <kenh@pobox.com> 11362Date: Tue Feb 11 23:17:00 2014 -0500 11363 11364 Beginnings of RFC 2231 support. Does not compile (yet). 11365 11366Author: David Levine <levinedl@acm.org> 11367Date: Mon Feb 10 23:17:28 2014 -0600 11368 11369 Removed the -[no]textcharset switches that were added to mhshow(1) 11370 in commit 721b0395fb2fceac4e66fed1009ed2f17fd5351f. They weren't 11371 needed. So the net effect is that, if built with iconv, mhshow 11372 will attempt to convert text/plain content to match the user's locale. 11373 11374Author: David Levine <levinedl@acm.org> 11375Date: Sun Feb 9 12:52:28 2014 -0600 11376 11377 Use test_skip in test-textcharset if not built with iconv. 11378 11379Author: David Levine <levinedl@acm.org> 11380Date: Sun Feb 9 10:32:46 2014 -0600 11381 11382 Need to set locale to something other than UTF-8 on Cygwin for 11383 the first couple of checks in test-textcharset. 11384 11385Author: David Levine <levinedl@acm.org> 11386Date: Sun Feb 9 09:59:23 2014 -0600 11387 11388 Removed potential buffer overflow from ruserpass(). It had been 11389 there a long time. Also, move the tokval buffer from global data 11390 to the stack. 11391 11392Author: David Levine <levinedl@acm.org> 11393Date: Sun Feb 9 09:58:00 2014 -0600 11394 11395 Added -[no]textcharset switches to mhshow(1). These only apply if 11396 nmh was configured with iconv(3) support. If -textcharset is not 11397 used, mhshow will convert, if necessary, the charset of text/plain 11398 content to match the user's locale setting. 11399 11400Author: David Levine <levinedl@acm.org> 11401Date: Sun Feb 9 09:05:14 2014 -0600 11402 11403 Use $MH shortcut for the profile in a few of the tests. 11404 11405Author: David Levine <levinedl@acm.org> 11406Date: Sun Feb 9 08:56:42 2014 -0600 11407 11408 In test-mhfixmsg, look at configuration to see if iconv is enabled 11409 rather than detecting it from test output. 11410 11411Author: David Levine <levinedl@acm.org> 11412Date: Sat Feb 8 22:23:17 2014 -0600 11413 11414 Remove mhbuild backup files at end of a couple of tests, if successful. 11415 11416Author: David Levine <levinedl@acm.org> 11417Date: Sat Feb 8 21:38:18 2014 -0600 11418 11419 Changed "codeset" to "charset" for (and in) mhfixmsg. Also 11420 cleaned up some comments in mhshowsbr.c. 11421 11422Author: David Levine <levinedl@acm.org> 11423Date: Sat Feb 8 11:11:25 2014 -0600 11424 11425 Moved upcase(), update_attr(), content_charset(), and 11426 convert_charset() out of mhfixmsg.c so that other programs can 11427 use them. 11428 11429Author: Ken Hornstein <kenh@pobox.com> 11430Date: Fri Feb 7 15:53:35 2014 -0500 11431 11432 Start of changes to support extended parameter parsing and decoding. 11433 11434Author: Ken Hornstein <kenh@pobox.com> 11435Date: Wed Feb 5 13:05:21 2014 -0500 11436 11437 Fix uninitialized variable warning 11438 11439Author: Ken Hornstein <kenh@pobox.com> 11440Date: Wed Feb 5 11:02:01 2014 -0500 11441 11442 Adjust the quoted-printable output routine to continue when the end of 11443 the buffer is reached, rather than adding a soft line break. 11444 11445Author: Ken Hornstein <kenh@pobox.com> 11446Date: Tue Feb 4 15:09:12 2014 -0500 11447 11448 Add test for -maxunencoded. 11449 11450Author: Ken Hornstein <kenh@pobox.com> 11451Date: Tue Feb 4 14:54:16 2014 -0500 11452 11453 A few more C-T-E tests. 11454 11455Author: Ken Hornstein <kenh@pobox.com> 11456Date: Tue Feb 4 13:36:29 2014 -0500 11457 11458 Still more CTE tests to cover (hopefully) all of tbe base64 cases. 11459 11460Author: Ken Hornstein <kenh@pobox.com> 11461Date: Tue Feb 4 13:34:22 2014 -0500 11462 11463 More CTE tests. 11464 11465Author: Ken Hornstein <kenh@pobox.com> 11466Date: Tue Feb 4 12:38:34 2014 -0500 11467 11468 More fixes (and tests) for the base64 encoder. 11469 11470Author: Ken Hornstein <kenh@pobox.com> 11471Date: Tue Feb 4 11:49:49 2014 -0500 11472 11473 Add a new base64 CTE test. 11474 11475Author: Ken Hornstein <kenh@pobox.com> 11476Date: Tue Feb 4 11:19:24 2014 -0500 11477 11478 Fix encoder so at least one case of LF -> CR LF conversion happens correctly. 11479 11480Author: David Levine <levinedl@acm.org> 11481Date: Mon Feb 3 22:48:38 2014 -0600 11482 11483 Reordered a bit of code in signal handler. Noted in comment that 11484 NetBSD doesn't have mkstemps(3). 11485 11486Author: David Levine <levinedl@acm.org> 11487Date: Mon Feb 3 21:42:44 2014 -0600 11488 11489 Use rename(2), not link(2), in m_mktemps() if mkstemps() is not 11490 available. 11491 11492Author: Ken Hornstein <kenh@pobox.com> 11493Date: Mon Feb 3 21:46:33 2014 -0500 11494 11495 Add a new (but incomplete) test for mhbuild's new functionality. 11496 11497Author: Ken Hornstein <kenh@pobox.com> 11498Date: Mon Feb 3 21:46:08 2014 -0500 11499 11500 Fix up mhbuild so the character set is always output when needed, even 11501 when the CTE is specified. 11502 11503Author: Ken Hornstein <kenh@pobox.com> 11504Date: Mon Feb 3 21:45:41 2014 -0500 11505 11506 Document changes to mhbuild. 11507 11508Author: Ken Hornstein <kenh@pobox.com> 11509Date: Mon Feb 3 20:14:55 2014 -0500 11510 11511 Support for selectable Content-Transfer-Encoding. 11512 Now default to 8bit for CTE for text types. 11513 11514Author: David Levine <levinedl@acm.org> 11515Date: Sun Feb 2 22:34:14 2014 -0600 11516 11517 netbsd uses flock by default for mail spool locking, as reported 11518 by Robert Elz. Use *netbsd* to also include knetbsd, though I 11519 don't know for sure that it uses flock. 11520 11521Author: David Levine <levinedl@acm.org> 11522Date: Sun Feb 2 22:16:25 2014 -0600 11523 11524 Restored setuid/setgid to slocal: it needs them when run as root, 11525 as a mail delivery agent. 11526 11527Author: David Levine <levinedl@acm.org> 11528Date: Sun Feb 2 16:45:23 2014 -0600 11529 11530 Removed some unused code that forked /bin/mkdir to make a new 11531 directory if an the effective and real uids differed. There are no 11532 setuid executables in nmh. 11533 11534Author: David Levine <levinedl@acm.org> 11535Date: Sun Feb 2 09:58:45 2014 -0600 11536 11537 Removed all unnecessary setuid/setgid calls. Using setuid as an 11538 example and not showing the setgid analogues: 11539 11540 1) setuid(getuid()); 11541 This dropped privileges before an exec and is normally a 11542 good thing. Except here, the return value isn't checked. 11543 And, we don't have any setuid programs in nmh now, so it was 11544 unnecessary. 11545 11546 2) if (geteuid() == 0) setuid(pw->pw_uid); 11547 This would have been a security hole if the executable was 11548 setuid root because the user specifies the source of the pw 11549 data. This was in slocal(1), which is not setuid, so this 11550 was certainly not needed. 11551 11552 3) setuid(geteuid()); 11553 This was in post(8) for when it called the sendmail 11554 executable directly (-mts sendmail or -mts sendmail/pipe. 11555 It's not necessary with modern sendmail or replacements. 11556 11557Author: David Levine <levinedl@acm.org> 11558Date: Sun Feb 2 08:46:25 2014 -0600 11559 11560 Added m_mktemps(), which creates a temporary file with a specified 11561 suffix. It uses mkstemps(3) where available, which should be most 11562 modern platforms. If not available, it tries link(2), and if that 11563 fails, rename(2). 11564 11565Author: Ken Hornstein <kenh@pobox.com> 11566Date: Sat Feb 1 16:13:00 2014 -0500 11567 11568 Change mhstore test slightly to test canonical line ending handling for 11569 text MIME parts that are encoded with base64. 11570 11571Author: Ken Hornstein <kenh@pobox.com> 11572Date: Sat Feb 1 15:57:49 2014 -0500 11573 11574 Document changes to base64 encoder/decoder. 11575 11576Merge: 3235599 d722ee2 11577Author: Ken Hornstein <kenh@pobox.com> 11578Date: Sat Feb 1 12:48:20 2014 -0500 11579 11580 Merge branch 'base64-text-fixup' 11581 11582Author: David Levine <levinedl@acm.org> 11583Date: Sat Feb 1 11:32:53 2014 -0600 11584 11585 Removed set +e where not needed in test-mhfixmsg. 11586 11587Author: David Levine <levinedl@acm.org> 11588Date: Sat Feb 1 11:24:16 2014 -0600 11589 11590 Fixed test-mhfixmsg check attempted -decode of binary text to 11591 work with the fixed base64 decoder. 11592 11593Author: David Levine <levinedl@acm.org> 11594Date: Sat Feb 1 10:11:08 2014 -0600 11595 11596 Added note that suffixes were removed from filenames of temporary files. 11597 11598Author: David Levine <levinedl@acm.org> 11599Date: Sat Feb 1 10:09:13 2014 -0600 11600 11601 Look for w3m if lynx isn't available for mhshow-show-text. 11602 11603Author: David Levine <levinedl@acm.org> 11604Date: Sat Feb 1 10:11:08 2014 -0600 11605 11606 Added note that suffixes were removed from filenames of temporary files. 11607 11608Author: David Levine <levinedl@acm.org> 11609Date: Sat Feb 1 10:09:13 2014 -0600 11610 11611 Look for w3m if lynx isn't available for mhshow-show-text. 11612 11613Author: Ken Hornstein <kenh@pobox.com> 11614Date: Fri Jan 31 15:53:04 2014 -0500 11615 11616 Fix base64 to handle text parts properly; currently this breaks mhfixmsg, 11617 and I'm not sure why yet. 11618 11619Author: Ken Hornstein <kenh@pobox.com> 11620Date: Fri Jan 31 15:00:57 2014 -0500 11621 11622 Add -width when appropriate for this test. 11623 11624Author: Ken Hornstein <kenh@pobox.com> 11625Date: Wed Jan 29 15:56:01 2014 -0500 11626 11627 Beginnings of selectable CTE; allow specification in mhbuild directives, 11628 but it doesn't do anything quite yet. 11629 11630Author: David Levine <levinedl@acm.org> 11631Date: Tue Jan 28 21:36:05 2014 -0600 11632 11633 Unset LANG, LC_ALL, and LC_TYPE in common.sh so that the tests 11634 don't accidentally rely on any of the user's settings. 11635 11636Author: David Levine <levinedl@acm.org> 11637Date: Mon Jan 27 18:56:20 2014 -0600 11638 11639 mhl() needs to set invo_name, too. 11640 11641Author: David Levine <levinedl@acm.org> 11642Date: Mon Jan 27 12:53:03 2014 -0600 11643 11644 WhatNow needs to set invo_name so that switches are interpreted properly. 11645 11646Author: David Levine <levinedl@acm.org> 11647Date: Sun Jan 26 11:57:29 2014 -0600 11648 11649 No longer look at TMP environment variable for temporary file storage. 11650 11651Author: David Levine <levinedl@acm.org> 11652Date: Sun Jan 26 11:26:11 2014 -0600 11653 11654 Merge branch 'tmpfiles' 11655 11656Merge: 1468359 dd259aa 11657Author: David Levine <levinedl@acm.org> 11658Date: Sun Jan 26 11:23:53 2014 -0600 11659 11660 Merge branch 'tmpfiles' 11661 11662Author: David Levine <levinedl@acm.org> 11663Date: Sat Jan 25 10:50:29 2014 -0600 11664 11665 Added unregister_for_removal(0) calls to the couple of children 11666 that don't exec() or _exit() after fork(). 11667 11668Author: David Levine <levinedl@acm.org> 11669Date: Sat Jan 25 10:04:19 2014 -0600 11670 11671 Replaced nearly all unlink(3) calls with m_unlink(). 11672 11673Author: David Levine <levinedl@acm.org> 11674Date: Sat Jan 25 09:26:13 2014 -0600 11675 11676 Restored the unlinks of temporary files immediately after their 11677 creation in rcvtty.c, now that we have m_unlink(). 11678 11679Author: David Levine <levinedl@acm.org> 11680Date: Sat Jan 25 09:15:05 2014 -0600 11681 11682 Replaced boilerplate at beginning of each nmh program with new 11683 nmh_init() function. It sets up an atexit() function and signal 11684 handlers so that all temporary files are removed when the program 11685 terminates, however that happens. It relies on a call in m_mktemp() 11686 to register each temporary file for removal. See new "nmh temporary 11687 files" section in README.developers and comments in m_mktemp.c. 11688 11689Author: David Levine <levinedl@acm.org> 11690Date: Fri Jan 24 21:10:03 2014 -0600 11691 11692 Removed 3 renames of temporary files in mhparse.c. They added 11693 unnecessary filename extensions to the temp files. They weren't good 11694 from a security standpoint and added a failure mode. 11695 11696Author: David Levine <levinedl@acm.org> 11697Date: Fri Jan 24 20:29:38 2014 -0600 11698 11699 Replaced use of mkstemp() with m_mktemp() in lock_file.c. 11700 11701Author: Ken Hornstein <kenh@pobox.com> 11702Date: Fri Jan 24 13:17:56 2014 -0500 11703 11704 Move uip/attach.c to sbr/mime_type.c; it was used by enough programs 11705 that it deserved to be in libmh. 11706 11707Author: Ken Hornstein <kenh@pobox.com> 11708Date: Fri Jan 24 12:38:03 2014 -0500 11709 11710 In my over-eager trimming I didn't realize the fallback code that 11711 used the mhshow-suffix configuration information to determine the 11712 MIME type was removed; put that back into mime_type(). 11713 11714Author: David Levine <levinedl@acm.org> 11715Date: Thu Jan 23 22:16:34 2014 -0600 11716 11717 Replaced use of mkstemp() with m_mktemp2() in header_fd() of 11718 rcvtty.c. It never would have worked, anyway, because it had 5 11719 instead of 6 X's in the template. 11720 11721Author: Ken Hornstein <kenh@pobox.com> 11722Date: Thu Jan 23 21:48:24 2014 -0500 11723 11724 Switch from volatile char * to the more correct char *volatile. 11725 11726Author: David Levine <levinedl@acm.org> 11727Date: Thu Jan 23 19:58:41 2014 -0600 11728 11729 Separate export from assignment in test-dist and test-attach. 11730 11731Author: Ken Hornstein <kenh@pobox.com> 11732Date: Thu Jan 23 14:55:21 2014 -0500 11733 11734 Whoops, forgot to initialize the linked list next pointer to NULL. 11735 11736Author: Ken Hornstein <kenh@pobox.com> 11737Date: Thu Jan 23 14:55:06 2014 -0500 11738 11739 Make sure we include tiny.jpg we need for the test suite. 11740 11741Author: Ken Hornstein <kenh@pobox.com> 11742Date: Thu Jan 23 14:40:44 2014 -0500 11743 11744 Try to suppress warnings from changes (but why is this thing complaining 11745 about drft being clobbered now??) 11746 11747Author: Ken Hornstein <kenh@pobox.com> 11748Date: Thu Jan 23 14:24:35 2014 -0500 11749 11750 Hm, maybe I can't put environment variable assignments in front of 11751 functions? 11752 11753Author: Ken Hornstein <kenh@pobox.com> 11754Date: Thu Jan 23 14:01:53 2014 -0500 11755 11756 Whoops, forgot a newline. 11757 11758Merge: 05b74a0 18a3694 11759Author: Ken Hornstein <kenh@pobox.com> 11760Date: Thu Jan 23 13:35:31 2014 -0500 11761 11762 Merge branch 'mhbuild-always' 11763 11764Author: Ken Hornstein <kenh@pobox.com> 11765Date: Thu Jan 23 13:35:03 2014 -0500 11766 11767 Document changes to mhbuild and send. 11768 11769Author: Ken Hornstein <kenh@pobox.com> 11770Date: Thu Jan 23 00:34:18 2014 -0500 11771 11772 Garbage collect unused code. 11773 11774Author: Ken Hornstein <kenh@pobox.com> 11775Date: Thu Jan 23 00:32:18 2014 -0500 11776 11777 Remove automimeproc functionality; it's redundant now. 11778 11779Author: Ken Hornstein <kenh@pobox.com> 11780Date: Thu Jan 23 00:31:55 2014 -0500 11781 11782 Update the pending-release-notes for changes. 11783 11784Author: Ken Hornstein <kenh@pobox.com> 11785Date: Thu Jan 23 00:07:54 2014 -0500 11786 11787 Flesh out test-attach, and set it to run as part of the test suite. 11788 11789Author: Ken Hornstein <kenh@pobox.com> 11790Date: Wed Jan 22 18:59:07 2014 -0500 11791 11792 Fix mhmail so it works with the new world order. 11793 11794Author: Ken Hornstein <kenh@pobox.com> 11795Date: Wed Jan 22 15:22:07 2014 -0500 11796 11797 Convert whatnow over to using the new Attach header. 11798 Mark the old -attach switches as deprecated (and make them not show 11799 up in help). Still more documentation cleanup to do. 11800 11801Author: Ken Hornstein <kenh@pobox.com> 11802Date: Wed Jan 22 12:06:49 2014 -0500 11803 11804 Fixed this to use Attach instead of Nmh-Attachment. 11805 11806Author: David Levine <levinedl@acm.org> 11807Date: Tue Jan 21 22:09:49 2014 -0600 11808 11809 Added svector_find() function. 11810 11811Author: Ken Hornstein <kenh@pobox.com> 11812Date: Tue Jan 21 22:35:35 2014 -0500 11813 11814 Make viamail read the user's profile; this is required because sendsbr() 11815 wants to call mhbuild, which can be overridden via the user's profile 11816 (which is required for the test suite to work). 11817 11818Author: David Levine <levinedl@acm.org> 11819Date: Tue Jan 21 20:55:57 2014 -0600 11820 11821 Always check that mktemp()/mktemp2() succeeds before trying to 11822 use result. And if it fails, have the error message report 11823 the directory where the failed temporary file creation occurred. 11824 And, removed all chmod()'s of temporary files created by mktemp()/ 11825 mktemp2() because they set the umask to 077 before calling mkstemp(3). 11826 11827Author: David Levine <levinedl@acm.org> 11828Date: Tue Jan 21 20:51:00 2014 -0600 11829 11830 Expose get_temp_dir(). 11831 11832Author: David Levine <levinedl@acm.org> 11833Date: Tue Jan 21 20:50:11 2014 -0600 11834 11835 Enable asserts when debug is enabled, in build_nmh. 11836 11837Author: Ken Hornstein <kenh@pobox.com> 11838Date: Tue Jan 21 20:12:29 2014 -0500 11839 11840 Fix a bunch of tests for the mhbuild changes; still more to do. 11841 11842Author: David Levine <levinedl@acm.org> 11843Date: Mon Jan 20 21:08:47 2014 -0600 11844 11845 Replaced use of m_mktemp() with m_mktemp2() so that tmp files created 11846 by attach, burst, mhbuild, and post will be in the directory specified 11847 by the first non-null of {MHTMPDIR, TMPDIR, TMP, MH Path directory}. 11848 11849Author: David Levine <levinedl@acm.org> 11850Date: Mon Jan 20 21:07:08 2014 -0600 11851 11852 Removed remaining occurrences of char *tmp from uip/mh* programs. 11853 11854Author: David Levine <levinedl@acm.org> 11855Date: Mon Jan 20 20:53:10 2014 -0600 11856 11857 Expanded mhpath(1) man page discussion of its handling of out-of-range 11858 message numbers, and fixed a couple of formatting glitches. 11859 11860Author: David Levine <levinedl@acm.org> 11861Date: Mon Jan 20 10:52:07 2014 -0600 11862 11863 Use LC_ALL instead of LC_CTYPE in test-pick because LC_ALL has 11864 precendence. 11865 11866Author: David Levine <levinedl@acm.org> 11867Date: Mon Jan 20 10:31:16 2014 -0600 11868 11869 Fixed three LC_ALL settings: 11870 1) Replaced en_US.ISO8859-1 with C because that's sufficient to show 11871 decoding with an invalid multibyte sequence. 11872 2) Removed redundant LC_ALL=en_US.UTF-8; that is set for the entire test. 11873 3) Removed the last en_US.ISO8859-1 because it hid what the test was 11874 trying to show. 11875 11876Author: Ken Hornstein <kenh@pobox.com> 11877Date: Mon Jan 20 01:27:15 2014 -0500 11878 11879 Remove autoconf checks for nl_langinfo() and langinfo.h 11880 11881Author: Ken Hornstein <kenh@pobox.com> 11882Date: Mon Jan 20 01:15:55 2014 -0500 11883 11884 Completely deprecate support for MM_CHARSET. 11885 11886Author: David Levine <levinedl@acm.org> 11887Date: Sun Jan 19 23:21:51 2014 -0600 11888 11889 Removed "tmp" from the uip/mh* programs, so that they no longer 11890 use the nmh-storage profile component for their tmp files. Or 11891 their invoname, but that will be taken care of later. 11892 11893Author: Ken Hornstein <kenh@pobox.com> 11894Date: Sun Jan 19 23:21:32 2014 -0500 11895 11896 Remove the --disable-locale configure option and make locale support 11897 unconditional. 11898 11899Author: Ken Hornstein <kenh@pobox.com> 11900Date: Sun Jan 19 13:47:07 2014 -0500 11901 11902 Document the -dist flag. 11903 11904Author: Ken Hornstein <kenh@pobox.com> 11905Date: Sun Jan 19 11:59:25 2014 -0500 11906 11907 Change error message so "Unknown error 0" doesn't get printed if there 11908 is an error parsing an address. 11909 11910Author: Ken Hornstein <kenh@pobox.com> 11911Date: Sun Jan 19 11:52:47 2014 -0500 11912 11913 Add a test for dist to make sure it works with headers that need RFC-2047 11914 encoding. 11915 11916Author: David Levine <levinedl@acm.org> 11917Date: Sun Jan 19 10:48:14 2014 -0600 11918 11919 Updated MACHINES to show package requirements on Linux and Cygwin. 11920 11921Author: Ken Hornstein <kenh@pobox.com> 11922Date: Sun Jan 19 01:11:59 2014 -0500 11923 11924 Add support for not outputting any MIME headers when using dist. 11925 11926Author: Ken Hornstein <kenh@pobox.com> 11927Date: Sun Jan 19 00:50:49 2014 -0500 11928 11929 Allow mhbuild to work when the message body is empty. You know, that 11930 was actually a giant pain! 11931 11932Author: Ken Hornstein <kenh@pobox.com> 11933Date: Sat Jan 18 23:34:41 2014 -0500 11934 11935 Removed unused argument "file" to user_content(). 11936 11937Author: Ken Hornstein <kenh@pobox.com> 11938Date: Sat Jan 18 01:17:12 2014 -0500 11939 11940 Beginning of work to run mhbuild always. A bit more complicated than I 11941 originally expected. 11942 11943Author: Ken Hornstein <kenh@pobox.com> 11944Date: Sat Jan 18 00:38:39 2014 -0500 11945 11946 Explictly return the exit code, so we can portably guarantee that 11947 pidstatus() will return 0 on a successful command execution. 11948 11949Author: David Levine <levinedl@acm.org> 11950Date: Fri Jan 17 18:42:52 2014 -0600 11951 11952 Removed -a option from whatnow attach, in anticipation of 11953 removal of send -attachformat. 11954 11955Author: Ken Hornstein <kenh@pobox.com> 11956Date: Fri Jan 17 15:45:31 2014 -0500 11957 11958 Add support for -auto flag to mhbuild. 11959 11960Author: Ken Hornstein <kenh@pobox.com> 11961Date: Fri Jan 17 14:20:12 2014 -0500 11962 11963 Remove WHATNOW #ifdefs; that code was obsolete a long time ago. 11964 11965Author: David Levine <levinedl@acm.org> 11966Date: Thu Jan 16 21:48:01 2014 -0600 11967 11968 Moved readline check to after termcap/curses check in configure.ac. 11969 This way, $TERMLIB can be included in the readline check. That's 11970 neeed on CentOS 5.9. 11971 11972Author: David Levine <levinedl@acm.org> 11973Date: Thu Jan 16 19:55:58 2014 -0600 11974 11975 Moved readconfig() of mhn.defaults into construct_build_directive(). 11976 This way, platforms that don't define MIMETYPEPROC will display 11977 the proper directive with attach -v. 11978 11979Author: David Levine <levinedl@acm.org> 11980Date: Tue Jan 14 20:09:40 2014 -0600 11981 11982 Added check to get_file_info() in attach.c for failed fgets() call. 11983 It can happen on Cygwin for mysterious reasons, 11984 http://cygwin.com/faq/faq.html#faq.using.bloda. 11985 11986Author: David Levine <levinedl@acm.org> 11987Date: Tue Jan 14 19:39:42 2014 -0600 11988 11989 Removed the tests of attach -v -a from test-attach-detach, and 11990 added -prompt '' to try to get the test to pass on Mac OS X. 11991 11992Author: David Levine <levinedl@acm.org> 11993Date: Tue Jan 14 07:41:28 2014 -0600 11994 11995 Modified last check added to test-scan-multibyte so that it 11996 also works without iconv support. 11997 11998Author: David Levine <levinedl@acm.org> 11999Date: Mon Jan 13 20:29:19 2014 -0600 12000 12001 Skip the last check that I added to test-scan-multibyte if we don't 12002 have iconv support because it requires converting from ISO-8859-1 to 12003 UTF-8. 12004 12005Author: David Levine <levinedl@acm.org> 12006Date: Mon Jan 13 20:08:55 2014 -0600 12007 12008 In cpstripped(), check for negative return value from wcwidth(). 12009 12010Author: David Levine <levinedl@acm.org> 12011Date: Mon Jan 13 14:33:44 2014 -0800 12012 12013 Better fix for test-attach-detach on platforms without readline. 12014 12015Author: David Levine <levinedl@acm.org> 12016Date: Mon Jan 13 13:35:41 2014 -0800 12017 12018 Fixed build on Solaris by only checking for -Wno-unused-result with gcc. 12019 12020Author: David Levine <levinedl@acm.org> 12021Date: Sun Jan 12 12:18:47 2014 -0600 12022 12023 Hacked test-attach-detach to pass on Solaris. 12024 12025Author: David Levine <levinedl@acm.org> 12026Date: Sun Jan 12 11:45:16 2014 -0600 12027 12028 Final fix to test-attach-detach: on some platforms, there's no 12029 charset for a text/plain file. 12030 12031Author: David Levine <levinedl@acm.org> 12032Date: Sun Jan 12 11:32:11 2014 -0600 12033 12034 Really fix mode of file that's used in test-attach-detach. 12035 12036Author: David Levine <levinedl@acm.org> 12037Date: Sun Jan 12 11:26:07 2014 -0600 12038 12039 One final fix to test-attach-detach. 12040 12041Author: David Levine <levinedl@acm.org> 12042Date: Sun Jan 12 11:22:57 2014 -0600 12043 12044 Fixed test-attach-detach to work with any umask, and without readline. 12045 12046Author: David Levine <levinedl@acm.org> 12047Date: Sun Jan 12 10:18:20 2014 -0600 12048 12049 Added -v and -a switches to whatnow attach so the user can see 12050 the mhbuild directive that send(1) will use. 12051 12052Author: David Levine <levinedl@acm.org> 12053Date: Sat Jan 11 16:30:42 2014 -0600 12054 12055 Refined the POSTLINK used on OpenBSD so that it leaves the warnings, 12056 but capitalizes the "w" so that they don't color the buildbot waterfall. 12057 12058Author: David Levine <levinedl@acm.org> 12059Date: Sat Jan 11 16:00:14 2014 -0600 12060 12061 Refined the autoconf test for -Wno-unused-result so that 12062 it's only used where we need it (currently Ubuntu gcc 4.8.1 12063 with -O2). 12064 12065Author: David Levine <levinedl@acm.org> 12066Date: Sat Jan 11 11:22:50 2014 -0600 12067 12068 Calculate port numbers in test suite based on uid so that different 12069 users can run the test suite on a host simultaneously. 12070 12071Author: David Levine <levinedl@acm.org> 12072Date: Sat Jan 11 11:02:19 2014 -0600 12073 12074 Updated Cygwin and Linux build notes. 12075 12076Author: David Levine <levinedl@acm.org> 12077Date: Sat Jan 11 11:01:21 2014 -0600 12078 12079 Added more .exe files to .gitignore. 12080 12081Author: David Levine <levinedl@acm.org> 12082Date: Sat Jan 11 10:15:27 2014 -0600 12083 12084 Work around OpenBSD 5.4 file(1), which reports the --mime-encoding 12085 of text files as "binary". 12086 12087Author: David Levine <levinedl@acm.org> 12088Date: Sat Jan 11 09:22:36 2014 -0600 12089 12090 Reworked attach to add charset to Content-Type string for 12091 text content. 12092 12093Author: David Levine <levinedl@acm.org> 12094Date: Sat Jan 11 08:09:20 2014 -0600 12095 12096 Changed how build_nmh deals with older mhparam that doesn't 12097 report SASL/TLS. 12098 12099Author: David Levine <levinedl@acm.org> 12100Date: Sat Jan 11 08:00:55 2014 -0600 12101 12102 Reorganized autoconf test for -Qunused-warnings so that it 12103 outputs something when configuring on any platform. 12104 12105Author: Ken Hornstein <kenh@pobox.com> 12106Date: Sat Jan 11 01:41:44 2014 -0500 12107 12108 Change test-mhmail so it can handle a MIMETYPEPROC that doesn't output 12109 the character set. 12110 12111Author: Ken Hornstein <kenh@pobox.com> 12112Date: Sat Jan 11 01:11:45 2014 -0500 12113 12114 Switch over to using --mime-type, since --mime seems to include a 12115 charset for non-text MIME types. 12116 12117Author: David Levine <levinedl@acm.org> 12118Date: Fri Jan 10 23:41:04 2014 -0600 12119 12120 Fixed POSTLINK (on OpenBSD) now that it doesn't use -Qunused-arguments. 12121 12122Author: Ken Hornstein <kenh@pobox.com> 12123Date: Sat Jan 11 00:32:54 2014 -0500 12124 12125 More tests, but not quite there yet. 12126 12127Author: Ken Hornstein <kenh@pobox.com> 12128Date: Fri Jan 10 13:31:05 2014 -0500 12129 12130 Don't error out if the message body is empty. 12131 12132Author: David Levine <levinedl@acm.org> 12133Date: Fri Jan 10 23:25:19 2014 -0600 12134 12135 Only add -Qunused-arguments to LDFLAGS if compiler is clang. 12136 12137Author: David Levine <levinedl@acm.org> 12138Date: Fri Jan 10 20:49:24 2014 -0800 12139 12140 Reworked LFLAGS hack for flex 2.5.35 and 2.5.36 to work on 12141 Ubuntu. And use sed instead of ed. 12142 12143Author: David Levine <levinedl@acm.org> 12144Date: Fri Jan 10 19:36:34 2014 -0600 12145 12146 No longer add -g or -s to LDFLAGS. autoconf handles -g. And "make 12147 install-strip" is the approved way to install stripped executables. 12148 12149Author: David Levine <levinedl@acm.org> 12150Date: Fri Jan 10 19:03:56 2014 -0600 12151 12152 Added -Wno-unused-result to silence warnings on Ubuntu. 12153 12154Author: Ken Hornstein <kenh@pobox.com> 12155Date: Fri Jan 10 00:45:38 2014 -0500 12156 12157 Make sure we use the 'short' filename and add newlines where appropriate. 12158 12159Author: Ken Hornstein <kenh@pobox.com> 12160Date: Thu Jan 9 23:17:25 2014 -0500 12161 12162 A bit closer, but don't run the test just yet. 12163 12164Author: Ken Hornstein <kenh@pobox.com> 12165Date: Thu Jan 9 16:03:21 2014 -0500 12166 12167 Preliminary Attach: header support. Untested just yet. 12168 12169Author: David Levine <levinedl@acm.org> 12170Date: Wed Jan 8 20:54:50 2014 -0600 12171 12172 OpenBSD 5 needs an other-libraries (fourth argument) to the 12173 AC_CHECK_LIB for SSL_library_init, because it doesn't automatically 12174 append -lcrypto when linking with -lssl. 12175 12176Author: David Levine <levinedl@acm.org> 12177Date: Wed Jan 8 20:14:57 2014 -0600 12178 12179 Hard-code the config/version.c target, instead of using $@, so its 12180 rule works for the distcheck target with Solaris (System V) make. 12181 distcheck uses VPATH, causes that make to prepend the VPATH to $@. 12182 12183Author: David Levine <levinedl@acm.org> 12184Date: Wed Jan 8 19:02:58 2014 -0600 12185 12186 Replace use of awk with sed in test-anno because it failed 12187 on Solaris (gawk). 12188 12189Author: David Levine <levinedl@acm.org> 12190Date: Wed Jan 8 18:23:10 2014 -0600 12191 12192 Detect whether or not to use -n with tail in build_nmh. 12193 Synched that to uip/mhmail. 12194 12195Author: David Levine <levinedl@acm.org> 12196Date: Tue Jan 7 22:51:41 2014 -0600 12197 12198 Fixed typo in last commit of test-curses. 12199 12200Author: David Levine <levinedl@acm.org> 12201Date: Tue Jan 7 22:49:51 2014 -0600 12202 12203 Added -Txterm-color to tput invocations that didn't have it. 12204 12205Author: David Levine <levinedl@acm.org> 12206Date: Tue Jan 7 22:27:55 2014 -0600 12207 12208 In test-curses, use termcap codes if terminfo capabilities 12209 are not supported, such as on FreeBSD 9. 12210 12211Author: David Levine <levinedl@acm.org> 12212Date: Tue Jan 7 20:18:52 2014 -0600 12213 12214 Added sbr/dtimep.c to CLEANFILES so that make distcheck passes on 12215 FreeBSD 9. 12216 12217Author: David Levine <levinedl@acm.org> 12218Date: Tue Jan 7 19:51:58 2014 -0600 12219 12220 Clarified advisory message it test-mhfixmsg if a text browser 12221 isn't available. 12222 12223Author: Ken Hornstein <kenh@pobox.com> 12224Date: Tue Jan 7 23:15:39 2014 -0500 12225 12226 Update this for From, Resent-From, and Envelope-From. Also document 12227 Attach even though the code hasn't been written yet. 12228 12229Author: Ken Hornstein <kenh@pobox.com> 12230Date: Tue Jan 7 11:45:24 2014 -0500 12231 12232 Prevent message status allocation code from overflowing if we get a 12233 message number that is too high; simply abort instead. 12234 12235Author: David Levine <levinedl@acm.org> 12236Date: Mon Jan 6 20:49:18 2014 -0600 12237 12238 Replaced hidden make_mime_composition_file_entry() used by attach() 12239 with public construct_build_directive(). 12240 12241Author: David Levine <levinedl@acm.org> 12242Date: Mon Jan 6 19:14:20 2014 -0600 12243 12244 Here's a better fix for the whatnow tests: set and export 12245 TERM at the beginning of each test so that valgrind can be 12246 supported. 12247 12248Author: David Levine <levinedl@acm.org> 12249Date: Mon Jan 6 11:30:42 2014 -0600 12250 12251 Removed remaining run_prog's from tests that set an 12252 environment variable. 12253 12254Author: Ken Hornstein <kenh@pobox.com> 12255Date: Mon Jan 6 11:20:47 2014 -0500 12256 12257 Add a test for the new curses-based format escapes. 12258 12259Author: David Levine <levinedl@acm.org> 12260Date: Sun Jan 5 14:48:18 2014 -0600 12261 12262 Fixed description of send -attach switch in whatnow: its argument 12263 is the header file name, not a filename. 12264 12265Author: David Levine <levinedl@acm.org> 12266Date: Sun Jan 5 10:01:48 2014 -0600 12267 12268 Removed remaining globals in uip/attach.c. 12269 12270Author: David Levine <levinedl@acm.org> 12271Date: Sun Jan 5 09:51:53 2014 -0600 12272 12273 Got rid of a couple of globals used by attach get_line(). 12274 12275Author: David Levine <levinedl@acm.org> 12276Date: Sun Jan 5 09:39:11 2014 -0600 12277 12278 Moved the functions that implement whatnow attach from 12279 uip/sendsbr.c to new uip/attach.c. 12280 12281Author: David Levine <levinedl@acm.org> 12282Date: Sun Jan 5 08:28:58 2014 -0600 12283 12284 In whatnow help, don't show that detached can be abbreviated 12285 with "de", because that conflicts with "delete". 12286 12287Author: Ken Hornstein <kenh@pobox.com> 12288Date: Sat Jan 4 20:44:21 2014 -0500 12289 12290 Whoops, I'm supposed to NUL-terminate the string, not set the actual pointer 12291 itself! 12292 12293Author: Ken Hornstein <kenh@pobox.com> 12294Date: Sat Jan 4 14:01:58 2014 -0500 12295 12296 Make sure scan.curses is installed & distributed. 12297 12298Author: Ken Hornstein <kenh@pobox.com> 12299Date: Sat Jan 4 00:59:38 2014 -0500 12300 12301 Support for sending color escape sequences retrieved from terminfo(5). 12302 12303Author: Ken Hornstein <kenh@pobox.com> 12304Date: Fri Jan 3 15:55:10 2014 -0500 12305 12306 Add support for %(hascolor), and a new function for parameterized 12307 terminfo capabilities. 12308 12309Author: Ken Hornstein <kenh@pobox.com> 12310Date: Fri Jan 3 14:40:35 2014 -0500 12311 12312 Document %(nodate), and update things a bit. 12313 12314Author: Ken Hornstein <kenh@pobox.com> 12315Date: Fri Jan 3 11:43:16 2014 -0500 12316 12317 Garbage collect some Autoconf cruft that has been around a lot longer 12318 than necessary. 12319 12320Author: Ken Hornstein <kenh@pobox.com> 12321Date: Fri Jan 3 11:06:29 2014 -0500 12322 12323 Also make sure outc() uses TPUTS_PUTC_ARG. 12324 12325Author: Ken Hornstein <kenh@pobox.com> 12326Date: Fri Jan 3 11:05:18 2014 -0500 12327 12328 Whoops, I forgot that AC_CACHE_CHECK calls AC_MSG_RESULT. 12329 12330Author: Ken Hornstein <kenh@pobox.com> 12331Date: Fri Jan 3 10:44:59 2014 -0500 12332 12333 Create an autoconf test to determine the argument of the tputs() callback. 12334 12335Author: Ken Hornstein <kenh@pobox.com> 12336Date: Fri Jan 3 09:27:39 2014 -0500 12337 12338 Remove checks for termcap.h and ncurses/termcap.h, since we're not using 12339 those header files anymore. 12340 12341Author: Ken Hornstein <kenh@pobox.com> 12342Date: Fri Jan 3 00:42:05 2014 -0500 12343 12344 Sigh. Fix up missing conversion from clear->ti_clear. 12345 12346Author: Ken Hornstein <kenh@pobox.com> 12347Date: Fri Jan 3 00:30:15 2014 -0500 12348 12349 I guess we can't include both termcap and terminfo headers on Solaris. 12350 12351Author: Ken Hornstein <kenh@pobox.com> 12352Date: Fri Jan 3 00:15:56 2014 -0500 12353 12354 include curses.h so this (hopefully) now works on Solaris. 12355 12356Author: Ken Hornstein <kenh@pobox.com> 12357Date: Thu Jan 2 23:59:57 2014 -0500 12358 12359 Convert all of the terminal functions over to terminfo(5) instead of 12360 the older termcap. 12361 12362 Move the terminal-specific code from fmt_compile.c to terminal.c, so it 12363 is all in one place. 12364 12365Author: Ken Hornstein <kenh@pobox.com> 12366Date: Thu Jan 2 15:55:33 2014 -0500 12367 12368 Garbage collect unused code. 12369 12370Author: Ken Hornstein <kenh@pobox.com> 12371Date: Thu Jan 2 15:52:49 2014 -0500 12372 12373 Remove baudrate-handing code. 12374 12375Author: Ken Hornstein <kenh@pobox.com> 12376Date: Thu Jan 2 15:04:17 2014 -0500 12377 12378 Always emit an STR instruction for terminal escape sequences, otherwise you 12379 can get unintended results (like printint the previous contents of the str 12380 register, which is almost certainly what you don't want). 12381 12382Author: Ken Hornstein <kenh@pobox.com> 12383Date: Thu Jan 2 15:00:46 2014 -0500 12384 12385 Switch from the M-X format for characters with the high bit set to 12386 \xXX instead when printing format strings and other characters. 12387 12388Author: Ken Hornstein <kenh@pobox.com> 12389Date: Thu Jan 2 14:46:52 2014 -0500 12390 12391 Fix problem with %(putlit) and %(zputlit) causing a SIGSEGV 12392 if str is NULL. 12393 12394Author: Ken Hornstein <kenh@pobox.com> 12395Date: Thu Jan 2 13:54:07 2014 -0500 12396 12397 Drop support for different behavior on hardcopy terminals. It's 2014, 12398 I'm assuming this is not a valid concern anymore. 12399 12400Author: Ken Hornstein <kenh@pobox.com> 12401Date: Thu Jan 2 11:38:20 2014 -0500 12402 12403 Move the termsbr code into the libmh library, where it belongs. 12404 12405Author: David Levine <levinedl@acm.org> 12406Date: Wed Jan 1 13:43:51 2014 -0600 12407 12408 Give up on fmt_compile.c for now. 12409 12410Author: David Levine <levinedl@acm.org> 12411Date: Wed Jan 1 13:21:56 2014 -0600 12412 12413 That didn't work. Try including termcap.h first, instead of 12414 ncurses/termcap.h. 12415 12416Author: David Levine <levinedl@acm.org> 12417Date: Wed Jan 1 13:18:08 2014 -0600 12418 12419 Changed several globals to be static, to avoid collision, 12420 notably with "filter" in libtermcap.so, on Solaris. 12421 12422Author: David Levine <levinedl@acm.org> 12423Date: Wed Jan 1 13:16:48 2014 -0600 12424 12425 Try including termcap.h before curses.h to see if that solves 12426 the tputs() mismatch on Solaris. 12427 12428Author: Ken Hornstein <kenh@pobox.com> 12429Date: Tue Dec 31 15:29:40 2013 -0500 12430 12431 It looks like some systems also need curses.h as well as term.h 12432 12433Author: Ken Hornstein <kenh@pobox.com> 12434Date: Tue Dec 31 15:20:22 2013 -0500 12435 12436 Add support for outputing a few (limited) terminal attributes in format 12437 sequences. Needs documentation and some expansion. 12438 12439Author: Ken Hornstein <kenh@pobox.com> 12440Date: Tue Dec 31 15:19:21 2013 -0500 12441 12442 Make sure that branching instructions are traced even if we're executing the 12443 branch (previously, they would only be traced if they did not execute the 12444 branch). 12445 12446Author: Ken Hornstein <kenh@pobox.com> 12447Date: Tue Dec 31 00:13:21 2013 -0500 12448 12449 Change fmttest to use litputs() on str and output buffers during tracing. 12450 12451Author: David Levine <levinedl@acm.org> 12452Date: Sun Dec 29 08:01:28 2013 -0600 12453 12454 Generalized the valgrind suppression for sendmsg via readLine. 12455 12456Author: David Levine <levinedl@acm.org> 12457Date: Sat Dec 28 18:24:54 2013 -0600 12458 12459 Added test/valgrind.supp to EXTRA_DIST in Makefile.am so that 12460 NMH_VALGRIND=1 works with make distcheck. 12461 12462Author: David Levine <levinedl@acm.org> 12463Date: Sat Dec 28 18:23:49 2013 -0600 12464 12465 Removed one run_prog from test-pick because it loses the setting 12466 of the LC_CTYPE environment variable. 12467 12468Author: David Levine <levinedl@acm.org> 12469Date: Sat Dec 28 11:55:12 2013 -0600 12470 12471 Fixed chmod of temp file in prompter. Noticed by valgrind. 12472 12473Author: David Levine <levinedl@acm.org> 12474Date: Sat Dec 28 11:54:05 2013 -0600 12475 12476 Null-terminate buffer in mbx_copy() in dropsbr.c. Noticed by 12477 valgrind. 12478 12479Author: David Levine <levinedl@acm.org> 12480Date: Sat Dec 28 11:51:01 2013 -0600 12481 12482 Added support for running the test suite with valgrind by setting 12483 the NMH_VALGRIND environment variable. To support that, nmh 12484 programs that are invoked in the test suite should be run via 12485 (the new function) run_prog or run_test. 12486 12487Author: David Levine <levinedl@acm.org> 12488Date: Tue Dec 24 09:02:15 2013 -0600 12489 12490 Have configure print out what it detects for the program to detect 12491 the MIME type string for a file. 12492 12493Author: David Levine <levinedl@acm.org> 12494Date: Mon Dec 23 15:32:45 2013 -0600 12495 12496 Added "true" to end of flex fixups in configure.ac, in case the 12497 user has hacked flex to not produce the errant code. 12498 12499Author: David Levine <levinedl@acm.org> 12500Date: Mon Dec 23 15:09:23 2013 -0600 12501 12502 Removed flex fixup for version 2.5.37, it's not necessary with 12503 flex 2.5.37 on Fedora 20. 12504 12505Author: David Levine <levinedl@acm.org> 12506Date: Sun Dec 22 18:09:55 2013 -0600 12507 12508 Use --brief option, if supported, with file --mime. 12509 12510Author: David Levine <levinedl@acm.org> 12511Date: Sun Dec 22 17:38:59 2013 -0600 12512 12513 In test-mhmail, insert semicolon in output of "file --mime" if needed. 12514 12515Author: David Levine <levinedl@acm.org> 12516Date: Sun Dec 22 16:42:34 2013 -0600 12517 12518 file --mime on OpenBSD returns strings such as "text/plain 12519 charset=us-ascii", without an intervening semilcolon. Insert one if 12520 there isn't one. 12521 12522Author: David Levine <levinedl@acm.org> 12523Date: Sun Dec 22 16:12:02 2013 -0600 12524 12525 Removed support for file -i, it just spits out "regular file" 12526 on Solaris. 12527 12528Author: David Levine <levinedl@acm.org> 12529Date: Sun Dec 22 16:11:18 2013 -0600 12530 12531 Removed temporary printouts. 12532 12533Author: David Levine <levinedl@acm.org> 12534Date: Sun Dec 22 15:30:30 2013 -0600 12535 12536 More debugging statements for OpenBSD. 12537 12538Author: David Levine <levinedl@acm.org> 12539Date: Sun Dec 22 15:08:30 2013 -0600 12540 12541 Added debuging printouts. 12542 12543Author: David Levine <levinedl@acm.org> 12544Date: Sun Dec 22 15:05:38 2013 -0600 12545 12546 Whooops, gcc on OpenBSD noticed a nasty in the last commit. 12547 12548Author: David Levine <levinedl@acm.org> 12549Date: Sun Dec 22 14:42:26 2013 -0600 12550 12551 With whatnow attach, determine the content MIME type that's inserted 12552 into the Content-Type header using file --mime or file -i, if 12553 available on the platform at configuration time. If not, continue to 12554 use the mhshow-suffix- method. Added a mimetypeproc component to 12555 mhparam so that a user can query the configuration. 12556 12557Author: David Levine <levinedl@acm.org> 12558Date: Sun Dec 22 14:38:49 2013 -0600 12559 12560 Updated date on a few man pages. 12561 12562Author: David Levine <levinedl@acm.org> 12563Date: Sun Dec 22 10:41:09 2013 -0600 12564 12565 Removed temporary probes added in commit 12566 3441b5648a0c21e067c05f428a51bf96352735e7. 12567 12568Author: David Levine <levinedl@acm.org> 12569Date: Sun Dec 22 09:02:29 2013 -0600 12570 12571 Added temporary probes to see what file --mime and file -i do on 12572 OpenBSD and Solaris. 12573 12574Author: David Levine <levinedl@acm.org> 12575Date: Sun Dec 22 09:01:41 2013 -0600 12576 12577 Increased size of file command buffer in make_mime_composition_file_entry() 12578 because it was a bit too small. 12579 12580Author: David Levine <levinedl@acm.org> 12581Date: Sat Dec 14 10:41:01 2013 -0600 12582 12583 Cleaned up setting of CFLAGS in configure.ac. 12584 12585Author: David Levine <levinedl@acm.org> 12586Date: Sat Dec 14 10:29:33 2013 -0600 12587 12588 Added POSTLINK to remainder of executables in Makefile.am. 12589 Replaced hard-coded sbr/libmh.a with $(LDADD) in LDADD 12590 macro for test/getfullname. 12591 12592Author: David Levine <levinedl@acm.org> 12593Date: Sat Dec 14 09:51:47 2013 -0600 12594 12595 The buildbot was reporting "warning" on stdin, not stderr. 12596 Escape "warning" so that it doesn't snag it. 12597 12598Author: David Levine <levinedl@acm.org> 12599Date: Sat Dec 14 08:51:42 2013 -0600 12600 12601 The build failed mysteriously on the OpenBSD buildbot host ("Provide 12602 an AUTOCONF_VERSION environment variable, please"). This was in the 12603 compile, not autogen, phase. Committing trivial change to kick off 12604 another build. 12605 12606Author: David Levine <levinedl@acm.org> 12607Date: Sat Dec 14 08:37:11 2013 -0600 12608 12609 That didn't quite work, try reducing size of warning filter 12610 temporarily. 12611 12612Author: David Levine <levinedl@acm.org> 12613Date: Sat Dec 14 08:24:14 2013 -0600 12614 12615 Filter out "often/almost always misused" warnings from OpenBSD linker. 12616 Added POSTLINK macro to configure/Makefile for this purpose. 12617 12618Author: David Levine <levinedl@acm.org> 12619Date: Fri Dec 13 19:23:27 2013 -0600 12620 12621 Added mention of filename completion at whatnow prompt if nmh 12622 was configured with readline enabled. 12623 12624Author: David Levine <levinedl@acm.org> 12625Date: Fri Dec 13 19:20:12 2013 -0600 12626 12627 Moved the set -x after the uname and string test in autogen.sh 12628 to reduce build log clutter. 12629 12630Author: David Levine <levinedl@acm.org> 12631Date: Fri Dec 13 19:12:15 2013 -0600 12632 12633 Generalized -Wel fix in test-manpages of commit 12634 27659f0aa30c07081f7b8647c51a6ca82837e5d1 to apply on 12635 any platform. 12636 12637Author: Pascal Stumpf <Pascal.Stumpf@cubes.de> 12638Date: Fri Dec 13 18:57:57 2013 -0600 12639 12640 rand()/srand() are not cryptographically secure PRNGs. Some systems 12641 have the much better suited arc4random() family of functions; there's 12642 no reason to not use it if it is available. Make m_rand() just a 12643 wrapper around arc4random_buf() in that case. (There's no need to 12644 ever seed it manually.) 12645 12646 As a bonus, silences some warnings on OpenBSD. 12647 12648Author: David Levine <levinedl@acm.org> 12649Date: Fri Dec 13 16:48:02 2013 -0600 12650 12651 groff -man silence the test-manpages warnings. One more try: -Wel. 12652 12653Author: David Levine <levinedl@acm.org> 12654Date: Fri Dec 13 16:25:24 2013 -0600 12655 12656 Try using -man instead of -mandoc in test-manpages on OpenBSD 12657 to see if it silences the warnings. 12658 12659Author: David Levine <levinedl@acm.org> 12660Date: Fri Dec 13 15:33:14 2013 -0600 12661 12662 Disable assertions by default. 12663 12664Author: Ken Hornstein <kenh@pobox.com> 12665Date: Fri Dec 13 15:38:58 2013 -0500 12666 12667 Minor autoconf style cleanup. 12668 12669Author: David Levine <levinedl@acm.org> 12670Date: Thu Dec 12 20:15:14 2013 -0600 12671 12672 Minor changes to configure.ac: 12673 1) Replaced direct manipulation of NDEBUG with AC_HEADER_ASSERT. 12674 2) Removed unnecessary level of quoting around LFLAGS assignments. 12675 12676Author: David Levine <levinedl@acm.org> 12677Date: Thu Dec 12 20:11:42 2013 -0600 12678 12679 Moved all LDFLAGS manipulations in configure.ac to one place. 12680 12681Author: David Levine <levinedl@acm.org> 12682Date: Thu Dec 12 18:37:58 2013 -0600 12683 12684 Tweaked rcvtty.c to squelch warnings on OpenBSD. Three of the 12685 four were due to unused artifacts with HAVE_GETUTXENT not defined. 12686 The fourth was due to control reaching the end of non-void 12687 function message_id(), which had an _exit() call at the end. 12688 12689Author: David Levine <levinedl@acm.org> 12690Date: Thu Dec 12 18:29:31 2013 -0600 12691 12692 Initialize local child_id in main() of whom.c to squelch warning 12693 from cc on OpenBSD. 12694 12695Author: David Levine <levinedl@acm.org> 12696Date: Thu Dec 12 18:27:17 2013 -0600 12697 12698 Squelch warning from cc on OpenBSD that fd argument of usr_pipe() in 12699 slocal.c might get clobbered by vfork() by copying it to a volatile 12700 local. 12701 12702Author: David Levine <levinedl@acm.org> 12703Date: Thu Dec 12 18:23:45 2013 -0600 12704 12705 Removed --posix from awk invocation in test-anno. 12706 12707Author: David Levine <levinedl@acm.org> 12708Date: Thu Dec 12 18:08:01 2013 -0600 12709 12710 It looks like the sed "a" in test-anno didn't emit a trailing 12711 newline on OpenBSD. It does on other platforms. Try using 12712 awk instead. 12713 12714Author: Lyndon Nerenberg <lyndon@bbsobsd5.bitsea.ca> 12715Date: Thu Dec 12 11:55:58 2013 -0800 12716 12717 Add buildbot hacks for OpenBSD. 12718 12719 OpenBSD auto{conf,make} want a version specified in the environment 12720 for each of the tools. For now, hardwire this into autogen.sh until 12721 we can figure out a better way of dealing with this. 12722 12723Author: David Levine <levinedl@acm.org> 12724Date: Wed Dec 11 20:52:49 2013 -0600 12725 12726 Sun Studio cc -V must output to stderr. 12727 12728Author: David Levine <levinedl@acm.org> 12729Date: Wed Dec 11 20:28:10 2013 -0600 12730 12731 Try 9efa994ecac2790dbc56113f78c464eed1371590 again. 12732 12733Author: David Levine <levinedl@acm.org> 12734Date: Wed Dec 11 19:47:29 2013 -0600 12735 12736 Undid last commit of temporary printouts because buildbot is down. 12737 12738Author: David Levine <levinedl@acm.org> 12739Date: Wed Dec 11 17:19:48 2013 -0600 12740 12741 Temporarily add some printouts to configure.ac to see why -v 12742 isn't added to Sun Studio cc on Solaris build host. 12743 12744Author: Lyndon Nerenberg <lyndon@orthanc.ca> 12745Date: Wed Dec 11 10:53:28 2013 -0800 12746 12747 Prefer cc over gcc. 12748 12749Author: Lyndon Nerenberg <lyndon@orthanc.ca> 12750Date: Wed Dec 11 10:42:04 2013 -0800 12751 12752 One more attempt at getting the buildbot $PATH correct on Solaris. 12753 12754Author: David Levine <levinedl@acm.org> 12755Date: Tue Dec 10 19:17:00 2013 -0600 12756 12757 OK, this should work to detect Sun Studio cc. 12758 12759Author: David Levine <levinedl@acm.org> 12760Date: Tue Dec 10 19:07:25 2013 -0600 12761 12762 Oops, that didn't work. Disable -v with SunStudio cc for now. 12763 12764Author: David Levine <levinedl@acm.org> 12765Date: Tue Dec 10 19:05:32 2013 -0600 12766 12767 OK, use SunStudio cc, if present, on Solaris if user didn't set CC. 12768 And with it, use -v and suppress the statement not reached warning. 12769 12770Author: David Levine <levinedl@acm.org> 12771Date: Tue Dec 10 18:45:26 2013 -0600 12772 12773 Suppress E_STATEMENT_NOT_REACHED warning from SunStudio cc. 12774 12775Author: David Levine <levinedl@acm.org> 12776Date: Tue Dec 10 18:35:08 2013 -0600 12777 12778 Added -errtags=yes to SunStudio cc options. 12779 12780Author: David Levine <levinedl@acm.org> 12781Date: Tue Dec 10 18:22:23 2013 -0600 12782 12783 Removed a bunch of unreachable break statements found by 12784 SunStudio cc -v. Also fixed an "end-of-loop code not 12785 reached" condition in uip/dropsbr.c. That one is significant 12786 because it meant that retries were not attempted when attempting 12787 to open and lock a file. 12788 12789Author: David Levine <levinedl@acm.org> 12790Date: Tue Dec 10 16:43:20 2013 -0600 12791 12792 Need full path to cc on Solaris buildbot host, at this point. 12793 12794Author: David Levine <levinedl@acm.org> 12795Date: Tue Dec 10 16:16:59 2013 -0600 12796 12797 Try -v with SunStudio cc. Also, try setting CC instead of modifying 12798 AC_PROC_CC to pick up cc on the buildbot Solaris host. 12799 12800Author: Lyndon Nerenberg <lyndon@orthanc.ca> 12801Date: Tue Dec 10 14:05:08 2013 -0800 12802 12803 Remove the Solaris cc hack; the buildbot should have the correct 12804 cc in its $PATH now. 12805 12806Author: David Levine <levinedl@acm.org> 12807Date: Tue Dec 10 08:40:59 2013 -0600 12808 12809 Removed +w from SunStudio cc, it caused compilation failure. 12810 Maybe it can only be used with CC. 12811 12812Author: David Levine <levinedl@acm.org> 12813Date: Tue Dec 10 08:36:15 2013 -0600 12814 12815 That worked. Now try +w2 with SunStudio cc. 12816 12817Author: David Levine <levinedl@acm.org> 12818Date: Tue Dec 10 08:15:22 2013 -0600 12819 12820 Of course that didn't work. Try specifying the SunStudio 12821 compiler in CC. 12822 12823Author: David Levine <levinedl@acm.org> 12824Date: Tue Dec 10 07:53:14 2013 -0600 12825 12826 That didn't work. Set PATH to pick up SunStudio cc. 12827 12828Author: David Levine <levinedl@acm.org> 12829Date: Mon Dec 9 23:45:54 2013 -0600 12830 12831 Use SolarisStudio cc if available. 12832 12833Author: David Levine <levinedl@acm.org> 12834Date: Mon Dec 9 23:20:27 2013 -0600 12835 12836 Added temporary probe to find cc on Solaris. 12837 12838Author: David Levine <levinedl@acm.org> 12839Date: Mon Dec 9 18:25:03 2013 -0600 12840 12841 Removed temporary favor of cc over gcc. 12842 12843Author: David Levine <levinedl@acm.org> 12844Date: Mon Dec 9 18:19:17 2013 -0600 12845 12846 Temporarily favor cc over gcc to try it out on Solaris. 12847 12848Author: David Levine <levinedl@acm.org> 12849Date: Sun Dec 8 23:17:50 2013 -0600 12850 12851 Commit 9c663383ab54e0290781ac1c25d790ce03160e08 introduced 12852 a backward incompatibility to build_nmh. Refuse to support 12853 -y if the current nmh installation has an mhparam that doesn't 12854 support the sasl and tls components. 12855 12856Author: Ken Hornstein <kenh@pobox.com> 12857Date: Sun Dec 8 22:18:46 2013 -0500 12858 12859 Clean up comments, and update information on file locking. 12860 12861Author: David Levine <levinedl@acm.org> 12862Date: Sun Dec 8 19:02:28 2013 -0600 12863 12864 Removed dependence of build_nmh on ldd by adding sasl and tls 12865 components to mhparam(1). 12866 12867Author: Ken Hornstein <kenh@pobox.com> 12868Date: Sun Dec 8 18:05:42 2013 -0500 12869 12870 Fix one of the POP tests to work on wide terminals. 12871 12872Author: David Levine <levinedl@acm.org> 12873Date: Sun Dec 8 13:27:33 2013 -0600 12874 12875 Removed temporary diagnostic to determine gcc version on Solaris 12876 buildbot host. It's 4.5.2. 4.6.0 and later return an error 12877 status with an unrecognized option, which we rely on for the test 12878 for -Qunused-arguments. 4.5.2 doesn't. But that option doesn't 12879 produce any errors, just warnings that don't contain "warning". 12880 So ignore it. 12881 12882Author: David Levine <levinedl@acm.org> 12883Date: Sun Dec 8 13:16:19 2013 -0600 12884 12885 Added temporary diagnostic to see what version of gcc is 12886 used on the buildbot Solaris host. 12887 12888Author: David Levine <levinedl@acm.org> 12889Date: Sun Dec 8 12:50:39 2013 -0600 12890 12891 With the fix of 4929cad323afc87404752a1e88664a7f42cbb737, 12892 prepare_space() no longer needs to insert initial space. 12893 12894Author: David Levine <levinedl@acm.org> 12895Date: Sun Dec 8 12:15:18 2013 -0600 12896 12897 Try this sed command for squeeze_lines(). 12898 12899Author: David Levine <levinedl@acm.org> 12900Date: Sun Dec 8 11:19:13 2013 -0600 12901 12902 Added -eval 'set document.browse.margin_width = 0' to elinks 12903 command in mhfixmsg-format-text/html in mhn.defaults, to disable 12904 indentation of converted text. Thanks to Rickard Carlsson for 12905 this suggestion. 12906 12907Author: David Levine <levinedl@acm.org> 12908Date: Sun Dec 8 10:56:35 2013 -0600 12909 12910 That didn't work, so try this awk command from Robert Elz. 12911 12912Author: David Levine <levinedl@acm.org> 12913Date: Sun Dec 8 10:29:00 2013 -0600 12914 12915 Fixed squeeze_lines() test function to be compatible with POSIX awk. 12916 12917Author: David Levine <levinedl@acm.org> 12918Date: Sat Dec 7 20:27:37 2013 -0600 12919 12920 Fixed test-mhfixmsg to work with elinks, which inserted leading 12921 space on a line. Thanks to Valdis for reporting that and to 12922 Ralph for the awk and sed magic to emulate diff -w (and cat -s). 12923 12924Author: David Levine <levinedl@acm.org> 12925Date: Sat Dec 7 10:44:31 2013 -0600 12926 12927 Added notes to README.developers about write access to 12928 the git repo and git rebase. 12929 12930Author: David Levine <levinedl@acm.org> 12931Date: Sat Dec 7 10:39:16 2013 -0600 12932 12933 Replaced hard-coded use of "," with `mhparam sbackup` in 12934 test-header-encode. 12935 12936Author: David Levine <levinedl@acm.org> 12937Date: Sat Dec 7 09:34:05 2013 -0600 12938 12939 Disable clang complaint about unused -ansi when linking by 12940 adding -Qunused-arguments to LDFLAGS, if supported. 12941 12942Author: David Levine <levinedl@acm.org> 12943Date: Fri Dec 6 18:56:11 2013 -0600 12944 12945 Removed bash-isms from inc/test-deb359167. 12946 12947Author: David Levine <levinedl@acm.org> 12948Date: Fri Dec 6 18:43:20 2013 -0600 12949 12950 Skip inc/test-deb359167 on FreeBSD >= 10 because its valgrind 12951 throws a strange error. Code provided by Lyndon. 12952 12953Author: Lyndon Nerenberg <lyndon@orthanc.ca> 12954Date: Fri Dec 6 14:52:03 2013 -0800 12955 12956 test/common.sh.in: use awk to pick off first output field. 12957 12958 md5 and md5sum are inconsistent in their use of SP vs HT as a field separator. 12959 cut(1) can only handle a single field delimiter character; awk is more forgiving. 12960 12961Merge: 2734ae8 7d7ed69 12962Author: David Levine <levinedl@acm.org> 12963Date: Thu Dec 5 22:49:54 2013 -0600 12964 12965 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 12966 12967Author: David Levine <levinedl@acm.org> 12968Date: Thu Dec 5 22:49:49 2013 -0600 12969 12970 Renamed test/getfqdn to test/getcanon. 12971 12972Author: Ken Hornstein <kenh@pobox.com> 12973Date: Thu Dec 5 23:40:44 2013 -0500 12974 12975 I give up for now; revert these debugging commits. 12976 12977Author: Ken Hornstein <kenh@pobox.com> 12978Date: Thu Dec 5 23:28:44 2013 -0500 12979 12980 One final check to make sure the binary isn't stripped 12981 12982Author: Ken Hornstein <kenh@pobox.com> 12983Date: Thu Dec 5 23:15:57 2013 -0500 12984 12985 Sigh. Make sure the binaries aren't stripped as well. 12986 12987Author: Ken Hornstein <kenh@pobox.com> 12988Date: Thu Dec 5 22:56:57 2013 -0500 12989 12990 Switch to default of -g so hopefully we can get something useful from the 12991 FreeBSD buildbot valgrind output. 12992 12993Author: Ken Hornstein <kenh@pobox.com> 12994Date: Thu Dec 5 22:48:04 2013 -0500 12995 12996 Sigh, I always forget this is errno.h, not sys/errno.h. 12997 12998Author: Ken Hornstein <kenh@pobox.com> 12999Date: Thu Dec 5 21:59:22 2013 -0500 13000 13001 Have getfqdn fall back to printing out the given hostname if the DNS lookup 13002 fails, to replicate the behavior of LocalName(). 13003 13004Author: David Levine <levinedl@acm.org> 13005Date: Thu Dec 5 18:38:16 2013 -0600 13006 13007 That didn't work, either. Restoring configure.ac. 13008 13009Author: David Levine <levinedl@acm.org> 13010Date: Thu Dec 5 18:35:00 2013 -0600 13011 13012 That didn't work, try adding -pedantic-errors. 13013 13014Author: David Levine <levinedl@acm.org> 13015Date: Thu Dec 5 18:10:01 2013 -0600 13016 13017 The linker on FreeBSD 10 doesn't like -ansi. So added a 13018 configure check to not put -ansi in CFLAGS if the linker 13019 doesn't like it. Though may need to add -pedantic-errors. 13020 There doesn't seem to be an easy way to get automake to 13021 not put CFLAGS in the link command. 13022 13023Author: David Levine <levinedl@acm.org> 13024Date: Thu Dec 5 17:48:08 2013 -0600 13025 13026 Clean up mhbuild backup files left by test-header-encode. 13027 13028Author: David Levine <levinedl@acm.org> 13029Date: Thu Dec 5 08:02:27 2013 -0600 13030 13031 Better fix than commit 605d80e7cf0d02d4bab9387f03b4e1d43177e33e 13032 for test-mhfixmsg: always overwrite HOME environment variable 13033 if mhfixmsg uses w3m. 13034 13035Author: David Levine <levinedl@acm.org> 13036Date: Thu Dec 5 07:04:51 2013 -0600 13037 13038 Fix to commit 7e40862e6a4da7810a46aa1e28b05e527fdc208a: 13039 only one of the variables should have ICONV_CONST. 13040 13041Author: David Levine <levinedl@acm.org> 13042Date: Wed Dec 4 22:25:14 2013 -0600 13043 13044 In test-mhfixmsg, make sure that $HOME is writeable, in case 13045 nmh has been configured to use w3m. 13046 13047Author: David Levine <levinedl@acm.org> 13048Date: Wed Dec 4 21:48:04 2013 -0600 13049 13050 Really fixed mhmail. 13051 13052Author: David Levine <levinedl@acm.org> 13053Date: Wed Dec 4 21:18:38 2013 -0600 13054 13055 Removed temporary hack. 13056 13057Author: David Levine <levinedl@acm.org> 13058Date: Wed Dec 4 21:15:31 2013 -0600 13059 13060 Removed temporary hack to enable debug from configure.ac. 13061 13062Author: David Levine <levinedl@acm.org> 13063Date: Wed Dec 4 21:13:55 2013 -0600 13064 13065 Fixed test-mhmail failure on Solaris: its tail doesn't suport -n. 13066 13067Author: Ken Hornstein <kenh@pobox.com> 13068Date: Wed Dec 4 22:03:23 2013 -0500 13069 13070 Update pending-release-notes regarding removal of the -normalize and 13071 -nonormalize switches. 13072 13073Author: Ken Hornstein <kenh@pobox.com> 13074Date: Wed Dec 4 21:56:50 2013 -0500 13075 13076 Garbage collect "normalize". 13077 13078 The code to normalize addresses (look up the hostnames in DNS for the 13079 "official" hostnames) was disabled when we made DUMB the default configuration 13080 in 1.5. Since them, the -normalize switch was still around in various 13081 utilities, but it didn't do anything. Remove all of those switches and 13082 garbage collect various other bits of the "normalize" functionality. 13083 13084 At the same time, improve getm() a bit; it now takes an argument specifying 13085 the length of the error buffer. 13086 13087Author: David Levine <levinedl@acm.org> 13088Date: Wed Dec 4 20:54:03 2013 -0600 13089 13090 Added temporary diagnostic hack to test-mhmail. 13091 13092Author: David Levine <levinedl@acm.org> 13093Date: Wed Dec 4 20:40:59 2013 -0600 13094 13095 The buildbot is up, put in hacks to enable debug and print out hostname. 13096 13097Author: David Levine <levinedl@acm.org> 13098Date: Wed Dec 4 20:30:04 2013 -0600 13099 13100 Fixed m_getfld() bug introduced in commit 13101 0c7ac5073c24f01663fadc78b5112c86d52e4452. This bug caused parsing 13102 of messages with long (>= 8K) header field values to fail. The fix 13103 was easy: decrement the counter of bytes read when decrementing the 13104 current read position, in FLDPLUS state. 13105 13106Author: David Levine <levinedl@acm.org> 13107Date: Wed Dec 4 20:29:05 2013 -0600 13108 13109 Use ICONV_CONST in declaration of variable that's passed to 13110 iconv(), to quiet warning in FreeBSD 10. 13111 13112Author: David Levine <levinedl@acm.org> 13113Date: Wed Dec 4 19:49:36 2013 -0600 13114 13115 Added identifier to each check in test-mhlist to help diagnose 13116 test failure. 13117 13118Author: David Levine <levinedl@acm.org> 13119Date: Wed Dec 4 19:38:11 2013 -0600 13120 13121 Added comment about not supporting trailing semicolons 13122 for aliases (in alias file). 13123 13124Author: David Levine <levinedl@acm.org> 13125Date: Wed Dec 4 19:37:00 2013 -0600 13126 13127 Undid temporary hacks, it looks like the buildbot is down. 13128 13129Author: David Levine <levinedl@acm.org> 13130Date: Wed Dec 4 19:24:57 2013 -0600 13131 13132 Temporarily added a few hacks to diagnose problems found by buildbot. 13133 13134Author: Ken Hornstein <kenh@pobox.com> 13135Date: Wed Dec 4 18:11:31 2013 -0500 13136 13137 Fix another warning. 13138 13139Author: Ken Hornstein <kenh@pobox.com> 13140Date: Wed Dec 4 15:49:52 2013 -0500 13141 13142 A few more tests; I think that's enough for now. 13143 13144Author: Ken Hornstein <kenh@pobox.com> 13145Date: Wed Dec 4 14:29:54 2013 -0500 13146 13147 Fix a few warnings. 13148 13149Author: Ken Hornstein <kenh@pobox.com> 13150Date: Wed Dec 4 12:57:20 2013 -0500 13151 13152 More tests (but not quite finished yet). 13153 13154Author: Ken Hornstein <kenh@pobox.com> 13155Date: Wed Dec 4 12:56:54 2013 -0500 13156 13157 Fix cut & paste mistake. 13158 13159Author: Ken Hornstein <kenh@pobox.com> 13160Date: Wed Dec 4 12:12:55 2013 -0500 13161 13162 More man page minor fixup. 13163 13164Author: Ken Hornstein <kenh@pobox.com> 13165Date: Wed Dec 4 11:56:34 2013 -0500 13166 13167 Slightly clarify mhbuild man page. 13168 13169Author: Ken Hornstein <kenh@pobox.com> 13170Date: Wed Dec 4 11:40:52 2013 -0500 13171 13172 Minor typo fix. 13173 13174Author: Ken Hornstein <kenh@pobox.com> 13175Date: Tue Dec 3 21:57:01 2013 -0500 13176 13177 Note changes to mhbuild. 13178 13179Merge: 4c1236a 4fcf75e 13180Author: Ken Hornstein <kenh@pobox.com> 13181Date: Tue Dec 3 21:52:30 2013 -0500 13182 13183 Merge branch 'encode-rfc2047' 13184 13185Author: Ken Hornstein <kenh@pobox.com> 13186Date: Tue Dec 3 21:52:11 2013 -0500 13187 13188 Support for more tests. 13189 13190Author: Ken Hornstein <kenh@pobox.com> 13191Date: Tue Dec 3 21:36:39 2013 -0500 13192 13193 Whoops, shouldn't use autoincrement with a macro; forgot about side 13194 effects! 13195 13196Author: Ken Hornstein <kenh@pobox.com> 13197Date: Tue Dec 3 15:52:00 2013 -0500 13198 13199 First round of tests! Still want to do more before it gets merged. 13200 13201Author: Ken Hornstein <kenh@pobox.com> 13202Date: Tue Dec 3 15:21:29 2013 -0500 13203 13204 Add support for a -file switch to handle messages that are not in folders. 13205 13206Author: Ken Hornstein <kenh@pobox.com> 13207Date: Mon Dec 2 23:34:02 2013 -0500 13208 13209 Don't put a space after the trailing semicolon for group termination. 13210 13211Author: Ken Hornstein <kenh@pobox.com> 13212Date: Mon Dec 2 23:14:47 2013 -0500 13213 13214 Use pref_encoding() to select the default encoding for all headers. 13215 13216Author: Ken Hornstein <kenh@pobox.com> 13217Date: Mon Dec 2 23:11:27 2013 -0500 13218 13219 Do proper group handling, and fix a bug in the q-p encoder. 13220 13221Author: Ken Hornstein <kenh@pobox.com> 13222Date: Mon Dec 2 15:49:35 2013 -0500 13223 13224 I think we're very close to get address encoding working, but still have 13225 to test it more. 13226 13227Author: Ken Hornstein <kenh@pobox.com> 13228Date: Mon Dec 2 13:47:34 2013 -0500 13229 13230 Document a few more things. 13231 13232Author: Ken Hornstein <kenh@pobox.com> 13233Date: Mon Dec 2 13:41:51 2013 -0500 13234 13235 Since our last caller of getlocaladdr() was removed, garbage-collect this 13236 function. 13237 13238Author: Ken Hornstein <kenh@pobox.com> 13239Date: Mon Dec 2 13:39:34 2013 -0500 13240 13241 Remove code to set the signature buffer; it turns out that with our 13242 refactoring for 1.5, it was no longer used. 13243 13244Author: Ken Hornstein <kenh@pobox.com> 13245Date: Wed Nov 27 12:49:07 2013 -0500 13246 13247 More work, but still stuff to do. 13248 13249Author: Ken Hornstein <kenh@pobox.com> 13250Date: Mon Nov 25 14:06:38 2013 -0500 13251 13252 Fix up a few warnings and problems. 13253 13254Author: Ken Hornstein <kenh@pobox.com> 13255Date: Thu Nov 21 15:59:21 2013 -0500 13256 13257 More work on address portion of RFC 2047 encoder. 13258 13259Author: Ken Hornstein <kenh@pobox.com> 13260Date: Thu Nov 14 15:30:15 2013 -0500 13261 13262 A little bit closer to working for address headers. 13263 13264Author: Ken Hornstein <kenh@pobox.com> 13265Date: Thu Nov 14 11:43:33 2013 -0500 13266 13267 Break out the unquote functionality to a separate function. 13268 13269Author: Ken Hornstein <kenh@pobox.com> 13270Date: Thu Nov 14 10:16:22 2013 -0500 13271 13272 Fix up the unquote test, with help from Lyndon and Ralph. 13273 13274Author: Ken Hornstein <kenh@pobox.com> 13275Date: Wed Nov 13 22:26:09 2013 -0500 13276 13277 Test for unquoting, but it doesn't work yet. 13278 13279Author: Ken Hornstein <kenh@pobox.com> 13280Date: Wed Nov 13 20:54:48 2013 -0500 13281 13282 Switch fmttest over to using snprintb() instead of the private custom version 13283 we originally cribbed from fmtdump. 13284 13285Author: Ken Hornstein <kenh@pobox.com> 13286Date: Wed Nov 13 20:54:22 2013 -0500 13287 13288 Document snprintb() a bit. 13289 13290Author: Ken Hornstein <kenh@pobox.com> 13291Date: Wed Nov 13 20:54:05 2013 -0500 13292 13293 Actually check the output buffer length all of the time. 13294 13295Author: Ken Hornstein <kenh@pobox.com> 13296Date: Wed Nov 13 15:51:08 2013 -0500 13297 13298 Start work on address header parsing. 13299 13300Author: Ken Hornstein <kenh@pobox.com> 13301Date: Wed Nov 13 11:03:12 2013 -0500 13302 13303 Fix up date mode so it works without providing a format string. 13304 13305Author: Ken Hornstein <kenh@pobox.com> 13306Date: Sun Nov 10 22:46:49 2013 -0500 13307 13308 Document things a bit more. 13309 13310Author: Ken Hornstein <kenh@pobox.com> 13311Date: Sun Nov 10 00:46:23 2013 -0500 13312 13313 A number of bug fixes: 13314 13315 - Fix macro to calculate the number of characters that will fit 13316 within a specified base64 encoding length. 13317 - Refactor code to handle leading spaces, and insert a leading space 13318 correctly after the start of a header. 13319 13320 With all this, it seems to work! 13321 13322Author: Ken Hornstein <kenh@pobox.com> 13323Date: Sat Nov 9 14:27:12 2013 -0500 13324 13325 Don't increment the buffer pointer for the NUL string terminator; this 13326 lets us concatenate new text on the end of the current output buffer. 13327 13328Author: Ken Hornstein <kenh@pobox.com> 13329Date: Sat Nov 9 10:39:48 2013 -0500 13330 13331 Add support for -changecur and -nochangecur to mhlist(1). 13332 13333Author: Ken Hornstein <kenh@pobox.com> 13334Date: Thu Nov 7 22:44:13 2013 -0500 13335 13336 A little closer, but still has problems. 13337 13338Author: Ken Hornstein <kenh@pobox.com> 13339Date: Thu Nov 7 22:43:50 2013 -0500 13340 13341 Fix handling of -headerencoding switch. 13342 13343Author: Ken Hornstein <kenh@pobox.com> 13344Date: Thu Nov 7 16:02:14 2013 -0500 13345 13346 Getting closer to getting base64 header encoding working. 13347 13348Author: David Levine <levinedl@acm.org> 13349Date: Sun Nov 3 12:36:10 2013 -0600 13350 13351 Removed spurious space before a period in rcvpack man page. 13352 13353Author: David Levine <levinedl@acm.org> 13354Date: Sun Nov 3 12:34:12 2013 -0600 13355 13356 Cleaned up the "stripped CRs" mhfixmsg verbose message. 13357 13358Author: Ken Hornstein <kenh@pobox.com> 13359Date: Thu Oct 31 11:51:52 2013 -0400 13360 13361 Beginning stubs to support base64 header encoding. 13362 13363Author: Ken Hornstein <kenh@pobox.com> 13364Date: Thu Oct 31 11:37:52 2013 -0400 13365 13366 Support the -headerencoding switch to select the header encoding algorithm. 13367 13368Author: Ken Hornstein <kenh@pobox.com> 13369Date: Thu Oct 31 11:36:46 2013 -0400 13370 13371 Switch to the (correct) casting of char to unsigned char for is*() macros. 13372 13373Author: Ken Hornstein <kenh@pobox.com> 13374Date: Wed Oct 30 20:44:19 2013 -0400 13375 13376 Fix some space calculation/whitespace handling bugs. 13377 13378Author: Ken Hornstein <kenh@pobox.com> 13379Date: Wed Oct 30 15:32:03 2013 -0400 13380 13381 Fix qpspecial() macro test, and do proper casts to handle signed chars. 13382 13383Author: Ken Hornstein <kenh@pobox.com> 13384Date: Wed Oct 30 14:04:16 2013 -0400 13385 13386 It looks like simple quoted-printable encoding of headers works! 13387 13388Author: Ken Hornstein <kenh@pobox.com> 13389Date: Tue Oct 29 22:52:06 2013 -0400 13390 13391 Remove unused argument. 13392 13393Author: Ken Hornstein <kenh@pobox.com> 13394Date: Tue Oct 29 22:42:51 2013 -0400 13395 13396 Fix up a few miscalculations. 13397 13398Author: Ken Hornstein <kenh@pobox.com> 13399Date: Tue Oct 29 15:58:35 2013 -0400 13400 13401 A hopefully-functional quoted-printable encoder 13402 13403Author: Ken Hornstein <kenh@pobox.com> 13404Date: Mon Oct 28 14:44:30 2013 -0400 13405 13406 Test to make sure mhshow is actually invoking a charset conversion 13407 program if one is defined. 13408 13409Author: Ken Hornstein <kenh@pobox.com> 13410Date: Sun Oct 27 22:31:50 2013 -0400 13411 13412 Fix bug found by LLVM. 13413 13414Author: Ken Hornstein <kenh@pobox.com> 13415Date: Sun Oct 27 22:31:35 2013 -0400 13416 13417 Fix up warnings reported by LLVM. 13418 13419Author: David Levine <levinedl@acm.org> 13420Date: Sun Oct 27 08:57:55 2013 -0500 13421 13422 Interpret a full path argument to mhfixmsg as a filename, not 13423 a message. 13424 13425Author: Ken Hornstein <kenh@pobox.com> 13426Date: Wed Oct 23 14:40:02 2013 -0400 13427 13428 A little tiny bit closer to working. 13429 13430Author: David Levine <levinedl@acm.org> 13431Date: Wed Oct 23 11:24:34 2013 -0500 13432 13433 Success! Clean build on the buildbot Solaris11 host. 13434 13435Author: David Levine <levinedl@acm.org> 13436Date: Wed Oct 23 11:04:52 2013 -0500 13437 13438 Ooops, fixed typo in configure.ac. 13439 13440Author: David Levine <levinedl@acm.org> 13441Date: Wed Oct 23 11:02:47 2013 -0500 13442 13443 See if this cleans up the Solaris build on the buildbot. 13444 13445Author: David Levine <levinedl@acm.org> 13446Date: Wed Oct 23 10:47:23 2013 -0500 13447 13448 More probing: print out sbr/dtimep.c. 13449 13450Author: David Levine <levinedl@acm.org> 13451Date: Wed Oct 23 10:20:49 2013 -0500 13452 13453 OK, Solaris on the buildbot uses flex 2.5.35. 13454 13455Author: David Levine <levinedl@acm.org> 13456Date: Wed Oct 23 10:16:31 2013 -0500 13457 13458 More probing: added flex -V. 13459 13460Author: David Levine <levinedl@acm.org> 13461Date: Wed Oct 23 09:57:16 2013 -0500 13462 13463 Added back an enhanced hack to configure.ac to try to diagnose 13464 the flex 2.5.36/.36 bug workaround. Changed test-dist a bit 13465 to help isolate where it just failed. (My last commit message 13466 was incorrect: it was test-dist that failed, not test-comp-format.) 13467 13468Author: David Levine <levinedl@acm.org> 13469Date: Tue Oct 22 22:54:08 2013 -0500 13470 13471 Reverted commit 9caa7da143644ed93c6ba6351f48fa1327ad4392 13472 because it didn't solve the problem on Solaris, and 13473 apparently broke test-comp-format, though I don't see how. 13474 13475Author: David Levine <levinedl@acm.org> 13476Date: Tue Oct 22 19:46:51 2013 -0500 13477 13478 Added hack to configure.ac to work around bug in flex 2.5.36 and 13479 2.5.37 that prevents the builds from being completely green. 13480 According to http://sourceforge.net/p/flex/bugs/140/, this should 13481 be fixed in the next release of flex. The hack is confined to 13482 just configure.ac so it'll be easy to remove. 13483 13484Author: Ken Hornstein <kenh@pobox.com> 13485Date: Mon Oct 21 23:51:57 2013 -0400 13486 13487 Minor comment update. 13488 13489Author: Ken Hornstein <kenh@pobox.com> 13490Date: Mon Oct 21 16:01:02 2013 -0400 13491 13492 Start of RFC 2047 encoding code. Not complete in the slightest. 13493 13494Author: Ken Hornstein <kenh@pobox.com> 13495Date: Mon Oct 21 12:48:23 2013 -0400 13496 13497 Some comments describing the MIME structures. 13498 13499Author: David Levine <levinedl@acm.org> 13500Date: Sat Oct 19 09:58:14 2013 -0500 13501 13502 Added volatile qualifier in a couple of places to get rid of 13503 "might be clobbered" warning from when -Wno-clobbered isn't 13504 supported. And I removed the check for Wno-clobbered from 13505 configure.ac. It's no longer needed on any of the platforms 13506 I use, we'll see if others need it. 13507 13508Author: David Levine <levinedl@acm.org> 13509Date: Sat Oct 19 09:19:58 2013 -0500 13510 13511 Allow mhfixmsg to strip carriage returns from ISO-8850, UTF-8, 13512 and Windows-12xx text, in addition to ASCII. 13513 13514Author: David Levine <levinedl@acm.org> 13515Date: Sat Oct 19 09:17:22 2013 -0500 13516 13517 Added docs/README-iCalendar. 13518 13519Author: Ken Hornstein <kenh@pobox.com> 13520Date: Thu Oct 17 22:03:07 2013 -0400 13521 13522 Implemented -build switch for comp, at the request of the MH-E developers. 13523 13524Author: Ken Hornstein <kenh@pobox.com> 13525Date: Thu Oct 17 21:44:52 2013 -0400 13526 13527 Minor comment cleanup. 13528 13529Author: Ken Hornstein <kenh@pobox.com> 13530Date: Thu Oct 17 15:43:15 2013 -0400 13531 13532 Update the mh-sequence(5) man page with details of the format of the 13533 sequence file. Also mention that nonexistant messages will be removed 13534 from sequences. 13535 13536Author: Ken Hornstein <kenh@pobox.com> 13537Date: Tue Oct 15 20:21:32 2013 -0400 13538 13539 Add locking support to the version of the sequence file reading code used 13540 by the "new" command. Based on a patch by Harvey Eneman. 13541 13542Author: Ken Hornstein <kenh@pobox.com> 13543Date: Tue Oct 15 15:02:18 2013 -0400 13544 13545 Remove support for NOPUBLICSEQ. 13546 13547Author: Ken Hornstein <kenh@pobox.com> 13548Date: Tue Oct 15 14:48:19 2013 -0400 13549 13550 Remove unneeded stat() call; was a leftover from the original MH 13551 code where the owner of the folder was checked against the results of 13552 getuid(). 13553 13554Author: David Levine <levinedl@acm.org> 13555Date: Sun Oct 6 08:45:22 2013 -0500 13556 13557 The Content-Disposition type needs to be "inline" for MS Outlook and 13558 BlackBerry calendar programs to properly handle a text/calendar 13559 attachment. So do that with attachformat values of 1 and 2. 13560 13561Author: David Levine <levinedl@acm.org> 13562Date: Thu Sep 19 18:30:19 2013 -0500 13563 13564 Added script name to test-mhfixmsg printout. 13565 13566Author: David Levine <levinedl@acm.org> 13567Date: Thu Sep 19 08:13:24 2013 -0500 13568 13569 Don't check -replacetextplain in test-mhfixmsg if skipping -reformat 13570 check. 13571 13572Author: David Levine <levinedl@acm.org> 13573Date: Wed Sep 18 21:40:19 2013 -0500 13574 13575 Run output of -replacetextplain test through uniq. 13576 13577Author: David Levine <levinedl@acm.org> 13578Date: Mon Aug 19 00:42:01 2013 -0500 13579 13580 Added -replacetextplain switch to mhfixmsg. If enabled, -reformat 13581 will replace any existing text/plain part, such as those that are 13582 empty or that don't match their corresponding text/html part. 13583 13584Author: David Levine <levinedl@acm.org> 13585Date: Tue Jul 2 18:33:37 2013 -0500 13586 13587 Added unsigned char cast of char argument to isascii() call. 13588 13589Author: Ken Hornstein <kenh@pobox.com> 13590Date: Mon Jul 1 15:44:22 2013 -0400 13591 13592 Reject email addresses which contain 8-bit characters. 13593 13594Author: Ken Hornstein <kenh@pobox.com> 13595Date: Mon Jul 1 15:07:16 2013 -0400 13596 13597 Add warnings about the use of %(decode) on addresses. 13598 13599Author: Ken Hornstein <kenh@pobox.com> 13600Date: Mon Jul 1 14:31:51 2013 -0400 13601 13602 If mbtowc() fails to handle a character, replace the offending character 13603 with a '?' and continue. 13604 13605Author: David Levine <levinedl@acm.org> 13606Date: Mon Jul 1 07:11:27 2013 -0500 13607 13608 In test-mhfixmsg, run output through uniq before head instead of after. 13609 13610Author: David Levine <levinedl@acm.org> 13611Date: Sun Jun 30 22:29:12 2013 -0500 13612 13613 Punted on comparing that html part in test-mhfixmsg: it 13614 can get reformatted legally. 13615 13616Author: David Levine <levinedl@acm.org> 13617Date: Sun Jun 30 21:20:00 2013 -0500 13618 13619 Try this formatting change to test-mhfixmsg. 13620 13621Author: David Levine <levinedl@acm.org> 13622Date: Sun Jun 30 20:46:18 2013 -0500 13623 13624 One more formatting chagned to the input in test-mhfixmsg. One of 13625 the lines is one character longer than the others and that's about 13626 where the problem shows up, so yanked a character out of it. 13627 13628Merge: 1863e69 03da1d1 13629Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13630Date: Sun Jun 30 18:11:42 2013 -0700 13631 13632 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 13633 13634Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13635Date: Sun Jun 30 18:11:13 2013 -0700 13636 13637 Revert "Move a variable manipulation outside the context of setjmp() to quell a compiler warning." 13638 13639 Turns out it didn't fix it after all. 13640 13641 This reverts commit 0152658e840581077e5cd575b5195faf18b9df8b. 13642 13643Author: David Levine <levinedl@acm.org> 13644Date: Sun Jun 30 20:11:08 2013 -0500 13645 13646 Changed formatting of the input in test-mhfixmsg that breaks 13647 on Solaris 11, maybe this will fix it. 13648 13649Merge: 0152658 7970ff4 13650Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13651Date: Sun Jun 30 17:59:59 2013 -0700 13652 13653 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 13654 13655Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13656Date: Sun Jun 30 17:59:31 2013 -0700 13657 13658 Move a variable manipulation outside the context of setjmp() to quell a compiler warning. 13659 13660Author: David Levine <levinedl@acm.org> 13661Date: Sun Jun 30 19:40:34 2013 -0500 13662 13663 Restored test-mhfixmsg. Not sure what to do about failure on Solaris. 13664 13665Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13666Date: Sun Jun 30 17:24:48 2013 -0700 13667 13668 Copy a parameter off the call stack to quell a longjmp warning. 13669 13670Merge: 5fb90fa daae5d9 13671Author: David Levine <levinedl@acm.org> 13672Date: Sun Jun 30 19:14:46 2013 -0500 13673 13674 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 13675 13676Author: David Levine <levinedl@acm.org> 13677Date: Sun Jun 30 19:12:58 2013 -0500 13678 13679 See if the rest of test-mhfixmsg will pass on Solaris. 13680 13681Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13682Date: Sun Jun 30 16:58:23 2013 -0700 13683 13684 Remove spurious return statements after exit(). 13685 13686 These are holdovers from a long forgotten era. 13687 13688Author: David Levine <levinedl@acm.org> 13689Date: Sun Jun 30 18:50:50 2013 -0500 13690 13691 OK, fixed test-mhfixmsg on Solaris 11, where BUFSIZ is 1024. 13692 The problem was in the content_encoding() function of mhfixmsg: 13693 it would restart its counter of the characters on a line whenever 13694 new characters were read in. The fix was easy, just move the 13695 initialization of that counter outside of the fread() loop. 13696 13697Author: David Levine <levinedl@acm.org> 13698Date: Sun Jun 30 18:28:56 2013 -0500 13699 13700 Added to the Solaris debug printout. 13701 13702Author: David Levine <levinedl@acm.org> 13703Date: Sun Jun 30 18:11:43 2013 -0500 13704 13705 Removed exit() after a longjmp() in uip/sendsbr.c to quiet 13706 compile warning on Solaris 11. 13707 13708Author: David Levine <levinedl@acm.org> 13709Date: Sun Jun 30 18:03:28 2013 -0500 13710 13711 More debugging of test-mhfixmsg on Solaris. 13712 13713Author: David Levine <levinedl@acm.org> 13714Date: Sun Jun 30 17:50:44 2013 -0500 13715 13716 Fixed removal of <> in test-dist and test-rcvdist. 13717 13718Author: David Levine <levinedl@acm.org> 13719Date: Sun Jun 30 16:44:23 2013 -0500 13720 13721 Remove any <> surrounding localmbox in test-dist and test-rcvdist, 13722 so that the tests pass when the user doesn't have a SIGNATURE set. 13723 13724Author: David Levine <levinedl@acm.org> 13725Date: Sun Jun 30 16:35:39 2013 -0500 13726 13727 That didn't work, fixed location of mhn.defaults in test. 13728 13729Author: David Levine <levinedl@acm.org> 13730Date: Sun Jun 30 16:19:56 2013 -0500 13731 13732 Added debug printouts to see why the test fails on Solaris 11. 13733 13734Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13735Date: Sun Jun 30 13:14:12 2013 -0700 13736 13737 Prefer /usr/sbin/sendmail over /usr/lib/sendmail. 13738 13739 If the site installs a sendmail replacement, or updates to a newer 13740 version, odds are better for the new sendmail preferring to install in 13741 /usr/sbin over /usr/lib. 13742 13743Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13744Date: Sun Jun 30 12:39:46 2013 -0700 13745 13746 Add compilation guard around lkopen_flock. 13747 13748 Oracle Solaris 11 doesn't have flock(). 13749 13750Author: Lyndon Nerenberg <lyndon@nmhsol11.(none)> 13751Date: Sun Jun 30 12:16:07 2013 -0700 13752 13753 If we're searching for commands, prefer xpg4 versions on Solaris. 13754 13755Author: David Levine <levinedl@acm.org> 13756Date: Tue Jun 11 20:30:31 2013 -0500 13757 13758 Removed hyphen from all occurrences of RFC-*. 13759 13760Author: David Levine <levinedl@acm.org> 13761Date: Tue Jun 11 20:17:29 2013 -0500 13762 13763 Changed all bare occurrences of 822/2822 to RFC 822/RFC 2822. 13764 Reported by Norm. 13765 13766Author: David Levine <levinedl@acm.org> 13767Date: Tue Jun 11 19:46:51 2013 -0500 13768 13769 Changed "separated by spaces" in mh-sequence man page to 13770 "as separate arguments", as suggested by Norm. 13771 13772Author: David Levine <levinedl@acm.org> 13773Date: Tue Jun 11 19:45:47 2013 -0500 13774 13775 Changed a couple of occurrences of "white-space" to "whitespace" 13776 to be consistent with other man pages. 13777 13778Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13779Date: Sun May 26 12:37:40 2013 -0700 13780 13781 conflict(8): style - move deprecation notice into DESCRIPTION. 13782 13783Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13784Date: Sun May 26 12:28:24 2013 -0700 13785 13786 Remove SYNOPSIS from nmh(7). 13787 13788Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13789Date: Sun May 26 12:23:00 2013 -0700 13790 13791 Delete SYNOPSIS from section 5 manpages. 13792 13793 This isn't applicable to section 5 manpages. 13794 13795Merge: c943fb3 4859041 13796Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13797Date: Sun May 26 12:17:41 2013 -0700 13798 13799 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 13800 13801Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13802Date: Sun May 26 12:17:31 2013 -0700 13803 13804 Fix typo. 13805 13806Author: David Levine <levinedl@acm.org> 13807Date: Sun May 26 11:11:48 2013 -0500 13808 13809 Added note to pending-release-notes that "*" address-group is 13810 obsolescent. Split obsolete and deprecated features into 13811 separate sections. 13812 13813Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13814Date: Sat May 25 20:19:50 2013 -0700 13815 13816 Stupid typo in manpage. 13817 13818Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13819Date: Sat May 25 20:14:04 2013 -0700 13820 13821 Clean up mh-alias(5) manpage. 13822 13823 Word-smithing, update to use *.example domains for addresses, 13824 literal text in bold rather than italic, use typographers quotes on 13825 single character references, etc. 13826 13827 Re-organize sections to match documentation convention. 13828 13829 Mark "*" address-group as obsolescent. 13830 13831Author: David Levine <levinedl@acm.org> 13832Date: Sun May 12 08:29:34 2013 -0500 13833 13834 Fixed strip_crs() in mhfixmsg to work even if it's the 13835 only modification to the message. Also, fixed the test 13836 so that it succeeds even if there is no lynx, w3m, etc. 13837 13838Author: David Levine <levinedl@acm.org> 13839Date: Mon May 6 20:14:57 2013 -0500 13840 13841 Fixed number of bytes to fread() in strip_crs() in mhfixmsg. 13842 13843Author: Lyndon Nerenberg <lyndon@orthanc.ca> 13844Date: Sun May 5 14:41:34 2013 -0700 13845 13846 More .ta -> .TP manpage cleanup. 13847 13848Author: David Levine <levinedl@acm.org> 13849Date: Sat May 4 10:38:35 2013 -0500 13850 13851 Per Ralph's suggestion, added note that "moreproc" is not 13852 supported in user profile display strings. 13853 13854Author: David Levine <levinedl@acm.org> 13855Date: Sat May 4 10:30:21 2013 -0500 13856 13857 Replaced hard-coded "more" with DEFAULT_PAGER in show_text(). 13858 13859Author: David Levine <levinedl@acm.org> 13860Date: Sat May 4 09:36:42 2013 -0500 13861 13862 When the mhfixmsg -decodetext switch is enabled, each carriage 13863 return character that precedes a linefeed character is removed 13864 from ASCII-encoded text parts. 13865 13866Author: David Levine <levinedl@acm.org> 13867Date: Sat May 4 09:03:27 2013 -0500 13868 13869 Removed unused declaration of "nolist" from mhshow.c. 13870 13871Author: David Levine <levinedl@acm.org> 13872Date: Sat May 4 09:01:42 2013 -0500 13873 13874 Replaced raw hack to add the credentials profile entry in post.c 13875 with new add_profile_entry() function. 13876 13877Author: David Levine <levinedl@acm.org> 13878Date: Thu May 2 20:36:21 2013 -0500 13879 13880 Fixed failure reported by Valdis of post to retrieve login and 13881 password with legacy credentials. 13882 13883Author: David Levine <levinedl@acm.org> 13884Date: Wed May 1 20:40:55 2013 -0500 13885 13886 Fixed problem with m_getfld() with long headers reported by 13887 Paul Fox. The problem occurred with the 512th byte of the 13888 header was a newline: it then skipped the next character. 13889 13890Author: David Levine <levinedl@acm.org> 13891Date: Wed May 1 20:38:48 2013 -0500 13892 13893 Set the return status from the check() function of the test 13894 suite if the check failed. 13895 13896Author: David Levine <levinedl@acm.org> 13897Date: Tue Apr 30 20:59:55 2013 -0500 13898 13899 Removed remaining #includes of stdio.h and stdlib.h because 13900 they're #include'd by h/nmh.h. 13901 13902Author: David Levine <levinedl@acm.org> 13903Date: Tue Apr 30 20:54:43 2013 -0500 13904 13905 Applied what was done to uip/send.c in commit 13906 af429a902add614e35cd76d15172a4ccb70a3be1 to uip/viamail.c and 13907 uip/whatnowsbr.c, because they call sendsbr() directly. 13908 13909Author: David Levine <levinedl@acm.org> 13910Date: Sun Apr 28 19:42:09 2013 -0500 13911 13912 Removed some #includes of stdio.h, ctype.h, stdlib.h, and 13913 string.h because they're #include'd by h/nmh.h. 13914 13915Author: David Levine <levinedl@acm.org> 13916Date: Sun Apr 28 19:32:44 2013 -0500 13917 13918 Removed some #includes of unistd.h and stdio.h because they're 13919 in h/nmh.h. 13920 13921Author: David Levine <levinedl@acm.org> 13922Date: Sun Apr 28 19:26:58 2013 -0500 13923 13924 Redirect some outputs in the test suite to standard error. 13925 13926Author: David Levine <levinedl@acm.org> 13927Date: Sun Apr 28 14:59:34 2013 -0500 13928 13929 Fix to commit af429a902add614e35cd76d15172a4ccb70a3be1 to 13930 use the user found by nmh_get_credentials() in sm_auth_sasl(). 13931 13932Author: David Levine <levinedl@acm.org> 13933Date: Sun Apr 28 13:07:31 2013 -0500 13934 13935 Tweaked check of -outfile in test-mhstore. 13936 13937Author: David Levine <levinedl@acm.org> 13938Date: Sun Apr 28 12:49:44 2013 -0500 13939 13940 Allow -clobber with mhstore -outfile. 13941 13942Author: David Levine <levinedl@acm.org> 13943Date: Sun Apr 28 11:29:47 2013 -0500 13944 13945 Added -outfile switch to mhstore(1). 13946 13947Author: David Levine <levinedl@acm.org> 13948Date: Sun Apr 28 11:13:41 2013 -0500 13949 13950 Refined error message from check() shell function of test suite. 13951 13952Author: Ken Hornstein <kenh@pobox.com> 13953Date: Sat Apr 27 20:32:55 2013 -0400 13954 13955 Remove extra arguments from two anno tests; the check() function now 13956 complains about them. Looks like they were always there. 13957 13958Author: David Levine <levinedl@acm.org> 13959Date: Sat Apr 27 14:08:49 2013 -0500 13960 13961 Removed #include of sys/param.h from sbr/makedir.c. It's 13962 #include'd by h/nmh.h, with HAVE_SYS_PARAM_H protection. 13963 13964Author: David Levine <levinedl@acm.org> 13965Date: Sat Apr 27 13:26:18 2013 -0500 13966 13967 Allow mhfixmsg -reformat to succeed even when decode of binary 13968 text fails. This is a refinement of commit 13969 ebf35185aa9256b0cd09234f39bd14db9e90e81c. 13970 13971Author: David Levine <levinedl@acm.org> 13972Date: Sat Apr 27 13:24:53 2013 -0500 13973 13974 Added support for 'ignore space' argument to check() function 13975 of test/common.sh.in. 13976 13977Author: David Levine <levinedl@acm.org> 13978Date: Mon Apr 22 22:00:38 2013 -0500 13979 13980 Completed commit 52a236230220232fd632b5aa88eb9bb31dba346e so 13981 that send(1)/post(1) use "credentials" profile entry. post 13982 doesn't read the profile so pass the credentials setting to 13983 it via a new switch. 13984 13985Author: David Levine <levinedl@acm.org> 13986Date: Sun Apr 21 09:49:48 2013 -0500 13987 13988 Replaced calls to static getcpy() in mf.c with calls to strdup() 13989 13990Author: David Levine <levinedl@acm.org> 13991Date: Sun Apr 21 09:43:27 2013 -0500 13992 13993 Added quoting of local part of invalid address in message being 13994 replied to [Bug #26780]. 13995 13996Author: David Levine <levinedl@acm.org> 13997Date: Sun Apr 21 09:42:00 2013 -0500 13998 13999 Fixed small formatting glitch in repl man page. 14000 14001Author: David Levine <levinedl@acm.org> 14002Date: Sun Apr 21 09:41:03 2013 -0500 14003 14004 Added const to arguments of mf functions. 14005 14006Author: David Levine <levinedl@acm.org> 14007Date: Sun Apr 21 09:39:44 2013 -0500 14008 14009 Added const to argument of getname(). 14010 14011Author: David Levine <levinedl@acm.org> 14012Date: Sun Apr 21 09:39:20 2013 -0500 14013 14014 Added const to argument of getcpy(). 14015 14016Author: David Levine <levinedl@acm.org> 14017Date: Sat Apr 20 08:36:12 2013 -0500 14018 14019 Refined commit 9b70e8396d50989db2177547515594bc15ee8b17 to allow 14020 options to be passed to ls from whatnow prompt. This way, "ls -l" 14021 works as expected. 14022 14023Author: David Levine <levinedl@acm.org> 14024Date: Fri Apr 19 21:06:50 2013 -0500 14025 14026 Added mention to mhlist(1) man page, in response to question 14027 from Ralph, that it lists multipart/alternative parts in reverse 14028 order of their placement in a message. 14029 14030 And in response to suggestion from Ralph, trimmed whitespace from 14031 ends of mhlist output lines. 14032 14033Author: Paul Fox <pgf@foxharp.boston.ma.us> 14034Date: Tue Apr 9 14:32:32 2013 -0400 14035 14036 test-mark: add tests for relative message selections 14037 14038Author: Paul Fox <pgf@foxharp.boston.ma.us> 14039Date: Thu Apr 4 08:21:19 2013 -0400 14040 14041 mh-sequence.man: document new '=+' and '=-' for selecting relative msgs 14042 14043 also add a line-item to docs/pending-release-notes. 14044 14045Author: Paul Fox <pgf@foxharp.boston.ma.us> 14046Date: Thu Apr 4 08:21:50 2013 -0400 14047 14048 m_convert: 'foo=n' and 'foo=+/-n' now select msgs with relative offsets 14049 14050Author: David Levine <levinedl@acm.org> 14051Date: Thu Apr 18 21:30:33 2013 -0500 14052 14053 Fixed permissions of maildelivery file in test-slocal to fix 14054 test failure reported by Paul Fox. Also added code to the test 14055 to help diagnose any failure. 14056 14057Author: David Levine <levinedl@acm.org> 14058Date: Tue Apr 16 08:00:54 2013 -0500 14059 14060 Plugged memory leak in m_unknown(). 14061 14062Author: David Levine <levinedl@acm.org> 14063Date: Tue Apr 16 07:59:54 2013 -0500 14064 14065 Added date to test message with two blank lines between header 14066 and body so that the test can pass on other days. 14067 14068Author: David Levine <levinedl@acm.org> 14069Date: Mon Apr 15 21:01:12 2013 -0500 14070 14071 Fixed problem in m_getfld() reported by Paul Fox. When 14072 inc'ing a message from a maildrop with two blank lines 14073 between the header and body, the last 3 or 4 characters of 14074 the last header would be copied into the body. 14075 14076Author: David Levine <levinedl@acm.org> 14077Date: Sun Apr 14 10:47:31 2013 -0500 14078 14079 Moved #include of signal.h to h/signals.h. And it was already 14080 in h/nmh.h. 14081 14082Author: David Levine <levinedl@acm.org> 14083Date: Sun Apr 14 10:27:47 2013 -0500 14084 14085 Moved #include of errno.h to h/nmh.h. 14086 14087Author: David Levine <levinedl@acm.org> 14088Date: Sun Apr 14 10:13:42 2013 -0500 14089 14090 Removed #include of sys/wait.h from sbr/pidstatus.c. I missed 14091 it with b523a72928c0ef630be33cf5f5aab9fc301958e1. 14092 14093Author: David Levine <levinedl@acm.org> 14094Date: Sun Apr 14 09:53:32 2013 -0500 14095 14096 A "credentials" mh-profile entry has been added. This allows 14097 post(8), whom(1), send(1), inc(1), and msgchk(1) to (optionally) 14098 honour the username in the .netrc file [Bug #23168]. And, it 14099 allows specification of any valid filename in place of $HOME/.netrc. 14100 14101Author: David Levine <levinedl@acm.org> 14102Date: Tue Apr 9 20:26:43 2013 -0500 14103 14104 Fixed typo in several man pages. 14105 14106Author: David Levine <levinedl@acm.org> 14107Date: Wed Apr 3 20:06:19 2013 -0500 14108 14109 Added vpick to dist_contib_DATA so it gets distributed. 14110 14111Author: David Levine <levinedl@acm.org> 14112Date: Wed Apr 3 19:56:54 2013 -0500 14113 14114 Be sure that mhfixmsg returns a status of non-zero if 14115 it can't reformat a part. 14116 14117Author: David Levine <levinedl@acm.org> 14118Date: Wed Apr 3 18:46:22 2013 -0500 14119 14120 Added port number to "Connecting to" message with -snoop. 14121 14122Author: Ken Hornstein <kenh@pobox.com> 14123Date: Mon Apr 1 12:10:28 2013 -0400 14124 14125 Document new -initialtls option. 14126 14127Author: David Levine <levinedl@acm.org> 14128Date: Sun Mar 31 20:56:49 2013 -0500 14129 14130 Cast away constness of SSL_CTX_new() arg because that's 14131 what older versions of ssl use. 14132 14133Author: David Levine <levinedl@acm.org> 14134Date: Sun Mar 31 20:39:55 2013 -0500 14135 14136 Look at post instead of inc to determine build options in build_nmh. 14137 14138Author: David Levine <levinedl@acm.org> 14139Date: Sun Mar 31 20:39:22 2013 -0500 14140 14141 Added const to SSL_METHOD *. 14142 14143Author: Ken Hornstein <kenh@pobox.com> 14144Date: Sun Mar 31 18:33:46 2013 -0400 14145 14146 Preliminary support for TLS negotiation at the very start of SMTP session. 14147 14148Author: David Levine <levinedl@acm.org> 14149Date: Sun Mar 31 16:32:10 2013 -0500 14150 14151 Moved #include <sys/wait.h> to h/nmh.h. 14152 14153Author: David Levine <levinedl@acm.org> 14154Date: Sun Mar 31 11:45:09 2013 -0500 14155 14156 Removed limit on maximum number of sequences in a folder. 14157 Dynamically sized vectors in sbr/vector.c were added to support 14158 this. Their sizes are limited only by virtual memory. 14159 14160Author: David Levine <levinedl@acm.org> 14161Date: Sat Mar 30 09:53:10 2013 -0500 14162 14163 Moved #include <assert.h> to h/nmh.h. 14164 14165Author: David Levine <levinedl@acm.org> 14166Date: Fri Mar 29 12:09:15 2013 -0500 14167 14168 A bug fix and an enhancement to mhfixmsg based on patches 14169 provided by M. Levinson: 14170 1) Set status to NOTOK in get_multipart_boundary() if the 14171 message is missing its end boundary. This avoids a seg fault 14172 in fix_boundary(); also added check for null return from 14173 parse_mime(). If this turns out to be a common problem, we 14174 could consider adding code to repair it. Now, mhfixmsg ignores 14175 the condition and proceeeds with any other transformations. 14176 2) With -decodetext 7bit, mhfixmsg now converts base64-encoded 14177 parts to quoted-printable 8bit if the part will not fit into 14178 7bit. 14179 14180Author: Ken Hornstein <kenh@pobox.com> 14181Date: Wed Mar 27 14:56:44 2013 -0400 14182 14183 Document changes regarding increased per-folder sequence limits. 14184 14185Author: Ken Hornstein <kenh@pobox.com> 14186Date: Wed Mar 27 14:51:33 2013 -0400 14187 14188 Warn the user if too many sequences exist during sequence initialization. 14189 14190Author: Ken Hornstein <kenh@pobox.com> 14191Date: Wed Mar 27 14:22:40 2013 -0400 14192 14193 Change seqset_t to unsigned long to support more sequences on LP64 systems. 14194 Also include necessary casts to make sequence macros worked properly. 14195 Based on code contributed by M. Levinson. 14196 14197Author: David Levine <levinedl@acm.org> 14198Date: Mon Mar 25 22:29:06 2013 -0500 14199 14200 Reworded description of "mark -seq foo delete all" example 14201 in mark(1) man page. 14202 14203Author: David Levine <levinedl@acm.org> 14204Date: Sun Mar 24 13:37:47 2013 -0500 14205 14206 Finished replacing mh_strcasecmp() with strcasecmp(). Removed 14207 sbr/strcasecmp.c. 14208 14209Author: David Levine <levinedl@acm.org> 14210Date: Sun Mar 24 13:23:59 2013 -0500 14211 14212 More replacements of mh_strcasecmp() with strcasecmp(). 14213 14214Author: David Levine <levinedl@acm.org> 14215Date: Sun Mar 24 11:45:42 2013 -0500 14216 14217 More replacements of mh_strcasecmp() with strcasecmp(). 14218 14219Author: David Levine <levinedl@acm.org> 14220Date: Sun Mar 24 11:28:51 2013 -0500 14221 14222 More replacements of mh_strcasecmp() with strcasecmp(). 14223 14224Author: David Levine <levinedl@acm.org> 14225Date: Sun Mar 24 11:15:27 2013 -0500 14226 14227 More replacements of mh_strcasecmp() with strcasecmp(). 14228 14229Author: David Levine <levinedl@acm.org> 14230Date: Sun Mar 24 10:36:18 2013 -0500 14231 14232 More replacements of mh_strcasecmp() with strcasecmp(). 14233 14234Author: David Levine <levinedl@acm.org> 14235Date: Sun Mar 24 09:09:02 2013 -0500 14236 14237 Started replacing uses of mh_strcasecmp() with strcasecmp(). 14238 14239Author: Ken Hornstein <kenh@pobox.com> 14240Date: Sat Mar 23 22:59:24 2013 -0400 14241 14242 Change folder_delmsgs() to save context and sequence files (and make 14243 sure those changes are before calling rmmproc(). Update programs 14244 that use folder_delmsgs() to make all changes to sequences and 14245 the context before calling folder_delmsgs(). 14246 14247Author: Ken Hornstein <kenh@pobox.com> 14248Date: Fri Mar 22 00:28:35 2013 -0400 14249 14250 Make some formatting changes to conform to our manpage style. 14251 14252Author: David Levine <levinedl@acm.org> 14253Date: Fri Mar 22 08:33:40 2013 -0500 14254 14255 Always update sequences and context in mhfixmsg, not just when 14256 there is a rmmproc. 14257 14258Author: David Levine <levinedl@acm.org> 14259Date: Thu Mar 21 21:05:09 2013 -0500 14260 14261 Fixes from M. Levinson: 14262 1) Fixed typo in elinks option in etc/mhn.defaults.sh. 14263 2) Added #include <sys/wait.h> to mhfixmsg.c. 14264 3) Fixed seg fault when there's no corresponding profile entry 14265 for a message part in mhfixmsg. 14266 4) If rename() fails in write_content() of mhfixmsg, attempt to 14267 copy and then remove the file. 14268 14269Author: Ken Hornstein <kenh@pobox.com> 14270Date: Thu Mar 21 21:49:29 2013 -0400 14271 14272 Minor formatting fix for fmttest man page. 14273 14274Author: Alexander Zangerl <exmh@bin.snafu.priv.at> 14275Date: Thu Mar 21 20:22:21 2013 -0500 14276 14277 Went through the sources and checked where etcpath() is 14278 used, and added/cloned an explanatory bit of text from the 14279 fmttest man page to the files section for all affected 14280 programs. 14281 14282Author: Ken Hornstein <kenh@pobox.com> 14283Date: Thu Mar 21 18:28:21 2013 -0400 14284 14285 Make sure to mark the sequence file as closed in the msgs struct. 14286 14287Author: Ken Hornstein <kenh@pobox.com> 14288Date: Thu Mar 21 17:19:46 2013 -0400 14289 14290 Change mhfixmsg to the new world folder_read() API. 14291 14292Merge: 6f70907 85bb87a 14293Author: Ken Hornstein <kenh@pobox.com> 14294Date: Thu Mar 21 17:14:30 2013 -0400 14295 14296 Merge branch 'newlock' 14297 14298Author: Ken Hornstein <kenh@pobox.com> 14299Date: Thu Mar 21 17:12:42 2013 -0400 14300 14301 More documentation about locking changes. 14302 14303Author: Ken Hornstein <kenh@pobox.com> 14304Date: Thu Mar 21 17:12:13 2013 -0400 14305 14306 Support for sequence file locking in inc(1). 14307 14308Author: Ken Hornstein <kenh@pobox.com> 14309Date: Thu Mar 21 13:47:04 2013 -0400 14310 14311 Don't lock and write the sequence files until after the searching 14312 is complete. 14313 14314Author: David Levine <levinedl@acm.org> 14315Date: Thu Mar 21 09:13:13 2013 -0500 14316 14317 Replaced reference to mktemp(3) with mkstemp(3) in 14318 rmmproc.messageid. 14319 14320Author: David Levine <levinedl@acm.org> 14321Date: Wed Mar 20 21:48:57 2013 -0500 14322 14323 Added support for Content-Disposition header (RFC 2183) to 14324 mhstore(1) and mhn(1) when used with -auto. 14325 14326Author: David Levine <levinedl@acm.org> 14327Date: Wed Mar 20 20:52:10 2013 -0500 14328 14329 Removed hard-coded locking selection from SPECS/nmh.spec. 14330 14331Author: David Levine <levinedl@acm.org> 14332Date: Wed Mar 20 20:25:31 2013 -0500 14333 14334 Fixed typo in rmf man page. 14335 14336Author: David Levine <levinedl@acm.org> 14337Date: Tue Mar 19 07:32:24 2013 -0500 14338 14339 Added -[no]rmmproc switches to rmm and mhfixmsg. 14340 14341Author: Ken Hornstein <kenh@pobox.com> 14342Date: Tue Mar 19 01:02:45 2013 -0400 14343 14344 Make sure the building of config/config.o and sbr/mts.o depend on 14345 the Makefile so changes to the Makefile are properly reflected in the build. 14346 14347Author: David Levine <levinedl@acm.org> 14348Date: Mon Mar 18 20:00:10 2013 -0500 14349 14350 Added -[no]rmmproc switches to rmm and mhfixmsg. 14351 14352Author: Ken Hornstein <kenh@pobox.com> 14353Date: Mon Mar 18 15:29:35 2013 -0400 14354 14355 Add code for (and convert world to) the new world lock order. 14356 14357 Still need to add some code to make inc and pick behave better (not hold locks 14358 for as long). 14359 14360Author: Ken Hornstein <kenh@pobox.com> 14361Date: Mon Mar 18 10:38:06 2013 -0400 14362 14363 Add ICONVLIB to build rule for mhfixmsg 14364 14365Author: David Levine <levinedl@acm.org> 14366Date: Mon Mar 18 08:54:55 2013 -0500 14367 14368 Fixed use of WIFEXITED in mhfixmsg.c. 14369 14370Author: David Levine <levinedl@acm.org> 14371Date: Sun Mar 17 21:55:56 2013 -0500 14372 14373 Fixed procmail example in mhfixmsg man page. 14374 14375Author: David Levine <levinedl@acm.org> 14376Date: Sun Mar 17 15:40:36 2013 -0500 14377 14378 Removed color-tests from AM_INIT_AUTOMAKE because the build 14379 breaks if not supported, and automake 1.13 enables it by 14380 default. 14381 14382Author: David Levine <levinedl@acm.org> 14383Date: Sun Mar 17 10:32:57 2013 -0500 14384 14385 Added mhfixmsg(1). 14386 14387Author: David Levine <levinedl@acm.org> 14388Date: Sun Mar 17 10:29:26 2013 -0500 14389 14390 Fixed typo in fmmtest man page. 14391 14392Author: Ken Hornstein <kenh@pobox.com> 14393Date: Sat Mar 16 00:04:38 2013 -0400 14394 14395 Add information about locking support entries to the man pages. 14396 14397Author: Ken Hornstein <kenh@pobox.com> 14398Date: Fri Mar 15 23:45:54 2013 -0400 14399 14400 Support for locking tests in the test suite. 14401 14402Author: Ken Hornstein <kenh@pobox.com> 14403Date: Fri Mar 15 19:42:43 2013 -0400 14404 14405 Turns out the close function can be called with FILE * == NULL, so handle 14406 that case. 14407 14408Author: Ken Hornstein <kenh@pobox.com> 14409Date: Fri Mar 15 15:57:56 2013 -0400 14410 14411 Mostly complete now, but not yet functional. 14412 14413Author: David Levine <levinedl@acm.org> 14414Date: Fri Mar 15 08:50:23 2013 -0500 14415 14416 Corrected comment describing copy_seqs(). 14417 14418Author: David Levine <levinedl@acm.org> 14419Date: Thu Mar 14 22:02:30 2013 -0500 14420 14421 Changed c_cefile member of struct Content from pointer to 14422 struct cefile. The memory cost will be negligible and it 14423 simplifies the MIME parser code a bit. 14424 14425Author: David Levine <levinedl@acm.org> 14426Date: Thu Mar 14 20:58:31 2013 -0500 14427 14428 Added -[no]retainsequences switches to refile(1). 14429 14430Author: David Levine <levinedl@acm.org> 14431Date: Thu Mar 14 20:37:49 2013 -0500 14432 14433 Changed loop in dumpwidth() to go from [0, 0xffff) because 14434 wchar_t is 2 bytes wide on Cygwin. gcc noticed that the loop 14435 would never terminate because 0xffff would increment to 0. 14436 14437Author: David Levine <levinedl@acm.org> 14438Date: Thu Mar 14 19:08:15 2013 -0500 14439 14440 Changed detection of warning in build_nmh for sign mismatch 14441 in sbr/dtimep.c to work with older gcc. 14442 14443Author: Ken Hornstein <kenh@pobox.com> 14444Date: Thu Mar 14 15:57:07 2013 -0400 14445 14446 More locking updates; still doesn't compile yet. 14447 14448Author: Ken Hornstein <kenh@pobox.com> 14449Date: Wed Mar 13 21:02:48 2013 -0400 14450 14451 Start of the changes for the new lock code. Does not compile yet. 14452 14453Author: Ken Hornstein <kenh@pobox.com> 14454Date: Tue Mar 12 14:22:49 2013 -0400 14455 14456 Add support for RFC-2017, message/external-body content which contains URLs. 14457 14458Author: Ken Hornstein <kenh@pobox.com> 14459Date: Tue Mar 12 12:57:41 2013 -0400 14460 14461 Change sample disposition from "application" to "attachment" 14462 14463Author: David Levine <levinedl@acm.org> 14464Date: Mon Mar 11 18:57:01 2013 -0500 14465 14466 Added check that writesomecmd() isn't at the end of argp before 14467 dereferencing ++argp. I'm surprised that no one, including me, 14468 tripped over this before: whatnow(1) would seg fault when 14469 handling, e.g., detach -n 4. But until I upgraded to Fedora 18, 14470 I never noticed it. (valgrind did.) 14471 14472Author: David Levine <levinedl@acm.org> 14473Date: Mon Mar 11 18:42:16 2013 -0500 14474 14475 Ignore the sign mismatch warning when sbr/dtimep.c is built with 14476 flex 2.5.36 or 2.5.37. 14477 14478Author: David Levine <levinedl@acm.org> 14479Date: Fri Mar 8 06:40:07 2013 -0600 14480 14481 Fixed spelling of "preserve" in refile man page. 14482 14483Author: David Levine <levinedl@acm.org> 14484Date: Thu Mar 7 20:11:22 2013 -0600 14485 14486 In the locking discussion of mh-folders(5), discourage direct 14487 access to the nmh state files. 14488 14489Author: David Levine <levinedl@acm.org> 14490Date: Tue Mar 5 20:17:08 2013 -0600 14491 14492 Added lockmethod pseudocomponent to mhparam so that users 14493 can easily find out what locking method was configured in. 14494 14495Author: Ken Hornstein <kenh@pobox.com> 14496Date: Tue Mar 5 14:30:51 2013 -0500 14497 14498 Update with more information. 14499 14500Author: David Levine <levinedl@acm.org> 14501Date: Sun Mar 3 21:45:09 2013 -0600 14502 14503 Added a bit more on sequences to mh-folders.man. 14504 14505Author: David Levine <levinedl@acm.org> 14506Date: Sun Mar 3 09:53:10 2013 -0600 14507 14508 Added beginnings of storage format spec to new mh-folders.man. 14509 14510Author: David Levine <levinedl@acm.org> 14511Date: Sun Mar 3 09:49:05 2013 -0600 14512 14513 Fixed typo in rmmproc.messageid. 14514 14515Author: David Levine <levinedl@acm.org> 14516Date: Wed Feb 27 19:32:38 2013 -0600 14517 14518 Reworked internals of MIME parser's reverse_parts() and made it 14519 public. 14520 14521Author: David Levine <levinedl@acm.org> 14522Date: Wed Feb 27 19:31:31 2013 -0600 14523 14524 Added tolower(), toupper(), and toascii() to 14525 gen-ctype-checked.c. 14526 14527Author: David Levine <levinedl@acm.org> 14528Date: Tue Feb 26 19:23:58 2013 -0600 14529 14530 Added a handful of functions to the parser to allow access to 14531 init functions and string representations of enum valus for 14532 content types and encodings. 14533 14534Author: David Levine <levinedl@acm.org> 14535Date: Tue Feb 26 19:08:38 2013 -0600 14536 14537 Added nmh_strcasestr() because POSIX doesn't have strcasestr(). 14538 14539Author: Ken Hornstein <kenh@pobox.com> 14540Date: Tue Feb 26 13:19:06 2013 -0500 14541 14542 Support RFC 2231 language tags in RFC 2047 header strings. 14543 14544Author: David Levine <levinedl@acm.org> 14545Date: Mon Feb 25 23:02:05 2013 -0600 14546 14547 Added cpytrim() function. Unlike trimcpy(), it does not modify 14548 its argument. 14549 14550Author: David Levine <levinedl@acm.org> 14551Date: Mon Feb 25 22:46:00 2013 -0600 14552 14553 Added const qualifier to arguments of concat() and copy(). 14554 14555Author: David Levine <levinedl@acm.org> 14556Date: Sun Feb 24 21:55:28 2013 -0600 14557 14558 Added find_str() and rfind_str() to sbr/utils.c 14559 14560Author: David Levine <levinedl@acm.org> 14561Date: Sun Feb 24 21:38:33 2013 -0600 14562 14563 Added const qualifier to char * arguments of add(), addlist(), 14564 and folder_exists() in sbr/utils.{h,c}. 14565 14566Author: Ken Hornstein <kenh@pobox.com> 14567Date: Fri Feb 22 00:52:50 2013 -0500 14568 14569 Add support for LS_UNQUOTE instruction. 14570 14571Author: Ken Hornstein <kenh@pobox.com> 14572Date: Fri Feb 22 00:47:47 2013 -0500 14573 14574 Fix the code to print out an unknown instruction. Wow, this never worked 14575 back from the original fmtdump. 14576 14577Author: Ken Hornstein <kenh@pobox.com> 14578Date: Thu Feb 21 23:56:02 2013 -0500 14579 14580 Whoops, forgot a \ when adding fmttest.man to man_SRCS. 14581 14582Author: Ken Hornstein <kenh@pobox.com> 14583Date: Thu Feb 21 23:03:31 2013 -0500 14584 14585 Quote the arguments to the .I macro so the manpage test doesn't complain. 14586 14587Author: Ken Hornstein <kenh@pobox.com> 14588Date: Thu Feb 21 22:55:41 2013 -0500 14589 14590 Document new fmttest program. 14591 14592Author: Ken Hornstein <kenh@pobox.com> 14593Date: Thu Feb 21 22:55:23 2013 -0500 14594 14595 Fix a few issues resulting from m_getfld() API changes. 14596 14597Merge: b5f3b74 7344831 14598Author: Ken Hornstein <kenh@pobox.com> 14599Date: Thu Feb 21 22:40:48 2013 -0500 14600 14601 Merge branch 'format-test' 14602 14603Author: Ken Hornstein <kenh@pobox.com> 14604Date: Thu Feb 21 22:38:18 2013 -0500 14605 14606 Add a lot more text to the man page; it should be in reasonable shape now. 14607 14608Author: Ken Hornstein <kenh@pobox.com> 14609Date: Thu Feb 21 22:37:47 2013 -0500 14610 14611 Update instruction output to be a bit more cleaner 14612 14613Author: David Levine <levinedl@acm.org> 14614Date: Thu Feb 21 21:01:55 2013 -0600 14615 14616 Fixed write8Bit() to use fread()/fwrite() instead of 14617 fgets()/fputs(). 14618 14619Author: Ken Hornstein <kenh@pobox.com> 14620Date: Thu Feb 21 15:53:06 2013 -0500 14621 14622 Flesh this out so finally it's halfway useful. 14623 14624Author: Ken Hornstein <kenh@pobox.com> 14625Date: Thu Feb 21 15:52:36 2013 -0500 14626 14627 Rearrange options a bit and support the -nodump flag. Also clean up how 14628 -raw mode works. 14629 14630Author: Ken Hornstein <kenh@pobox.com> 14631Date: Thu Feb 21 15:52:09 2013 -0500 14632 14633 Bring this up to best practices. 14634 14635Author: Ken Hornstein <kenh@pobox.com> 14636Date: Wed Feb 20 22:37:50 2013 -0500 14637 14638 Minor updates for fmttest man page. 14639 14640Author: Ken Hornstein <kenh@pobox.com> 14641Date: Wed Feb 20 15:53:54 2013 -0500 14642 14643 Basic format tracing support; seems to work! 14644 14645Author: Ken Hornstein <kenh@pobox.com> 14646Date: Wed Feb 20 15:19:11 2013 -0500 14647 14648 Support for the address duplication done by repl, and also clean up 14649 some stuff. 14650 14651Author: Ken Hornstein <kenh@pobox.com> 14652Date: Wed Feb 20 12:01:05 2013 -0500 14653 14654 Support callbacks into the format engine. This is so we can add in proper 14655 hooks for %(formataddr), %(concataddr), and (eventually) tracing. 14656 14657Author: Ken Hornstein <kenh@pobox.com> 14658Date: Tue Feb 19 21:57:32 2013 -0500 14659 14660 Make generating the ChangeLog work if you're building a distribution from 14661 an object directory. 14662 14663Author: Ken Hornstein <kenh@pobox.com> 14664Date: Tue Feb 19 21:54:14 2013 -0500 14665 14666 The beginnings of a fmttest man page. 14667 14668Author: David Levine <levinedl@acm.org> 14669Date: Tue Feb 19 19:45:25 2013 -0600 14670 14671 In m_getfld.c, cast the returns of valid characters to 14672 unsigned char. This differentiates them from EOF and matches 14673 the behavior prior to the recent m_getfld() rework. But that 14674 behavior is very broken on 8-bit input. 14675 14676Author: Ken Hornstein <kenh@pobox.com> 14677Date: Tue Feb 19 13:51:47 2013 -0500 14678 14679 Apply David Levine's fix from whomfile() to sendfile() as well. 14680 14681Author: David Levine <levinedl@acm.org> 14682Date: Mon Feb 18 21:32:24 2013 -0600 14683 14684 Removed addition of whomproc to the vec array in whomfile() 14685 now that argsplit() does it. 14686 14687Author: David Levine <levinedl@acm.org> 14688Date: Mon Feb 18 21:24:29 2013 -0600 14689 14690 Added locking discussion to rcvstore(1) man page. 14691 14692Author: Ken Hornstein <kenh@pobox.com> 14693Date: Mon Feb 18 20:51:46 2013 -0500 14694 14695 fmttest is actually starting to get useful now. Some changes were required 14696 to the format code to make this code cleaner. 14697 14698Author: David Levine <levinedl@acm.org> 14699Date: Sun Feb 17 22:04:51 2013 -0600 14700 14701 "RFC-2045 to RFC-2049" instead of "thru". 14702 14703Author: David Levine <levinedl@acm.org> 14704Date: Sat Feb 16 08:27:29 2013 -0600 14705 14706 When output_content() outputs a non-MIME message with no body, 14707 suppress the newline after the headers. 14708 14709Author: David Levine <levinedl@acm.org> 14710Date: Sat Feb 16 08:23:10 2013 -0600 14711 14712 Added mention of rcvstore(1) to inc(1) man page. 14713 14714Author: David Levine <levinedl@acm.org> 14715Date: Sat Feb 16 08:21:10 2013 -0600 14716 14717 Plugged small memory leak in etcpath(). 14718 14719Author: David Levine <levinedl@acm.org> 14720Date: Sat Feb 16 08:19:45 2013 -0600 14721 14722 In InitMultiPart(), always set bogus_mp_content if boundaries 14723 don't match. 14724 14725Author: Ken Hornstein <kenh@pobox.com> 14726Date: Sat Feb 16 00:37:36 2013 -0500 14727 14728 Remove dead UUCP address parsing code. Sadly, this is not the complete 14729 removal of UUCP support, but it's a good start. 14730 14731Author: Ken Hornstein <kenh@pobox.com> 14732Date: Sat Feb 16 00:31:16 2013 -0500 14733 14734 Slightly more useful, but still more work to do. 14735 14736Author: Ken Hornstein <kenh@pobox.com> 14737Date: Fri Feb 15 15:58:21 2013 -0500 14738 14739 Add more functionality to fmttest; it's starting to get semi-useful. 14740 14741Author: David Levine <levinedl@acm.org> 14742Date: Thu Feb 14 21:53:50 2013 -0600 14743 14744 Added a couple of global variables to mhparse.c to allow 14745 suppression of the warning about bogus multipart content, 14746 and detection of it. 14747 14748Author: Ken Hornstein <kenh@pobox.com> 14749Date: Thu Feb 14 13:50:28 2013 -0500 14750 14751 More work on fmttest, but still plenty more to go. 14752 14753Author: Ken Hornstein <kenh@pobox.com> 14754Date: Thu Feb 14 13:49:54 2013 -0500 14755 14756 Correct man page information for %(width) format instruction. 14757 14758Author: David Levine <levinedl@acm.org> 14759Date: Wed Feb 13 21:11:59 2013 -0600 14760 14761 Added support for multiple message/file arguments to 14762 rmmproc.message.id. Added mention of it to rmm man page. 14763 14764Author: Ken Hornstein <kenh@pobox.com> 14765Date: Wed Feb 13 15:53:13 2013 -0500 14766 14767 Clean up argument handling to fmttest, as a precursor to actually getting 14768 it done. 14769 14770Author: Ken Hornstein <kenh@pobox.com> 14771Date: Wed Feb 13 14:42:50 2013 -0500 14772 14773 Remove support for -mail, -saml, -send, and -soml switches in send 14774 and whatnow. The code in post implementing these options was removed 14775 as part of commit 537e02c38f4bb. 14776 14777Author: Ken Hornstein <kenh@pobox.com> 14778Date: Wed Feb 13 14:24:11 2013 -0500 14779 14780 Convert fmttest over to the new argument processing world order. 14781 14782Author: Ken Hornstein <kenh@pobox.com> 14783Date: Wed Feb 13 10:47:26 2013 -0500 14784 14785 Document argsplit changes in mh-profile man page. 14786 14787Author: David Levine <levinedl@acm.org> 14788Date: Tue Feb 12 22:03:54 2013 -0600 14789 14790 Fixed typo in mhlist man page. Also removed sendfiles(1) 14791 from its SEE ALSO list. 14792 14793Author: Ken Hornstein <kenh@pobox.com> 14794Date: Tue Feb 12 20:05:17 2013 -0500 14795 14796 Remove installproc from the test since we don't have it anymore. 14797 14798Author: Ken Hornstein <kenh@pobox.com> 14799Date: Tue Feb 12 15:39:18 2013 -0500 14800 14801 Remove "installproc" since it is no longer used. 14802 14803Author: Ken Hornstein <kenh@pobox.com> 14804Date: Tue Feb 12 15:37:00 2013 -0500 14805 14806 Final conversion to new argsplit() code. 14807 14808Author: Ken Hornstein <kenh@pobox.com> 14809Date: Mon Feb 11 15:57:31 2013 -0500 14810 14811 Add a new test for the MIME functionality in burst. 14812 14813Author: David Levine <levinedl@acm.org> 14814Date: Sun Feb 10 20:55:54 2013 -0600 14815 14816 Multipart parts might have content before the first subpart 14817 and/or after the last subpart that hasn't been stored anywhere 14818 else, so do that at the end of InitMultiPart(), and output it 14819 in output_content(). 14820 14821Author: David Levine <levinedl@acm.org> 14822Date: Sun Feb 10 19:05:37 2013 -0600 14823 14824 Added etc/rmmproc.messageid, which shows how to try to move 14825 a message or file to a file that's named based on Message-ID. 14826 14827Author: Ken Hornstein <kenh@pobox.com> 14828Date: Fri Feb 8 15:46:31 2013 -0500 14829 14830 Make burst(1) be able to burst MIME-formatted messages with message/rfc822 14831 parts in them. 14832 14833Author: Ken Hornstein <kenh@pobox.com> 14834Date: Fri Feb 8 13:02:00 2013 -0500 14835 14836 Create a central prototype for free_content(). 14837 14838Author: Ken Hornstein <kenh@pobox.com> 14839Date: Thu Feb 7 14:34:12 2013 -0500 14840 14841 More conversion to argsplit(). 14842 14843Author: Ken Hornstein <kenh@pobox.com> 14844Date: Thu Feb 7 11:31:45 2013 -0500 14845 14846 Move etc/gen-ctype-checked into an Automake primary so dependency information 14847 can properly be recorded for it. 14848 14849Author: David Levine <levinedl@acm.org> 14850Date: Wed Feb 6 20:39:06 2013 -0600 14851 14852 When debugging is enabled, replace the ctype functions with 14853 macros that index into arrays. This allows the compiler to 14854 catch use of char, instead of unsigned char, arguments to 14855 those functions. gcc uses -Wchar-subscripts, which is enabled 14856 with the -Wall that we use by default. Thanks to Tom Lane for 14857 suggesting this approach. 14858 14859 This feature can be enabled by undef'ing NDEBUG in config.h. 14860 configure --enable-debug does that. We can now use the same 14861 mechanism to enable and disable assert(3), too. 14862 14863Author: David Levine <levinedl@acm.org> 14864Date: Wed Feb 6 20:31:18 2013 -0600 14865 14866 Added global variable skip_mp_cte_check to turn off that check 14867 for incorrect encoding of multipart messages in InitMultiPart(). 14868 14869Author: David Levine <levinedl@acm.org> 14870Date: Wed Feb 6 20:28:29 2013 -0600 14871 14872 output_content() assumed that ci->ci_values[0] was the boundary, 14873 but that's not always the case. Added search for the boundary 14874 in ci->ci_attrs[]. 14875 14876Author: Ken Hornstein <kenh@pobox.com> 14877Date: Wed Feb 6 15:51:04 2013 -0500 14878 14879 More work to convert programs over to the use of argsplit(). 14880 14881Author: Ken Hornstein <kenh@pobox.com> 14882Date: Wed Feb 6 11:12:56 2013 -0500 14883 14884 Make sure these stdarg lists are properly terminated with pointer-context 14885 NULLs. 14886 14887Author: Ken Hornstein <kenh@pobox.com> 14888Date: Tue Feb 5 21:06:35 2013 -0500 14889 14890 Remove warning suppression we no longer need. Hooray! 14891 14892Author: Ken Hornstein <kenh@pobox.com> 14893Date: Tue Feb 5 21:00:40 2013 -0500 14894 14895 FINALLY clean up our signed/unsigned character warning mess. In short, we 14896 have switched to using "char" almost everywhere, and casting char to 14897 unsigned char when using the ctype macros/functions. 14898 14899Author: David Levine <levinedl@acm.org> 14900Date: Tue Feb 5 16:20:53 2013 -0600 14901 14902 Changed m_getfld() to use char instead of unsigned char. 14903 14904Author: David Levine <levinedl@acm.org> 14905Date: Tue Feb 5 15:25:23 2013 -0600 14906 14907 Changed m_getfld() to use char instead of unsigned char. 14908 14909Author: Ken Hornstein <kenh@pobox.com> 14910Date: Tue Feb 5 13:01:09 2013 -0500 14911 14912 Start of the signed/unsigned char cleanup. 14913 14914Author: David Levine <levinedl@acm.org> 14915Date: Sun Feb 3 22:51:00 2013 -0600 14916 14917 Tweaked logic in brkstring.c and showfile.c to get rid of the 14918 remaining "statement not reached" warnings from Solaris cc. 14919 14920Author: Ken Hornstein <kenh@pobox.com> 14921Date: Sat Feb 2 14:28:39 2013 -0500 14922 14923 Make sure we don't link getcwidth with the nmh libraries. 14924 14925Author: David Levine <levinedl@acm.org> 14926Date: Sat Feb 2 12:56:53 2013 -0600 14927 14928 Added support for "-" to indicate stdout to output_message(). 14929 14930Author: David Levine <levinedl@acm.org> 14931Date: Sat Feb 2 12:54:55 2013 -0600 14932 14933 Removed unlink of "core" from signal handler of mhlist, mhn, 14934 mhshow, and mhstore. Those programs shouldn't remove a file 14935 that has nothing to do with them. 14936 14937Author: David Levine <levinedl@acm.org> 14938Date: Sat Feb 2 12:40:59 2013 -0600 14939 14940 Removed myuid and mygid variables, they're no longer used and 14941 the Solaris C compiler complained about their initializers. 14942 14943Author: Ken Hornstein <kenh@pobox.com> 14944Date: Sat Feb 2 13:30:24 2013 -0500 14945 14946 Cast wchar_t to long unsigned int to deal with differing types of 14947 wchar_t across systems. 14948 14949Author: David Levine <levinedl@acm.org> 14950Date: Sat Feb 2 11:55:23 2013 -0600 14951 14952 Suppress warning from test-manpages that groff can't break a line if 14953 the user's prefix is too long. 14954 14955Author: David Levine <levinedl@acm.org> 14956Date: Sat Feb 2 10:54:32 2013 -0600 14957 14958 The Solaris compiler was right about unreachable statements. 14959 Fixed all of them in uip/. 14960 14961Author: David Levine <levinedl@acm.org> 14962Date: Sat Feb 2 10:21:14 2013 -0600 14963 14964 Added l modifier to X printf conversions of wchar_t's. 14965 14966Author: David Levine <levinedl@acm.org> 14967Date: Sat Feb 2 10:18:24 2013 -0600 14968 14969 Removed unused vec[0] relic from before argsplit conversion. 14970 14971Author: David Levine <levinedl@acm.org> 14972Date: Sat Feb 2 10:12:57 2013 -0600 14973 14974 Added trailing newline to sed input in mhmail when processing 14975 -headerfield argument, to squelch complain from Solaris sed. 14976 14977Author: David Levine <levinedl@acm.org> 14978Date: Sat Feb 2 09:59:28 2013 -0600 14979 14980 Set MHTMPDIR to try to keep all test-related files together. 14981 14982Author: David Levine <levinedl@acm.org> 14983Date: Sat Feb 2 09:58:20 2013 -0600 14984 14985 More test-mhmail probing. 14986 14987Author: David Levine <levinedl@acm.org> 14988Date: Sat Feb 2 09:23:49 2013 -0600 14989 14990 Try this test-mhmail probe. 14991 14992Author: David Levine <levinedl@acm.org> 14993Date: Sat Feb 2 08:43:32 2013 -0600 14994 14995 More test-mhmail probing. 14996 14997Author: David Levine <levinedl@acm.org> 14998Date: Sat Feb 2 08:26:43 2013 -0600 14999 15000 Modified test-mhmail probe. 15001 15002Author: David Levine <levinedl@acm.org> 15003Date: Sat Feb 2 08:15:15 2013 -0600 15004 15005 Added temporary probe to test-mhmail. 15006 15007Author: Ken Hornstein <kenh@pobox.com> 15008Date: Sat Feb 2 01:10:06 2013 -0500 15009 15010 Convert post over to use new argsplit code. 15011 15012Author: Ken Hornstein <kenh@pobox.com> 15013Date: Sat Feb 2 00:48:54 2013 -0500 15014 15015 Handle the case where (on Solaris) the width of U+2019 is 2 (which seems 15016 TOTALLY bizarre to me, but there you have it). 15017 15018Author: Ken Hornstein <kenh@pobox.com> 15019Date: Sat Feb 2 00:33:51 2013 -0500 15020 15021 Rework multibyte test so it will calculate the width of all of the 15022 Unicode characters we are using. 15023 15024Author: David Levine <levinedl@acm.org> 15025Date: Fri Feb 1 23:24:27 2013 -0600 15026 15027 In setup_test(), set PATH after install. 15028 15029Author: David Levine <levinedl@acm.org> 15030Date: Fri Feb 1 23:12:09 2013 -0600 15031 15032 Added set -x to test-ali. 15033 15034Author: David Levine <levinedl@acm.org> 15035Date: Fri Feb 1 22:52:00 2013 -0600 15036 15037 Maybe the mkdir in setup_test() needs a -p? 15038 15039Author: David Levine <levinedl@acm.org> 15040Date: Fri Feb 1 22:39:49 2013 -0600 15041 15042 More test-ali diagnostics for Solaris. 15043 15044Author: David Levine <levinedl@acm.org> 15045Date: Fri Feb 1 22:25:51 2013 -0600 15046 15047 Use test -t 1 instead of test -w in test-pick. 15048 15049Author: David Levine <levinedl@acm.org> 15050Date: Fri Feb 1 22:24:48 2013 -0600 15051 15052 More setup_test() and test-ali attempts on Solaris. 15053 15054Author: David Levine <levinedl@acm.org> 15055Date: Fri Feb 1 18:46:02 2013 -0600 15056 15057 Removed the ls of folder from setup_test(). 15058 15059Author: David Levine <levinedl@acm.org> 15060Date: Fri Feb 1 18:35:13 2013 -0600 15061 15062 Try full path to folder in setup_test(). 15063 15064Author: David Levine <levinedl@acm.org> 15065Date: Fri Feb 1 18:16:26 2013 -0600 15066 15067 Maybe the PATH needs to be exported again in setup_test()? 15068 15069Author: David Levine <levinedl@acm.org> 15070Date: Fri Feb 1 17:37:02 2013 -0600 15071 15072 So folder does exist the first time through setup_test(). 15073 Let's see its stdout. 15074 15075Author: David Levine <levinedl@acm.org> 15076Date: Fri Feb 1 17:20:37 2013 -0600 15077 15078 Suppressed display of info message when test-eom-align isn't 15079 run with stdout to a terminal. 15080 15081Author: David Levine <levinedl@acm.org> 15082Date: Fri Feb 1 17:19:40 2013 -0600 15083 15084 Temporarily added ls of folder to setup_test(). 15085 15086Author: David Levine <levinedl@acm.org> 15087Date: Fri Feb 1 15:08:32 2013 -0600 15088 15089 In setup_test(), create the Mail directory if it doesn't 15090 already exist. 15091 15092Author: Ken Hornstein <kenh@pobox.com> 15093Date: Fri Feb 1 15:41:00 2013 -0500 15094 15095 Ignore the return status of diff, so we don't exit if diff fails when using 15096 set -e. 15097 15098Author: Ken Hornstein <kenh@pobox.com> 15099Date: Fri Feb 1 15:18:47 2013 -0500 15100 15101 Add some diagnostics to determine what is going wrong. 15102 15103Author: David Levine <levinedl@acm.org> 15104Date: Fri Feb 1 14:08:45 2013 -0600 15105 15106 It looks like the first test fails on Solaris because it 15107 can't find folder. So, added a test/sleep before its first 15108 use, in setup_test(). 15109 15110Author: Ken Hornstein <kenh@pobox.com> 15111Date: Fri Feb 1 15:03:16 2013 -0500 15112 15113 If the multibyte width test fails, dump the values of wcwidth() for the 15114 complete BMP. 15115 15116Author: David Levine <levinedl@acm.org> 15117Date: Fri Feb 1 13:38:36 2013 -0600 15118 15119 Added diagnostic to setup_test() to try to figure out 15120 why the first test fails on the Solaris buildbot. 15121 15122Author: David Levine <levinedl@acm.org> 15123Date: Fri Feb 1 13:36:23 2013 -0600 15124 15125 Restored test-ali to its prior condition. It failed on the 15126 Solaris buildbot because it was the first test. 15127 15128Author: Ken Hornstein <kenh@pobox.com> 15129Date: Fri Feb 1 14:06:49 2013 -0500 15130 15131 Make sure we created the test file even if we don't have iconv support; 15132 it's needed for two tests. 15133 15134Author: Ken Hornstein <kenh@pobox.com> 15135Date: Fri Feb 1 13:42:51 2013 -0500 15136 15137 Move ICONV_ENABLED so it always gets initialized even if the header check 15138 for iconv.h fails. 15139 15140Author: Ken Hornstein <kenh@pobox.com> 15141Date: Fri Feb 1 13:25:17 2013 -0500 15142 15143 If we don't have iconv, skip the multibyte test that requires character 15144 set conversion. 15145 15146Author: Ken Hornstein <kenh@pobox.com> 15147Date: Fri Feb 1 12:30:45 2013 -0500 15148 15149 Finally switch over from vfork() to fork() completely. 15150 15151Author: Ken Hornstein <kenh@pobox.com> 15152Date: Fri Feb 1 12:11:59 2013 -0500 15153 15154 More code converted to use argsplit(). 15155 15156Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15157Date: Fri Feb 1 07:25:44 2013 -0800 15158 15159 Fix configure tests for -Wfoo option support. 15160 15161 Drooped support for -Wunused-macros and -Wno-unused-macros. The 15162 warnings serve no useful purpose, and causing subsequent configure 15163 checks for -Wfoo flags to get messed up. 15164 15165 Split each test of -Wfoo into a separate check. Include -Werror in 15166 the individual flag tests to ensure the test compile fails if the 15167 other flag isn't supported. Without this, clang issues a diagnostic 15168 message about the flag being ignored, but otherwise carries on, fooling 15169 configure into thinking the flag is in fact supported. 15170 15171Merge: ae9b723 b78be76 15172Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15173Date: Fri Feb 1 04:44:29 2013 -0800 15174 15175 Merge branch 'master' into savannah 15176 15177Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15178Date: Fri Feb 1 00:20:44 2013 -0800 15179 15180 Update manpages to use .TP for tagged paragraphs (part I). 15181 15182 This replaces .fc/.nf and friends with the man(7) .TP macro. 15183 15184 This commit covers about half of the man pages. The rest will 15185 follow in a couple of days. 15186 15187Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15188Date: Fri Feb 1 00:20:44 2013 -0800 15189 15190 Update manpages to use .TP for tagged paragraphs (part I). 15191 15192 This replaces .fc/.nf and friends with the man(7) .TP macro. 15193 15194 This commit covers about half of the man pages. The rest will 15195 follow in a couple of days. 15196 15197Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15198Date: Thu Jan 31 21:28:51 2013 -0800 15199 15200 Update the manpage template documentation. 15201 15202 Update the section ordering to follow the UNIX order. This 15203 pulls nmh-specific sections into the body of the manpage, and 15204 pushes FILES, SEE ALSO, and BUGS to the end. 15205 15206 Clarifies a few other minor points. 15207 15208Author: David Levine <levinedl@acm.org> 15209Date: Thu Jan 31 22:32:26 2013 -0600 15210 15211 More probing of test-ali on Solaris: exit before the 15212 setup_test call, which has the folder invocation. 15213 15214Author: David Levine <levinedl@acm.org> 15215Date: Thu Jan 31 22:30:36 2013 -0600 15216 15217 OK, test-pick should be good on Solaris now. 15218 15219Author: David Levine <levinedl@acm.org> 15220Date: Thu Jan 31 21:27:46 2013 -0600 15221 15222 Added exit to test-ali, temporarily, to isolate failure on 15223 Solaris. 15224 15225Author: David Levine <levinedl@acm.org> 15226Date: Thu Jan 31 21:24:53 2013 -0600 15227 15228 More homing in on the test-pick warning. Also, removed 15229 warning to user that the tty test is being skipped, it's 15230 not that important. 15231 15232Author: David Levine <levinedl@acm.org> 15233Date: Thu Jan 31 20:10:59 2013 -0600 15234 15235 Removed an used sed invocation from test-mhmail. I don't 15236 know if it was causing the warnings on Solaris, we'll see. 15237 15238Author: Ken Hornstein <kenh@pobox.com> 15239Date: Thu Jan 31 21:04:43 2013 -0500 15240 15241 Fix some warnings for Solaris. 15242 15243Author: David Levine <levinedl@acm.org> 15244Date: Thu Jan 31 20:04:50 2013 -0600 15245 15246 it looks like the write to /dev/tty is causing the warning from 15247 test-pick on Solaris, here's an attempt to squelch that. 15248 15249Author: David Levine <levinedl@acm.org> 15250Date: Thu Jan 31 19:44:47 2013 -0600 15251 15252 Removed sizes from mhlist output. Apparently tar files are 15253 so much smaller on Solaris that they cause the check of its 15254 output to break. The test also compares the contents of 15255 the tar file, so it's still adequate. 15256 15257Author: David Levine <levinedl@acm.org> 15258Date: Thu Jan 31 19:43:09 2013 -0600 15259 15260 Redirected stderr to /dev/null in the test for presence of 15261 /dev/tty. Solaris warns that it can't create the device. 15262 This may not fix it, but it should help isolate which part of 15263 the test is causing the warning. 15264 15265Author: Ken Hornstein <kenh@pobox.com> 15266Date: Thu Jan 31 20:01:27 2013 -0500 15267 15268 Set the locale for one of the "pick" invocations to UTF-8, so we can decode 15269 the UTF-8 header correctly in the test. 15270 15271Author: Lyndon Nerenberg <lyndon@minisun.(none)> 15272Date: Thu Jan 31 03:56:55 2013 -0800 15273 15274 Use cmp(1) to compare acheieved and expected test results. 15275 15276 'diff -c' on Solaris 11 generate a spurious 'No differences encountered' 15277 message (on stdout, no less!) when the compared files are identical. This 15278 changes the test logic to compare with 'cmp -s', and then perform a 15279 'diff -c' if the results don't match expectations. 15280 15281Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15282Date: Thu Jan 31 01:44:03 2013 -0800 15283 15284 Wrap 'pick -subject foobar 13' test with set +e/-e. 15285 15286 The command was failing silently on FreeBSD, leading to 15287 premature script termination. 15288 15289Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15290Date: Wed Jan 30 23:55:26 2013 -0800 15291 15292 Change the MD5FMT macro in configure.ac to not emit filename. 15293 15294Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15295Date: Wed Jan 30 23:07:17 2013 -0800 15296 15297 How hard can it be to write a portable shell function that does nothing? 15298 15299 Pretty hard, apparently :-P 15300 15301Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15302Date: Wed Jan 30 21:45:16 2013 -0800 15303 15304 Hush progress indicator during tests when stdout is not a tty. 15305 15306 This eliminates 100 lines of logfile spam during buildbot runs. 15307 15308Merge: e716be9 f1722de 15309Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15310Date: Wed Jan 30 19:58:16 2013 -0800 15311 15312 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh into nmh 15313 15314Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15315Date: Wed Jan 30 19:57:22 2013 -0800 15316 15317 IPPROTO_TCP requires <netinet/in.h> 15318 15319 At least on BSD it does. 15320 15321Author: Ken Hornstein <kenh@pobox.com> 15322Date: Wed Jan 30 15:47:32 2013 -0500 15323 15324 More changes to use argsplit() for helper programs. 15325 15326Author: Ken Hornstein <kenh@pobox.com> 15327Date: Tue Jan 29 15:58:34 2013 -0500 15328 15329 Switch the editor invocation over to use argsplit(). 15330 15331Author: Ken Hornstein <kenh@pobox.com> 15332Date: Tue Jan 29 15:30:36 2013 -0500 15333 15334 The start of the use of argsplit() to process command strings. 15335 15336Author: David Levine <levinedl@acm.org> 15337Date: Mon Jan 28 21:38:39 2013 -0600 15338 15339 Changed m_getfld() buffer size to 4096 from 8192, to benefit 15340 scan(1). We could consider using a larger buffer size when 15341 readying message bodies. But I expect any benefit would be 15342 overshadowed by the way parse_mime() currently reads MIME 15343 messages: it reopens the file for each part. 15344 15345Author: David Levine <levinedl@acm.org> 15346Date: Mon Jan 28 21:20:22 2013 -0600 15347 15348 Added m_getfld_track_filepos() for callers to indicate that they 15349 may interleave fseek*/ftell* calls with m_getfld() calls. This 15350 eliminates the need for m_getfld() to call fseek() when called 15351 by inc(1) and scan(1). 15352 15353Author: David Levine <levinedl@acm.org> 15354Date: Mon Jan 28 19:12:17 2013 -0600 15355 15356 Added scan_reset_m_getfld_state(), for msh only. It needs to 15357 call that so that it can support more than one operation on its 15358 mailbox. 15359 15360Merge: a5a4757 4538251 15361Author: David Levine <levinedl@acm.org> 15362Date: Sun Jan 27 10:37:54 2013 -0600 15363 15364 Merge branch 'm_getfld' 15365 15366Author: David Levine <levinedl@acm.org> 15367Date: Sun Jan 27 10:11:10 2013 -0600 15368 15369 In the sortm warning message, say "file modification time" 15370 instead of "file mtime", per Paul F.'s suggestion. 15371 15372Author: David Levine <levinedl@acm.org> 15373Date: Sun Jan 27 09:34:58 2013 -0600 15374 15375 Changed sortm warning message from an amonish() to and advise(), 15376 and included the remedy of using the file mtime, per suggestions 15377 of Norm and Ralph. 15378 15379Author: David Levine <levinedl@acm.org> 15380Date: Sun Jan 27 08:37:31 2013 -0600 15381 15382 Fixed a couple of calls to m_getfld(): they were in while loops 15383 and the loop bodies were missing brackets. 15384 15385Author: David Levine <levinedl@acm.org> 15386Date: Sat Jan 26 09:42:25 2013 -0600 15387 15388 Deprecated msh(1). 15389 15390Author: David Levine <levinedl@acm.org> 15391Date: Sat Jan 26 09:00:48 2013 -0600 15392 15393 In build_nmh's output from the test suite: retain 15394 colorization and list any test failures. 15395 15396Author: David Levine <levinedl@acm.org> 15397Date: Sat Jan 26 08:52:50 2013 -0600 15398 15399 Enabled colorized test output (PASS/FAIL/summary) by default 15400 via "color-tests" automake option. To disable at runtime, 15401 either set your AM_COLOR_TESTS environment variable to "no", 15402 or provide that on the make check command line. 15403 15404Author: David Levine <levinedl@acm.org> 15405Date: Fri Jan 25 22:21:53 2013 -0600 15406 15407 Reworked the new documentation in m_getfld.c. 15408 15409Author: Ken Hornstein <kenh@pobox.com> 15410Date: Fri Jan 25 22:22:46 2013 -0500 15411 15412 Handle the case in the test suite where wcwidth() can return different 15413 values for combining Unicode codepoints on different operating systems. 15414 15415Author: Ken Hornstein <kenh@pobox.com> 15416Date: Thu Jan 24 16:05:36 2013 -0500 15417 15418 Fix the format engine so it properly keeps track of multibyte characters 15419 and column positions when processing components and other functions. 15420 15421 When working on this code I realized we have nothing that checks to make 15422 sure right justification of format function output works properly, so a 15423 test for right justification is also included. 15424 15425Author: David Levine <levinedl@acm.org> 15426Date: Wed Jan 23 20:24:21 2013 -0600 15427 15428 Added functions for inc, msh, rcvtty, and scan to access 15429 scansbr's gstate instance so it can be hidden, except for 15430 msh's uses of m_getfld(). 15431 15432Author: Ken Hornstein <kenh@pobox.com> 15433Date: Mon Jan 21 10:32:37 2013 -0500 15434 15435 Fix a bug leading to message corruption with inc when incorporation more 15436 than one message at a time. 15437 15438 When I reworked the scan() code to remove the use of stdio internals, 15439 two code paths were created. The inc code path consumed another buffer 15440 from the nxtbuf list for processing the message body. At the end of 15441 scan() there was code to push back all of the consumed buffers to the 15442 nxtbuf list. The extra buffer consumed in the inc code path wasn't 15443 being pushed back, and as a result the nxtbuf list would end up with 15444 duplicate pointers in it. This would result in two components sharing 15445 the same text buffer, which caused the message corruption. 15446 15447 When I looked at this closer, I realized that there was no reason to 15448 push those buffers back to the list; nxtbuf gets reset to compbuffers 15449 at the start of every call to scan(), and nxtbuf isn't used after the 15450 buffers are pushed back. Some researched revealed that this was the 15451 same back in the original MH code. I decided it was simplest to simply 15452 delete the buffer recycling code. 15453 (cherry picked from commit 22d2acba60374851c291260ff6aa716e9bf44a6d) 15454 15455Author: David Levine <levinedl@acm.org> 15456Date: Wed Jan 23 19:42:56 2013 -0600 15457 15458 Brought over changes to test-pop from master to m_getfld branch. 15459 15460Author: David Levine <levinedl@acm.org> 15461Date: Sun Jan 20 08:38:18 2013 -0600 15462 15463 Added scan and inc from mbox with multiple messages. 15464 (cherry picked from commit c4c53777458bfcfd288d45b7708e52eb47c56405) 15465 15466Author: David Levine <levinedl@acm.org> 15467Date: Thu Jan 17 20:58:25 2013 -0600 15468 15469 Added test-msg-buffer-boundaries. 15470 (cherry picked from commit dbd0fa0a56a222bd118fea627eba53e5d9811d01) 15471 15472Author: David Levine <levinedl@acm.org> 15473Date: Wed Jan 23 19:20:40 2013 -0600 15474 15475 Brought over changes to test-pop from m_getfld branch. 15476 15477Author: David Levine <levinedl@acm.org> 15478Date: Tue Jan 22 21:02:49 2013 -0600 15479 15480 Changed m_getfld() to automatically allocate a new state 15481 instance as needed. Callers no longer use 15482 m_getfld_state_init(). 15483 15484Author: David Levine <levinedl@acm.org> 15485Date: Tue Jan 22 17:08:21 2013 -0600 15486 15487 Removed unnecessary m_getfld_state_destroy() from scan.c. 15488 15489Author: David Levine <levinedl@acm.org> 15490Date: Tue Jan 22 17:07:47 2013 -0600 15491 15492 Reworked enter_getfld() and Peek(). 15493 15494Merge: 2f5c4e8 22d2acb 15495Author: Ken Hornstein <kenh@pobox.com> 15496Date: Mon Jan 21 10:58:07 2013 -0500 15497 15498 Merge branch 'master' into format-test 15499 15500Author: Ken Hornstein <kenh@pobox.com> 15501Date: Mon Jan 21 10:32:37 2013 -0500 15502 15503 Fix a bug leading to message corruption with inc when incorporation more 15504 than one message at a time. 15505 15506 When I reworked the scan() code to remove the use of stdio internals, 15507 two code paths were created. The inc code path consumed another buffer 15508 from the nxtbuf list for processing the message body. At the end of 15509 scan() there was code to push back all of the consumed buffers to the 15510 nxtbuf list. The extra buffer consumed in the inc code path wasn't 15511 being pushed back, and as a result the nxtbuf list would end up with 15512 duplicate pointers in it. This would result in two components sharing 15513 the same text buffer, which caused the message corruption. 15514 15515 When I looked at this closer, I realized that there was no reason to 15516 push those buffers back to the list; nxtbuf gets reset to compbuffers 15517 at the start of every call to scan(), and nxtbuf isn't used after the 15518 buffers are pushed back. Some researched revealed that this was the 15519 same back in the original MH code. I decided it was simplest to simply 15520 delete the buffer recycling code. 15521 15522Author: David Levine <levinedl@acm.org> 15523Date: Mon Jan 21 08:42:20 2013 -0600 15524 15525 Plugged small memory leak in m_unknown(). 15526 15527Author: David Levine <levinedl@acm.org> 15528Date: Sun Jan 20 22:22:17 2013 -0600 15529 15530 Replaced hard-coded value with MAX_DELIMITER_SIZE in m_getfld.c. 15531 15532Author: David Levine <levinedl@acm.org> 15533Date: Sun Jan 20 21:27:54 2013 -0600 15534 15535 Removed the static m_getfld() state instance and replaced 15536 with functions for callers to create and destroy their own 15537 instances. This also allows inc, msh, and pick to call 15538 m_getfld() with an initial file stream position other than 0. 15539 15540 There is now a global state instance so that scan can call 15541 m_unknown() on maildrop files. It'd be nice to get rid of 15542 that. 15543 15544Author: Ken Hornstein <kenh@pobox.com> 15545Date: Sun Jan 20 22:23:58 2013 -0500 15546 15547 Fix memory leak in arglist code 15548 15549Author: David Levine <levinedl@acm.org> 15550Date: Sun Jan 20 08:38:18 2013 -0600 15551 15552 Added scan and inc from mbox with multiple messages. 15553 15554Author: David Levine <levinedl@acm.org> 15555Date: Sun Jan 20 07:49:58 2013 -0600 15556 15557 Updated test-inc-scanout on master to match version of 15558 m_getfld branch. 15559 15560Author: David Levine <levinedl@acm.org> 15561Date: Sat Jan 19 08:33:38 2013 -0600 15562 15563 Added a FILE * to the m_getfld_state struct so that most 15564 functions don't need to pass it explicitly. Note that 15565 m_getfld() must still be passed the FILE * because some 15566 callers, e.g., those in mhparse.c, reopen their input file 15567 and therefore pass different FILE *'s for the same input. 15568 15569Author: David Levine <levinedl@acm.org> 15570Date: Sat Jan 19 08:00:03 2013 -0600 15571 15572 Moved all file static data in m_getfld.c into the 15573 m_getfld_state struct. Changed MSG_INPUT_SIZE from 15574 hard-coded number to BUFSIZ. 15575 15576Author: David Levine <levinedl@acm.org> 15577Date: Sat Jan 19 06:54:10 2013 -0600 15578 15579 Added check of -pack to test-pop. 15580 15581Author: David Levine <levinedl@acm.org> 15582Date: Fri Jan 18 19:19:00 2013 -0600 15583 15584 Fixed test-header to work on Cygwin, which has a BUFSIZ of 15585 only 1024. That caused an error message to be truncated. 15586 15587Author: Ken Hornstein <kenh@pobox.com> 15588Date: Fri Jan 18 16:03:26 2013 -0500 15589 15590 Beginning of implementation of new argsplit() function to handle arguments 15591 to profile-defined commands. 15592 15593Author: David Levine <levinedl@acm.org> 15594Date: Thu Jan 17 21:58:50 2013 -0600 15595 15596 Removed all traces of m_getfld() FLDEOF and BODYEOF states. 15597 They were never set by m_getfld(), so all caller code that 15598 supported them was completely unexercised. 15599 15600Author: David Levine <levinedl@acm.org> 15601Date: Thu Jan 17 21:46:54 2013 -0600 15602 15603 Minimized message files reads in m_getfld() when the caller 15604 interleaves calls to fseek(). Added check of handling of 15605 long header field name without a colon to test-header. 15606 15607Author: David Levine <levinedl@acm.org> 15608Date: Thu Jan 17 20:58:25 2013 -0600 15609 15610 Added test-msg-buffer-boundaries. 15611 15612Author: David Levine <levinedl@acm.org> 15613Date: Wed Jan 16 22:02:12 2013 -0600 15614 15615 More cleanup of m_getfld(), changed some variable names. 15616 15617Author: David Levine <levinedl@acm.org> 15618Date: Wed Jan 16 21:48:11 2013 -0600 15619 15620 Added check of header field body with more than 511 15621 characters to test-inc-scanout. Also changed a couple of 15622 test message files to be generated on the fly. 15623 15624Author: David Levine <levinedl@acm.org> 15625Date: Wed Jan 16 20:13:04 2013 -0600 15626 15627 Cleaned up m_getfld() code a bit. The most notable change 15628 was to remove the check for mmdlm2 not being null. It's 15629 global data so that shouldn't happen. 15630 15631Author: David Levine <levinedl@acm.org> 15632Date: Tue Jan 15 22:56:33 2013 -0600 15633 15634 Added check of a header with name that's 998 bytes long to 15635 test-header. 15636 15637Author: David Levine <levinedl@acm.org> 15638Date: Tue Jan 15 20:11:41 2013 -0600 15639 15640 Removed the for-loop that was used to get a header field 15641 name in m_getfld (). It was no longer necessary when not 15642 drawing directly from the stdio buffer. 15643 15644Author: David Levine <levinedl@acm.org> 15645Date: Tue Jan 15 19:38:16 2013 -0600 15646 15647 Check that a character array isn't empty before looking for its 15648 next-to-last element. 15649 15650Author: David Levine <levinedl@acm.org> 15651Date: Tue Jan 15 18:14:46 2013 -0600 15652 15653 In build_nmh, removed configuration of pager and editor. 15654 And replaced use of which(1) with a self-contained function. 15655 15656Author: Ken Hornstein <kenh@pobox.com> 15657Date: Tue Jan 15 15:30:17 2013 -0500 15658 15659 Support the VISUAL and EDITOR environment variables, and remove support 15660 for configuring a default editor with --with-editor. 15661 15662Author: Ken Hornstein <kenh@pobox.com> 15663Date: Tue Jan 15 13:22:13 2013 -0500 15664 15665 Remove the --with-pager configure option and replace it with a default 15666 of "more". 15667 15668Author: David Levine <levinedl@acm.org> 15669Date: Mon Jan 14 22:05:38 2013 -0600 15670 15671 Renamed a couple of m_getfld auxiliary functions. 15672 15673Author: David Levine <levinedl@acm.org> 15674Date: Mon Jan 14 21:34:08 2013 -0600 15675 15676 Cleaned up m_getfld's read_more(). 15677 15678Author: David Levine <levinedl@acm.org> 15679Date: Mon Jan 14 21:05:22 2013 -0600 15680 15681 In m_getfld(), fixed the loop that handles the FLDPLUS case. 15682 In Getc(), removed the increment of the byte count at EOF, 15683 it didn't seem correct or necessary. 15684 15685Author: David Levine <levinedl@acm.org> 15686Date: Mon Jan 14 20:58:56 2013 -0600 15687 15688 m_getfld() now supports interleaving calls with 15689 fseek()/ftell(). Reverted the changes to uip/mhparse.c of 15690 commit 484eb1003ae647e4b751e4d7829c7daf44fb99c9 because 15691 they're no longer necessary. 15692 15693Author: David Levine <levinedl@acm.org> 15694Date: Mon Jan 14 09:45:23 2013 -0600 15695 15696 Moved test of empty header field from 15697 test/inc/test-inc-scanout to test/bad-input/test-header. 15698 15699Author: David Levine <levinedl@acm.org> 15700Date: Mon Jan 14 09:41:50 2013 -0600 15701 15702 Cleaned up a bit. 15703 15704Author: David Levine <levinedl@acm.org> 15705Date: Sun Jan 13 21:56:07 2013 -0600 15706 15707 Added support for m_getfld() callers interleaving fseek() calls 15708 with their m_getfld() calls. 15709 15710Author: David Levine <levinedl@acm.org> 15711Date: Sun Jan 13 11:08:28 2013 -0600 15712 15713 Added bytes_read to m_getfld() buffer state. This is the 15714 next step in supporting ftell()/fseek(). 15715 15716Author: David Levine <levinedl@acm.org> 15717Date: Sun Jan 13 09:43:15 2013 -0600 15718 15719 Removed unused local char_read from forwsbr.c. 15720 15721Author: David Levine <levinedl@acm.org> 15722Date: Sun Jan 13 09:17:47 2013 -0600 15723 15724 Added check of m_getfld() handling of fields with trailing 15725 whitespace to test-inc-scanout.' 15726 15727Author: David Levine <levinedl@acm.org> 15728Date: Sat Jan 12 11:14:45 2013 -0600 15729 15730 Removed "sleazy hack" of negative bufsz because commit 15731 05d8af21d26673279a1ca079ad9c6f301426fe0e removed the only 15732 use of it. 15733 15734Author: David Levine <levinedl@acm.org> 15735Date: Sat Jan 12 10:58:31 2013 -0600 15736 15737 Cleaned up FLDPLUS handling in m_getfld(). As part of this, 15738 removed the backing up of the read pointer in the "something 15739 went wrong" portion of the FLD handling. It had been moved 15740 back two positions. The first is no longer necessary 15741 because a Getc() was replace by a Peek(), and the second 15742 caused the extra blank line noted in the old comments. 15743 Updated the expected output in test/bad-input/test-header to 15744 correspond. 15745 15746Author: David Levine <levinedl@acm.org> 15747Date: Sat Jan 12 09:23:19 2013 -0600 15748 15749 Fixed addition to test-inc-scanout in 15750 683e0fb1a14da5b9ce7bc5db6e76951d14d79348 to not depend on 15751 current date. 15752 15753Author: David Levine <levinedl@acm.org> 15754Date: Sat Jan 12 09:21:59 2013 -0600 15755 15756 Very minor cleanup to m_getfld() to remove an increment of j. 15757 15758Author: Ken Hornstein <kenh@pobox.com> 15759Date: Fri Jan 11 11:13:44 2013 -0500 15760 15761 We never use the autoconf checks for errno.h, crypt.h, or netdb.h, so 15762 remove them. 15763 15764Author: Ken Hornstein <kenh@pobox.com> 15765Date: Fri Jan 11 11:07:51 2013 -0500 15766 15767 At this point we're assuming at least C89 support, so there's no reason 15768 we should check for support for const and standard header files. 15769 15770Author: David Levine <levinedl@acm.org> 15771Date: Thu Jan 10 22:52:59 2013 -0600 15772 15773 Started revising m_getfld() code to replace direct buffer 15774 access with Getc(). The goal is to again support fseek() 15775 after return from m_getfld(). 15776 15777Author: Ken Hornstein <kenh@pobox.com> 15778Date: Thu Jan 10 14:18:15 2013 -0500 15779 15780 Convert the MIME content cache switches over to the smatch() New World Order. 15781 15782Author: David Levine <levinedl@acm.org> 15783Date: Thu Jan 10 08:00:20 2013 -0600 15784 15785 Added explicit third initializer to some swit struct values 15786 to silence gcc -Wmissing-field-initialziers warning. 15787 15788Author: Ken Hornstein <kenh@pobox.com> 15789Date: Wed Jan 9 22:04:23 2013 -0500 15790 15791 Convert all argument processing over to using X-Macros for cleanup. 15792 Based on a suggestion by Ralph Corderoy. 15793 15794Author: David Levine <levinedl@acm.org> 15795Date: Wed Jan 9 20:58:03 2013 -0600 15796 15797 Added comments to and started cleaning up m_getfld.c. 15798 15799Author: David Levine <levinedl@acm.org> 15800Date: Wed Jan 9 20:50:58 2013 -0600 15801 15802 When read_more() loads more bytes, save some from the end of the 15803 current chunk and move them to the front of the buffer. This 15804 allows backing up of the current position, which is necessary when 15805 looking for the message delimiter in a maildrop file. 15806 15807Author: Ken Hornstein <kenh@pobox.com> 15808Date: Mon Jan 7 17:41:27 2013 -0500 15809 15810 Fix bug where a "cur" sequence that was outside the folder allocation limits 15811 could trigger a core dump on some systems. 15812 15813Author: David Levine <levinedl@acm.org> 15814Date: Sun Jan 6 15:04:24 2013 -0600 15815 15816 Removed support for #ifdef LBL. It was broken anyways, 15817 sometime between MH 6.8.5 and the Apr 1999 entry into CVS. 15818 Also removed the addtoseq format function that could only be 15819 accessed with it. 15820 15821Author: David Levine <levinedl@acm.org> 15822Date: Sun Jan 6 09:38:21 2013 -0600 15823 15824 Fixed test-utf8-body to actually contain the UTF-8 character 15825 instead of the single byte, 8-bit character. This was caught 15826 using Heirloom shell with a UTF-8 locale: when it wrote the 15827 test draft from a here document, it converted the single byte 15828 character to UTF-8. This verifies that behavior: 15829 15830 LANG=en_US.utf-8 /usr/lib/heirloom/5bin/sh -c "od -x <<EOF 15831 `printf '\xA1'` 15832 EOF 15833 " 15834 15835Author: David Levine <levinedl@acm.org> 15836Date: Sat Jan 5 09:55:35 2013 -0600 15837 15838 Expanded warning message for invalid Content-Transfer-Encoding. 15839 15840Author: David Levine <levinedl@acm.org> 15841Date: Fri Jan 4 18:50:06 2013 -0600 15842 15843 Added reference to RFC-1864 to mhbuild man page. 15844 15845Author: Ken Hornstein <kenh@pobox.com> 15846Date: Fri Jan 4 15:12:15 2013 -0500 15847 15848 Remove support for -ebcdicsafe/-noebcdicsafe switches in various utilities. 15849 15850Author: Ken Hornstein <kenh@pobox.com> 15851Date: Fri Jan 4 15:03:32 2013 -0500 15852 15853 Create a dependency for mh-chart.man on all of the man page sources so 15854 it gets rebuilt correctly if the man pages change. 15855 15856Author: David Levine <levinedl@acm.org> 15857Date: Thu Jan 3 22:33:42 2013 -0600 15858 15859 Block SIGPIPE before killing the child in sm_end(). This replaces 15860 the discard() calls that were removed in commit 4548a3ecc4248a1d4. 15861 15862Author: David Levine <levinedl@acm.org> 15863Date: Thu Jan 3 22:32:28 2013 -0600 15864 15865 Removed discard() call in post(8). It was only used with -debug 15866 and seemed to serve no useful purpose any more. Its comment 15867 said that it was needed to help the loader. 15868 15869Author: David Levine <levinedl@acm.org> 15870Date: Thu Jan 3 21:59:44 2013 -0600 15871 15872 In cpstripped() and cptrimmed(), if a multibyte character is 15873 found, only count it as taking up one character in the 15874 destination buffer (if it has enought room). This way, 15875 scan(1)'s output won't be jagged if there are any subjects, 15876 for example, that have multibyte characters. 15877 15878 Added a test for this to test-scan-multibyte, and moved the 15879 test for an invalid multibyte sequence from test-scan to it. 15880 15881Author: David Levine <levinedl@acm.org> 15882Date: Thu Jan 3 21:51:56 2013 -0600 15883 15884 Removed empty file name .null from the historical mh-6.8.5 tree. 15885 15886Author: David Levine <levinedl@acm.org> 15887Date: Wed Jan 2 20:07:43 2013 -0600 15888 15889 Fixed decoding of header fields when they contain a character that 15890 can't be converted. Added test case to test-scan. valgrind also 15891 noticed that things went amiss. 15892 15893Author: David Levine <levinedl@acm.org> 15894Date: Wed Jan 2 18:13:59 2013 -0600 15895 15896 Remove test .netrc file at the end of test-pop. 15897 15898Author: Ken Hornstein <kenh@pobox.com> 15899Date: Wed Jan 2 15:23:29 2013 -0500 15900 15901 Switch to using native automake rules for cscope. 15902 15903Author: Ken Hornstein <kenh@pobox.com> 15904Date: Tue Jan 1 22:06:33 2013 -0500 15905 15906 Change TLS support to only link the TLS libraries with the programs that 15907 need them. 15908 15909Author: Ken Hornstein <kenh@pobox.com> 15910Date: Tue Jan 1 02:40:30 2013 -0500 15911 15912 Clean up (and hopefully improve) the autoconf iconv tests. 15913 15914Author: Ken Hornstein <kenh@pobox.com> 15915Date: Tue Jan 1 01:50:06 2013 -0500 15916 15917 Still MORE autoconf cleanup. 15918 15919Author: Ken Hornstein <kenh@pobox.com> 15920Date: Tue Jan 1 01:27:08 2013 -0500 15921 15922 Autoconf/automake cleanup 15923 15924Author: Ken Hornstein <kenh@pobox.com> 15925Date: Tue Jan 1 01:01:32 2013 -0500 15926 15927 Document removal of --enable-nmh-debug 15928 15929Author: Ken Hornstein <kenh@pobox.com> 15930Date: Tue Jan 1 01:00:03 2013 -0500 15931 15932 Finally deprecate --enable-nmh-debug 15933 15934Author: Ken Hornstein <kenh@pobox.com> 15935Date: Sun Dec 30 20:17:01 2012 -0500 15936 15937 Note changes to autoconf requirements here. 15938 15939Author: Ken Hornstein <kenh@pobox.com> 15940Date: Sun Dec 30 19:40:42 2012 -0500 15941 15942 We are now requiring autoconf 2.68 and automake 1.13. 15943 15944Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15945Date: Sun Dec 30 12:19:47 2012 -0800 15946 15947 Note that the minimum required version of automake is 1.12. 15948 15949Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15950Date: Sun Dec 30 09:38:46 2012 -0800 15951 15952 Ignore top-level ar-lib file. 15953 15954 This is detritus from the AM_PROG_AR macro I added to configure.ac. 15955 15956Author: Lyndon Nerenberg <lyndon@orthanc.ca> 15957Date: Sun Dec 30 01:27:49 2012 -0800 15958 15959 Add an AM_PROG_AR program check to configure.ac This quells a 15960 warning when configuring on FreeBSD 10. 15961 15962Author: David Levine <levinedl@acm.org> 15963Date: Thu Dec 27 13:53:33 2012 -0600 15964 15965 Corrected fseek() emulation to fix test/bad-input/test-header. 15966 15967Author: David Levine <levinedl@acm.org> 15968Date: Thu Dec 27 09:51:09 2012 -0600 15969 15970 Replace use of ftell() in mhparse.c:get_content() by keeping track 15971 of bytes read by m_getfld(). 15972 15973Author: David Levine <levinedl@acm.org> 15974Date: Wed Dec 26 14:03:20 2012 -0600 15975 15976 Tweaked last commit to test/common.sh.in to eliminate a mv. 15977 15978Author: David Levine <levinedl@acm.org> 15979Date: Wed Dec 26 11:09:28 2012 -0600 15980 15981 Added note about PATH when running "make check" on Cygwin. 15982 15983Author: David Levine <levinedl@acm.org> 15984Date: Wed Dec 26 11:04:23 2012 -0600 15985 15986 Fixed test-slocal to work with mmdfldir set to /dev/null, and on 15987 Cygwin, which needs the full path to tee(1). 15988 15989Author: David Levine <levinedl@acm.org> 15990Date: Wed Dec 26 09:52:12 2012 -0600 15991 15992 Restored an explicit refill of the buffer in m_getfld() that I 15993 removed in the big stdio cleanup. Its need is shown by reducing 15994 the message buffer size to 2048. 15995 15996Author: David Levine <levinedl@acm.org> 15997Date: Tue Dec 25 19:25:43 2012 -0600 15998 15999 Removed call to fpurge() and its platform-specific emulations 16000 from discard.c. discard() is called on stdout from mhl(1) and 16001 msh(1) in interrupt handlers, and post(8) but only with -debug. 16002 tcflush() should do the purge when stdout is a terminal. If 16003 it's a file or pipe, well, maybe some garbage could get flushed 16004 out. And it's called on the streams that post uses to talk to 16005 its smtp server, so removed those calls because they no longer 16006 do anything. And removed LINUX_STDIO define from configure.ac. 16007 16008Author: David Levine <levinedl@acm.org> 16009Date: Tue Dec 25 11:57:31 2012 -0600 16010 16011 Replaced all the stdio buffer access in m_getfld.c with a single call 16012 to fread() and then some almost straightforward buffer manipulations. 16013 16014Author: David Levine <levinedl@acm.org> 16015Date: Tue Dec 25 11:57:02 2012 -0600 16016 16017 Fixed formatting of last change to scansbr.c. 16018 16019Author: David Levine <levinedl@acm.org> 16020Date: Sun Dec 23 09:27:03 2012 -0600 16021 16022 Updated m_getfld() interface description. 16023 16024Author: David Levine <levinedl@acm.org> 16025Date: Sat Dec 22 11:51:21 2012 -0600 16026 16027 Changed bufsz argument of m_getfld() to be in-out instead of in. 16028 This allowed removal of the msg_count global, in turn allowing 16029 removal of sbr/m_msgdef.c 16030 16031Author: David Levine <levinedl@acm.org> 16032Date: Sat Dec 22 10:14:36 2012 -0600 16033 16034 Changed msg_style and msg_delim to be file static to m_getfld.c 16035 instead of global. 16036 16037Author: David Levine <levinedl@acm.org> 16038Date: Sat Dec 22 10:05:51 2012 -0600 16039 16040 Changed type of name argument to m_getfld() from unsigned char * 16041 to unsigned char[NAMESZ]. 16042 16043Author: David Levine <levinedl@acm.org> 16044Date: Sat Dec 22 09:51:25 2012 -0600 16045 16046 Added m_getfld () interface description. 16047 16048Author: David Levine <levinedl@acm.org> 16049Date: Tue Dec 11 23:24:19 2012 -0600 16050 16051 Removed a few #ifndef JLR/#endif pairs because they're not needed. 16052 16053Author: David Levine <levinedl@acm.org> 16054Date: Tue Dec 11 19:45:29 2012 -0600 16055 16056 Removed some dead code, all inside #if 0's. I tried to not remove 16057 anything useful, so there are a few #if 0's remaining. 16058 16059Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16060Date: Mon Dec 10 20:54:15 2012 -0800 16061 16062 Import a copy of Markus Schnalke's master's thesis: The Modern Mail Handler. 16063 16064 (Added with Markus' permission.) 16065 16066Author: Ken Hornstein <kenh@pobox.com> 16067Date: Mon Dec 10 23:23:44 2012 -0500 16068 16069 Remove the peeking into the stdio internals inside of scan(). Hm, this 16070 was more complicated than I originally thought. 16071 16072Author: Ken Hornstein <kenh@pobox.com> 16073Date: Mon Dec 10 16:01:59 2012 -0500 16074 16075 The beginnings of a program to test format functions/files. 16076 16077Author: David Levine <levinedl@acm.org> 16078Date: Sun Dec 9 21:26:49 2012 -0600 16079 16080 Added release notes for releases 1.4 and 1.3 to tail of NEWS. 16081 16082Author: Paul Fox <pgf@foxharp.boston.ma.us> 16083Date: Fri Dec 7 10:27:52 2012 -0500 16084 16085 mhshow: properly treat unknown multipart subtypes as "mixed" 16086 16087Author: David Levine <levinedl@acm.org> 16088Date: Thu Dec 6 09:46:18 2012 -0600 16089 16090 Added test of -nosequence to test-pick. 16091 16092Author: Paul Fox <pgf@foxharp.boston.ma.us> 16093Date: Wed Dec 5 21:47:12 2012 -0500 16094 16095 pick: add -nosequence command line switch 16096 16097Author: David Levine <levinedl@acm.org> 16098Date: Mon Dec 3 18:45:55 2012 -0600 16099 16100 Note in dist, mh-profile, and repl man pages that the @ link 16101 is only created with -atfile. 16102 16103Author: David Levine <levinedl@acm.org> 16104Date: Mon Dec 3 08:54:21 2012 -0600 16105 16106 Fix to 25581a94c5113eb78b2baf7110408df96efc4418: always set $editalt, 16107 even without -atfile. 16108 16109Author: Jerrad Pierce <belg4mit@pthbb.org> 16110Date: Sun Dec 2 21:02:11 2012 -0600 16111 16112 Added docs/contrib/vpick. 16113 16114Author: David Levine <levinedl@acm.org> 16115Date: Sun Dec 2 09:19:21 2012 -0600 16116 16117 Cleaned up sendfiles(1) man page just a bit. 16118 16119Author: Ralph Corderoy <ralph@inputplus.co.uk> 16120Date: Sun Dec 2 09:05:37 2012 -0600 16121 16122 Corrected the last addition to man/nmh.man. Might be nicer to explain 16123 the warty truth from the off. 16124 16125Author: David Levine <levinedl@acm.org> 16126Date: Sat Dec 1 10:53:36 2012 -0600 16127 16128 Updated the TODO file. 16129 16130Author: David Levine <levinedl@acm.org> 16131Date: Sat Dec 1 10:52:27 2012 -0600 16132 16133 Copied atexit() code from fakesmtp.c to fakepop.c so that its 16134 pid file gets cleaned up. Also copied the sig handler. 16135 16136Author: David Levine <levinedl@acm.org> 16137Date: Fri Nov 30 18:42:40 2012 -0600 16138 16139 Fixed formatting glitch in msh.man. 16140 16141Author: Jerrad Pierce <belg4mit@pthbb.org> 16142Date: Fri Nov 30 18:40:52 2012 -0600 16143 16144 Added description of @folder format to nmh.man. 16145 16146Merge: d6c134e b6f8e44 16147Author: Ken Hornstein <kenh@pobox.com> 16148Date: Thu Nov 29 15:28:12 2012 -0500 16149 16150 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 16151 16152Author: Paul Fox <pgf@foxharp.boston.ma.us> 16153Date: Thu Nov 29 14:54:49 2012 -0500 16154 16155 show: remove unused variable 16156 16157 this should have been part of the previous removal of unreachable code. 16158 16159Author: Paul Fox <pgf@foxharp.boston.ma.us> 16160Date: Thu Nov 29 13:59:55 2012 -0500 16161 16162 show: remove unreachable code 16163 16164 the stanza in question has been impossible to reach for some time. i 16165 believe its purpose was to give a non-mh display proc full pathname 16166 arguments to work with. since we've chdir'd to the folder, giving it 16167 message numbers (i.e., relative pathnames) is fine. 16168 16169Author: Paul Fox <pgf@foxharp.boston.ma.us> 16170Date: Tue Nov 27 00:20:55 2012 -0500 16171 16172 show: remove MAXARGS limit when running any of the helper procs 16173 16174 use app_msgarg() to maintain both the msgs[] and vec[] string vectors. 16175 16176Author: Paul Fox <pgf@foxharp.boston.ma.us> 16177Date: Mon Nov 26 23:43:00 2012 -0500 16178 16179 forw: remove MAXARGS limit when running mhlproc 16180 16181 use app_msgarg() to maintain both the msgs[] and vec[] string vectors. 16182 16183Author: Paul Fox <pgf@foxharp.boston.ma.us> 16184Date: Tue Nov 27 09:53:56 2012 -0500 16185 16186 burst: eliminate use of MAXARGS 16187 16188 use the already available app_msgarg() utility to make this easy. 16189 (the MAXARGS limit was highly unlikely to be exceeded, in practice.) 16190 16191Author: Ken Hornstein <kenh@pobox.com> 16192Date: Wed Nov 28 11:21:50 2012 -0500 16193 16194 Update about changes to rmmproc support. 16195 16196Author: Paul Fox <pgf@foxharp.boston.ma.us> 16197Date: Tue Nov 27 12:05:56 2012 -0500 16198 16199 app_msgarg: de-obfuscate 16200 16201 add some whitespace and break things up. and add comment to reflect 16202 that this might be (and is) used for more than just msg parameters. 16203 16204Author: Paul Fox <pgf@foxharp.boston.ma.us> 16205Date: Mon Nov 26 21:00:28 2012 -0500 16206 16207 Artificial argv limits. 16208 16209 when i skimmed the code earlier, i was looking at all the uses of 16210 MAXARGS -- many of which are used to size local arrays. converting 16211 them all to be dynamically-sized might be a fair amount of work. 16212 16213 but looking at rmm.c, refile.c, and folder_delmsgs(), i don't think 16214 that issue applies. the patch below fixes the problem, and makes 16215 rmmproc and refile do the right thing (well, at least, the modern 16216 thing). NB: i didn't test to the limit where execvp should return 16217 E2BIG. 16218 16219 as for the rest of mh -- it's certainly possible to hit the MAXARGS 16220 limit with other commands (show, for instance), but i suspect the 16221 frequency is much lower, and those, too, can be fixed as needed. 16222 16223 paul 16224 16225 >From 9636bc0e1697829966f51d2c301cd5d730c38c0a Mon Sep 17 00:00:00 2001 16226 From: Paul Fox <pgf@foxharp.boston.ma.us> 16227 Date: Mon, 26 Nov 2012 20:49:55 -0500 16228 Subject: [PATCH] rmm/refile: remove the MAXARGS limit when running rmmproc 16229 16230Author: Ken Hornstein <kenh@pobox.com> 16231Date: Mon Nov 26 11:25:31 2012 -0500 16232 16233 Since pick now uses decode_rfc2047, we need to be sure to link in the 16234 iconv library (if we need it). 16235 16236Author: David Levine <levinedl@acm.org> 16237Date: Sun Nov 25 09:17:15 2012 -0600 16238 16239 In pick(1), attempt to decode each header field as if it were 16240 MIME encoded. 16241 16242Author: David Levine <levinedl@acm.org> 16243Date: Sun Nov 25 09:06:20 2012 -0600 16244 16245 In pick(1), attempt to decode each header field as if it were 16246 MIME encoded. 16247 16248Author: Ken Hornstein <kenh@pobox.com> 16249Date: Sun Nov 25 00:49:04 2012 -0500 16250 16251 A new test for the POP support in inc. Very simple for now, but it seems 16252 to at least check the basic functionality. 16253 16254Author: Ken Hornstein <kenh@pobox.com> 16255Date: Sat Nov 24 23:50:31 2012 -0500 16256 16257 Add support for a -nosasl switch. 16258 16259Author: David Levine <levinedl@acm.org> 16260Date: Sat Nov 24 09:08:31 2012 -0600 16261 16262 Fixed pick(1) to properly unfold multiple-line header fields 16263 by removing newlines instead of replacing them with spaces 16264 [Bug #15215]. 16265 16266Author: Bill Wohler <wohler@newt.com> 16267Date: Sat Nov 24 01:41:06 2012 -0500 16268 16269 The big news for this update is nmh 1.5. 16270 16271Author: Ken Hornstein <kenh@pobox.com> 16272Date: Fri Nov 23 20:54:28 2012 -0500 16273 16274 Fix the race condition with fakesmtp so it works without needing retries. 16275 16276Author: Ken Hornstein <kenh@pobox.com> 16277Date: Fri Nov 23 19:59:37 2012 -0500 16278 16279 Document changes to inc. 16280 16281Author: Ken Hornstein <kenh@pobox.com> 16282Date: Fri Nov 23 19:58:34 2012 -0500 16283 16284 Document the -port switch to inc. Also, fix the -port switch to inc so 16285 it actually works. 16286 16287Author: David Levine <levinedl@acm.org> 16288Date: Fri Nov 23 09:27:44 2012 -0600 16289 16290 Added test-slocal. 16291 16292Author: David Levine <levinedl@acm.org> 16293Date: Fri Nov 23 09:26:21 2012 -0600 16294 16295 slocal used to support two different formats for three of 16296 its arguments: 16297 16298 [address info sender] 16299 [-addr address] [-info data] [-sender sender] 16300 16301 But it hasn't properly supported the first form since at 16302 least April 1999. So, I removed that first form from the 16303 man page and the broken support from the code. Score 16304 another for the test suite! 16305 16306Author: David Levine <levinedl@acm.org> 16307Date: Fri Nov 23 09:25:15 2012 -0600 16308 16309 Added Message-Id to messages in test suite. 16310 16311Author: David Levine <levinedl@acm.org> 16312Date: Mon Nov 19 19:19:59 2012 -0600 16313 16314 Fixed a couple of signed-unsigned comparisons. 16315 16316Author: Oliver Kiddle <okiddle@yahoo.co.uk> 16317Date: Tue Nov 20 00:47:24 2012 +0100 16318 16319 Yozo TODA: fix for mhshow-charset- directives in .mh_profile being broken 16320 16321Merge: ea28cc1 c616181 16322Author: Ken Hornstein <kenh@pobox.com> 16323Date: Mon Nov 19 15:31:21 2012 -0500 16324 16325 Merge branch 'format-memory-rework' 16326 16327Author: Ken Hornstein <kenh@pobox.com> 16328Date: Mon Nov 19 15:29:01 2012 -0500 16329 16330 Make sure we strip off a newline from components we want to display (we 16331 were stripping off a newline from the wrong copy of the component). 16332 16333Author: Ken Hornstein <kenh@pobox.com> 16334Date: Mon Nov 19 14:37:14 2012 -0500 16335 16336 Convert repl to the new world format API. 16337 16338Author: Ken Hornstein <kenh@pobox.com> 16339Date: Mon Nov 19 14:19:30 2012 -0500 16340 16341 Support for the new world format API for comp and forw. 16342 16343Author: Ken Hornstein <kenh@pobox.com> 16344Date: Mon Nov 19 14:18:55 2012 -0500 16345 16346 Whoops, with the new world order we need to make sure we allocate memory 16347 for all strings in format instructions. 16348 16349Author: Ken Hornstein <kenh@pobox.com> 16350Date: Mon Nov 19 13:48:16 2012 -0500 16351 16352 Convert scan() to the new world format API. 16353 16354Author: Ken Hornstein <kenh@pobox.com> 16355Date: Mon Nov 19 13:47:46 2012 -0500 16356 16357 Change fmt_findcasecmp() to fmt_findcasecomp(). The new name is more 16358 consistent. 16359 16360Author: Ken Hornstein <kenh@pobox.com> 16361Date: Mon Nov 19 12:23:16 2012 -0500 16362 16363 Change API a bit. 16364 16365 Rename fmt_addcomp() to fmt_addcomptext(). 16366 Create new function fmt_addcompentry(). 16367 16368Author: Ken Hornstein <kenh@pobox.com> 16369Date: Mon Nov 19 12:22:26 2012 -0500 16370 16371 Remove unused variable. 16372 16373Author: David Levine <levinedl@acm.org> 16374Date: Sat Nov 17 12:05:22 2012 -0600 16375 16376 Removed leading space from lines in mhbuild and rmm man pages 16377 to correct formatting. 16378 16379Author: Ken Hornstein <kenh@pobox.com> 16380Date: Fri Nov 16 23:56:26 2012 -0500 16381 16382 Finished work on rcvdist to convert to new world format API. 16383 16384Author: Ken Hornstein <kenh@pobox.com> 16385Date: Fri Nov 16 23:41:10 2012 -0500 16386 16387 More (and hopefully for now) the final cleanup for mhl. 16388 16389Author: Ken Hornstein <kenh@pobox.com> 16390Date: Fri Nov 16 23:22:23 2012 -0500 16391 16392 Basic support for the new world API; seems to work! 16393 16394Author: Ken Hornstein <kenh@pobox.com> 16395Date: Fri Nov 16 23:21:54 2012 -0500 16396 16397 Add missing functions for manipulating component text. 16398 16399Author: Ken Hornstein <kenh@pobox.com> 16400Date: Fri Nov 16 23:20:28 2012 -0500 16401 16402 Fix up documentation a bit. 16403 16404Author: Ken Hornstein <kenh@pobox.com> 16405Date: Thu Nov 15 21:47:59 2012 -0500 16406 16407 Partial work for mhl; still more stuff to do. 16408 16409Author: Ken Hornstein <kenh@pobox.com> 16410Date: Thu Nov 15 21:47:36 2012 -0500 16411 16412 Fix missing argument to fmt_free(). 16413 16414Author: Ken Hornstein <kenh@pobox.com> 16415Date: Thu Nov 15 15:53:24 2012 -0500 16416 16417 Beginnings of conversion of code to new format interface. 16418 16419Author: Ken Hornstein <kenh@pobox.com> 16420Date: Thu Nov 15 15:50:46 2012 -0500 16421 16422 Update documentation to match code change. 16423 16424Author: Ken Hornstein <kenh@pobox.com> 16425Date: Thu Nov 15 14:21:20 2012 -0500 16426 16427 Fix a few bugs: 16428 16429 Make sure to add a ref when adding to the hash table. 16430 Forgot the increment the format array inside of fmt_free(). 16431 Marked an allocated string when doing FT_LIT. 16432 16433Author: Ken Hornstein <kenh@pobox.com> 16434Date: Thu Nov 15 13:30:30 2012 -0500 16435 16436 Add some comments to explain how format loop support was supposed to work. 16437 16438Author: Ken Hornstein <kenh@pobox.com> 16439Date: Thu Nov 15 11:05:55 2012 -0500 16440 16441 Add refcounting to struct comp. 16442 Move CHASH and FINDCOMP into fmt_compile.c to make private. 16443 16444Author: Ken Hornstein <kenh@pobox.com> 16445Date: Thu Nov 15 09:19:36 2012 -0500 16446 16447 Beginnings of the changes to fmt_compile for memory rework. 16448 16449Author: Ken Hornstein <kenh@pobox.com> 16450Date: Thu Nov 15 09:18:11 2012 -0500 16451 16452 Update with new functions and comments describing them. 16453 16454Author: David Levine <levinedl@acm.org> 16455Date: Wed Nov 14 08:47:14 2012 -0600 16456 16457 Removed support for zip from sendfiles. I added it as part of the 16458 sendfiles rewrite, f8baa5a34335fc0fc8ccabfabc601d0af73ab769, a few 16459 weeks ago. But because sendfiles fed zip from standard input, zip 16460 would use Zip64 extensions. That would require unzip 6.0 or later 16461 to extract, according to the zip man page. But current MacOS X 16462 uses unzip 5.52, so it broke there. 16463 16464Author: David Levine <levinedl@acm.org> 16465Date: Tue Nov 13 22:35:57 2012 -0600 16466 16467 1) Don't bother checking stderr output from sendfiles because tar's 16468 output format isn't standardized. 16469 2) Added -c to uncompress. 16470 16471Author: David Levine <levinedl@acm.org> 16472Date: Tue Nov 13 22:32:22 2012 -0600 16473 16474 Updated scan.highlighted to feed an expression to %(zputlit). 16475 16476Author: Ken Hornstein <kenh@pobox.com> 16477Date: Tue Nov 13 22:23:02 2012 -0500 16478 16479 Make sure we stick to POSIX-sed only. I _think_ this portable enough to 16480 work everywhere. 16481 16482Author: Ken Hornstein <kenh@pobox.com> 16483Date: Tue Nov 13 18:53:55 2012 -0500 16484 16485 Change %(putlit) and %(zputlit) to take TF_EXPR instead of TF_STR. This 16486 was originally my fault; TF_STR means a string literal as an argument, but 16487 the documentation (and the code) really means for it to take an expression. 16488 16489Author: David Levine <levinedl@acm.org> 16490Date: Fri Nov 9 15:02:53 2012 -0600 16491 16492 Updated test-scan to correspond to commit 16493 112b90c43391644f24559f5aa58752214de0e8a5. 16494 16495Author: Paul Fox <pgf@foxharp.boston.ma.us> 16496Date: Fri Nov 9 14:53:21 2012 -0600 16497 16498 Added ml script to docs/contrib. 16499 16500Author: David Levine <levinedl@acm.org> 16501Date: Fri Nov 9 14:39:59 2012 -0600 16502 16503 Refer to just "root" in slocal man page. 16504 16505Author: Paul Fox <pgf@foxharp.boston.ma.us> 16506Date: Fri Nov 9 14:37:59 2012 -0600 16507 16508 Added ml script to docs/contrib. 16509 16510Author: David Levine <levinedl@acm.org> 16511Date: Wed Nov 7 16:48:05 2012 -0600 16512 16513 In scan.highlighted, set black background on the colorized lines 16514 to enhance visibility if the user has a light background. 16515 16516Author: David Levine <levinedl@acm.org> 16517Date: Tue Nov 6 18:43:42 2012 -0600 16518 16519 Removed note from BUGS section of several man pages saying 16520 that command line arguments must be quoted for protection from 16521 the shell. That's not a bug, and has nothing to do with nmh. 16522 16523 Changed "back-quoted" to "backquoted" for consistency in a few 16524 man pages. 16525 16526Author: David Levine <levinedl@acm.org> 16527Date: Tue Nov 6 18:42:45 2012 -0600 16528 16529 Fixed typo in mhn.man. 16530 16531Author: David Levine <levinedl@acm.org> 16532Date: Mon Nov 5 13:10:16 2012 -0600 16533 16534 Fixed typo in mh-format man page description of zputlit. 16535 16536Author: David Levine <levinedl@acm.org> 16537Date: Mon Nov 5 11:25:33 2012 -0600 16538 16539 Added application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 16540 for .xlsx files. 16541 16542Author: David Levine <levinedl@acm.org> 16543Date: Sun Nov 4 20:58:47 2012 -0600 16544 16545 Added format support for zputlit function escape. It requires 16546 that the str contents have zero display width, such as for 16547 terminal escape sequences. 16548 16549Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16550Date: Sat Nov 3 19:22:49 2012 -0700 16551 16552 nmh.7 isn't the place to advise people how to change their $PATH. 16553 16554Author: David Levine <levinedl@acm.org> 16555Date: Sat Nov 3 08:13:34 2012 -0500 16556 16557 Fixed comparison to be signed instead of unsigned. 16558 16559Author: David Levine <levinedl@acm.org> 16560Date: Sat Nov 3 07:37:40 2012 -0500 16561 16562 Added description of "all" range abbreviation. 16563 16564Author: David Levine <levinedl@acm.org> 16565Date: Fri Nov 2 22:45:07 2012 -0500 16566 16567 Added argument to fmt_scan() to specify the buffer size. 16568 16569Author: David Levine <levinedl@acm.org> 16570Date: Sun Oct 28 22:35:45 2012 -0500 16571 16572 Updated date on sortm(1) man page. 16573 16574Author: David Levine <levinedl@acm.org> 16575Date: Sun Oct 28 13:21:46 2012 -0500 16576 16577 Updated build-nmh-cygwin for release of Cygwin nmh 1.5-2. To use: 16578 1) Change VERSION to 1.5-2. 16579 2) make dist 16580 3) Symlink build-nmh-cygwin to nmh-1.5-2 and run that with "all". 16581 16582Author: David Levine <levinedl@acm.org> 16583Date: Sat Oct 27 12:36:29 2012 -0500 16584 16585 Fixed typo reported by Ralph. 16586 16587 I also should have mentioned in the commit message for 16588 sortm(1) -check/-nocheck that Norm proposed their addition. 16589 16590Author: David Levine <levinedl@acm.org> 16591Date: Sat Oct 27 12:18:45 2012 -0500 16592 16593 In test-post-common.sh and test-mhmail, wait for fakesmtp to start 16594 for up to 40 seconds. 10 seconds wasn't long enough when I leaned 16595 on my machine. Also, print out a message if exiting due to that 16596 timeout. 16597 16598Author: David Levine <levinedl@acm.org> 16599Date: Sat Oct 27 12:14:01 2012 -0500 16600 16601 Added -check/-nocheck switches to sortm(1). Also removed obsolete 16602 note in the BUGS portion of its man page about how it sorts messages 16603 that are missing or have an invalid Date: field. It actually sorts 16604 them using their file modification times. 16605 16606Author: David Levine <levinedl@acm.org> 16607Date: Tue Oct 23 19:18:20 2012 -0500 16608 16609 Fixed typo in Cygwin section of MACHINES. 16610 16611Author: David Levine <levinedl@acm.org> 16612Date: Tue Oct 23 19:16:56 2012 -0500 16613 16614 Cyrus SASL 2.1.25 introduced the sasl_callback_ft prototype, 16615 which has an explicit void parameter list, according to best 16616 practice. So we need to cast to avoid compile warnings. 16617 And provide a sasl_callback_ft prototype for earlier versions. 16618 16619Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16620Date: Sun Oct 21 12:39:43 2012 -0700 16621 16622 Clarify that manpage references use the .IR macro everywhere. 16623 16624Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16625Date: Sun Oct 21 12:38:40 2012 -0700 16626 16627 Fix one last missed %nmhdate% substitution. 16628 16629 Remove empty CONTEXT section. 16630 16631Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16632Date: Sun Oct 21 12:37:49 2012 -0700 16633 16634 Remove %nmhdate% substitution from man.sed. It's no longer used. 16635 16636Merge: 9dedfb1 cbaaccc 16637Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16638Date: Sun Oct 21 12:33:21 2012 -0700 16639 16640 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 16641 16642Author: David Levine <levinedl@acm.org> 16643Date: Sun Oct 21 12:02:40 2012 -0500 16644 16645 Corrected date in sendfiles.man 16646 16647Author: David Levine <levinedl@acm.org> 16648Date: Sun Oct 21 09:52:46 2012 -0500 16649 16650 Updated sendfiles(1): 16651 1) Added -from switch. 16652 2) sendfiles will now construct a From address, using the sender's 16653 localmbox, if the user does not specify it with -from or the PERSON 16654 environment variable. 16655 3) Added support for bzip2, lzma, and zip compression methods. Added 16656 a new switch to select the method: -compress <method>. Because 16657 support for the old -compress with was broken (it did not use 16658 -c with compress/uncompress) and it was undocumented, it has 16659 been replaced. Retained old -gzip and -none switches for backward 16660 compatibility even though they were undocumented. 16661 4) Allow the recipient argument to be preceded by the optional -to 16662 switch iff the subject argument is preceded by the optional 16663 -subject switch. Allow the delay value to be specified using the 16664 optional -delay switch. 16665 5) Added -version and -help switches. 16666 6) All switches can now be abbreviated. 16667 16668 /etc/sendfiles no longer needs to be configured. It's easier to 16669 support make distcheck by having it figure out its path at runtime. 16670 16671 In viamail, set postproc to post in the same directory as itself, if 16672 invoked with a full path. This allows it to support make distcheck. 16673 viamail does not read the profile so its postproc is otherwise 16674 hard-coded at compile time. 16675 16676 Added test-sendfiles. 16677 16678Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16679Date: Sat Oct 20 16:51:01 2012 -0700 16680 16681 Update the manpage style guide. 16682 16683Merge: d1cb667 a69289c 16684Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16685Date: Sat Oct 20 15:02:16 2012 -0700 16686 16687 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 16688 16689Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16690Date: Sat Oct 20 14:42:32 2012 -0700 16691 16692 Rationalize .TH manpage macro invocations. 16693 16694 This patch addresses the following issues with .TH macro usage: 16695 16696 .TH COMP %manext1% "%nmhdate%" MH.6.8 [%nmhverion%] 16697 16698 1) "MH.6.8" is no longer relevant. 16699 16700 2) %nmhdate% is a hardwired value that only gets updated along with 16701 %nmhversion% and is therefore redundant. 16702 16703 This patch nukes the MH.6.8 tag, and replaces the hardwired 16704 %nmhdate% field with the latest date the associated manpage has 16705 been updated. I pulled the dates - as best I could - from the 16706 git logs. 16707 16708 Going forward, it is incumbent on developers to update the 16709 manpage date stamps as they update the pages themselves. 16710 16711Author: David Levine <levinedl@acm.org> 16712Date: Sat Oct 20 16:40:06 2012 -0500 16713 16714 Cleaned up a couple of shell variables. 16715 16716Author: David Levine <levinedl@acm.org> 16717Date: Sat Oct 20 16:39:25 2012 -0500 16718 16719 Fixed the trap to work with posh. 16720 16721Author: David Levine <levinedl@acm.org> 16722Date: Sat Oct 20 10:41:43 2012 -0500 16723 16724 Fixed printf's in test suite. 16725 16726Author: David Levine <levinedl@acm.org> 16727Date: Sat Oct 20 07:44:34 2012 -0500 16728 16729 Fixed the trap in mhmail. 16730 16731Author: David Levine <levinedl@acm.org> 16732Date: Fri Oct 19 14:23:17 2012 -0500 16733 16734 Cleaned up uip/mhmail. Added chmod +x of spost in configure.ac. 16735 16736Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16737Date: Tue Oct 16 20:18:03 2012 -0700 16738 16739 Manpage cross-reference cleanups: convert '.BR cmd (section)' to '.IR cmd (section)' 16740 throughout the text. 16741 16742Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16743Date: Tue Oct 16 19:48:02 2012 -0700 16744 16745 A couple more manpage typo cleanups. 16746 16747Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16748Date: Tue Oct 16 19:45:38 2012 -0700 16749 16750 Typo. 16751 16752Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16753Date: Tue Oct 16 19:39:37 2012 -0700 16754 16755 Manpage SEE ALSO cleanup. 16756 16757 Convert to '.IR cmd (section)' format for manpage references. 16758 16759 Fixed a couple of inline '.BR cmd (section)' instances as well. 16760 16761 Removed HISTORY from new(1); this stuff doesn't belong in manpages. 16762 16763Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16764Date: Tue Oct 16 18:20:18 2012 -0700 16765 16766 Elide spurious empty lines in manpage source files. 16767 16768Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16769Date: Tue Oct 16 17:29:30 2012 -0700 16770 16771 Ensure the .TH macro is the first line of the manpage source files. Some 16772 versions of man(1) get upset if .TH doesn't come first. 16773 16774Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16775Date: Tue Oct 16 17:08:17 2012 -0700 16776 16777 Update the manpage authors guide, primarily for .TP, but also fixes 16778 a couple of other incorrect style recommendations. 16779 16780 These updates are incomplete ... more to follow. 16781 16782Merge: 956ddac e2d655d 16783Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16784Date: Tue Oct 16 16:40:17 2012 -0700 16785 16786 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 16787 16788Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16789Date: Tue Oct 16 16:32:48 2012 -0700 16790 16791 Incorporate Paul Fox's changes that group the commands by functional groups. 16792 16793 Move the "generated code" warning comment below the .TH macro to work around some buggy 16794 man(1) implementations. 16795 16796 Removed all the .RS/.RE indenting and replaced the use of .fc and tab indenting 16797 with .TP macros. 16798 16799 Move the BUGS section below SEE ALSO to follow the usual section ordering convention. 16800 16801 Fixed up some italic vs. bold usage. 16802 16803 Use '.IR foo (section)' in the SEE ALSO section. 16804 16805 Removed some irrelevant text, along with a small amount of word-smithing. 16806 16807Author: David Levine <levinedl@acm.org> 16808Date: Tue Oct 16 14:53:04 2012 -0500 16809 16810 Unset PAGER in test/common.sh so that make distcheck passes. 16811 16812Merge: a7b486a 342e355 16813Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16814Date: Tue Oct 16 12:39:59 2012 -0700 16815 16816 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 16817 16818Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16819Date: Tue Oct 16 12:36:30 2012 -0700 16820 16821 Add new make targets 'man' and 'cleanman' to build and clean just 16822 the man/ sub-directory. I also removed the '@' supressors for the 16823 internal manpage targets. There's no net benefit to hiding this stuff. 16824 16825Author: David Levine <levinedl@acm.org> 16826Date: Tue Oct 16 13:27:32 2012 -0500 16827 16828 Cleaned up some printf's. 16829 16830Author: David Levine <levinedl@acm.org> 16831Date: Tue Oct 16 13:23:43 2012 -0500 16832 16833 Updated sendfiles(1) man page to reflect upcoming code update. 16834 16835Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16836Date: Tue Oct 16 11:12:27 2012 -0700 16837 16838 Some version of man(1) barf if the first line of the manpage is not 16839 the .TH macro. Re-order the generated mh-chart.man so that the 'auto-generated' 16840 comment appears after the .TH macro. 16841 16842Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16843Date: Mon Oct 15 17:08:29 2012 -0700 16844 16845 Slightly reformat the FINDCOMP macro to quell a clang warning about 16846 an empty for()-loop body. 16847 16848Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16849Date: Mon Oct 15 17:06:40 2012 -0700 16850 16851 automake 1.12 generates some (apparently) harmless warnings, but the build 16852 fails becuase we invoke automake with -Werror. Remove -Werror from the 16853 automake options until the autotools gurus can patch things up. 16854 16855Merge: 5548c9a 47dca82 16856Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16857Date: Mon Oct 15 15:22:39 2012 -0700 16858 16859 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 16860 16861Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16862Date: Mon Oct 15 15:21:48 2012 -0700 16863 16864 Allow $PAGER to override the compiled-in default pager command. 16865 16866Author: David Levine <levinedl@acm.org> 16867Date: Sun Oct 14 21:13:05 2012 -0500 16868 16869 Removed unused function seek_home(). 16870 16871Author: David Levine <levinedl@acm.org> 16872Date: Sun Oct 14 19:27:17 2012 -0500 16873 16874 The first alias contained in a blind list is now expanded. The 16875 mh-alias(5) man page was updated to show that blind lists must not 16876 be terminated with, or contain, a trailing semicolon [Bug #15604]. 16877 16878Author: David Levine <levinedl@acm.org> 16879Date: Sun Oct 14 19:02:43 2012 -0500 16880 16881 Changed error message to say that blind lists aren't 16882 compatible with sendmail/pipe. 16883 16884Author: Ralph Corderoy <ralph@inputplus.co.uk> 16885Date: Sun Oct 14 18:59:06 2012 -0500 16886 16887 Fixed "mark -sequence cur -delete all" to work for cur as 16888 well as any other sequence, to allow clearing of the current 16889 message indication. 16890 16891Author: David Levine <levinedl@acm.org> 16892Date: Sat Oct 13 18:00:39 2012 -0500 16893 16894 Don't allow blind aliases with sendmail/pipe mts. Before this change, 16895 they would be fed to sendmail, which would reject them anyway. This 16896 change catches that in post and presents a more helpful error message 16897 to the user (at the "What now?" prompt, if used). 16898 16899 A possible future enhancement might be, with sendmail/pipe, to expand 16900 out blind aliases and put the addresses in Bcc: header fields, but 16901 then the recipients would get messages with the Blind-Carbon-Copy 16902 indication. (Note that Dcc isn't supported with sendmail/pipe, 16903 either.) 16904 16905 Just for information: old spost fed the addresses of blind aliases to 16906 sendmail, making them visible to all recipients. Oops. 16907 16908Author: David Levine <levinedl@acm.org> 16909Date: Sat Oct 13 09:56:08 2012 -0500 16910 16911 Removed potential buffer overflow in ali.c by replacing array of 16912 hard-coded maximum size with dynamically-sized array. 16913 16914Author: David Levine <levinedl@acm.org> 16915Date: Thu Oct 11 23:00:43 2012 -0500 16916 16917 Fixed sortm(1) verbose message and man page to reflect that with 16918 -limit 0, the sort is only on the text field. 16919 16920Author: David Levine <levinedl@acm.org> 16921Date: Thu Oct 11 21:48:42 2012 -0500 16922 16923 Added -noall/-all switches to sortm(1). 16924 16925Author: David Levine <levinedl@acm.org> 16926Date: Sun Oct 7 22:55:33 2012 -0500 16927 16928 Fixed typo in mh-alias man page. 16929 16930Author: David Levine <levinedl@acm.org> 16931Date: Sun Oct 7 11:25:01 2012 -0500 16932 16933 Added newline to "send" that's piped to dist. Old 2.6 Linux 16934 needs it. 16935 16936Author: David Levine <levinedl@acm.org> 16937Date: Sun Oct 7 10:31:12 2012 -0500 16938 16939 Added test-anno, test-dist, test-msgchk, and test-rcvtty. 16940 16941Author: David Levine <levinedl@acm.org> 16942Date: Sun Oct 7 10:27:31 2012 -0500 16943 16944 Changed nmh-fcc to fcc. See etc/forwcomps. Another catch by the 16945 test suite! 16946 16947Author: David Levine <levinedl@acm.org> 16948Date: Sun Oct 7 10:18:54 2012 -0500 16949 16950 Updates to test/common.sh.in: 16951 1) Added function check_for_hard_links. Moved this code out of 16952 test-refile so that other tests can use it. 16953 2) Added mmdfldir and mmdflfil settings to the mts.conf for tests, to 16954 support test-msgchk. 16955 16956Author: David Levine <levinedl@acm.org> 16957Date: Sun Sep 23 09:02:18 2012 -0500 16958 16959 Removed double quotes around case arguments in test scripts. 16960 16961Author: David Levine <levinedl@acm.org> 16962Date: Sun Sep 23 09:00:11 2012 -0500 16963 16964 When determining the path of the script inside mhmail, handle case 16965 where $0 is just the script name, without any directory. Bourne 16966 shell does that if the script is found using PATH. 16967 16968Author: David Levine <levinedl@acm.org> 16969Date: Tue Sep 18 22:18:21 2012 -0500 16970 16971 Disabled echo of rm -f lines in Makefile to quiet builds and 16972 installs a bit. 16973 16974Author: David Levine <levinedl@acm.org> 16975Date: Tue Sep 18 22:00:00 2012 -0500 16976 16977 Replaced spost with script that exec's post -mts sendmail/pipe. 16978 16979Author: David Levine <levinedl@acm.org> 16980Date: Mon Sep 17 19:42:27 2012 -0500 16981 16982 Removed mhmail.c because it was no longer needed and could get in 16983 the way of make if its timestamp was newer than that of the mhmail 16984 script. Thanks to Johan Viklund for reporting this. 16985 16986Author: David Levine <levinedl@acm.org> 16987Date: Sun Sep 16 23:12:19 2012 -0500 16988 16989 For the mhstore -clobber test, cd to the Mail subdirectory so that 16990 the stored files will get cleaned up by the exit trap in common.sh. 16991 16992Merge: b471d7a 2b7b705 16993Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16994Date: Sun Sep 16 14:39:27 2012 -0700 16995 16996 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 16997 16998Author: Lyndon Nerenberg <lyndon@orthanc.ca> 16999Date: Sun Sep 16 14:38:54 2012 -0700 17000 17001 Fix a comment typo. 17002 17003Author: David Levine <levinedl@acm.org> 17004Date: Sun Sep 16 13:54:23 2012 -0500 17005 17006 With mhstore -clobber auto/suffix, when looking for a new filename, 17007 actually open(2) the file with O_CREAT | O_EXCL to avoid the race 17008 condition when figuring out the filename first and opening it later. 17009 17010Author: David Levine <levinedl@acm.org> 17011Date: Sun Sep 16 12:45:12 2012 -0500 17012 17013 Added "-d --" to invocation of ls when figuring out what files 17014 to attach in whatnow. 17015 17016Author: David Levine <levinedl@acm.org> 17017Date: Sat Sep 15 21:18:38 2012 -0500 17018 17019 Fixed description of n with mhstore -clobber auto/suffix. 17020 17021Author: David Levine <levinedl@acm.org> 17022Date: Sat Sep 15 14:07:07 2012 -0500 17023 17024 Clarified description of clobber -auto/-suffix per Ralph's suggestion. 17025 17026Author: David Levine <levinedl@acm.org> 17027Date: Sat Sep 15 13:40:50 2012 -0500 17028 17029 Added -clobber switch to mhstore(1) [Bug #11160]. 17030 17031Author: David Levine <levinedl@acm.org> 17032Date: Sat Sep 15 13:14:18 2012 -0500 17033 17034 Changed ; to && in shell command, per Ralph's suggestion. There 17035 were two remaining places that still used ";". Though they 17036 weren't of consequence, it's the right thing to do. 17037 17038Author: David Levine <levinedl@acm.org> 17039Date: Sat Sep 15 08:24:37 2012 -0500 17040 17041 Allow whatnow to accept "l" as an abbreviation for "list", instead of 17042 requiring at lest "li". 17043 17044Author: David Levine <levinedl@acm.org> 17045Date: Fri Sep 14 20:46:02 2012 -0500 17046 17047 Filter out all Nmh-* headers in post(1). Do that silently for empty 17048 ones (no header body), and warn about non-empty ones. 17049 17050Author: David Levine <levinedl@acm.org> 17051Date: Fri Sep 14 17:05:24 2012 -0500 17052 17053 Added check in send(1) of attach (default Nmh-Attachment) headers to 17054 ensure that only plain files are attached. Otherwise, it is a fatal 17055 error. Note that whatnow's attach will continue to allow attachment 17056 of directories because it expands those out to their contents. It 17057 doesn't check what the contents are, though. That's why we needed to 17058 add this check. 17059 17060 Also added a check to skip attach headers that are empty so that 17061 they can be put in drafts, per Norm's request. 17062 17063Author: David Levine <levinedl@acm.org> 17064Date: Tue Sep 11 08:44:43 2012 -0500 17065 17066 Updated docs/README-ATTACHMENTS, mainly to reflect that no setup is 17067 required with nmh 1.5 and beyond. And the user documentation is in 17068 the send(1) and whatnow(1) man pages. 17069 17070Author: David Levine <levinedl@acm.org> 17071Date: Tue Sep 11 08:42:58 2012 -0500 17072 17073 Added references to the whatnow(1) man page description of its 17074 attach support to the nmh(7) and send(1) man pages. 17075 17076Author: Eric Schnoebelen <eric@cirr.com> 17077Date: Fri Aug 31 09:49:37 2012 -0400 17078 17079 Move chdir() call so -recurse option works again. 17080 17081Author: Ken Hornstein <kenh@pobox.com> 17082Date: Fri Aug 31 09:46:03 2012 -0400 17083 17084 New test for folder -recurse 17085 17086Author: Ken Hornstein <kenh@pobox.com> 17087Date: Thu Aug 23 10:08:59 2012 -0400 17088 17089 Change the Bcc: code in post so it includes the From: header from the original 17090 message. 17091 17092Author: David Levine <levinedl@acm.org> 17093Date: Fri Aug 17 19:31:22 2012 -0500 17094 17095 Cleaned up message_id(). 17096 17097Author: David Levine <levinedl@acm.org> 17098Date: Fri Aug 17 19:29:49 2012 -0500 17099 17100 Removed chmod of bccfil from make_bcc_file(). It was done before 17101 bccfil was defined so it had no useful effect. m_mktemp2() sets 17102 the umask so it wasn't necessary, anyway. 17103 17104Author: David Levine <levinedl@acm.org> 17105Date: Fri Aug 10 05:20:25 2012 -0500 17106 17107 Cleaned up test-utf8-body a bit. 17108 17109Author: David Levine <levinedl@acm.org> 17110Date: Fri Aug 10 03:33:38 2012 -0500 17111 17112 Added mhbuild: -nocontentid to profile used for tests, to simplify 17113 output checking. 17114 17115Author: David Levine <levinedl@acm.org> 17116Date: Thu Aug 9 17:13:38 2012 -0500 17117 17118 Added default_content_type argument to 17119 make_mime_composition_file_entry(). It's used only to force message 17120 bodies to always use text/plain content type, which allows mhbuild to 17121 do the right thing with them. Thanks to Steve Rader for reporting 17122 that UTF-8 characters in message bodies had previously caused them to 17123 be encoded as octet-streams (with attachments managed by send), and to 17124 Ken for coming up with the fix. 17125 17126Author: David Levine <levinedl@acm.org> 17127Date: Mon Jul 23 18:17:11 2012 -0500 17128 17129 Removed nmh-from condition from rcvdistcomps. 17130 17131Author: David Levine <levinedl@acm.org> 17132Date: Sun Jul 22 20:19:19 2012 -0500 17133 17134 Fixed explanation of why the unset SHELL test is uselessif /bin/sh is bash. 17135 17136Author: David Levine <levinedl@acm.org> 17137Date: Sun Jul 22 12:04:47 2012 -0500 17138 17139 Reworked test-rcvdist so that it sees the output of post. 17140 17141Author: David Levine <levinedl@acm.org> 17142Date: Sun Jul 22 12:03:36 2012 -0500 17143 17144 Added test of whatnow with SHELL unset to test-ls, though it doesn't 17145 reveal anything on Linux, at least. 17146 17147Author: Alexander Zangerl <exmh@bin.snafu.priv.at> 17148Date: Sun Jul 22 12:01:00 2012 -0500 17149 17150 whatnow cooks up strings for executing external commands, and then 17151 feeds these strings to popen or system. These command strings rely on 17152 $SHELL being present - and if that is not the case, then we get weird 17153 error messages ("sh: -c not found" or similar). (Because both 17154 system() and popen() start up fine with the std shell, but their arg 17155 string to parse doesn't include a cmdname/path before the -c.) 17156 17157 As far as i understand the POSIX standard, SHELL is recommended but 17158 not actually mandatory, so i think it would be good to handle this a 17159 bit more robustly: by setting SHELL to /bin/sh if not present. 17160 17161Author: David Levine <levinedl@acm.org> 17162Date: Sat Jul 21 20:00:14 2012 -0500 17163 17164 Tidied up for loop in message_id(). 17165 17166Author: David Levine <levinedl@acm.org> 17167Date: Sat Jul 21 19:45:48 2012 -0500 17168 17169 With -messageid random, make the part after the @ more resemble a 17170 hostname by inserting a couple of dots, and using - and _ instead of 17171 + and /. 17172 17173Author: David Levine <levinedl@acm.org> 17174Date: Sat Jul 21 16:17:41 2012 -0500 17175 17176 Added -messageid switch to send(1) and post(8). This allows selection 17177 of the style to use for generated Message-ID and Content-ID header 17178 fields. The default localname style is pid.time@localname, where time 17179 is in seconds, and matches previous behavior. The random style 17180 replaces the localname with some (pseudo)random bytes and uses 17181 microsecond-resolution time. 17182 17183Author: David Levine <levinedl@acm.org> 17184Date: Sat Jul 21 12:42:14 2012 -0500 17185 17186 Here's a better test of Resent-From: in test-rcvdist: use the user's 17187 actual localmbox. 17188 17189Author: David Levine <levinedl@acm.org> 17190Date: Sat Jul 21 12:19:18 2012 -0500 17191 17192 Added check to notpost for presence of Resent-From:. 17193 17194Author: David Levine <levinedl@acm.org> 17195Date: Sat Jul 21 12:01:41 2012 -0500 17196 17197 If post or send fail, exit with their exit status. 17198 17199Author: David Levine <levinedl@acm.org> 17200Date: Sat Jul 21 11:58:57 2012 -0500 17201 17202 Removed #ifndef RAND/#endif that no longer had any effect. 17203 17204Author: Harvey Eneman <harvey.eneman@oracle.com> 17205Date: Sat Jul 21 11:57:29 2012 -0500 17206 17207 Fixed the default rcvdistcomps and rcvdistcomps.outbox to to insert 17208 the Resent-From: header. 17209 17210Author: David Levine <levinedl@acm.org> 17211Date: Sun Jul 15 13:35:42 2012 -0500 17212 17213 Removed debugging statement and added comments to the duplicate check 17214 of readconfig (). 17215 17216Author: David Levine <levinedl@acm.org> 17217Date: Wed Jul 11 21:37:39 2012 -0500 17218 17219 Added -mts switch to post, send, and whom. Replaced test-sendmail-pipe 17220 with test-mts. 17221 17222Author: David Levine <levinedl@acm.org> 17223Date: Mon Jul 9 22:49:59 2012 -0500 17224 17225 Removed -m from sendmail invocation with sendmail/pipe. Modern 17226 sendmail and postfix, at least, ignore it. 17227 17228Author: David Levine <levinedl@acm.org> 17229Date: Mon Jul 9 21:25:36 2012 -0500 17230 17231 Correction to previous commit, 704bdde497da69854846d51d86c440fc980c5489, 17232 to restore the behavior when using SMTP and with any blind addresses. 17233 Don't quit the SMTP session between sending the message and bcc's, but 17234 instead reset it. 17235 17236Author: David Levine <levinedl@acm.org> 17237Date: Mon Jul 9 19:47:47 2012 -0500 17238 17239 Removed use of the ONEX sendmail verb. It is obsolete, 17240 according to http://smtpfilter.sourceforge.net/esmtp.html. 17241 And was removed over 10 years ago from sendmail (8.12), 17242 according to http://www.irbs.net/internet/postfix/0111/2237.html. 17243 17244Author: David Levine <levinedl@acm.org> 17245Date: Mon Jul 9 19:15:13 2012 -0500 17246 17247 Renamed "sendmail" mts method to "sendmail/smtp", allowing "sendmail" 17248 as an alias. Renamed "pipe" to "sendmail/pipe". 17249 17250Author: David Levine <levinedl@acm.org> 17251Date: Sun Jul 8 23:17:04 2012 -0500 17252 17253 spost(8) has been merged into post(8). Its functionality is 17254 enabled by selecting the "pipe" mail transport method in 17255 etc/mts.conf, which in turn can be configured using 17256 --with-mts=pipe. The spost -noalias, -backup/-nobackup, 17257 -push/-nopush, and -remove/-noremove switches are not 17258 supported by post. Note that spost did not support -whom or 17259 Dcc, and neither does post when using mts: pipe. spost is 17260 now deprecated. 17261 17262Author: David Levine <levinedl@acm.org> 17263Date: Wed Jul 4 09:57:49 2012 -0500 17264 17265 Added test-packf. 17266 17267Author: David Levine <levinedl@acm.org> 17268Date: Wed Jul 4 07:27:15 2012 -0500 17269 17270 test-prompter: removed an unused input that was piped to the 17271 program because it sometimes caused printf to complain about a 17272 write error. 17273 17274Author: David Levine <levinedl@acm.org> 17275Date: Tue Jul 3 20:50:23 2012 -0500 17276 17277 Filtered out "From " lines when comparing mboxes because their 17278 timestamps sometimes differed by a second. 17279 17280Author: David Levine <levinedl@acm.org> 17281Date: Sun Jul 1 20:20:42 2012 -0500 17282 17283 Updated pending-release-notes. 17284 17285Author: David Levine <levinedl@acm.org> 17286Date: Sun Jul 1 19:24:36 2012 -0500 17287 17288 Rather than fix the reported bug, backslash in commented lines 17289 in alias file is interpreted, I documented that behavior in 17290 the mh-format man page and etc/MailAliases. This behavior is 17291 unfortunate, but it is a result of the implementation of nmh's 17292 vfgets() function. That function is used by other callers 17293 that expect the behavior. [Bug #23553] 17294 17295Author: David Levine <levinedl@acm.org> 17296Date: Sun Jul 1 19:20:22 2012 -0500 17297 17298 Added test-dp, test-fmtdump, test-prompter, test-rcvstore, 17299 test-rcvpack, and test-rcvdist. 17300 17301Author: David Levine <levinedl@acm.org> 17302Date: Sun Jul 1 16:44:43 2012 -0500 17303 17304 Applied patch #5571, Propagate Mail-Followup-To. 17305 17306 Also clarified man page: replgroupcomps won't be used if you 17307 specify another forms file on the command line or in your profile. 17308 17309Author: David Levine <levinedl@acm.org> 17310Date: Sun Jul 1 10:21:22 2012 -0500 17311 17312 Added note that mhmail does not read context file itself. 17313 17314Author: David Levine <levinedl@acm.org> 17315Date: Sun Jul 1 10:09:06 2012 -0500 17316 17317 Removed unused #ifdef NRTC and reference to its contents in the 17318 rcvdist man page. 17319 17320Author: David Levine <levinedl@acm.org> 17321Date: Sun Jul 1 09:14:27 2012 -0500 17322 17323 Updated man page descriptions of Msg-Protect: it defaults to 0600 and 17324 is not supported on some filesystems, such as FAT32. 17325 17326Author: David Levine <levinedl@acm.org> 17327Date: Sun Jul 1 08:32:18 2012 -0500 17328 17329 Wrapped some shell variables with quotes so the tests have a chance of 17330 running if the current directory has a character such as a space in 17331 it. Though the tests themselves need the same help for them to work. 17332 Also, added mention of Heirloom shell to test/README. 17333 17334Author: David Levine <levinedl@acm.org> 17335Date: Thu Jun 28 21:59:47 2012 -0500 17336 17337 Replaced utilities that operate on pbm files with those that operate 17338 on pnm files, per the bug report referenced below (from Dec 2005!). 17339 And changed the mhshow-show-image/x-pbm mime type to 17340 mhshow-show-image/x-pnm. [Bug #15152] 17341 17342Author: David Levine <levinedl@acm.org> 17343Date: Thu Jun 28 21:19:06 2012 -0500 17344 17345 Removed BUGS section at end of rcvstore(1) man page. It 17346 said to not use rcvstore if you use the "Unseen-Sequence" 17347 profile entry because the context (sequences file, actually) 17348 could be corrupted if multiple nmh processes tried to update 17349 it simultaneously. The locking added by commit 17350 82a21b6f3cddf8ab048dcb02c080ea9797c73c5a serialized that 17351 simultaneous update. [Bug #4361] 17352 17353Author: David Levine <levinedl@acm.org> 17354Date: Thu Jun 28 21:12:13 2012 -0500 17355 17356 Removed the one remaining unused #ifdef ISI. 17357 17358Author: David Levine <levinedl@acm.org> 17359Date: Thu Jun 28 21:11:07 2012 -0500 17360 17361 Simplified getm() a bit, removing a goto. 17362 17363Author: David Levine <levinedl@acm.org> 17364Date: Thu Jun 28 20:59:23 2012 -0500 17365 17366 Fixed ismymbox() to look at Local-Mailbox as well as 17367 Alternate-Mailboxes. The problem was that when an alternate 17368 mailbox was added to the list, the node for the local 17369 mailbox information was lost. Added check to test-mymbox. 17370 Added test-repl, because this is where it was first noticed. 17371 Also enhanced output with MHWDEBUG set to show the entire 17372 list, not just each alternate mailbox as it is added to the 17373 list. [Bug #36635]. 17374 17375Author: David Levine <levinedl@acm.org> 17376Date: Mon Jun 25 08:42:14 2012 -0500 17377 17378 Deprecated mhtest. 17379 17380Author: David Levine <levinedl@acm.org> 17381Date: Mon Jun 25 08:21:03 2012 -0500 17382 17383 Removed unused UUCPDIR and UUCPFIL #defines. 17384 17385Author: David Levine <levinedl@acm.org> 17386Date: Sun Jun 24 22:26:27 2012 -0500 17387 17388 Added test-sortm. Also clarified some details in the sortm man page. 17389 17390Author: David Levine <levinedl@acm.org> 17391Date: Sun Jun 24 19:03:05 2012 -0500 17392 17393 Added status to conflict(8) man page to note that it is deprecated. 17394 17395Author: David Levine <levinedl@acm.org> 17396Date: Sat Jun 23 09:55:01 2012 -0500 17397 17398 Allow optional -to in front of To: addresses with mhmail. 17399 17400Author: David Levine <levinedl@acm.org> 17401Date: Sat Jun 23 08:04:08 2012 -0500 17402 17403 Added checks for missing mandatory arguments to mhmail. 17404 17405Author: David Levine <levinedl@acm.org> 17406Date: Fri Jun 22 10:45:33 2012 -0500 17407 17408 Changed -header-field to -headerfield. And refer to its argument 17409 as name:value instead of name:body, to avoid the obvious confusion. 17410 17411Author: Lyndon Nerenberg <lyndon@orthanc.ca> 17412Date: Thu Jun 21 11:11:40 2012 -0700 17413 17414 Default to flock() locking on OpenBSD and Darwin. 17415 17416Author: David Levine <levinedl@acm.org> 17417Date: Wed Jun 20 19:19:31 2012 -0500 17418 17419 Refined 48959daf724bb10802ca489654035f69e701efc0 by setting up a 17420 LN variable in the Makefile that can be used to override the 17421 link command at install time. For example, on Cygwin, LN will be 17422 configured to cp. If installing on an NTFS filesystem, the user 17423 could install with make LN=ln to use ln instead of cp. 17424 17425Author: David Levine <levinedl@acm.org> 17426Date: Wed Jun 20 19:16:18 2012 -0500 17427 17428 Truncated -help test in test-whom because its output depends on whether 17429 sasl support was configured in. It's not configured in by distcheck. 17430 17431Author: David Levine <levinedl@acm.org> 17432Date: Wed Jun 20 09:09:24 2012 -0500 17433 17434 For whatever reason, gcov got fooled by test-whom until a test of 17435 -help was added. 17436 17437Author: David Levine <levinedl@acm.org> 17438Date: Wed Jun 20 08:13:46 2012 -0500 17439 17440 Quoted a bunch of shell variables in build_nmh. 17441 17442Author: David Levine <levinedl@acm.org> 17443Date: Tue Jun 19 21:30:54 2012 -0500 17444 17445 Added test-ali. 17446 17447Author: David Levine <levinedl@acm.org> 17448Date: Tue Jun 19 20:36:14 2012 -0500 17449 17450 Added printout to build_nmh to report number of tests not run. 17451 17452Author: David Levine <levinedl@acm.org> 17453Date: Tue Jun 19 20:15:18 2012 -0500 17454 17455 Added a few clarifications and more DEFAULTS to mhmail(1) man page. 17456 17457Author: David Levine <levinedl@acm.org> 17458Date: Tue Jun 19 19:54:04 2012 -0500 17459 17460 Refinement to e30560d793ff5bc704dadc2eab9d31100ad4636b: don't 17461 warn about profile components that are null, e.g., 17462 17463 : This could be a comment. 17464 17465 or just a hash, e.g., 17466 17467Author: David Levine <levinedl@acm.org> 17468Date: Tue Jun 19 10:29:47 2012 -0500 17469 17470 Changed permissions from 0755 to 0644 on a few .c files. 17471 17472Author: David Levine <levinedl@acm.org> 17473Date: Tue Jun 19 10:25:54 2012 -0500 17474 17475 Forget to add test/mhmail/attachment.txt to last commit. 17476 17477Author: David Levine <levinedl@acm.org> 17478Date: Tue Jun 19 10:13:28 2012 -0500 17479 17480 Added -attach switch to mhmail. 17481 17482Author: David Levine <levinedl@acm.org> 17483Date: Mon Jun 18 21:49:01 2012 -0500 17484 17485 Moved test-mhmail to its own test directory. 17486 17487Author: David Levine <levinedl@acm.org> 17488Date: Mon Jun 18 21:30:58 2012 -0500 17489 17490 Added mention of checkbashims script to test/README. And fixed 17491 false positive that it reported for test-mhmail. 17492 17493Author: David Levine <levinedl@acm.org> 17494Date: Mon Jun 18 21:28:26 2012 -0500 17495 17496 Added -header-field switch to mhmail. 17497 17498Author: David Levine <levinedl@acm.org> 17499Date: Mon Jun 18 18:25:10 2012 -0500 17500 17501 Added Jerrad Pierce's suggestion to use -editor prompter. 17502 17503Author: David Levine <levinedl@acm.org> 17504Date: Sun Jun 17 22:56:23 2012 -0500 17505 17506 Removed possible tmp file leak. 17507 17508Author: David Levine <levinedl@acm.org> 17509Date: Sun Jun 17 22:51:51 2012 -0500 17510 17511 mhmail now supports -profile -resend. 17512 17513Author: David Levine <levinedl@acm.org> 17514Date: Sun Jun 17 20:59:16 2012 -0500 17515 17516 Here's a better fix that e194fdf11df779597e19039a67454e9b42a77ef0 17517 for support `mhparam libdir` under "make distcheck": explicitly 17518 set libdir in the profile. 17519 17520Author: David Levine <levinedl@acm.org> 17521Date: Sun Jun 17 15:25:28 2012 -0500 17522 17523 Replaced mhmail -debug switch with -nosend, and added -send. 17524 17525Author: David Levine <levinedl@acm.org> 17526Date: Sun Jun 17 14:35:14 2012 -0500 17527 17528 Added -resent support to mhmail. It doesn't work with -profile, though. 17529 17530Author: David Levine <levinedl@acm.org> 17531Date: Sat Jun 16 10:56:53 2012 -0500 17532 17533 Fixed warning introduced by last change to man/mhmail.man. 17534 17535Author: David Levine <levinedl@acm.org> 17536Date: Sat Jun 16 10:08:18 2012 -0500 17537 17538 Removed extra [ from synopsis. 17539 17540Author: David Levine <levinedl@acm.org> 17541Date: Sat Jun 16 09:24:29 2012 -0500 17542 17543 Replaced compiled mhmail with script that was formerly named mhmail.in. 17544 Added test-mhmail. 17545 17546Author: David Levine <levinedl@acm.org> 17547Date: Sat Jun 16 09:16:18 2012 -0500 17548 17549 Reworked to be as compatible as possible with compiled mhmail. 17550 17551Author: David Levine <levinedl@acm.org> 17552Date: Fri Jun 15 21:00:28 2012 -0500 17553 17554 Added mention of mhmail as a message composition utility. 17555 17556Author: David Levine <levinedl@acm.org> 17557Date: Fri Jun 15 20:53:03 2012 -0500 17558 17559 Added nmh lib directory to PATH in setup_test (). This is necessary 17560 with "make distcheck" for scripts to access the lib directory that it 17561 installs for testing. (The distcheck target does not configure them; 17562 they retain their build configuration.) If we ever add a test for 17563 etc/sendfiles, we'll have to deal with its configured %libdir%. 17564 17565Author: David Levine <levinedl@acm.org> 17566Date: Thu Jun 14 23:28:05 2012 -0500 17567 17568 Fixed temporary autoconf workaround by hard-coding nmhbindir. 17569 17570Author: David Levine <levinedl@acm.org> 17571Date: Thu Jun 14 23:17:33 2012 -0500 17572 17573 Add trailing newline to body, if needed. 17574 17575Author: Ken Hornstein <kenh@pobox.com> 17576Date: Thu Jun 14 10:36:09 2012 -0400 17577 17578 Fix test for changes to mhparam. 17579 17580Author: Ken Hornstein <kenh@pobox.com> 17581Date: Thu Jun 14 10:33:21 2012 -0400 17582 17583 Make the base64 encoder endian-agnostic, and remove the function 17584 set_endian() since it's no longer needed. 17585 17586Author: David Levine <levinedl@acm.org> 17587Date: Thu Jun 14 09:10:23 2012 -0500 17588 17589 Documented mhparam -debug option. 17590 17591Author: David Levine <levinedl@acm.org> 17592Date: Thu Jun 14 08:54:35 2012 -0500 17593 17594 If heirloom shell is in /usr/lib/heirloom/5bin/sh, use it to run tests. 17595 17596Author: David Levine <levinedl@acm.org> 17597Date: Thu Jun 14 08:35:14 2012 -0500 17598 17599 If post/send fail, save the draft in dead.letter, the same as 17600 compiled mhmail. 17601 17602Author: David Levine <levinedl@acm.org> 17603Date: Thu Jun 14 08:30:30 2012 -0500 17604 17605 Added etcdir and libdir. And added mention that component name 17606 matching is case-insensitive. 17607 17608Author: Alexander Zangerl <exmh@bin.snafu.priv.at> 17609Date: Thu Jun 14 07:31:40 2012 -0500 17610 17611 The base64-decoder doesn't work on 64-bit big-endian architectures: 17612 mhstore and co. write files of the correct length but which consist 17613 only of \0s. 17614 17615 The culprit is uip/mhparse.c, which contains a pretty ugly base64 17616 decoder (in two places). that thing allocates a "long int" as a 17617 container for the 24 bits that you get from four base-64 chars. the 17618 container is then accessed both as a single entity and as a byte 17619 array, which naturally depends on how wide the long int is and in what 17620 order things end up in there. 17621 17622 The code distinguishes between big- and little-endian systems but 17623 wrongly assumes that sizeof(long int) == 4, which isn't universally 17624 true (quel surprise...). 17625 17626 The attached patch fixes the issue, but in the long run we should 17627 insist on posix and use a64l(). 17628 17629Author: David Levine <levinedl@acm.org> 17630Date: Wed Jun 13 23:12:22 2012 -0500 17631 17632 Support empty message body in mhmail.in the same way as in mhmail. 17633 17634Author: David Levine <levinedl@acm.org> 17635Date: Wed Jun 13 22:59:05 2012 -0500 17636 17637 Added support to mhmail.in to read message from stdin. 17638 17639Author: David Levine <levinedl@acm.org> 17640Date: Wed Jun 13 22:32:46 2012 -0500 17641 17642 Removed newline before generated From:. 17643 17644Author: David Levine <levinedl@acm.org> 17645Date: Wed Jun 13 22:19:19 2012 -0500 17646 17647 Added mhmail.in. start of a replacement for compiled mhmail. 17648 17649Author: David Levine <levinedl@acm.org> 17650Date: Wed Jun 13 22:18:43 2012 -0500 17651 17652 Removed unnecessary comment. 17653 17654Author: David Levine <levinedl@acm.org> 17655Date: Wed Jun 13 22:16:46 2012 -0500 17656 17657 Removed another faceproc relic. 17658 17659Author: David Levine <levinedl@acm.org> 17660Date: Wed Jun 13 08:55:19 2012 -0500 17661 17662 Added BUGS section to mh-tailor man file to note that failure to open 17663 mts.conf is silently ignored.. And added to its DEFAULTS section. 17664 Also changed to consistent use of "mail transport configuration file". 17665 17666Author: David Levine <levinedl@acm.org> 17667Date: Tue Jun 12 21:36:16 2012 -0500 17668 17669 Generate a From: header, using localmbox, if the user doesn't provide 17670 a -from when sending with mhmail. 17671 17672Author: David Levine <levinedl@acm.org> 17673Date: Tue Jun 12 21:16:34 2012 -0500 17674 17675 Fixed the export of LC_ALL so that it work with old Bourne shell. 17676 17677Author: Alexander Zangerl <exmh@bin.snafu.priv.at> 17678Date: Tue Jun 12 21:06:44 2012 -0500 17679 17680 Occasionally the post tests attempt to talk to fakesmtp before that 17681 has completly started up. Inserted a check between starting up 17682 fakesmtp and talking to it, and delay and retry if necessary, to 17683 avoid that scenario. 17684 17685Author: Alexander Zangerl <exmh@bin.snafu.priv.at> 17686Date: Tue Jun 12 19:11:57 2012 -0500 17687 17688 Changed remaining uses of MAXPATHLEN to PATH_MAX. 17689 17690Author: David Levine <levinedl@acm.org> 17691Date: Mon Jun 11 22:02:55 2012 -0500 17692 17693 Can't use -ansi with gcc 4.5.3 on Cygwin, at least through setup 17694 setup version 2.763, because it disables some features in the 17695 system system header files. Added configure check, when using gcc, 17696 for -ansi (and don't use -pedantic without it). 17697 17698Author: Ken Hornstein <kenh@pobox.com> 17699Date: Mon Jun 11 00:26:21 2012 -0400 17700 17701 Fix typo in gpg command and handle the .sig file properly. 17702 17703Author: David Levine <levinedl@acm.org> 17704Date: Sun Jun 10 22:50:24 2012 -0500 17705 17706 Replaced run-time detection of hard-link support with compile- time 17707 detection. This way, Cygwin packages can be built on NTFS or other 17708 filesystems but still bee installed on FAT file systems, which do not 17709 support hard links. 17710 17711Author: David Levine <levinedl@acm.org> 17712Date: Sun Jun 10 09:58:52 2012 -0500 17713 17714 Added section 7 to man pages. 17715 17716Author: David Levine <levinedl@acm.org> 17717Date: Sun Jun 10 09:53:48 2012 -0500 17718 17719 Updates to SPECS/build-nmh-cygwin: 17720 1) Configure with sysconfdir=/etc/nmh so to minimize pollution of /etc. 17721 2) Disabled install_docs because nmh's make install takes care of it. 17722 Though it installs in /usr/share/doc/nmh/ instead of 17723 /usr/share/doc/nmh-<version>/, that seems to be more common on Cygwin 17724 than using the -<version>. 17725 3) Added comments (also added to MACHINES) about the packages that would 17726 be needed to configure with --with-cyrus-sasl and --with-tls. 17727 17728Author: David Levine <levinedl@acm.org> 17729Date: Sun Jun 10 09:51:03 2012 -0500 17730 17731 Moved nmh and mh-chart man pages from section 1 to section 7. 17732 Alexander Zangerl noted that Debian already did this, and it 17733 seems appropriate. 17734 17735Author: Alexander Zangerl <exmh@bin.snafu.priv.at> 17736Date: Sun Jun 10 09:20:08 2012 -0500 17737 17738 Corrected install-mh man page to show that it is installed in section 1, not 8. 17739 17740Author: Alexander Zangerl <exmh@bin.snafu.priv.at> 17741Date: Sun Jun 10 09:19:20 2012 -0500 17742 17743 Ensure that writes to /dev/tty succeed to determine if it is writeable. 17744 17745Author: Alexander Zangerl <exmh@bin.snafu.priv.at> 17746Date: Sun Jun 10 09:18:22 2012 -0500 17747 17748 Use cat for moreproc in testsuite in case it is run without tty. 17749 17750Author: David Levine <levinedl@acm.org> 17751Date: Sat Jun 9 09:31:19 2012 -0500 17752 17753 Added warning to all nmh programs for multiple profile entries for the 17754 same component. Until now, all but the first were silently ignored. 17755 17756Author: David Levine <levinedl@acm.org> 17757Date: Fri Jun 8 20:59:32 2012 -0500 17758 17759 Added INSTALL, NEWS, and README to dist_doc_DATA so that they get installed. 17760 17761Author: David Levine <levinedl@acm.org> 17762Date: Thu Jun 7 22:07:54 2012 -0500 17763 17764 Changed repl and dist default to -noatfile. 17765 17766Author: David Levine <levinedl@acm.org> 17767Date: Thu Jun 7 11:07:00 2012 -0500 17768 17769 Removed docs/pending-release-notes-tmp, which was added by mistake. 17770 17771Author: David Levine <levinedl@acm.org> 17772Date: Wed Jun 6 22:41:29 2012 -0500 17773 17774 Removed faceproc support, deprecated in nmh 1.5. 17775 17776Author: David Levine <levinedl@acm.org> 17777Date: Wed Jun 6 22:02:21 2012 -0500 17778 17779 Removed the following environment variables, deprecated in nmh 1.5: 17780 MHPOPDEBUG (use -snoop command line switch instead) 17781 MM_NOASK (use -nolist and -nopause command line switches instead) 17782 NOMHNPROC (use -nocheckmime command line switch instead) 17783 17784Author: David Levine <levinedl@acm.org> 17785Date: Wed Jun 6 21:08:53 2012 -0500 17786 17787 Changed exit status of each nmh command's -version and -help switches 17788 from 1 to 0. 17789 17790Author: Ken Hornstein <kenh@pobox.com> 17791Date: Sun Jun 3 15:38:39 2012 -0400 17792 17793 Fix incorrect documentation about the install process for files in 'etc'. 17794 Noted by Norm Shapiro. 17795 17796Author: Ken Hornstein <kenh@pobox.com> 17797Date: Sun Jun 3 15:29:27 2012 -0400 17798 17799 One more lowercase for the content-transfer-encoding. 17800 17801Author: Ken Hornstein <kenh@pobox.com> 17802Date: Fri Jun 1 10:25:37 2012 -0400 17803 17804 Fix off-by-one error, noticed by Ralph Corderoy. 17805 17806Author: Paul Fox <pgf@foxharp.boston.ma.us> 17807Date: Thu May 31 15:15:36 2012 -0400 17808 17809 Implement the following changes: 17810 17811 - Special #on/#off/#pop directives to control the MIME directive 17812 processing state 17813 - A flag (-directives) to control whether or not mhbuild will honor MIME 17814 directives by default. 17815 17816Author: Ken Hornstein <kenh@pobox.com> 17817Date: Thu May 31 14:56:47 2012 -0400 17818 17819 Convert the content-transfer-encoding to lower-case always. 17820 17821Author: David Levine <levinedl@acm.org> 17822Date: Tue May 29 07:57:30 2012 -0500 17823 17824 Unset MM_CHARSET so it doesn't interfere with test-scan-multibyte. 17825 17826Author: Ken Hornstein <kenh@pobox.com> 17827Date: Sat May 26 01:55:08 2012 -0400 17828 17829 Support for handling multibyte encodings in cpstripped(), which 17830 means that multibyte character encodings should work correctly 17831 on all systems which support the POSIX wide character functions. 17832 17833Author: David Levine <levinedl@acm.org> 17834Date: Wed May 23 22:16:14 2012 -0500 17835 17836 Update the current folder and current message and synchronize 17837 sequences before showing the messages instead of after. This 17838 way, the context will be updated even if the user exists while 17839 viewing the messages. 17840 17841Author: David Levine <levinedl@acm.org> 17842Date: Mon May 21 20:05:19 2012 -0500 17843 17844 comp and dist cannot take multiple message arguments. mhbuild does 17845 not set context. 17846 17847Author: David Levine <levinedl@acm.org> 17848Date: Mon May 21 20:03:57 2012 -0500 17849 17850 Changed wording to say that the last message selected (not necessarily 17851 shown) will become the current message. That's consistent with the 17852 mhlist and mhstore man pages. 17853 17854Author: Ken Hornstein <kenh@pobox.com> 17855Date: Thu May 17 08:34:29 2012 -0400 17856 17857 Minor changes to replyfilter to make it compatible with older versions of Perl. 17858 17859Author: David Levine <levinedl@acm.org> 17860Date: Sat May 12 11:02:21 2012 -0500 17861 17862 Used this version, renamed nmh-1.5-1.sh, in application for Cygwin package. 17863 17864Author: David Levine <levinedl@acm.org> 17865Date: Sat May 12 09:30:27 2012 -0500 17866 17867 Allow selection of locking type. 17868 17869Author: David Levine <levinedl@acm.org> 17870Date: Sat May 12 07:44:16 2012 -0500 17871 17872 SIGNATURE/Local-Mailbox are not used by post, but just by front 17873 ends (comp, forw, repl, etc.) that read the profile. 17874 17875Author: David Levine <levinedl@acm.org> 17876Date: Thu May 10 21:23:09 2012 -0500 17877 17878 Don't test with sendmail because it would really send the mail. If 17879 configured to use sendmail, change the mts.conf used by the test suite 17880 to use smtp instead. 17881 17882Author: David Levine <levinedl@acm.org> 17883Date: Wed May 9 22:05:28 2012 -0500 17884 17885 Wrap local part (username) of address with double quotes if needed. 17886 17887Author: David Levine <levinedl@acm.org> 17888Date: Tue May 8 22:19:29 2012 -0500 17889 17890 Skip the Cygwin package (.bz2) file when searching for the input (.gz) file. 17891 17892Author: David Levine <levinedl@acm.org> 17893Date: Tue May 8 20:29:57 2012 -0500 17894 17895 Added test script constructs to avoid. 17896 17897Author: David Levine <levinedl@acm.org> 17898Date: Tue May 8 10:16:46 2012 -0500 17899 17900 Fixed patch section of prep(). 17901 17902Author: David Levine <levinedl@acm.org> 17903Date: Tue May 8 10:16:17 2012 -0500 17904 17905 Added MACHINES to EXTRA_DIST so that it gets put in the distribution. 17906 17907Author: David Levine <levinedl@acm.org> 17908Date: Mon May 7 18:35:28 2012 -0500 17909 17910 Removed locking type selection from build_nmh now that it's in configure. 17911 17912Author: David Levine <levinedl@acm.org> 17913Date: Mon May 7 18:33:18 2012 -0500 17914 17915 build-nmh-cygwin no longer needs to DISABLE_SETGID_MAIL now that configure 17916 uses fcntl on Cygwin. 17917 17918Author: David Levine <levinedl@acm.org> 17919Date: Mon May 7 17:25:43 2012 -0500 17920 17921 Added -ansi -pedantic with gcc. 17922 17923Author: David Levine <levinedl@acm.org> 17924Date: Mon May 7 16:45:32 2012 -0500 17925 17926 Added $(TESTS_SHELL) at end of TESTS_ENVIRONMENT. This lets the 17927 user run the tests using a shell other than the default /bin/sh 17928 by using, e.g., make check TESTS_SHELL=/bin/bash. Thanks to 17929 Tom Lane <tgl@sss.pgh.pa.us> for suggesting this. 17930 17931Author: David Levine <levinedl@acm.org> 17932Date: Mon May 7 16:35:16 2012 -0500 17933 17934 Fixed some more problems caught by gcc -ansi -pedantic. 17935 17936Author: Tom Lane <tgl@sss.pgh.pa.us> 17937Date: Mon May 7 16:14:37 2012 -0500 17938 17939 Fixed places in the code relying the C99-ism of declarations in the 17940 midst of a code block. 17941 17942Author: David Levine <levinedl@acm.org> 17943Date: Mon May 7 08:57:38 2012 -0500 17944 17945 Removed --enable-pop and SETGID_MAIL= from nmh.spec. 17946 17947Author: Ken Hornstein <kenh@pobox.com> 17948Date: Mon May 7 09:45:38 2012 -0400 17949 17950 Fix test so it will work on terminal widths other than 80. 17951 17952Author: David Levine <levinedl@acm.org> 17953Date: Sun May 6 21:53:18 2012 -0500 17954 17955 Default to fcntl locking for AIX, Cygwin, and Linux. Without it 17956 on Cygwin, nmh is unusable on FAT32 filesystems. 17957 17958 Default to flock on FreeBSD. 17959 17960Author: David Levine <levinedl@acm.org> 17961Date: Sun May 6 21:52:22 2012 -0500 17962 17963 Added note about test/inc/test-deb359167 failing because valgrind 17964 detects use of an uninitialized variable on older Linux distributions. 17965 17966Author: Ken Hornstein <kenh@pobox.com> 17967Date: Sun May 6 13:41:07 2012 -0400 17968 17969 Fix the case of the MacOS X dSYM directories. 17970 17971Author: David Levine <levinedl@acm.org> 17972Date: Sun May 6 11:14:49 2012 -0500 17973 17974 Remove any existing Local-Mailbox: profile component before adding one. 17975 17976Author: David Levine <levinedl@acm.org> 17977Date: Sun May 6 10:59:42 2012 -0500 17978 17979 Added check for EPERM when checking errno after a failed link(2). 17980 Cygwin will produce that on FAT32 filesystems. Must do this at 17981 runtime rather than configure time because link() succeeds on 17982 NTFS filesystems. 17983 17984Author: David Levine <levinedl@acm.org> 17985Date: Sat May 5 10:05:36 2012 -0500 17986 17987 Check for success of hard links of bin files. If they fail, try sym 17988 links. On Cygwin, the choice of ln or ln -s must be made at install 17989 time, not configure time, because some filesystems (NTFS) support hard 17990 links but others (FAT32) don't. Fallback to cp -p, though might not 17991 be needed, just in case. 17992 17993Author: David Levine <levinedl@acm.org> 17994Date: Sat May 5 10:04:35 2012 -0500 17995 17996 Customized generic SPECS/build-nmh-cygwin for nmh. 17997 17998Author: David Levine <levinedl@acm.org> 17999Date: Sat May 5 09:54:10 2012 -0500 18000 18001 Replaced mh_profile man page hard link with new man/mh_profile.man. 18002 The hard link isn't be supported by SPECS/build-nmh-cygwin. And it's 18003 consistent with the handling of other aliased man pages. 18004 18005Author: David Levine <levinedl@acm.org> 18006Date: Sat May 5 09:16:49 2012 -0500 18007 18008 Added SPECS/build-nmh-cygwin. This version isn't ready: it's 18009 a renamed download of 18010 http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/packaging/templates/generic-build-script?content-type=text/plain&cvsroot=cygwin-apps 18011 It's committed in its original form so we can easily view changes 18012 to it. 18013 18014Author: David Levine <levinedl@acm.org> 18015Date: Sat May 5 09:14:48 2012 -0500 18016 18017 Moved nmh.spec to new SPECS directory. 18018 18019Author: David Levine <levinedl@acm.org> 18020Date: Mon Apr 30 21:56:26 2012 -0500 18021 18022 Removed documentation of obsolete WHATNOW configuration option and 18023 built-in FTP client. Removed some completed and obsolete tasks from 18024 TODO. 18025 18026Author: David Levine <levinedl@acm.org> 18027Date: Sat Apr 28 15:56:36 2012 -0500 18028 18029 Allow a user to enable setgid of inc when running distcheck with: 18030 make distcheck DISTCHECK_CONFIGURE_FLAGS=DISABLE_SETGID_MAIL=0 18031 though that's probably never going to be used. 18032 (cherry picked from commit b83b264039d4245810cb845a540c024032a45ac4) 18033 18034Author: David Levine <levinedl@acm.org> 18035Date: Sat Apr 28 07:55:16 2012 -0500 18036 18037 Disable setgid of inc (SETGID_MAIL=1) when running distcheck. 18038 (cherry picked from commit 9ba93ac9c535b678bb602094997a797ba8b33666) 18039 18040Author: Lyndon Nerenberg <lyndon@orthanc.ca> 18041Date: Fri Apr 27 18:31:36 2012 -0700 18042 18043 Formatting cleanup. 18044 18045Author: Ken Hornstein <kenh@pobox.com> 18046Date: Fri Apr 27 20:25:20 2012 -0400 18047 18048 Updates OS specific notes. 18049 18050Author: David Levine <levinedl@acm.org> 18051Date: Thu Apr 26 20:37:59 2012 -0500 18052 18053 Moved the set +e up to capture one more test in test-pick. That 18054 test heirloom-sh to exit. 18055 (cherry picked from commit f793aa71e4f7375daeb2cc9ef25512172fcb1451) 18056 18057Author: David Levine <levinedl@acm.org> 18058Date: Wed Apr 25 20:32:10 2012 -0500 18059 18060 Use case statement to check for proper result from "mhparam sbackup". 18061 Also replaced a couple of other uses of grep with case statements. 18062 (cherry picked from commit 2f4fc229fd6578389b0435b044dc559d9d9bc292) 18063 18064Author: David Levine <levinedl@acm.org> 18065Date: Wed Apr 25 20:08:55 2012 -0500 18066 18067 Removed the mv of the file after running sed on it. 18068 (cherry picked from commit 214da7bcd1ef52c46d4e77c787517d9403c97046) 18069 18070Author: David Levine <levinedl@acm.org> 18071Date: Wed Apr 25 20:08:03 2012 -0500 18072 18073 Unset all MH environment variables that aren't set below. 18074 (cherry picked from commit 16dba0d07e94832ef9a077e6524714d0e433a111) 18075 18076Author: David Levine <levinedl@acm.org> 18077Date: Wed Apr 25 14:21:42 2012 -0500 18078 18079 1) With SETGID_MAIL enabled (only with dot locking), if the chgrp of 18080 inc fails during install, don't attempt to chmod it. This will 18081 cause make install to fail, which is good in this case. 18082 2) Added SETGID_MAIL= to the install by the test suite so that it 18083 does not attempt the chgrp+chmod. The test suite didn't need them. 18084 3) Removed the SETGID_MAIL= from the test suite invocation in build_nmh. 18085 (cherry picked from commit 721276218bc03d4b0d86306c9b2990fae6f07426) 18086 18087Author: Ken Hornstein <kenh@pobox.com> 18088Date: Wed Apr 25 13:02:33 2012 -0500 18089 18090 Disable utmpx support for systems that lack getutxent. 18091 18092Author: Oliver Kiddle <okiddle@yahoo.co.uk> 18093Date: Wed Apr 25 17:40:09 2012 +0200 18094 18095 futher test suite fixes to work on Solaris 18096 18097Author: David Levine <levinedl@acm.org> 18098Date: Tue Apr 24 21:04:54 2012 -0500 18099 18100 Fixed test suite to work with Solaris Bourne shell: 18101 1) Removed ! (negation) of statuses. 18102 2) Removed initializations from export statements. 18103 3) Replaced $() with ``. 18104 4) Replaced $(()) (and expr) with new function arith_eval (). 18105 (cherry picked from commit a6af3b6300e02ade9f223f8d91667f590d191dc9) 18106 18107Author: Ken Hornstein <kenh@pobox.com> 18108Date: Tue Apr 24 17:02:38 2012 -0500 18109 18110 Update info for mh-profile documenting comment format and the 18111 restriction on blank lines. 18112 18113Author: David Levine <levinedl@acm.org> 18114Date: Tue Apr 24 14:23:44 2012 -0500 18115 18116 Fixed to work with Solaris Bourne shell. 18117 18118Author: David Levine <levinedl@acm.org> 18119Date: Tue Apr 24 14:22:06 2012 -0500 18120 18121 Added build_nmh to dist_contrib_DATA. 18122 18123Author: Ken Hornstein <kenh@pobox.com> 18124Date: Sun Apr 22 14:47:57 2012 -0500 18125 18126 The mh-users list at UCI is no longer. 18127 18128Author: Ken Hornstein <kenh@pobox.com> 18129Date: Sun Apr 22 13:30:33 2012 -0500 18130 18131 Got the hostname for the savannah upload area wrong. 18132 18133Author: Ken Hornstein <kenh@pobox.com> 18134Date: Sun Apr 22 12:59:18 2012 -0500 18135 18136 Update for post-1.5 release. 18137 18138Author: Ken Hornstein <kenh@pobox.com> 18139Date: Sun Apr 22 09:37:36 2012 -0400 18140 18141 Clean up help messages a bit. 18142 18143Author: Ken Hornstein <kenh@pobox.com> 18144Date: Sun Apr 22 09:37:24 2012 -0400 18145 18146 Clean up install documentation a bit. 18147 18148Author: Ken Hornstein <kenh@pobox.com> 18149Date: Fri Apr 20 14:43:16 2012 -0400 18150 18151 Implment -noatfile in a different way; it turns out my previous change 18152 broke dist with -noatfile. 18153 18154Author: Ken Hornstein <kenh@pobox.com> 18155Date: Mon Apr 16 10:33:13 2012 -0400 18156 18157 Change the cscope target slightly so the source code from the historical 18158 tree isn't found. 18159 18160Author: David Levine <levinedl@acm.org> 18161Date: Sun Apr 15 10:02:23 2012 -0500 18162 18163 Added declaration of __srget() on Cygwin. Used point solution because 18164 this shouldn't be needed for much longer. 18165 18166Author: David Levine <levinedl@acm.org> 18167Date: Sun Apr 15 10:00:22 2012 -0500 18168 18169 Added -Wno-sign-compare, if supported, to compile of sbr/dtimep.c. 18170 It's code generated by flex and some versions produce a 18171 signed/unsigned mismatch. 18172 18173Author: Ken Hornstein <kenh@pobox.com> 18174Date: Fri Apr 13 11:23:20 2012 -0400 18175 18176 Sigh. More changes for newer versions of perl. 18177 18178Author: Ken Hornstein <kenh@pobox.com> 18179Date: Thu Apr 12 21:07:57 2012 -0400 18180 18181 Support -fmtproc -nofmtproc in show. 18182 18183Author: Ken Hornstein <kenh@pobox.com> 18184Date: Thu Apr 12 20:42:52 2012 -0400 18185 18186 More updates to replyfilter 18187 18188Author: Ken Hornstein <kenh@pobox.com> 18189Date: Thu Apr 12 11:40:42 2012 -0400 18190 18191 Clean up fakesmtp and the post tests a bit to hopefully reduce race 18192 conditions that make the tests fail sometimes. 18193 18194Author: David Levine <levinedl@acm.org> 18195Date: Wed Apr 11 20:59:57 2012 -0500 18196 18197 Undid wrapping of setjmp() and sigsetjmp() of 18198 4548981fb45fbc917cc2c26b7c96b31cf a14bc9b. What a bad idea. 18199 18200Author: David Levine <levinedl@acm.org> 18201Date: Wed Apr 11 20:42:22 2012 -0500 18202 18203 Tweaked build_nmh to work with Cygwin. 18204 18205Author: David Levine <levinedl@acm.org> 18206Date: Tue Apr 10 20:47:46 2012 -0500 18207 18208 Removed unused Hesiod relic. 18209 18210Author: David Levine <levinedl@acm.org> 18211Date: Tue Apr 10 20:47:16 2012 -0500 18212 18213 Added docs/contrib/build_nmh script. 18214 18215Author: Ken Hornstein <kenh@pobox.com> 18216Date: Fri Apr 6 15:55:14 2012 -0400 18217 18218 Add support for -fmtproc and -nofmtproc switches to repl. 18219 18220Author: David Levine <levinedl@acm.org> 18221Date: Fri Apr 6 13:27:30 2012 -0500 18222 18223 Changed test-mhparam to allow # sbackup. 18224 18225Author: Ken Hornstein <kenh@pobox.com> 18226Date: Fri Apr 6 13:57:20 2012 -0400 18227 18228 Fix forw so it respects the -form switch again for non-digests. 18229 18230Author: Ken Hornstein <kenh@pobox.com> 18231Date: Fri Apr 6 13:56:03 2012 -0400 18232 18233 Refere to VERSION via srcdir so this works when doing objdir builds. 18234 18235Author: David Levine <levinedl@acm.org> 18236Date: Fri Apr 6 12:27:22 2012 -0500 18237 18238 Reworked mhparam tests of components in procs array to depend on 18239 values set in common.sh, notably $pagerpath. 18240 18241Author: David Levine <levinedl@acm.org> 18242Date: Thu Apr 5 20:15:06 2012 -0500 18243 18244 Added mhparam test of each component in procs array in uip/mhparam.c. 18245 18246Author: David Levine <levinedl@acm.org> 18247Date: Thu Apr 5 17:14:57 2012 -0500 18248 18249 Fixed install-mh -auto test by specifying HOME. 18250 18251Author: Ken Hornstein <kenh@pobox.com> 18252Date: Wed Apr 4 23:33:40 2012 -0400 18253 18254 Sigh. More corner cases to deal with! 18255 18256Author: David Levine <levinedl@acm.org> 18257Date: Wed Apr 4 21:41:39 2012 -0500 18258 18259 Changed rmm, send, and whatnow man pages to be consistent with the 18260 refile man page with mention of site-dependent prefix (usually a comma). 18261 18262Author: Ken Hornstein <kenh@pobox.com> 18263Date: Wed Apr 4 15:55:36 2012 -0400 18264 18265 Fixed some more charset/encoding stuff. 18266 18267Author: Lyndon Nerenberg <lyndon@orthanc.ca> 18268Date: Tue Apr 3 19:07:52 2012 -0700 18269 18270 This is a test commit to se if the savannah git hub will stop spewing 18271 source diffs in commit email messages. 18272 18273 In this case, there should be a half-dozen lines of my bable, and 18274 no context diffs from the one line change I made in this commit. 18275 18276Author: David Levine <levinedl@acm.org> 18277Date: Tue Apr 3 20:47:17 2012 -0500 18278 18279 Moved nmh.spec and docs/replyfilter to new docs/contrib/ directory. 18280 18281Author: Ken Hornstein <kenh@pobox.com> 18282Date: Tue Apr 3 15:56:41 2012 -0400 18283 18284 A few more bugs I didn't catch earlier. 18285 18286Author: Ken Hornstein <kenh@pobox.com> 18287Date: Tue Apr 3 13:04:47 2012 -0400 18288 18289 Fix some bugs in replyfilter. 18290 18291Author: Ken Hornstein <kenh@pobox.com> 18292Date: Mon Apr 2 15:58:12 2012 -0400 18293 18294 Whoops, fix a typo in my last commit. 18295 18296Author: Ken Hornstein <kenh@pobox.com> 18297Date: Mon Apr 2 15:39:00 2012 -0400 18298 18299 Bring in replyfilter to the docs directory. 18300 18301Author: Ken Hornstein <kenh@pobox.com> 18302Date: Mon Apr 2 15:38:40 2012 -0400 18303 18304 Implement fix in 59b086daa57105e8fbd8b1e6ba60be6a845faf95 here as well. 18305 18306Author: David Levine <levinedl@acm.org> 18307Date: Sat Mar 31 11:52:10 2012 -0500 18308 18309 Added const qualifier to a couple of local pointers to get rid of compile warnings with --with-tls. 18310 18311Author: David Levine <levinedl@acm.org> 18312Date: Mon Mar 26 21:28:54 2012 -0500 18313 18314 Removed hostable relics from h/mts.h and sbr/mts.c. 18315 18316Author: David Levine <levinedl@acm.org> 18317Date: Mon Mar 26 20:32:03 2012 -0500 18318 18319 Removed the hostable option from mts.conf because it's no longer used. 18320 This allowed removal of mts/smtp/hosts.c. 18321 18322Author: David Levine <levinedl@acm.org> 18323Date: Sun Mar 25 22:42:36 2012 -0500 18324 18325 Added test-install-mh. 18326 18327Author: David Levine <levinedl@acm.org> 18328Date: Sat Mar 24 21:47:31 2012 -0500 18329 18330 Note that %(myname) truncates the GECOS field at the first comma, if 18331 it contains one. 18332 18333Author: Ken Hornstein <kenh@pobox.com> 18334Date: Sat Mar 24 22:32:13 2012 -0400 18335 18336 Add support for %(size). 18337 18338Author: David Levine <levinedl@acm.org> 18339Date: Sat Mar 24 21:09:20 2012 -0500 18340 18341 Removed -realsize from man page because mhshow doesn't support it. 18342 18343Author: David Levine <levinedl@acm.org> 18344Date: Sat Mar 24 09:22:41 2012 -0500 18345 18346 Fixed Cygwin notes. 18347 18348Author: David Levine <levinedl@acm.org> 18349Date: Sat Mar 24 09:13:47 2012 -0500 18350 18351 Ensure that escape_display_name() can't overrun a buffer. 18352 18353Author: David Levine <levinedl@acm.org> 18354Date: Sat Mar 24 09:04:34 2012 -0500 18355 18356 Cleaned up compile warnings. 18357 18358Author: Ken Hornstein <kenh@pobox.com> 18359Date: Sat Mar 24 02:15:49 2012 -0400 18360 18361 Add this support for setting the CT_ADDR flag. 18362 18363Author: Ken Hornstein <kenh@pobox.com> 18364Date: Sat Mar 24 02:08:03 2012 -0400 18365 18366 Sigh. Turns out last change broke a few tests, because it trimmed the 18367 newline on the "body" component. Ignore that and the text component as 18368 well for trimming. Also create some tests for the repl changes. 18369 18370Author: Ken Hornstein <kenh@pobox.com> 18371Date: Sat Mar 24 01:16:42 2012 -0400 18372 18373 Revert commit 255d4c646c0d7aa6b049052fef47fa083b1b1506 and solve 18374 the problem another way. 18375 18376 The component parser needs to save the newlines so it can combine 18377 multiple headers properly. So for us, strip out any trailing newlines 18378 when we call fmt_scan(). 18379 18380Author: Ken Hornstein <kenh@pobox.com> 18381Date: Fri Mar 23 23:21:35 2012 -0400 18382 18383 Modify the whatnow tests to deal with different versions of readline; 18384 some echo the input, some do not. 18385 18386Author: Ken Hornstein <kenh@pobox.com> 18387Date: Thu Mar 22 23:34:08 2012 -0400 18388 18389 If the number of messages in a folder is zero, then don't try to 18390 clear out the sequence list; this can cause you to run off the 18391 beginning of the malloc'd buffer. This can happen when you use 18392 "comp" with a draft folder, the draft folder is empty, and you have 18393 a previous sequence set in your .mh_profile. As far as I can tell 18394 this has been a problem for nearly forever, but I only ran into it 18395 recently when adding the readline support. Go figure. 18396 18397Author: David Levine <levinedl@acm.org> 18398Date: Thu Mar 22 21:06:47 2012 -0500 18399 18400 Added function escape_display_name() to double quote, if not already, 18401 a fullname that contains any of the special characters listed in RFC 18402 5322, and escape unescaped, embedded double quotes. 18403 18404 With this change, nmh should work with no special configuration on 18405 Cygwin, even if the user's fullname is of the form server\name. 18406 18407Author: David Levine <levinedl@acm.org> 18408Date: Thu Mar 22 19:40:17 2012 -0500 18409 18410 Moved NMH_READLINE to after our setting of CFLAGS, because 18411 AC_SEARCH_LIBS messes with them. 18412 18413Author: David Levine <levinedl@acm.org> 18414Date: Wed Mar 21 20:01:06 2012 -0500 18415 18416 If a pager isn't specified with configure --with-pager, look in order 18417 for more, less, and most. Fall back to cat, to avoid catastrophic 18418 failure of mhshow, et al., if pagerpath is set to "no". 18419 18420 Updated Cygwin section of MACHINES. 18421 18422Author: Ken Hornstein <kenh@pobox.com> 18423Date: Wed Mar 21 15:27:15 2012 -0400 18424 18425 Support for readline command history, editing, and completion at the 18426 WhatNow? prompt. Based on work by Steve Rader. 18427 18428Author: Ken Hornstein <kenh@pobox.com> 18429Date: Wed Mar 21 12:22:16 2012 -0400 18430 18431 Revert previous change to get rid of MULTIBYTE_SUPPORT ifdef. It turns out 18432 this breaks the Plan 9 build. But include a check for the multibyte functions 18433 so we get MULTIBYTE_SUPPORT on systems that have it. 18434 18435 This reverts commit bd4fca3a8a15b35a04bdc333503c901d677c12eb. 18436 18437Author: David Levine <levinedl@acm.org> 18438Date: Tue Mar 20 23:49:17 2012 -0500 18439 18440 Fixed harmless compile warnings. 18441 18442Author: Ken Hornstein <kenh@pobox.com> 18443Date: Tue Mar 20 21:36:37 2012 -0400 18444 18445 It turns out that as part of POSIXification we got rid of checks for 18446 wcwidth and mbtowc (because they're part of POSIX) but we didn't turn on 18447 MULTIBYTE_SUPPORT because configure was testing to see if those functions 18448 were supported ... and because the tests never ran, it always came back 18449 as not being supported. Time to bite the bullet and turn MULTIBYTE_SUPPORT 18450 on by default. 18451 18452Author: Ken Hornstein <kenh@pobox.com> 18453Date: Tue Mar 20 20:22:19 2012 -0400 18454 18455 Document formatarg. 18456 18457Author: Ken Hornstein <kenh@pobox.com> 18458Date: Tue Mar 20 19:52:29 2012 -0400 18459 18460 Use _exit() instead of exit() so our writer process doesn't flush out 18461 the stdio buffers on exit. 18462 18463Author: Ken Hornstein <kenh@pobox.com> 18464Date: Tue Mar 20 19:15:18 2012 -0400 18465 18466 Basic work to add arguments to formatproc calls. 18467 18468Author: Ken Hornstein <kenh@pobox.com> 18469Date: Mon Mar 19 21:37:14 2012 -0400 18470 18471 Just for sanity's sake, double check the "inc" results also with "scan". 18472 18473Merge: e8ed3af 740e258 18474Author: David Levine <levinedl@acm.org> 18475Date: Sun Mar 18 20:59:06 2012 -0500 18476 18477 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 18478 18479Author: Steve Rader <rader@hep.wisc.edu> 18480Date: Sun Mar 18 20:57:08 2012 -0500 18481 18482 Added list of hand picked types initially genereted by... 18483 cat /etc/mime.types \ 18484 | perl -ane 'if ($F[1] ne "") {print "mhshow-suffix-$F[0]:.$F[1]\n"}' 18485 18486Author: Ken Hornstein <kenh@pobox.com> 18487Date: Sun Mar 18 21:29:39 2012 -0400 18488 18489 Fix a bug where a message header ending right on the stdio boundary 18490 would cause the body output in scan to be truncated. 18491 Also include a test for the aforementioned bug. 18492 18493Author: Ken Hornstein <kenh@pobox.com> 18494Date: Sat Mar 17 23:42:26 2012 -0400 18495 18496 Fix typo in man page 18497 18498Author: David Levine <levinedl@acm.org> 18499Date: Sun Mar 18 10:27:05 2012 -0500 18500 18501 Added release note that ./@ is obsolete/deprecated. 18502 18503Author: David Levine <levinedl@acm.org> 18504Date: Sun Mar 18 09:53:31 2012 -0500 18505 18506 Added test-whom. 18507 18508Author: David Levine <levinedl@acm.org> 18509Date: Sun Mar 18 09:17:56 2012 -0500 18510 18511 Added documentation of -sever, -port, -sasl, -saslmech, -snoop, -user, 18512 -tls, and -notls to whom man page. 18513 18514Author: David Levine <levinedl@acm.org> 18515Date: Sun Mar 18 09:15:30 2012 -0500 18516 18517 Added whom, it's the fifth program referred to in mh-draft man page. 18518 18519Author: David Levine <levinedl@acm.org> 18520Date: Sat Mar 17 14:33:43 2012 -0500 18521 18522 In gcov target, added warning if configured with --enable-debug. 18523 While gcov will work with it, it won't reflect optimizations that 18524 are disabled with that option. 18525 18526Merge: 7cc0e99 67c56ba 18527Author: David Levine <levinedl@acm.org> 18528Date: Fri Mar 16 22:11:09 2012 -0500 18529 18530 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 18531 18532 Conflicts: 18533 Makefile.am 18534 18535Author: David Levine <levinedl@acm.org> 18536Date: Fri Mar 16 21:07:52 2012 -0500 18537 18538 Automated generation of mh-chart.man. 18539 18540Author: David Levine <levinedl@acm.org> 18541Date: Fri Mar 16 21:07:52 2012 -0500 18542 18543 Automated generation of mh-chart.man. 18544 18545Author: David Levine <levinedl@acm.org> 18546Date: Fri Mar 16 21:05:21 2012 -0500 18547 18548 Commmiting last manual update of mh-chart.man before removing it. 18549 18550Author: David Levine <levinedl@acm.org> 18551Date: Fri Mar 16 21:02:57 2012 -0500 18552 18553 Removed some unused code having to do with permissions of symlinks. 18554 18555Author: David Levine <levinedl@acm.org> 18556Date: Fri Mar 16 21:01:30 2012 -0500 18557 18558 Added mhshow-suffix-text/calendar. 18559 18560Author: Ken Hornstein <kenh@pobox.com> 18561Date: Fri Mar 16 13:21:38 2012 -0400 18562 18563 Improve the documentation for "send" a bit in terms of how it maps file 18564 suffixes to MIME types. 18565 18566Author: Ken Hornstein <kenh@pobox.com> 18567Date: Fri Mar 16 13:02:43 2012 -0400 18568 18569 Make -attach Nmh-Attachment & -attachformat 1 the default. 18570 18571Author: Ken Hornstein <kenh@pobox.com> 18572Date: Fri Mar 16 11:37:31 2012 -0400 18573 18574 Update for changes to post. 18575 18576Author: Ken Hornstein <kenh@pobox.com> 18577Date: Fri Mar 16 11:32:35 2012 -0400 18578 18579 Create new switches -atfile and -noatfile to control the creation of the @ 18580 file when repl'ing or dist'ing a message. 18581 18582Author: Ken Hornstein <kenh@pobox.com> 18583Date: Fri Mar 16 00:21:35 2012 -0400 18584 18585 Update post(8) regarding the New World Order. 18586 18587Author: Ken Hornstein <kenh@pobox.com> 18588Date: Thu Mar 15 23:14:48 2012 -0400 18589 18590 Whoops, forgot to put "." before some of the suffixes. 18591 18592Author: Ken Hornstein <kenh@pobox.com> 18593Date: Thu Mar 15 23:09:41 2012 -0400 18594 18595 Add some more default MIME content suffixes. 18596 18597Author: Ken Hornstein <kenh@pobox.com> 18598Date: Thu Mar 15 23:00:06 2012 -0400 18599 18600 Call readconfig() on mhn.defaults so we get default entries in for use 18601 with attach. 18602 18603Author: Ken Hornstein <kenh@pobox.com> 18604Date: Thu Mar 15 22:23:20 2012 -0400 18605 18606 A test for the group addressing functionality handled by "post". 18607 18608Author: Ken Hornstein <kenh@pobox.com> 18609Date: Thu Mar 15 15:54:02 2012 -0400 18610 18611 Remove all masquerade support (draft_from is now the default, and the other 18612 two can be accomplished via the components file). 18613 18614Author: Ken Hornstein <kenh@pobox.com> 18615Date: Thu Mar 15 13:55:15 2012 -0400 18616 18617 Clean up prototypes. 18618 18619Author: Ken Hornstein <kenh@pobox.com> 18620Date: Thu Mar 15 13:04:38 2012 -0400 18621 18622 Fix some warnings. 18623 18624Author: Ken Hornstein <kenh@pobox.com> 18625Date: Thu Mar 15 11:55:34 2012 -0400 18626 18627 I guess the -i option to sed works differently on Linux and MacOS 18628 X; deal with it. 18629 18630Author: David Levine <levinedl@acm.org> 18631Date: Wed Mar 14 21:05:16 2012 -0500 18632 18633 Initialized local format_len. gcc on 64-bit Linux warned about it. 18634 18635Author: Ken Hornstein <kenh@pobox.com> 18636Date: Wed Mar 14 21:15:54 2012 -0400 18637 18638 New test suite for "post"; uses fakesmtp to trap the SMTP protocol. 18639 18640Author: Ken Hornstein <kenh@pobox.com> 18641Date: Wed Mar 14 21:15:17 2012 -0400 18642 18643 Make sure we don't send Envelope-From if we're using spost. 18644 18645Author: Ken Hornstein <kenh@pobox.com> 18646Date: Wed Mar 14 15:51:22 2012 -0400 18647 18648 A new test program, fakesmtp, to help us test post. 18649 18650Author: Ken Hornstein <kenh@pobox.com> 18651Date: Wed Mar 14 15:47:01 2012 -0400 18652 18653 Fix the SMTP code so it doesn't end up in a hard loop during a DATA 18654 command. 18655 18656Author: David Levine <levinedl@acm.org> 18657Date: Tue Mar 13 22:28:03 2012 -0500 18658 18659 Disabled the optimization to stop stat'ing directory entries in 18660 BuildFolderListRecurse() of flist.c under conditions where st_nlink is 18661 set to 1. That happens on Cygwin, for example: 18662 http://cygwin.com/ml/cygwin-apps/2008-08/msg00264.html 18663 18664Author: David Levine <levinedl@acm.org> 18665Date: Tue Mar 13 22:01:52 2012 -0500 18666 18667 Changed output_md5() to output just the checksum. If the filename 18668 needs to appear on the same line, the caller needs to add it. This 18669 avoids differences due to a leading '*' binary file indicator, even 18670 for text files, on Cygwin. 18671 18672Author: David Levine <levinedl@acm.org> 18673Date: Tue Mar 13 21:20:47 2012 -0500 18674 18675 Added test/getfqnd.c, a replacement for "hostname" that always 18676 tries to provide the fully qualified domainname of the host, even 18677 on Cygwin. It uses the code that LocalName in sbr/mts.c uses. 18678 18679Author: David Levine <levinedl@acm.org> 18680Date: Tue Mar 13 19:58:33 2012 -0500 18681 18682 On some platforms, need to be out of $SPDIR in order to remove it. 18683 So do that in test/whatnow/test-ls. 18684 18685Author: David Levine <levinedl@acm.org> 18686Date: Tue Mar 13 19:56:06 2012 -0500 18687 18688 Promote uid_t value to long and print with %ld to prevent compile 18689 warning on platforms, such as Cygwin, where it is a long. 18690 18691Author: Ken Hornstein <kenh@pobox.com> 18692Date: Tue Mar 13 15:25:41 2012 -0400 18693 18694 Modify getfullname so it performs the same processing that 18695 mts.c:getuserinfo() does. 18696 18697Author: Ken Hornstein <kenh@pobox.com> 18698Date: Tue Mar 13 15:15:42 2012 -0400 18699 18700 Create proper prototypes for formataddr() and concataddr(). 18701 18702Author: Ken Hornstein <kenh@pobox.com> 18703Date: Mon Mar 12 22:52:21 2012 -0400 18704 18705 New changes: Sender: cannot be blank, Sender: always overrides From: 18706 for SMTP envelope, and Envelope-From: will cause a Sender: header to be 18707 output if multiple From: addresses are used. 18708 18709Author: Ken Hornstein <kenh@pobox.com> 18710Date: Sun Mar 11 21:47:04 2012 -0400 18711 18712 Require From: header in all outgoing messages. 18713 Allow Sender: header (require if multiple addresses are in From:). 18714 Support new Envelope-From: header for overriding post's choice of 18715 SMTP envelope-from address. 18716 18717Author: Ken Hornstein <kenh@pobox.com> 18718Date: Sun Mar 11 18:08:03 2012 -0400 18719 18720 Add support for a -notls switch, for consistency's sake. 18721 18722Author: Ken Hornstein <kenh@pobox.com> 18723Date: Sat Mar 10 22:55:16 2012 -0500 18724 18725 Clean up a bunch of unused code and options. Specifically: 18726 18727 - Remove support for SMTP SEND, SAML, and SOML commands 18728 - Remove -deliver, -fill-in and -fill-up switch for post (and related code) 18729 - Document -server and -port switches better in post man page. 18730 18731Author: Ken Hornstein <kenh@pobox.com> 18732Date: Tue Mar 6 09:25:00 2012 -0500 18733 18734 SMTPMTS has been the default for over a decade, so it's time to get rid of 18735 the #ifdefs to clean up the code a bit. 18736 18737Author: David Levine <levinedl@acm.org> 18738Date: Sun Mar 11 19:52:38 2012 -0500 18739 18740 Fixed mhstore to honor nmh-storage profile entry even with -auto [Bug #35303]. 18741 18742Author: David Levine <levinedl@acm.org> 18743Date: Sat Mar 10 20:33:24 2012 -0600 18744 18745 There were two fd leaks in mhparse.c: 18746 1) In openQuoted(), the decoded contents file was opened twice in 18747 succession. The second open was added by a patch in March 2000. 18748 2) openBase64(), openQuoted(), and open7Bit() could open the contents 18749 file, but it never would be closed. Added code to each to close the 18750 file if the function opened it. 18751 [Bug #24004: (debbug 344182)] 18752 18753Author: David Levine <levinedl@acm.org> 18754Date: Sat Mar 10 10:45:01 2012 -0600 18755 18756 Replaced UTC-8 with UTF-8. 18757 18758Author: David Levine <levinedl@acm.org> 18759Date: Sat Mar 10 10:44:30 2012 -0600 18760 18761 Removed bash-ism from test-pick. 18762 18763Author: David Levine <levinedl@acm.org> 18764Date: Thu Mar 8 21:29:28 2012 -0600 18765 18766 Enabled all groff warnings, with -ww, in manpages test. Fixed a bunch 18767 of minor problems that it revealed. 18768 18769Author: David Levine <levinedl@acm.org> 18770Date: Thu Mar 8 21:09:59 2012 -0600 18771 18772 Fixed mhlist -verbose to work with all content types [Bug #35219]. 18773 18774Author: David Levine <levinedl@acm.org> 18775Date: Thu Mar 8 20:19:53 2012 -0600 18776 18777 1) Removed -noverbose from defaults of mhshow man page. While it 18778 accepts -verbose/-noverbose, it ignores them. 18779 2) Added -verbose/-noverbose to mhlist synopsis. 18780 18781Author: David Levine <levinedl@acm.org> 18782Date: Wed Mar 7 22:08:03 2012 -0600 18783 18784 Added test-refile. 18785 18786Author: David Levine <levinedl@acm.org> 18787Date: Wed Mar 7 20:20:13 2012 -0600 18788 18789 Replaced us-ascii with iso-8859-1 in examples, just because. 18790 18791Author: David Levine <levinedl@acm.org> 18792Date: Tue Mar 6 21:57:16 2012 -0600 18793 18794 Added test-mhparam and test-mhstore. 18795 18796Author: David Levine <levinedl@acm.org> 18797Date: Tue Mar 6 19:57:22 2012 -0600 18798 18799 Removed all traces of rmfproc. It had been used by bbl but was 18800 no longer used. 18801 18802Author: David Levine <levinedl@acm.org> 18803Date: Tue Mar 6 19:08:21 2012 -0600 18804 18805 Some of the man pages had mentioned that arguments should be 18806 double-quoted to protect them from the shell. Removed "double-" 18807 because single quoting is fine, too. 18808 18809Author: David Levine <levinedl@acm.org> 18810Date: Tue Mar 6 18:52:41 2012 -0600 18811 18812 Escape spaces in DEFAULTS sections of man pages so they no longer are lost. 18813 18814Author: David Levine <levinedl@acm.org> 18815Date: Tue Mar 6 18:51:12 2012 -0600 18816 18817 Removed ignored -verbose (and -noverbose) options to mhstore, just in the man pages. The code remains unchanged. 18818 18819Author: David Levine <levinedl@acm.org> 18820Date: Tue Mar 6 18:49:27 2012 -0600 18821 18822 Fixed example to show that mhparam preserves case of component name. 18823 18824Author: David Levine <levinedl@acm.org> 18825Date: Tue Mar 6 18:48:21 2012 -0600 18826 18827 Initialized local wasdlm to prevent uninitialized use. 18828 18829Author: Ken Hornstein <kenh@pobox.com> 18830Date: Mon Mar 5 13:55:04 2012 -0500 18831 18832 Finally got a reasonable burst test working. 18833 18834Author: Ken Hornstein <kenh@pobox.com> 18835Date: Mon Mar 5 13:24:41 2012 -0500 18836 18837 Update with recent fix. 18838 18839Author: Ken Hornstein <kenh@pobox.com> 18840Date: Mon Mar 5 13:21:04 2012 -0500 18841 18842 Change this to use "uint32_t" for a 32-bit type, otherwise we can get 18843 wrong MD5 checksums on 64-bit systems. Score another one for the 18844 test suite! 18845 18846Author: Ken Hornstein <kenh@pobox.com> 18847Date: Mon Mar 5 12:23:15 2012 -0500 18848 18849 Fix burst so it actually complies with RFC 934. This means discarding 18850 any extra stuff leftover at the end of an encapsulated message. 18851 18852Author: Ken Hornstein <kenh@pobox.com> 18853Date: Thu Mar 1 15:17:43 2012 -0500 18854 18855 A test for burst; still needs work. 18856 18857Author: David Levine <levinedl@acm.org> 18858Date: Sat Mar 3 12:23:58 2012 -0600 18859 18860 Added test-mhlist. 18861 18862Author: David Levine <levinedl@acm.org> 18863Date: Sat Mar 3 12:21:00 2012 -0600 18864 18865 mhbuild -check would always fail because it tried to build the 18866 digest for the decoded contents file (cefile), which can be null. 18867 If it is, use the contents file itself. 18868 18869Author: David Levine <levinedl@acm.org> 18870Date: Thu Mar 1 18:01:52 2012 -0600 18871 18872 Brought mh-chart man page up to date. 18873 18874Author: David Levine <levinedl@acm.org> 18875Date: Thu Mar 1 12:33:19 2012 -0600 18876 18877 Added documentation of -snoop. 18878 18879Author: David Levine <levinedl@acm.org> 18880Date: Thu Mar 1 12:32:23 2012 -0600 18881 18882 Removed RCS sparc object file. 18883 18884Author: David Levine <levinedl@acm.org> 18885Date: Thu Mar 1 12:29:33 2012 -0600 18886 18887 Under docs/historical/mh-6.8.5, mh.rf and mh.me were renamed to 18888 mh-intro.rf and mh-intro.me, respectively, to avoid name clashes with 18889 other files on case-insensitive file systems. 18890 18891Author: David Levine <levinedl@acm.org> 18892Date: Thu Mar 1 12:13:14 2012 -0600 18893 18894 Removed entire docs/historical/mh-6.8.5/local/ tree. It had a pair of 18895 files, Distfile and distfile, with clashing case-insensitive names. 18896 The rest of it was specific to UCI and LBL. 18897 18898Author: Ken Hornstein <kenh@pobox.com> 18899Date: Thu Mar 1 12:33:42 2012 -0500 18900 18901 %G isn't actually part of POSIX, so change to %Y. 18902 18903Author: Ken Hornstein <kenh@pobox.com> 18904Date: Thu Mar 1 12:02:29 2012 -0500 18905 18906 Fixed a problem that caused the test to fail if you ran it on the first 18907 nine days of the month. 18908 18909Author: David Levine <levinedl@acm.org> 18910Date: Wed Feb 29 20:33:24 2012 -0600 18911 18912 Initialized local msgnum to 0. 18913 18914Author: David Levine <levinedl@acm.org> 18915Date: Wed Feb 29 18:41:14 2012 -0600 18916 18917 Added all of the MH sources, including RCS files, in 18918 docs/historical/mh-6.8.5. Sources for the papers are below papers/. 18919 Sources for the MH User's Manual are in conf/doc/. 18920 18921Merge: c7f326f 7565efe 18922Author: David Levine <levinedl@acm.org> 18923Date: Wed Feb 29 16:36:59 2012 -0600 18924 18925 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 18926 18927 Conflicts: 18928 docs/historical/README 18929 18930Author: David Levine <levinedl@acm.org> 18931Date: Wed Feb 29 13:49:28 2012 -0600 18932 18933 Removed the sources to the historical documents just added, they're 18934 in the mh-6.8.5 tarball. 18935 18936Author: David Levine <levinedl@acm.org> 18937Date: Wed Feb 29 13:49:28 2012 -0600 18938 18939 Added sources to historical documents downloaded from 18940 http://stuff.mit.edu/afs/sipb/project/sipb-athena/src/mh/papers/ 18941 18942Author: Ken Hornstein <kenh@pobox.com> 18943Date: Wed Feb 29 08:52:26 2012 -0500 18944 18945 Fix a segfault that happens when using the -file option. 18946 18947Author: Ken Hornstein <kenh@pobox.com> 18948Date: Wed Feb 29 08:51:27 2012 -0500 18949 18950 Argh, I didn't mean to commit the distcomps I was using for testing! 18951 18952Author: Ken Hornstein <kenh@pobox.com> 18953Date: Tue Feb 28 15:38:56 2012 -0500 18954 18955 dist(1) now processes drafts using mh-format! The last of the programs 18956 to do so! 18957 18958Author: Ken Hornstein <kenh@pobox.com> 18959Date: Tue Feb 28 15:38:37 2012 -0500 18960 18961 Fix this man page for the New World Order. 18962 18963Author: Ken Hornstein <kenh@pobox.com> 18964Date: Tue Feb 28 15:29:56 2012 -0500 18965 18966 Improve these man pages a bit. 18967 18968Author: Ken Hornstein <kenh@pobox.com> 18969Date: Tue Feb 28 14:45:03 2012 -0500 18970 18971 Add support for %(msg) function working when not using -digest. I can't 18972 imagine what someone would use it for but it's cheap to do, so why not? 18973 18974Author: Ken Hornstein <kenh@pobox.com> 18975Date: Tue Feb 28 10:32:41 2012 -0500 18976 18977 Part of the patch from bug #4301; clean up our prototypes, a lot. Still 18978 plenty of work to do! 18979 18980Author: David Levine <levinedl@acm.org> 18981Date: Tue Feb 28 22:05:55 2012 -0600 18982 18983 Added docs/historical/. See README for where they were found. 18984 18985Merge: 56f140c e22a2c8 18986Author: David Levine <levinedl@acm.org> 18987Date: Mon Feb 27 21:12:22 2012 -0600 18988 18989 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 18990 18991Author: David Levine <levinedl@acm.org> 18992Date: Mon Feb 27 21:10:47 2012 -0600 18993 18994 Removed blank line after "End of Forwarded Message" lines. It's 18995 always bothered me. 18996 18997Author: Ken Hornstein <kenh@pobox.com> 18998Date: Mon Feb 27 22:11:34 2012 -0500 18999 19000 Add the note about the burst(1) change to pending-release-notes. 19001 19002Author: Ken Hornstein <kenh@pobox.com> 19003Date: Mon Feb 27 22:05:41 2012 -0500 19004 19005 Fix bug #1466. It turns out that RFC 934 specifies that any line starting 19006 with a "-" but NOT followed by a space is a valid message delimiter. We 19007 only supported one type of message delimiter. Adapt the code so any 19008 valid delimiter is supported. 19009 19010Author: David Levine <levinedl@acm.org> 19011Date: Mon Feb 27 20:56:58 2012 -0600 19012 19013 Added cast in conditional to prevent signed/unsigned comparison, and wrapped argument to prevent warning about unused argument when built without SASL support. 19014 19015Author: David Levine <levinedl@acm.org> 19016Date: Mon Feb 27 20:50:29 2012 -0600 19017 19018 Changed domains in man page and test examples to use example.com 19019 19020Author: David Levine <levinedl@acm.org> 19021Date: Mon Feb 27 20:42:19 2012 -0600 19022 19023 Fixed to report failure if getfulname hadn't been built yet. 19024 19025Author: David Levine <levinedl@acm.org> 19026Date: Mon Feb 27 20:40:15 2012 -0600 19027 19028 They test with output to a tty didn't work under make distcheck. Tried to work around it by writing directly to /dev/tty, if that's available. 19029 19030Author: Ken Hornstein <kenh@pobox.com> 19031Date: Mon Feb 27 20:50:49 2012 -0500 19032 19033 Add support for -nosasl and -saslmaxssf switches. 19034 19035Author: Ken Hornstein <kenh@pobox.com> 19036Date: Mon Feb 27 14:13:02 2012 -0500 19037 19038 Document changes to forw(1). 19039 19040Author: Ken Hornstein <kenh@pobox.com> 19041Date: Mon Feb 27 14:12:34 2012 -0500 19042 19043 Clean up some typos in here. 19044 19045Author: Ken Hornstein <kenh@pobox.com> 19046Date: Mon Feb 27 13:45:37 2012 -0500 19047 19048 Got the forw -digest test working. 19049 19050Author: Ken Hornstein <kenh@pobox.com> 19051Date: Mon Feb 27 13:37:09 2012 -0500 19052 19053 Update digestcomps and forwcomps with comments and better formatting. 19054 19055Author: Ken Hornstein <kenh@pobox.com> 19056Date: Mon Feb 27 12:56:00 2012 -0500 19057 19058 Make -volume switch actually work (it always got overridden). As far 19059 as I can tell, this never worked. Found by the test suite! 19060 19061Author: Ken Hornstein <kenh@pobox.com> 19062Date: Sun Feb 26 21:29:44 2012 -0500 19063 19064 Remove the forw-digest test until we have it working. 19065 19066Author: Ken Hornstein <kenh@pobox.com> 19067Date: Sun Feb 26 21:29:01 2012 -0500 19068 19069 A test for forw -digest. It doesn't quite work yet. 19070 19071Author: Ken Hornstein <kenh@pobox.com> 19072Date: Sun Feb 26 21:14:04 2012 -0500 19073 19074 Fix up some of the pick tests: 19075 19076 - Change sed invocation around to get rid of GNU sed extensions 19077 - Put explicit times in the pick tests (if you don't, it uses the current 19078 hour/minutes as the timestamp, which means it could work or not work 19079 depending on what time of day you run the tests). 19080 19081Author: Ken Hornstein <kenh@pobox.com> 19082Date: Sun Feb 26 13:02:41 2012 -0500 19083 19084 Update the pending release notes with new features. 19085 19086Author: Ken Hornstein <kenh@pobox.com> 19087Date: Sun Feb 26 12:45:48 2012 -0500 19088 19089 Add a new README documenting the changes to the components files. 19090 19091Author: Ken Hornstein <kenh@pobox.com> 19092Date: Sun Feb 26 12:12:28 2012 -0500 19093 19094 Beginnings of a test suite for the mh-format support in forw. 19095 19096Author: David Levine <levinedl@acm.org> 19097Date: Sun Feb 26 10:55:46 2012 -0600 19098 19099 Added test-pick. 19100 19101Author: David Levine <levinedl@acm.org> 19102Date: Sun Feb 26 10:32:29 2012 -0600 19103 19104 Suppress echoing of man page build lines. One of them says "warning", and it's handy to check that build output doesn't say that. 19105 19106Author: David Levine <levinedl@acm.org> 19107Date: Sun Feb 26 10:10:35 2012 -0600 19108 19109 Changed type of a local to unsigned and removed local ncomps to suppress compile warnings. 19110 19111Author: David Levine <levinedl@acm.org> 19112Date: Sun Feb 26 10:09:35 2012 -0600 19113 19114 Added gcov and gcov-clean targets. 19115 19116Author: Ken Hornstein <kenh@pobox.com> 19117Date: Sun Feb 26 00:09:52 2012 -0500 19118 19119 Finally, some support for mh-format when using forw(1). Still needs some 19120 tests. 19121 19122Author: Ken Hornstein <kenh@pobox.com> 19123Date: Thu Feb 23 12:03:09 2012 -0500 19124 19125 Create a test for the new mh-format processing available in comp(1). 19126 19127Author: David Levine <levinedl@acm.org> 19128Date: Wed Feb 22 22:23:05 2012 -0600 19129 19130 Added test-flist and test-mark sequences tests. 19131 19132Author: David Levine <levinedl@acm.org> 19133Date: Wed Feb 22 22:21:56 2012 -0600 19134 19135 Don't list _sysconfdir/ directory in RPM spec. We don't list any other directories, so now it will be created with the same permissions as all of the others. 19136 19137Author: David Levine <levinedl@acm.org> 19138Date: Tue Feb 21 19:35:05 2012 -0600 19139 19140 Removed reference to mhost.com. 19141 19142Author: David Levine <levinedl@acm.org> 19143Date: Tue Feb 21 19:34:33 2012 -0600 19144 19145 Updated to reflect that all of the lists are on nongnu.org. 19146 19147Author: David Levine <levinedl@acm.org> 19148Date: Tue Feb 21 19:31:08 2012 -0600 19149 19150 With "make rpm", configure all modified files in sysconfdir (etc) to be saved when erasing or upgrading the package. Also, leave the doc directory whereever "make install" puts it. 19151 19152Author: Ken Hornstein <kenh@pobox.com> 19153Date: Tue Feb 21 15:56:06 2012 -0500 19154 19155 Add support for a -subject switch to comp. 19156 19157Author: Ken Hornstein <kenh@pobox.com> 19158Date: Tue Feb 21 12:58:50 2012 -0500 19159 19160 Switch from (me) to (localmbox) to make -cc me work correctly. 19161 19162Author: David Levine <levinedl@acm.org> 19163Date: Mon Feb 20 22:02:26 2012 -0600 19164 19165 Migrated a couple more tests to use run_test() in common.sh. 19166 19167Author: Ken Hornstein <kenh@pobox.com> 19168Date: Mon Feb 20 00:31:14 2012 -0500 19169 19170 Put default From: headers in these component files, and document the 19171 components file now that we can have comments. 19172 19173Author: Ken Hornstein <kenh@pobox.com> 19174Date: Mon Feb 20 00:31:01 2012 -0500 19175 19176 Clean up documentation formatting 19177 19178Author: David Levine <levinedl@acm.org> 19179Date: Sun Feb 19 22:29:14 2012 -0600 19180 19181 Removed unused local ncomps because gcc complained about it. 19182 19183Author: Ken Hornstein <kenh@pobox.com> 19184Date: Sun Feb 19 19:59:06 2012 -0500 19185 19186 Add support for "to", "cc", "from", and "fcc" components via command-line 19187 switches. 19188 19189Author: Ken Hornstein <kenh@pobox.com> 19190Date: Sun Feb 19 18:03:26 2012 -0500 19191 19192 Fix a bug leftover from the Automake conversion; the AC_SUBST'd variable 19193 names are really editorpath and pagerpath, use those instead. 19194 19195Author: David Levine <levinedl@acm.org> 19196Date: Sat Feb 18 22:36:50 2012 -0600 19197 19198 Ken noted that "make check" can be run before installation because the only program in lib that the tests currently use is mhlproc, and we have an mhlproc entry in the test .mh_profile for that. Added showproc and postproc entries in case they're ever needed. 19199 19200Author: David Levine <levinedl@acm.org> 19201Date: Sat Feb 18 17:32:15 2012 -0600 19202 19203 Moved "make check" to after "make install". 19204 19205Author: David Levine <levinedl@acm.org> 19206Date: Sat Feb 18 17:31:37 2012 -0600 19207 19208 gcc was warning about unused arguments to main, so added use of them in a usage check. 19209 19210Author: David Levine <levinedl@acm.org> 19211Date: Sat Feb 18 17:30:47 2012 -0600 19212 19213 Consolidated runtest and check_string test functions. 19214 19215Author: David Levine <levinedl@acm.org> 19216Date: Sat Feb 18 11:21:28 2012 -0600 19217 19218 Have each test clean up after itself if it completes successfully. 19219 19220Author: David Levine <levinedl@acm.org> 19221Date: Sat Feb 18 09:42:04 2012 -0600 19222 19223 Added mhpath test. Updated mhpath man page to reflect actual behavior for a message number greater than that of the highest existing message in a folder. 19224 19225Author: David Levine <levinedl@acm.org> 19226Date: Sat Feb 18 08:03:21 2012 -0600 19227 19228 The test check() function now removes the expected and actual output files if they're the same, by default. Added check-string() function. 19229 19230Author: David Levine <levinedl@acm.org> 19231Date: Fri Feb 17 19:10:08 2012 -0600 19232 19233 Initialized local "in" to suppress gcc warning about possible uninitialized use. 19234 19235Author: David Levine <levinedl@acm.org> 19236Date: Fri Feb 17 19:08:42 2012 -0600 19237 19238 Enclosed program name and directory in double quotes so that they can contain whitespace. 19239 19240Author: David Levine <levinedl@acm.org> 19241Date: Fri Feb 17 18:44:35 2012 -0600 19242 19243 Here's the proper fix instead of the hack of d28ce569fe233141f86fe516878361da01c9f9cb. Use ${srcdir} in to refer to extra files in tests, as before. 19244 19245Author: Ken Hornstein <kenh@pobox.com> 19246Date: Fri Feb 17 15:56:08 2012 -0500 19247 19248 Beginning support for mh-format support in comp(1). Includes changes to 19249 default component file. 19250 19251Author: Ken Hornstein <kenh@pobox.com> 19252Date: Fri Feb 17 15:10:06 2012 -0500 19253 19254 Sigh. Looks like we need a function after all; create a new function 19255 called %(localmbox). 19256 19257Author: Ken Hornstein <kenh@pobox.com> 19258Date: Fri Feb 17 14:02:44 2012 -0500 19259 19260 Switch to including h/mts.h for getusername() prototype. 19261 19262Author: David Levine <levinedl@acm.org> 19263Date: Thu Feb 16 22:56:02 2012 -0600 19264 19265 Added a couple of NMH_UNUSED's to suppress warnings when building without Cyrus SASL. 19266 19267Author: David Levine <levinedl@acm.org> 19268Date: Thu Feb 16 22:49:03 2012 -0600 19269 19270 Hacked to work with make distcheck. Maybe not the best way but it works for now. 19271 19272Author: David Levine <levinedl@acm.org> 19273Date: Thu Feb 16 22:02:21 2012 -0600 19274 19275 Moved check() function from individual tests to common.sh. 19276 19277Author: David Levine <levinedl@acm.org> 19278Date: Thu Feb 16 21:30:43 2012 -0600 19279 19280 Rearranged test suite environment variables so that individual tests 19281 can now be run standalone (outside of make). But see WARNING in 19282 test/README about how it's better to use "make check" because that 19283 ensures that the current code in your workspace is tested. Also, the 19284 clean script no longer needs to call setup_test. 19285 19286Author: Ken Hornstein <kenh@pobox.com> 19287Date: Thu Feb 16 11:46:16 2012 -0500 19288 19289 Report an error when the width used by putaddr is less than the label width. 19290 19291Author: Ken Hornstein <kenh@pobox.com> 19292Date: Thu Feb 16 00:17:49 2012 -0500 19293 19294 Hopefully made the format documentation a little bit clearer. 19295 19296Author: Ken Hornstein <kenh@pobox.com> 19297Date: Wed Feb 15 21:45:13 2012 -0500 19298 19299 Fix typo in repl man page. 19300 19301Author: Ken Hornstein <kenh@pobox.com> 19302Date: Wed Feb 15 15:54:47 2012 -0500 19303 19304 Create test cases for the new format functions for local address writing. 19305 19306Author: Ken Hornstein <kenh@pobox.com> 19307Date: Wed Feb 15 15:53:26 2012 -0500 19308 19309 Make it so we do NOT check our address against the "local" userid and 19310 hostname if Local-Mailbox is set. 19311 19312Author: Ken Hornstein <kenh@pobox.com> 19313Date: Wed Feb 15 15:46:28 2012 -0500 19314 19315 Sigh. Turns out the first entry in the list isn't actually checked, so 19316 we need to make sure that our Local-Mailbox entry starts second. 19317 19318Author: Ken Hornstein <kenh@pobox.com> 19319Date: Wed Feb 15 14:55:25 2012 -0500 19320 19321 Hm, it turns out we need to make sure we call getname() until we get 19322 a NULL, otherwise the next set of calls to it will be working from the 19323 "old" search string. 19324 19325Author: Ken Hornstein <kenh@pobox.com> 19326Date: Wed Feb 15 11:36:36 2012 -0500 19327 19328 Beginning of support for the Local-Mailbox profile entry. 19329 19330Author: Ken Hornstein <kenh@pobox.com> 19331Date: Wed Feb 15 10:48:52 2012 -0500 19332 19333 Support getting the "fullname" out of the Signature profile setting. 19334 19335Author: David Levine <levinedl@acm.org> 19336Date: Tue Feb 14 20:47:06 2012 -0600 19337 19338 Updated documentation of environment variables in mh-profile man page. 19339 19340Author: Ken Hornstein <kenh@pobox.com> 19341Date: Tue Feb 14 20:24:43 2012 -0500 19342 19343 Add two new format functions: %(myhost) and %(myname). 19344 19345Author: David Levine <levinedl@acm.org> 19346Date: Mon Feb 13 19:55:53 2012 -0600 19347 19348 Changed "make test" to "make check". 19349 19350Author: David Levine <levinedl@acm.org> 19351Date: Mon Feb 13 19:54:41 2012 -0600 19352 19353 Fixed progress indicator. 19354 19355Author: Ken Hornstein <kenh@pobox.com> 19356Date: Sat Feb 11 23:28:10 2012 -0500 19357 19358 Another problem discovered by the test suite. 19359 19360 With multiple sequence arguments on the command line you might end 19361 up with garbage in the sequence[] array (it needs the last argument 19362 to be a NULL. So do two things: make the first two arguments NULL, and 19363 as we add arguments to sequence[] make sure the list has a NULL on the 19364 end. 19365 19366Author: Paul Fox <pgf@foxharp.boston.ma.us> 19367Date: Sat Feb 11 13:06:47 2012 -0500 19368 19369 correct the maximum number of sequences in the mark(1) man page 19370 19371 also add a note explaining the somewhat low limit. 19372 19373Author: Paul Fox <pgf@foxharp.boston.ma.us> 19374Date: Sat Feb 11 12:41:30 2012 -0500 19375 19376 mhshow: suppress pause actions if stdout isn't a tty 19377 19378 previously, "mhshow | cat" would both print a "Press return" prompt 19379 to, and attempt to read from, its piped output fd. 19380 19381Author: Ken Hornstein <kenh@pobox.com> 19382Date: Fri Feb 10 23:38:40 2012 -0500 19383 19384 Fix this so it works when valgrind is installed. 19385 19386Author: Ken Hornstein <kenh@pobox.com> 19387Date: Fri Feb 10 23:27:36 2012 -0500 19388 19389 Switch over to using the template files out of our inst directory. 19390 19391Author: Ken Hornstein <kenh@pobox.com> 19392Date: Fri Feb 10 23:22:12 2012 -0500 19393 19394 Switch to using the "inst" version of mhl for tests. 19395 19396Author: Ken Hornstein <kenh@pobox.com> 19397Date: Fri Feb 10 23:09:03 2012 -0500 19398 19399 Re-work the test suite so it now works with Automake (via "make check"). 19400 19401Author: Ken Hornstein <kenh@pobox.com> 19402Date: Fri Feb 10 20:59:21 2012 -0500 19403 19404 Fix typo in alternate mts.conf location support. 19405 19406Author: Ken Hornstein <kenh@pobox.com> 19407Date: Fri Feb 10 15:11:05 2012 -0500 19408 19409 Make the test suite work on systems other than Linux. Still needs work. 19410 19411Author: Ken Hornstein <kenh@pobox.com> 19412Date: Fri Feb 10 09:50:48 2012 -0500 19413 19414 With the fixing of the bug that caused CPPFLAGS to get tromped on, remove 19415 support for OURDEFS and direct people to use CPPFLAGS instead. 19416 19417Author: Ken Hornstein <kenh@pobox.com> 19418Date: Thu Feb 9 23:43:30 2012 -0500 19419 19420 Fix typo in variable test. 19421 19422Author: David Levine <levinedl@acm.org> 19423Date: Thu Feb 9 20:38:22 2012 -0600 19424 19425 Show assignment of configure variables using VAR=VALUE instead of in the shell environment. 19426 19427Author: David Levine <levinedl@acm.org> 19428Date: Wed Feb 8 22:29:59 2012 -0600 19429 19430 Updated INSTALL and MACHINES documentation a bit. 19431 19432Author: David Levine <levinedl@acm.org> 19433Date: Wed Feb 8 21:42:46 2012 -0600 19434 19435 Added mhshow subpart test. 19436 19437Author: David Levine <levinedl@acm.org> 19438Date: Wed Feb 8 21:41:48 2012 -0600 19439 19440 Always run setup-test from make test/runalltests, just in case the test build directory (test/testbuild) isn't up to date. It might be nice to replace all the copies in the test build directory with symlinks, then make could keep the test build up to date. 19441 19442Author: David Levine <levinedl@acm.org> 19443Date: Tue Feb 7 21:43:26 2012 -0600 19444 19445 Added OURDEFS to DEFS in Makefile.am, to restore it in the Makefile. Updated documentation in INSTALL. 19446 19447Author: David Levine <levinedl@acm.org> 19448Date: Tue Feb 7 21:23:37 2012 -0600 19449 19450 Removed use of tzset()/tzname in dtimezone(). They caused the returned timezone string to be for the user's current timezone, but the function is supposed to return the string representation of the timezone of its argument. That will be numeric, e.g., +0100, now because we no longer have timezone name support. 19451 19452Author: David Levine <levinedl@acm.org> 19453Date: Tue Feb 7 21:17:00 2012 -0600 19454 19455 Reverted TZ hack to tests, 9ea2daf5e74e3ff03043cfa6fb68033aea0da52a. A code fix is on its way 19456 19457Author: David Levine <levinedl@acm.org> 19458Date: Mon Feb 6 22:35:21 2012 -0600 19459 19460 Another one caught by the test suite: an indented line was too long in the slocal man page. Center it instead. 19461 19462Author: David Levine <levinedl@acm.org> 19463Date: Mon Feb 6 22:25:25 2012 -0600 19464 19465 Some tests failed because they displayed the user's local 19466 time zone but expected GMT. So, set TZ in runtest to fool 19467 them. 19468 19469 Though I wonder if we're failing to correct for local time zone. 19470 19471Author: David Levine <levinedl@acm.org> 19472Date: Mon Feb 6 21:47:52 2012 -0600 19473 19474 Caught by the test suite: sequences[0] needs to be initialized to NULL at the beginning of the program. That explains why it seg faulted when invoked with a sequence argument. 19475 19476Author: David Levine <levinedl@acm.org> 19477Date: Mon Feb 6 21:19:57 2012 -0600 19478 19479 Reworked test suite to copy the configuration used in the main 19480 nmh directory. Added test target to Makefile. Not all the tests 19481 pass at this point. 19482 19483Author: Ken Hornstein <kenh@pobox.com> 19484Date: Mon Feb 6 14:12:00 2012 -0500 19485 19486 Still more autoconf cleanup (quoting & more use of M4sh). 19487 19488Author: Ken Hornstein <kenh@pobox.com> 19489Date: Mon Feb 6 11:31:18 2012 -0500 19490 19491 Patch from Harvey Eneman: fixes problem on some systems where a free() 19492 would be called on non-malloc'd memory (only would happen if you had more 19493 than one entry in the server: line in mts.conf). 19494 19495Author: Ken Hornstein <kenh@pobox.com> 19496Date: Mon Feb 6 10:27:43 2012 -0500 19497 19498 Update the developer documentation with the changes to the release 19499 process. 19500 19501Author: Ken Hornstein <kenh@pobox.com> 19502Date: Mon Feb 6 09:08:19 2012 -0500 19503 19504 More configure cleanup to modern constructs. 19505 19506Author: Ken Hornstein <kenh@pobox.com> 19507Date: Sun Feb 5 17:17:41 2012 -0500 19508 19509 Autoconf cleanup to suggested practice (AS_IF & AC_MSG_FAILURE). More to do. 19510 19511Author: David Levine <levinedl@acm.org> 19512Date: Sun Feb 5 15:26:16 2012 -0600 19513 19514 Added error message if the file is source directly, rather than through bash-completion. 19515 19516Author: David Levine <levinedl@acm.org> 19517Date: Sun Feb 5 14:13:07 2012 -0600 19518 19519 Exit with error message if no library could be found with tgetent. 19520 19521Author: Ken Hornstein <kenh@pobox.com> 19522Date: Sat Feb 4 00:11:27 2012 -0500 19523 19524 Whoops, used "buffer" when I meant "buf". 19525 19526Author: Ken Hornstein <kenh@pobox.com> 19527Date: Fri Feb 3 23:43:53 2012 -0500 19528 19529 Change LocalName() to take an argument (about whether or not to use 19530 local hostname versus entry in mts.conf). 19531 19532Merge: 24ccfac 196f981 19533Author: David Levine <levinedl@acm.org> 19534Date: Fri Feb 3 17:10:49 2012 -0600 19535 19536 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 19537 19538Author: David Levine <levinedl@acm.org> 19539Date: Fri Feb 3 17:10:44 2012 -0600 19540 19541 Use more up-to-date web page links of Jerry Peek's book sections at rand-mh.sourceforge.net instead of oreilly.com. 19542 19543Author: Ken Hornstein <kenh@pobox.com> 19544Date: Fri Feb 3 15:38:49 2012 -0500 19545 19546 Convert from the poorly-named and confusing adrsprintf() to getlocaladdr(). 19547 19548Author: Ken Hornstein <kenh@pobox.com> 19549Date: Fri Feb 3 15:03:00 2012 -0500 19550 19551 Make the upload target phony. 19552 19553Author: Ken Hornstein <kenh@pobox.com> 19554Date: Fri Feb 3 15:01:50 2012 -0500 19555 19556 Beginnings of an upload Makefile target. 19557 19558Author: Ken Hornstein <kenh@pobox.com> 19559Date: Fri Feb 3 13:50:19 2012 -0500 19560 19561 Update with new features. 19562 19563Author: Ken Hornstein <kenh@pobox.com> 19564Date: Fri Feb 3 13:49:46 2012 -0500 19565 19566 Document the formatproc entry. 19567 19568Author: Ken Hornstein <kenh@pobox.com> 19569Date: Thu Feb 2 22:13:57 2012 -0500 19570 19571 Move the eval statements inside of AC_CONFIG_COMMANDS_POST macro, otherwise 19572 the stuff we output might not be correct. 19573 19574Author: David Levine <levinedl@acm.org> 19575Date: Tue Jan 31 23:17:33 2012 -0600 19576 19577 Added #includes to pick up declaration of waitpid() 19578 19579Author: Ken Hornstein <kenh@pobox.com> 19580Date: Tue Jan 31 13:20:40 2012 -0500 19581 19582 Whoops, I need to make sure the buffer I pass to putcomp() is NULL-terminated. 19583 19584Author: Ken Hornstein <kenh@pobox.com> 19585Date: Tue Jan 31 12:58:04 2012 -0500 19586 19587 Add support for calling an external format program inside of mhl. 19588 19589Merge: abf5b4f c8206d4 19590Author: David Levine <levinedl@acm.org> 19591Date: Sat Jan 28 14:12:05 2012 -0600 19592 19593 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 19594 19595Author: David Levine <levinedl@acm.org> 19596Date: Sat Jan 28 13:52:59 2012 -0600 19597 19598 Made ChangeLog target phony so it will always get regenerated. But don't try to regenerate if git repository is not present. 19599 19600Author: David Levine <levinedl@acm.org> 19601Date: Sat Jan 28 13:52:59 2012 -0600 19602 19603 Made ChangeLog phony so it will always get regenerated. But don't try to regenerated if git repository is not present. 19604 19605Author: David Levine <levinedl@acm.org> 19606Date: Sat Jan 28 12:45:15 2012 -0600 19607 19608 The www.ics.uci.edu/~mh/ links are dead, so replaced them with corresponding oreilly.com links. 19609 19610Author: David Levine <levinedl@acm.org> 19611Date: Sat Jan 28 12:33:27 2012 -0600 19612 19613 Replaced static ChangeLog with one generated by git log. 19614 19615Author: Ken Hornstein <kenh@pobox.com> 19616Date: Sat Jan 28 00:29:13 2012 -0500 19617 19618 Create "nowrap" flag to turn off all line wrapping. 19619 19620Author: David Levine <levinedl@acm.org> 19621Date: Fri Jan 27 20:30:58 2012 -0600 19622 19623 Organized .gitignore to show which objects are deleted by the various Makefile clean targets. 19624 19625Author: David Levine <levinedl@acm.org> 19626Date: Fri Jan 27 19:56:50 2012 -0600 19627 19628 Added superclean Makefile target. Added a.out.DSYM's to clean target. Added .PHONY indication of rpm target. 19629 19630Author: David Levine <levinedl@acm.org> 19631Date: Fri Jan 27 19:40:48 2012 -0600 19632 19633 Removed config.guess and config.sub because they're generated by autoreconf -i. 19634 19635Author: David Levine <levinedl@acm.org> 19636Date: Fri Jan 27 19:39:47 2012 -0600 19637 19638 Updated to latest config.guess and config.sub before removing them from the repo, just in case someone needs them and can't generate them. 19639 19640Author: David Levine <levinedl@acm.org> 19641Date: Fri Jan 27 19:36:14 2012 -0600 19642 19643 Changed a variable to unsigned and noted an argument as unused to silence compile warnings in uip/popsbr.c 19644 19645Author: Ken Hornstein <kenh@pobox.com> 19646Date: Fri Jan 27 13:47:14 2012 -0500 19647 19648 Fix long-standing problem with getans(); handle the case if we get 19649 an interrupted by a signal during a character read and return an 19650 EINTR. 19651 19652Author: Ken Hornstein <kenh@pobox.com> 19653Date: Fri Jan 27 13:34:17 2012 -0500 19654 19655 Convert to the use of siglongjmp() 19656 19657Author: Ken Hornstein <kenh@pobox.com> 19658Date: Fri Jan 27 12:30:52 2012 -0500 19659 19660 Make POP support always be turned on. 19661 19662Merge: da6bfd3 d5c47f7 19663Author: Lyndon Nerenberg <lyndon@orthanc.ca> 19664Date: Fri Jan 27 08:16:57 2012 -0800 19665 19666 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/nmh 19667 19668Author: Lyndon Nerenberg <lyndon@orthanc.ca> 19669Date: Fri Jan 27 08:16:36 2012 -0800 19670 19671 Typo fix. 19672 19673Author: David Levine <levinedl@acm.org> 19674Date: Thu Jan 26 22:36:17 2012 -0600 19675 19676 Added clean-local target to remove RPM directory. 19677 19678Author: David Levine <levinedl@acm.org> 19679Date: Thu Jan 26 20:05:30 2012 -0600 19680 19681 Added uip/*.exe, for Cygwin. 19682 19683Author: David Levine <levinedl@acm.org> 19684Date: Thu Jan 26 20:04:33 2012 -0600 19685 19686 Removed slash in front of $(man5dir) of install-data-hook rule so that it now works on Cygwin. 19687 19688Author: David Levine <levinedl@acm.org> 19689Date: Wed Jan 25 22:22:02 2012 -0600 19690 19691 Fixed rpm target now that nmhdist is gone. 19692 19693Author: David Levine <levinedl@acm.org> 19694Date: Wed Jan 25 20:48:55 2012 -0600 19695 19696 Updated config test to add -Wextra to be consistent with others. So, it's back! 19697 19698Author: David Levine <levinedl@acm.org> 19699Date: Wed Jan 25 19:44:30 2012 -0600 19700 19701 If using gcc, use -Wno-unused-macros when compiling sbr/dtime.o. 19702 19703Author: David Levine <levinedl@acm.org> 19704Date: Wed Jan 25 19:38:49 2012 -0600 19705 19706 Removed unused local bp. 19707 19708Author: David Levine <levinedl@acm.org> 19709Date: Wed Jan 25 19:33:17 2012 -0600 19710 19711 Undid most of 3ef341abe440ece07f8deed59fb026ab020e805 because FreeBSD needs the HAVE_STRUCT_TM_TM_GMTOFF test. It has a timezone() function, not a timezone global variable (that's visible with our default configuration. 19712 19713Author: lyndon <lyndon@treebeard.orthanc.ca> 19714Date: Wed Jan 25 20:10:52 2012 -0800 19715 19716 Remove hardlink target before attempting new link. 19717 19718Author: lyndon <lyndon@treebeard.orthanc.ca> 19719Date: Wed Jan 25 18:15:47 2012 -0800 19720 19721 uip/termsbr.c: remove references to PC and ospeed(). 19722 19723 These are no longer referenced by the code base now that vmh has been 19724 removed. 19725 19726Author: Ken Hornstein <kenh@pobox.com> 19727Date: Tue Jan 24 12:56:45 2012 -0500 19728 19729 Create a "cscope" target that creates the necessary files to use cscope. 19730 19731Author: lyndon <lyndon@treebeard.orthanc.ca> 19732Date: Mon Jan 23 22:48:24 2012 -0800 19733 19734 cscope.files was missing mts/smtp/*. 19735 19736Author: lyndon <lyndon@treebeard.orthanc.ca> 19737Date: Sun Jan 22 23:21:03 2012 -0800 19738 19739 Ignore cscope.out. 19740 19741Author: lyndon <lyndon@treebeard.orthanc.ca> 19742Date: Sun Jan 22 23:08:02 2012 -0800 19743 19744 Add a default configuration file for cscope(1). 19745 19746 I generated the file list by hand. While it might be possible to generate it 19747 from the Makefile, it was much simpler to just 19748 19749 ls */*.[cl]|grep -v sbr/dtimep.c 19750 19751 If source files are added or removed down the road, cscope.files will 19752 need a hand edit to keep it in sync. 19753 19754Author: Ken Hornstein <kenh@pobox.com> 19755Date: Sun Jan 22 01:15:40 2012 -0500 19756 19757 Make sigmsg.h NOT depend on the Makefile. 19758 19759Author: Ken Hornstein <kenh@pobox.com> 19760Date: Sun Jan 22 01:14:34 2012 -0500 19761 19762 Clean up DESTDIR usage. 19763 19764Author: Ken Hornstein <kenh@pobox.com> 19765Date: Sun Jan 22 01:12:18 2012 -0500 19766 19767 Add the rule to install inc setgid if requested. 19768 19769Author: Ken Hornstein <kenh@pobox.com> 19770Date: Fri Jan 20 23:39:14 2012 -0500 19771 19772 Fix some problems that the Automake migration caused. 19773 19774Author: Ken Hornstein <kenh@pobox.com> 19775Date: Fri Jan 20 14:05:26 2012 -0500 19776 19777 Convert the build system over to the use of Automake. 19778 19779Author: David Levine <levinedl@acm.org> 19780Date: Tue Jan 17 17:33:29 2012 -0600 19781 19782 Well the wrap of vfork() calls didn't work: its semantics don't allow that. So removed the wrapper and added -Wno-clobbered to gcc -Wextra. 19783 19784Author: Ken Hornstein <kenh@pobox.com> 19785Date: Tue Jan 17 14:27:06 2012 -0500 19786 19787 Convert from our use of aclocal.m4 to a subdirectory with autoconf macros 19788 in it. 19789 19790Author: Ken Hornstein <kenh@pobox.com> 19791Date: Tue Jan 17 14:15:32 2012 -0500 19792 19793 Change the name of AC_CHECK_NETLIBS, since it's not a macro distributed 19794 by Autoconf. 19795 19796Author: Ken Hornstein <kenh@pobox.com> 19797Date: Tue Jan 17 10:58:40 2012 -0500 19798 19799 Update .gitignore with .DS_Store (seen occasionally on MacOS X systems). 19800 19801Author: Ken Hornstein <kenh@pobox.com> 19802Date: Tue Jan 17 10:57:54 2012 -0500 19803 19804 Convert from utmp functions to utmpx functions (which are in POSIX). 19805 19806Author: David Levine <levinedl@acm.org> 19807Date: Mon Jan 16 20:58:15 2012 -0600 19808 19809 Wrapped setjmp(), sigsetjmp(), and vfork() calls to silence gcc -Wclobbered for good. Undid ca34fbd0a5204d47ad019f64ef03d21ebd3397fd, which added volatile qualifiers but was not general. 19810 19811Author: David Levine <levinedl@acm.org> 19812Date: Mon Jan 16 18:35:21 2012 -0600 19813 19814 Removed HAVE_STRUCT_TM_TM_GMTOFF support because it didn't work on Cygwin and isn't needed: timezone, tzname, and tzset() are all POSIX. 19815 19816Author: David Levine <levinedl@acm.org> 19817Date: Mon Jan 16 18:33:57 2012 -0600 19818 19819 Pass int instead of char to iscntrl() and isspace() because that's what they require, and gcc on Cygwin warns about it. 19820 19821Author: David Levine <levinedl@acm.org> 19822Date: Mon Jan 16 18:30:40 2012 -0600 19823 19824 Added EXEEXT support, for Cygwin. 19825 19826Author: David Levine <levinedl@acm.org> 19827Date: Mon Jan 16 09:50:10 2012 -0600 19828 19829 Fixed build on Cygwin by adding configure check for ncurses/termcap.h. 19830 19831Author: David Levine <levinedl@acm.org> 19832Date: Sat Jan 14 15:33:39 2012 -0600 19833 19834 Argument to alrmser is unused. 19835 19836Author: David Levine <levinedl@acm.org> 19837Date: Sat Jan 14 15:28:25 2012 -0600 19838 19839 Fixed warnings from gcc -Wclobbered by adding volatile qualifiers. 19840 19841Author: David Levine <levinedl@acm.org> 19842Date: Sat Jan 14 15:04:54 2012 -0600 19843 19844 Cleaned up gcc warnings when CYRUS_SASL is not enabled. 19845 19846Author: David Levine <levinedl@acm.org> 19847Date: Sat Jan 14 14:56:16 2012 -0600 19848 19849 Added -Wextra with gcc, if supported. 19850 19851Author: David Levine <levinedl@acm.org> 19852Date: Sat Jan 14 14:49:57 2012 -0600 19853 19854 Changed types and added casts so that build is clean with gcc -Wsign-compare. 19855 19856Author: David Levine <levinedl@acm.org> 19857Date: Sat Jan 14 09:21:32 2012 -0600 19858 19859 gcc -Wmissing-field-initializers noticed several struct initializations 19860 that didn't explicitly list all fields. Most were of no consequence because 19861 they were for static data, so they were all initialized properly. However, 19862 the two in mhlsbr.c were missing an initialization of other than their last 19863 field, and they contained some subsequent values other than zero. So, those 19864 later fields were initialized incorrectly. Also, changed the initialization 19865 of global.c_ovtxt from "" to NULL because free_queue () freed it if non-NULL, 19866 though I think the "" was always overwritten. 19867 19868Author: David Levine <levinedl@acm.org> 19869Date: Sat Jan 14 09:19:49 2012 -0600 19870 19871 configure.ac and aclocal.m4 instead of configure.in and acconfig.h. 19872 19873Author: David Levine <levinedl@acm.org> 19874Date: Sat Jan 14 09:16:16 2012 -0600 19875 19876 Documented support of OURDEFS to pass compile flags to configure. 19877 19878Merge: c3ed95b 3a84d81 19879Author: Ken Hornstein <kenh@pobox.com> 19880Date: Fri Jan 13 12:05:13 2012 -0500 19881 19882 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 19883 19884Author: Ken Hornstein <kenh@pobox.com> 19885Date: Fri Jan 13 12:04:13 2012 -0500 19886 19887 Add some comments to the format compiler and engine. 19888 19889Author: Ken Hornstein <kenh@pobox.com> 19890Date: Fri Jan 13 09:30:03 2012 -0500 19891 19892 Update README.developers with the correct version of autoconf we need. 19893 19894Author: David Levine <levinedl@acm.org> 19895Date: Thu Jan 12 22:19:24 2012 -0600 19896 19897 Added NMH_UNUSED macro for suppressing warnings about unused parameters 19898 with gcc -Wunused-parameter 19899 19900Merge: b70215d 162f2a7 19901Author: David Levine <levinedl@acm.org> 19902Date: Thu Jan 12 22:17:54 2012 -0600 19903 19904 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 19905 19906Author: David Levine <levinedl@acm.org> 19907Date: Thu Jan 12 22:14:59 2012 -0600 19908 19909 Added -Wunused-macros with gcc, if supported. Added -Wno-unused-macros, 19910 if supported, to compile of sbr/dtimep.o with gcc because it uses 19911 generated code that would be too much trouble to clean up. 19912 19913Author: Ken Hornstein <kenh@pobox.com> 19914Date: Thu Jan 12 21:07:33 2012 -0500 19915 19916 Create two new mh-format functions: %(putlit) and %(concataddr). 19917 19918 %(putlit) outputs a string without any space compression or control character 19919 conversion 19920 19921 %(concataddr) is just like %(formataddr), except that inside of repl there 19922 will not be any duplicate address supression. 19923 19924Author: David Levine <levinedl@acm.org> 19925Date: Wed Jan 11 22:38:35 2012 -0600 19926 19927 Enabled support for tls switch. 19928 19929Author: David Levine <levinedl@acm.org> 19930Date: Wed Jan 11 22:36:20 2012 -0600 19931 19932 Removed unsupported format and check switches, and commented out unused macro HMNG. 19933 19934Author: David Levine <levinedl@acm.org> 19935Date: Wed Jan 11 22:33:45 2012 -0600 19936 19937 Removed, or added use of, unused macros to prevent warnings from gcc -Wunused-macros. 19938 19939Author: David Levine <levinedl@acm.org> 19940Date: Wed Jan 11 17:06:44 2012 -0600 19941 19942 Removed or protected some unused macros. 19943 19944Author: David Levine <levinedl@acm.org> 19945Date: Wed Jan 11 16:52:17 2012 -0600 19946 19947 Removed unused global zones and local z form dtimezone (). 19948 19949Author: David Levine <levinedl@acm.org> 19950Date: Wed Jan 11 16:45:53 2012 -0600 19951 19952 Added #include <grp.h>. It's needed on Linux, should be harmless on others. 19953 19954Author: Ken Hornstein <kenh@pobox.com> 19955Date: Wed Jan 11 15:04:39 2012 -0500 19956 19957 Completely remove the use of TIME_WITH_SYS_TIME (I removed the autoconf 19958 test but never removed the code, and this caused some problems on systems 19959 that needed some prototypes in <time.h>). 19960 19961Author: Ken Hornstein <kenh@pobox.com> 19962Date: Wed Jan 11 14:52:23 2012 -0500 19963 19964 Ignore a.out.DSYM (this file sometims shows up when using the debugger) 19965 19966Author: Ken Hornstein <kenh@pobox.com> 19967Date: Wed Jan 11 14:48:45 2012 -0500 19968 19969 Fix two errors in the conversion to m_mktemp2(): 19970 19971 - There was an off-by-one error that prevented the temporary file 19972 from being created in the same directory as the message it was being 19973 linked to. 19974 - When using "dist", the assumption was that the temporary file would not 19975 exist when m_scratch was called (it wanted to link() to the name). This 19976 was solved by simply unlink()ing the temporary file after it was created. 19977 19978Merge: c2191f6 a2469f5 19979Author: Ken Hornstein <kenh@pobox.com> 19980Date: Mon Jan 9 15:52:34 2012 -0500 19981 19982 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 19983 19984Author: Ken Hornstein <kenh@pobox.com> 19985Date: Mon Jan 9 15:51:57 2012 -0500 19986 19987 Remove OS-specific defines. As part of it, remove scary longjmp() inside 19988 signal handlers that was part of the code under #ifdef BSD42. 19989 19990Author: David Levine <levinedl@acm.org> 19991Date: Mon Jan 9 14:08:38 2012 -0600 19992 19993 Removed a remaining RETSIGTYPE. Also change a few locals from int to unsigned to prevent signed-unsigned comparison mismatch. 19994 19995Author: Ken Hornstein <kenh@pobox.com> 19996Date: Mon Jan 9 14:43:35 2012 -0500 19997 19998 Clean up time handling; always assume we have tzset() and that the right 19999 prototypes are in time.h (both are valid in POSIX). 20000 20001Author: Ken Hornstein <kenh@pobox.com> 20002Date: Mon Jan 9 14:07:37 2012 -0500 20003 20004 Garbage collect autoconf support for checking for the header file for initgroups 20005 and snprintf() prototypes. 20006 20007Author: Ken Hornstein <kenh@pobox.com> 20008Date: Mon Jan 9 13:56:30 2012 -0500 20009 20010 We are making POSIX signal support a requirement; remove all support for 20011 other signal interfaces. 20012 20013Author: Ken Hornstein <kenh@pobox.com> 20014Date: Mon Jan 9 13:38:02 2012 -0500 20015 20016 Finally able to get rid of acconfig.h! Since we're doing slightly better 20017 in the autoconf universe, rename configure.in to configure.ac, the "more 20018 correct" name for the configure script template. 20019 20020Author: Ken Hornstein <kenh@pobox.com> 20021Date: Mon Jan 9 13:26:59 2012 -0500 20022 20023 Switch from using RETSIGTYPE via autoconf to void, since POSIX says that's 20024 type to use for a signal handler. 20025 20026Author: David Levine <levinedl@acm.org> 20027Date: Sun Jan 8 17:58:11 2012 -0600 20028 20029 Removed unused bcmp, bcopy, bcpy, and bzero #defines. 20030 20031Author: David Levine <levinedl@acm.org> 20032Date: Sun Jan 8 13:46:47 2012 -0600 20033 20034 gcc -Wempty-body warned that the check of the result from the call to parse_mime() was ignored. It has been that way since the beginning of history and was probably of no consequence, but fixed anyway. 20035 20036Author: David Levine <levinedl@acm.org> 20037Date: Sun Jan 8 10:51:05 2012 -0600 20038 20039 Removed traces of bboards and bbc from mh-profile and msh man pages. Added see also of msh to packf man page. 20040 20041Author: David Levine <levinedl@acm.org> 20042Date: Sun Jan 8 10:34:31 2012 -0600 20043 20044 Wrapped #include of config.h with #ifdef HAVE_CONFIG_H, just in case someone ever wants to build without using configure. 20045 20046Author: David Levine <levinedl@acm.org> 20047Date: Sun Jan 8 10:27:15 2012 -0600 20048 20049 Removed hard-coded -I.. and -I../.. from INCLUDES, it was redundant given -I$(top_srcdir). 20050 20051Author: David Levine <levinedl@acm.org> 20052Date: Sat Jan 7 10:03:35 2012 -0600 20053 20054 Added Content-Description header with the filename of the attachment, with attachformats 1 and 2. This seems to be common practice now and gives mhlist something useful to display. 20055 20056Author: David Levine <levinedl@acm.org> 20057Date: Sat Jan 7 09:53:36 2012 -0600 20058 20059 Added note about fileproc and mhlproc mh-profile entries. 20060 20061Author: David Levine <levinedl@acm.org> 20062Date: Sat Jan 7 09:19:59 2012 -0600 20063 20064 Added removal of autom4te.cache directory to mostlyclean-local. 20065 20066Author: David Levine <levinedl@acm.org> 20067Date: Sat Jan 7 09:17:34 2012 -0600 20068 20069 Quoted argument to AC_LINK_IFELSE to silence authoheader warnings. 20070 20071Merge: d2e40bd 0d56141 20072Author: David Levine <levinedl@acm.org> 20073Date: Sat Jan 7 08:22:24 2012 -0600 20074 20075 Merge branch 'fileproc_mhlproc_to_post' 20076 20077Author: Ken Hornstein <kenh@pobox.com> 20078Date: Fri Jan 6 14:40:31 2012 -0500 20079 20080 Move definition of LINK to mh header file, and garbage collect ATTVIBUG code. 20081 20082Author: Ken Hornstein <kenh@pobox.com> 20083Date: Fri Jan 6 14:18:46 2012 -0500 20084 20085 Hardcode the defaults for Msg-Protect and Folder-Protect. Also fix the 20086 documentation (had the wrong value for the default for Msg-Protect). 20087 20088Author: Ken Hornstein <kenh@pobox.com> 20089Date: Fri Jan 6 14:12:13 2012 -0500 20090 20091 Huh, apparantly I got rid of any support for POPSERVICE over a year 20092 ago! Good riddance, I say. 20093 20094Author: Ken Hornstein <kenh@pobox.com> 20095Date: Fri Jan 6 10:48:03 2012 -0500 20096 20097 Garbage collect all of the builtin ftp client support. 20098 20099Author: Ken Hornstein <kenh@pobox.com> 20100Date: Fri Jan 6 10:37:38 2012 -0500 20101 20102 Garbage-collect MHRC (and make it the default). 20103 20104Author: Ken Hornstein <kenh@pobox.com> 20105Date: Fri Jan 6 10:36:21 2012 -0500 20106 20107 Garbage-collect SLOCAL_MBOX (and make it the default). 20108 20109Author: Ken Hornstein <kenh@pobox.com> 20110Date: Fri Jan 6 10:35:16 2012 -0500 20111 20112 Garbage-collect RPATHS support. 20113 20114Author: Ken Hornstein <kenh@pobox.com> 20115Date: Fri Jan 6 10:29:35 2012 -0500 20116 20117 Huh, turns out this define hasn't worked in forever ... the original 20118 changes were made to the lexer output, and silently vanished a decade 20119 ago when code was reorganized from zotnet to sbr! 20120 20121Author: Ken Hornstein <kenh@pobox.com> 20122Date: Fri Jan 6 10:22:44 2012 -0500 20123 20124 Remove last vestiges of #ifdef BANG 20125 20126Author: Ken Hornstein <kenh@pobox.com> 20127Date: Fri Jan 6 10:21:17 2012 -0500 20128 20129 Remove DBMPWD, make it the default. 20130 20131Author: David Levine <levinedl@acm.org> 20132Date: Fri Jan 6 08:55:39 2012 -0600 20133 20134 Added datarootdir definitions to silence warnings from configure. 20135 20136Author: David Levine <levinedl@acm.org> 20137Date: Thu Jan 5 21:36:51 2012 -0600 20138 20139 Fixed trivial compile warnings. 20140 20141Author: Ken Hornstein <kenh@pobox.com> 20142Date: Thu Jan 5 22:13:08 2012 -0500 20143 20144 Not sure why we're checking for st_blksize; it's required by POSIX and 20145 we're not even using the define! 20146 20147Author: Ken Hornstein <kenh@pobox.com> 20148Date: Thu Jan 5 22:08:23 2012 -0500 20149 20150 Switch the use of LOCKDIR in acconfig.h to --enable-lockdir. 20151 20152Author: David Levine <levinedl@acm.org> 20153Date: Thu Jan 5 21:00:58 2012 -0600 20154 20155 Merge branch 'master', remote-tracking branch 'origin' 20156 20157Author: Ken Hornstein <kenh@pobox.com> 20158Date: Thu Jan 5 13:39:47 2012 -0500 20159 20160 Garbage collect all of the old UCI #ifdef'd code. 20161 20162Author: Ken Hornstein <kenh@pobox.com> 20163Date: Thu Jan 5 12:26:48 2012 -0500 20164 20165 Update this with mh-e changes. 20166 20167Merge: 220dcd2 edc8d46 20168Author: David Levine <levinedl@acm.org> 20169Date: Thu Jan 5 11:14:56 2012 -0600 20170 20171 Feed fileproc and mhlproc from rcvdist, send, and whatnow to post. 20172 20173Author: David Levine <levinedl@acm.org> 20174Date: Wed Jan 4 21:05:45 2012 -0600 20175 20176 Feed fileproc and mhlproc from rcvdist, send, and whatnow to post. 20177 20178Author: Ken Hornstein <kenh@pobox.com> 20179Date: Thu Jan 5 12:05:43 2012 -0500 20180 20181 Bring in all of the mh-e support that is actually used to be compiled by 20182 default, and garbage collect the stuff that is not used. 20183 20184Author: David Levine <levinedl@acm.org> 20185Date: Wed Jan 4 21:05:45 2012 -0600 20186 20187 Feed fileproc and mhlproc from rcvdist, send, whatnow, and whom to post. 20188 20189Author: Ken Hornstein <kenh@pobox.com> 20190Date: Tue Jan 3 22:28:44 2012 -0500 20191 20192 Whoops, for right now we do need those signal function checks. 20193 20194Author: Ken Hornstein <kenh@pobox.com> 20195Date: Tue Jan 3 22:21:07 2012 -0500 20196 20197 Switch to standard autoconf macro for checking d_type field in struct dirent. 20198 20199Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20200Date: Mon Dec 26 09:19:35 2011 -0800 20201 20202 Remove #ifdef around use of sigsetjmp(). 20203 20204Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20205Date: Sun Dec 25 19:17:58 2011 -0800 20206 20207 Remove overrides for 'broken' stat macros. 20208 Remove redundant SEEK_* macro definitions. 20209 20210Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20211Date: Sun Dec 25 17:20:26 2011 -0800 20212 20213 Include <stdio.h> for snprintf() prototype. 20214 20215Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20216Date: Sun Dec 25 12:23:41 2011 -0800 20217 20218 Nuke directory processing conditionals; use dirent.h. 20219 20220Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20221Date: Sun Dec 25 12:16:08 2011 -0800 20222 20223 Add back missing include of <sys/wait.h> 20224 20225Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20226Date: Sun Dec 25 12:09:21 2011 -0800 20227 20228 Clean up process wait to use POSIX waitpid() interface. 20229 20230Author: Ken Hornstein <kenh@pobox.com> 20231Date: Tue Jan 3 22:01:07 2012 -0500 20232 20233 No longer check for the mkstemp() function in the mkstemp library. 20234 20235Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20236Date: Sun Dec 25 11:58:38 2011 -0800 20237 20238 Make use of mkstemp() unconditional (vs. mktemp(). 20239 20240 This patch also removes the m_scratch() and m_tmpfil() functions. 20241 They have been deprecated for a while, and are no longer used in any of 20242 the code base. 20243 20244Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20245Date: Sun Dec 25 11:28:07 2011 -0800 20246 20247 Remove compatibility functions that are always provided by the 20248 POSIX host environment. 20249 20250Author: Ken Hornstein <kenh@pobox.com> 20251Date: Tue Jan 3 21:54:07 2012 -0500 20252 20253 Get rid of checking for vfork(), since we no longer use. 20254 20255Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20256Date: Sat Dec 24 18:18:22 2011 -0800 20257 20258 Replace <arpa/ftp.h> with "h/arpa_ftp.h". 20259 20260Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20261Date: Sat Dec 24 18:17:10 2011 -0800 20262 20263 Import non-Posix <arpa/ftp.h> for uip/ftpsbr.c. 20264 20265Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20266Date: Sat Dec 24 18:15:06 2011 -0800 20267 20268 Remove HAVE_ARPA_FTP_H and arpa/ftp.h references. 20269 20270Author: Ken Hornstein <kenh@pobox.com> 20271Date: Tue Jan 3 21:38:07 2012 -0500 20272 20273 Remove autoconf ospeed checks 20274 20275Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20276Date: Sat Dec 24 16:38:47 2011 -0800 20277 20278 Ignore OSPEED/ospeed in termcap. Nothing current should need this. 20279 20280Author: Ken Hornstein <kenh@pobox.com> 20281Date: Tue Jan 3 21:12:11 2012 -0500 20282 20283 No longer check for termio.h or termios.h 20284 20285Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20286Date: Sat Dec 24 16:15:22 2011 -0800 20287 20288 Collapse termio/termios/sgtty terminal interface code down to 20289 the Posix termios interface. 20290 20291Author: Ken Hornstein <kenh@pobox.com> 20292Date: Tue Jan 3 21:06:45 2012 -0500 20293 20294 Update configure file for removal of POSIX-mandated header files. 20295 20296Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20297Date: Sat Dec 24 15:40:48 2011 -0800 20298 20299 Eliminate '#ifdef HAVE_FOO' for Posix-mandated FOOs. 20300 20301Author: Ken Hornstein <kenh@pobox.com> 20302Date: Tue Jan 3 20:27:45 2012 -0500 20303 20304 No longer need to check for the existance of sys/utsname.h 20305 20306Author: Lyndon Nerenberg <lyndon@orthanc.ca> 20307Date: Sat Dec 24 15:30:53 2011 -0800 20308 20309 Deprecate uname() in favour of (Posix) gethostname(). 20310 20311Author: Ken Hornstein <kenh@pobox.com> 20312Date: Tue Jan 3 20:20:26 2012 -0500 20313 20314 Sigh. I put the documentation about the -tls switch in the long description, 20315 but not in the command summary. 20316 20317Author: Ken Hornstein <kenh@pobox.com> 20318Date: Tue Jan 3 16:30:50 2012 -0500 20319 20320 Updated pending-release-notes 20321 20322Author: David Levine <levinedl@acm.org> 20323Date: Tue Jan 3 15:16:29 2012 -0600 20324 20325 Added note about cpio failing to unpack an nmh tarball. 20326 20327Author: Ken Hornstein <kenh@pobox.com> 20328Date: Tue Jan 3 15:17:54 2012 -0500 20329 20330 Switch to using buffered I/O when doing TLS (but only for output). 20331 20332Author: Ken Hornstein <kenh@pobox.com> 20333Date: Tue Jan 3 10:36:14 2012 -0500 20334 20335 Updated these files since we've finally got 1.4 out the door. 20336 20337Author: David Levine <levinedl@acm.org> 20338Date: Tue Dec 27 22:41:24 2011 -0600 20339 20340 Moved #endif so that lockit () is only declared with DOT_LOCKING, to avoid compile warning without it. 20341 20342Author: David Levine <levinedl@acm.org> 20343Date: Tue Dec 27 22:38:52 2011 -0600 20344 20345 Reworked nmh.spec to support rpmbuild from source RPM. 20346 20347Author: David Levine <levinedl@acm.org> 20348Date: Sun Dec 25 15:00:49 2011 -0600 20349 20350 Removed unused vmh.c and wmh.c. 20351 20352Author: David Levine <levinedl@acm.org> 20353Date: Sat Dec 24 20:28:50 2011 -0600 20354 20355 Changed second argument of calls to part_ok() and type_ok() from 20356 0 to 1, to match what store_multi() in mhstoresbr.c does. 20357 20358 A test case is below. Without this fix, the following command: 20359 20360 mhshow -part 1.1 -form mhl.null 20361 20362 produced no output. mhlist showed a part 1.1: 20363 20364 msg part type/subtype size description 20365 1231 multipart/mixed 276 20366 1 multipart/related 107 20367 1.1 text/plain 29 20368 20369 and "mhstore -part 1.1" properly stored it. With this 20370 fix, mhshow behaves properly and shows the part. 20371 20372 Analogous behavior happened with -type text/plain. 20373 20374 test case: 20375 20376 MIME-Version: 1.0 20377 Content-Type: multipart/mixed; boundary="NextPart_001" 20378 Content-class: urn:content-classes:message 20379 Date: Thu, 19 May 2011 00:00:00 -0000 20380 From: sender@example.com 20381 To: recipient@example.com 20382 20383 This is a multi-part message in MIME format. 20384 20385 --NextPart_001 20386 Content-Type: multipart/related; 20387 type="multipart/alternative"; 20388 boundary="NextPart_002" 20389 20390 --NextPart_002 20391 Content-Type: text/plain; 20392 charset="utf-8" 20393 20394 This is the text/plain part. 20395 20396 --NextPart_002-- 20397 20398 --NextPart_001-- 20399 20400Author: David Levine <levinedl@acm.org> 20401Date: Sat Dec 24 19:36:32 2011 -0600 20402 20403 Replaced cvs with git references. I'm not sure about the cgit 20404 URL at the very end. Also removed mention of source directories 20405 that were deprecated and removed long ago. 20406 20407Author: David Levine <levinedl@acm.org> 20408Date: Sat Dec 24 09:59:45 2011 -0600 20409 20410 Added --with-rpmdir configure option so that user can set location of RPM build root. 20411 20412Author: David Levine <levinedl@acm.org> 20413Date: Tue Dec 13 18:33:07 2011 -0600 20414 20415 Added comments about source of description, etc. 20416 20417Author: David Levine <levinedl@acm.org> 20418Date: Mon Dec 12 22:50:06 2011 -0600 20419 20420 Replaced use of GNU make shell function with backticks. These were 20421 for the rpm target, which would most likely only be build on Linux. 20422 So they probably would have been OK, but just in case. 20423 20424Author: David Levine <levinedl@acm.org> 20425Date: Mon Dec 12 22:25:52 2011 -0600 20426 20427 The docs/Makefile install target didn't do anything before. Added 20428 the files that go into doc to it, and removed them from nmh.spec. 20429 nmh.spec should now require zero maintenance. 20430 20431Author: David Levine <levinedl@acm.org> 20432Date: Mon Dec 12 21:45:17 2011 -0600 20433 20434 Added RPM/ so that git status doesn't mention that it's an untracked file. 20435 20436Merge: d7f7173 bc20acd 20437Author: David Levine <levinedl@acm.org> 20438Date: Mon Dec 12 21:37:47 2011 -0600 20439 20440 Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh 20441 20442Author: David Levine <levinedl@acm.org> 20443Date: Mon Dec 12 21:35:52 2011 -0600 20444 20445 Moved version number from nmh.spec to Makefile.in, to minimize 20446 maintenance for nmh.spec. 20447 20448Author: Ken Hornstein <kenh@pobox.com> 20449Date: Mon Dec 12 12:59:42 2011 -0500 20450 20451 Make sure to not reset hghnum (in the Maildir code) if we are incorporating 20452 mail from a POP mailbox. 20453 20454Author: David Levine <levinedl@acm.org> 20455Date: Sun Dec 11 17:03:56 2011 -0600 20456 20457 Added first cut at nmh.spec, along with rpm: target in Makefile.in. 20458 20459Author: David Levine <levinedl@acm.org> 20460Date: Sun Dec 11 13:44:50 2011 -0600 20461 20462 Removed netdb.h because we no longer distribute it. 20463 20464Author: David Levine <levinedl@acm.org> 20465Date: Sun Dec 11 10:24:20 2011 -0600 20466 20467 Removed unused local variables to eliminate warnings from gcc 4.6.2. 20468 20469Author: Ken Hornstein <kenh@pobox.com> 20470Date: Wed Dec 7 12:00:26 2011 -0500 20471 20472 Make sure to ignore the nmh dist file. 20473 20474Author: Ken Hornstein <kenh@pobox.com> 20475Date: Wed Dec 7 11:36:53 2011 -0500 20476 20477 Since we're now moving past 1.4, bump this. 20478 20479Author: David Malone <dwmalone@maths.tcd.ie> 20480Date: Wed Dec 7 10:19:40 2011 -0500 20481 20482 Add support to inc for incorporting email from Maildir dropboxes. 20483 20484 Add missing #include for <sys/socket.h> to bring in definitions of PF_UNSPEC. 20485 20486 Signed-off-by: Ken Hornstein <kenh@pobox.com> 20487 20488Author: Ken Hornstein <kenh@pobox.com> 20489Date: Wed Apr 13 10:50:49 2011 -0400 20490 20491 Whoops, user & port were in the wrong order so msgchk didn't work for POP 20492 connections. 20493 20494Author: Ken Hornstein <kenh@pobox.com> 20495Date: Mon Feb 21 20:44:30 2011 -0500 20496 20497 Updated the developer README with a few notes about the git conversion. 20498 20499 Signed-off-by: Ken Hornstein <kenh@pobox.com> 20500 20501Author: Paul Vixie <vixie@vix.com> 20502Date: Mon Feb 7 14:13:54 2011 -0500 20503 20504 Signed-off-by: Ken Hornstein <kenh@pobox.com> 20505 20506 More documentation about the hooks support. 20507 20508Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20509Date: Tue Dec 21 16:50:24 2010 +0000 20510 20511 Clean up code in inc.c 20512 20513 Clean up the confusing use of a variable 'i' in inc.c. 20514 The case where it was being used as 'an error occurred 20515 which means we should not truncate the mailspool' is now 20516 called 'incerr' and merged with the equivalent 'p' variable 20517 used in the POP-specific code. Cases where it was being 20518 used as a random temporary are still called 'i' but now 20519 declared with a much more restricted scope. 20520 This fixes a compilation warning for some compilers. 20521 20522 Signed-off-by: Peter Maydell <peter.maydell@linaro.org> 20523 20524Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20525Date: Mon Dec 20 21:13:32 2010 +0000 20526 20527 Suppress tsort diagnostic waffle 20528 20529 tsort produces waffle to standard error if it detects loops in its input. 20530 For our purposes in ordering object files this is harmless, so just send 20531 it all to /dev/null. 20532 20533 Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20534 20535Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20536Date: Mon Dec 20 21:13:32 2010 +0000 20537 20538 Fix unused-function warnings in lex output 20539 20540 Fix the unused-function warnings in the output of lex. In particular, we 20541 silence a warning about yyunput being static but unused by exposing it as 20542 a global function. This costs us a few hundred bytes in the binary but 20543 the other available solutions are flex-specific or more complicated. 20544 YY_NO_UNPUT used to silence this but no longer works in recent flex. 20545 On the other hand YY_NO_INPUT does work to silence warnings about input(). 20546 20547 Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20548 20549Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20550Date: Mon Dec 20 21:13:32 2010 +0000 20551 20552 Fix used-uninitialised warning in fmt_rfc2047.c 20553 20554 Fix a used-uninitialised warning in fmt_rfc2047.c. 20555 I don't think it can actually be used uninitialised, but the 20556 code is too complicated for the compiler to realise this. 20557 20558 Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20559 20560Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20561Date: Mon Dec 20 21:13:32 2010 +0000 20562 20563 Fix used-uninitialised warning in new.c 20564 20565 Fix a used-uninitialised warning in new.c by having the check_folders() 20566 routine return first=last=NULL for empty folder lists. This is a more 20567 sensible API anyway. (It would not actually have been possible for 20568 the code to try to use last while it was uninitialised, as it happens.) 20569 20570 Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20571 20572Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20573Date: Mon Dec 20 21:13:32 2010 +0000 20574 20575 Fix crash if fnext/fprev are given an empty folder list 20576 20577 Add a check for a NULL pointer, which stops fnext/fprev 20578 from segfaulting if given an empty folder list (for example 20579 via 'fnext -folders emptyfile'). 20580 20581 Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20582 20583Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20584Date: Mon Dec 20 19:54:43 2010 +0000 20585 20586 Fix warning in sbr/folder_addmsg.c by code cleanup 20587 20588 Clean up some rather oddly written code in folder_addmsg() 20589 so it is easier to understand for both humans and for the 20590 compiler (and the compiler thus stops complaining about an 20591 uninitialised variable). 20592 20593 Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20594 20595Author: Ken Hornstein <kenh@pobox.com> 20596Date: Thu Dec 16 13:20:31 2010 -0500 20597 20598 Fix so this compiles without SASL support. 20599 20600 Damn you, Oliver Kiddle, for finding all of the bugs I add to nmh! 20601 20602Author: Ken Hornstein <kenh@pobox.com> 20603Date: Thu Dec 16 13:11:17 2010 -0500 20604 20605 All of the arguments to AC_ARG_ENABLE need to be quoted, otherwise the 20606 last action doesn't make it into the configure script. 20607 20608Author: Ken Hornstein <kenh@pobox.com> 20609Date: Thu Dec 16 13:02:32 2010 -0500 20610 20611 Make sure we ignore config.h.in~ 20612 20613Author: Markus Schnalke <meillo@marmaro.de> 20614Date: Thu Dec 16 01:36:43 2010 +0100 20615 20616 fix typo and clarify two sentences in mhpath man page 20617 20618Author: Markus Schnalke <meillo@marmaro.de> 20619Date: Thu Dec 16 01:25:11 2010 +0100 20620 20621 improve mhparam man page 20622 20623Author: Oliver Kiddle <okiddle@yahoo.co.uk> 20624Date: Thu Dec 16 01:23:16 2010 +0100 20625 20626 fix badly formatted code found by Markus Schnalke 20627 20628Author: Scott Snyder <snyder@bnl.gov> 20629Date: Wed Dec 15 22:17:52 2010 +0100 20630 20631 propagate and check return status of close() in slocal 20632 20633Author: Markus Schnalke <meillo@marmaro.de> 20634Date: Wed Dec 15 22:02:30 2010 +0100 20635 20636 document msg parameter to folder 20637 20638Author: Oliver Kiddle <okiddle@yahoo.co.uk> 20639Date: Tue Dec 14 18:04:01 2010 +0100 20640 20641 switches need to be renumbered following removal of some switches so, 20642 e.g. inc -version was not working 20643 20644Author: Ken Hornstein <kenh@pobox.com> 20645Date: Thu Dec 9 15:29:29 2010 -0500 20646 20647 Massive garbage collection. Remove functionality for APOP, RPOP, 20648 all NNTP support (including bboards) and MPOP. 20649 20650Author: David Levine <levinedl@acm.org> 20651Date: Wed Dec 8 14:36:36 2010 -0600 20652 20653 * uip/whatnowsbr.c: enforce requirement of at least one file 20654 argument to attach command. 20655 20656Author: David Levine <levinedl@acm.org> 20657Date: Wed Dec 8 10:47:03 2010 -0600 20658 20659 man/send.man: added name= portion to Content-Type 20660 headers to reflect 2006-10-24 change to uip/sendsbr.c. 20661 That change allowed mhstore to use the (file)name when 20662 extracting attachments. 20663 20664Author: Ken Hornstein <kenh@pobox.com> 20665Date: Fri Dec 3 15:23:11 2010 -0500 20666 20667 Remove RCS keywords, since they no longer work after git migration. 20668 20669Author: Ken Hornstein <kenh@cmf.nrl.navy.mil> 20670Date: Thu Dec 2 21:04:30 2010 -0500 20671 20672 Whoops, forgot to bracket the calls for TLS shutdown with a #ifdef TLS_SUPPORT 20673 20674Author: Ken Hornstein <kenh@cmf.nrl.navy.mil> 20675Date: Thu Dec 2 20:37:54 2010 -0500 20676 20677 Update for git conversions (and cleanup of autogen.sh to use autoreconf) 20678 20679Author: Ken Hornstein <kenh@cmf.nrl.navy.mil> 20680Date: Thu Dec 2 18:03:22 2010 -0500 20681 20682 Change configure.in to emit a warning when an argument is given to 20683 --with-cyrus-sasl. 20684 20685Author: Ken Hornstein <kenh@pobox.com> 20686Date: Sun Nov 21 22:19:51 2010 +0000 20687 20688 Fix the test for sasl.h to look in the correct place. 20689 20690Author: Ken Hornstein <kenh@pobox.com> 20691Date: Fri Nov 19 20:13:39 2010 +0000 20692 20693 (Minor) cleanup of some of the autoconf code with respect to the handling 20694 of compiler flags for SASL, and also rototill (and simplify) the autoconf 20695 handling for the same. 20696 20697 Add TLS support for the SMTP MTA. 20698 20699Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20700Date: Fri Nov 12 23:28:26 2010 +0000 20701 20702 man/slocal.man: fix formatting error that meant a subsection heading 20703 wasn't displayed as such. Followon cleanup: since the new heading is too 20704 wide to fit in the margin, tidy the margin to 4 characters wide so we 20705 are consistent with how all the headings are displayed. 20706 20707Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20708Date: Wed Nov 10 22:26:07 2010 +0000 20709 20710 configure.in: add a level of expansion for mandir when printing the 20711 end-of-configure install path summary. 20712 20713Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20714Date: Tue Nov 9 21:33:22 2010 +0000 20715 20716 man/rmm.man: fix error in synopsis: the option is [no]unlink, not [no]link. 20717 20718Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20719Date: Fri Nov 5 22:06:10 2010 +0000 20720 20721 Silence a (harmless) uninitialized variable warning. 20722 20723Author: David Levine <levinedl@acm.org> 20724Date: Tue Aug 31 15:00:53 2010 +0000 20725 20726 * uip/.cvsignore: added "new". 20727 20728Author: Earl Hood <earl@earlhood.com> 20729Date: Sat Feb 6 07:47:38 2010 +0000 20730 20731 #ifdef AI_ADDRCONFIG since older IPv4-only systems may not define this flag, 20732 causing files that use to not compile. 20733 20734Author: Earl Hood <earl@earlhood.com> 20735Date: Sat Feb 6 07:45:47 2010 +0000 20736 20737 Fixed variable declaration so older compilers will not complain. 20738 I.e. Older compilers may not support C99, so variables must be 20739 declared at the beginning of a block. 20740 20741Author: Earl Hood <earl@earlhood.com> 20742Date: Thu Feb 4 01:39:21 2010 +0000 20743 20744 * Bug #15213, #18635: The use of the insecure m_scratch() and 20745 m_tmpfil() functions have been replaced by m_mktemp() 20746 or m_mktemp2() functions (defined in sbr/m_mktemp.c). 20747 The new functions use mkstemp() to securely create 20748 temporary files to avoid the numerous race conditions 20749 that exist with the old functions. This does assume 20750 that mkstemp() is available. Unsure if we need to 20751 create an alternative implementation if mkstemp() is 20752 not available. More information about new temp file 20753 functions in m_mktemp.c, including the support for 20754 MHTMPDIR, TMPDIR, and TMP envvars. 20755 20756 NOTE: The files sbr/m_scratch.c and sbr/m_tmpfil.c should be removed. 20757 Until more testing verifies changes to support new functions have not 20758 broken functionality, the files are be left in the tree, but comments 20759 have been added stating the functions in them should not be called. 20760 20761Author: Earl Hood <earl@earlhood.com> 20762Date: Wed Feb 3 05:56:56 2010 +0000 20763 20764 * mts/smtp/smtp.c: added SASL support if mts configuration 20765 setting is set to "sendmail". This is useful if sendmail 20766 conf option is to a custom script that creates a proxy 20767 connection to an smtp server. 20768 20769 * sbr/mts.c: added support for MHMTSCONF and MHMTSUSERCONF 20770 envvars. The former specifies an alternative system 20771 mts.conf to use. The later specifies a user-specific 20772 mts.conf to use. This one will be read after the system 20773 conf, so the user's conf only needs to set options they 20774 want to override. The MHMTSUSERCONF allows a user to set 20775 personal alternative mail submission methods w/o affecting 20776 other users on the system. 20777 20778 * uip/whom.c: added SASL-based options so address checking 20779 can work against a server that requires SASL. 20780 20781Author: David Levine <levinedl@acm.org> 20782Date: Wed Dec 30 01:42:45 2009 +0000 20783 20784 * uip/mhlistsbr.c, uip/mhlsbr.c, uip/picksbr.c: cast 20785 pointers to unsigned long before casting to unsigned int 20786 to avoid warnings on 64-bit about casting from pointer 20787 to int of different size. 20788 20789Author: David Levine <levinedl@acm.org> 20790Date: Wed Dec 30 01:41:47 2009 +0000 20791 20792 * uip/new.c: cast folder_len to int to avoid warning on 20793 64-bit about passing a size_t to an int conversion specifier. 20794 20795Author: David Levine <levinedl@acm.org> 20796Date: Fri Dec 25 14:47:39 2009 +0000 20797 20798 * uip/inc.c: gcc 4.4.1 noticed that maildir could have been 20799 used before initialization. In fact, if that code was ever 20800 reached, maildir would never have been initialized. It's in 20801 an adios call, so replaced with NULL. 20802 20803Author: David Levine <levinedl@acm.org> 20804Date: Mon Dec 21 17:18:04 2009 +0000 20805 20806 * mts/smtp/smtp.c: In sm_auth_sasl (), removed zeroing of 20807 sasl_inbuffer because it could be used in sm_fget (). Also, 20808 removed allocation of sasl_inbuffer because that was done in 20809 either smtp_init () or sendmail_init (). 20810 20811Author: Josh Bressers <josh@bress.net> 20812Date: Mon Jan 26 13:38:13 2009 +0000 20813 20814 Remove duplicate sm_fgetc() declaration 20815 20816Author: Ken Hornstein <kenh@pobox.com> 20817Date: Wed Jan 21 19:38:36 2009 +0000 20818 20819 Fix warning in getaddrinfo() call. 20820 Add missing support for -port in whatnow. 20821 Make sure the SASL input buffer is allocated when using the sendmail mts. 20822 20823Author: Eric Gillespie <epg@pretzelnet.org> 20824Date: Sun Jan 18 04:48:42 2009 +0000 20825 20826 * etc/mhn.defaults.sh: Never try to make mhshow start xterm. 20827 20828Author: Eric Gillespie <epg@pretzelnet.org> 20829Date: Sat Jan 17 16:53:07 2009 +0000 20830 20831 Note 'new' commands. 20832 20833Author: Eric Gillespie <epg@pretzelnet.org> 20834Date: Sat Jan 17 16:47:29 2009 +0000 20835 20836 * test/runtest, test/tests/inc/test-deb359167, 20837 test/tests/inc/test-eom-align, test/tests/manpages/test-manpages: 20838 Load common.sh via absolute path, otherwise some /bin/sh 20839 (e.g. dash) can't load it. 20840 20841 * uip/Makefile.in, uip/new.c, test/tests/new/test-basic: Add new 20842 program, and fn/fp/unseen symlinks. 20843 20844 * test/{runtest,setup-test}: Move MH profile under Mail directory 20845 so each test script will have its own to muck with, if needed. 20846 20847 * h/Makefile.in, h/crawl_folders.h, sbr/Makefile.in, 20848 sbr/crawl_folders.c, uip/folder.c: Extract the folder crawling 20849 code from folder.c into new crawl_folders function, using a 20850 callback to assemble the folder info in folder.c. Drop compare 20851 function and use strcmp instead. Rename addfold and addir to 20852 add_folder and add_children (add dir vs. add folder? 20853 confusing names). 20854 20855Author: Ken Hornstein <kenh@pobox.com> 20856Date: Fri Jan 16 15:48:09 2009 +0000 20857 20858 Move freeaddrinfo() to inside of our loop; this prevents a memory leak 20859 and also prevents it from being called with a NULL pointer. 20860 20861Author: Ken Hornstein <kenh@pobox.com> 20862Date: Fri Jan 16 02:28:54 2009 +0000 20863 20864 Massive overhaul of networking code. Changes: 20865 20866 - All networking interfaces now converted to new APIs (getaddrinfo() and 20867 the like). All networking now supports IPv6 (with the exception of 20868 the built-in FTP client). 20869 - SASL security layers are now supported for SMTP. 20870 - Command-line and profile-based selection of the SMTP server and port. 20871 20872Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20873Date: Fri Dec 26 21:54:19 2008 +0000 20874 20875 * sbr/m_getfld.c: fix two bugs which could cause us to walk off 20876 the beginning of the stdio or prefix-string buffer when checking 20877 for presence of the end-of-message delimiter in some situations. 20878 This might cause inc to dump core if you were unlucky. (This was 20879 Debian bug 359167.) 20880 * test/tests/inc/{md5sums,msgheader.txt,test-deb359167, 20881 test-eom-align,fromline.txt,filler.txt,deb359167.mbox}: new tests 20882 both for the specific problem and to try to check various alignments 20883 of the eom string with the stdio buffer ending. 20884 * test/common.sh: Added some functions for doing progress indicators. 20885 20886Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20887Date: Fri Dec 26 16:32:07 2008 +0000 20888 20889 test/common.sh: new file for common utility functions for the test scripts. 20890 Moved findprog out of manpage test script into this new file. 20891 20892Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 20893Date: Thu Dec 25 23:30:33 2008 +0000 20894 20895 test/runtest: automatically run setup-test if it hasn't already 20896 been done. Improve error handling in test script with 'set -e'. 20897 20898Author: David Levine <levinedl@acm.org> 20899Date: Thu Oct 23 18:38:22 2008 +0000 20900 20901 * h/mh.h: raised NAMESZ from 128 to 999. RFC 2822 limits line 20902 lengths to 998 characters, so a header name can be at most that long. 20903 m_getfld limits header names to 2 less than NAMESZ, which is fine, 20904 because header names must be followed by a colon. Add one for 20905 terminating NULL. 20906 20907Author: David Levine <levinedl@acm.org> 20908Date: Thu Oct 23 18:14:52 2008 +0000 20909 20910 * sbr/m_getfld.c: in warning message, use NAMESZ-2 instead of 20911 NAMESZ-1 bytes because the message says "exceeds", not 20912 "is greater than or equal to". 20913 20914Author: David Levine <levinedl@acm.org> 20915Date: Thu Oct 23 16:45:36 2008 +0000 20916 20917 * docs/MAIL.FILTERING: added note on removing procmail -f or 20918 -r options to try to suppress generation of a "From " line on 20919 incoming messages. 20920 20921Author: Eric Gillespie <epg@pretzelnet.org> 20922Date: Tue Aug 19 04:36:42 2008 +0000 20923 20924 +mhn.defaults.sh.cfg 20925 20926Author: Eric Gillespie <epg@pretzelnet.org> 20927Date: Thu Aug 14 19:47:29 2008 +0000 20928 20929 * test/setup-test: Don't run autogen.sh unless needed. Build in a 20930 blddir under the temporary directory so as not to interfere with 20931 whatever the developer may be doing in the source directory. 20932 If the temporary directory already exists, rebuild and install it. 20933 20934Author: Eric Gillespie <epg@pretzelnet.org> 20935Date: Thu Aug 14 06:19:08 2008 +0000 20936 20937 This is what happens with last-minute "safe" improvements: actually point 20938 chset to something in the new merged InitText! 20939 20940Author: Eric Gillespie <epg@pretzelnet.org> 20941Date: Thu Aug 14 01:50:45 2008 +0000 20942 20943 * sbr/ambigsw.c: Send print_sw output to stderr. This avoids 20944 strange problems with scan `pick -bogus`, not to mention being 20945 nicer anyway. 20946 20947 * sbr/getans.c, sbr/print_help.c, uip/msh.c: Send print_sw output 20948 to stdout. 20949 20950 * h/prototypes.h, sbr/print_sw.c (print_sw): Add FILE * argument 20951 and send output there rather than to stdout. 20952 20953 * test/tests/pick/test-stderr: Add test that error messages don't 20954 end up going to stdout. 20955 20956Author: Eric Gillespie <epg@pretzelnet.org> 20957Date: Thu Aug 14 01:31:11 2008 +0000 20958 20959 * uip/pick.c: Ensure valid sequence name as soon as we parse it from 20960 command, instead of searching the messages first. 20961 20962Author: Eric Gillespie <epg@pretzelnet.org> 20963Date: Thu Aug 14 01:28:56 2008 +0000 20964 20965 * uip/pick.c: Print matching messages immediately, instead of 20966 waiting until the very end to print anything. 20967 20968Author: Eric Gillespie <epg@pretzelnet.org> 20969Date: Thu Aug 14 01:11:12 2008 +0000 20970 20971 * uip/Makefile.in, uip/popi.c: Remove popi.c, which has been dead 20972 since PatchSet 257 (2000/06/12 11:07:34 UTC). 20973 20974Author: Eric Gillespie <epg@pretzelnet.org> 20975Date: Thu Aug 14 00:56:38 2008 +0000 20976 20977 * h/mhparse.h: Move interfaces also used by mhbuildsbr.c here 20978 from mhparse.c. 20979 20980 * uip/Makefile.in (mhbuild): Build with mhparse.o. 20981 20982 * uip/mhbuildsbr.c: Drop the duplication of mhparse.c. 20983 20984 * uip/mhbuild.c, uip/mhlist.c, uip/mhn.c, uip/mhshow.c, 20985 uip/mhstore.c, uip/mhtest.c: Drop check swdeclaration, which is 20986 now in mhparse.h. 20987 20988 * uip/mhparse.c: Move some declarations to mhparse.h, and remove 20989 'static' from the definitions here. 20990 (get_ctinfo): Take magic mhbuild support from mhbuildsbr.c's copy, 20991 and adapt callers. 20992 (incl_name_value, extract_name_value): Move from mhbuildsbr.c to 20993 support get_ctinfo change). 20994 (get_content, open7Bit): Add Content-Disposition support, added to 20995 mhbuildsbr.c's copy in mhbuildsbr.c r1.12 (PatchSet 549). 20996 (InitText): Default to CHARSET_UNSPECIFIED instead of "US-ASCII", 20997 as mhbuildsbr.c's copy did. Explain termproc. 20998 (openBase64, openQuoted, open7Bit): Fix comment from r1.5: 20999 suffixes, not prefixes. 21000 (openMail): Explain showproc. 21001 21002 * test/tests/mhshow/test-cte-binary: Add test for 21003 Content-Transfer-Encoding: binary (Debian #136976). 21004 21005 * test/tests/mhbuild/test-forw: Add an mhbuild test, testing forw 21006 with and without RFC-934 mode. More mhbuild tests would be nice. 21007 21008Author: Eric Gillespie <epg@pretzelnet.org> 21009Date: Wed Aug 13 23:59:56 2008 +0000 21010 21011 Oops, meant to use $failed (number of failed checks) as the exit code. 21012 21013Author: Eric Gillespie <epg@pretzelnet.org> 21014Date: Wed Aug 13 23:32:03 2008 +0000 21015 21016 Add descriptive headers, as other tests have. 21017 21018Author: Eric Gillespie <epg@pretzelnet.org> 21019Date: Wed Aug 13 18:27:36 2008 +0000 21020 21021 * test/tests/bad-input/test-header: Add test for it. 21022 21023 * sbr/m_getfld.c: If we reach the end of the line without finding 21024 a ':' when parsing a header field, treat that line as the 21025 beginning of the body rather than blowing up. These messages are 21026 usually spam, but it's nice to be able to at least scan them. 21027 21028Author: Eric Gillespie <epg@pretzelnet.org> 21029Date: Wed Aug 13 01:01:12 2008 +0000 21030 21031 * test/tests/mhshow/test-qp: Test various valid and invalid 21032 escape sequences. 21033 21034 * uip/mhparse.c (openQuoted): Simplify the decode-or-show for loop by 21035 peeking ahead to the next byte(s) when encountering '=', and just let 21036 invalid escape sequences through as literals (fixes bug #15245). 21037 21038Author: Eric Gillespie <epg@pretzelnet.org> 21039Date: Wed Aug 13 01:00:20 2008 +0000 21040 21041 Ignore test-temp-dir. 21042 21043Author: Paul Fox <pgf@foxharp.boston.ma.us> 21044Date: Tue Aug 12 21:01:30 2008 +0000 21045 21046 add one more hint for developers, to explicitly point at docs/README.developers 21047 21048Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21049Date: Tue Aug 12 18:04:29 2008 +0000 21050 21051 autogen.sh (new file): add script for running the GNU autotools in the 21052 right order. Mention and use new script in the appropriate places. 21053 21054Author: Eric Gillespie <epg@pretzelnet.org> 21055Date: Fri Aug 8 23:45:24 2008 +0000 21056 21057 * sbr/discard.c, sbr/m_getfld.c, uip/scansbr.c: Add support for 21058 DragonFlyBSD stdio (from NetBSD pkgsrc). 21059 21060Author: Eric Gillespie <epg@pretzelnet.org> 21061Date: Fri Aug 8 04:45:05 2008 +0000 21062 21063 s/ls/cd/ in comment (probably pasted from test-ls) 21064 21065Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21066Date: Tue Aug 5 21:06:00 2008 +0000 21067 21068 uip/folder.c: chdir(nmhdir) in main rather than in dodir, which 21069 is called many times. Drop the chdir in get_folder_info, which 21070 served no purpose at all. If struct stat has d_type (BSD), use 21071 that to skip processing (strcmp, stat, and so on) of message 21072 files, mostly undoing the slow-down from the last change. 21073 Plus autoconf machinery to detect d_type field. Patch from Eric Gillespie. 21074 21075Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21076Date: Tue Aug 5 19:09:03 2008 +0000 21077 21078 Dump hacky overoptimisation in addir -- it doesn't actually get the case 21079 of symlinks to directories right. Patch from Eric Gillespie. 21080 21081Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21082Date: Tue Aug 5 19:05:23 2008 +0000 21083 21084 Simplify dodir/addir/addfold (patch from Eric Gillespie) 21085 21086Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21087Date: Sun Aug 3 18:47:56 2008 +0000 21088 21089 bug #23319: rework the way we handle the working directory when invoking 21090 the user's shell, so that we don't have issues when the cwd contains a 21091 space or shell special character. 21092 21093Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21094Date: Sun Aug 3 18:45:34 2008 +0000 21095 21096 test/setup-test: use 'set -e' so we stop on compile failure. 21097 Configure --enable-debug for convenience in debugging. 21098 21099Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21100Date: Sun Aug 3 15:19:53 2008 +0000 21101 21102 Add protective 'do { ... } while (0)' wrappers to multistatement macros 21103 21104Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21105Date: Sun Aug 3 15:14:23 2008 +0000 21106 21107 Bug #23436: fix some minor manpage syntax errors and add a test which runs 21108 groff over them and checks that no warnings are emitted. 21109 21110Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21111Date: Sun Aug 3 15:13:34 2008 +0000 21112 21113 Allow tests to indicate that they have been skipped by printing their 21114 own message and returning with exit status 120. 21115 21116Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21117Date: Sun Aug 3 13:59:19 2008 +0000 21118 21119 Ignore editor backup files 21120 21121Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21122Date: Sun Aug 3 13:54:37 2008 +0000 21123 21124 etc/replcomps, etc/replgroupcomps: Trim trailing whitespace from 21125 Subject field (patch from Eric Gillespie) 21126 21127Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21128Date: Sun Aug 3 13:32:17 2008 +0000 21129 21130 When doing an if-test on the result of a function which returns a string 21131 result, check whether the string is non-empty (as the documentation says we 21132 do). Previously we were always testing the integer 'value'. 21133 21134Author: Josh Bressers <josh@bress.net> 21135Date: Fri Jul 25 01:07:39 2008 +0000 21136 21137 * test/setup-test: Run 'make clean' before building 21138 21139Author: Josh Bressers <josh@bress.net> 21140Date: Fri Jul 25 00:11:53 2008 +0000 21141 21142 * test/runtest: cat test-temp-dir only once. Destroy and create 21143 test Mail hierarchy here, so each test has its own independent 21144 test data. 21145 21146 * test/setup-test: Drop needless pushd/popd, which don't exist in 21147 sh anyway. Don't use aclocal, which is part of automake. 21148 Don't create Mail hierarchy here (see test/runtest). 21149 21150 * test/tests/folder/test-create, tests/folder/test-total: Drop 21151 unused BINDIR. 21152 21153 * tests/pick/test-pick: Remove failing no-op test. 21154 21155 * test/tests/scan/test-scan: Write expected and actual output to 21156 files and diff them. This way, if the output differs, diff 21157 provides the FAILing exit code and shows the differences. 21158 21159Author: Josh Bressers <josh@bress.net> 21160Date: Fri Jun 13 00:11:49 2008 +0000 21161 21162 * man/repl.man, etc/mhl.reply: 21163 Add an attribution line when replying to messages. 21164 21165Author: Josh Bressers <josh@bress.net> 21166Date: Thu Jun 12 23:29:16 2008 +0000 21167 21168 Remove an accidentally committed file 21169 21170Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21171Date: Mon Jun 2 22:37:01 2008 +0000 21172 21173 When building on gcc, use noreturn attribute on adios and the various done 21174 functions. 21175 21176Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21177Date: Mon Jun 2 22:05:11 2008 +0000 21178 21179 Back out previous, completely broken, change (due to a foulup I was 21180 compiling a different tree to the one I was committing to CVS). 21181 21182Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21183Date: Mon Jun 2 21:49:07 2008 +0000 21184 21185 If we're compiling with gcc, mark adios() as never returning (better code 21186 and fewer spurious 'uninitialized variable) warnings) 21187 21188Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21189Date: Sun Jun 1 16:50:22 2008 +0000 21190 21191 Update bit of docs about release announcements. 21192 21193Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21194Date: Thu May 22 10:37:55 2008 +0000 21195 21196 Don't use MB_CUR_MAX if we aren't compiled with multibyte support. 21197 21198Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21199Date: Thu May 22 10:21:48 2008 +0000 21200 21201 Factor out common code for writing ls shell command. Rework its length 21202 checking so it doesn't rely on the return value of sprintf(), for the 21203 benefit of SunOS 4. 21204 21205Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21206Date: Wed May 21 18:05:49 2008 +0000 21207 21208 Don't rely on realloc() to follow POSIX in handling a NULL pointer 21209 21210Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21211Date: Wed May 21 17:16:44 2008 +0000 21212 21213 Add some table size declarations for the benefit of elderly lexes with 21214 small defaults (eg SunOS 4) 21215 21216Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21217Date: Tue May 20 19:04:57 2008 +0000 21218 21219 Update comment now we don't use lex -o. 21220 21221Author: David Levine <levinedl@acm.org> 21222Date: Sun May 18 13:56:58 2008 +0000 21223 21224 * sbr/addrsbr.c: removed "err" from conditional, because gcc 21225 correctly warned that it would always evaluate as true. It's 21226 the address of a static array. 21227 21228Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21229Date: Fri May 16 15:31:26 2008 +0000 21230 21231 don't use $< in target rules in makefiles, as POSIX says it's only defined 21232 in inference rules 21233 21234Author: David Levine <levinedl@acm.org> 21235Date: Tue May 13 02:39:04 2008 +0000 21236 21237 * configure.in, INSTALL: if --enable-masquerade is not 21238 specified to configure, enable all supported masquerade forms. 21239 This allows users to masquerade with the default 21240 configuration. That seems to be more worthwhile now than 21241 trying to prevent users from using it, especially with 21242 single-user installations or those where a user can edit 21243 etc/mts.conf. 21244 21245Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21246Date: Sun May 4 20:58:35 2008 +0000 21247 21248 bug #23167: sbr/ruserpass.c (ruserpass): make bad permissions on .netrc be 21249 an instantly fatal error. Previously we returned an error value; however, no 21250 caller was checking it. So now ruserpass() has a void return type. 21251 21252Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21253Date: Sun May 4 16:09:08 2008 +0000 21254 21255 * bug #23163: various minor fixes for the benefit of older Unixes 21256 (specifically SunOS 4): reintroduce strerror() substitute implementation; 21257 provide memmove() substitute implementation 21258 * bug #23163: fix broken 'build outside source directory' feature 21259 * bug #23162: sbr/dtime.c: fix stray HAVE_TM_GMTOFF that wasn't updated 21260 to the new macro name. 21261 21262Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21263Date: Wed Apr 30 18:47:02 2008 +0000 21264 21265 Provide SASL_CB_AUTHNAME callback (avoids problem with wrong username 21266 being sent in some situations) 21267 21268Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21269Date: Tue Apr 29 21:05:30 2008 +0000 21270 21271 Correct various places in smtp.c where the reply string might not have been 21272 correctly NUL-terminated. Includes a fix for a particularly nasty and long 21273 standing screwup where the buffer length counting in smhear() was totally 21274 broken for continued lines from the server. 21275 21276Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21277Date: Tue Apr 29 20:59:04 2008 +0000 21278 21279 Fix SASL issue properly, by making sm_rrecord() and thus sm_hear() set 21280 the length of the reply string correctly (the SASL libraries now care 21281 if you pass in the wrong length). 21282 21283Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21284Date: Tue Apr 29 20:53:33 2008 +0000 21285 21286 Revert previous SASL fix (wrong approach) 21287 21288Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21289Date: Tue Apr 29 17:04:38 2008 +0000 21290 21291 Cope with sasl_decode64() returning SASL_CONTINUE as well as SASL_OK. 21292 21293Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21294Date: Mon Apr 28 21:13:53 2008 +0000 21295 21296 Add remark about how to update the homepage. 21297 21298Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21299Date: Sun Apr 27 20:58:50 2008 +0000 21300 21301 Update some of the 'how to do a release' documentation 21302 21303Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21304Date: Sun Apr 27 20:55:28 2008 +0000 21305 21306 Up version string to 1.3-dev for the CVS trunk. 21307 21308Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21309Date: Sun Apr 27 19:54:37 2008 +0000 21310 21311 Use hyphen, not plus (corresponding to previous RCx naming convention) 21312 21313Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21314Date: Sun Apr 27 19:44:58 2008 +0000 21315 21316 Bump version number, date for release of 1.3 RC1 21317 21318Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21319Date: Fri Apr 11 14:12:54 2008 +0000 21320 21321 move most remaining macros out of acconfig.h which is an obsolete feature of 21322 autoconf 21323 21324Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21325Date: Sat Apr 5 19:04:41 2008 +0000 21326 21327 * bug #18655: fix use of admonish() for a fatal error (should 21328 be adios(); only actual effect would be wrong exit code). 21329 Thanks to Craig Leres for spotting this. 21330 21331Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21332Date: Sat Apr 5 18:41:37 2008 +0000 21333 21334 Bug #20028 (Debian bug 399271): fix code assuming that pointer 21335 differences were 32 bits -- thanks to Dean Gaudet for the patch. 21336 21337Author: Josh Bressers <josh@bress.net> 21338Date: Fri Jan 25 21:00:42 2008 +0000 21339 21340 * uip/mhshowsbr.c (show_all_messages): Be more generous when parsing 21341 multipart messages. 21342 21343Author: Joel Reicher <jjr@panacea.null.org> 21344Date: Thu Nov 8 02:28:38 2007 +0000 21345 21346 Insert types for args of some function pointers to improve type checking. 21347 21348Author: Joel Reicher <jjr@panacea.null.org> 21349Date: Sun Nov 4 11:54:32 2007 +0000 21350 21351 Return type of (*done)() changed to void. default_done() replaced by 21352 exit(). All dead code "return 1" lines removed from *_done()s and replaced 21353 by explicit "return 1" following done() calls in main()s (they should 21354 never be reached). This should make cleaning up program termination 21355 structures easier. 21356 21357Author: Joel Reicher <jjr@panacea.null.org> 21358Date: Sun Nov 4 08:52:17 2007 +0000 21359 21360 Refactor cts pointer and free()ing on abnormal exit of associated list 21361 into mhfree.c, eliminating duplication. 21362 21363Author: Joel Reicher <jjr@panacea.null.org> 21364Date: Sun Nov 4 04:47:17 2007 +0000 21365 21366 Change link-time overriding of done() to run-time reassigning of equivalent 21367 (*done)(). This should make changing the return type of done and the 21368 rationalisation of exit code easier. 21369 21370Author: Bill Wohler <wohler@newt.com> 21371Date: Mon Sep 24 07:02:03 2007 +0000 21372 21373 The MH web site is now http://rand-mh.sourceforge.net/ and the MH 21374 book is now at http://rand-mh.sourceforge.net/book/. 21375 21376 Changed Questions 21377 21378 1.02 ...current version? mailutils 1.2 21379 1.03 Where can I get MH? Debian 4.0 nmh 1.1-RC4, update links, mu 1.2 21380 1.04 ...references for MH? Refer to SourceForge 21381 1.06 How...print a MH manual? Refer to SourceForge 21382 2.17 How...build MH on a Mac? Use fink 21383 4.05 ...tools to archive MH? Mention swish++, mairix, and namazu 21384 21385Author: Josh Bressers <josh@bress.net> 21386Date: Tue Aug 21 21:19:39 2007 +0000 21387 21388 * Red Hat Bug #253342: inc.c, utils.c, utils.h: When inc is run with the 21389 -silent flag, don't exit(1) for no apparent reason. 21390 21391Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21392Date: Sun Apr 29 22:57:36 2007 +0000 21393 21394 Rename functions to avoid clash with C library exp2(). 21395 21396Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21397Date: Sun Apr 29 22:34:04 2007 +0000 21398 21399 Suppress 'uninitialised variable' warning. 21400 21401Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21402Date: Sun Apr 29 22:05:02 2007 +0000 21403 21404 On Linux, define _GNU_SOURCE so that GNU libc exposes the wcwidth() 21405 prototype in wchar.h. 21406 21407Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21408Date: Sun Apr 29 22:01:04 2007 +0000 21409 21410 Change name of internal function to avoid potential conflicts with GNU 21411 libc's getline() function. 21412 21413Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21414Date: Sun Apr 29 20:49:32 2007 +0000 21415 21416 Minor rearrangement so variables/functions used only if !HAVE_LIBLOCKFILE 21417 are also declared only in that case. 21418 21419Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21420Date: Sun Apr 29 19:36:14 2007 +0000 21421 21422 For gcc, make the default CFLAGS include -Wno-pointer-sign if the compiler 21423 recognises it. gcc 4 now by default produces a large volume of these 21424 warnings, which I believe are probably spurious and definitely a lot of 21425 work to go through and fix. So we suppress them for now so that the other 21426 warnings are more easily visible. 21427 21428Author: Joel Reicher <jjr@panacea.null.org> 21429Date: Tue Apr 17 04:53:54 2007 +0000 21430 21431 buffer is compared with cp, and so needs to be changed to unsigned too. 21432 21433Author: Josh Bressers <josh@bress.net> 21434Date: Tue Apr 17 01:02:08 2007 +0000 21435 21436 Initial checkin of a testsuite 21437 21438Author: Joel Reicher <jjr@panacea.null.org> 21439Date: Fri Apr 13 11:53:08 2007 +0000 21440 21441 Change all chars being passed to the ctype macros (isalph(), etc.) to 21442 be unsigned chars, following through to change any other types as 21443 necessary (e.g. comparison between two pointers). Not all chars have 21444 been changed to unsigned chars; just those that were in danger of being 21445 sign extended when passed to the int-taking ctype macros. 21446 21447Author: Joel Reicher <jjr@panacea.null.org> 21448Date: Tue Apr 10 22:12:26 2007 +0000 21449 21450 We're not using the .Bu macro anymore. 21451 21452Author: Joel Reicher <jjr@panacea.null.org> 21453Date: Tue Apr 10 06:13:27 2007 +0000 21454 21455 Fix for bug #11139: mhl -form mhl.reply omits '> ' on some lines. 21456 21457 putcomp() was assuming only the first call on the body had the buffer 21458 beginning at the start of a line. 21459 21460Author: Joel Reicher <jjr@panacea.null.org> 21461Date: Tue Apr 10 03:32:48 2007 +0000 21462 21463 Application of patch #5218: patch for bug #9742. Fixes a typo in the 21464 size arg of snprintf(). mhlist output which used to have incorrect lines 21465 such as 21466 1.2 multipart/mixed 772 21467 1.21 text/plain 9 21468 1.22 multipart/mixed 162 21469 now have the correct 21470 1.2 multipart/mixed 772 21471 1.2.1 text/plain 9 21472 1.2.2 multipart/mixed 162 21473 21474Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21475Date: Wed Mar 21 00:21:10 2007 +0000 21476 21477 bug #18630, #18631, #18632, #18634: various patches from Craig Leres 21478 fixing error message argument problems. 21479 21480Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21481Date: Wed Mar 21 00:18:19 2007 +0000 21482 21483 bug #15212: remove configure test for broken AT&T vi. This test was broken 21484 and unfixable. Support for manually defining ATTVIBUG remains. 21485 21486Author: Josh Bressers <josh@bress.net> 21487Date: Tue Jan 16 02:08:10 2007 +0000 21488 21489 Add a missing header file 21490 21491Author: Joel Reicher <jjr@panacea.null.org> 21492Date: Sun Nov 5 13:20:46 2006 +0000 21493 21494 Changed bold "-all" to unbolded "all". It's a reserved msgs word, not a flag. 21495 21496Author: David Levine <levinedl@acm.org> 21497Date: Tue Oct 24 14:31:40 2006 +0000 21498 21499 * uip/sendsbr.c: with attachformat values of 1 or 2, add 21500 name= portion to Content-Type header. This makes them 21501 consistent with attachformat value 0. And it allows mhstore 21502 to use that (file)name when extracting attachments. 21503 21504Author: Josh Bressers <josh@bress.net> 21505Date: Sun Aug 27 01:19:39 2006 +0000 21506 21507 * configure.in: If we're not using dotlocking, there is no need to set inc 21508 sgid. 21509 21510Author: Joel Reicher <jjr@panacea.null.org> 21511Date: Sun Jun 4 08:37:24 2006 +0000 21512 21513 Fixed bug introduced when changing from check_folder() to new 21514 create_folder() function. The folder name needed to be expanded to an 21515 absolute path first. Similar things may have happened with other 21516 conversions. 21517 21518Author: Joel Reicher <jjr@panacea.null.org> 21519Date: Thu Apr 27 12:00:28 2006 +0000 21520 21521 Created pluspath function to check for '+' prefix and change flag for 21522 path() appropriately. This eliminates some duplicate prefix processing, 21523 but not all. The path functions need to be restructed; this is the first 21524 step. 21525 21526Author: Joel Reicher <jjr@panacea.null.org> 21527Date: Mon Apr 24 07:10:03 2006 +0000 21528 21529 ssequal() does not check for a substring, but for a prefix, so added a 21530 comment to this effect. If this is sufficient, the function body should 21531 remain unchanged but the name and comments should be modified. If not, 21532 then the function needs to be corrected. 21533 21534Author: Paul Fox <pgf@foxharp.boston.ma.us> 21535Date: Sat Apr 22 16:33:48 2006 +0000 21536 21537 fixes case where a very long character-class range (128 or 21538 more characters) causes negative indexing into pattern string. 21539 21540Author: Joel Reicher <jjr@panacea.null.org> 21541Date: Sun Apr 16 06:47:59 2006 +0000 21542 21543 Fixed a typo. 21544 21545Author: Joel Reicher <jjr@panacea.null.org> 21546Date: Fri Apr 14 14:10:15 2006 +0000 21547 21548 Created function open_form() to open form file or fallback to default 21549 components file, with error handling. Replaced duplicated code with call 21550 to this function. 21551 21552Author: Joel Reicher <jjr@panacea.null.org> 21553Date: Fri Apr 14 08:42:04 2006 +0000 21554 21555 Fixed a couple of typos. 21556 21557Author: Joel Reicher <jjr@panacea.null.org> 21558Date: Fri Apr 14 08:21:35 2006 +0000 21559 21560 Sanitised some dodgy homedir finding code, but it still might not make 21561 sense. 21562 21563Author: Joel Reicher <jjr@panacea.null.org> 21564Date: Fri Apr 14 07:54:26 2006 +0000 21565 21566 Get rid of some trivial warnings; unused variables, ambiguous if-else, 21567 missing headers. 21568 21569Author: Joel Reicher <jjr@panacea.null.org> 21570Date: Thu Apr 13 14:24:41 2006 +0000 21571 21572 Make print_aka() and print_usr() static. They're not used outside ali.c. 21573 21574Author: Joel Reicher <jjr@panacea.null.org> 21575Date: Tue Apr 11 14:09:11 2006 +0000 21576 21577 Created app_msgarg() (append message arg) and a simple resizable array 21578 struct to go with it that do almost exactly what the code they've replaced 21579 was doing. 21580 Replaced this (duplicated) code in many files with a call to app_msgarg(). 21581 21582Author: Joel Reicher <jjr@panacea.null.org> 21583Date: Tue Apr 11 05:48:43 2006 +0000 21584 21585 Completing the .cvsignore list(s). 21586 21587Author: Joel Reicher <jjr@panacea.null.org> 21588Date: Sun Apr 9 14:06:31 2006 +0000 21589 21590 Fixed a small typo. 21591 21592Author: Paul Fox <pgf@foxharp.boston.ma.us> 21593Date: Fri Mar 31 15:14:49 2006 +0000 21594 21595 this commit: 21596 - adds range support to character classes 21597 - fixes out-of-bounds references to the case-folding array 21598 when doing case comparisons for 8-bit message text 21599 - makes character classes as case tolerant as the rest 21600 of the pick regexp machine. (where lowercase chars in 21601 patterns should match uppercase in the text.) 21602 - fixes an uninitialized pointer warning, which might actually have 21603 been a real bug 21604 21605Author: David Levine <levinedl@acm.org> 21606Date: Thu Mar 30 22:19:50 2006 +0000 21607 21608 * uip/sendsbr.c: with attachformat values of 1 or 2, only 21609 generate Content-Disposition headers for MIME attachments, not 21610 for the message contents themselves. Microsoft Outlook Build 21611 10.0.6626, at least, doesn't show the message contents if they 21612 have Content-Disposition. 21613 21614Author: Bill Wohler <wohler@newt.com> 21615Date: Fri Mar 10 09:00:20 2006 +0000 21616 21617 Changed Questions 21618 21619 1.03 Where can I get MH? nmh 1.2 21620 21621Author: Bill Wohler <wohler@newt.com> 21622Date: Fri Mar 10 06:58:28 2006 +0000 21623 21624 Since faqs.org appears to be moribund, I'm now using my site as the 21625 official location of the MH FAQ. I added some missing quotes in 21626 various places, so now Emacs highlighting works better. 21627 21628 New Questions 21629 21630 5.26 How do I fix a bogus In-Reply-To or missing References field? 21631 21632 Changed Questions 21633 21634 1.02 current version? nmh 1.2 21635 1.04 references for MH? New FAQ official site. MH-E manual URL 21636 5.15 make sense of replcomps? Use 1.1 version 21637 21638Author: Josh Bressers <josh@bress.net> 21639Date: Thu Mar 9 19:51:13 2006 +0000 21640 21641 * sbr/fmt_rfc2047.c (decode_rfc2047): Don't close the iconv descriptor if 21642 it isn't valid. 21643 21644Author: Josh Bressers <josh@bress.net> 21645Date: Wed Mar 8 12:14:15 2006 +0000 21646 21647 * (mh_strcasecmp): Rename the private strcasecmp function to mh_strcasecmp. 21648 21649Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21650Date: Sun Mar 5 14:48:05 2006 +0000 21651 21652 and close iconv handle if encoded block empty 21653 21654Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21655Date: Sun Mar 5 14:38:23 2006 +0000 21656 21657 don't try to malloc 0 bytes if an RFC2047 encoded block is empty 21658 21659Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21660Date: Sat Mar 4 22:14:18 2006 +0000 21661 21662 Install scripts with INSTALL_SCRIPT so INSTALL_PROGRAM can be set to 21663 'install -s' without it causing the installation of the scripts to fail. 21664 21665Author: David Levine <levinedl@acm.org> 21666Date: Sat Feb 25 14:14:06 2006 +0000 21667 21668 * uip/sendsbr.c: replaced st_mtim with st_mtime, that's what 21669 it should have been. Added #include of h/tws.h to pick up 21670 dtime() prototype. 21671 21672Author: David Levine <levinedl@acm.org> 21673Date: Tue Feb 21 04:13:06 2006 +0000 21674 21675 Replaced second line of Content-Tyhpe of -attachformat 0 example. 21676 21677Author: David Levine <levinedl@acm.org> 21678Date: Tue Feb 21 03:58:31 2006 +0000 21679 21680 * h/mh.h, h/prototypes.h, uip/mhbuildsbr.c, uip/send.c, 21681 uip/sendsbr.c, uip/viamail.c, uip/whatnowsbr.c, man/send.man: 21682 added -attachformat switch to send, to support alternate MIME 21683 header contents when using -attach. See send man page for 21684 description. 21685 21686Author: David Levine <levinedl@acm.org> 21687Date: Tue Feb 21 03:51:53 2006 +0000 21688 21689 * man/mhbuild.man: wrapped one appearance of "Content-Disposition" 21690 with quotes, to be consistent with others. 21691 21692Author: Josh Bressers <josh@bress.net> 21693Date: Tue Feb 21 01:11:51 2006 +0000 21694 21695 * h/utils.h, sbr/utils.c, uip/flist.c, uip/folder.c: Move duplicate 21696 function num_digits into utils.c 21697 21698Author: Josh Bressers <josh@bress.net> 21699Date: Tue Feb 21 01:05:24 2006 +0000 21700 21701 Add missing create_folder prototype. 21702 21703Author: Josh Bressers <josh@bress.net> 21704Date: Mon Feb 20 03:09:07 2006 +0000 21705 21706 * sbr/m_draft.c, sbr/utils.c, uip/folder.c, uip/inc.c, uip/mhstoresbr.c, 21707 uip/popi.c, uip/refile.c: Add create_folder() function, replacing duplicate 21708 code during folder creation. 21709 21710Author: David Levine <levinedl@acm.org> 21711Date: Sat Feb 18 16:26:37 2006 +0000 21712 21713 Added support for optional Content_Disposition header in mhbuild directive.s 21714 21715Author: David Levine <levinedl@acm.org> 21716Date: Sun Feb 12 18:06:44 2006 +0000 21717 21718 Added RFC2183 to reference of RFC1806 for Content-Disposition header. 21719 21720Author: David Levine <levinedl@acm.org> 21721Date: Tue Jan 31 02:50:57 2006 +0000 21722 21723 Added -nocontentid (and -contentid, for symmetry) switch to mhbuild. This allows users to disable generation of the Content-ID: header in MIME messages, in order to placate broken version(s) of Outlook. 21724 21725Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21726Date: Sun Jan 29 19:34:42 2006 +0000 21727 21728 remove trailing newlines from components to fix bug with spaces at the end of 21729 Subject/References in replies 21730 21731Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21732Date: Wed Jan 18 18:08:16 2006 +0000 21733 21734 use AS_HELP_STRING for formatting help messages 21735 21736Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21737Date: Wed Jan 18 17:07:28 2006 +0000 21738 21739 add autoconf magic to support old systems that don't support multibyte charsets 21740 21741Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21742Date: Wed Jan 18 16:43:27 2006 +0000 21743 21744 fix bug with insertion of newline being wrong if the num function was used at 21745 the end of the format buffer 21746 21747Author: David Levine <levinedl@acm.org> 21748Date: Wed Jan 18 00:09:00 2006 +0000 21749 21750 Fixed make_bcc_file () to use contents of From: in draft, if draft_from masquerade flag is enabled. 21751 21752Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21753Date: Tue Jan 17 18:06:58 2006 +0000 21754 21755 more robust multi-byte/column support for field widths 21756 restore right justification feature 21757 21758Author: Josh Bressers <josh@bress.net> 21759Date: Mon Jan 16 17:07:14 2006 +0000 21760 21761 * uip/post.c, uip/spost.c: Move the uptolow macro from spost.c to post.c 21762 where it is needed. 21763 21764Author: Josh Bressers <josh@bress.net> 21765Date: Mon Jan 16 12:42:11 2006 +0000 21766 21767 * sbr/fmt_scan.c: Add the missing wchar.h include 21768 21769Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21770Date: Mon Jan 16 10:40:32 2006 +0000 21771 21772 *** empty log message *** 21773 21774Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21775Date: Mon Jan 16 10:00:46 2006 +0000 21776 21777 remove remnants of code for MMDF 21778 21779Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21780Date: Mon Jan 16 09:55:24 2006 +0000 21781 21782 multiply buffer size by MB_CUR_MAX so multi-byte chars fit 21783 21784Author: Josh Bressers <josh@bress.net> 21785Date: Sun Jan 15 02:52:12 2006 +0000 21786 21787 * sbr/fmt_scan.c:PUTSF() Fix an off by one formatting issue. 21788 21789Author: Josh Bressers <josh@bress.net> 21790Date: Sun Jan 15 02:29:38 2006 +0000 21791 21792 * sbr/fmt_scan.c: Turn the PUTSF macro into a function capable of handling 21793 multi column characters. 21794 21795Author: Josh Bressers <josh@bress.net> 21796Date: Sat Jan 7 15:22:19 2006 +0000 21797 21798 * Remove sbr/strerror.c -- strerror(3) is defined in C89. 21799 21800Author: Josh Bressers <josh@bress.net> 21801Date: Fri Jan 6 21:51:43 2006 +0000 21802 21803 * patch #3968: Move the add() function from its own file (add.c) and 21804 into utils.c. There was also a duplicate add() function in mf.c which 21805 has been removed. 21806 21807Author: Josh Bressers <josh@bress.net> 21808Date: Wed Jan 4 02:10:25 2006 +0000 21809 21810 * mh_xmalloc(), mh_xrealloc(), pwd(): Add comments describing the purpose 21811 of the function. 21812 21813Author: Josh Bressers <josh@bress.net> 21814Date: Tue Jan 3 01:08:33 2006 +0000 21815 21816 Remove sbr/pwd.c file, moving the pwd() function into sbr/utils.c. 21817 21818Author: Josh Bressers <josh@bress.net> 21819Date: Mon Jan 2 03:25:18 2006 +0000 21820 21821 * patch #3967: Create a mh_xrealloc function to prevent mistakes when 21822 calling realloc. 21823 21824Author: Josh Bressers <josh@bress.net> 21825Date: Mon Jan 2 03:17:41 2006 +0000 21826 21827 * patch #3966: Create a mh_xmalloc function to prevent mistakes when 21828 calling malloc. 21829 21830Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21831Date: Sat Dec 24 17:53:26 2005 +0000 21832 21833 Avoid non-portable use of $< outside an inference rule. 21834 21835Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21836Date: Sat Dec 24 17:17:38 2005 +0000 21837 21838 Rework detection and handling of ndbm: we now check for a working 21839 (library,header) combination, and configure defines variables for each 21840 which the makefile and C file just use, rather than a bunch of HAVE_foo 21841 switches. As a bonus, we no longer unnecessarily link every binary with 21842 the ndbm library even though only slocal uses it. Also you can now tell 21843 configure where to get the header/library so even if we guess wrong you 21844 can overrule us. 21845 21846Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21847Date: Thu Dec 22 10:38:32 2005 +0000 21848 21849 Fix stupid accidental dependence on a bash quirk in previous 21850 configure script change. 21851 21852Author: Jon Steinhart <jon@fourwinds.com> 21853Date: Tue Dec 20 04:39:51 2005 +0000 21854 21855 Rolled release. 21856 21857Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21858Date: Thu Dec 15 00:45:36 2005 +0000 21859 21860 Improve the checks for where to find ndbm (dbm_open etc); should now 21861 work on systems with new gdbm and libdb4. 21862 21863Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21864Date: Thu Dec 15 00:12:52 2005 +0000 21865 21866 Change some non-standard formatting in a previous log entry so it matches 21867 the conventions used in other entries. 21868 21869Author: Josh Bressers <josh@bress.net> 21870Date: Wed Dec 14 01:48:24 2005 +0000 21871 21872 * Fedora Bug #163760: sbr/context_read.c (context_read): Ensure that the 21873 context is only read once. 21874 21875Author: Jon Steinhart <jon@fourwinds.com> 21876Date: Mon Dec 12 22:30:44 2005 +0000 21877 21878 Fixed annotate call for new delete argument values. 21879 21880Author: Josh Bressers <josh@bress.net> 21881Date: Mon Dec 12 20:26:53 2005 +0000 21882 21883 * uip/sendsbr.c (annoaux): Fix the call to annotate() 21884 21885Author: Jon Steinhart <jon@fourwinds.com> 21886Date: Thu Dec 8 15:57:34 2005 +0000 21887 21888 *** empty log message *** 21889 21890Author: Jon Steinhart <jon@fourwinds.com> 21891Date: Wed Dec 7 21:25:46 2005 +0000 21892 21893 Fixed a bug where anno -append put the headers in the wrong place 21894 if applied to a message that didn't contain any headers. 21895 21896 Added a special value of "all" to the -number option that causes 21897 anno -delete to delete all matching components instead of just 21898 the first one. 21899 21900 Added new -preserve and -nopreserve options. Using -preserve 21901 retains the original last accessed and last modified times on 21902 annotated messages. 21903 21904Author: Josh Bressers <josh@bress.net> 21905Date: Mon Dec 5 13:38:41 2005 +0000 21906 21907 Fix the AC_PATH_PROG default when vi isn't found during build. 21908 21909Author: Jon Steinhart <jon@fourwinds.com> 21910Date: Sat Dec 3 23:41:39 2005 +0000 21911 21912 Rolled version. Should have done it last time! 21913 21914Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21915Date: Sat Nov 19 16:32:34 2005 +0000 21916 21917 Make it clearer that lower-case envariables aren't supposed to be set 21918 by the user. 21919 21920Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21921Date: Sat Nov 19 16:04:25 2005 +0000 21922 21923 Special-case an MHCONTEXT of "/dev/null" and don't try to lock it -- some 21924 user scripts may use this to suppress modification of context. 21925 21926Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21927Date: Mon Nov 14 00:18:24 2005 +0000 21928 21929 [bug #9813] Don't crash after removing the folder if the context file 21930 has no Current-Folder entry. 21931 21932Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21933Date: Sun Nov 13 23:57:49 2005 +0000 21934 21935 Pass some globals into sm_init() so that it uses SASL if necessary. 21936 [NB that as I do not have a SASL setup I am relying on (a) the patch 21937 being obviously correct and (b) the original submitter having tested!] 21938 21939Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21940Date: Sun Nov 13 23:56:30 2005 +0000 21941 21942 Forgot to quote the bug number in the changelog comment. 21943 21944Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21945Date: Sun Nov 13 23:51:18 2005 +0000 21946 21947 Use context/ctxpath==NULL to indicate that no context file should be read, 21948 to avoid inadvertently trying to lock /dev/null (takes 30secs+ with some 21949 locking methods). 21950 21951Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21952Date: Sun Nov 13 22:36:07 2005 +0000 21953 21954 Fix buffer overrun in address parsing code (would only show up if 21955 scan was run with -width 16536 or similar) 21956 21957Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21958Date: Sun Nov 13 19:38:32 2005 +0000 21959 21960 remove link to install-mh that caused problems on some systems 21961 21962Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21963Date: Sun Nov 13 19:27:37 2005 +0000 21964 21965 bug #739: install target now depends on all to avoid problem on 21966 case-insensitive file systems with the INSTALL file 21967 21968Author: Josh Bressers <josh@bress.net> 21969Date: Thu Nov 10 21:37:10 2005 +0000 21970 21971 Fix the AC_PATH_PROG default when sendmail isn't found during build. 21972 21973Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21974Date: Wed Nov 9 22:56:35 2005 +0000 21975 21976 Fix a non-ANSI prototype. 21977 21978Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21979Date: Tue Nov 8 20:22:33 2005 +0000 21980 21981 Simon Burge: fix to handle getutent() on NetBSD 21982 21983Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21984Date: Tue Nov 8 17:18:09 2005 +0000 21985 21986 update most references to the web page and mailing list locations 21987 21988Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21989Date: Tue Nov 8 16:58:08 2005 +0000 21990 21991 prepend DESTDIR to install locations 21992 21993Author: Oliver Kiddle <okiddle@yahoo.co.uk> 21994Date: Tue Nov 8 16:51:34 2005 +0000 21995 21996 replace obsolete autoconf macros 21997 21998Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 21999Date: Sun Nov 6 21:54:40 2005 +0000 22000 22001 Fix various buffer overruns in fmt_scan.c; the bulk of this is passing 22002 buffer length through to decode_rfc2047() and having that function do 22003 sufficient bookkeeping to avoid running off the end of the buffer. 22004 22005Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 22006Date: Sun Nov 6 00:34:56 2005 +0000 22007 22008 Fix a compile error if building nmh with --enable-apop. 22009 22010Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 22011Date: Sun Nov 6 00:32:20 2005 +0000 22012 22013 Don't fclose() the file twice in error-exit paths from get_content() 22014 (was causing crashes on multipart mails with invalid Content-Type headers) 22015 22016Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 22017Date: Sun Nov 6 00:28:12 2005 +0000 22018 22019 Remove space between -o and output filename so it works on older versions 22020 of flex as well as newer ones. 22021 22022Author: Peter Maydell <pmaydell@chiark.greenend.org.uk> 22023Date: Sun Nov 6 00:23:48 2005 +0000 22024 22025 Add an AC_PREREQ so we don't just fail with an obscure error message if 22026 using old 2.13 era autoconf (or an autoconf-version-guessing wrapper). 22027 22028Author: Josh Bressers <josh@bress.net> 22029Date: Fri Nov 4 22:07:48 2005 +0000 22030 22031 Update the instructions for subscribing to the nmh-workers list 22032 22033Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22034Date: Wed Nov 2 17:43:21 2005 +0000 22035 22036 fail when kpop connection attempted without KPOP support compiled in 22037 22038Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22039Date: Wed Nov 2 17:29:50 2005 +0000 22040 22041 fix for newer version of flex and remove autogenerated file from cvs 22042 22043Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22044Date: Wed Nov 2 17:22:27 2005 +0000 22045 22046 speed up flist by skipping stat on files with numbers as names 22047 22048Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22049Date: Wed Nov 2 17:16:39 2005 +0000 22050 22051 include new files in distribution 22052 22053Author: Bill Wohler <wohler@newt.com> 22054Date: Tue Oct 11 01:52:45 2005 +0000 22055 22056 A couple of questions from nmh's original FAQ were folded into 22057 the MH FAQ which is now a part of nmh. 22058 22059 New Questions 22060 22061 1.09 What is the copyright status of nmh? 22062 3.23 Why do folder and flist overlook some of my sub-folders? 22063 22064 Changed Questions 22065 22066 1.02 current version? nmh history update, nmh 1.1-RC4, mailutils 0.6 22067 22068Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22069Date: Wed Oct 5 10:05:24 2005 +0000 22070 22071 Harald Geyer: back out fork/vfork workaround and handle the issue directly 22072 22073Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22074Date: Wed May 18 13:45:03 2005 +0000 22075 22076 use fork instead of vfork on Linux 22077 22078Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22079Date: Wed May 18 13:27:44 2005 +0000 22080 22081 test/report error writing to stdout 22082 22083Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22084Date: Wed May 18 13:24:14 2005 +0000 22085 22086 correct SASL include file locations 22087 22088Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22089Date: Wed May 18 13:16:21 2005 +0000 22090 22091 add bash completion definitions from Debian 22092 22093Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22094Date: Wed May 18 12:57:40 2005 +0000 22095 22096 fix a bug affecting AFS where nmh was setting the READONLY flag for a 22097 folder even when you do have write access to the folder 22098 22099Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22100Date: Wed May 18 12:50:45 2005 +0000 22101 22102 Carl Mummert: add unquote() function for removing quotes from RFC-2822 headers 22103 22104Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22105Date: Tue May 17 16:30:15 2005 +0000 22106 22107 fill in a few of the missing ChangeLog entries 22108 22109Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22110Date: Wed Feb 23 16:20:47 2005 +0000 22111 22112 use iconv to convert RFC-2047 encoded headers to the character set used 22113 by the current locale 22114 22115Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22116Date: Wed Feb 23 14:07:52 2005 +0000 22117 22118 fix Debian bug #202667: crash when a message's filename overflows an int 22119 when converted 22120 22121Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22122Date: Wed Feb 23 11:55:25 2005 +0000 22123 22124 Updated config.guess and config.sub to the most recent versions 22125 (from automake 1.9.5) 22126 22127Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22128Date: Mon Feb 21 16:31:58 2005 +0000 22129 22130 fix bug where inc crashed on failing to reopen the terminal 22131 22132Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22133Date: Thu Jan 27 16:43:03 2005 +0000 22134 22135 acknowledge that my change was based on an older patch from Michael Richardson 22136 22137Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22138Date: Thu Jan 27 16:39:56 2005 +0000 22139 22140 Added -proxy option to inc and msgchk 22141 22142Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22143Date: Thu Jan 27 16:34:20 2005 +0000 22144 22145 Added -proxy option to inc and msgchk 22146 22147Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22148Date: Thu Jan 27 16:26:24 2005 +0000 22149 22150 On systems where it is available, use nl_langinfo to get the character 22151 set if MM_CHARSET is unset 22152 22153Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22154Date: Fri Jan 21 19:25:44 2005 +0000 22155 22156 US-ASCII is a subset of UTF-8 so can be handled directly when UTF-8 is 22157 being used 22158 22159Author: Oliver Kiddle <okiddle@yahoo.co.uk> 22160Date: Fri Dec 17 15:16:04 2004 +0000 22161 22162 Fix -part option to mhshow/mhlist/mhstore to find sub-parts of the specified 22163 part 22164 22165Author: Jon Steinhart <jon@fourwinds.com> 22166Date: Fri Nov 19 05:06:16 2004 +0000 22167 22168 Added mail directory argument to folder_addmsg in order to make it possible 22169 to provide a path to the ext_hook call that is mailpath-based. A problem 22170 existed when a folder was a symbolic link and the pwd call would return 22171 the path relative to the filesystem, not to mailpath. A new argument was 22172 needed because there was otherwise no reasonable way to get that path. 22173 22174Author: Jon Steinhart <jon@fourwinds.com> 22175Date: Tue Nov 16 18:14:34 2004 +0000 22176 22177 Fixed problem where the refile hook was being called after a message was 22178 renamed so that it wasn't around for the hook. The hook is now called 22179 before the message file is renamed. 22180 22181Author: Jon Steinhart <jon@fourwinds.com> 22182Date: Tue Nov 16 18:08:07 2004 +0000 22183 22184 Fixed typo in comment. 22185 Fixed problem with refile hook when refiling across filesystems. 22186 22187Author: Jon Steinhart <jon@fourwinds.com> 22188Date: Tue Nov 16 17:37:41 2004 +0000 22189 22190 Removed unnecessary code. 22191 22192Author: Jon Steinhart <jon@fourwinds.com> 22193Date: Tue Nov 16 17:28:33 2004 +0000 22194 22195 Fixed wrong directory for hook when refiling with -src option. 22196 22197Author: Jon Steinhart <jon@fourwinds.com> 22198Date: Fri Oct 15 17:10:58 2004 +0000 22199 22200 Fixed calling of external hooks. 22201 22202Author: Jon Steinhart <jon@fourwinds.com> 22203Date: Tue Oct 12 21:14:02 2004 +0000 22204 22205 Fixed another weird bug caused by the static mailpath being overwritten. 22206 22207Author: Jon Steinhart <jon@fourwinds.com> 22208Date: Tue Oct 12 20:41:34 2004 +0000 22209 22210 Fixed bug that caused anno to mangle headers. 22211 22212Author: Jon Steinhart <jon@fourwinds.com> 22213Date: Tue Oct 12 20:40:25 2004 +0000 22214 22215 Fixed strange bug that prevented a lock from ever being obtained if getting 22216 it failed the first time. The problem was that the string of XXXXXX that 22217 is required by mkstemp() was overwritten the first time through, and so 22218 all subsequent times failed because mkstemp() failed. The fix 22219 reinitializes the tmp file string. 22220 22221Author: Jon Steinhart <jon@fourwinds.com> 22222Date: Tue Oct 12 20:38:10 2004 +0000 22223 22224 Fixed bug in which the static maildir was overwritted if a format string 22225 was read from the profile. 22226 22227Author: Jon Steinhart <jon@fourwinds.com> 22228Date: Tue Oct 12 20:31:14 2004 +0000 22229 22230 Fixed bug that was producing an incorrect path for the external hook. 22231 22232Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22233Date: Mon Oct 6 20:11:39 2003 +0000 22234 22235 db configuration fix for Debian; yet another location for ndbm. 22236 22237Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22238Date: Tue Sep 30 19:55:12 2003 +0000 22239 22240 restored use of PUTDF() macro; was broken in versions 1.10-1.12; 22241 replacement implementation filled on right instead of on left. 22242 22243Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22244Date: Tue Sep 30 16:57:26 2003 +0000 22245 22246 [bug #4302] errno is not always an extern int 22247 The errno declaration is best left to errno.h; several systems use 22248 #define errno (*(___errno())) 22249 or similar 22250 22251Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22252Date: Tue Sep 30 16:22:54 2003 +0000 22253 22254 corrected termination condition for fill character introduced in last version 22255 22256Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22257Date: Tue Sep 30 16:19:12 2003 +0000 22258 22259 [bug #4296] PUTD() macro can't hack 10 digit values 22260 Once the number exceeded 1000000000, the conversion would fail. An execution of 22261 dp -format "%(clock{text})" "Tue, 01 Jul 2003 21:38:05 +0700" would erroneously print 22262 749660476, instead of 1057070285. 22263 22264 The macros PUTD() and PUTDF() have been replaced by snprintf() calls; These macros 22265 should never have been written in the first place, when system functions exist to do the 22266 work. 22267 22268 (prev version 1.10 was erroneously comitted). 22269 22270Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22271Date: Tue Sep 30 16:07:49 2003 +0000 22272 22273 [bug #4296] PUTD() macro can't hack 10 digit values 22274 Once the number exceeded 1000000000, the conversion would fail. An execution of 22275 dp -format "%(clock{text})" "Tue, 01 Jul 2003 21:38:05 +0700" would erroneously print 22276 749660476, instead of 1057070285. 22277 22278 The macros PUTD() and PUTDF() have been replaced by snprintf() calls; These macros 22279 should never have been written in the first place, when system functions exist to do the 22280 work. 22281 22282Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22283Date: Tue Sep 30 14:36:04 2003 +0000 22284 22285 [bug #4297] The strlen mh-format function can crash if 'str' is null. 22286 22287Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22288Date: Tue Sep 30 14:30:36 2003 +0000 22289 22290 note recent changes 22291 22292Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22293Date: Tue Sep 30 14:19:20 2003 +0000 22294 22295 fix handling of "-list" and "-seq" options, so behavior is orthoganal. 22296 Previously, "pick -list -seq seqname" meant "pick -nolist -seq seqname". 22297 Now "pick -list -seq seqname" and "pick -seq seqname -list" do the same thing. 22298 Thanks to Robert Elz. 22299 22300Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22301Date: Sun Sep 28 14:27:34 2003 +0000 22302 22303 update 'mp->lowmsg' from 0 to 1 during regular 'inc' from mail spool; 22304 avoids failure of 'folder_realloc()' for case of no messages in 22305 folder, and more than 100 messages to incorporate. Initially, 22306 'folder_read()' will initialize 'mp->lowmsg' to 0, and 'mp->lowoff' 22307 to 1. So the call would be folder_realloc(mp, 1, 200), and the 22308 comparison 'if (mp->nummsg > 0 && lo > mp->lowmsg)' will fail. 22309 22310Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22311Date: Mon Sep 22 16:03:22 2003 +0000 22312 22313 Removed space between command name and man section number (e.g., 22314 "show (1)" --> "show(1)", so xemacs can recognize them as links to other 22315 man pages. 22316 22317Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22318Date: Mon Sep 22 01:04:04 2003 +0000 22319 22320 make 'spost' handling of "masquerade:" line of mts.conf containing 22321 'draft_from' same as for 'post'. Debian bug report 144098, filed by 22322 Terran Melconian. 22323 22324Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22325Date: Mon Sep 22 00:43:09 2003 +0000 22326 22327 status of action wasn't saved for use by 'N' result, so when 'N' was 22328 used slocal could perform the action even if the previous 22329 action failed. Debian bug report #149745, filed by Daniel M�ller. 22330 22331Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22332Date: Sun Sep 21 18:08:35 2003 +0000 22333 22334 Increase timeouts to comply with RFC 1123; Debian bug report #152728 by Ian Jackson 22335 22336Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22337Date: Sun Sep 21 17:34:31 2003 +0000 22338 22339 added cross references 22340 22341Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22342Date: Sun Sep 21 17:09:31 2003 +0000 22343 22344 fixed typo: example for scan.default didn't include proper terminating 22345 %> for "%<{date} %|*%>"; reported as Debian bug #143427 by Peter Maydell 22346 22347Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22348Date: Sun Sep 21 15:43:00 2003 +0000 22349 22350 Apply bug fix reported to Debian (#136976) by Peter Maydell; allows 22351 messages with "Content-Transfer-Encoding: binary" to be 22352 displayed, per RFC 2045 section 6.2 paragraph 4 22353 22354Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22355Date: Sun Sep 21 02:39:58 2003 +0000 22356 22357 corrected typo for nroff directive 22358 22359Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22360Date: Tue Sep 16 14:27:55 2003 +0000 22361 22362 add command to remove $(libdir)/install-mh prior to creating the link 22363 22364Author: Jeffrey C Honig <jch@honig.net> 22365Date: Sun Sep 14 13:25:55 2003 +0000 22366 22367 The first ``inc'' into an empty folder would not update the unseen 22368 sequence. This is because seq_list() will return NULL if mp->nummsg 22369 is zero. Insure that mp->nummsg is incremented. 22370 22371Author: Ken Hornstein <kenh@pobox.com> 22372Date: Mon Sep 8 18:41:10 2003 +0000 22373 22374 Man page fix from Igor Sobrado 22375 22376Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22377Date: Sat Sep 6 17:27:55 2003 +0000 22378 22379 Added documentation of "Dcc", per recent discussion on mailing list 22380 (main contributors Jerry Peek and Robert Elz) 22381 22382Author: Ken Hornstein <kenh@pobox.com> 22383Date: Fri Sep 5 21:07:49 2003 +0000 22384 22385 Merge in changes from the 1.1 branch. 22386 22387Author: Ken Hornstein <kenh@pobox.com> 22388Date: Fri Sep 5 19:10:21 2003 +0000 22389 22390 Fix from branch. 22391 22392Author: Ken Hornstein <kenh@pobox.com> 22393Date: Fri Sep 5 18:37:47 2003 +0000 22394 22395 Quiet lock warning. 22396 22397Author: Ken Hornstein <kenh@pobox.com> 22398Date: Fri Sep 5 18:36:36 2003 +0000 22399 22400 Merge in locking fixes into the main line. 22401 22402Author: Jeffrey C Honig <jch@honig.net> 22403Date: Mon Aug 11 01:20:52 2003 +0000 22404 22405 When compiling format strings, nmh attempts to avoid multiple parsing 22406 of address and date fields by only inserting calls to the parse 22407 functions (FT_PARSEADDR and FT_PARSEDATE) for a given component once. 22408 The problem with this method is that the initial invocation may 22409 actually be on a code path that is conditionally executed. This can 22410 result cached copies of data from the fields in previous messages to 22411 be used. 22412 22413 My solution is to move this optimization from compile time to run time. 22414 Address and Date parsing calls (FT_PARSEADDR and FT_PARSEDATE) will 22415 always be included. Run time flags are used to prevent these functions 22416 from being run more than once per component per message. 22417 22418 The c_flags field has being converted from a boolean to a bit-field to 22419 facilitate maintenance of the new CT_PARSED value. The result value 22420 that used to be in this field is now the bit CF_TRUE and the 22421 overloaded use of this field by scan() is now the CT_DATEFAB bit. 22422 22423 Some unneeded flags (CT_ADDRPARSE, CT_MYMBOX) have also been removed. 22424 22425Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22426Date: Fri Jul 4 16:15:02 2003 +0000 22427 22428 more detail for bugs fixed, so reader doesn't need to go to Bugzilla 22429 22430Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22431Date: Fri Jul 4 15:55:55 2003 +0000 22432 22433 update 22434 22435Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22436Date: Wed Jul 2 02:24:19 2003 +0000 22437 22438 restored use of %manext5% for man section, which was lost 22439 in version 1.4 22440 22441Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22442Date: Wed Jul 2 02:03:19 2003 +0000 22443 22444 Updated description of default template to reflect current 22445 change to In-Reply-To, and Fcc: 22446 22447Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22448Date: Wed Jul 2 02:01:50 2003 +0000 22449 22450 Default templates for 'comp', 'forw', 'dist', 'repl' now include 22451 Fcc: +outbox 22452 22453Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22454Date: Mon Jun 30 19:43:26 2003 +0000 22455 22456 use symbols for date and version so values are 22457 automatically updated during build. 22458 22459Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22460Date: Mon Jun 30 19:40:05 2003 +0000 22461 22462 bump date so everything gets a new timestamp for 1.1 22463 22464Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22465Date: Mon Jun 30 18:58:07 2003 +0000 22466 22467 fix bug #1393, "sortm core dumps", using patch provided by 22468 Robert Elz, kre@munnari.oz.au. The core dump occurred 22469 when "Subject:" was immediately followed by an 22470 alphanumeric, and "-textfield subject" were used 22471 as arguments. 22472 22473Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22474Date: Mon Jun 30 16:48:50 2003 +0000 22475 22476 Re-write for clarity, using major contributions from 22477 Bart Massey, and Jerry Peek. 22478 22479Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22480Date: Mon Jun 30 16:40:09 2003 +0000 22481 22482 made RFC 2822 compliant, using an "In-reply-to:" format 22483 supplied by Jerry Peek. 22484 22485Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22486Date: Fri Jun 27 17:02:13 2003 +0000 22487 22488 prevent double free of 'ce->cd_file' or later use of invalid data 22489 22490Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22491Date: Thu Jun 26 01:30:36 2003 +0000 22492 22493 fix for bug #578 repl leaks umask; there are several other 22494 places in the code where the umask value is not restored, 22495 so there might be other similar bugs 22496 22497Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22498Date: Mon Jun 23 00:44:28 2003 +0000 22499 22500 Changed use of GNU "simply expanded variables" for MAN1, MAN5, MAN8, so 22501 one makefile will work with SysV make (e.g., Solaris) and GNU make 22502 22503Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22504Date: Sun Jun 22 23:59:16 2003 +0000 22505 22506 allow gdbm/ndbm.h in addition to db1/ndbm.h; needs corresponding change in 22507 configure.in 22508 22509Author: Glenn Burkhardt <glenn@aoi.ultranet.com> 22510Date: Sun Jun 22 23:58:07 2003 +0000 22511 22512 Allowed gdbm as substitute for Berkeley db1/ndbm.h libdb1 (check for 22513 gdbm/ndbm.h, libgdbm now); send only stdout to /dev/null when checking for 22514 'broken vi', this allows 'vim' on Solaris to work, since 'vim' closes stdin 22515 and uses stderr for input when running a script. 22516 22517Author: Kimmo Suominen <kimmo@suominen.com> 22518Date: Thu Jan 2 04:07:49 2003 +0000 22519 22520 Fix detection of non-mime messages when the charset is not enclosed 22521 in double quotes. (Not perfect yet, but 97% effective.) 22522 22523Author: Jon Steinhart <jon@fourwinds.com> 22524Date: Thu Nov 21 21:22:24 2002 +0000 22525 22526 Fixed a typo in the SRCS definition; had a .o where it should have been a .c 22527 22528Author: Jon Steinhart <jon@fourwinds.com> 22529Date: Wed Nov 20 19:57:19 2002 +0000 22530 22531 Fixed a bug in the waitpid version where it would return incorrectly if a 22532 child process was interrupted. 22533 22534Author: Jon Steinhart <jon@fourwinds.com> 22535Date: Tue Nov 19 20:39:21 2002 +0000 22536 22537 Removed the reference to the library directory since this now goes in bin. 22538 22539Author: Jon Steinhart <jon@fourwinds.com> 22540Date: Tue Nov 19 20:37:50 2002 +0000 22541 22542 Changed to move install-mh to the bin directory instead of the lib 22543 directory. A link is made from the lib to the bin just in case. 22544 22545Author: Jon Steinhart <jon@fourwinds.com> 22546Date: Mon Nov 18 18:25:00 2002 +0000 22547 22548 The file README-ATTACHMENTS was removed - it has been moved to the docs 22549 subdirectory. I thought that this had already been done but I guess not. 22550 It's unrelated to the rest of these changes. 22551 22552 The remainder of these changes affect the way that nmh is installed. Nmh 22553 has historically prompted the user for installation when any nmh command 22554 is invoked if it doesn't think that it's installed. This is a problem for 22555 programs that want to, for example, interact with nmh programs via pipes. 22556 22557 These changes alter this behavior. Now, when an nmh program thinks that 22558 nmh isn't installed, it tells the user to run install-mh to install it. 22559 A -check option has been added to install-mh that allows the existence of 22560 an installation to be silently checked and indicated via the exit status. 22561 22562 The bulk of this change is in sbr/read_context.c. In the process of making 22563 these changes, I noticed a fair amount of useless code that I removed. In 22564 particular: 22565 22566 1. The program started with a test for whether or not defpath had already 22567 been set. This could only happen if context_read() was called more 22568 than once, which it isn't. This check also existed and was removed 22569 from the following places: 22570 sbr/context_del.c 22571 sbr/context_find.c 22572 sbr/context_replace.c 22573 sbr/seq_read.c 22574 sbr/seq_save.c 22575 uip/flist.c 22576 uip/folder.c 22577 uip/rmf.c 22578 22579 2. A similar test for mypath was removed. No need to test it since it 22580 doesn't happen. I'm just not a believer that 22581 22582 a = 1; 22583 22584 if (a != 1) 22585 error(); 22586 22587 is a good way to write code! 22588 22589 3. I removed the code makes a copy of the $HOME environment variable as 22590 returned by getenv(). It's never changed, so it doesn't need copying. 22591 22592 4. I removed code that copied the pw_dir member of the passwd structure 22593 returned by getpwuid() if $HOME isn't set. Yes, the returned structure 22594 is static, but since the function is never called again the returned 22595 values stay valid and don't need copying. 22596 22597 5. I removed the test for a NULL pw_dir member in the passwd structure 22598 returned by getpwuid() since that never happens. 22599 22600 6. I removed code that removed a trailing / from mypath if mypath is more 22601 than one character long. Unnecessary as // is interpreted as / anyway. 22602 mypath never shows up in an error message, so nobody will ever see it. 22603 Besides, this code didn't handle the case of multiple trailing slashes. 22604 22605 7. I removed code that replaced the MH environment variable contents with 22606 an absolute path if it was a relative one. I'm a bit nervous about this 22607 one, only testing will tell. Any nmh program that's invoked will use 22608 the same context_read() code to convert a relative path to an absolute 22609 one anyway. And there's no guarantee (or discussion) of this feature 22610 in any of the documentation. 22611 22612 8. Althout context_read() tested the MH environment variable, install-mh 22613 didn't. This means that the behavior was not consistent between 22614 install-mh and all other nmh programs. I changed install-mh to be 22615 consistent with context_read(). 22616 22617 9. install-mh has been installed in the lib directory, not bin. So a 22618 user would be unlikely to find it when prompted to run it. The 22619 installation has been changed to add a link from bin to lib. 22620 22621Author: Anders Eriksson <aeriksson@fastmail.fm> 22622Date: Mon Oct 21 19:32:26 2002 +0000 22623 22624 Changed scan to always pass the folder argument. This is in line 22625 with the man page. 22626 22627Author: Jon Steinhart <jon@fourwinds.com> 22628Date: Mon Sep 9 14:30:16 2002 +0000 22629 22630 New routine that provides interface to external programs. 22631 22632Author: Jon Steinhart <jon@fourwinds.com> 22633Date: Fri Aug 23 20:37:01 2002 +0000 22634 22635 Added external program hooks. 22636 22637Author: Jon Steinhart <jon@fourwinds.com> 22638Date: Thu Aug 22 22:06:18 2002 +0000 22639 22640 Moved this file here from the root directory. 22641 22642Author: Jon Steinhart <jon@fourwinds.com> 22643Date: Mon Aug 19 20:50:41 2002 +0000 22644 22645 Added an improved user interface for sending messages with attachments. 22646 22647Author: Ken Hornstein <kenh@pobox.com> 22648Date: Mon Jul 8 19:29:24 2002 +0000 22649 22650 Remove this file on the head as well. 22651 22652Author: Ken Hornstein <kenh@pobox.com> 22653Date: Wed Jul 3 14:49:24 2002 +0000 22654 22655 Bring these changes over from the branch. 22656 22657Author: Ken Hornstein <kenh@pobox.com> 22658Date: Wed Jul 3 14:08:11 2002 +0000 22659 22660 Remove these undefines (why were they in there?) 22661 22662Author: Ken Hornstein <kenh@pobox.com> 22663Date: Tue Jul 2 22:10:55 2002 +0000 22664 22665 Update for new version. 22666 22667Author: Ken Hornstein <kenh@pobox.com> 22668Date: Tue Jul 2 22:09:12 2002 +0000 22669 22670 Add/update copyright notice in all source code files. 22671 22672Author: Ken Hornstein <kenh@pobox.com> 22673Date: Tue Jul 2 21:46:37 2002 +0000 22674 22675 Remove autoconf-generated files (and note such files in .cvsignore) 22676 22677Author: Dan Harkless <dan@harkless.org> 22678Date: Sat Mar 17 11:28:27 2001 +0000 22679 22680 Ken Hornstein's configure.in Cyrus SASL checks were doing 22681 `x"$with_cyrus_sasl" != "no"' instead of `... != x"no"'. 22682 22683Author: Dan Harkless <dan@harkless.org> 22684Date: Wed Mar 7 05:26:50 2001 +0000 22685 22686 Found some historical information about MH in RFC 808. Supplemented it with 22687 info from Jerry Peek's MH book and added it to docs/README.about. 22688 22689Author: Shantonu Sen <ssen@mit.edu> 22690Date: Tue Feb 6 20:47:54 2001 +0000 22691 22692 dtimp timezone fixes 22693 22694Author: Shantonu Sen <ssen@mit.edu> 22695Date: Tue Feb 6 20:35:40 2001 +0000 22696 22697 Be more picky about symbolic time zones, and accept either a symbolic 22698 or numeric time zone, but never both, since a DST offset might be subtracted 22699 twice. Also, be uniform about assuming that pre-1970 dates are Y2K problems. 22700 22701Author: Dan Harkless <dan@harkless.org> 22702Date: Tue Feb 6 04:28:04 2001 +0000 22703 22704 Say in README.developers to use `\date' in case anyone is like me and 22705 has `date' aliased in their shell to use a nonstandard (but 22706 subjectively more readable) format. 22707 22708Author: Dan Harkless <dan@harkless.org> 22709Date: Tue Feb 6 04:22:09 2001 +0000 22710 22711 Regenerated stamp-h.in using my tcsh alias `date', which uses a 22712 nonstandard format. Replacing it with the standard format. I'll 22713 update README.developers to say to use `\date'. 22714 22715Author: Dan Harkless <dan@harkless.org> 22716Date: Tue Feb 6 03:46:27 2001 +0000 22717 22718 * -L isn't sufficient for specifying the path of the Cyrus SASL 22719 shared library. That'll allow us to link successfully, but on 22720 many/most OSes that won't allow us to find libsasl at runtime. On 22721 Solaris, we need to specify the library path with -R as well (or 22722 else the user will have to use the $LD_LIBRARY_PATH kludge, which 22723 is considered harmful). This fix should be extended to other OSes 22724 as well. 22725 22726 * Print whether we have SASL support in the "nmh configuration" 22727 summary configure prints out. 22728 22729Author: Shantonu Sen <ssen@mit.edu> 22730Date: Thu Jan 25 21:28:30 2001 +0000 22731 22732 man/mh-chart 22733 22734Author: Shantonu Sen <ssen@mit.edu> 22735Date: Thu Jan 25 21:15:52 2001 +0000 22736 22737 use %etcdir% for spacing instead of hardcoding 22738 22739Author: Shantonu Sen <ssen@mit.edu> 22740Date: Thu Jan 25 21:14:32 2001 +0000 22741 22742 compiled mh-chart with synopses of commands 22743 22744Author: Shantonu Sen <ssen@mit.edu> 22745Date: Tue Jan 23 20:27:57 2001 +0000 22746 22747 digest 22748 22749Author: Shantonu Sen <ssen@mit.edu> 22750Date: Tue Jan 23 20:26:15 2001 +0000 22751 22752 Don't try to force year into a 19xx format 22753 22754Author: Shantonu Sen <ssen@mit.edu> 22755Date: Tue Jan 23 04:14:08 2001 +0000 22756 22757 SYNOPSIS formating to prevent filling 22758 22759Author: Shantonu Sen <ssen@mit.edu> 22760Date: Fri Jan 19 21:32:13 2001 +0000 22761 22762 manpages finished 22763 22764Author: Shantonu Sen <ssen@mit.edu> 22765Date: Fri Jan 19 21:22:08 2001 +0000 22766 22767 don't build vmh.1 since vmh isn't distributed, and we no longer need tmac.h 22768 22769Author: Shantonu Sen <ssen@mit.edu> 22770Date: Fri Jan 19 21:10:09 2001 +0000 22771 22772 show-whom 22773 22774Author: Shantonu Sen <ssen@mit.edu> 22775Date: Thu Jan 18 20:27:34 2001 +0000 22776 22777 prompter-sendfiles 22778 22779Author: Shantonu Sen <ssen@mit.edu> 22780Date: Tue Jan 9 06:55:21 2001 +0000 22781 22782 delete old files, manpage progress 22783 22784Author: Shantonu Sen <ssen@mit.edu> 22785Date: Tue Jan 9 06:45:26 2001 +0000 22786 22787 removed deprecated files. sendmail functionality exists in mts/smtp/ 22788 22789Author: Shantonu Sen <ssen@mit.edu> 22790Date: Tue Jan 9 06:41:44 2001 +0000 22791 22792 Add an entry for README.manpages 22793 22794Author: Shantonu Sen <ssen@mit.edu> 22795Date: Tue Jan 9 06:40:12 2001 +0000 22796 22797 Added popi.c to SRCS, even though it's not being built currently 22798 22799Author: Shantonu Sen <ssen@mit.edu> 22800Date: Tue Jan 9 06:13:55 2001 +0000 22801 22802 removing mts/generic 22803 22804Author: Shantonu Sen <ssen@mit.edu> 22805Date: Tue Jan 9 06:10:03 2001 +0000 22806 22807 deleting zotnet/ dir -- parts moved to sbr/ 22808 22809Author: Shantonu Sen <ssen@mit.edu> 22810Date: Tue Jan 9 06:01:19 2001 +0000 22811 22812 mh_profile-prev 22813 22814Author: Shantonu Sen <ssen@mit.edu> 22815Date: Sat Jan 6 23:38:12 2001 +0000 22816 22817 mh_tailor-mhbuild 22818 22819Author: Shantonu Sen <ssen@mit.edu> 22820Date: Thu Jan 4 07:07:41 2001 +0000 22821 22822 Updating mh_sequence 22823 22824Author: Shantonu Sen <ssen@mit.edu> 22825Date: Wed Jan 3 06:29:06 2001 +0000 22826 22827 mh_mail-mh_profile 22828 22829Author: Shantonu Sen <ssen@mit.edu> 22830Date: Tue Jan 2 08:10:46 2001 +0000 22831 22832 mh-format 22833 22834Author: Shantonu Sen <ssen@mit.edu> 22835Date: Tue Jan 2 07:12:46 2001 +0000 22836 22837 Modularizing the Makefile caused some variable expansion problems on non-GNU makes 22838 22839Author: Shantonu Sen <ssen@mit.edu> 22840Date: Tue Jan 2 06:43:07 2001 +0000 22841 22842 mh_chart-mh_draft 22843 22844Author: Shantonu Sen <ssen@mit.edu> 22845Date: Mon Jan 1 10:19:00 2001 +0000 22846 22847 Updating ali-mh_alias 22848 22849Author: Shantonu Sen <ssen@mit.edu> 22850Date: Sun Dec 31 20:58:29 2000 +0000 22851 22852 add about pointers to shared pages 22853 22854Author: Shantonu Sen <ssen@mit.edu> 22855Date: Sun Dec 31 20:55:48 2000 +0000 22856 22857 Add date to files i missed last time 22858 22859Author: Shantonu Sen <ssen@mit.edu> 22860Date: Sun Dec 31 20:55:06 2000 +0000 22861 22862 docs/README.manpages 22863 22864Author: Shantonu Sen <ssen@mit.edu> 22865Date: Sun Dec 31 20:48:50 2000 +0000 22866 22867 Add manpage style guide 22868 22869Author: Shantonu Sen <ssen@mit.edu> 22870Date: Sun Dec 31 09:25:09 2000 +0000 22871 22872 Updating inc 22873 22874Author: Shantonu Sen <ssen@mit.edu> 22875Date: Sun Dec 31 08:19:20 2000 +0000 22876 22877 Updating comp-forw 22878 22879Author: Shantonu Sen <ssen@mit.edu> 22880Date: Sun Dec 31 06:31:42 2000 +0000 22881 22882 add flists and folders as pointer pages to flist,folder. Modularize Makefile to allow easier addition of manpages 22883 22884Author: Shantonu Sen <ssen@mit.edu> 22885Date: Sun Dec 31 02:44:18 2000 +0000 22886 22887 replace %components% and %distcomps% in man pages with corresponding files 22888 22889Author: Shantonu Sen <ssen@mit.edu> 22890Date: Sun Dec 31 02:43:34 2000 +0000 22891 22892 updated ali-flist, with batch edit of others 22893 22894Author: Shantonu Sen <ssen@mit.edu> 22895Date: Sat Dec 30 23:18:28 2000 +0000 22896 22897 update ali,anno,ap.burst 22898 22899Author: Shantonu Sen <ssen@mit.edu> 22900Date: Sat Dec 30 10:01:29 2000 +0000 22901 22902 Updated man pages to remove dependence on tmac.h and have a more modern look 22903 22904Author: Shantonu Sen <ssen@mit.edu> 22905Date: Sat Dec 30 10:00:42 2000 +0000 22906 22907 DATE an manpage updating 22908 22909Author: Shantonu Sen <ssen@mit.edu> 22910Date: Sat Dec 30 09:51:55 2000 +0000 22911 22912 Use the DATE file 22913 22914Author: Shantonu Sen <ssen@mit.edu> 22915Date: Sat Dec 30 09:50:13 2000 +0000 22916 22917 Created DATE that contains a datestamp used in the man pages. It should be updated each release. 22918 22919Author: Shantonu Sen <ssen@mit.edu> 22920Date: Sun Dec 24 10:13:45 2000 +0000 22921 22922 hesiod and krb5 test changes. add --with-locking to INSTALL 22923 22924Author: Shantonu Sen <ssen@mit.edu> 22925Date: Sun Dec 24 10:06:30 2000 +0000 22926 22927 Add documentation for --with-locking option 22928 22929Author: Shantonu Sen <ssen@mit.edu> 22930Date: Sun Dec 24 10:06:00 2000 +0000 22931 22932 hesiod and krb5 test fixes 22933 22934Author: Shantonu Sen <ssen@mit.edu> 22935Date: Sun Dec 24 10:04:58 2000 +0000 22936 22937 Fixed up the hesiod library test so that the location of res_send 22938 actually helps to determine whether -lresolv needs to be passed 22939 as a hesiod lib. Also, fixed the krb5 test to look for 22940 -lk5crypto if it exists, since that's the new name for -lcrypto. 22941 The old -lcrypto remains in case the new version isn't found. 22942 22943Author: Dan Harkless <dan@harkless.org> 22944Date: Sat Dec 23 06:11:03 2000 +0000 22945 22946 -apop and -noapop were not documented in msgchk.man. -snoop was documented but 22947 didn't appear in the usage SYNOPSIS. 22948 22949Author: Shantonu Sen <ssen@mit.edu> 22950Date: Fri Dec 22 23:49:08 2000 +0000 22951 22952 add --with-locking option 22953 22954Author: Shantonu Sen <ssen@mit.edu> 22955Date: Fri Dec 22 23:42:16 2000 +0000 22956 22957 Autoconfing the file locking options 22958 22959Author: Shantonu Sen <ssen@mit.edu> 22960Date: Fri Dec 22 19:30:41 2000 +0000 22961 22962 put both linux entries on one line 22963 22964Author: Shantonu Sen <ssen@mit.edu> 22965Date: Fri Dec 22 19:29:40 2000 +0000 22966 22967 dtimep, MACHINES 22968 22969Author: Shantonu Sen <ssen@mit.edu> 22970Date: Fri Dec 22 19:21:29 2000 +0000 22971 22972 Update to include Mac OS X and Linux 2.4 22973 22974Author: Shantonu Sen <ssen@mit.edu> 22975Date: Fri Dec 22 19:18:09 2000 +0000 22976 22977 When building on Mac OS X, don't set LDFLAGS=-s, since the linker doesn't like the flag 22978 22979Author: Shantonu Sen <ssen@mit.edu> 22980Date: Fri Dec 22 19:15:02 2000 +0000 22981 22982 Take out memory hints, since we are assuming flex over lex, so this shouldn't be a problem 22983 22984Author: Shantonu Sen <ssen@mit.edu> 22985Date: Wed Dec 20 16:03:36 2000 +0000 22986 22987 doc/README.developers update, and fixed typo in last ChangeLog entry 22988 22989Author: Shantonu Sen <ssen@mit.edu> 22990Date: Wed Dec 20 16:00:46 2000 +0000 22991 22992 Marked deprecated directories in layout description, and added an entry for docs 22993 22994Author: Dan Harkless <dan@harkless.org> 22995Date: Wed Dec 20 03:30:14 2000 +0000 22996 22997 Just changed a "can" to a "could" since I don't know if most POP3 servers are 22998 like qpopper in not allowing people with APOP activated to log in via normal 22999 POP3. 23000 23001Author: Dan Harkless <dan@harkless.org> 23002Date: Wed Dec 20 03:18:33 2000 +0000 23003 23004 -apop and -noapop were not documented in inc.man. -snoop was documented but 23005 didn't appear in the usage SYNOPSIS. 23006 23007Author: Shantonu Sen <ssen@mit.edu> 23008Date: Sun Dec 17 19:52:04 2000 +0000 23009 23010 Fixed a type from 'his' to 'this' 23011 23012Author: Shantonu Sen <ssen@mit.edu> 23013Date: Thu Dec 14 14:55:17 2000 +0000 23014 23015 config.guess/sub update 23016 23017Author: Shantonu Sen <ssen@mit.edu> 23018Date: Thu Dec 14 14:35:40 2000 +0000 23019 23020 config update procedure (probably unneccessary) 23021 23022Author: Shantonu Sen <ssen@mit.edu> 23023Date: Thu Dec 14 14:32:09 2000 +0000 23024 23025 Updated config.guess and config.sub from most recent version 23026 from ftp.gnu.org/pub/gnu/config, with timestamp='2000-12-07'. 23027 23028Author: Dan Harkless <dan@harkless.org> 23029Date: Thu Dec 14 03:14:08 2000 +0000 23030 23031 Shantonu did his commit in the wrong order earlier today, making configure get 23032 re-built due to a "newer" configure.in. 23033 23034Author: Shantonu Sen <ssen@mit.edu> 23035Date: Thu Dec 14 01:38:41 2000 +0000 23036 23037 Move mts/generic to sbr/ 23038 23039Author: Shantonu Sen <ssen@mit.edu> 23040Date: Thu Dec 14 01:30:43 2000 +0000 23041 23042 Resolve the circular dependency of libmh on libmts on libmh. The 23043 files mts/generic/client.c and mts.c are moved to sbr/, and mts/generic/mts.h 23044 is moved to h/mts.h. Thus, libmh is self-contained. All header includes 23045 have been appropriately updated, and the Makefiles and configure script 23046 no longer build mts/generic. 23047 23048Author: Dan Harkless <dan@harkless.org> 23049Date: Tue Dec 12 06:19:25 2000 +0000 23050 23051 When Shantonu made the new libmts.a, he swapped $(MTSLIB) and libmh.a in 23052 sbr/Makefile.in so that libmh.a comes first, but this causes the build to fail 23053 on Solaris, because libmts.a has to get ruserpass() out of libmh.a. Swapping 23054 them back to the way Ken Hornstein's patch (which I applied on Jul 20) put them, 23055 with libmh.a correctly coming second. If there are times when libmts.a needs to 23056 come second, then it would appear there's a circular dependency and someone 23057 (Shantonu?) did an mts merge incorrectly. 23058 23059Author: Dan Harkless <dan@harkless.org> 23060Date: Fri Sep 8 23:19:37 2000 +0000 23061 23062 Just fixed a formatting error. 23063 23064Author: Shantonu Sen <ssen@mit.edu> 23065Date: Fri Sep 8 01:39:10 2000 +0000 23066 23067 Took out bad zones in dtimep 23068 23069Author: Shantonu Sen <ssen@mit.edu> 23070Date: Fri Sep 8 01:36:23 2000 +0000 23071 23072 Took out incorrect time zones like JST and BST. 23073 23074Author: Shantonu Sen <ssen@mit.edu> 23075Date: Fri Sep 8 00:49:32 2000 +0000 23076 23077 Included code reorg of zotnet/mts 23078 23079Author: Shantonu Sen <ssen@mit.edu> 23080Date: Fri Sep 8 00:37:54 2000 +0000 23081 23082 Don't make Makefiles in zotnet or mts/mmdf or mts/sendmail 23083 23084Author: Shantonu Sen <ssen@mit.edu> 23085Date: Fri Sep 8 00:36:48 2000 +0000 23086 23087 Don't generate Makefiles for zotnet, or mts/mmdf and mts/sendmail, 23088 since they are no longer being compiled. 23089 23090Author: Shantonu Sen <ssen@mit.edu> 23091Date: Fri Sep 8 00:34:41 2000 +0000 23092 23093 Included h/nmh.h, since the MD5 algorithms were missing declarations 23094 for memcpy and memset (I think), which are indirectly included from 23095 strings.h 23096 23097Author: Shantonu Sen <ssen@mit.edu> 23098Date: Fri Sep 8 00:34:08 2000 +0000 23099 23100 Updated #include's to point to new location of mts.h on mts/generic 23101 23102Author: Shantonu Sen <ssen@mit.edu> 23103Date: Fri Sep 8 00:32:47 2000 +0000 23104 23105 No longer descend into zotnet/ 23106 23107Author: Shantonu Sen <ssen@mit.edu> 23108Date: Fri Sep 8 00:30:58 2000 +0000 23109 23110 Moved code from zotnet/mts to mts/generic. Also, unified generic 23111 mts code and smtp/sendmail into libmts.a as an intermediate, instead 23112 of having two static libs. 23113 23114Author: Shantonu Sen <ssen@mit.edu> 23115Date: Wed Sep 6 22:48:43 2000 +0000 23116 23117 Included changes to dtimep.lex to remove military zone parsing. 23118 23119Author: Shantonu Sen <ssen@mit.edu> 23120Date: Wed Sep 6 22:40:03 2000 +0000 23121 23122 Took out parsing of military time, which was causing issues when it 23123 encountered something like (MET), which it doesn't recognize as a timezone, 23124 and which was then read as military characters. 23125 23126Author: Dan Harkless <dan@harkless.org> 23127Date: Fri Aug 11 20:43:07 2000 +0000 23128 23129 Further clarified Kimmo's etc/Makefile.in comments at his suggestion. 23130 23131Author: Dan Harkless <dan@harkless.org> 23132Date: Thu Aug 10 21:32:33 2000 +0000 23133 23134 Changed my mind again on scan.MMDDYY and scan.YYYYMMDD. Put the replied / 23135 encrypted column back in, because it's useful to "always" (at least when you 23136 aren't using replied / encrypted) have a space in between the message number and 23137 date, so you can use awk (with the default field separators) to grab message 23138 numbers from scan output. 23139 23140Author: Dan Harkless <dan@harkless.org> 23141Date: Thu Aug 10 20:33:25 2000 +0000 23142 23143 Decided that limiting the message number columns to 3 on my scan.MMDDYY and 23144 scan.YYYYMMDD (to try to regain space taken by extra date info) was 23145 ill-conceived. It's not that tough to get past 999 messages, though I imagine 23146 it's rather rare to exceed 9999. Changed these to 4. I had already removed the 23147 "replied / encrypted" column in YYYYMMDD, but this time I removed it on MMDDYY 23148 as well (I've never seen it used...). 23149 23150Author: Ruud de Rooij <ruud@ruud.org> 23151Date: Mon Aug 7 18:42:20 2000 +0000 23152 23153 Modify umask set by mhshow to enable user execute bit, so that viewers that 23154 create temporary directories (e.g., lynx) will be able to access them. 23155 23156Author: Dan Harkless <dan@harkless.org> 23157Date: Sat Aug 5 16:00:49 2000 +0000 23158 23159 Kimmo's etc/Makefile.in change note implied that install was previously 23160 completely broken. Not the case. I asked Kimmo about it and he clarified that 23161 it failed when building outside the source tree. Fixed the entry to reflect. 23162 23163Author: Dan Harkless <dan@harkless.org> 23164Date: Fri Aug 4 00:15:52 2000 +0000 23165 23166 TODO: Allow multiple simultaneous differing contexts, probably each tied to a 23167 parent (terminal) process. 23168 23169Author: Kimmo Suominen <kimmo@suominen.com> 23170Date: Tue Aug 1 14:55:53 2000 +0000 23171 23172 Make "make install" work in etc/Makefile.in 23173 23174Author: Dan Harkless <dan@harkless.org> 23175Date: Mon Jul 24 23:24:22 2000 +0000 23176 23177 Renamed DSTXXX as ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST and added an 23178 explanatory comment by its #definition. 23179 23180Author: Dan Harkless <dan@harkless.org> 23181Date: Mon Jul 24 23:06:42 2000 +0000 23182 23183 Updated README.developers with the fact that zotnet/tws is going away. 23184 23185Author: Dan Harkless <dan@harkless.org> 23186Date: Mon Jul 24 23:03:38 2000 +0000 23187 23188 When Shantonu wrote the new, more portable dtimep.lex, he left out the #ifdef 23189 DSTXXX stuff for some reason. Not a good idea, as that code is required for 23190 proper printing of numeric-offset timezones that have daylight saving time. 23191 Without that code, -0700 during DST gets printed as MST instead of PDT. 23192 23193Author: Dan Harkless <dan@harkless.org> 23194Date: Fri Jul 21 03:31:39 2000 +0000 23195 23196 Fixed warnings from diff on first-time install of nmh. Also added 'echo's 23197 clarifying the etc file installation activities. 23198 23199Author: Dan Harkless <dan@harkless.org> 23200Date: Fri Jul 21 02:35:43 2000 +0000 23201 23202 Applied Kurt J. Lidl <lidl@eng.us.uu.net>'s $MAILHOST patch: 23203 23204 I have a small patch that would be nice to be included -- basically, it 23205 allows the usage of the "MAILHOST" environment variable, without having to 23206 have HESIOD turned on. I need this functionality for my environment, where 23207 we have identical /usr/local on all my machines (so I cannot just hardcode 23208 into the mts.conf file), and I have multiple POP mail servers for my users. 23209 23210 Modified inc.man to reflect that along with "pophost:" and -host, $MAILHOST can 23211 now activate POP mail inclusion as well. 23212 23213Author: Dan Harkless <dan@harkless.org> 23214Date: Fri Jul 21 02:25:59 2000 +0000 23215 23216 Last pass at README.developers -- Kimmo's 5-step commit was overkill. You only 23217 need 3 steps, since configure.in is the only autoconf file with the RCS $Id 23218 keyword. 23219 23220Author: Dan Harkless <dan@harkless.org> 23221Date: Fri Jul 21 02:11:59 2000 +0000 23222 23223 Meaningless modification to test autoconf file commit order stuff. 23224 23225Author: Dan Harkless <dan@harkless.org> 23226Date: Fri Jul 21 02:04:37 2000 +0000 23227 23228 Meaningless change to test autoconf file commit order stuff. 23229 23230Author: Dan Harkless <dan@harkless.org> 23231Date: Fri Jul 21 02:03:23 2000 +0000 23232 23233 Meaningless change for testing autoconf file commit order stuff. 23234 23235Author: Dan Harkless <dan@harkless.org> 23236Date: Fri Jul 21 01:56:17 2000 +0000 23237 23238 Meaningless change to test autoconf commit order stuff. 23239 23240Author: Dan Harkless <dan@harkless.org> 23241Date: Fri Jul 21 01:43:58 2000 +0000 23242 23243 People did not preserve my alphabetization of the --with options when they added 23244 new ones. Re-alphabetized. 23245 23246Author: Dan Harkless <dan@harkless.org> 23247Date: Thu Jul 20 20:49:00 2000 +0000 23248 23249 Ken Hornstein's SASL patch was not integrated properly with Ruud's new merged 23250 mts/sendmail code. Kimmo has since fixed nmh so it compiles, but according to 23251 Ken, the SASL stuff still does not work. Integrating a patch from him for this. 23252 23253Author: Dan Harkless <dan@harkless.org> 23254Date: Thu Jul 20 20:32:31 2000 +0000 23255 23256 One more pass at README.developers now that it's clear that my 23257 previously-suggested one-line autoconf-file commit can cause unnecessary local 23258 makes and an out-of-sync stamp-h.in file, but would not cause problems for other 23259 people using the CVS files. 23260 23261Author: Dan Harkless <dan@harkless.org> 23262Date: Thu Jul 20 20:14:39 2000 +0000 23263 23264 Moved Kimmo's new "--with-hash-backup" to be output with the rest of the --with 23265 options in the configure --help output, rather than being in between two random 23266 --enable options. 23267 23268Author: Kimmo Suominen <kimmo@suominen.com> 23269Date: Tue Jul 18 23:39:45 2000 +0000 23270 23271 Added answer. 23272 23273Author: Dan Harkless <dan@harkless.org> 23274Date: Tue Jul 18 02:15:03 2000 +0000 23275 23276 Clarified and made some corrections to Kimmo's README.developers changes (BTW, 23277 if anyone can explain why the RCS Ids are able to cause problems with the 23278 dependencies, please fill in the explanation -- I never encountered a problem 23279 with the old single-commit method). 23280 23281Author: Dan Harkless <dan@harkless.org> 23282Date: Tue Jul 18 02:07:51 2000 +0000 23283 23284 I don't understand why Kim's split-up of the autoconf-file cvs commits should be 23285 necessary, so I left a little note hoping for someone to explain technically why 23286 that should be the case. I certainly never ran into any problems with my old 23287 single-commit version (which I added back in along with an explanation of why it 23288 supposedly won't always work). 23289 23290 Also Kim's text implied that the _only_ reason for the given order is the RCS 23291 Ids -- not true -- the timestamps are the main reason a particular order is 23292 necessary. Made a couple of other clarifications as well. 23293 23294Author: Kimmo Suominen <kimmo@suominen.com> 23295Date: Sun Jul 16 06:18:03 2000 +0000 23296 23297 Iterating the commit a bit, I think this is how it works without extra 23298 runs of autoconf, autoheader and make. 23299 23300Author: Kimmo Suominen <kimmo@suominen.com> 23301Date: Sun Jul 16 06:05:26 2000 +0000 23302 23303 Regen. 23304 23305Author: Kimmo Suominen <kimmo@suominen.com> 23306Date: Sun Jul 16 06:01:28 2000 +0000 23307 23308 If $LIBTOOL is empty we should not try to run it. 23309 This gets rid of the "--version: not found" error. 23310 23311Author: Kimmo Suominen <kimmo@suominen.com> 23312Date: Sun Jul 16 05:50:33 2000 +0000 23313 23314 Got rid of one mktemp. 23315 23316Author: Kimmo Suominen <kimmo@suominen.com> 23317Date: Sun Jul 16 05:11:46 2000 +0000 23318 23319 Complete HAVE_MKSTEMP. 23320 23321Author: Kimmo Suominen <kimmo@suominen.com> 23322Date: Sun Jul 16 04:23:50 2000 +0000 23323 23324 We ignore the fact that the user requested SASL, since the pipe to the 23325 mailer is secure. This allows for easier sharing of the MH profile 23326 across hosts. 23327 23328Author: Kimmo Suominen <kimmo@suominen.com> 23329Date: Sun Jul 16 04:03:27 2000 +0000 23330 23331 Note replacement of GNU-makeism in sbr/Makefile.in with a common statement. 23332 23333Author: Kimmo Suominen <kimmo@suominen.com> 23334Date: Sun Jul 16 03:58:57 2000 +0000 23335 23336 So I don't think you can commit these all in a single commit. 23337 README.developers recommends that (with precise ordering) but 23338 things still get regenerated when I run "make". 23339 23340Author: Kimmo Suominen <kimmo@suominen.com> 23341Date: Sun Jul 16 03:57:47 2000 +0000 23342 23343 Keep this working with other makes than GNU. 23344 23345Author: Kimmo Suominen <kimmo@suominen.com> 23346Date: Sun Jul 16 03:56:45 2000 +0000 23347 23348 Still missed one SASL stuff thing. 23349 23350Author: Kimmo Suominen <kimmo@suominen.com> 23351Date: Sun Jul 16 03:36:42 2000 +0000 23352 23353 Changed "--with-backup-prefix" to "--with-hash-backup" because # is too 23354 difficult for config.status to get right. 23355 23356Author: Kimmo Suominen <kimmo@suominen.com> 23357Date: Sun Jul 16 03:15:17 2000 +0000 23358 23359 Note "--with-backup-prefix". 23360 23361Author: Kimmo Suominen <kimmo@suominen.com> 23362Date: Sun Jul 16 03:13:25 2000 +0000 23363 23364 Add "--with-backup-prefix" so it can be set easily. 23365 23366Author: Kimmo Suominen <kimmo@suominen.com> 23367Date: Sun Jul 16 02:08:18 2000 +0000 23368 23369 SASL stuff. 23370 23371Author: Kimmo Suominen <kimmo@suominen.com> 23372Date: Sun Jul 16 01:48:37 2000 +0000 23373 23374 SASL stuff. 23375 23376Author: Kimmo Suominen <kimmo@suominen.com> 23377Date: Sun Jul 16 01:46:50 2000 +0000 23378 23379 SASL mods. 23380 23381Author: Dan Harkless <dan@harkless.org> 23382Date: Thu Jul 13 21:49:45 2000 +0000 23383 23384 Deleted the timezone on Kim's SASL patch entry. Ruud has taken to adding the 23385 timezone even though all previous entries are missing it, and I don't really 23386 agree with that. True, on occasion someone in a different timezone will 23387 commit something later in the day than someone else, and even though the second 23388 change happens later, the time may be earlier, but that doesn't happen too often 23389 and isn't really a big deal, IMHO. 23390 23391 Putting textual timezones like "EDT" isn't really the right solution, IMHO, 23392 since some of those tags are ambiguous. Either an offset-style timezone should 23393 be used or all times should be given as UTC. 23394 23395 I'd just as soon stick with local times, though. 23396 23397 Oh, one thing I forgot to mention in my last CVS entry was that I removed "IMAP" 23398 from the list of protocols supported by Ken's SASL patches -- nmh doesn't have 23399 any IMAP support! 23400 23401Author: Dan Harkless <dan@harkless.org> 23402Date: Thu Jul 13 21:42:52 2000 +0000 23403 23404 Modified Kimmo's entry for the application of Ken Hornstein's SASL patches to 23405 clarify that it wasn't Ken applying them himself, and clarified what SASL 23406 support actually means. 23407 23408Author: Dan Harkless <dan@harkless.org> 23409Date: Thu Jul 13 21:41:42 2000 +0000 23410 23411 Kimmo neglected to commit the regenerated versions of these after changing 23412 configure.in, forcing people using the CVS source to have to have the autoconf 23413 tools installed. 23414 23415Author: Dan Harkless <dan@harkless.org> 23416Date: Tue Jul 11 21:20:04 2000 +0000 23417 23418 Clarified post.man and send.man for those not completely up on SASL terminology. 23419 "SASL encryption layers are not supported for SMTP" means that encryption is 23420 supported for the authentication but not for the subsequent data stream. 23421 23422Author: Kimmo Suominen <kimmo@suominen.com> 23423Date: Sat Jul 8 05:36:58 2000 +0000 23424 23425 Note SASL commit. 23426 23427Author: Kimmo Suominen <kimmo@suominen.com> 23428Date: Fri Jul 7 03:48:02 2000 +0000 23429 23430 SASL support from Ken Hornstein <kenh@cmf.nrl.navy.mil>. 23431 23432Author: Ruud de Rooij <ruud@ruud.org> 23433Date: Mon Jun 12 18:07:34 2000 +0000 23434 23435 * Merged mts/sendmail functionality into mts/smtp; switching between 23436 smtp and sendmail delivery method is now controlled by mts.conf. 23437 * If tsort cannot deal with loops, in addition to defining tsort as 23438 cat, also define lorder as echo. 23439 * Removed uip/popi.c from list of sources. 23440 23441Author: Dan Harkless <dan@harkless.org> 23442Date: Fri Jun 9 02:45:17 2000 +0000 23443 23444 New dtimep.lex didn't parse day names properly. Fixed. Also clarified 23445 ambiguous comments preceding day_map[] array (from old dtimep.lex) that probably 23446 led to the erroneous cp++ being added. 23447 23448Author: Ruud de Rooij <ruud@ruud.org> 23449Date: Wed Jun 7 19:06:52 2000 +0000 23450 23451 * Added one more mkstemp invocation to uip/spost.c (which was in a 23452 #if 0 block). 23453 * Applied patch from Peter Maydell to clean up permissions handling 23454 and error handling in uip/inc.c. 23455 23456Author: Ruud de Rooij <ruud@ruud.org> 23457Date: Mon Jun 5 20:13:54 2000 +0000 23458 23459 Use cat instead of tsort if tsort cannot deal with loops in its 23460 input (which is the case for tsort from GNU textutils). 23461 23462Author: Ruud de Rooij <ruud@ruud.org> 23463Date: Mon Jun 5 19:20:38 2000 +0000 23464 23465 If liblockfile is present, and its dotlockfile program is setgid, 23466 inc does not need to be setgid. 23467 23468Author: Ruud de Rooij <ruud@ruud.org> 23469Date: Sun Jun 4 20:24:39 2000 +0000 23470 23471 * Added autoconf test for Miquel van Smoorenburg's liblockfile 23472 library, as found on Debian systems. 23473 * Added liblockfile support to sbr/lock_file.c. 23474 23475Author: Shantonu Sen <ssen@mit.edu> 23476Date: Thu Jun 1 06:57:57 2000 +0000 23477 23478 make clean now removes generated bin files. 23479 23480Author: Shantonu Sen <ssen@mit.edu> 23481Date: Wed May 31 07:22:43 2000 +0000 23482 23483 Made dtimep.lex more lex-friendly. 23484 23485Author: Shantonu Sen <ssen@mit.edu> 23486Date: Wed May 31 07:19:30 2000 +0000 23487 23488 Added back memory options for AIX to increase available memory. 23489 Took out %option noyywrap, which wasn't understood by AT&T lex, as 23490 well as the -i case-insensitivity flag. 23491 23492Author: Doug Morris <doug@mhost.com> 23493Date: Wed May 31 05:48:06 2000 +0000 23494 23495 added lint targets for Makefiles and a configure test to find whether lclint or lint is installed on the system. 23496 23497Author: Dan Harkless <dan@harkless.org> 23498Date: Wed May 31 02:27:40 2000 +0000 23499 23500 Applied Alec Wolman <wolman@cs.washington.edu>'s dropsbr.c patch: 23501 23502 In the map_write routine, a call is made to map_open and this call is supposed 23503 to set the "clear" variable to 0 or 1, depending on whether the map file is 23504 empty or not. In mh6.8.3, this worked because map_open would set "clear" by 23505 calling the mbx_Xopen routine. In nmh, the code for mbx_Xopen was merged into 23506 mbx_open, but the interface for mbx_open doesn't support the clear variable, 23507 so that functionality was lost. The map_open interface still contains "int 23508 *clear" in the prototype, but never sets it. 23509 23510 My patch eliminates "clear" from the map_open interface (I checked to make 23511 sure that map_write is the only client of map_open). Furthermore, my patch 23512 also sets the "clear" variable properly at the beginning of map_write by 23513 calling fstat(). This eliminates the bug in that the value of "clear" being 23514 used later in the routine was just stack garbage. 23515 23516 Having a bad value of clear causes this next bug to be triggered: The fp file 23517 pointer was being opened with fdopen, but in two of the three switch cases it 23518 wasn't being closed. In certain cases, this was causing packf to run out of 23519 file descriptors if you attempted to pack a large folder. 23520 23521Author: Dan Harkless <dan@harkless.org> 23522Date: Wed May 31 02:13:57 2000 +0000 23523 23524 A couple more tweaks to etc/Makefile.in: 23525 23526 Generated sendfiles script was not a dependency of the `all' target, and was 23527 incorrectly included in the distribution. 23528 23529Author: Dan Harkless <dan@harkless.org> 23530Date: Wed May 31 00:53:20 2000 +0000 23531 23532 INSTALL never documented the etc/*.old thing. Documented the new etc/*.prev 23533 thing (including a note to watch for diff output). 23534 23535Author: Dan Harkless <dan@harkless.org> 23536Date: Wed May 31 00:28:14 2000 +0000 23537 23538 Reworded my last entry a bit. 23539 23540Author: Dan Harkless <dan@harkless.org> 23541Date: Wed May 31 00:22:05 2000 +0000 23542 23543 etc/Makefile.in was incorrectly installing mts.conf.in and sendfiles.in -- 23544 fixed. Changed the suffix for the backed-up previous versions of the etc files 23545 from the ambiguous .old to .prev. Use diff and only keep the .prev file around 23546 if different. 23547 23548Author: Dan Harkless <dan@harkless.org> 23549Date: Tue May 30 22:52:43 2000 +0000 23550 23551 ChangeLog: I think we should use a uniform style in this file. Reformatted 23552 Ruud's recent entries. 23553 23554 configure: Weird. There's some timestamp screwup somewhere, perhaps in the way 23555 Makefile.in is written, that caused autoconf to get run after I did 23556 a `cvs update'. It regenerated configure, and apparently I'm using 23557 a different version of autoconf, with a different order of awk 23558 alternatives. 23559 23560Author: Shantonu Sen <ssen@mit.edu> 23561Date: Mon May 29 08:00:33 2000 +0000 23562 23563 Added entry for new lexing function and moving from zotnet/tws to sbr 23564 23565Author: Shantonu Sen <ssen@mit.edu> 23566Date: Mon May 29 07:48:14 2000 +0000 23567 23568 Updating root-level files so that zotnet/tws/Makefile is not generated. 23569 23570Author: Shantonu Sen <ssen@mit.edu> 23571Date: Mon May 29 07:44:51 2000 +0000 23572 23573 Synchronizing Makefiles that had gotten out of sync with directory 23574 contents. 23575 23576Author: Shantonu Sen <ssen@mit.edu> 23577Date: Mon May 29 07:43:29 2000 +0000 23578 23579 Updated sbr functions to include <h/tws.h> instead of <zotnet/tws/tws.h>. 23580 Also, update Makefile to include new functions dtime.c and dtimep.c 23581 23582Author: Shantonu Sen <ssen@mit.edu> 23583Date: Mon May 29 07:35:32 2000 +0000 23584 23585 Updating user programs to use <h/tws> instead of <zotnet/tws/tws.h> 23586 23587Author: Shantonu Sen <ssen@mit.edu> 23588Date: Mon May 29 07:29:08 2000 +0000 23589 23590 Moved date/time functions from zotnet/tws to sbr. More importantly, 23591 wrote a new lexing function dparsetime (dtimep.lex) which 23592 plays nicely with flex, needs no "sed hackery". It might work with 23593 lex, but I haven't tried. 23594 23595Author: Ruud de Rooij <ruud@ruud.org> 23596Date: Sun May 28 16:17:49 2000 +0000 23597 23598 * Added autoconf check for getutent(). 23599 * Changed uip/rcvtty.c and uip/slocal.c to use getutent() and 23600 friends. Since I can only check on Linux, please check if 23601 this works on other systems. 23602 23603Author: Ruud de Rooij <ruud@ruud.org> 23604Date: Sun May 28 16:15:58 2000 +0000 23605 23606 Added autoconf check for getutent(). 23607 23608Author: Ruud de Rooij <ruud@ruud.org> 23609Date: Sun May 28 14:42:01 2000 +0000 23610 23611 * Applied patch from Peter Maydell to uip/scansbr.c for more 23612 checks for write failures. 23613 * Unlink temporary file properly in uip/rcvtty.c. 23614 * Moved viamail from bindir to libdir. 23615 * Changed sendfiles into sendfiles.in, so that path to viamail 23616 is patched in. 23617 * Added gzip support to sendfiles. 23618 * Added References header to replcomps and replgroupcomps. 23619 23620Author: Ruud de Rooij <ruud@ruud.org> 23621Date: Sun May 28 12:45:53 2000 +0000 23622 23623 Fixed m_getfld bug which caused segmentation faults when 23624 incorporating messages which ended in multiple linefeeds crossing 23625 a buffer boundary. 23626 23627Author: Dan Harkless <dan@harkless.org> 23628Date: Fri May 26 20:35:30 2000 +0000 23629 23630 msh has been unable to show MIME messages ever since 1.0. Alec Wolman 23631 <wolman@cs.washington.edu> tracked down the problem to the -show flag being 23632 passed to mhshow. mhshow is equivalent to the old mhn -show, so we don't need 23633 the -show anymore. Removed it. 23634 23635Author: Shantonu Sen <ssen@mit.edu> 23636Date: Fri May 12 05:19:14 2000 +0000 23637 23638 Moved zotnet/mf to sbr. 23639 23640Author: Shantonu Sen <ssen@mit.edu> 23641Date: Fri May 12 04:16:46 2000 +0000 23642 23643 zotnet/bboards no longer built by default. 23644 23645Author: Shantonu Sen <ssen@mit.edu> 23646Date: Fri May 12 02:55:36 2000 +0000 23647 23648 zotnet/bboards is no longer built by default. 23649 23650Author: Shantonu Sen <ssen@mit.edu> 23651Date: Fri May 12 02:51:21 2000 +0000 23652 23653 Removed zotnet/bboards from default build. 23654 23655Author: Shantonu Sen <ssen@mit.edu> 23656Date: Thu May 11 02:55:11 2000 +0000 23657 23658 Change to MACHINES to include what platforms nmh *does* compile on. 23659 23660Author: Shantonu Sen <ssen@mit.edu> 23661Date: Thu May 11 02:53:07 2000 +0000 23662 23663 Added on whish platforms nmh is known to compile, as polled from 23664 recent mailings to nmh-workers. Please add liberally. 23665 23666Author: Shantonu Sen <ssen@mit.edu> 23667Date: Thu May 11 02:24:59 2000 +0000 23668 23669 Entered minor change to sbr/Makefile.in 23670 23671Author: Shantonu Sen <ssen@mit.edu> 23672Date: Thu May 11 02:21:34 2000 +0000 23673 23674 Removed explicit definition of both SRCS *and* OBJS, and made OBJS simple 23675 a pattern substitution of SRCS, with suffix .c -> .o 23676 23677Author: Shantonu Sen <ssen@mit.edu> 23678Date: Thu May 11 02:14:21 2000 +0000 23679 23680 Added my getpass() addition to ChangeLog (after the fact, but at least 23681 it's in now). 23682 23683Author: Dan Harkless <dan@harkless.org> 23684Date: Wed May 10 03:39:46 2000 +0000 23685 23686 Added mts.conf.5 page per Neil W Rickert <rickert+nmh@cs.niu.edu>'s report: 23687 23688 This happens on solaris: 23689 23690 % man mts.conf 23691 windex entry incorrect: mts.conf(5) not found. 23692 No manual entry for mts.conf. 23693 23694 It is fixed by 23695 23696 % echo ".so man5/mh-tailor.5" > mts.conf.5 23697 23698 done in the man5 directory. We need to add 'mts.conf.5' as a reference 23699 sourcing mh-tailor.5. 23700 23701Author: Dan Harkless <dan@harkless.org> 23702Date: Wed May 10 00:02:53 2000 +0000 23703 23704 Prepended "Portions of this code are" to the copyright message in ruserpass.c 23705 also. 23706 23707Author: Dan Harkless <dan@harkless.org> 23708Date: Tue May 9 21:44:15 2000 +0000 23709 23710 * Changed configure.in to use gcc -Wall even without --enable-debug, to prevent 23711 developers compiling optimized from introducing warnings, and to give 23712 end-users a warm, fuzzy feeling as they (hopefully) see no warnings come out 23713 (except perhaps on the lex output file) even with -Wall. 23714 23715 * Renamed getpass() to nmh_getpass() since the prototype for getpass() varies 23716 from OS to OS, and we want to _always_ use our version of the function. Fixed 23717 all the callers to use nmh_getpass() and added it to prototypes.h. 23718 Semi-arbitrarily upped MAX_PASSWORD_LEN from 128 to 256. buf was being 23719 calloc()'d and the memory leaked -- should have just been declared as static 23720 char array. Prepended "Portions of this code are" to the copyright message, 23721 as this version has been changed significantly from the BSD version. 23722 23723 * Added "nmh-local functions to use in preference to OS versions" section to 23724 README.developers (currently just says to use nmh_getpass() instead of system 23725 getpass()). 23726 23727Author: Dan Harkless <dan@harkless.org> 23728Date: Tue May 9 19:56:57 2000 +0000 23729 23730 Oops. Forgot to commit this when I made configure changes yesterday. 23731 23732Author: Dan Harkless <dan@harkless.org> 23733Date: Tue May 9 08:16:18 2000 +0000 23734 23735 Added steps to README.developers saying to change the version number to 23736 X.Y.Z+dev. Did a little rearranging and changed the FTP dir from /home/ftp to 23737 /var/ftp to reflect Doug's new machine. 23738 23739Author: Dan Harkless <dan@harkless.org> 23740Date: Tue May 9 07:55:58 2000 +0000 23741 23742 Got rid of four warnings in Shantonu's new getpass.c. Needed to #include 23743 <stdlib.h> for calloc(), <unistd.h> for ttyname(), and "h/mh.h" for adios(). 23744 Also changed ch from char to int to get rid of "comparison is always 1 due to 23745 limited range of data type" on EOF. 23746 23747Author: Dan Harkless <dan@harkless.org> 23748Date: Tue May 9 07:13:59 2000 +0000 23749 23750 Alphabetized Shantonu's $pop_kinds output on configure's "pop is enabled" line. 23751 If POP3 is the only kind of POP enabled, say so, rather than just saying "yes" 23752 (which is ambiguous). 23753 23754Author: Dan Harkless <dan@harkless.org> 23755Date: Tue May 9 06:53:21 2000 +0000 23756 23757 Shantonu updated the DIFFERENCES file to no longer say that APOP isn't 23758 supported, but in so doing, he removed the note that RPOP isn't supported. Put 23759 it back. 23760 23761Author: Dan Harkless <dan@harkless.org> 23762Date: Tue May 9 06:47:50 2000 +0000 23763 23764 * I had alphabetized the --configure options in the --help output 23765 awhile back, but Shantonu added --enable-apop just under --enable-pop. Put it 23766 in alphabetical order and clarified what --enable-apop does vs. --enable-pop and 23767 --with-krb4. Also changed --with-mts help line from "mail transport agent" to 23768 "mail transport agent/service" so the 's' in "mts" doesn't seem to come out of 23769 nowhere. 23770 23771 * Added two steps to "releasing nmh" in README.developers. After 23772 making the tarball, it's a good idea to diff the tree vs. the CVS tree to make 23773 sure no files got left out, and then to chown the files so that they're owned by 23774 root, preventing a Trojaning attack by a malicious remote user with a UID 23775 matching yours. 23776 23777Author: Shantonu Sen <ssen@mit.edu> 23778Date: Tue May 9 06:27:38 2000 +0000 23779 23780 Updated POP capability to include APOP. 23781 23782Author: Shantonu Sen <ssen@mit.edu> 23783Date: Tue May 9 06:16:52 2000 +0000 23784 23785 Removed unnecessary comments, such as "*This warning no longer applies*" 23786 23787Author: Shantonu Sen <ssen@mit.edu> 23788Date: Tue May 9 06:09:05 2000 +0000 23789 23790 Fix some compile-time warnings. 23791 23792Author: Dan Harkless <dan@harkless.org> 23793Date: Tue May 9 04:52:55 2000 +0000 23794 23795 Doug informed me that the way I had restored the "lost" version histories was 23796 wrong, because `cvs checkout's of old versions of nmh wouldn't work properly. 23797 It occurs to me that this could be fixed by simply deleting those tags in the 23798 new-location *,v files, but oh well. I'm putting everything back to the way 23799 Doug originally had it. To get the old version history for a file that used to 23800 be in the top directory, you'll need to "blindly" do a `cvs log' there (even 23801 though you won't have a local copy of the file in that directory). `cvs diff' 23802 will no longer be able to diff pre-move versions vs. post-move versions -- 23803 you'll have to do a lot of manual gyrations with `cvs checkout' and then use 23804 `diff'. 23805 23806Author: Dan Harkless <dan@harkless.org> 23807Date: Tue May 9 04:08:55 2000 +0000 23808 23809 Okay, now that the old revisions have been recreated, deleting the file. The 23810 new version is in the 'docs' subdirectory. 23811 23812Author: Dan Harkless <dan@harkless.org> 23813Date: Tue May 9 04:07:15 2000 +0000 23814 23815 This is the nmh-1.0.4 version from 2000-03-15 (I see that I was the one that 23816 originally made this change). 23817 23818Author: Dan Harkless <dan@harkless.org> 23819Date: Tue May 9 04:05:46 2000 +0000 23820 23821 This is the nmh-1.0.3 version from 2000-01-18 (1.0.2 had no changes). 23822 23823Author: Dan Harkless <dan@harkless.org> 23824Date: Tue May 9 04:03:55 2000 +0000 23825 23826 This is the nmh-1.0.1 version from 1999-05-17. 23827 23828Author: Dan Harkless <dan@harkless.org> 23829Date: Tue May 9 03:58:04 2000 +0000 23830 23831 For reasons explained better elsewhere (e.g. Attic/README.developers), the 23832 version history for this file got lost. Recreating it. This version is from 23833 1998-05-08 -- it's the original nmh-1.0 version. 23834 23835Author: Dan Harkless <dan@harkless.org> 23836Date: Tue May 9 03:29:37 2000 +0000 23837 23838 After nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'. 23839 23840Author: Dan Harkless <dan@harkless.org> 23841Date: Tue May 9 03:27:53 2000 +0000 23842 23843 Okay. Removing it now. New location is in 'docs' subdirectory. 23844 23845Author: Dan Harkless <dan@harkless.org> 23846Date: Tue May 9 03:25:24 2000 +0000 23847 23848 In the hullaballoo with moving stuff back and forth out of the docs/ directory, 23849 and trying to figure out the right way to preserve the old version history, this 23850 file's version history prior to the first move into docs/ got wiped. I 23851 introduced this file into the project after 1.0.3 was released, and was the only 23852 one to modify it until after the 1.0.4 release. The post-1.0.4 changes have 23853 survived in docs/README.developers, so I just need to check in the 1.0.4 version 23854 and tag it as such, then remove it again, to make a `cvs checkout' of nmh 1.0.4 23855 work again. 23856 23857Author: Dan Harkless <dan@harkless.org> 23858Date: Tue May 9 03:18:50 2000 +0000 23859 23860 Man, I'm a retard. Lemme try that again: 23861 23862 Just a silly note 'cause I'm vain -- below where it currently says: 23863 23864 Someone ("ssen" -- looks like Doug forgot to update a chroot() passwd file 23865 23866 It originally said " u i d 6 0 0 0 4 " (or a different number), but minus the 23867 spaces. I guess after Doug added ssen into the chroot() passwd, he did a 23868 search-and-replace for the UID, which changed my comment as well, making it look 23869 like I had no way of determining who ssen was, which is silly. ;^> 23870 23871Author: Dan Harkless <dan@harkless.org> 23872Date: Tue May 9 03:12:59 2000 +0000 23873 23874 Just a silly note 'cause I'm vain -- 23875 23876Author: Dan Harkless <dan@harkless.org> 23877Date: Tue May 9 02:43:54 2000 +0000 23878 23879 After nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'. 23880 23881Author: Dan Harkless <dan@harkless.org> 23882Date: Tue May 9 02:36:42 2000 +0000 23883 23884 After nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'. 23885 23886Author: Shantonu Sen <ssen@mit.edu> 23887Date: Sun May 7 06:59:15 2000 +0000 23888 23889 Updated pop instructions and indicated use of standard "./configure" 23890 instead of "sh configure" 23891 23892Author: Shantonu Sen <ssen@mit.edu> 23893Date: Sun May 7 06:16:43 2000 +0000 23894 23895 An nmh-specific getpass, to remove dependency on system 23896 getpass()es, which may or may not do what we want (including 23897 flushing input streams, and taking input from stdin in the 23898 absence of a controlling tty). 23899 23900Author: Shantonu Sen <ssen@mit.edu> 23901Date: Sun May 7 06:14:31 2000 +0000 23902 23903 Added getpass to SRCS and OBJS. 23904 23905Author: Dan Harkless <dan@harkless.org> 23906Date: Sat May 6 15:53:40 2000 +0000 23907 23908 Removed "installing nmh" section. Moved its note about the DIFFERENCES file up 23909 next to the other MH discussion. Changed out-of-date "README" title (should 23910 have been "README.history") to "README.about -- about nmh". After committing, 23911 I'll rename the file to README.about inside the CVSROOT. 23912 23913Author: Dan Harkless <dan@harkless.org> 23914Date: Sat May 6 15:29:19 2000 +0000 23915 23916 Restored lost version histories for those moved files by doing a manual `mv' in 23917 the CVSROOT on mhost. CVS badly needs a `cvs mv' command so that you can move 23918 files (without having physical access to the CVSROOT) without losing versioning. 23919 Put MACHINES back at the top level as it needs to be read before building. 23920 Fixed DIST variable in {.,docs}/Makefile.in to reflect that and to add missing 23921 entry for "INSTALL" file. 23922 23923Author: Dan Harkless <dan@harkless.org> 23924Date: Sat May 6 15:05:02 2000 +0000 23925 23926 Fixed DIST targets to reflect that INSTALL and MACHINES are back at the top 23927 level. 23928 23929Author: Dan Harkless <dan@harkless.org> 23930Date: Sat May 6 14:54:25 2000 +0000 23931 23932 Files that must be read before building nmh should not go in the docs 23933 directory. Moved this file back to the top level (and made a couple of 23934 stylistic and grammar tweaks while I was at it). 23935 23936Author: Dan Harkless <dan@harkless.org> 23937Date: Sat May 6 14:19:23 2000 +0000 23938 23939 Deleting the versions Doug moved in with `cvs add', erasing the version history, 23940 in preparation for moving the original versions in the cvsroot. 23941 23942Author: Doug Morris <doug@mhost.com> 23943Date: Sat May 6 11:34:02 2000 +0000 23944 23945 reorganized documentation to make it bit neater again 23946 23947Author: uid1005 <uid1005> 23948Date: Fri Apr 21 17:36:37 2000 +0000 23949 23950 Corrected status printout when kpop is enabled 23951 23952Author: Dan Harkless <dan@harkless.org> 23953Date: Tue Apr 18 00:17:50 2000 +0000 23954 23955 One final tweak to the configure --help output for --enable-masquerade. 23956 23957Author: Shantonu Sen <ssen@mit.edu> 23958Date: Mon Apr 17 22:49:39 2000 +0000 23959 23960 APOP supprt: Added info to ChangLog. 23961 23962Author: Dan Harkless <dan@harkless.org> 23963Date: Mon Apr 17 22:09:00 2000 +0000 23964 23965 The syntax I gave in the --help output for --enable-masquerade incorrectly 23966 implied that the earlier options were prerequisites for the later options 23967 (pointed out by Scott Blachowicz). No compact, non-confusing way to specify the 23968 real syntax that I can see, so I'll just remove the []s and leave the explaining 23969 about it being okay to specify a subset to the INSTALL file. 23970 23971 Also added a TODO item to put in proper parsing of the masquerade: line and/or 23972 --enable-masquerade so if you misspell an option you find out about it, rather 23973 than just having it silently fail (this weakness was currently only documented 23974 in comments in the mts.conf-handling code). 23975 23976Author: Dan Harkless <dan@harkless.org> 23977Date: Mon Apr 17 22:04:33 2000 +0000 23978 23979 Someone (unfortunately original version history has been lost so I don't know 23980 who) changed "danh" to "your-id". That makes my introductory comment "we'll use 23981 version 1.0.4 and my mhost.com account, danh, as examples here" make no sense, 23982 though. 23983 23984 If danh is going to be "parameterized", then 1.0.4 should be too. Doesn't make 23985 sense to parameterize one of the changing items and not the other one. If it's 23986 going to be done, danh should be changed to YOUR-ID or something and 1.0.4 (and 23987 1_0_4) should be changed to X.Y.Z (and X_Y_Z). I just thought it'd be clearer 23988 to use real values and disclaim that fact up front. Anyhow, putting danh back 23989 until such time as someone wants to parameterize both items (and change the 23990 introductory text appropriately). 23991 23992Author: Dan Harkless <dan@harkless.org> 23993Date: Mon Apr 17 21:25:23 2000 +0000 23994 23995 I had left out aclocal.m4 on the "use this order" line as I didn't think it'd 23996 ever need to be changed. Someone ("ssen" -- looks like Doug forgot to update 23997 a chroot() passwd file again) added it, but in a separate sentence. That 23998 doesn't really make sense -- added it to the main sentence. 23999 24000 Also changed my note that none of the mailing lists require you to be subscribed 24001 to post -- not true. As I originally thought, the exmh ones do require that -- 24002 the bounce messages were just slow in coming. 24003 24004Author: Dan Harkless <dan@harkless.org> 24005Date: Mon Apr 17 19:02:11 2000 +0000 24006 24007 Undeleted all the stuff Doug deleted at the top level for now. I think it's bad 24008 to lose the CVS revision history, and I don't agree that all of these files 24009 should go in the docs/ directory. Unfortunately Doug made modifications to FAQ 24010 and README.developers after moving them, and I didn't want to lose his changes, 24011 so I just mv'd the ones in the new directory to the top level. This lost the 24012 old version history for those two files -- I know there wasn't much to lose for 24013 README.developers (I originated the file and was the only one to make 24014 modifications to it until Doug's recent change), but I have no idea what 24015 information was lost in the FAQ's version history. The right thing to do on 24016 those two files probably would have been to re-make Doug's changes in the 24017 undeleted old versions and credit them to him in the CVS log. 24018 24019Author: Dan Harkless <dan@harkless.org> 24020Date: Mon Apr 17 18:48:03 2000 +0000 24021 24022 Put a note saying that the paths this file refers to (stuff in docs/) are 24023 currently wrong. 24024 24025Author: Dan Harkless <dan@harkless.org> 24026Date: Mon Apr 17 18:36:59 2000 +0000 24027 24028 Undeleting everything at the top level for now. Doug's comment: 24029 24030 Sat Apr 15 10:33:00 2000 Doug Morris <doug@mhost.com> 24031 24032 * moved the documentation into a "docs" subdirectory. The 24033 top-level directory was becoming messy. I also created another 24034 file MAILING-LISTS describing the various nmh lists and the 24035 archival system, and updated the FAQ to refer to it. I also 24036 created a new README in the top level that is basically a list 24037 of pointers to the various documentation. The old README I've 24038 moved to docs/README.history, since that seemed like the right 24039 thing to call it. 24040 24041 will be lost, but he can put back a modified version when we agree on what 24042 should really go in docs/. 24043 24044Author: Dan Harkless <dan@harkless.org> 24045Date: Mon Apr 17 18:34:40 2000 +0000 24046 24047 Undeleting everything at the top level for now. 24048 24049Author: Dan Harkless <dan@harkless.org> 24050Date: Mon Apr 17 16:56:57 2000 +0000 24051 24052 Added note that user questions are acceptable on nmh-workers. 24053 24054Author: Shantonu Sen <ssen@mit.edu> 24055Date: Mon Apr 17 05:29:49 2000 +0000 24056 24057 Added that you should check in aclocal.m4 after acconfig.h, if you change it. 24058 24059Author: Shantonu Sen <ssen@mit.edu> 24060Date: Mon Apr 17 05:25:18 2000 +0000 24061 24062 APOP support: Making the apop option appear after pop in ./configure --help 24063 and committing in the right order to avoid unnecessary autoconfing. 24064 24065Author: Shantonu Sen <ssen@mit.edu> 24066Date: Mon Apr 17 05:12:14 2000 +0000 24067 24068 Don't try to figure out ruserpass - just use version from sbr/ 24069 24070Author: Shantonu Sen <ssen@mit.edu> 24071Date: Mon Apr 17 05:09:46 2000 +0000 24072 24073 APOP support: Use the ruserpass function in this directory for 24074 all password prompts, instead of using system functions. 24075 24076Author: Shantonu Sen <ssen@mit.edu> 24077Date: Mon Apr 17 05:08:32 2000 +0000 24078 24079 APOP support: If APOP is enabled, build it into inc and msgchk 24080 using $(APOPLIB). 24081 24082Author: Shantonu Sen <ssen@mit.edu> 24083Date: Mon Apr 17 05:07:03 2000 +0000 24084 24085 APOP support: Making APOP a ./configure option with --enable-apop, 24086 and giving more information about the types of POP support 24087 in the configuration summary. 24088 24089Author: Shantonu Sen <ssen@mit.edu> 24090Date: Mon Apr 17 05:04:05 2000 +0000 24091 24092 Adding APOP #defines 24093 24094Author: Shantonu Sen <ssen@mit.edu> 24095Date: Sun Apr 16 13:28:12 2000 +0000 24096 24097 Changed some string terminations from NULL to \0. 24098 24099Author: Doug Morris <doug@mhost.com> 24100Date: Sat Apr 15 04:28:27 2000 +0000 24101 24102 Moved most of the documentation into a new "docs" subdirectory. Added a MAILING-LISTS file talking about the lists and archives, and updated the FAQ to refer to it. 24103 24104Author: Dan Harkless <dan@harkless.org> 24105Date: Sat Apr 15 02:00:43 2000 +0000 24106 24107 Added a "releasing nmh" section to README.developers, while the process was 24108 fresh in my mind. 24109 24110Author: Dan Harkless <dan@harkless.org> 24111Date: Fri Apr 14 21:38:37 2000 +0000 24112 24113 Okay, got that tag stuff straightened out. Now upping the version to 1.0.4+dev. 24114 24115Author: Dan Harkless <dan@harkless.org> 24116Date: Fri Apr 14 21:26:56 2000 +0000 24117 24118 Oops. Had a duplicate entry. 24119 24120Author: Dan Harkless <dan@harkless.org> 24121Date: Fri Apr 14 21:05:34 2000 +0000 24122 24123 Oops. Didn't do a `cvs rtag` before changing the version to 1.0.4+dev. Putting 24124 it back. 24125 24126Author: Dan Harkless <dan@harkless.org> 24127Date: Fri Apr 14 20:47:32 2000 +0000 24128 24129 Upped the version number to 1.0.4+dev. 24130 24131Author: Dan Harkless <dan@harkless.org> 24132Date: Fri Apr 14 20:40:31 2000 +0000 24133 24134 * Added new files README.developers, ChangeLog_MH-3_to_MH-6.6, and 24135 ChangeLog_MH-6.7.0_to_MH-6.8.4.html to DIST target in Makefile.in. 24136 24137 * Released nmh-1.0.4. 24138 24139Author: Dan Harkless <dan@harkless.org> 24140Date: Wed Apr 12 00:54:54 2000 +0000 24141 24142 Just reworded the bit about '%s' being safe not to quote (it's only safe not to 24143 quote on the -charset- line). 24144 24145Author: Dan Harkless <dan@harkless.org> 24146Date: Wed Apr 12 00:25:23 2000 +0000 24147 24148 Applied Brian Campbell <bacam@tardis.ed.ac.uk>'s mhn.defaults.sh patch: 24149 24150 It appears that there shouldn't be quotes around the %s in the iso-8859-1 24151 charset entry; xterm passes the remaining arguments to the program, quoting 24152 them means that xterm thinks they're part of the program's name. 24153 24154 %s doesn't come from MIME headers, so not quoting it is safe. 24155 24156Author: Doug Morris <doug@mhost.com> 24157Date: Sun Apr 9 07:04:24 2000 +0000 24158 24159 bug fix - prevents core-dumping on scan -format '1' 24160 24161Author: Dan Harkless <dan@harkless.org> 24162Date: Fri Apr 7 00:42:55 2000 +0000 24163 24164 Richard Coleman threw out a lot of old MH-specific files in nmh. Much of the 24165 stuff, indeed, is not worth saving, but there are nuggets that are very 24166 worthwhile, and should probably be added back in. Most important, IMHO, are the 24167 MH change logs, as they can help answer questions like "Why is this code like 24168 this?" or "How long has this been broken?" or "What was this ever used for?" 24169 24170 I've added a new file to the nmh tree called ChangeLog_MH-3_to_MH-6.6. It's 24171 cobbled together from the mh-6.8.4/papers/mh*/MHCHANGES files. I've re-ordered 24172 the entries to go from newest at the top to oldest at the bottom to match the 24173 ChangeLog convention. Unfortunately there are no change logs for versions of MH 24174 prior to 3 in the MH tar files available at <ftp://ftp.ics.uci.edu/pub/mh>. 24175 Also, it appears to me that there are MH-6.6 changes that aren't documented in 24176 the logs. 24177 24178 I've also added ChangeLog_MH-6.7.0_to_MH-6.8.4.html. This is based on 24179 mh-6.8.4/papers/changes/mh-changes.ms. The nroff format and its "catman"-type 24180 output are a pain to deal with, but I was loath to throw away the formatting, so 24181 I converted the file to HTML. The only actual markup in the body are the "<B>" 24182 and "<U>" tags, and "<" and ">" instead of '<' and '>', so it's quite 24183 doable to view the file in plain ASCII mode as well. Note that some of the 24184 changes this file documents as having been made in MH-6.8.4 may not be present 24185 in nmh -- Richard started with 6.8.3 and later put in certain 6.8.4 stuff. 24186 24187Author: Dan Harkless <dan@harkless.org> 24188Date: Thu Apr 6 19:56:35 2000 +0000 24189 24190 Whoah, this should have been changed a long time ago. For one thing, Richard 24191 forgot to update the copyright date when he made modifications in 1999, but more 24192 significantly, this COPYRIGHT notice hasn't been changed since Richard ceded 24193 control of nmh development and it became an open-source project. 24194 24195 Changed the COPYRIGHT notice to a BSD License, with a couple of minor wording 24196 tweaks. Copyright is assigned to "the authors of nmh", which is anyone who 24197 writes code, whether they have CVS accounts or not. 24198 24199Author: Dan Harkless <dan@harkless.org> 24200Date: Thu Apr 6 00:22:06 2000 +0000 24201 24202 * Add some way to configure whether you prefer to see text/plain or text/html 24203 parts of multipart/alternative messages. 24204 24205Author: Dan Harkless <dan@harkless.org> 24206Date: Thu Apr 6 00:11:50 2000 +0000 24207 24208 Applied Eric Schnoebelen <eric@cirr.com>'s mhshowsbr.c patch fixing apparent 24209 bugs in Dan Winship's new security quoting code: 24210 24211 Since upgrading, I've been getting the following errors while attempting to 24212 process some MIME messages: 24213 24214 (1) Syntax error: Unterminated quoted string 24215 exit 2 24216 24217 and: 24218 24219 (2) line 1/10 (END)Segmentation fault (core dumped) 24220 24221 (2) appears to be due to the testing of an unset pointer in 24222 mhshowsbr.c:show_multi_aux(). (1) appears to be caused by mis-quoting a 24223 filename being handed to the shell in mhshowsbr.c:show_content_aux(). 24224 24225 Resolving the pointer reference issue in mhshowsbr.c:show_multi_aux() turned 24226 up a similar mis-quoting problem in the routine. 24227 24228Author: Dan Harkless <dan@harkless.org> 24229Date: Fri Mar 31 04:25:26 2000 +0000 24230 24231 Terran Melconian pointed out that my theory as to why -help was printed as 24232 "-(help)" in the -help output was probably not the most likely scenario. Added 24233 his. ;^> 24234 24235Author: Doug Morris <doug@mhost.com> 24236Date: Tue Mar 28 14:42:36 2000 +0000 24237 24238 added Todd Miller's packf patch 24239 24240Author: Dan Harkless <dan@harkless.org> 24241Date: Fri Mar 17 20:19:43 2000 +0000 24242 24243 When I applied Wesley Craig's original KPOP patch, I made a change directly to 24244 config.h.in. That's a no-no since that file is automatically generated. Now 24245 that I've applied Wesley's second patch that makes things work as I had 24246 originally documented, I'm re-making the change here, but this time by properly 24247 modifying acconfig.h and then generating config.h.in from that. 24248 24249Author: Dan Harkless <dan@harkless.org> 24250Date: Fri Mar 17 20:11:03 2000 +0000 24251 24252 wesley.craig@umich.edu did not document his previous KPOP patch, so I did so, 24253 and asked him to check what I wrote. Unfortunately he didn't notice my 24254 misunderstanding of his patch. I wrote that if you #define POPSERVICE "kpop", 24255 inc and msgchk will use KPOP exclusively, but if you leave it as "pop3", you can 24256 use Wesley's new -kpop switch on a given invocation. Instead, however, -kpop 24257 turned out to be necessary on every invocation, and a KPOP user complained. 24258 Applied Wesley's new patch, which makes things work like I thought his original 24259 patch did. After that, did one more clarifying pass to the documentation in 24260 inc.man and msgchk.man. 24261 24262Author: Dan Harkless <dan@harkless.org> 24263Date: Thu Mar 16 02:40:42 2000 +0000 24264 24265 Added a new README.developers file. From the file: 24266 24267 This file is intended to provide a few tips for anyone doing development on 24268 nmh. Developers who learn things "the hard way" about the nmh codebase (as 24269 opposed to local info best encoded in a comment) are encouraged to share 24270 their wisdom here. 24271 24272 Currently the topics are "autoconf files" and "directory structure". 24273 24274Author: Dan Harkless <dan@harkless.org> 24275Date: Wed Mar 15 23:37:30 2000 +0000 24276 24277 When I added my --enable-masquerade option, you'll note that I didn't make it 24278 --enable-nmh-masquerade. I find the --enable-nmh-* options too wordy and I'm 24279 not sure why Richard went that route. I've renamed them to just --enable-*, but 24280 the old versions will still work as well (they just aren't advertised). 24281 24282 Added a line to the "nmh configuration" output saying whether POP is enabled. 24283 24284Author: Dan Harkless <dan@harkless.org> 24285Date: Wed Mar 15 22:25:16 2000 +0000 24286 24287 When I fixed the long-standing makedir() bugs in January, I had the code call 24288 strtoul(..., 0), which I believed to be safe as all modes specified as ASCII 24289 constants in the nmh code started with a leading zero (signifying octal), which 24290 I did as it would work if internal constants were ever changed to hex. 24291 Unfortunately I was unaware of the "Folder-Protect:" .mh_profile entry, which 24292 mh-profile.man documents as an octal-only constant, with no leading zero 24293 required. I've changed the strtoul() call to an atooi() call and removed the 24294 misleading leading zeroes on the ASCII octal constants in the code and man 24295 pages. Also changed the "Folder-Protect:" example in the man page to something 24296 more interesting than a duplication of the default. 24297 24298Author: Dan Harkless <dan@harkless.org> 24299Date: Tue Mar 14 21:21:28 2000 +0000 24300 24301 Added: 24302 I put Simon's patch under the control of a new #define called 24303 FIX_NON_Y2K_COMPLIANT_MUA_DATES. There's some commentary in 24304 acconfig.h about when you might not want to #define it. 24305 24306Author: Dan Harkless <dan@harkless.org> 24307Date: Tue Mar 14 21:15:55 2000 +0000 24308 24309 Added missing dependency in zotnet/tws/Makefile.in for dtimep.c: dtimep.c-lexed. 24310 24311Author: Dan Harkless <dan@harkless.org> 24312Date: Tue Mar 14 21:07:56 2000 +0000 24313 24314 Created new dtimep.c-lexed with Simon's change using dtimep.lex lexed on 24315 Solaris 2.6. 24316 24317 Removed my comment about strdup(). The Solaris 2.6 failure was due to 24318 failing to do a make distclean after configuring for Ultrix 4.2A. I'll 24319 leave the change, though, since it's still a good one (just not worth 24320 reporting in the ChangeLog). 24321 24322Author: Dan Harkless <dan@harkless.org> 24323Date: Tue Mar 14 20:50:19 2000 +0000 24324 24325 Changed strdup() in strdup.c to take a _const_ char*. Don't know why this 24326 didn't hit anyone before, but I wasn't able to compile on Solaris 2.6 without 24327 doing this, due to a "previous declaration" error. 24328 24329Author: Dan Harkless <dan@harkless.org> 24330Date: Tue Mar 14 20:40:47 2000 +0000 24331 24332 Applied Simon Burge <simonb@thistledown.com.au>'s dtimep.lex patch: 24333 24334 It seems that some MUA's didn't handle y2k very well - ELM seems to be one of 24335 them, and Ultrix's DXmail (based on MH!). I've got a few emails this month 24336 that look like: 24337 24338 575 Jan 00 Xxxxxx Xxxx 3603 ... 24339 and 24340 22+ Jan 00 Xxx Xxxxx 1771 ... 24341 24342 The first has "15 Jan 100" as the date and the second has "19 Jan 00" as the 24343 date. The following works around this so that scan, show, sortm, etc work ok. 24344 24345 Added scan.MMDDYY and scan.YYYYMMDD format files. 24346 24347Author: Dan Harkless <dan@harkless.org> 24348Date: Tue Mar 14 09:20:27 2000 +0000 24349 24350 * Applied, after some finessing, 24351 Simon Burge <simonb@thistledown.com.au>'s --with-smtpservers patch: 24352 24353 Here's a patch that allows you to add 24354 24355 --with-smtpservers=<some.host.name> 24356 24357 to the ./configure command line to set the "servers: " line in etc/mts.conf. 24358 Around here, we use "mailhost" so that all machines in the current domain 24359 just talk to a central machine and nothing else runs an MTA. Now, I can use 24360 24361 --with-smtpservers=mailhost 24362 24363 instead of having to remember to fix this by hand (and often forgetting to 24364 do so!). 24365 24366 * Inspired by Simon's patch, added an --enable-masquerade option 24367 to configure. It will set the "masquerade:" line of mts.conf. You may specify 24368 a subset of the three types of masquerading, like 24369 --enable-masquerade="draft_from mmailid", or leave off explicit arguments to 24370 enable all three types. 24371 24372 * Alphabetized the --enable and --with options in configure.in and INSTALL and 24373 added documentation of the two new options to the latter. 24374 24375 * Added new dependency for mts.conf: Makefile. If this isn't 24376 done, then when you reconfigure nmh with new values for --enable-masquerade or 24377 --with-smtpservers, you'll fail to get an updated copy of mts.conf. 24378 24379Author: Dan Harkless <dan@harkless.org> 24380Date: Tue Mar 14 05:24:57 2000 +0000 24381 24382 Applied Simon Burge <simonb@thistledown.com.au>'s dtime.c patch: 24383 24384 There's a wrap-around problem that affects the implementation of Zeller's 24385 congruence in dtime.c. This causes the day-of-week calculations to fail for 24386 dates after Feb 29, 2000 (probably up until some year far in the future). 24387 24388Author: Dan Harkless <dan@harkless.org> 24389Date: Tue Mar 14 05:05:49 2000 +0000 24390 24391 Modified username_extension masquerading to only use the extended address on 24392 generated [Resent-]From: lines and SMTP envelope From:. With Neil's original 24393 implementation, nmh's global idea of the username was changed, which would 24394 result in inc lying and saying you had no new mail because it was looking for a 24395 mailbox called, for instance, "dan-nmh" (where username was "dan" and 24396 $USERNAME_EXTENSION was "-nmh"). 24397 24398 While in there (adrsprintf()), added checking of snprintf()'s return code and 24399 added calls to adios() when things are not kosher. Also simplfied the really 24400 confusing REALLYDUMB #ifdef'ing, which didn't even jibe with the comment 24401 explaining REALLYDUMB in acconfig.h. Now adrsprintf() will always return just 24402 the username, even if an explicit domain is passed in (which currently doesn't 24403 happen anywhere in nmh). 24404 24405Author: Dan Harkless <dan@harkless.org> 24406Date: Tue Mar 14 02:39:13 2000 +0000 24407 24408 Just removed the odd space between the "!" and the "/bin/sh". I believe some 24409 OSes might choke on that, and certainly no OS requires it. 24410 24411Author: Dan Harkless <dan@harkless.org> 24412Date: Tue Mar 14 02:29:26 2000 +0000 24413 24414 Applied Sullivan N. Beck <sbeck@cise.ufl.edu>'s mhshow-suffix patch: 24415 24416 With the patch below, you can add lines like: 24417 24418 mhshow-suffix-application/msword: .doc 24419 mhshow-suffix-application/PostScript: .ps 24420 24421 to the mhn.defaults file to append the given suffix to a scratch file. This 24422 allows applications which require a certain suffix to run properly. 24423 24424 Removed -force_html from lynx entry in mhn.defaults.sh (I believe older versions 24425 of lynx lack that option) and added "mhshow-suffix-text/html: .html". 24426 24427Author: Dan Harkless <dan@harkless.org> 24428Date: Mon Mar 6 20:19:04 2000 +0000 24429 24430 Applied Neil W Rickert <rickert+nmh@cs.niu.edu>'s msh.c patch: 24431 24432 I finally tracked down the problem in msh that was causing errors 24433 whenever I tried to examine a 'mmdf' style mailbox. 24434 24435 It turns out that not enough memory was being allocated with 24436 calloc(), causing memory pointers to be overwritten and corrupted. 24437 24438Author: Dan Harkless <dan@harkless.org> 24439Date: Sat Mar 4 00:02:46 2000 +0000 24440 24441 Changed the new "plussed_user" option to mts.conf's "masquerade:" to 24442 "username_extension" after getting feedback from qmail users, who use '-' as a 24443 separator rather than '+'. Removed checking of $USERPLUS variable. Now check 24444 $USERNAME_EXTENSION, which needs to include the appropriate separator for your 24445 MTA ('-', '+', or whatever) as its first character. 24446 24447Author: Dan Harkless <dan@harkless.org> 24448Date: Fri Mar 3 07:30:31 2000 +0000 24449 24450 Oops. I was using an older email address for Neil -- now he uses the $USERPLUS 24451 feature that I'm crediting him for. ;^> 24452 24453Author: Dan Harkless <dan@harkless.org> 24454Date: Fri Mar 3 07:24:41 2000 +0000 24455 24456 Added a new "boolean" type to mh.h and TRUE and FALSE constants. 24457 24458 Added a note to DIFFERENCES stating that it's out-of-date (Richard was the last 24459 one to update it) and that we should consider only documenting incompatibilities 24460 with MH there. 24461 24462 Implemented (and documented) a third kind of username masquerading: "plussed 24463 user" masquerading. This one was suggested by Neil Rickert 24464 <rickert@cs.niu.edu>. It's based on sendmail's "plussed user" feature, where 24465 mail sent to <user>+<string> will be delivered to <user>. When it's enabled, 24466 it's controlled by the $USERPLUS environment variable. How is it enabled? 24467 Well, that leads me to: 24468 24469 Renamed the "mmailid:" setting in mts.conf to "masquerade:", and changed it so 24470 that rather than being a boolean, it can be set to any combination of the three 24471 values "draft_from", "mmailid", and "plussed_user". Thus it is now possible to 24472 enable the three types of masquerading individually. 24473 24474 Fixed a bug with "mmailid" masquerading (dating back to MH?) where if it was 24475 turned on, ','s would no longer be considered GECOS field delimiters. 24476 24477Author: Dan Harkless <dan@harkless.org> 24478Date: Thu Mar 2 08:20:00 2000 +0000 24479 24480 Oops. You can't just change comments in configure.in, or configure won't be 24481 modified (it doesn't contain the comments) and you won't be able to commit it, 24482 and then the timestamps'll be messed up for everyone and unnecessary autoconf 24483 calls will occur. Added some unnecessary (but frequently used in the file) 24484 trailing 'dnl's on some AC_SUBST()s. 24485 24486Author: Dan Harkless <dan@harkless.org> 24487Date: Thu Mar 2 07:56:00 2000 +0000 24488 24489 Oops. My last group commit comment failed to mention what I was doing in this 24490 file. I was adding: 24491 24492 * Change all man pages to group all the commandline options together in one 24493 section with each as a separate mini-heading. Having to dig through prose to 24494 find what a particular option does is a pain in the nads. 24495 24496 This time, moved it out of the [POSSIBILITIES] section and put it in the [TODO] 24497 section, as I feel it's very important (and wouldn't be that difficult to do -- 24498 somewhat time-consuming, yes, but not difficult). 24499 24500Author: Dan Harkless <dan@harkless.org> 24501Date: Thu Mar 2 07:52:47 2000 +0000 24502 24503 Changed the GECOS-field '&' translation behavior to be controlled by the BSD42 24504 #define rather than GCOS_HACK, since it's apparently always appropriate on OSes 24505 where BSD42 is #defined, and never appropriate on any other OSes. Thanks to 24506 Kimmo Suominen for responding to my "What is this code here for?" comment in 24507 mts.c and explaining the feature. 24508 24509 Also added ULTRIX 4.2A to the list of OSes that have an initgroups() function 24510 but no prototype in the system headers. 24511 24512Author: Dan Harkless <dan@harkless.org> 24513Date: Tue Feb 29 06:17:58 2000 +0000 24514 24515 Made a goofy change so that I could produce a new configure because when I 24516 checked in the last version I did it with "cvs commit ... configure configure.in 24517 ..." and that apparently gives configure.in a newer timestamp than configure, 24518 which results in spurious autoconf runs when people download the source. We 24519 need to write a little note to developers somewhere saying what in order you 24520 need to check in those autoconf files and how long you need to wait in between 24521 each one and such... 24522 24523Author: Dan Harkless <dan@harkless.org> 24524Date: Tue Feb 29 05:59:16 2000 +0000 24525 24526 Changed "echo > stamp-h.in" in Makefile.in to "date > stamp-h.in" so that 24527 stamp-h.in will be different each time configure.in and related files are 24528 changed, making it easier to check it in (which is necessary to prevent 24529 unnecessary autoconf calls). 24530 24531 My declaration of initgroups() in slocal.c to eliminate the "no prototype" 24532 warning wasn't portable (FreeBSD 3.[23] choked). Now use AC_EGREP_HEADER to see 24533 where initgroups() is declared, if anywhere. 24534 24535Author: Dan Harkless <dan@harkless.org> 24536Date: Tue Feb 29 05:16:35 2000 +0000 24537 24538 Upped the version number to 1.0.3+dev (ideally this should be done by whoever 24539 makes a release tar file, immediately after doing so). 24540 24541 Applied Paul Fox <pgf-spam@foxharp.boston.ma.us>'s scansbr.c patch, posted to 24542 comp.mail.mh, which he says prevents loss of mail when inc'ing into a full 24543 filesystem. 24544 24545Author: Ruud de Rooij <ruud@ruud.org> 24546Date: Mon Feb 28 17:09:02 2000 +0000 24547 24548 * Fix security hole in mhshowsbr.c which allowed untrusted shell 24549 code to be executed. 24550 * Released nmh 1.0.3. 24551 24552Author: Dan Harkless <dan@harkless.org> 24553Date: Thu Feb 10 18:50:23 2000 +0000 24554 24555 Oops. %-escapes on mhstore lines in mhn.defaults.sh should not be surrounded by 24556 single quotes, as a shell is not spawned when just saving files, and the 24557 filenames will end up with literal quotes embedded in them. 24558 24559Author: Dan Harkless <dan@harkless.org> 24560Date: Fri Feb 4 20:36:43 2000 +0000 24561 24562 Removed an item that Richard did without removing its TODO, and removed an item 24563 that was duplicated in two different priority sections. 24564 24565Author: Dan Harkless <dan@harkless.org> 24566Date: Fri Feb 4 20:34:07 2000 +0000 24567 24568 Whoever originally added the -help switch to all the commands got too cute and 24569 had the option itself print out as "-(help)" in the -help output. I guess the 24570 idea was to make reference to the fact that clearly you know about the -help 24571 option since you're currently looking at its output. I think it's a bad idea to 24572 overload the meaning of the parentheses, however -- they're supposed to indicate 24573 what abbreviated prefix of the switch you're allowed to specify. It doesn't 24574 make sense to show that you're allowed to "abbreviate" the switch to its entire 24575 length. 24576 24577Author: Dan Harkless <dan@harkless.org> 24578Date: Fri Feb 4 20:28:23 2000 +0000 24579 24580 Whoever originally added the -help switch to all the commands got too cute and 24581 had the option itself print out as "-(help)" in the -help output. I guess the 24582 idea was to make reference to the fact that clearly you know about the -help 24583 option since you're currently looking at its output. I think it's a bad idea to 24584 overload the meaning of the parentheses, however -- they're supposed to indicate 24585 what abbreviated prefix of the switch you're allowed to specify. It doesn't 24586 make sense to show that you're allowed to "abbreviate" the switch to its entire 24587 length. 24588 24589Author: Dan Harkless <dan@harkless.org> 24590Date: Fri Feb 4 01:46:29 2000 +0000 24591 24592 Modified INSTALL and config.h.in to reflect the new -kpop feature. 24593 24594Author: Dan Harkless <dan@harkless.org> 24595Date: Fri Feb 4 01:32:12 2000 +0000 24596 24597 * Applied wesley.craig@umich.edu's KPOP patches. According to him: 24598 24599 The following patch fixes a problem with requesting a service key for a 24600 machine that has multiple 'A' records. It also makes "-kpop" a command 24601 line option, for users who would like to use both "kpop" and "pop". 24602 24603 Did no testing of the new features, as I don't have access to a KPOP server. 24604 24605 One tweak I made to the patch he sent to nmh-workers was to move the 24606 declaration of his new hp2 variable into the #ifdef KPOP section so you don't 24607 get an "unused variable" warning when compiling without KPOP. 24608 24609 * Modified inc.man and msgchk.man to document Wesley's new -kpop. 24610 24611Author: Dan Harkless <dan@harkless.org> 24612Date: Sat Jan 29 01:34:20 2000 +0000 24613 24614 Added check for lynx to write mhshow-show-text/html line in mhn.defaults.sh. 24615 24616Author: Dan Harkless <dan@harkless.org> 24617Date: Fri Jan 28 23:29:06 2000 +0000 24618 24619 Made a couple of minor whitespace changes to test if the latest beta version of 24620 CVS fixes this bug: 24621 24622 dilvish-dan> cvs commit ../ChangeLog mhn.defaults.sh 24623 danh@mhost.com's password: 24624 Warning: Remote host denied X11 forwarding, perhaps xauth program could not be run on the server side. 24625 cvs: lock.c:179: lock_name: Assertion `*short_repos++ == '/'' failed. 24626 Terminated with fatal signal 6 24627 cvs commit: saving log message in /tmp/cvslIx_yb 24628 24629Author: Dan Harkless <dan@harkless.org> 24630Date: Fri Jan 28 22:00:33 2000 +0000 24631 24632 All %-escapes in mhn.defaults that actually expand to something should be 24633 surrounded by single quotes. Added quotes to the ones in mhn.defaults.sh that 24634 were missing them. 24635 24636Author: Dan Harkless <dan@harkless.org> 24637Date: Thu Jan 27 20:20:01 2000 +0000 24638 24639 makedir() had multiple bugs dating back to MH. It passed an octal constant to 24640 atoi(), which interpreted it as decimal, resulting in directories with no user 24641 read or execute permissions, making nested directory creation fail. Also, when 24642 creating a nested directory, correct permissions were only set on the inner one. 24643 24644 A second `make install' would always fail because the check for whether 24645 mh_profile.5 existed was written incorrectly. 24646 24647Author: Dan Harkless <dan@harkless.org> 24648Date: Thu Jan 27 20:14:58 2000 +0000 24649 24650 Doug's check for whether mh_profile.5 exists was bad -- it looked in the local 24651 directory rather than the installation directory, so the check would always 24652 return false and re-installation when mh_profile.5 did exist would bomb out. 24653 24654Author: Dan Harkless <dan@harkless.org> 24655Date: Thu Jan 27 20:12:38 2000 +0000 24656 24657 Fixed multiple bugs in makedir(). First off, when creating nested folders, it 24658 only set permissions properly on the innermost one. Secondly, it passwd an 24659 octal constant to atoi(), which only works on decimal numbers, resulting in 24660 directories with no user read or execute permission, making creation of nested 24661 dirs fail. 24662 24663 Also added a comment wondering why we do special processing when euid != uid. 24664 If no one disagrees with my comments, I'll remove that weird code in the future. 24665 24666Author: Dan Harkless <dan@harkless.org> 24667Date: Wed Jan 26 21:35:43 2000 +0000 24668 24669 Dan Winship informed me that the right fix when gcc -Wall complains about char 24670 indexes to arrays is to cast to unsigned char, not int. You want to prevent 24671 negative indexes into the array. 24672 24673Author: Dan Harkless <dan@harkless.org> 24674Date: Wed Jan 26 10:16:32 2000 +0000 24675 24676 Added documentation on both types of masquerading to post's man page. 24677 24678 Also clarified some wording and added a note that the new type of masquerading 24679 has been implemented only for post, not for the undocumented spost backend. 24680 24681Author: Dan Harkless <dan@harkless.org> 24682Date: Wed Jan 26 10:14:14 2000 +0000 24683 24684 Expanded the mention of the $SIGNATURE environment variable to talk about the 24685 three different ways to override "From:" header construction. Also added 24686 mh-tailor(5) to the "SEE ALSO" section. 24687 24688Author: Dan Harkless <dan@harkless.org> 24689Date: Wed Jan 26 09:27:59 2000 +0000 24690 24691 Just added a comment explaining that akvalue() does mh alias substitution. 24692 24693Author: Dan Harkless <dan@harkless.org> 24694Date: Wed Jan 26 09:26:23 2000 +0000 24695 24696 I had my envelope-From:-setting in the wrong place in the code, before alias 24697 processing was done. Put it in the right place, and properly implemented 24698 Resent-From:-handling, which I had neglected before. 24699 24700Author: Dan Harkless <dan@harkless.org> 24701Date: Wed Jan 26 09:24:15 2000 +0000 24702 24703 Added a comment bemoaning the lack of aliasing on the From: header and 24704 explaining why I wasn't going to bother implementing my new draft-From:-based 24705 email address masquerading right now. 24706 24707Author: Dan Harkless <dan@harkless.org> 24708Date: Wed Jan 26 06:51:50 2000 +0000 24709 24710 Doug's portability fix of my setgid inc autodetection had a caching bug -- if 24711 you re-ran configure, uip/Makefile would be corrupted, and installation would 24712 fail on OSes where inc needs to be setgid. 24713 24714 Implemented a new kind of email address masquerading. When a user writes a 24715 custom "From:" header in a draft, nmh uses it rather than generating one. 24716 However, the user's true address is used in the SMTP envelope "From:" and is 24717 revealed in the "Sender:" header. Now, when mmailid is set to non-zero, the 24718 envelope "From:" uses the address specified in the draft "From:" header, and 24719 there is no "Sender:" header. This is useful when sending on behalf of a remote 24720 POP3 account or when remote mail robots incorrectly use the envelope "From:" in 24721 preference to the body "From:". 24722 24723Author: Dan Harkless <dan@harkless.org> 24724Date: Wed Jan 26 06:39:49 2000 +0000 24725 24726 I'm surprised this didn't hit anyone sooner. Doug's portability fix of my 24727 setgid inc autodetection didn't do its caching properly. It cached the variable 24728 $nmh_cv_ls_mail_grp (previously $nmh_group_mailspool), but did substitution on 24729 $MAIL_SPOOL_GRP (previously $MAILGROUP) without setting the latter to the 24730 former. That meant that when re-running configure, $MAIL_SPOOL_GRP would be 24731 NULL, so the $(MAIL_SPOOL_GRP) Make variable would be NULL, and installation 24732 would fail with the error "install: 2755 does not exist" (since the argument to 24733 -g was missing). 24734 24735Author: Dan Harkless <dan@harkless.org> 24736Date: Wed Jan 26 05:40:30 2000 +0000 24737 24738 Implemented a new type of username masquerading, which is also activated by 24739 setting mmailid to non-zero in mts.conf. The new type is based on the From: 24740 header in the message draft rather than the GECOS field of the passwd file like 24741 the old type. 24742 24743 With mmailid turned off, when a user specifies a custom From: header in a draft, 24744 it'll be used, but the user's real address will be revealed in the SMTP envelope 24745 From: and in the Sender: header. With mmailid on, this revelation is disabled. 24746 24747 Also copied to here my new comment from mh.h explaining (if I understand it 24748 correctly) the functionality of struct swit's minchars field. Also, changed the 24749 minchars for "help" from 4 to 0. It doesn't make sense to use a positive 24750 integer that's the exact length of the option. That'll make it print out like 24751 "-(help)". The parentheses are supposed to go around the minimum part of the 24752 option you need to specify when abbreviating it. Perhaps someone thought it 24753 would be cute to put "help" in parentheses to imply that you know about it 24754 already as you just specified it be seeing the current output, but I think this 24755 "overloading" of the meaning of the parentheses is awkward. I need to go around 24756 and change "help" to 0 everywhere, but it's getting too late to do it tonight. 24757 24758 Also added some other explanatory comments to existing code. 24759 24760Author: Dan Harkless <dan@harkless.org> 24761Date: Wed Jan 26 05:28:33 2000 +0000 24762 24763 Updated to reflect that there are now two types of username masquerading 24764 (GECOS-based, the old one, and draft-From:-based, the new one). Also clarified 24765 existing wording. 24766 24767Author: Dan Harkless <dan@harkless.org> 24768Date: Wed Jan 26 05:03:07 2000 +0000 24769 24770 Documented the minchars field of struct swit to the best of my understanding. 24771 24772Author: Dan Harkless <dan@harkless.org> 24773Date: Wed Jan 26 05:01:06 2000 +0000 24774 24775 Modified the mmailid comment to reflect that there are now two types of 24776 masquerading (wouldn't want sysadmins to not realize that by allowing one, 24777 they're allowing the other). I also prefer my new wording of "allow" vs. the 24778 old "turn on" because the latter implied that masquerading would take effect 24779 just by setting that variable (not the case unless /etc/passwd had been 24780 previously modified to have the <fakeusername>s). 24781 24782Author: Dan Harkless <dan@harkless.org> 24783Date: Wed Jan 26 04:57:57 2000 +0000 24784 24785 Whoever changed all the references to nmh-workers@math.gatech.edu to 24786 nmh-workers@mhost.com missed this file. 24787 24788Author: Dan Harkless <dan@harkless.org> 24789Date: Wed Jan 26 04:54:30 2000 +0000 24790 24791 Changed Mmailids to an extern so that we can access it from post.c to see if we 24792 should do the new draft-From:-based masquerading. Also clarified some comments 24793 now that there are two different types of masquerading. 24794 24795Author: Dan Harkless <dan@harkless.org> 24796Date: Tue Jan 25 21:06:09 2000 +0000 24797 24798 Just clarified a couple of points in my last change description. 24799 24800Author: Dan Harkless <dan@harkless.org> 24801Date: Tue Jan 25 07:45:10 2000 +0000 24802 24803 The prototype I gave for initgroups() which was documented in the AIX 4.1 info 24804 page conflicted with the real one that comes from grp.h on Solaris 2.6. 24805 Adjusted it so the local prototype is correct on both (hopefully all) 24806 platforms. Also added an include of <unistd.h>, which is where initgroups() 24807 lives on HP-UX 10.20. 24808 24809Author: Dan Harkless <dan@harkless.org> 24810Date: Tue Jan 25 07:10:25 2000 +0000 24811 24812 I kept going back and forth checking in new pointless revisions of 24813 configure[.in], but it now looks like the problem was that stamp-h.in was older 24814 than configure.in (or maybe there were two problems). Hopefully this'll get rid 24815 of the needless auto* calls. 24816 24817Author: Dan Harkless <dan@harkless.org> 24818Date: Tue Jan 25 06:56:25 2000 +0000 24819 24820 Shoot. Apparently it gets the timestamp from the check-in time rather than 24821 preserving the actual timestamp on the file when you check it in, so the 24822 timestamp was the same for configure.in and configure, so the Makefile was doing 24823 an autoconf just in case. This time I'm checking in configure.in first and 24824 configure at least a second later. What a pain. 24825 24826Author: Dan Harkless <dan@harkless.org> 24827Date: Tue Jan 25 06:46:13 2000 +0000 24828 24829 Accidentally checked in configure with older date than configure.in, but I 24830 hadn't made changes to configure.in that would result in a different configure, 24831 so I can't check one in with the right timestamp. Therefore, I made a 24832 meaningless change to configure.in (adding a "dnl" to the end of line that was 24833 like others that had "dnl" at the end but didn't have one itself) and 24834 regenerated configure. 24835 24836Author: Dan Harkless <dan@harkless.org> 24837Date: Tue Jan 25 06:21:38 2000 +0000 24838 24839 The conditional definition of the "np" variable didn't make any sense. It was 24840 only defined if HAVE_GETHOSTBYNAME was defined and only used when 24841 HAVE_GETHOSTBYNAME wasn't defined. I'm kind of surprised that never blew up 24842 anywhere. Changed the definition conditional to match the usage conditional. 24843 24844Author: Dan Harkless <dan@harkless.org> 24845Date: Tue Jan 25 06:19:51 2000 +0000 24846 24847 Got rid of the rest of the warnings that I didn't have time for on 1999-07-15 24848 (and, it would seem, some new ones people introduced since then). The primary 24849 ones were the warnings that default prototypes were being used for [v]snprintf() 24850 and str[n]casecmp(). As of right now, there are _no_ compilation warnings 24851 except on the lex output file (at least under AIX 4.1.5 and Solaris 2.6). 24852 24853Author: Dan Harkless <dan@harkless.org> 24854Date: Tue Jan 25 06:18:54 2000 +0000 24855 24856 On AIX 4.1, snprintf() is defined in libc.a but there's no prototype in 24857 <stdio.h> or elsewhere. Apparently it's not officially supported (though it 24858 seems to work perfectly and IBM apparently uses it in internal code). Anyhow, 24859 if we omit our own snprintf() and vsnprintf() prototypes when we HAVE_SNPRINTF, 24860 we get a billion warnings at compile time. Use the C preprocessor to preprocess 24861 stdio.h and make sure that there's actually a prototype. Define 24862 HAVE_SNPRINTF_PROTOTYPE if so, and use that to control our local prototype 24863 definition. 24864 24865 Also, define strcasecmp() and strncasecmp() here all the time since we define 24866 our own versions and always use them. The only way we could get into trouble 24867 doing this would be if the vendor's versions didn't have the same parameters, 24868 but I don't see that happening. If we don't define them here, we get warnings 24869 all over the place that default prototypes are being used for 'em, and the 24870 system header to include varies from OS to OS. 24871 24872Author: Dan Harkless <dan@harkless.org> 24873Date: Tue Jan 25 06:13:38 2000 +0000 24874 24875 On AIX 4.1, snprintf() is defined in libc.a but there's no prototype in 24876 <stdio.h> or elsewhere. Apparently it's not officially supported (though it 24877 seems to work perfectly and IBM apparently uses it in internal code). Anyhow, 24878 if we omit our own snprintf() and vsnprintf() prototypes when we HAVE_SNPRINTF, 24879 we get a billion warnings at compile time. Use the C preprocessor to preprocess 24880 stdio.h and make sure that there's actually a prototype. Define 24881 HAVE_SNPRINTF_PROTOTYPE if so, and use that to control our local prototype 24882 definition. 24883 24884Author: Dan Harkless <dan@harkless.org> 24885Date: Tue Jan 25 06:06:18 2000 +0000 24886 24887 Added include of signals.h for SIGNAL() prototype. 24888 24889Author: Dan Harkless <dan@harkless.org> 24890Date: Tue Jan 25 06:04:29 2000 +0000 24891 24892 Added include of mh.h for snprintf() prototype. 24893 24894Author: Dan Harkless <dan@harkless.org> 24895Date: Tue Jan 25 06:00:22 2000 +0000 24896 24897 Added include of mh.h to get snprintf() prototype and changed all references to 24898 getcpy() to our_getcpy() to prevent conflict with the external one. 24899 24900Author: Dan Harkless <dan@harkless.org> 24901Date: Tue Jan 25 05:58:26 2000 +0000 24902 24903 Put in a prototype for stdio internal function _filbuf() to get rid of the 24904 "default prototype" warning (only do this when we didn't #define it to something 24905 specific due to another #define telling us to do so). 24906 24907Author: Dan Harkless <dan@harkless.org> 24908Date: Tue Jan 25 05:55:20 2000 +0000 24909 24910 Put in a prototype for client() to get rid of the "default prototype" warning. 24911 The prototype should really go in a new client.h file or somewhere, but I don't 24912 have time right now for that. 24913 24914Author: Dan Harkless <dan@harkless.org> 24915Date: Tue Jan 25 05:53:40 2000 +0000 24916 24917 Typecast to get rid of warnings that index into cc[] is a char. 24918 24919Author: Dan Harkless <dan@harkless.org> 24920Date: Tue Jan 25 05:52:31 2000 +0000 24921 24922 Put in prototype for initgroups() to get rid of "default prototype" warning. On 24923 AIX 4.1, at least, the function exists in libc.a but doesn't exist in any .h. 24924 24925Author: Dan Harkless <dan@harkless.org> 24926Date: Tue Jan 25 05:50:12 2000 +0000 24927 24928 Typecast to get rid of warnings that array index into types[] is a char. 24929 24930Author: Ruud de Rooij <ruud@ruud.org> 24931Date: Thu Jan 6 21:30:07 2000 +0000 24932 24933 * Move mhtest from bindir to libdir. 24934 24935 * Move sendfiles from libdir to bindir. 24936 24937 * Updated sendfiles manpage to reflect this change. 24938 24939 * Added documentation for -build and -file switches to repl and 24940 forw manpages (patch from Peter Maydell). 24941 24942 * Fixed interaction between specifying -cc in profile and -group on 24943 command-line. 24944 24945Author: Dan Harkless <dan@harkless.org> 24946Date: Thu Nov 11 01:01:07 1999 +0000 24947 24948 * Add command to reverse the action of rmm [-nounlink] -- "urmm"? "umm"? "um"? 24949 * Allow user customization of which kinds of text parts in multipart/alternative 24950 messages are preferred. It would be nice if one selectable behavior would be 24951 to be prompted at runtime for which version to show. 24952 * Add a new %-escape that makes temp files more permanent than %f, so that you 24953 can use gnuclient -q or netscape -remote on message parts. Put netscape 24954 -remote in mhn.defaults for text/html once this is done. 24955 24956Author: Dan Harkless <dan@harkless.org> 24957Date: Tue Nov 2 21:49:47 1999 +0000 24958 24959 Changed the version number from 1.0.3 to 1.0.2+dev. There was not unanimous 24960 support for my proposed even/odd release/developer version number dichotomy. 24961 1.0.2+dev implies release 1.0.2 plus some development. 24962 24963Author: Dan Harkless <dan@harkless.org> 24964Date: Fri Oct 29 20:42:13 1999 +0000 24965 24966 Upped the version number to 1.0.3. If we don't do this, then when people report 24967 bugs against 1.0.2, we won't know "which" 1.0.2 they're talking about (since the 24968 development source is publically available via CVS). I think the Linux kernel 24969 version numbers are a good model, so the next time we roll a tarball, it should 24970 be version 1.0.4 (or higher -- anyhow, an even-numbered version). 24971 24972Author: Doug Morris <doug@mhost.com> 24973Date: Fri Oct 29 05:10:18 1999 +0000 24974 24975 updated INSTALL directions 24976 24977Author: Doug Morris <doug@mhost.com> 24978Date: Fri Oct 29 04:49:01 1999 +0000 24979 24980 release nmh-1.0.2 24981 24982Author: Doug Morris <doug@mhost.com> 24983Date: Fri Oct 29 04:32:50 1999 +0000 24984 24985 updated the TODO list and bumped the revision to 1.0.2. 24986 24987Author: Doug Morris <doug@mhost.com> 24988Date: Wed Oct 27 05:21:12 1999 +0000 24989 24990 fixed test in Makefiles for LIBTOOL for the case where it doesn't exist 24991 24992Author: Doug Morris <doug@mhost.com> 24993Date: Tue Oct 26 21:12:36 1999 +0000 24994 24995 fixed libtool check, sort of... 24996 24997Author: Doug Morris <doug@mhost.com> 24998Date: Thu Oct 21 18:59:35 1999 +0000 24999 25000 changes to allow building under Mac OS X/Rhapsody 25001 25002Author: Ruud de Rooij <ruud@ruud.org> 25003Date: Sun Oct 17 17:39:22 1999 +0000 25004 25005 * Changed repl defaults to partly revert to MH behaviour: 25006 "-cc all" is now only implied with -group. 25007 * The replcomps template includes cc: header again (as in MH). 25008 * Updated repl man page to reflect these changes. 25009 25010Author: Doug Morris <doug@mhost.com> 25011Date: Sat Oct 16 00:56:05 1999 +0000 25012 25013 sunos/solaris modifications 25014 25015Author: Doug Morris <doug@mhost.com> 25016Date: Fri Oct 15 22:38:55 1999 +0000 25017 25018 replaced the BIND guess (based on BSDishness) with checks for gethostbyname and sethostent 25019 25020Author: Doug Morris <doug@mhost.com> 25021Date: Wed Oct 13 14:56:41 1999 +0000 25022 25023 fixed bug in mh-profile/mh_profile manpage link - it did not check first 25024 25025Author: Doug Morris <doug@mhost.com> 25026Date: Wed Oct 13 13:58:41 1999 +0000 25027 25028 updated manpage's Makefile and modified the way configure tests to see whether 25029 it should define LINUX_STDIO. 25030 25031Author: Dan Harkless <dan@harkless.org> 25032Date: Mon Oct 4 22:23:29 1999 +0000 25033 25034 Added '-L' to the calls of 'ls' in configure.in -- I have seen multiple machines 25035 in the past where the mail spool was a symlink to a directory on another device 25036 with more free space. 25037 25038Author: Dan Harkless <dan@harkless.org> 25039Date: Sat Oct 2 06:00:54 1999 +0000 25040 25041 * Fixed a portability problem in Doug's fix of a portability 25042 problem in my MAILGROUP autoconf support ('ls -l' vs. 'ls -lg'). 25043 25044Author: Dan Harkless <dan@harkless.org> 25045Date: Sat Oct 2 06:00:11 1999 +0000 25046 25047 I didn't like the double use of "MAILGROUP" for two different variables used in 25048 different languages, with different values. I renamed Doug's new Makefile 25049 "MAILGROUP" to MAIL_SPOOL_GRP. 25050 25051Author: Dan Harkless <dan@harkless.org> 25052Date: Sat Oct 2 05:57:23 1999 +0000 25053 25054 Touched because I changed configure.in. 25055 25056Author: Dan Harkless <dan@harkless.org> 25057Date: Sat Oct 2 05:55:54 1999 +0000 25058 25059 Doug's fix for my MAILGROUP autoconf support on his platform (yep, I was 25060 ignorant about that "wheel" group) broke it on my platforms (AIX 4.1.5.0.01 and 25061 Solaris 2.6). `ls -lg` doesn't do what Doug was expecting on these platforms -- 25062 it displays _only_ the group rather than the user and the group (thus awk 25063 '{print $4}' did the wrong thing). 25064 25065 Also did some miscellaneous cleanup, like making variables that were intended to 25066 be cached actually be cached (renamed to nmh_cv_*, etc.), and using the $AWK 25067 that we've auto-detected rather than relying on the $PATH to find one. 25068 25069Author: Ruud de Rooij <ruud@ruud.org> 25070Date: Sun Sep 26 17:45:55 1999 +0000 25071 25072 * Added config.sub and config.guess to the list of files to be 25073 distributed. 25074 25075 * Fixed bug in sbr/fmt_scan.c where an extra newline would be 25076 added if a list of addresses was split over several header lines. 25077 25078 * In mts/smtp/smtp.c, undefine strlen and strcpy if they are 25079 macros, regardless of platform. 25080 25081 * Allow q to quit mhshow, and n to skip to next part. Patch from 25082 Kimmo Suominen <kim@tac.nyc.ny.us>. 25083 25084 * Modified mhstore to recognize attachments created by sendfiles 25085 with x-conversions=gzip. 25086 25087Author: Doug Morris <doug@mhost.com> 25088Date: Mon Sep 13 19:23:29 1999 +0000 25089 25090 moved canonical guesses back into user config section of config.h 25091 25092Author: Doug Morris <doug@mhost.com> 25093Date: Mon Sep 13 18:20:28 1999 +0000 25094 25095 updates to post.c and termsbr.c that prevent warnings on OpenBSD 25096 25097Author: Doug Morris <doug@mhost.com> 25098Date: Sun Sep 12 13:50:11 1999 +0000 25099 25100 Lots of little code cleanups to prevent warnings - mostly making sure 25101 some function prototypes are available at compile time. Also fixed 25102 Makefile.in so that make nmhdist will work -- it just blew up after 25103 COMPLETION-TCSH was added and ZSH-COMPLETION was changed to 25104 COMPLETION-ZSH. 25105 25106Author: Doug Morris <doug@mhost.com> 25107Date: Sun Sep 12 07:19:40 1999 +0000 25108 25109 updating changelog, should have been done with last commit 25110 25111Author: Doug Morris <doug@mhost.com> 25112Date: Sun Sep 12 06:44:02 1999 +0000 25113 25114 fix for configure to find db1/ndbm.h in new linux systems 25115 25116Author: Doug Morris <doug@mhost.com> 25117Date: Fri Sep 10 05:22:40 1999 +0000 25118 25119 configure, configure.in stamp-h.in, and uip/Makefile.in modified to fix 25120 MAILGROUP test. 25121 m_getfld.c - added the patch submitted by Richard Cohen to fix 25122 crashing when mh_profile has no trailing newline. 25123 smtp.c, lock_file.c, m_scratch.c, m_tmpfil.c, mhscmds.c, rcvtty.c, and 25124 spost.c modified to fix mkstemp bugs. Some I've simply commented out 25125 because the repair requries either creating another new tempfile 25126 function (there are 3 already) or cleaning up the existing tmpfile 25127 functions and all the calls to them. I'm opting for the latter but 25128 it will take a while. 25129 25130Author: Dan Harkless <dan@harkless.org> 25131Date: Tue Sep 7 23:45:20 1999 +0000 25132 25133 Renamed ZSH.COMPLETION to COMPLETION-ZSH and added COMPLETION-TCSH. 25134 25135Author: Dan Harkless <dan@harkless.org> 25136Date: Tue Sep 7 23:41:37 1999 +0000 25137 25138 New file along the lines of the old ZSH.COMPLETION, but for tcsh. Pretty bare 25139 right now. 25140 25141Author: Dan Harkless <dan@harkless.org> 25142Date: Tue Sep 7 23:34:00 1999 +0000 25143 25144 Renamed to COMPLETION-ZSH so it'll alphabetize next to new COMPLETION-TCSH. 25145 25146Author: Dan Harkless <dan@harkless.org> 25147Date: Tue Sep 7 23:29:14 1999 +0000 25148 25149 Renamed from ZSH.COMPLETION so it'll alphabetize next to new COMPLETION-TCSH. 25150 25151Author: Dan Harkless <dan@harkless.org> 25152Date: Wed Aug 18 00:05:24 1999 +0000 25153 25154 Crap. That's what I get for using vi instead of xemacs for a change. Inserted 25155 missing newline. 25156 25157Author: Dan Harkless <dan@harkless.org> 25158Date: Wed Aug 18 00:01:28 1999 +0000 25159 25160 Just adding some text to this file so that cvs will see a difference and let me check it in. Every time acconfig.h or configure.in are changed (which I just 25161 did), the timestamp on this file needs to be updated or when people do a make 25162 an unnecessary `cd . && autoheader` will be done, and not everybody has the 25163 autoconf tools installed. The next person to change those two files (or 25164 aclocal.m4) will need to change this text, maybe just to a message saying which 25165 dependency files were changed and by whom. 25166 25167Author: Dan Harkless <dan@harkless.org> 25168Date: Tue Aug 17 23:31:23 1999 +0000 25169 25170 Automated #define of MAILGROUP and installation of inc as setgid mail when the 25171 mail spool directory isn't world-writable. 25172 25173Author: Dan Harkless <dan@harkless.org> 25174Date: Tue Aug 17 23:15:31 1999 +0000 25175 25176 Automated #define of MAILGROUP and installation of inc as setgid mail when the 25177 mail spool directory isn't world-writable. 25178 25179Author: Dan Harkless <dan@harkless.org> 25180Date: Tue Aug 17 23:12:42 1999 +0000 25181 25182 Just removed some useless whitespace that [X]Emacs' Make mode highlights as 25183 being semi-bogus. 25184 25185Author: Dan Harkless <dan@harkless.org> 25186Date: Tue Aug 17 23:09:46 1999 +0000 25187 25188 Automated #define of MAILGROUP and installation of inc as setgid mail when the 25189 mail spool directory isn't world-writable. 25190 25191Author: Dan Harkless <dan@harkless.org> 25192Date: Fri Jul 16 01:39:09 1999 +0000 25193 25194 * slocal -debug used to leave a copy of each message processed in /tmp. 25195 * Got rid of a ton of compilation warnings output by gcc -Wall. 25196 * rcvdistcomps no longer has "Resent-Fcc: outbox"; new rcvdistcomps.outbox does. 25197 25198Author: Dan Harkless <dan@harkless.org> 25199Date: Fri Jul 16 01:30:05 1999 +0000 25200 25201 Eliminated compilation warnings. 25202 25203Author: Dan Harkless <dan@harkless.org> 25204Date: Fri Jul 16 01:19:29 1999 +0000 25205 25206 Eliminated unsued sigset_t variables set and oset. 25207 25208Author: Dan Harkless <dan@harkless.org> 25209Date: Fri Jul 16 01:16:08 1999 +0000 25210 25211 Previously contained the code: 25212 25213 if (numburst == 0) 25214 if (!quietsw) 25215 admonish (NULL, "message %d not in digest format", 25216 msgnum); 25217 else 25218 adios (NULL, "burst() botch -- you lose big"); 25219 25220 If the indentation is to be believed, this is a bug. I trusted the indentation 25221 and added {}s around the inner if(). 25222 25223Author: Dan Harkless <dan@harkless.org> 25224Date: Fri Jul 16 01:13:05 1999 +0000 25225 25226 Eliminated compilation warnings. pop_action() and pop_pack() used to return 25227 garbage. They now (arbitrarily) return 0. Dunno if their return values are 25228 ever used... 25229 25230Author: Dan Harkless <dan@harkless.org> 25231Date: Fri Jul 16 01:11:44 1999 +0000 25232 25233 Eliminated compilation warnings. 25234 25235Author: Dan Harkless <dan@harkless.org> 25236Date: Fri Jul 16 01:03:34 1999 +0000 25237 25238 donote() previously was written such that it could return garbage. 25239 25240Author: Dan Harkless <dan@harkless.org> 25241Date: Fri Jul 16 01:01:24 1999 +0000 25242 25243 err2peer() previously returned garbage. Now it returns result of callee 25244 verr2peer(). 25245 25246Author: Dan Harkless <dan@harkless.org> 25247Date: Fri Jul 16 00:59:36 1999 +0000 25248 25249 Eliminated compilation warnings. 25250 25251Author: Dan Harkless <dan@harkless.org> 25252Date: Fri Jul 16 00:53:17 1999 +0000 25253 25254 Eliminated compilation warnings. 25255 25256Author: Dan Harkless <dan@harkless.org> 25257Date: Fri Jul 16 00:52:20 1999 +0000 25258 25259 Eliminated compilation warnings. 25260 25261 slocal -debug left a file in /tmp for every single message it processed! 25262 Totally unacceptable since some people like to have slocal -debug in their 25263 .forward files to get better logging. 25264 25265Author: Dan Harkless <dan@harkless.org> 25266Date: Fri Jul 16 00:50:01 1999 +0000 25267 25268 Changed done() from returning void to returning int so that main()s who call 25269 done() at the end can instead return done() at the end to eliminate the 25270 compilation warning about falling off the end of a non-void function. 25271 25272Author: Dan Harkless <dan@harkless.org> 25273Date: Fri Jul 16 00:48:59 1999 +0000 25274 25275 Changed from returning void to returning int so that main()s who call done() at 25276 the end can instead return done() at the end to eliminate the compilation 25277 warning about falling off the end of a non-void function. 25278 25279Author: Dan Harkless <dan@harkless.org> 25280Date: Fri Jul 16 00:47:33 1999 +0000 25281 25282 Changed call of done() to return of done() to eliminate compilation warning. 25283 25284Author: Dan Harkless <dan@harkless.org> 25285Date: Fri Jul 16 00:44:40 1999 +0000 25286 25287 I think it's totally inappropriate for the default rcvdistcomps to save all 25288 outgoing messages in an "outbox" folder. I have made a new file called 25289 rcvdistcomps.outbox which looks like this file used to. 25290 25291Author: Dan Harkless <dan@harkless.org> 25292Date: Fri Jul 16 00:43:04 1999 +0000 25293 25294 New $(DIST_FILES) entry: rcvdistcomps.outbox. 25295 25296Author: Dan Harkless <dan@harkless.org> 25297Date: Fri Jul 16 00:40:35 1999 +0000 25298 25299 I renamed the old rcvdistcomps to rcvdistcomps.outbox and removed the 25300 "Resent-Fcc: outbox" line from rcvdistcomps. 25301 25302Author: Doug Morris <doug@mhost.com> 25303Date: Sat Jun 12 09:29:45 1999 +0000 25304 25305 added my name to the change 25306 25307Author: Doug Morris <doug@mhost.com> 25308Date: Sat Jun 12 09:26:50 1999 +0000 25309 25310 added explanation of change made two nights ago. 25311 25312Author: Doug Morris <doug@mhost.com> 25313Date: Wed Jun 9 20:51:59 1999 +0000 25314 25315 use mkstemp on systems that have it 25316 25317Author: Doug Morris <doug@mhost.com> 25318Date: Thu May 13 14:42:34 1999 +0000 25319 25320 Added notes about the configure change. 25321 25322Author: Doug Morris <doug@mhost.com> 25323Date: Thu May 13 14:28:25 1999 +0000 25324 25325 Modified configure to use config.guess and config.sub to auto-detect 25326 the system type and correctly set the #defines in config.h. 25327 25328Author: Dan Harkless <dan@harkless.org> 25329Date: Thu May 13 03:42:11 1999 +0000 25330 25331 1.0.1 25332 25333Author: Dan Harkless <dan@harkless.org> 25334Date: Thu May 13 01:32:53 1999 +0000 25335 25336 1.0.1 patches 25337 25338Author: Dan Harkless <dan@harkless.org> 25339Date: Thu May 13 01:31:47 1999 +0000 25340 25341 Update for the brave new world 25342 25343Author: Dan Harkless <dan@harkless.org> 25344Date: Thu May 13 01:31:00 1999 +0000 25345 25346 Use "#include <errno.h>" instead of "extern int errno;". Suggested by 25347 Stephen Wilson Bailey <swb@nconnect.net> 25348 25349Author: Dan Harkless <dan@harkless.org> 25350Date: Thu May 13 01:28:40 1999 +0000 25351 25352 add a note about Irix make 25353 25354Author: Dan Harkless <dan@harkless.org> 25355Date: Thu May 13 01:28:16 1999 +0000 25356 25357 man page updates from Jerry Peek <jpeek@jpeek.com> 25358 25359Author: Dan Harkless <dan@harkless.org> 25360Date: Thu May 13 01:26:41 1999 +0000 25361 25362 deal with SIGPIPE so mhl doesn't print "Broken pipe" if you quit out 25363 of the moreproc 25364 25365Author: Dan Harkless <dan@harkless.org> 25366Date: Thu May 13 01:25:52 1999 +0000 25367 25368 Fixed a signal-handling bug that could cause whatnow to sometimes exit 25369 without prompting the user. Based on a patch by Richard Geiger 25370 <rmg@netapp.com>. 25371 25372Author: Dan Harkless <dan@harkless.org> 25373Date: Thu May 13 01:24:47 1999 +0000 25374 25375 Changed configure.in's check for sigsetjmp to properly deal with 25376 systems like Linux where it is a macro. From <elleron@servtech.com>. 25377 25378Author: Dan Harkless <dan@harkless.org> 25379Date: Thu May 13 01:22:54 1999 +0000 25380 25381 Added -library switch so it can parse user aliases like post does. 25382 From Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>. 25383 25384Author: Dan Harkless <dan@harkless.org> 25385Date: Thu May 13 01:22:03 1999 +0000 25386 25387 Don't add line breaks in the middle of long addresses when building a 25388 draft. Fixes a bug where repl would generate invalid headers. From 25389 Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>. 25390 25391Author: Dan Harkless <dan@harkless.org> 25392Date: Thu May 13 01:17:23 1999 +0000 25393 25394 Allow display of 8bit encoded messages. From Kimmo Suominen 25395 <kim@tac.nyc.ny.us>. 25396 25397Author: Dan Harkless <dan@harkless.org> 25398Date: Thu May 13 01:16:14 1999 +0000 25399 25400 Change ordering of a conditional to prevent a bad pointer dereference. 25401 Fixes a segv in inc (and occasionally other programs). Originally from 25402 Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl> 25403 25404Author: Dan Harkless <dan@harkless.org> 25405Date: Thu May 13 01:13:58 1999 +0000 25406 25407 Fix a buffer overrun that caused packf -mbox to mess up on 25408 Return-Path: lines. From Kimmo Suominen <kim@tac.nyc.ny.us> 25409 25410Author: Dan Harkless <dan@harkless.org> 25411Date: Thu May 13 01:12:12 1999 +0000 25412 25413 Make whatnow "list" work with "lproc: show" again. From Ruud de Rooij 25414 <r.c.m.derooij@twi.tudelft.nl> 25415 25416Author: Dan Harkless <dan@harkless.org> 25417Date: Thu May 13 01:10:45 1999 +0000 25418 25419 add HAVE_LIBM 25420 25421Author: Dan Harkless <dan@harkless.org> 25422Date: Thu May 13 01:07:15 1999 +0000 25423 25424 Add check for modf and link with -lm if it's not in libc. Needed for 25425 at least Digital UNIX. Problem noted by Kevin Oberman <oberman@es.net> 25426 25427Author: Dan Harkless <dan@harkless.org> 25428Date: Thu May 13 01:05:49 1999 +0000 25429 25430 Fix krb4 code to work with the original krb4 libraries as well as 25431 the krb5-compat ones. Based on a patch by Assar Westerlund <assar@sics.se> 25432 25433Author: Dan Harkless <dan@harkless.org> 25434Date: Thu May 13 01:03:23 1999 +0000 25435 25436 Properly deal with relative folder names. Problem noted by Jerry Peek 25437 <jpeek@jpeek.com> 25438 25439Author: Doug Morris <doug@mhost.com> 25440Date: Fri Apr 30 18:08:34 1999 +0000 25441 25442 Initial revision 25443