1. 29 Aug, 2018 2 commits
  2. 21 Aug, 2018 1 commit
    • Kevin J. McCarthy's avatar
      Remove compare_stat() call in safe_rename(). · 38647ab9
      Kevin J. McCarthy authored
      Some filesystems, such as sshfs, implement hard links strangely.  The
      hard link is created, but is represented by a different inode number
      by the sshfs layer.  The current maildir code goes into an infinite
      loop in this case.  Remove the compare_stat() and trust that a link()
      return code of 0 means the link really did get created.  Still, keep
      the stats just as a minor check.
      38647ab9
  3. 12 Aug, 2018 1 commit
    • Kevin J. McCarthy's avatar
      Add basic CONDSTORE support when fetching initial messages. · 9079c2a8
      Kevin J. McCarthy authored
      Store MODSEQ in the header cache, and use that to perform a "FETCH
      CHANGEDSINCE" for header updates when initially downloading messages.
      
      Further improvements could be made to add support when syncing.
      Handling MODSEQ for FLAG updates while the mailbox is open would be
      complicated by the fact that Mutt supports locally modified headers,
      so we couldn't accept the new (or subsequent) MODSEQ.
      
      However, this initial step may at least provide some benefit when
      opening the mailbox, which is generally the most time and data
      intensive.
      9079c2a8
  4. 19 Jun, 2018 2 commits
  5. 06 Jan, 2018 1 commit
    • Kevin J. McCarthy's avatar
      Fix improper signed int conversion of IMAP uid and msn values. · b8190ef3
      Kevin J. McCarthy authored
      Several places in the imap code, when parsing "number" and "nz-number"
      values from the IMAP data, use atoi() and strtol().  This is
      incorrect, and can result in failures when a uid value happens to be
      larger than 2^31.
      
      Create a helper function, mutt_atoui() and use that instead.  One
      place was using strtol() and relying on the endptr parameter, and so
      was changed to use strtoul() instead.
      
      Thanks to Paul Saunders for the bug report and original patch, which
      this commit is based on.
      b8190ef3
  6. 09 May, 2016 1 commit
    • Derek Martin's avatar
      Change M_* symbols to MUTT_* · 9cafb05c
      Derek Martin authored
      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.
      9cafb05c
  7. 01 Jan, 2016 2 commits
    • Kevin J. McCarthy's avatar
      Convert copyright years to all use 4 digit years. · 8ce41525
      Kevin J. McCarthy authored
      Vincent Lefèvre pointed out the common shortcut, e.g 1996-9, is
      actually not allowed for copyright years.  Convert all the copyright
      years (for mutt files) to use 4 digits.
      8ce41525
    • Kevin J. McCarthy's avatar
      Update copyright notices. · 1b329ffe
      Kevin J. McCarthy authored
      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.
      1b329ffe
  8. 26 Jan, 2015 1 commit
  9. 23 Jul, 2013 1 commit
  10. 04 Mar, 2013 1 commit
  11. 03 Dec, 2011 1 commit
    • Dan Fandrich's avatar
      Declare many structures const (closes #3552) · 05df9d08
      Dan Fandrich authored
      Many structs used in mutt are actually constant but are defined
      without the 'const' keyword. This can slow initialization (slightly)
      in some environments due to extra copying and increases the amount of
      writable RAM required at run-time, which can be significant on non-MMU
      systems. Using const can also increase the opportunities for compiler
      optimization.
      
      The attached patch marks many such structures as const. On my test x86
      build, this reduces the size of .data by over 50%.
      05df9d08
  12. 10 Aug, 2010 1 commit
  13. 08 Aug, 2010 1 commit
  14. 22 Jun, 2009 1 commit
  15. 21 Jun, 2009 1 commit
  16. 15 Jun, 2009 1 commit
  17. 01 Jun, 2009 1 commit
  18. 29 May, 2009 1 commit
  19. 15 Mar, 2009 1 commit
  20. 04 Jan, 2009 1 commit
    • Brendan Cully's avatar
      Update copyrights. Closes #3016. · ecad84f5
      Brendan Cully authored
      I went through the logs of each file with a copyright header and
      updated the years for the authors in the headers for any non-comment
      changes they introduced. What a pain!
      ecad84f5
  21. 28 Oct, 2008 1 commit
  22. 02 Jul, 2008 2 commits
  23. 26 Jun, 2008 1 commit
  24. 07 Dec, 2007 1 commit
  25. 31 Oct, 2007 1 commit
  26. 11 Apr, 2007 1 commit
  27. 07 Apr, 2007 1 commit
    • Michael Elkins's avatar
      bug #2871 · 5c733903
      Michael Elkins authored
      Avoid altering the argument to mutt_complete() when completion fails.  Previously, the trailing component of filename was removed each time the user pressed TAB.
      5c733903
  28. 06 Apr, 2007 2 commits
  29. 21 Mar, 2007 1 commit
  30. 03 Mar, 2007 1 commit
  31. 02 Jan, 2007 1 commit
  32. 09 Oct, 2006 1 commit
  33. 18 May, 2006 1 commit
    • Rocco Rutte's avatar
      Avoid safe_free() usage and add security checks · 503d12ff
      Rocco Rutte authored
      Add checks to check_sec.sh for memory functions.
      
      These include a check for use of safe_free() instead of FREE() and a
      check whether FREE(&...) is used.
      
      For the former, __SAFE_FREE_CHECKED__ is to be used, for the latter
      __FREE_CHECKED__ to avoid messages from check_sec.sh
      503d12ff
  34. 17 Sep, 2005 2 commits