d8aa10df6d1dae56d3aa485708a34d74e9e31e79 |
|
29-May-2016 |
Stephan Bosch <stephan@dovecot.fi> |
imap: Implemented support for the LITERAL- capability.
This replaces the LITERAL+ capability when the imap_literal_minus setting is enabled. |
0adc24c0c534944b55a185795e09dfaea2ca3131 |
|
29-May-2016 |
Stephan Bosch <stephan@dovecot.fi> |
lib-imap: imap-parser: Turned the fatal error flag into a proper error code. |
7bb371485650002935888b2f9b72b23aba5a5d9a |
|
29-May-2016 |
Stephan Bosch <stephan@dovecot.fi> |
lib-imap: imap-parser: Made the fatal result parameter of imap_parser_get_error() optional. |
d0c9d4332d437b32fa6d003e4b3360b51b60e255 |
|
02-Nov-2013 |
Timo Sirainen <tss@iki.fi> |
lib-imap: Added IMAP_PARSE_FLAG_STOP_AT_LIST for stopping after '(' |
0bd9face893b149e486125c260a764636dd8bdd2 |
|
11-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-imap: Added IMAP_PARSE_FLAG_SERVER_TEXT that fixes parsing input from IMAP server. |
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
a84bd90eee7aa0e5e0fb536a22d0ea4b5f8f66c1 |
|
20-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
imap parser: Added support for parsing literal8 (for BINARY extension) |
7afab1ff465b429f7ee277c5a408d9ea4034ba61 |
|
02-Jun-2012 |
Stephan Bosch <stephan@rename-it.nl> |
imap-parser: Added IMAP_PARSE_FLAG_INSIDE_LIST flag.
Adds mode flag to IMAP parser which makes it assume it is inside a (...) list,
making ')' equal to EOL and '\n' an error. |
428fb4dc39c6e9b2eb36216c396dad6096a65f8f |
|
09-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lib-imap: Added reference counting to imap parser. |
c2fbbf7515aa419dc8b2d62a3c2bb0471d51a391 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-imap: Changed imap_arg accessing APIs.
The new one is easier for both coders and static analyzers.
--HG--
branch : HEAD |
1d09825c4c6acd79a4186e2946bfec28558e54fa |
|
13-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-imap: Added imap_parser_set_streams().
--HG--
branch : HEAD |
ce3a02785c0a034436b566949c6b1f334d73858c |
|
23-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Inlined IMAP_ARG_*() macros' error handling functions.
--HG--
branch : HEAD |
f2afd36af4a12549a0c89ba1bdf9ef424dc6f31d |
|
18-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
imap-parser: Added IMAP_PARSE_FLAG_MULTILINE_STR flag.
--HG--
branch : HEAD |
ffa9c1a085a631e173eeb246ce9d3d2d54269ef2 |
|
01-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Added IMAP_PARSE_FLAG_ATOM_ALLCHARS.
--HG--
branch : HEAD |
89669e1b9dfaa4a7aa26f90f7e558b5b1033514f |
|
08-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Added imap_parser_get_literal_size() and imap_parser_read_last_literal() to
help continue parsing input after IMAP_ARG_LITERAL_SIZE when
IMAP_PARSE_FLAG_LITERAL_SIZE is used.
--HG--
branch : HEAD |
00395881d1dbbf37178d1efc193a7e9804aaff3b |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Removed _ prefix from all public APIs.
--HG--
branch : HEAD |
43d32cbe60fdaef2699d99f1ca259053e9350411 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED.
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
1582f0b7daeb1b30214e067e050d8d0017b1d2f1 |
|
02-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed IS_ATOM_SPECIAL() to IS_ATOM_SPECIAL_INPUT() and added a new
IS_ATOM_SPECIAL() that contains all of the specials.
--HG--
branch : HEAD |
59f84b3ce2d00f96c1537c9b25df55f1a9d65120 |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Added IMAP_ARG_TYPE_IS_STRING()
--HG--
branch : HEAD |
7c7a364a72d4edd1701df72fee835c09db19d933 |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Changed imap-parser API to use standard arrays for lists instead of its own
imap_arg_list struct.
--HG--
branch : HEAD |
f1e9611e93dcb3b745c1904029084fa81644e1b3 |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Added more consts to imap-parser API
--HG--
branch : HEAD |
65b7beb7cefce89e175920ef6c16118b1b0dbfb3 |
|
18-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Added some noreturn attributes and fixed warnings caused by them.
--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 |
57a548cf864a971e834b01a2b35b2a3dd8403fca |
|
11-Sep-2005 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fixes
--HG--
branch : HEAD |
137ea7ca34005345aa2304a940149b7f3774d727 |
|
07-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
s/occured/occurred/
--HG--
branch : HEAD |
51decbc420d9c134ffcd89daa8a0791ee4b7c84d |
|
12-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
And removed the other added atom-specials as well..
--HG--
branch : HEAD |
160b3194958b746703c1eafdf68ff754dabbee42 |
|
12-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Removed ']' from atom-specials because our FETCH BODY[] handling fails
then..
--HG--
branch : HEAD |
eac5209701f957767e076d19b1474a4da7e4f3ba |
|
12-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Updated IS_ATOM_SPECIAL() list and moved it to header file.
--HG--
branch : HEAD |
de20c643fd37e6b592f69c22a926dd1b5a7edb76 |
|
06-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Fixes for parsing BODYSTRUCTURE
--HG--
branch : HEAD |
1733dc0970314e157c001dd21c39b275d515c259 |
|
02-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
IMAP parser memory limits are now enforced by bytes per line rather than
limiting maximum amount of tokens per line. Default is 64k now, which should
help with the huge message sets generated by some clients.
--HG--
branch : HEAD |
385310979408010b6114e2ae8adf0df727e6e065 |
|
07-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Don't do x-unknown mime encoding. Correct way is to just send them as
literals to client. ENVELOPE, BODY and BODYSTRUCTURE replies are now always
sent as literals if they contain 8bit text, '"' or '\' characters.
Added option to IMAP parser to return literals with IMAP_ARG_LITERAL type.
--HG--
branch : HEAD |
fbe2451122809f2b719316d0edd9d7e7c91c0d34 |
|
23-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Disconnect client if given non-sync literal size is too large. Better than
eating the input.
--HG--
branch : HEAD |
1879416e000b4509087e05098512b7af9a4cc5f6 |
|
23-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Support for LITERAL+ extension.
--HG--
branch : HEAD |
cf8dd653b6cbc2f281d6533c7fd45bdf93a77138 |
|
08-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
comment fix
--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 |
2c10af38e56b8238d114eab5cdcfca665ff0784b |
|
02-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Actually, don't allow NIL with IMAP_ARG_LIST().
--HG--
branch : HEAD |
4525c4a8f8d1a6365e4469c0c8f46575400a9a67 |
|
02-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Don't access ImapArg's union members directly - too easy to mess up. Fixes a
crash with feeding non-string parameters to SEARCH/SORT commands.
--HG--
branch : HEAD |
9e0959adf671330f95ba941cff238ad5cd408fe1 |
|
09-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Limited max. command argument elements to 128. Added more verbose error
messages to IMAP parser.
--HG--
branch : HEAD |
ecc81625167ed96c04c02aa190a1ea5baa65b474 |
|
06-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Renamed IBuffer and OBuffer to IStream and OStream which describes their
functionality better. I tried to keep the variable names and comments also
sensible.
--HG--
branch : HEAD |
11a1cf93e400cd7d4de4e67193e8d0f9c4bc249c |
|
17-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
ImapArgList changed from linked list to array. easier to handle that way.
--HG--
branch : HEAD |
b646fdb90f75ab80ea7feca42fa2e1f8e788b004 |
|
14-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
Split IOBuffer into mmaped IBuffer, file IBuffer, memory data IBuffer and
file OBuffer.
--HG--
branch : HEAD |
ec9d382ea6adbf2c8a0e5dd304acb629ebed3203 |
|
27-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Introduced uoff_t which is the unsigned-equilevant of off_t. This was needed
to be able to handle off_t overflows properly. Also changed a few unsigned
int fields into uoff_t so we should now support >2G mails if uoff_t is
64bit. Also fixed several potential integer overflows.
--HG--
branch : HEAD |
66251e6ab31e5cc153fe5cae608e416dacafe9cd |
|
08-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Initial revision
--HG--
branch : HEAD |