log src/lib-imap/imap-parser.c @ 22955:812e5c961328

age author description
Mon, 01 Jan 2018 22:42:08 +0100 Stephan Bosch Updated copyright notices to include the year 2018.
Thu, 18 May 2017 19:40:04 +0300 Timo Sirainen lib-imap: imap_parser_unref() should always set parser=NULL
Wed, 11 Jan 2017 02:51:13 +0100 Stephan Bosch Updated copyright notices to include the year 2017.
Mon, 12 Dec 2016 07:19:55 +0200 Timo Sirainen global: Change string position/length from unsigned int to size_t
Wed, 13 Jan 2016 12:24:03 +0200 Timo Sirainen global: freshen copyright
Mon, 05 Jan 2015 22:20:10 +0200 Phil Carmody global: freshen copyright
Wed, 07 May 2014 19:47:12 +0300 Timo Sirainen lib-imap: IMAP parser didn't parse atoms correctly that started with '~' character.
Tue, 04 Feb 2014 16:23:22 -0500 Timo Sirainen Updated copyright notices to include year 2014.
Sat, 02 Nov 2013 22:42:32 +0200 Timo Sirainen lib-imap: Fixed NIL astring to not lose its case-sensitivity.
Sat, 02 Nov 2013 20:09:28 +0200 Timo Sirainen lib-imap: Added IMAP_PARSE_FLAG_STOP_AT_LIST for stopping after '('
Sat, 02 Nov 2013 20:05:08 +0200 Timo Sirainen lib-imap: IMAP protocol parser was parsing NIL case-sensitively.
Sun, 16 Jun 2013 21:15:42 +0300 Timo Sirainen lib-imap: Fixed parsing literal8 in some situations.
Mon, 06 May 2013 19:48:32 +0300 Timo Sirainen lib-imap: imap_parser_read_args() shouldn't append multiple EOLs when calling multiple times.
Sat, 02 Feb 2013 17:02:55 +0200 Timo Sirainen Oops :) Update copyrights to 2013 without breaking all .c files.
Sat, 02 Feb 2013 17:01:07 +0200 Timo Sirainen Updated copyright notices to include year 2013.
Wed, 24 Oct 2012 10:05:37 +0300 Timo Sirainen lib-imap: Changed public IS_ATOM*() macros to match RFC 3501 exactly.
Wed, 26 Sep 2012 18:01:01 +0300 Timo Sirainen Merged changes from v2.1 tree.
Tue, 11 Sep 2012 20:44:37 +0300 Timo Sirainen lib-imap: Added IMAP_PARSE_FLAG_SERVER_TEXT that fixes parsing input from IMAP server.
Tue, 11 Sep 2012 18:42:05 +0300 Timo Sirainen Decrease minimum memory allocations.
Wed, 29 Aug 2012 23:13:56 +0300 Timo Sirainen imap-parser: Fixed imap_parser_read_last_literal() to work again
Wed, 29 Aug 2012 21:04:45 +0300 Timo Sirainen imap-parser: Allow calling imap_parser_read_args() multiple times with larger count parameter.
Wed, 29 Aug 2012 21:04:09 +0300 Timo Sirainen imap-parser: Removed filling missing parameters with NILs.
Mon, 25 Jun 2012 01:14:03 +0300 Timo Sirainen Make sure we check all the functions' return values. Minor API changes to simplify this.
Mon, 25 Jun 2012 00:01:59 +0300 Timo Sirainen Added o_stream_nsend*() and related functions to make delayed error handling safer.
Sun, 24 Jun 2012 00:52:57 +0300 Timo Sirainen Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
Wed, 20 Jun 2012 06:21:57 +0300 Timo Sirainen imap parser: literal8 flag was handled in opposite way.
Wed, 20 Jun 2012 02:44:35 +0300 Timo Sirainen imap parser: Added support for parsing literal8 (for BINARY extension)
Sat, 02 Jun 2012 17:15:18 +0300 Stephan Bosch imap-parser: Added IMAP_PARSE_FLAG_INSIDE_LIST flag.
Sun, 12 Feb 2012 18:55:28 +0200 Timo Sirainen Updated copyright notices to include year 2012.
Sun, 09 Oct 2011 20:36:28 +0300 Timo Sirainen lib-imap: Added reference counting to imap parser.
Thu, 17 Mar 2011 16:37:22 +0200 Timo Sirainen Merged changes from v2.0 tree.
Fri, 04 Mar 2011 20:53:46 +0200 Timo Sirainen Updated copyright notices to include year 2011.
Fri, 04 Mar 2011 18:31:02 +0200 Timo Sirainen lib-imap: imap_parser_finish_line() didn't return failure on invalid input.
Fri, 04 Mar 2011 20:54:29 +0200 Timo Sirainen Updated copyright notices to include year 2011.
Fri, 04 Mar 2011 18:31:02 +0200 Timo Sirainen lib-imap: imap_parser_finish_line() didn't return failure on invalid input.
Mon, 31 Jan 2011 04:00:44 +0200 Timo Sirainen lib-imap: struct imap_arg.str_size now contains the string value lengths.
Thu, 20 May 2010 09:25:47 +0200 Timo Sirainen imap parser: Fail immediately if we see unexpected ')' while reading atom. HEAD
Mon, 05 Apr 2010 07:54:55 +0300 Timo Sirainen lib-imap: Changed imap_arg accessing APIs. HEAD
Sat, 13 Feb 2010 05:44:20 +0200 Timo Sirainen lib-imap: Added imap_parser_set_streams(). HEAD
Mon, 25 Jan 2010 01:19:08 +0200 Timo Sirainen Updated copyright notices to include year 2010. HEAD
Tue, 23 Jun 2009 14:44:24 -0400 Timo Sirainen Inlined IMAP_ARG_*() macros' error handling functions. HEAD
Mon, 22 Jun 2009 00:11:43 -0400 Timo Sirainen imap_parser_read_args() didn't correctly return how many parameters were read. HEAD
Mon, 25 May 2009 21:22:55 -0400 Timo Sirainen imap-parser: Don't return early if line ends with CR but there's no LF. HEAD
Wed, 18 Mar 2009 14:40:58 -0400 Timo Sirainen imap-parser: Added IMAP_PARSE_FLAG_MULTILINE_STR flag. HEAD
Tue, 06 Jan 2009 09:25:38 -0500 Timo Sirainen Updated copyright notices to include year 2009. HEAD
Sun, 06 Jan 2008 16:29:19 +0200 Timo Sirainen If IMAP_PARSE_FLAG_ATOM_ALLCHARS is enabled, allow also ')' characters in HEAD
Tue, 01 Jan 2008 22:05:21 +0200 Timo Sirainen Updated copyright notices to include year 2008. HEAD
Sat, 08 Dec 2007 14:36:50 +0200 Timo Sirainen Fixed handling invalid characters in atoms. HEAD
Sun, 02 Dec 2007 12:50:50 +0200 Timo Sirainen Added IMAP_PARSE_FLAG_ATOM_ALLCHARS. HEAD
Thu, 08 Nov 2007 18:38:24 +0200 Timo Sirainen Added imap_parser_get_literal_size() and imap_parser_read_last_literal() to HEAD
Sun, 16 Sep 2007 14:34:22 +0300 Timo Sirainen Replaced my Copyright notices. The year range always ends with 2007 now. HEAD
Sun, 16 Sep 2007 14:04:06 +0300 Timo Sirainen pool_unref() now takes ** pointer. HEAD
Sun, 16 Sep 2007 12:43:21 +0300 Timo Sirainen Removed _ prefix from all public APIs. HEAD
Sun, 16 Sep 2007 11:40:56 +0300 Timo Sirainen Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED. HEAD
Sun, 02 Sep 2007 05:27:03 +0300 Timo Sirainen Renamed IS_ATOM_SPECIAL() to IS_ATOM_SPECIAL_INPUT() and added a new HEAD
Fri, 29 Jun 2007 19:24:58 +0300 Timo Sirainen imap_arg_string() should handle IMAP_ARG_LITERAL also. HEAD
Fri, 29 Jun 2007 19:15:39 +0300 Timo Sirainen Changed imap-parser API to use standard arrays for lists instead of its own HEAD
Fri, 29 Jun 2007 19:03:45 +0300 Timo Sirainen Added more consts to imap-parser API HEAD
Thu, 18 Jan 2007 16:34:43 +0200 Timo Sirainen Use larger default pool sizes HEAD
Sat, 18 Nov 2006 16:06:34 +0200 Timo Sirainen Added some noreturn attributes and fixed warnings caused by them. HEAD
Sat, 14 Jan 2006 20:47:20 +0200 Timo Sirainen deinit, unref, destroy, close, free, etc. functions now take a pointer to HEAD
Fri, 13 Jan 2006 22:25:57 +0200 Timo Sirainen Added "bool" type and changed all ints that were used as booleans to bool. HEAD
Tue, 12 Jul 2005 17:43:44 +0300 Timo Sirainen Updated IS_ATOM_SPECIAL() list and moved it to header file. HEAD
Fri, 08 Apr 2005 15:04:55 +0300 Timo Sirainen Removed element_count variable, it's not used anymore. HEAD
Tue, 28 Sep 2004 13:55:36 +0300 Timo Sirainen BODY.PEEK[HEADER.FIELDS (...)] list is allowed to contain strings and HEAD
Wed, 06 Aug 2003 02:10:33 +0300 Timo Sirainen Fixes for parsing BODYSTRUCTURE HEAD
Wed, 02 Jul 2003 03:57:24 +0300 Timo Sirainen IMAP parser memory limits are now enforced by bytes per line rather than HEAD
Thu, 20 Mar 2003 21:06:05 +0200 Timo Sirainen Literals didn't work if they weren't the last argument. HEAD
Thu, 20 Mar 2003 19:06:23 +0200 Timo Sirainen We didn't stop after reading literal size. This broke using non-synced HEAD
Sun, 09 Mar 2003 02:35:20 +0200 Timo Sirainen Literal parser broke if \r\n wasn't in buffer at the time '}' was parsed. HEAD
Fri, 14 Feb 2003 12:58:50 +0200 Timo Sirainen Allow '\' character too in atoms, they're used in flags.. HEAD
Fri, 14 Feb 2003 11:08:06 +0200 Timo Sirainen show proper error message to 8bit chars HEAD
Fri, 14 Feb 2003 11:06:43 +0200 Timo Sirainen Allow wildcards anyway in atoms, they're needed with LIST. HEAD
Fri, 14 Feb 2003 10:00:01 +0200 Timo Sirainen Complain if atoms contain invalid characters. HEAD
Sat, 08 Feb 2003 12:44:01 +0200 Timo Sirainen Don't do x-unknown mime encoding. Correct way is to just send them as HEAD
Sat, 01 Feb 2003 12:29:17 +0200 Timo Sirainen Giving >7 args to imap command was buggy HEAD
Thu, 23 Jan 2003 05:28:46 +0200 Timo Sirainen Disconnect client if given non-sync literal size is too large. Better than HEAD
Thu, 23 Jan 2003 05:17:09 +0200 Timo Sirainen Support for LITERAL+ extension. HEAD
Wed, 22 Jan 2003 20:41:29 +0200 Timo Sirainen Externally parsed literal size always stops argument parsing now. Input HEAD
Tue, 21 Jan 2003 23:43:23 +0200 Timo Sirainen Missing ')' wasn't reported correctly. HEAD
Fri, 10 Jan 2003 22:58:28 +0200 Timo Sirainen Added old_size parameter to p_realloc() - we rarely need it and this way HEAD
Sun, 05 Jan 2003 15:09:51 +0200 Timo Sirainen Naming style changes, finally got tired of most of the typedefs. Also the HEAD
Sat, 04 Jan 2003 19:26:29 +0200 Timo Sirainen Use unsigned char* when accessing non-NUL terminating strings. Compiler HEAD
Fri, 03 Jan 2003 17:57:12 +0200 Timo Sirainen Rewrote rfc822-tokenize.c to work one token at a time so it won't uselessly HEAD
Thu, 02 Jan 2003 10:09:26 +0200 Timo Sirainen Don't access ImapArg's union members directly - too easy to mess up. Fixes a HEAD
Sat, 21 Dec 2002 15:08:49 +0200 Timo Sirainen We don't have separate read-write pools, so renamed pool_create(.., FALSE) HEAD
Thu, 19 Dec 2002 03:02:34 +0200 Timo Sirainen Buffer related cleanups. Use PATH_MAX instead of hardcoded 1024 for paths. HEAD
Wed, 18 Dec 2002 17:15:41 +0200 Timo Sirainen Marked all non-trivial buffer modifications with @UNSAFE tag. Several HEAD
Mon, 09 Dec 2002 17:25:20 +0200 Timo Sirainen Limited max. command argument elements to 128. Added more verbose error HEAD
Fri, 06 Dec 2002 03:09:22 +0200 Timo Sirainen Renamed IBuffer and OBuffer to IStream and OStream which describes their HEAD
Sun, 01 Dec 2002 20:00:03 +0200 Timo Sirainen All SEARCH arguments still may not have been parsed. HEAD
Sat, 30 Nov 2002 18:32:20 +0200 Timo Sirainen Maybe now? HEAD
Sat, 30 Nov 2002 18:09:37 +0200 Timo Sirainen Still not exactly right. HEAD
Sat, 30 Nov 2002 17:56:05 +0200 Timo Sirainen Lists still weren't fully parsed always. HEAD
Sat, 30 Nov 2002 17:40:18 +0200 Timo Sirainen Input parsing was a bit broken in some conditions. Mostly visible with HEAD
Mon, 28 Oct 2002 11:46:02 +0200 Timo Sirainen Added --enable-asserts (default) and fixed some warnings when building HEAD
Fri, 25 Oct 2002 04:06:19 +0300 Timo Sirainen Buffer returns const type, don't cast it away. HEAD
Fri, 25 Oct 2002 01:39:42 +0300 Timo Sirainen imap_parser_read_args() didn't correctly always return "need for more data" HEAD
Sun, 20 Oct 2002 06:37:03 +0300 Timo Sirainen List parsing was broken. HEAD
Fri, 18 Oct 2002 02:57:44 +0300 Timo Sirainen IMAP_ARG_EOL doesn't belong to number of arguments in list. HEAD
Thu, 17 Oct 2002 01:50:21 +0300 Timo Sirainen ImapArgList changed from linked list to array. easier to handle that way. HEAD
Mon, 14 Oct 2002 23:36:51 +0300 Timo Sirainen use p_realloc() instead of p_realloc_min(). HEAD
Mon, 14 Oct 2002 02:49:11 +0300 Timo Sirainen Split IOBuffer into mmaped IBuffer, file IBuffer, memory data IBuffer and HEAD
Sat, 12 Oct 2002 01:33:54 +0300 Timo Sirainen Dropped sent_time and alignment from MailIndexRecord. SEARCH can now use HEAD
Sat, 05 Oct 2002 23:39:19 +0300 Timo Sirainen compiler warning fixes HEAD
Tue, 24 Sep 2002 16:01:47 +0300 Timo Sirainen We didn't allow saving messages longer than 8192 bytes. Now we also send the HEAD
Sun, 08 Sep 2002 17:39:05 +0300 Timo Sirainen move size_t fixes HEAD
Tue, 03 Sep 2002 23:08:15 +0300 Timo Sirainen because the iobuffer is now buffered, the "+ OK" continuation request wasn't HEAD
Tue, 27 Aug 2002 22:16:54 +0300 Timo Sirainen Introduced uoff_t which is the unsigned-equilevant of off_t. This was needed HEAD
Sat, 24 Aug 2002 05:04:45 +0300 Timo Sirainen mbox fixes, not fully working yet but almost :) HEAD
Thu, 22 Aug 2002 01:10:20 +0300 Timo Sirainen Message data is parsed in blocks (no longer entirely mmap()ed). Several HEAD
Fri, 09 Aug 2002 12:15:38 +0300 Timo Sirainen Initial revision HEAD