summaryrefslogtreecommitdiffstats
path: root/mbox.c
AgeCommit message (Collapse)Author
2016-05-09Change M_* symbols to MUTT_*Derek Martin
Changeset 23334e967dd7 created a workaround for a namespace conflict with Solaris and derivatives. After some discussion, the team decided it would be best to move away from using the "M_" prefix for macros. This patch was automatically generated by running: perl -wpi -e 's/\bM_(\w+)\b/MUTT_$1/g' `find . -name '*.[ch]' -print` with the exception that sys_socket.h was exempted. (That file will be backed out subsequent to this commit.) Thanks to Andras Salamon for supplying the perl script used to make this change.
2016-03-15Prevent ctx->fp from being closed twice in the event of an error.Kevin McCarthy
The previous patch from Vincent exposed a crash if ftruncate() fails in mbox_sync_mailbox(). Change fclose() to safe_fclose(), to avoid it being called twice.
2016-03-15Check return value of ftruncate() in mbox_sync_mailbox().Vincent Lefevre
Generate an error in the event that ftruncate() fails.
2016-01-01Update copyright notices.Kevin McCarthy
This patch only updates existing copyright notices in the source files, using commit dates since the last copyright update in commits e3af935cdb1a and f8fd60d8d3f2. Add a notice to the COPYRIGHT file to refer to our mercurial repository for the full commit history. Add myself to the COPYRIGHT file and smime_keys.pl file.
2013-07-23fix typos in commentsOndřej Bílka
2013-04-11backout c1371176ea45Michael Elkins
2013-04-10fix various compiler warnings; most were due to unchecked return values from ↵Michael Elkins
system calls.
2011-05-22Fix some minor warningsBrendan Cully
2010-09-20Fix typoEmanuele Giaquinta
2010-09-12add $mail_check_recent boolean to control whether Mutt will notify about all ↵Michael Elkins
new mail, or just new mail received since the last visit to a mailbox closes #3271 partly addresses #3310
2010-08-05when parsing From_ lines in mmdf/mbox, the TZ should be computed based on ↵Michael Elkins
the time in the string rather than the current time, otherwise DST issues cause the computed time to be wrong. closes #2177
2009-06-21Pass buffer size to mutt_mktemp()Rocco Rutte
2009-06-19Fixup atime for mbox/mmdf also when mailbox is unchanged but has new mail. ↵Rocco Rutte
See #1362.
2009-06-19Don't mangle atime/mtime for mbox folders without new mail upon sync. Closes ↵Rocco Rutte
#1362, #3271.
2009-06-18Backout experimental patchRocco Rutte
2009-06-18UPDATING: add note about -a and --Rocco Rutte
2009-06-10Only print messages about CONTEXT when quiet flag not setRocco Rutte
2009-05-30Keep new mail flag for mbox/mmdf folders after closing. Closes #1362.Rocco Rutte
2009-05-13Prune empty address groups when preparing replies. Closes #2875.Rocco Rutte
2009-05-13Actually reopen mbox/mmdf files in case we find modifications. Closes #2725.Rocco Rutte
Since the file is changed while we have it open in ctx->fp, we likely get wrong information when parsing the mailbox. Now we explicitely close and (re)open it.
2009-05-12Backout errorneously commited mbox atime fixRocco Rutte
2009-05-12Fix description for <save-message>Rocco Rutte
2009-03-15Use safe_fclose() instead of fclose(), add fclose() to check_sec.shRocco Rutte
2008-07-02Use realpath() in mutt_pretty_mailbox() for paths that may need it.Rocco Rutte
This requires to add the buffer size as parameter since the result may be longer than the original but still fit in the buffer. Closes #2948.
2008-06-25Make mutt_copy_message distinguish between fatal and non-fatal errors.Brendan Cully
Non-fatal errors should prevent moving messages, since they indicate data loss. But mutt should still attempt to display them, since being able to see some attachments is better than nothing. Also stop printing out non-PGP material in application/pgp attachments. Closes #2545, #2912.
2008-05-21Use ftello() instead of ftell() in more places that need it (fixesRocco Rutte
progress updates for >2 GB mbox files)
2008-03-11Respect ctx->quiet when initializing progress bar.N.J. Mann
2007-11-06Add percentages to progress bar optionally supplied by caller.Rocco Rutte
This is necessary to let the mbox driver print useful percentages. If there's no percentage given and we have a size, calculate on it on our own. Closes #2929.
2006-11-28Rename PROG_(SIZE|MSG) to M_PROGRESS_\1.Rocco Rutte
2006-11-21Teach mbox/mmdf to use the new progress update API.Rocco Rutte
2005-10-21Full large file support. Keep a close watch on your mailboxes everyone!Brendan Cully
2005-09-24Use fseeko/ftello when available while opening mbox/mmdf. Closes: #2084.Brendan Cully
2005-09-17Gah, forgot the zip code when updating the FSF address...Brendan Cully
2005-09-17Update FSF address (via sed, I hope nothing got mangled). Closes: #2071.Brendan Cully
2005-08-01Restore Sort immediately after sorting by mailbox order in mbox_sync_mailbox.Brendan Cully
(closes #972)
2005-02-03Add config.h to the top of every C file that could possibly want it.Brendan Cully
Remove it from mutt.h
2004-07-19Fix some compiler warnings.David Champion
2004-02-07Hi, off_t is a 64-bit number (like on Mac OS X/darwin), theJuan Altmayer Pizzorno
percentages don't show right while mutt is reading/parsing a mailbox. Here's a patch (against 1.5.6i) to fix that.
2003-08-05This patch removes the Kendra format from mutt. (The support wasBrendan Cully
broken anyways.)
2002-12-10Replace safe_free calls by the FREE macro.Thomas Roessler
2002-03-28patch-1.3.28-me.emptycheck.1Thomas Roessler
2001-10-31Advanced threading, v 5.1. From Daniel EisenbudThomas Roessler
<eisenbud@cs.swarthmore.edu>.
2001-07-24Add a status message, so "Writing messages" doesn't stay on screenThomas Roessler
forever.
2001-05-10A slightly extended version of Dave Ewart's sleeptime patch.Thomas Roessler
2000-07-07Fix #185: is_from would return 0 (i.e., error) when parsing Jan 1Thomas Roessler
1970 12:00 - apparently, this point of time occurs on real mail folders.
2000-06-21Fix another bug in mbox synching.Thomas Roessler
2000-06-08This patch should fix the mailbox corruption various people observed.Thomas Roessler
2000-06-08Improve error reporting with mbox folders a bit.Thomas Roessler
2000-03-03The FSF apparently has moved.Thomas Roessler
2000-03-03Fix index updates when closing or synching mail folders fails.Thomas Roessler
There were some bug-fixes hidden in that code.