1. 08 Mar, 2017 2 commits
    • Kevin J. McCarthy's avatar
      Move the OpenSSL partial chain support check inside configure.ac. (see #3916) · a51d6478
      Kevin J. McCarthy authored
      Instead of directly checking whether X509_V_FLAG_PARTIAL_CHAIN is
      defined everywhere, do it once inside configure.  This will allow
      better support in the future if the test needs to change.
    • Matthias Andree's avatar
      Add $ssl_verify_partial_chains option for OpenSSL. (closes #3916) · f4fbf0bb
      Matthias Andree authored
      The reworked OpenSSL certificate validation took away a "feature" of
      the previous implementation: the ability to reject a node in the chain
      and yet continue to the next node.
      If this new option is set to 'yes', enables OpenSSL's
      X509_V_FLAG_PARTIAL_CHAIN flag to reinstate the functionality and permit
      to use a non-root certificate as the trust anchor.
      This option is only available if OpenSSL offers the
      X509_V_FLAG_PARTIAL_CHAIN macro, which should be the case as of 1.0.2b
      or later.
      Code written by Kevin McCarthy and Matthias Andree.
  2. 22 Feb, 2017 1 commit
  3. 08 Feb, 2017 1 commit
  4. 29 Jan, 2017 1 commit
  5. 24 Jan, 2017 1 commit
    • dgc's avatar
      Add subjectrx command to replace matching subjects with something else. · 0663272c
      dgc authored
      This lets you define regular expressions-replacement pairs for subject
      display.  When a Subject: matches the regular expression, the replacement
      value will be displayed instead in the message index.  Backreferences
      are supported.
      This is especially nice for simplifying subjects that are overly wordy,
      such as mailing list posts (with [Listname] tags, etc), mail from
      ticketing systems or bug trackers, etc.  It lets you reduce clutter in
      your mutt display without altering the messages themselves.
  6. 19 Jan, 2017 1 commit
    • Kevin J. McCarthy's avatar
      Fix sidebar references to the "new count" to be "unread". (closes #3908) · 753de4f0
      Kevin J. McCarthy authored
      %N in $sidebar_format and "new"in $sidebar_sort_method actually use
      the unread message count.  Update the documentation to mention that.
      Add an "unread" method to $sidebar_sort_method, but preserve "new" for
      Change the SORT_COUNT_NEW constant to SORT_UNREAD, so the code is also
      consistent with the meaning.
      Thanks to cri for reporting the problem and suggesting where to fix it
      in the code.
  7. 27 Dec, 2016 2 commits
  8. 13 Dec, 2016 1 commit
  9. 12 Dec, 2016 1 commit
    • dgc's avatar
      Add setenv/unsetenv commands. · b32f0034
      dgc authored
      These can be used to add and remove environment variables passed to
      children via mutt_system().
      Commited by Kevin McCarthy with some cleanup.
  10. 17 Nov, 2016 1 commit
    • dgc's avatar
      Adds <mark-message> binding to create "hotkeys" for messages. · fdeb4c48
      dgc authored
      <mark-message>foo<enter> will create a new macro "'foo" which will
      return to the current message by searching for that message's
      message id.  The initial character of the macro is defined by
      $mark_macro_prefix, and defaults to "'" for verisimilitude vs. vi.
      Pushed by Kevin McCarthy with a minor fix.
  11. 16 Nov, 2016 1 commit
  12. 14 Nov, 2016 1 commit
    • 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.
  13. 08 Nov, 2016 1 commit
  14. 13 Oct, 2016 1 commit
  15. 08 Sep, 2016 2 commits
  16. 23 Aug, 2016 2 commits
    • Kevin J. McCarthy's avatar
      Add $attribution_locale configuration variable. · 2aa9e422
      Kevin J. McCarthy authored
      $attribution_locale replaces the just removed $locale, but is only
      used for customizing the LC_TIME locale used for dates in
      This could be useful in conjunction with folder or send-hooks for
      recipients in different locales.
    • Kevin J. McCarthy's avatar
      Remove the $locale configuration variable. · deb6db77
      Kevin J. McCarthy authored
      $locale was only used to set the LC_TIME locale.  Unfortunately, Mutt
      previously defaulted to using "C".  This overrode the user's locale
      setting and forced them to re-specify their locale inside their
      Remove $locale and instead use the locale specified by the
      environment.  Mutt still allows "C locale" dates by using a leading
      "!" in $date_format, ${}, etc.
      Another use of $locale was to customize attribution dates using hooks.
      The next commit will introduce $attribution_locale, which can be used
      for this instead.
      Thanks to Derek Martin for the original patch!
  17. 05 Aug, 2016 1 commit
  18. 30 Jul, 2016 1 commit
    • Kevin J. McCarthy's avatar
      Add unread and total message count format strings to $folder_format. · c8c9bbd1
      Kevin J. McCarthy authored
      %n will show the unread message count in the mailbox.  %m will show
      total message count.  Except for %n with IMAP, these both require
      $mail_check_stats to be set, which puts these counts inside BUFFY.
      Since the imap_mboxcache is never fresher than the value in BUFFY,
      remove the special imap_mailbox_state() call.  Instead, just update
      from the current Context for all mailboxes.
      Remove the logic that overrode the %N format string to show unread
      count for IMAP mailboxes.  If they want to see unread count, they will
      have to change the $folder_format.
      Although it doesn't look possible to reuse browser_state.entry slots,
      change the OP_DELETE_MAILBOX to memset(0) the deleted slot.  Then, we
      can change to logic in add_folder() so it doesn't need to zero-out
      unset values.
  19. 18 Jul, 2016 1 commit
    • Kevin J. McCarthy's avatar
      Add the trash folder patch. · 347c517c
      Kevin J. McCarthy authored
      This is based on the trash folder patch by Cedric Duval.
      Modifications to the original patch are:
      * Use a flag called M_PURGE instead of M_APPENDED.  The same flag is
        then used in the following "purge" patch instead of adding a
        different flag.
      * Removed the counter in context.  The existing context->deleted
        is all that's needed.
      * Removed the "auto unset M_PURGE" when M_DELETED is unset inside
        _mutt_set_flag(), although this is convenient, it easily leads to
        header->purge not being reset in a few situations.
      * Reset purge flag along with the deleted flag if $delete is answered
      * Set M_PURGE on an edited message. (edit_one_message())
      * Preserve purge flag in mutt_reopen_mailbox()
      * Turn off OPTCONFIRMAPPEND when saving to the trash, rather than
        hardcoding it off in mutt_save_confirm().  That way, normal save to the
        folder will respect the option.
  20. 02 Jul, 2016 2 commits
  21. 29 Jun, 2016 1 commit
  22. 28 Jun, 2016 1 commit
  23. 21 Jun, 2016 1 commit
  24. 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.
  25. 08 Jun, 2016 2 commits
  26. 04 Jun, 2016 2 commits
    • Kevin J. McCarthy's avatar
      Clean up the sidebar manual. · 237cc214
      Kevin J. McCarthy authored
      Remove the introduction section.  It's a nice effort, but reads more
      like a tutorial than something that belongs in section 2.  Will
      probably put in on the website instead.
      Remove references to a "patch", neomutt, and the history.
      Remove the sample muttrc from the manual.
      Fix validation errors for the documentation.
    • 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.
  27. 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.
  28. 28 Apr, 2016 1 commit
    • Kevin J. McCarthy's avatar
      Add window structures to use for screen layout. · 79728dfe
      Kevin J. McCarthy authored
      This is a series of 11 patches, centralizing Mutt screen drawing
      inside windows (mutt_window_t structures).
      Currently, the screen drawing and cursor positioning logic is
      distributed all over the code, resulting in many files having the same
      logic of where the help, status, message windows are.  Additionally,
      the code directly uses move and mvadd*/mvprint* functions, which means
      if the layouts are changed, the row/column computation logic needs to
      be changed all over the place.
      The patch creates a (very simple) mutt_window_t structure and
      functions for moving, addch/str/printw, along with clearing the line.
      The windows keep track of where they are on the screen, allowing the
      Mutt code to simply position elements relative to the window.
      During curses initalization, and when the window is resized, the
      window sizes and positions and recomputed.  Also, a new option flags,
      R_REFLOW is added for options that need to force a reflow when they are changed.
      Thanks to Richard Russon for pointing out the slang compilation issue.
  29. 14 Mar, 2016 1 commit
  30. 10 Mar, 2016 1 commit
  31. 08 Mar, 2016 2 commits
    • Kevin J. McCarthy's avatar
      Add $resume_edited_draft_files option. · 29033a6f
      Kevin J. McCarthy authored
      This adds an extra header when saving edited draft files (-E -H on the
      command line).  With this header, the next time they are edited, they
      are automatically "resumed" (by setting $resume_draft_files).
      The idea is to prevent multiple user-defined headers and signatures
      from being added to the draft message by avoiding processing it as a
      brand new message after the first time.
    • Kevin J. McCarthy's avatar
      Add $resume_draft_files option. · f2811367
      Kevin J. McCarthy authored
      When set, draft files are processed the same as when resuming
      postponed messages.  One use of this option is to avoid multiple
      user-defined headers and signatures being added to the message.
      (e.g. when -E is used repeatedly on the draft files).
  32. 02 Mar, 2016 1 commit