1. 27 Mar, 2017 2 commits
  2. 18 Jan, 2017 1 commit
    • Kevin J. McCarthy's avatar
      Fix several alias hashtable issues. · 851b549d
      Kevin J. McCarthy authored
      Convert to use the strdup keys hash.  Addresses can be converted back
      and forth from intl to local forms.  This frees and recreates a new
      addr->mailbox string, resulting in the hash table key being a dangling
      pointer.
      
      Change alias hash table insert/remove to ensure the address is in intl
      form.  The alias menu (previously) converted address entries to local
      form when performing a completion.  Even with the pointer issue fixed,
      the entries may not be removed from the hash if the intl and local
      forms are different.
      
      Lastly, there is no reason for the alias menu to manually convert to
      local form before writing the address to the output buffer.
      rfc822_write_address() has a display parameter that will call
      mutt_addr_for_display() instead when set.  Change to set the display
      parameter and remove the conversion calls.
      
      This last change obviates the first two changes, but they are a good idea
      in any case.
      851b549d
  3. 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
  4. 28 Apr, 2016 1 commit
    • Kevin J. McCarthy's avatar
      Add cols parameter to mutt_FormatString() · c9223a12
      Kevin J. McCarthy authored
      Continuing with the conversion to using windows for screen drawing,
      mutt_FormatString() was directly using COLS for right justification
      and similar formatting.  Instead pass in a parameter, cols.
      
      This change involved seeding the parameter through callback functions
      too, as many of them call mutt_FormatString() back.
      c9223a12
  5. 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
  6. 17 Mar, 2009 1 commit
  7. 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
  8. 30 Nov, 2008 1 commit
    • Rocco Rutte's avatar
      Manage last search pattern outside of menu lifecycle · 30541be3
      Rocco Rutte authored
      Previously, the pattern was thrown away during menu destruction.
      For the next search, mutt then can't provide a good suggestion.
      The new behaviour is to manage the pattern outside the lifecyle
      to always provide the last pattern as suggestion.
      30541be3
  9. 12 Apr, 2007 1 commit
  10. 20 Mar, 2007 1 commit
    • Rocco Rutte's avatar
      Enlarge help string buffers · 64f58f42
      Rocco Rutte authored
      Even on 80x25 terminals, SHORT_STRING (128 byte) may not be enough so use
      LONG_STRING (1k) as STRING (256 byte) may well be too short for wider
      terminals. Closes debian #4152777.
      64f58f42
  11. 17 Sep, 2005 2 commits
  12. 03 Feb, 2005 1 commit
  13. 26 Jan, 2005 1 commit
  14. 19 Sep, 2003 1 commit
  15. 04 Mar, 2003 1 commit
  16. 03 Mar, 2003 1 commit
  17. 11 Dec, 2002 1 commit
  18. 10 Dec, 2002 1 commit
  19. 09 Dec, 2002 1 commit
  20. 07 Nov, 2001 1 commit
  21. 16 Oct, 2001 1 commit
  22. 11 Sep, 2001 2 commits
  23. 26 Apr, 2001 1 commit
  24. 03 Mar, 2000 1 commit
  25. 06 Jan, 2000 1 commit
  26. 29 Jan, 1999 1 commit
  27. 22 Jan, 1999 1 commit
  28. 07 Jan, 1999 1 commit
  29. 10 Nov, 1998 1 commit
  30. 15 Oct, 1998 1 commit
  31. 13 Oct, 1998 1 commit
  32. 12 Oct, 1998 1 commit
    • Thomas Roessler's avatar
      The attached patch removes some redundant code related to the macro · 187ac0ce
      Thomas Roessler authored
      function stuff. Since each menu calls km_dokey() to get the 'op'
      number to execute, the 'menu' argument to km_dokey() _is_ the
      CurrentMenu. Hence, there is no need to explicitly save/restore the
      CurrentMenu all over the code. The only places it is being captured
      now is just before mutt_enter_comamnd() is called. This is to help
      the 'exec' command completion code so that it knows which menu to
      try and complete the function name from.
      (From: Vikas Agnihotri <VikasA@att.com>)
      187ac0ce
  33. 05 Oct, 1998 1 commit
  34. 01 Oct, 1998 2 commits
  35. 27 Aug, 1998 1 commit
  36. 25 Aug, 1998 1 commit