1. 14 Nov, 2016 2 commits
    • Kevin J. McCarthy's avatar
      Create mx_ops.sync operation. Refactor compress to use the mx_ops.sync. · d3705ea8
      Kevin J. McCarthy authored
      Change compress.sync_mailbox() to lock the compressed mailbox around
      both the tempfile sync and compress operations.  This will prevent
      changes made inbetween the two syncs from being overwritten.
      Thanks to Damien Riegel for his original patch refactoring
      mx_ops.sync, which this patch is partially based upon.
    • Kevin J. McCarthy's avatar
      Compress patch from the neomutt repository. · 9bf6d74e
      Kevin J. McCarthy authored
      With the following changes:
      - po/de.po changes trimmed to just the compress additions.
      - Move the sample muttrc to contrib, and add it to the Makefile.am so it is
        distributed.  Remove the sample vimrc.
      - Remove extra fluff from manual.
      Thanks to Roland Rosenfeld for the original patch, and to the NeoMutt
      team for their work cleaning up the patch.
  2. 18 Jun, 2016 6 commits
  3. 17 Jun, 2016 1 commit
    • Kevin J. McCarthy's avatar
      Combine the basic and extended buffy functions. · 4bf01a88
      Kevin J. McCarthy authored
      Add a check_stats parameter to the mbox, maildir, and mh buffy
      functions.  Use that parameter to determine whether to also count
      total, new, and flagged messages.
      This makes the functions a bit more complicated, but improves
      efficiency (for maildir and mh).
      Also includes the following cleanup/fixes:
      * Move the orig-value counter reset to the beginnining of the loop,
        (before tmp->new is set to 0).
      * Change trashed maildir messages to not be counted in msg_count
      * Remove an incorrect setting of mailbox->new based on msg_count in
        maildir.  (I missed this one for 1f840760e6e0)
      * Change mbox to use the context->mtime for stats_last_checked,
        removing a race condition.
      * Fix mh to actually count the messages in order to generate msg_count.
        mh_sequences only covers the range of messages with some sort of
  4. 07 Jun, 2016 1 commit
    • Kevin J. McCarthy's avatar
      Make extended buffy independent of the sidebar. · 04a6356b
      Kevin J. McCarthy authored
      Add new boolean option $mail_check_stats (default off) and
      $mail_check_stats_interval.  The first turns extended buffy on.  The
      second sets the amount of time in between extended buffy checks
      (defaulting to 60 seconds).
      Remove the option $sidebar_refresh_time.
      Change mutt_buffy_check() to only notify the sidebar to redraw if a
      mailbox buffy value changes.
      Remove the #ifdefs around the extended buffy functions.  The next
      patch will merge these functions with the basic functions and pass a
      parameter instead.
      Imap is a special case, because it sends out the status in one batch.
      Change this to perform the comparisons inside cmd_parse_status() and
      flag the sidebar there.  It was previously directly assigning the
      status counters (unsigned int) to the buffy->new (short).  Change this
      to assign 1/0.
  5. 04 Jun, 2016 1 commit
    • Richard Russon's avatar
      Add neomutt version of sidebar patch. (closes #3829) · 389c74bb
      Richard Russon authored
      This is the patch from neomutt; branch 'devel/win-sidebar'; commit
      c796fa85f9cacefb69b8f7d8545fc9ba71674180 with the following changes:
        - move the sample muttrc and vimrc to contrib.
        - remove the README.sidebar.
        - empty out the PATCHES file.
  6. 26 May, 2016 1 commit
    • Damien Riegel's avatar
      add check operation to struct mx_ops · 938a5657
      Damien Riegel authored
      In mx_check_mailbox switch case, we simply call
      <mailbox>_check_mailbox, so this operation can be move into the mx_ops
      structure pretty easily.
      This commit adds a mandatory "check" operation to struct mx_ops and
      change all mailboxes to use it. Check functions are made static as they
      are only used in their respective source files now.
  7. 25 May, 2016 1 commit
    • Damien Riegel's avatar
      add open_new_msg operation to struct mx_ops · 802f2d76
      Damien Riegel authored
      The code was already using a function pointer to do this operation. This
      commit moves this function pointer to the mx_ops structure and the
      open_new_message functions to their respective source files if it needs
  8. 12 May, 2016 2 commits
    • Damien R.'s avatar
      Start decoupling mailbox operations. · d22efaae
      Damien R. authored
      Introduce a dedicated structure for mailbox operations: struct mx_ops.
      Move the open and close operations into that structure.
      Assign this structure to the context in mx_open_mailbox.  This is
      currently based on the "magic" for the mailbox type, but may be
      refactored in the future.
      Add a stub mbox_close_mailbox function.  This function does nothing,
      the main purpose is to introduce a mx_ops structure for mbox, so its
      usage is similar to mh/imap/pop.  We reuse the name that was made
      available by the previous commmit.  Note that the actual closing of
      the descriptor is done in mx.c.
      To be more consistent with other mailboxes, introduce functions
      mh_open_mailbox and maildir_open_mailbox, and create a dedicated
      structure for mmdf.
    • Damien R.'s avatar
      rename mbox_close_mailbox to mx_close_mailbox_append and move it · 740c8600
      Damien R. authored
      mbox_close_mailbox was used as the counterpart of
      mx_open_mailbox_append. To make things clearer, rename it
      As it is only used in mx.c, move it there and make it static.
  9. 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.
  10. 01 Jan, 2016 1 commit
    • 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.
  11. 23 Jan, 2013 1 commit
  12. 09 Aug, 2009 1 commit
  13. 19 Jun, 2009 1 commit
  14. 17 Sep, 2005 2 commits
  15. 05 Aug, 2003 1 commit
  16. 11 Dec, 2002 1 commit
  17. 28 May, 2002 1 commit
  18. 28 Mar, 2002 1 commit
  19. 24 Jan, 2002 1 commit
  20. 31 Oct, 2001 1 commit
  21. 26 Sep, 2001 1 commit
  22. 03 Aug, 2001 1 commit
  23. 10 Oct, 2000 1 commit
  24. 03 Mar, 2000 2 commits
  25. 23 Feb, 2000 1 commit
  26. 10 Jan, 2000 1 commit
  27. 06 Jan, 2000 1 commit
  28. 01 Sep, 1999 1 commit
  29. 04 Aug, 1999 1 commit
  30. 01 Jul, 1999 1 commit
  31. 07 Jan, 1999 1 commit