1. 03 Jun, 2018 1 commit
    • Kevin J. McCarthy's avatar
      Change direct mutt_getch() callers to handle new mail event. · 0182dc85
      Kevin J. McCarthy authored
      The inotify handler now returns -2 (timeout) on a new mail event.
      Change the direct callers to ignore, so prompts aren't strangely
      aborted.
      
      Also, fix mutt_change_flag() to call mutt_refresh() before the
      prompt.  Apparently ncurses getch() was doing this for us, but now
      that we are polling STDIN instead, the prompt wasn't displaying.
      0182dc85
  2. 04 Feb, 2018 1 commit
    • Kevin J. McCarthy's avatar
      Add history-search function, bound to ctrl-r. · aa6903c9
      Kevin J. McCarthy authored
      Create a very basic "search history" functionality in the line editor.
      It uses the current input, and searches backward through history.  If
      there is one match, it immediately uses that otherwise it pops up a
      simple menu of matches.
      aa6903c9
  3. 01 Jun, 2017 1 commit
  4. 15 Apr, 2017 1 commit
  5. 05 Apr, 2017 1 commit
  6. 27 Mar, 2017 1 commit
    • Kevin J. McCarthy's avatar
      Set refresh when popping the menu stack. · 95070a70
      Kevin J. McCarthy authored
      This removes the need for the OPTNEEDREDRAW option and MAYBE_REDRAW
      macro previously used to communicate back the need to refresh after
      exiting a menu.
      
      Remove the redraw parameter from ci_bounce_message() and
      mix_make_chain() which served the same purpose.
      95070a70
  7. 31 Jan, 2017 4 commits
  8. 29 Jan, 2017 1 commit
    • David Champion's avatar
      Adds label completion. · f58e89c8
      David Champion authored
      A global label hash is added, to which labels are added as they're parsed
      from a mailbox file or edited manually by the user.  Reference counts are
      kept in the hash table so that unused labels are removed from available
      completions.  Completion is available in the label editor only, but it
      may be feasible to add for search expressions if the preceding text ends
      with '~y'.
      f58e89c8
  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.
      9cafb05c
  10. 28 Apr, 2016 1 commit
  11. 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
  12. 19 Nov, 2015 1 commit
  13. 12 Aug, 2014 1 commit
    • Kevin J. McCarthy's avatar
      Add a scratch buffer to the history ring. (closes #3082) · 99468835
      Kevin J. McCarthy authored
      This patch creates an extra slot in the history ring for a scratch
      buffer (at h->last).  If you are editing inside that buffer, it is
      preserved when you scroll up/down through the history.  Editing while in
      other places in history are *not* preserved with this patch.
      
      Another behavior change worth noting with this patch: the position in
      history is now reset to the scratch buffer after each input entry.
      Before, the position would be stay wherever it was - you didn't restart
      at the "bottom" each time.
      99468835
  14. 11 Apr, 2013 1 commit
  15. 10 Apr, 2013 1 commit
  16. 09 Jul, 2012 1 commit
  17. 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
  18. 28 Nov, 2011 1 commit
  19. 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
  20. 28 Oct, 2008 1 commit
  21. 31 Aug, 2008 1 commit
  22. 02 Jul, 2008 1 commit
  23. 11 Dec, 2007 1 commit
  24. 16 Jul, 2007 1 commit
  25. 07 Apr, 2007 2 commits
  26. 03 Apr, 2007 1 commit
  27. 26 Feb, 2007 1 commit
  28. 07 Dec, 2006 1 commit
  29. 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
  30. 17 Sep, 2005 2 commits
  31. 26 Jul, 2005 1 commit
  32. 03 Feb, 2005 1 commit
  33. 19 Sep, 2003 1 commit
  34. 16 Jul, 2003 1 commit