Updated copyright notices to include the year 2018.
lib-charset: Allow plugins to replace charset_* functions They just need to point charset_utf8_vfuncs to their own implementation.
lib-charset: Move non-iconv UTF-8 only translation code to its own file
Updated copyright notices to include the year 2017.
global: freshen copyright git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/'
lib-charset: Added CHARSET_MAX_PENDING_BUF_SIZE macro and asserts for it.
lib-charset: Added charset_utf8_to_utf8_begin() wrapper function. It's never supposed to fail, so it makes it nicer for the callers who need to use it.
lib-charset: UTF-8 -> UTF-8 translation was never returning CHARSET_RET_INCOMPLETE_INPUT Instead the incomplete input was just being modified into broken output.
global: freshen copyright Robomatically: git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/' Happy 2015 everyone! Signed-off-by: Phil Carmody <phil@dovecot.fi>
Updated copyright notices to include year 2014.
Oops :) Update copyrights to 2013 without breaking all .c files.
Updated copyright notices to include year 2013.
Replaced "decomposed titlecase" conversions with more generic normalizer function. Plugins can now change mail_user.default_normalizer. Specific searches can also use different normalizers by changing mail_search_context.normalizer.
Updated copyright notices to include year 2012.
Updated copyright notices to include year 2011.
Updated copyright notices to include year 2010. --HG-- branch : HEAD
Updated copyright notices to include year 2009. --HG-- branch : HEAD
Compiler warning fix when compiling without iconv. --HG-- branch : HEAD
Updated copyright notices to include year 2008. --HG-- branch : HEAD
Added charset_to_utf8_str() --HG-- branch : HEAD
Replaced my Copyright notices. The year range always ends with 2007 now. My name was replaced with "Dovecot authors". In many cases I didn't really even own the copyright, so this is more correct. --HG-- branch : HEAD
Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED. --HG-- branch : HEAD
charset_to_utf8_begin() API change. --HG-- branch : HEAD
Use uni_utf8_to_decomposed_titlecase() to have proper case-insensitive UTF-8 comparing. --HG-- branch : HEAD
Removed unused charset_to_utf8_string() and charset_to_ucase_utf8_string() --HG-- branch : HEAD
charset_to_utf8() isn't used anymore, so renamed charset_to_utf8_full() to it. --HG-- branch : HEAD
_charset_utf8_ucase() -> charset_utf8_ucase_write(), _charset_utf8_ucase_strdup() -> charset_utf8_ucase_strdup() --HG-- branch : HEAD
charset_to_utf8_begin() now takes bool ucase parameter. Changed charset_to_ucase_utf8*() to charset_to_utf8*(). --HG-- branch : HEAD
Added charset_is_utf8() and charset_to_ucase_utf8_full(). --HG-- branch : HEAD
deinit, unref, destroy, close, free, etc. functions now take a pointer to their data pointer, and set it to NULL. This makes double-frees less likely to cause security holes. --HG-- branch : HEAD
Added "bool" type and changed all ints that were used as booleans to bool. --HG-- branch : HEAD
Buffer API change: we no longer support limited sized buffers where writes past limit wouldn't kill the process. They weren't used hardly anywhere, they could have hidden bugs and the code for handling them was too complex. This also changed base64 and hex-binary APIs. --HG-- branch : HEAD
data_stack_pool split into two: unsafe_data_stack_pool which works like before, and a new one which verifies that stack frame stays the same whenever the pool is accessed. --HG-- branch : HEAD
Renamed buffer_*_space() to buffer_*_space_unsafe() and added several warnings about using them. Fixed their usage in a few places in sources where they could have produced invalid results (no buffer overflows, luckily). --HG-- branch : HEAD
Better iconv() checking. --HG-- branch : HEAD
Didn't compile without iconv. --HG-- branch : HEAD
Naming style changes, finally got tired of most of the typedefs. Also the previous enum -> macro change reverted so that we don't use the highest bit anymore, that's incompatible with old indexes so they will be rebuilt. --HG-- branch : HEAD
Use unsigned char* when accessing non-NUL terminating strings. Compiler warnings would then notify about accidentally passing them to functions which require them NUL-terminated. Changed a few functions to use void* to avoid unneeded casting. --HG-- branch : HEAD
Full not-too-well-tested support for SORT extension. Required a few library interface changes. --HG-- branch : HEAD
Don't use Buffers with read-only data, just makes it more difficult without gaining anything. --HG-- branch : HEAD
Compiles again without iconv() --HG-- branch : HEAD
charset_to_ucase_utf8_string() didn't return \0 terminated string with ascii/utf8. --HG-- branch : HEAD
We can support UTF-8 charset too without any translations. --HG-- branch : HEAD