aboutsummaryrefslogtreecommitdiffstats
path: root/camel/broken-date-parser.c
Commit message (Collapse)AuthorAgeFilesLines
* Turn off debugging.Jeffrey Stedfast2003-06-021-1/+1
| | | | | | | | | | | | 2003-06-01 Jeffrey Stedfast <fejj@ximian.com> * broken-date-parser.c (d): Turn off debugging. * providers/pop3/camel-pop3-engine.c (get_capabilities): Move the code that prepends the 'password' authtype to the auth list so that we don't add it again when regetting the capabilities. svn path=/trunk/; revision=21360
* Workaround for POS mailers like the one in bug #42045.Jeffrey Stedfast2003-05-031-1/+5
| | | | | | | | | | | | | | 2003-05-01 Jeffrey Stedfast <fejj@ximian.com> Workaround for POS mailers like the one in bug #42045. * camel-mime-utils.c (header_decode_date): Make sure the numeric timezone is between -1200 and 1200, otherwise it is invalid. * broken-date-parser.c (get_tzone): Make sure the numeric timezone is between -1200 and 1200, otherwise it is invalid. svn path=/trunk/; revision=21048
* Fixed to not get false positives when the token is shorter than the actualJeffrey Stedfast2002-12-041-12/+25
| | | | | | | | | | | | | 2002-12-03 Jeffrey Stedfast <fejj@ximian.com> * broken-date-parser.c (get_tzone): Fixed to not get false positives when the token is shorter than the actual timezone string (but matches the first little bit of it). (datetok): Modified to properly handle when the first char of a token is a special char (such as a '-') that is also used as a token delimiter. svn path=/trunk/; revision=18996
* New function to decode the INTERNALDATE response from an IMAP server so weJeffrey Stedfast2002-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | 2002-09-27 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (decode_internaldate): New function to decode the INTERNALDATE response from an IMAP server so we don't have to use my broken-date-parser routines. 2002-09-27 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (connect_to_server): NULL-check the streams before unreffing them in the case of a failure during ssl negotiations. * camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_enable_ssl): Check SSL_ResetHandshake() for errors. Also force a handshake after we've reset the handshake state on the socket. svn path=/trunk/; revision=18252
* Use e_mktime_utc.Dan Winship2002-09-051-8/+2
| | | | | | | | | | | * camel-mime-utils.c (header_decode_date): Use e_mktime_utc. * camel-mime-message.c (camel_mime_message_set_date): Use e_localtime_with_offset. * broken-date-parser.c (decode_broken_date): Use e_mktime_utc. svn path=/trunk/; revision=17986
* Treat commas as token delimeters. (WEEKDAY_CHARS): Use full weekday namesJeffrey Stedfast2002-04-131-22/+23
| | | | | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * broken-date-parser.c (datetok): Treat commas as token delimeters. (WEEKDAY_CHARS): Use full weekday names in case the broken mailer used the full names. (MONTH_CHARS): Same as above but for months. svn path=/trunk/; revision=16456
* Fix this to work right. We need to convert the input buffer to the charsetJeffrey Stedfast2002-03-201-1/+1
| | | | | | | | | | 2002-03-19 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_encode_param): Fix this to work right. We need to convert the input buffer to the charset we claim in the encoded param (duh). svn path=/trunk/; revision=16214
* Completely rewritten. It is now a load faster and a heck of a lot moreJeffrey Stedfast2001-12-221-229/+431
| | | | | | | | | | | | | | | | 2001-12-21 Jeffrey Stedfast <fejj@ximian.com> * broken-date-parser.c (parse_broken_date): Completely rewritten. It is now a load faster and a heck of a lot more accurate, also now returns a time_t and sets the saveoffset variable rather than returning a new char* buffer for the normal camel date parser to re-parse. This saves a fair number of cpu cycles :-) * camel-mime-utils.c (header_decode_date): Cleanup the broken date parsing code. svn path=/trunk/; revision=15205
* More fixing of the license texts.Ettore Perazzoli2001-10-281-11/+11
| | | | svn path=/trunk/; revision=14216
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-4/+4
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Big header cleanups and nntp compile fixKjartan Maraas2001-03-301-0/+3
| | | | svn path=/trunk/; revision=9024
* Utilities for parsing broken date strings.Jeffrey Stedfast2000-07-011-0/+315
2000-06-30 Jeffrey Stedfast <fejj@helixcode.com> * broken-date-parser.[c,h]: Utilities for parsing broken date strings. * providers/imap/camel-imap-folder.c: fixed some mem leaks svn path=/trunk/; revision=3840