1. 04 Jan, 2019 1 commit
    • Kevin J. McCarthy's avatar
      Clean up code indentation. · 248c2ee8
      Kevin J. McCarthy authored
      These are mostly automated changes corresponding to the emacs
        (c-set-style "linux")
        (setq c-basic-offset 2)
        (c-set-offset 'case-label '+)
      Most of the code follows the convention:
        (add-to-list 'c-cleanup-list 'space-before-funcall)
      but this is not enforced by this indentation cleanup.
      Also, I personally dislike tabs, so I have:
        (setq-default indent-tabs-mode nil)
      in my own configuration.  However I have no desire to change every line
      just for that effect.  So this cleanup does nothing about the mix issue.
      Some of the secondary files (e.g. regex.c) have been skipped.
      I've also skipped crypt-gpgme.c, because I need to think about that
      file.  Werner Koch and the GnuPG team contributed most it, and it
      follows the Gnu indentation settings.  It should probably be made
      uniform with Mutt, but I don't want to discourage future GnuPG
      contribution to the file.
      I manually reverted a few unsightly cleanups, and added a few tweeks
      when I saw things that could be improved.
  2. 01 Jan, 2019 1 commit
    • Kevin J. McCarthy's avatar
      Remove trailing whitespace. · 443295ee
      Kevin J. McCarthy authored
      The result of
        find . -name "*.[ch]" -exec emacs -batch {} \
          --eval="(progn (delete-trailing-whitespace) (and (buffer-modified-p) (save-buffer)))" \;
  3. 15 Apr, 2018 1 commit
  4. 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.
    • 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.
  5. 25 Nov, 2015 1 commit
    • Kevin J. McCarthy's avatar
      Fix bad idn error on local mailboxes. (closes #3795) · 035a4ce8
      Kevin J. McCarthy authored
      Commit 831abf39d53a pulled the mbox_to_udomain() call inside the
      conversion functions.  Unfortunately, this causes local (user only)
      mailboxes to be considered conversion errors instead of just skipping
      Revert mbox_to_udomain() back to using a static buffer and pull back
      into the mutt_addrlist_to_local/intl() functions.
      Pass the user and domain into the conversion functions instead of the address.
  6. 24 Nov, 2015 4 commits
    • Kevin J. McCarthy's avatar
      Add user reversibility check in intl_to_local. · 3029d0de
      Kevin J. McCarthy authored
      This ensures we don't lose information by converting to the local charset.
    • Kevin J. McCarthy's avatar
      Add option 'idn_encode'; rename option 'use_idn' to 'idn_decode'. · 64fa378e
      Kevin J. McCarthy authored
      This is patch 3 of 4 implementing support for SMTPUTF8 (RFC 6531).
      Add an option to control whether international domains are encoded with
      IDN or not.  This defaults to set, for backward compatibility.
      Rename the use_idn option to idn_decode, since that more properly
      reflects its purpose.
    • Kevin J. McCarthy's avatar
      Rewrite address local-to-intl conversion functions. · 24bab517
      Kevin J. McCarthy authored
      This is patch 2 of 4 implementing support for SMTPUTF8 (RFC 6531).
      Perform charset conversion from local to UTF-8 for both the user and
      domain parts of the address.
      If IDN is enabled and the options (added in the next patch) are turned
      on, encode/decode the domain part.
      Use the intl_checked and is_intl status bits to record the intl/local
      status of the ADDRESS mailbox part.
    • Kevin J. McCarthy's avatar
      Rename idna functions and bits for smtputf8 changes. · 0e0520fa
      Kevin J. McCarthy authored
      This is patch 1 of 4 implementing support for SMTPUTF8 (RFC 6531).
      Change mutt_idna.c to be always compiled.  Remove the stub functions in
      mutt_idna.h.  Instead, put #ifdefs around the idna function calls.  The
      conversion functions will be fixed up in the next patch.
      Rename the conversion functions to mutt_addrlist_to_intl() and
      mutt_env_to_intl().  Rename the ADDRESS idna status bits to "intl"
      status bits.
  7. 28 Mar, 2009 1 commit
  8. 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!
  9. 28 Oct, 2008 1 commit
  10. 08 Oct, 2008 1 commit
  11. 07 Oct, 2008 1 commit
  12. 17 Sep, 2008 1 commit
  13. 07 Mar, 2007 1 commit
    • Alain Bench's avatar
      Remove buggy usage of M_ICONV_HOOK_TO flag in mutt_idna.c:mutt_idna_to_local(). · bbf8fcd9
      Alain Bench authored
      Wipe unwanted code depending on M_ICONV_HOOK_TO in charset.c:mutt_iconv_open().
      Totally wipe M_ICONV_HOOK_TO symbol.
      Remove misusages of M_ICONV_HOOK_FROM flag in:
       - crypt-gpgme.c:print_utf8().
       - mutt_idna.c:mutt_idna_to_local() and mutt_local_to_idna().
       - pgp.c:pgp_traditional_encryptsign().
      Document usage policy of M_ICONV_HOOK_FROM flag.
      Cosmetic downcasing of some constant charset names (utf-8, euc-jp) for consistency.
      Correction of a typo in the "iso8859-5" charset name.
  14. 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
  15. 31 Oct, 2005 1 commit
  16. 17 Sep, 2005 2 commits
  17. 08 Feb, 2005 1 commit
  18. 03 Feb, 2005 1 commit
  19. 12 Nov, 2003 1 commit
  20. 19 Sep, 2003 1 commit
  21. 08 Apr, 2003 1 commit
  22. 18 Mar, 2003 1 commit
  23. 07 Mar, 2003 1 commit
  24. 05 Mar, 2003 1 commit
  25. 04 Mar, 2003 1 commit
  26. 03 Mar, 2003 1 commit