summaryrefslogtreecommitdiffstats
path: root/charset.h
AgeCommit message (Collapse)Author
2016-05-09Change M_* symbols to MUTT_*Derek Martin
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.
2009-07-23Use proper prototype for mutt_get_default_charset(), fix fallout.Matthias Andree
2009-01-04Update copyrights. Closes #3016.Brendan Cully
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!
2008-08-18Validate charset names for all charset options.Rocco Rutte
Validation is either done against mutt's table of IANA assigned names or local iconv implementation (based on the assumption that iconv_open(charset,charset) fails if charset is unknown to the implementation). Closes #1668.
2007-03-06Remove buggy usage of M_ICONV_HOOK_TO flag in mutt_idna.c:mutt_idna_to_local().Alain Bench
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.
2007-02-27Updated $assumed_charset patch (closes: #2218).TAKIZAWA Takashi
Thanks to TAKAHASHI Tamotsu for the fixes and for handling patch conflicts.
2007-02-24Add $assumed_charset, $file_charset and $strict_mime.TAKIZAWA Takashi
2005-09-17Gah, forgot the zip code when updating the FSF address...Brendan Cully
2005-09-17Update FSF address (via sed, I hope nothing got mangled). Closes: #2071.Brendan Cully
2003-03-03IDN support for e-mail messages. Things should work automagicallyThomas Roessler
once you have the GNU IDN library available from ftp://alpha.gnu.org/pub/gnu/libidn/ installed. For IDN's which can't be losslessly recoded to your local character set, mutt should automatically fall back to using the ASCII representation. There's probably a considerable number of bugs in this, and the code may, at this point, not even compile on machines without libidn. Will start working on that ASAP.
2002-12-11Fix Mike's and my e-mail addresses in copyright lines.Thomas Roessler
2002-11-25The noiconv patch.Lars Hecking
2002-05-31Fix charset-hook.Edmund GRIMLEY EVANS
2002-03-27Some hackisch charset handling for text/plain; x-action=pgp-*. IThomas Roessler
don't like this stuff, but it's better than nothing.
2002-03-26Fix iconv warnings; from Edmund Grimley Evans.Thomas Roessler
2001-02-13Change charset-hook's behaviour.Thomas Roessler
2001-01-08Let check_sec.sh check for use of the unsafe malloc, realloc, free,Thomas Roessler
and strdup routines. While we are on it, plug some memory leaks and make some code understandable.
2000-09-28Document the --without-wc-funcs switch to configure, and clean upThomas Roessler
the code to set the character set from nl_langinfo from EGE.
2000-06-14Remove recode-attachment, and the "decoder" API. (EGE)Thomas Roessler
2000-06-08Fix up the value returned by nl_langinfo(CODESET).Thomas Roessler
2000-05-24Make charset-hook work with an external iconv implementation.Thomas Roessler
2000-05-20String conversion patch from EGE.Thomas Roessler
2000-05-09Edmund Grimley Evans' UTF-8 patch.Thomas Roessler
2000-03-13Various nits, noted by Gero Treuner.Thomas Roessler
2000-03-03The FSF apparently has moved.Thomas Roessler
2000-01-10More copyright cosmetics - noted by Martin Michlmayr <tbm@cyrius.com>.Thomas Roessler
2000-01-06Update copyright notices for unstable.Thomas Roessler
1999-03-31Another small charset optimization.Thomas Roessler
1999-03-31A couple of optimizations, most notably for the special case of aThomas Roessler
non-prefix state.
1999-03-30This patch removes at least some of the horrible utf-8 kluges inThomas Roessler
charset.c. The new DECODER framework is currently only used in handler.c, and there in a horribly inefficient manner. We should use greater blocks of data, which would be much more efficient than what we are currently doing. Most of the other charset-related code still uses the old mutt_display_char() &friends interface, which is actually ok as long as you don't try to handle multibyte character sets. The most notable change should be the one to mutt_get_translation(): It will delay the loading and parsing of character set information files until it's really needed, catching a huge amount of standard cases. As a side effect, this will make "iso tagged as ascii" "work" again, as long as both sides use the same iso character set.
1999-02-03[unstable] Produce some reasonable character set support whenThomas Roessler
postponing messages. Additionally, this patch fixes a nasty pointer leak in load_charset() [noted with electric fence], and a completely mis-lead attempt to use bsearch(). Apparently, nobody ever tested the utf8 decoder for quite some time.
1999-02-02Merging the external character set patch into unstable.Thomas Roessler
Additionally, this change introduces a M_CHARCONV state flag which gives us some more control about when character set conversions are actually done. Current versions of mutt would happily apply character set conversions when, e.g., saving a text/plain attachment to a file. (We had at least one corrupt russing translation file due to this mis-feature.) Additionally, we clean up some of the character set related code in handler.c. Most of that is now done by the decoder functions in charset.c.
1999-01-07Get rid of RCS ids in source files. They are getting in our wayThomas Roessler
when merging changes.
1999-01-05[unstable] Adding experimental new character set conversion code.Thomas Roessler
1998-10-13Add RCS $Id$ strings to (hopefully) all source files.Thomas Roessler
1998-09-24[patch-0.94.7i.gt.charset-send.1.gz] With the new charset support inThomas Roessler
mutt there are better chances to say whether a mail to send consists of characters of the ASCII set only (the charset should be "us-ascii" then) or of other characters from the given charset (this charset should be given then): ASCII characters have the unicode values from 0 to 127.
1998-09-15Adding basic UTF-8 support.Thomas Roessler
1998-09-15Add charset alias support and fix various errors in theThomas Roessler
character set code.
1998-09-15Generate the character set tables from i18n files.Thomas Roessler
1998-09-13This patch adds on-demand loading of character set tables,Thomas Roessler
changes the default location of $SHAREDIR, and fixes some compilation problems occuring on machines without PGP installed.
1998-09-12[patch-0.93.2i.ru.mmultiple_charsets.gz] This patch addsThomas Roessler
support for international character sets. Currently, mutt knows about the following character sets and is able to convert between them: iso-8859-1, ..., iso-8859-9, koi8-r, windows-1251, x-cp866. (From: Ruslan Ermilov <ru@ucb.crimea.ua>)