X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=ChangeLog;h=2cc1ba727b967d095cf2758a65664dd94b35d841;hp=d08bcdd2406474012282d0f564c83a9d49626805;hb=636b3bab53e3fc2154bb86fb02aeecf433cc977a;hpb=3bade3916feaf3cb52e1dd8a12004eda26f6980b diff --git a/ChangeLog b/ChangeLog index d08bcdd..2cc1ba7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,154 @@ +2008-08-13 Eric Gillespie + + * h/mhparse.h: Move interfaces also used by mhbuildsbr.c here + from mhparse.c. + + * uip/Makefile.in (mhbuild): Build with mhparse.o. + + * uip/mhbuildsbr.c: Drop the duplication of mhparse.c. + + * uip/mhbuild.c, uip/mhlist.c, uip/mhn.c, uip/mhshow.c, + uip/mhstore.c, uip/mhtest.c: Drop check swdeclaration, which is + now in mhparse.h. + + * uip/mhparse.c: Move some declarations to mhparse.h, and remove + 'static' from the definitions here. + (get_ctinfo): Take magic mhbuild support from mhbuildsbr.c's copy, + and adapt callers. + (incl_name_value, extract_name_value): Move from mhbuildsbr.c to + support get_ctinfo change). + (get_content, open7Bit): Add Content-Disposition support, added to + mhbuildsbr.c's copy in mhbuildsbr.c r1.12 (PatchSet 549). + (InitText): Default to CHARSET_UNSPECIFIED instead of "US-ASCII", + as mhbuildsbr.c's copy did. Explain termproc. + (openBase64, openQuoted, open7Bit): Fix comment from r1.5: + suffixes, not prefixes. + (openMail): Explain showproc. + + * test/tests/mhshow/test-cte-binary: Add test for + Content-Transfer-Encoding: binary (Debian #136976). + + * test/tests/mhbuild/test-forw: Add an mhbuild test, testing forw + with and without RFC-934 mode. More mhbuild tests would be nice. + +2008-08-13 Eric Gillespie + + * test/tests/bad-input/test-header: Add test for it. + + * sbr/m_getfld.c: If we reach the end of the line without finding + a ':' when parsing a header field, treat that line as the + beginning of the body rather than blowing up. These messages are + usually spam, but it's nice to be able to at least scan them. + +2008-08-12 Eric Gillespie + + * test/tests/mhshow/test-qp: Test various valid and invalid + escape sequences. + + * uip/mhparse.c (openQuoted): Simplify the decode-or-show for loop by + peeking ahead to the next byte(s) when encountering '=', and just let + invalid escape sequences through as literals (fixes bug #15245). + +2008-08-12 Peter Maydell + + * autogen.sh (new file): add script for running the GNU + autotools in the right order + * INSTALL: mention that you need to run autogen.sh if you + got nmh from CVS + * docs/README.developers: mention autogen.sh rather than + suggesting running autoheader and autoconf by hand. + * test/setup-test: run autotools via autogen.sh + +2008-08-08 Eric Gillespie + + * sbr/discard.c, sbr/m_getfld.c, uip/scansbr.c: Add support for + DragonFlyBSD stdio (from NetBSD pkgsrc). + +2008-08-05 Eric Gillespie + + * uip/folder.c: chdir(nmhdir) in main rather than in dodir, which + is called many times. Drop the chdir in get_folder_info, which + served no purpose at all. If struct stat has d_type (BSD), use + that to skip processing (strcmp, stat, and so on) of message + files, mostly undoing the slow-down from the last change. + + * configure.in: Call CHECK_TYPE_STRUCT_DIRENT_D_TYPE. + + * aclocal.m4: Add CHECK_TYPE_STRUCT_DIRENT_D_TYPE from + GNU coreutils. + +2008-08-04 Eric Gillespie + + * uip/folder.c: Simplify dodir/addir/addfold. Dump hacky + over-optimization in addir that tried to avoid readdir after all + child directories had been read; this was also trying to support + symlinks to directories, but would have been failing (because + nlink may have gone to 0 with symlinks to directories remaining) + had the lstat usage been correct (lstat doesn't fail for normal + directories; should have used S_ISLNK). + +2008-08-03 Peter Maydell + + * test/setup-test: use 'set -e' so we stop on compile failure. + Configure --enable-debug for convenience in debugging. + + * uip/whatnowsbr.c: bug #23319: rework the way we handle the working + directory when invoking the user's shell, so that we don't have + issues when the cwd contains a space or shell special character. + * test/tests/whatnow/test-attach-detach, test/tests/whatnow/test-cd, + test/tests/whatnow/test-ls: test cases for this. + + * sbr/fmt_compile.c: add 'do { ... } while (0)' wrappers + to various multi-statement macros to avoid nasty surprises + if the macros are used in if() clauses. + + * bug #23436: man/scan.man, man/forw.man, man/inc.man, + man/mh-chart.man, man/mhmail.man, man/mhshow.man, + man/mhstore.man, man/msgchk.man, man/packf.man, man/scan.man: + fix minor syntax errors groff warns about. + * test/runtest, test/README: allow test cases to report + that they have been SKIPped as well as PASS/FAIL + * test/tests/manpages/test-manpages - new test which runs groff + on the manpages and checks that there are no warnings. + * test/runalltests: ignore editor backup files + +2008-08-03 Eric Gillespie + + * etc/replcomps, etc/replgroupcomps: Trim trailing whitespace from + Subject field. + +2008-08-03 Peter Maydell + + * sbr/fmt_compile.c: when doing an if-test on the result + of a function which returns a string result, check whether + the string is non-empty (as the documentation says we do). + Previously we were always testing the integer 'value'. Bug + spotted by Eric Gillespie. + * test/tests/repl/test-if-str: test case for this bug + +2008-07-24 Eric Gillespie + + * test/setup-test: Run 'make clean' before building + +2008-07-24 Eric Gillespie + + * test/runtest: cat test-temp-dir only once. Destroy and create + test Mail hierarchy here, so each test has its own independent + test data. + + * test/setup-test: Drop needless pushd/popd, which don't exist in + sh anyway. Don't use aclocal, which is part of automake. + Don't create Mail hierarchy here (see test/runtest). + + * test/tests/folder/test-create, tests/folder/test-total: Drop + unused BINDIR. + + * tests/pick/test-pick: Remove failing no-op test. + + * test/tests/scan/test-scan: Write expected and actual output to + files and diff them. This way, if the output differs, diff + provides the FAILing exit code and shows the differences. + 2008-06-12 Josh Bressers * man/repl.man, etc/mhl.reply: Add an attribution line when replying to messages.