Revert "we use glibc, and gconv. Don't need our own transcoding stuff, glibc does" This reverts commit 2c0e197ef42e4cdff1eff705c8b1b1d07336bf24.
we use glibc, and gconv. Don't need our own transcoding stuff, glibc does that. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
EXIT AUTOCRAP \o/ Use cmake now. conversion is still rough, but works mostly. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Simplify charset.cpkg a bit Signed-off-by: Pierre Habouzit <madcoder@debian.org>
turn charset into a lua package as well. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
finish the "read" of charset.c Signed-off-by: Pierre Habouzit <madcoder@debian.org>
many simplifications, copyright statements. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
more charset improvements. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
simplify charset and things in the sockets API. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
rework includes a bit Signed-off-by: Pierre Habouzit <madcoder@debian.org>
a whole lot of size_t -> ssize_t. remove old cruft too. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
not having wide chars is soooo 90, please, I *really* don't care with antiquated OSes, those can stick to plain mutt. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
fix signedness issues. now the rewrite will begin Signed-off-by: Pierre Habouzit <madcoder@debian.org>
move rfc2047.c into lib-mime, reindent it. replace str_replace with m_strreplace. I don't like that function at all. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
more work in the lib-mime. begin to "rewr^H^Had" the code in rfc2231.c be more clever when we use hexval, it already does isxdigit job. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
use a proper "hack" for iconv functions: - use macros instead of empty functions (WTF?) when we don't have iconv enabled. - use my_iconv (static inline) responsible of unconstifying some argument, so that we can work with constness correctly. various fixes.
the “I found my first real bug” commit. yes, compiler warning flags are useful you know ? also remove the very bad ICONV_CONST idea. if your compiler is stupid enough not to know about const, then compile with -Dconst and stop the bullshit.
warning fixes Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Rocco Rutte: update legal notes to common style git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@195 e385b8ad-14ed-0310-8656-cc95a2468c6d
Andreas Krennmair: reformatted source code using muttng_indent.sh script git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@194 e385b8ad-14ed-0310-8656-cc95a2468c6d