Lyndon Nerenberg [Sat, 24 Dec 2011 23:30:53 +0000 (15:30 -0800)]
Deprecate uname() in favour of (Posix) gethostname().
Ken Hornstein [Wed, 4 Jan 2012 01:20:26 +0000 (20:20 -0500)]
Sigh. I put the documentation about the -tls switch in the long description,
but not in the command summary.
Ken Hornstein [Tue, 3 Jan 2012 21:30:50 +0000 (16:30 -0500)]
Updated pending-release-notes
David Levine [Tue, 3 Jan 2012 21:16:29 +0000 (15:16 -0600)]
Added note about cpio failing to unpack an nmh tarball.
Ken Hornstein [Tue, 3 Jan 2012 20:17:54 +0000 (15:17 -0500)]
Switch to using buffered I/O when doing TLS (but only for output).
Ken Hornstein [Tue, 3 Jan 2012 15:36:14 +0000 (10:36 -0500)]
Updated these files since we've finally got 1.4 out the door.
David Levine [Wed, 28 Dec 2011 04:41:24 +0000 (22:41 -0600)]
Moved #endif so that lockit () is only declared with DOT_LOCKING, to avoid compile warning without it.
David Levine [Wed, 28 Dec 2011 04:38:52 +0000 (22:38 -0600)]
Reworked nmh.spec to support rpmbuild from source RPM.
David Levine [Sun, 25 Dec 2011 21:00:49 +0000 (15:00 -0600)]
Removed unused vmh.c and wmh.c.
David Levine [Sun, 25 Dec 2011 02:28:50 +0000 (20:28 -0600)]
Changed second argument of calls to part_ok() and type_ok() from
0 to 1, to match what store_multi() in mhstoresbr.c does.
A test case is below. Without this fix, the following command:
mhshow -part 1.1 -form mhl.null
produced no output. mhlist showed a part 1.1:
msg part type/subtype size description
1231 multipart/mixed 276
1 multipart/related 107
1.1 text/plain 29
and "mhstore -part 1.1" properly stored it. With this
fix, mhshow behaves properly and shows the part.
Analogous behavior happened with -type text/plain.
test case:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="NextPart_001"
Content-class: urn:content-classes:message
Date: Thu, 19 May 2011 00:00:00 -0000
From: sender@example.com
To: recipient@example.com
This is a multi-part message in MIME format.
--NextPart_001
Content-Type: multipart/related;
type="multipart/alternative";
boundary="NextPart_002"
--NextPart_002
Content-Type: text/plain;
charset="utf-8"
This is the text/plain part.
--NextPart_002--
--NextPart_001--
David Levine [Sun, 25 Dec 2011 01:36:32 +0000 (19:36 -0600)]
Replaced cvs with git references. I'm not sure about the cgit
URL at the very end. Also removed mention of source directories
that were deprecated and removed long ago.
David Levine [Sat, 24 Dec 2011 15:59:45 +0000 (09:59 -0600)]
Added --with-rpmdir configure option so that user can set location of RPM build root.
David Levine [Wed, 14 Dec 2011 00:33:07 +0000 (18:33 -0600)]
Added comments about source of description, etc.
David Levine [Tue, 13 Dec 2011 04:50:06 +0000 (22:50 -0600)]
Replaced use of GNU make shell function with backticks. These were
for the rpm target, which would most likely only be build on Linux.
So they probably would have been OK, but just in case.
David Levine [Tue, 13 Dec 2011 04:25:52 +0000 (22:25 -0600)]
The docs/Makefile install target didn't do anything before. Added
the files that go into doc to it, and removed them from nmh.spec.
nmh.spec should now require zero maintenance.
David Levine [Tue, 13 Dec 2011 03:45:17 +0000 (21:45 -0600)]
Added RPM/ so that git status doesn't mention that it's an untracked file.
David Levine [Tue, 13 Dec 2011 03:37:47 +0000 (21:37 -0600)]
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
David Levine [Tue, 13 Dec 2011 03:35:52 +0000 (21:35 -0600)]
Moved version number from nmh.spec to Makefile.in, to minimize
maintenance for nmh.spec.
Ken Hornstein [Mon, 12 Dec 2011 17:59:42 +0000 (12:59 -0500)]
Make sure to not reset hghnum (in the Maildir code) if we are incorporating
mail from a POP mailbox.
David Levine [Sun, 11 Dec 2011 23:03:56 +0000 (17:03 -0600)]
Added first cut at nmh.spec, along with rpm: target in Makefile.in.
David Levine [Sun, 11 Dec 2011 19:44:50 +0000 (13:44 -0600)]
Removed netdb.h because we no longer distribute it.
David Levine [Sun, 11 Dec 2011 16:24:20 +0000 (10:24 -0600)]
Removed unused local variables to eliminate warnings from gcc 4.6.2.
Ken Hornstein [Wed, 7 Dec 2011 17:00:26 +0000 (12:00 -0500)]
Make sure to ignore the nmh dist file.
Ken Hornstein [Wed, 7 Dec 2011 16:36:53 +0000 (11:36 -0500)]
Since we're now moving past 1.4, bump this.
David Malone [Wed, 7 Dec 2011 15:19:40 +0000 (10:19 -0500)]
Add support to inc for incorporting email from Maildir dropboxes.
Add missing #include for <sys/socket.h> to bring in definitions of PF_UNSPEC.
Signed-off-by: Ken Hornstein <kenh@pobox.com>
Ken Hornstein [Wed, 13 Apr 2011 14:50:49 +0000 (10:50 -0400)]
Whoops, user & port were in the wrong order so msgchk didn't work for POP
connections.
Ken Hornstein [Tue, 22 Feb 2011 01:44:30 +0000 (20:44 -0500)]
Updated the developer README with a few notes about the git conversion.
Signed-off-by: Ken Hornstein <kenh@pobox.com>
Paul Vixie [Mon, 7 Feb 2011 19:13:54 +0000 (14:13 -0500)]
Signed-off-by: Ken Hornstein <kenh@pobox.com>
More documentation about the hooks support.
Peter Maydell [Tue, 21 Dec 2010 16:50:24 +0000 (16:50 +0000)]
Clean up code in inc.c
Clean up the confusing use of a variable 'i' in inc.c.
The case where it was being used as 'an error occurred
which means we should not truncate the mailspool' is now
called 'incerr' and merged with the equivalent 'p' variable
used in the POP-specific code. Cases where it was being
used as a random temporary are still called 'i' but now
declared with a much more restricted scope.
This fixes a compilation warning for some compilers.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Suppress tsort diagnostic waffle
tsort produces waffle to standard error if it detects loops in its input.
For our purposes in ordering object files this is harmless, so just send
it all to /dev/null.
Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix unused-function warnings in lex output
Fix the unused-function warnings in the output of lex. In particular, we
silence a warning about yyunput being static but unused by exposing it as
a global function. This costs us a few hundred bytes in the binary but
the other available solutions are flex-specific or more complicated.
YY_NO_UNPUT used to silence this but no longer works in recent flex.
On the other hand YY_NO_INPUT does work to silence warnings about input().
Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix used-uninitialised warning in fmt_rfc2047.c
Fix a used-uninitialised warning in fmt_rfc2047.c.
I don't think it can actually be used uninitialised, but the
code is too complicated for the compiler to realise this.
Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix used-uninitialised warning in new.c
Fix a used-uninitialised warning in new.c by having the check_folders()
routine return first=last=NULL for empty folder lists. This is a more
sensible API anyway. (It would not actually have been possible for
the code to try to use last while it was uninitialised, as it happens.)
Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
Peter Maydell [Mon, 20 Dec 2010 21:13:32 +0000 (21:13 +0000)]
Fix crash if fnext/fprev are given an empty folder list
Add a check for a NULL pointer, which stops fnext/fprev
from segfaulting if given an empty folder list (for example
via 'fnext -folders emptyfile').
Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
Peter Maydell [Mon, 20 Dec 2010 19:54:43 +0000 (19:54 +0000)]
Fix warning in sbr/folder_addmsg.c by code cleanup
Clean up some rather oddly written code in folder_addmsg()
so it is easier to understand for both humans and for the
compiler (and the compiler thus stops complaining about an
uninitialised variable).
Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
Ken Hornstein [Thu, 16 Dec 2010 18:20:31 +0000 (13:20 -0500)]
Fix so this compiles without SASL support.
Damn you, Oliver Kiddle, for finding all of the bugs I add to nmh!
Ken Hornstein [Thu, 16 Dec 2010 18:11:17 +0000 (13:11 -0500)]
All of the arguments to AC_ARG_ENABLE need to be quoted, otherwise the
last action doesn't make it into the configure script.
Ken Hornstein [Thu, 16 Dec 2010 18:02:32 +0000 (13:02 -0500)]
Make sure we ignore config.h.in~
Markus Schnalke [Thu, 16 Dec 2010 00:36:43 +0000 (01:36 +0100)]
fix typo and clarify two sentences in mhpath man page
Markus Schnalke [Thu, 16 Dec 2010 00:25:11 +0000 (01:25 +0100)]
improve mhparam man page
Oliver Kiddle [Thu, 16 Dec 2010 00:23:16 +0000 (01:23 +0100)]
fix badly formatted code found by Markus Schnalke
Scott Snyder [Wed, 15 Dec 2010 21:17:52 +0000 (22:17 +0100)]
propagate and check return status of close() in slocal
Markus Schnalke [Wed, 15 Dec 2010 21:02:30 +0000 (22:02 +0100)]
document msg parameter to folder
Oliver Kiddle [Tue, 14 Dec 2010 17:04:01 +0000 (18:04 +0100)]
switches need to be renumbered following removal of some switches so,
e.g. inc -version was not working
Ken Hornstein [Thu, 9 Dec 2010 20:29:29 +0000 (15:29 -0500)]
Massive garbage collection. Remove functionality for APOP, RPOP,
all NNTP support (including bboards) and MPOP.
David Levine [Wed, 8 Dec 2010 20:36:36 +0000 (14:36 -0600)]
* uip/whatnowsbr.c: enforce requirement of at least one file
argument to attach command.
David Levine [Wed, 8 Dec 2010 16:47:03 +0000 (10:47 -0600)]
man/send.man: added name= portion to Content-Type
headers to reflect 2006-10-24 change to uip/sendsbr.c.
That change allowed mhstore to use the (file)name when
extracting attachments.
Ken Hornstein [Fri, 3 Dec 2010 20:23:11 +0000 (15:23 -0500)]
Remove RCS keywords, since they no longer work after git migration.
Ken Hornstein [Fri, 3 Dec 2010 02:04:30 +0000 (21:04 -0500)]
Whoops, forgot to bracket the calls for TLS shutdown with a #ifdef TLS_SUPPORT
Ken Hornstein [Fri, 3 Dec 2010 01:37:54 +0000 (20:37 -0500)]
Update for git conversions (and cleanup of autogen.sh to use autoreconf)
Ken Hornstein [Thu, 2 Dec 2010 23:03:22 +0000 (18:03 -0500)]
Change configure.in to emit a warning when an argument is given to
--with-cyrus-sasl.
Ken Hornstein [Sun, 21 Nov 2010 22:19:51 +0000 (22:19 +0000)]
Fix the test for sasl.h to look in the correct place.
Ken Hornstein [Fri, 19 Nov 2010 20:13:39 +0000 (20:13 +0000)]
(Minor) cleanup of some of the autoconf code with respect to the handling
of compiler flags for SASL, and also rototill (and simplify) the autoconf
handling for the same.
Add TLS support for the SMTP MTA.
Peter Maydell [Fri, 12 Nov 2010 23:28:26 +0000 (23:28 +0000)]
man/slocal.man: fix formatting error that meant a subsection heading
wasn't displayed as such. Followon cleanup: since the new heading is too
wide to fit in the margin, tidy the margin to 4 characters wide so we
are consistent with how all the headings are displayed.
Peter Maydell [Wed, 10 Nov 2010 22:26:07 +0000 (22:26 +0000)]
configure.in: add a level of expansion for mandir when printing the
end-of-configure install path summary.
Peter Maydell [Tue, 9 Nov 2010 21:33:22 +0000 (21:33 +0000)]
man/rmm.man: fix error in synopsis: the option is [no]unlink, not [no]link.
Peter Maydell [Fri, 5 Nov 2010 22:06:10 +0000 (22:06 +0000)]
Silence a (harmless) uninitialized variable warning.
David Levine [Tue, 31 Aug 2010 15:00:53 +0000 (15:00 +0000)]
* uip/.cvsignore: added "new".
Earl Hood [Sat, 6 Feb 2010 07:47:38 +0000 (07:47 +0000)]
#ifdef AI_ADDRCONFIG since older IPv4-only systems may not define this flag,
causing files that use to not compile.
Earl Hood [Sat, 6 Feb 2010 07:45:47 +0000 (07:45 +0000)]
Fixed variable declaration so older compilers will not complain.
I.e. Older compilers may not support C99, so variables must be
declared at the beginning of a block.
Earl Hood [Thu, 4 Feb 2010 01:39:21 +0000 (01:39 +0000)]
* Bug #15213, #18635: The use of the insecure m_scratch() and
m_tmpfil() functions have been replaced by m_mktemp()
or m_mktemp2() functions (defined in sbr/m_mktemp.c).
The new functions use mkstemp() to securely create
temporary files to avoid the numerous race conditions
that exist with the old functions. This does assume
that mkstemp() is available. Unsure if we need to
create an alternative implementation if mkstemp() is
not available. More information about new temp file
functions in m_mktemp.c, including the support for
MHTMPDIR, TMPDIR, and TMP envvars.
NOTE: The files sbr/m_scratch.c and sbr/m_tmpfil.c should be removed.
Until more testing verifies changes to support new functions have not
broken functionality, the files are be left in the tree, but comments
have been added stating the functions in them should not be called.
Earl Hood [Wed, 3 Feb 2010 05:56:56 +0000 (05:56 +0000)]
* mts/smtp/smtp.c: added SASL support if mts configuration
setting is set to "sendmail". This is useful if sendmail
conf option is to a custom script that creates a proxy
connection to an smtp server.
* sbr/mts.c: added support for MHMTSCONF and MHMTSUSERCONF
envvars. The former specifies an alternative system
mts.conf to use. The later specifies a user-specific
mts.conf to use. This one will be read after the system
conf, so the user's conf only needs to set options they
want to override. The MHMTSUSERCONF allows a user to set
personal alternative mail submission methods w/o affecting
other users on the system.
* uip/whom.c: added SASL-based options so address checking
can work against a server that requires SASL.
David Levine [Wed, 30 Dec 2009 01:42:45 +0000 (01:42 +0000)]
* uip/mhlistsbr.c, uip/mhlsbr.c, uip/picksbr.c: cast
pointers to unsigned long before casting to unsigned int
to avoid warnings on 64-bit about casting from pointer
to int of different size.
David Levine [Wed, 30 Dec 2009 01:41:47 +0000 (01:41 +0000)]
* uip/new.c: cast folder_len to int to avoid warning on
64-bit about passing a size_t to an int conversion specifier.
David Levine [Fri, 25 Dec 2009 14:47:39 +0000 (14:47 +0000)]
* uip/inc.c: gcc 4.4.1 noticed that maildir could have been
used before initialization. In fact, if that code was ever
reached, maildir would never have been initialized. It's in
an adios call, so replaced with NULL.
David Levine [Mon, 21 Dec 2009 17:18:04 +0000 (17:18 +0000)]
* mts/smtp/smtp.c: In sm_auth_sasl (), removed zeroing of
sasl_inbuffer because it could be used in sm_fget (). Also,
removed allocation of sasl_inbuffer because that was done in
either smtp_init () or sendmail_init ().
Josh Bressers [Mon, 26 Jan 2009 13:38:13 +0000 (13:38 +0000)]
Remove duplicate sm_fgetc() declaration
Ken Hornstein [Wed, 21 Jan 2009 19:38:36 +0000 (19:38 +0000)]
Fix warning in getaddrinfo() call.
Add missing support for -port in whatnow.
Make sure the SASL input buffer is allocated when using the sendmail mts.
Eric Gillespie [Sun, 18 Jan 2009 04:48:42 +0000 (04:48 +0000)]
* etc/mhn.defaults.sh: Never try to make mhshow start xterm.
Eric Gillespie [Sat, 17 Jan 2009 16:53:07 +0000 (16:53 +0000)]
Note 'new' commands.
Eric Gillespie [Sat, 17 Jan 2009 16:47:29 +0000 (16:47 +0000)]
* test/runtest, test/tests/inc/test-
deb359167,
test/tests/inc/test-eom-align, test/tests/manpages/test-manpages:
Load common.sh via absolute path, otherwise some /bin/sh
(e.g. dash) can't load it.
* uip/Makefile.in, uip/new.c, test/tests/new/test-basic: Add new
program, and fn/fp/unseen symlinks.
* test/{runtest,setup-test}: Move MH profile under Mail directory
so each test script will have its own to muck with, if needed.
* h/Makefile.in, h/crawl_folders.h, sbr/Makefile.in,
sbr/crawl_folders.c, uip/folder.c: Extract the folder crawling
code from folder.c into new crawl_folders function, using a
callback to assemble the folder info in folder.c. Drop compare
function and use strcmp instead. Rename addfold and addir to
add_folder and add_children (add dir vs. add folder?
confusing names).
Ken Hornstein [Fri, 16 Jan 2009 15:48:09 +0000 (15:48 +0000)]
Move freeaddrinfo() to inside of our loop; this prevents a memory leak
and also prevents it from being called with a NULL pointer.
Ken Hornstein [Fri, 16 Jan 2009 02:28:54 +0000 (02:28 +0000)]
Massive overhaul of networking code. Changes:
- All networking interfaces now converted to new APIs (getaddrinfo() and
the like). All networking now supports IPv6 (with the exception of
the built-in FTP client).
- SASL security layers are now supported for SMTP.
- Command-line and profile-based selection of the SMTP server and port.
Peter Maydell [Fri, 26 Dec 2008 21:54:19 +0000 (21:54 +0000)]
* sbr/m_getfld.c: fix two bugs which could cause us to walk off
the beginning of the stdio or prefix-string buffer when checking
for presence of the end-of-message delimiter in some situations.
This might cause inc to dump core if you were unlucky. (This was
Debian bug 359167.)
* test/tests/inc/{md5sums,msgheader.txt,test-
deb359167,
test-eom-align,fromline.txt,filler.txt,
deb359167.mbox}: new tests
both for the specific problem and to try to check various alignments
of the eom string with the stdio buffer ending.
* test/common.sh: Added some functions for doing progress indicators.
Peter Maydell [Fri, 26 Dec 2008 16:32:07 +0000 (16:32 +0000)]
test/common.sh: new file for common utility functions for the test scripts.
Moved findprog out of manpage test script into this new file.
Peter Maydell [Thu, 25 Dec 2008 23:30:33 +0000 (23:30 +0000)]
test/runtest: automatically run setup-test if it hasn't already
been done. Improve error handling in test script with 'set -e'.
David Levine [Thu, 23 Oct 2008 18:38:22 +0000 (18:38 +0000)]
* h/mh.h: raised NAMESZ from 128 to 999. RFC 2822 limits line
lengths to 998 characters, so a header name can be at most that long.
m_getfld limits header names to 2 less than NAMESZ, which is fine,
because header names must be followed by a colon. Add one for
terminating NULL.
David Levine [Thu, 23 Oct 2008 18:14:52 +0000 (18:14 +0000)]
* sbr/m_getfld.c: in warning message, use NAMESZ-2 instead of
NAMESZ-1 bytes because the message says "exceeds", not
"is greater than or equal to".
David Levine [Thu, 23 Oct 2008 16:45:36 +0000 (16:45 +0000)]
* docs/MAIL.FILTERING: added note on removing procmail -f or
-r options to try to suppress generation of a "From " line on
incoming messages.
Eric Gillespie [Tue, 19 Aug 2008 04:36:42 +0000 (04:36 +0000)]
+mhn.defaults.sh.cfg
Eric Gillespie [Thu, 14 Aug 2008 19:47:29 +0000 (19:47 +0000)]
* test/setup-test: Don't run autogen.sh unless needed. Build in a
blddir under the temporary directory so as not to interfere with
whatever the developer may be doing in the source directory.
If the temporary directory already exists, rebuild and install it.
Eric Gillespie [Thu, 14 Aug 2008 06:19:08 +0000 (06:19 +0000)]
This is what happens with last-minute "safe" improvements: actually point
chset to something in the new merged InitText!
Eric Gillespie [Thu, 14 Aug 2008 01:50:45 +0000 (01:50 +0000)]
* sbr/ambigsw.c: Send print_sw output to stderr. This avoids
strange problems with scan `pick -bogus`, not to mention being
nicer anyway.
* sbr/getans.c, sbr/print_help.c, uip/msh.c: Send print_sw output
to stdout.
* h/prototypes.h, sbr/print_sw.c (print_sw): Add FILE * argument
and send output there rather than to stdout.
* test/tests/pick/test-stderr: Add test that error messages don't
end up going to stdout.
Eric Gillespie [Thu, 14 Aug 2008 01:31:11 +0000 (01:31 +0000)]
* uip/pick.c: Ensure valid sequence name as soon as we parse it from
command, instead of searching the messages first.
Eric Gillespie [Thu, 14 Aug 2008 01:28:56 +0000 (01:28 +0000)]
* uip/pick.c: Print matching messages immediately, instead of
waiting until the very end to print anything.
Eric Gillespie [Thu, 14 Aug 2008 01:11:12 +0000 (01:11 +0000)]
* uip/Makefile.in, uip/popi.c: Remove popi.c, which has been dead
since PatchSet 257 (2000/06/12 11:07:34 UTC).
Eric Gillespie [Thu, 14 Aug 2008 00:56:38 +0000 (00:56 +0000)]
* 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.
Eric Gillespie [Wed, 13 Aug 2008 23:59:56 +0000 (23:59 +0000)]
Oops, meant to use $failed (number of failed checks) as the exit code.
Eric Gillespie [Wed, 13 Aug 2008 23:32:03 +0000 (23:32 +0000)]
Add descriptive headers, as other tests have.
Eric Gillespie [Wed, 13 Aug 2008 18:27:36 +0000 (18:27 +0000)]
* 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.
Eric Gillespie [Wed, 13 Aug 2008 01:01:12 +0000 (01:01 +0000)]
* 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).
Eric Gillespie [Wed, 13 Aug 2008 01:00:20 +0000 (01:00 +0000)]
Ignore test-temp-dir.
Paul Fox [Tue, 12 Aug 2008 21:01:30 +0000 (21:01 +0000)]
add one more hint for developers, to explicitly point at docs/README.developers
Peter Maydell [Tue, 12 Aug 2008 18:04:29 +0000 (18:04 +0000)]
autogen.sh (new file): add script for running the GNU autotools in the
right order. Mention and use new script in the appropriate places.
Eric Gillespie [Fri, 8 Aug 2008 23:45:24 +0000 (23:45 +0000)]
* sbr/discard.c, sbr/m_getfld.c, uip/scansbr.c: Add support for
DragonFlyBSD stdio (from NetBSD pkgsrc).
Eric Gillespie [Fri, 8 Aug 2008 04:45:05 +0000 (04:45 +0000)]
s/ls/cd/ in comment (probably pasted from test-ls)
Peter Maydell [Tue, 5 Aug 2008 21:06:00 +0000 (21:06 +0000)]
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.
Plus autoconf machinery to detect d_type field. Patch from Eric Gillespie.
Peter Maydell [Tue, 5 Aug 2008 19:09:03 +0000 (19:09 +0000)]
Dump hacky overoptimisation in addir -- it doesn't actually get the case
of symlinks to directories right. Patch from Eric Gillespie.
Peter Maydell [Tue, 5 Aug 2008 19:05:23 +0000 (19:05 +0000)]
Simplify dodir/addir/addfold (patch from Eric Gillespie)
Peter Maydell [Sun, 3 Aug 2008 18:47:56 +0000 (18:47 +0000)]
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.