63f7632bf30d0700082e76b70fc305847da1cd61 |
|
15-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
lib-charset: Added CHARSET_MAX_PENDING_BUF_SIZE macro and asserts for it. |
d62d6e780cc1cabc7a343d2d14c6ef89ee139f9e |
|
15-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
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. |
7ed3861ff818a87e08ad08af6a413f2277ffc419 |
|
10-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
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. |
d9076f5939edf5d20a261494b1a861dcbb0d32e2 |
|
15-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
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. |
68a4946b12583b88fa802e52ebee45cd96056772 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Added more consts, ATTR_CONSTs and ATTR_PUREs.
--HG--
branch : HEAD |
cd50eef87b8427305c3f03f711e46ebad3a39e02 |
|
03-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Added charset_to_utf8_str()
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
cdeab2b97792dfa0691e39cd46462b28cfcb9a66 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
charset_to_utf8_begin() API change.
--HG--
branch : HEAD |
65988f5a8abed57e9894fec77105941e046d3490 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Use uni_utf8_to_decomposed_titlecase() to have proper case-insensitive UTF-8
comparing.
--HG--
branch : HEAD |
175cbe41a4486ff66d6b89d09fd1565dba7fba3b |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Removed unused charset_to_utf8_string() and charset_to_ucase_utf8_string()
--HG--
branch : HEAD |
c0eaf8be06fb915b8a6d87791cd6be5c54f0c4f9 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Removed CHARSET_RET_OUTPUT_FULL, it can't happen anymore.
--HG--
branch : HEAD |
055f4599bba1874fa1148a8fa488517fa077619c |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
charset_to_utf8() isn't used anymore, so renamed charset_to_utf8_full() to it.
--HG--
branch : HEAD |
c13d85945fa9b9db0e2c22ca4a745f177bb92f80 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
_charset_utf8_ucase() -> charset_utf8_ucase_write(),
_charset_utf8_ucase_strdup() -> charset_utf8_ucase_strdup()
--HG--
branch : HEAD |
f8cf1d320b09a21fec4336b24c0175b476833650 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
charset_to_utf8_begin() now takes bool ucase parameter. Changed
charset_to_ucase_utf8*() to charset_to_utf8*().
--HG--
branch : HEAD |
da8d7157eb6fbff7e88712516548c7fab2ebe9f2 |
|
16-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Added charset_is_utf8() and charset_to_ucase_utf8_full().
--HG--
branch : HEAD |
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
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 |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
c0435c854a0e7246373b9752d163095cc4fbe985 |
|
05-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
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 |
556726d8187cf3e98876acce36b44be4bb9ef962 |
|
17-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Full not-too-well-tested support for SORT extension. Required a few
library interface changes.
--HG--
branch : HEAD |
2b217e691440aaa45649ab310b28e5f95be28cae |
|
16-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Don't use Buffers with read-only data, just makes it more difficult without
gaining anything.
--HG--
branch : HEAD |
8dc6ff237f62cd2ccf8bb837edc26240805b7f56 |
|
09-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Compiles again without iconv()
--HG--
branch : HEAD |
def516ea503a60f20d510c14d5070b7ff5bbddf4 |
|
08-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Added buffer API. Point is to hide all buffer writing behind this API which
verifies that nothing overflows. Much better than doing the same checks all
around the code, even if it is slightly slower.
Buffer reading is still mostly done directly, that isn't such a big security
risk and I can't think of a reasonable API for it anyway.
--HG--
branch : HEAD |
c7e60c7a4052db86fa90147a52d613d00f720c45 |
|
13-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
SEARCH CHARSET now works properly with message bodies, and in general body
searching works more correctly by decoding base64/qp data. Non-text MIME
parts are currently not included in search, that could be made optional.
Also the body is parsed separately for each keyword, that could be
optimized.
Changed base64_decode() behaviour so that it can accept non-base64 data as
well, ie. line feeds etc.
--HG--
branch : HEAD |
d8e43743157d05e416eb5d3b45cddb3b3122dc07 |
|
03-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
SEARCH CHARSET support. Currently we do it through iconv() and only ASCII
characters are compared case-insensitively.
--HG--
branch : HEAD |