aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
Commit message (Expand)AuthorAgeFilesLines
* Use gmtime_r() instead of using gmtime() and memcpy() to try and beJeffrey Stedfast2003-07-031-3/+3
* Put day of week into outgoing email.David Woodhouse2003-07-021-1/+6
* Simplistic quick-fix for #42710. Add a charset argument. If the data is 8Not Zed2003-05-161-21/+39
* Workaround for POS mailers like the one in bug #42045.Jeffrey Stedfast2003-05-031-0/+4
* When we remove a node from the list, make sure to g_list_free_1().Jeffrey Stedfast2003-03-281-1/+5
* Handle raw 8-bit From data "correctly". (The same way we handleDan Winship2003-03-211-11/+11
* Use header_contentid_decode() as this new function should be safer thanJeffrey Stedfast2003-03-151-0/+67
* Same as the ones below.Jeffrey Stedfast2003-02-261-39/+38
* Call camel_iconv_init(). (camel_shutdown): Call camel_iconv_shutdown().Jeffrey Stedfast2003-02-211-34/+32
* Replace calls to g_string_sprintfa() with g_string_append_printf() sinceJeffrey Stedfast2002-12-181-46/+48
* Use g_strerror when setting an exception string (we need it to be inJeffrey Stedfast2002-11-111-4/+4
* Created temporary link list, we need to link with something for gettext.Not Zed2002-11-051-1/+1
* Removed. Glib2 has this function.Jeffrey Stedfast2002-11-021-12/+0
* Fix all mailing list regex patterns to allow any number of spaces *or*Jeffrey Stedfast2002-10-081-11/+11
* Changed the Mailing-List rule to get the complete domain (* in wrongNot Zed2002-09-241-1/+1
* Revert a patch that I had not meant to commit that was aimed at fixing bugJeffrey Stedfast2002-09-111-30/+8
* Fixes bug #4224Jeffrey Stedfast2002-09-101-8/+30
* Use e_mktime_utc.Dan Winship2002-09-051-8/+2
* Oops - outbuf pointed to alloca'd memory but we were g_free'ing it afterJeffrey Stedfast2002-08-081-5/+6
* When writing the summary, use TRUNC flag, duh. Also, write to a temp fileNot Zed2002-07-241-1/+1
* Try to get the FQDN from the results of gethostname(). If that fails, thenJeffrey Stedfast2002-07-161-9/+20
* Parse "From: Dan Winship <danw>" (with no domain) in the way the senderDan Winship2002-06-071-1/+1
* Fixed the fix for stupidly-broken-mailer bug #5 to work when multipleJeffrey Stedfast2002-05-031-3/+3
* If we get multiple Content-Type header values, change subsequent headersNot Zed2002-04-091-4/+4
* Don't count our filler when encoding our line-length octet.Jeffrey Stedfast2002-04-091-2/+5
* Simplified since we can now decode in-reply-to without getting extraJeffrey Stedfast2002-04-051-17/+42
* Fix this to work right. We need to convert the input buffer to the charsetJeffrey Stedfast2002-03-201-22/+57
* Change the order of the mailing list magic patterns so that the moreEttore Perazzoli2002-03-121-17/+17
* Use the FOLD_SIZE as a recommended folding size, but add a newNot Zed2002-02-281-4/+4
* The day number has to be 2 chars wide, space filled to work properly withNot Zed2002-02-081-1/+3
* Use camel_mime_parser_read to read internal parser data.Jeffrey Stedfast2002-02-051-2/+2
* Oops, this was converting foo@[blah] to foo@[ blah ], fixed.Not Zed2002-01-311-2/+2
* New function to decode an enhanced status code. (smtp_set_exception): SetsJeffrey Stedfast2002-01-291-2/+2
* As a temporary solution, just printf ("\a"); to make a beep :-)Jeffrey Stedfast2002-01-221-1/+1
* Stop uudecoding once the CAMEL_UUDECODE_STATE_END state bit gets set. SetJeffrey Stedfast2002-01-181-55/+62
* Don't try setting a content-type parameter if either the name or value isJeffrey Stedfast2002-01-051-1/+4
* Completely rewritten. It is now a load faster and a heck of a lot moreJeffrey Stedfast2001-12-221-12/+3
* Protect against either of the types being NULL.Jeffrey Stedfast2001-12-111-66/+78
* Updates for compliance with rfc2231Jeffrey Stedfast2001-11-201-15/+32
* Removed unused variable.Jeffrey Stedfast2001-10-301-1/+0
* w(x) out some warnings.02001-10-301-4/+4
* Minor fix - should have been using a strNcmp when checking if it was anJeffrey Stedfast2001-10-301-1/+2
* Turn off w() -> warnings.92001-10-291-2/+2
* More fixing of the license texts.Ettore Perazzoli2001-10-281-11/+11
* Remove the stupid warning that should never have been there in the first52001-10-261-9/+9
* Remove an extra * in one of the regexps that glibc apparently doesn't mindDan Winship2001-10-241-1/+1
* Use search_type_mlist for mailing list searches.Michael Zucci2001-10-231-207/+70
* (camel_search_header_match): Oops, missing i=0.Michael Zucci2001-10-231-7/+22
* If no content, dont try and decode further and spit meaningless warnings.62001-10-171-0/+4
* Removed charset/locale charset lookup and iconv_open/close functions,12001-10-121-16/+17
* Fix a slight error in logic. Just because the last word was an encodedJeffrey Stedfast2001-10-071-9/+17
* Implemented uuencoding and decoding. (complete): Implemented uuencodingJeffrey Stedfast2001-10-061-3/+157
* Try harder to get broken names out of addresses. Unencoded ,'s in names52001-10-061-7/+37
* Change to camel_charset_iconv_open/close.22001-10-031-13/+12
* Revert my x-unknown special-case hack - this may mask other problems.Jeffrey Stedfast2001-10-031-4/+15
* If the type is encoded, get the fallback charset from the message42001-09-251-103/+59
* New function to just load the summary. Not much use yet, until unreadMichael Zucci2001-09-211-1/+18
* General cleanup of camel debug printfs.92001-09-191-1/+1
* s/List-Owner/List-PostJeffrey Stedfast2001-09-191-1/+1
* Match mailing-list header List-Owner.Jeffrey Stedfast2001-09-191-0/+1
* Make sure the generated UID is non-NULL before appending it to the arrayJeffrey Stedfast2001-08-201-1/+1
* regfree the pattern before continue'ing. This was showing up quite a bitJeffrey Stedfast2001-08-101-0/+1
* Fix the fix that fixes broken mailer behavior. We want to make sure thatJeffrey Stedfast2001-07-281-2/+3
* Allow the url to be NULL just like the libc free convention.Jeffrey Stedfast2001-07-271-1/+5
* Add another Sender pattern.Dan Winship2001-07-251-0/+1
* oops, and just in case value is NULL...Jeffrey Stedfast2001-07-251-1/+1
* Handle broken mailers that send unencoded 8bit header params. And thereJeffrey Stedfast2001-07-251-0/+37
* renamed to camel_charset_to_iconv() to make it just a little moreNot Zed2001-07-201-2/+2
* Convert to the iconv-friendly charset names.Jeffrey Stedfast2001-07-201-58/+64
* Remove my iso8859-1 -> iso-8859-1 hack and useJeffrey Stedfast2001-07-201-33/+29
* Added a hack to convert charsets in the format iso8859-1 to iso-8859-1Jeffrey Stedfast2001-07-141-17/+27
* Removed. (check_html_charset): Replaced with this.Not Zed2001-07-121-63/+10
* New function to extract a meta-tag charset value if it exists.Jeffrey Stedfast2001-07-121-1/+3
* Ripped out my code since it was never being used since the mime parser isJeffrey Stedfast2001-07-121-13/+14
* New function to parse an HTML meta-tag.Jeffrey Stedfast2001-07-111-6/+58
* Don't allow in to be NULL, so instead of doing if (in == NULL) return;,Jeffrey Stedfast2001-07-071-3/+1
* Added Originator: header as a header to look for when looking for theJeffrey Stedfast2001-06-301-0/+1
* Fix a memory leak. Also if the decoded value is NULL, that means it wasn'tJeffrey Stedfast2001-06-291-32/+106
* Use the new header_address_fold.Jeffrey Stedfast2001-06-281-82/+37
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-3/+3
* New function that decides if 2 word types are mergeable. An atom and aJeffrey Stedfast2001-06-221-25/+37
* If the first char of the mailing-list name is '<', chop it off to makeJeffrey Stedfast2001-06-211-6/+13
* Added Mailing-List header regex so that we can do mlist magic on thatJeffrey Stedfast2001-06-151-0/+1
* Numerous fixes to get it to compile.Jeffrey Stedfast2001-06-011-38/+351
* Use g_strcasecmp() because some systems don't have strcasecmp(). Also,Jeffrey Stedfast2001-05-291-2/+3
* Fix an fd leakDan Winship2001-05-281-1/+1
* Replicate the semantics of the libunicode utf8 functions by returning NULLJon Trowbridge2001-05-151-4/+9
* Decode Content-Location, either correctly or Netscape-generated-brokenly.Dan Winship2001-05-121-0/+26
* Remove UNICODE_CFLAGS (and some other stuff that's redundant withDan Winship2001-04-271-10/+12
* oops, &patternJeffrey Stedfast2001-04-161-2/+2
* regex doesn't set errno and regcomp returns 0 on success and any otherJeffrey Stedfast2001-04-161-5/+15
* Added tests/ back inJeffrey Stedfast2001-04-041-130/+207
* Big header cleanups and nntp compile fixKjartan Maraas2001-03-301-5/+6
* When writing the last token (if not rfc2047 encoded), don't useJeffrey Stedfast2001-03-271-1/+1
* Quote the param value if it contains whitespace as well.Jeffrey Stedfast2001-03-191-1/+1
* Don't use getdomainname: it's NIS crap, not DNS.Dan Winship2001-03-171-6/+4
* Check for a new type of mailing list header.Jeffrey Stedfast2001-03-141-0/+1
* Fix a bug that could make this walk off the end of a string. (The bug hasDan Winship2001-03-101-3/+4
* Wrote a new version of header_fold() that takes a 'force' option and usesJeffrey Stedfast2001-03-051-1/+127
* encoded string segments need to be at least 8 chars (7 doesn't leave roomJeffrey Stedfast2001-03-051-18/+20
* Reconstify variables to match iconv.Not Zed2001-03-021-2/+2
* A fix for broken mailers that send 2-digit years (ie "Wed, 28 Feb 01Jeffrey Stedfast2001-03-011-1/+1
* A fix for broken mailers that send 2-digit years (ie "Wed, 28 Feb 01Jeffrey Stedfast2001-03-011-4/+6
* Added camel-sasl*.[c,h] to the build.Jeffrey Stedfast2001-03-011-0/+24
* Made thread-safe and moved to above the test code.Jeffrey Stedfast2001-02-271-15/+38
* Take the ^Header: part out of the expression, since we look that upNot Zed2001-02-201-9/+9
* Changed this code to match the glibc iconv signature.Christopher James Lahey2001-02-151-3/+3
* Rewrote using unicode_get_utf8(). (camel_ustrcasecmp): Use unicode_char_tJeffrey Stedfast2001-02-071-3/+4
* Made these pass char ** as the second parameter to iconv.Christopher James Lahey2001-02-071-3/+3
* Removed unwanted header. It was never put in for a reason. Stop fixingNot Zed2001-02-061-0/+38
* If we are folding, drop the space at the end of the line.Not Zed2001-02-011-0/+3
* Make the output a little prettier. Okay, so I'm anal...Jeffrey Stedfast2001-01-221-4/+5
* REmove warning, this isn't really deprecated, sigh.Not Zed2001-01-031-2/+2
* New function to return just foo/bar with no parameters.Dan Winship2001-01-031-0/+6
* When checking to see if we need to fold the header, when we come accross aJeffrey Stedfast2000-12-161-1/+1
* Remove use of linewrap filter. Headers are now wrapped. encode_8bitMichael Zucci2000-12-111-50/+178
* Use iconv instead of unicode_iconv.Dan Winship2000-11-301-13/+14
* Add a missed unref.Not Zed2000-11-291-2/+29
* little util to scan mailboxes for any and every address they contain.Michael Zucci2000-11-241-19/+51
* Add tests.Not Zed2000-11-241-5/+5
* check for return valuesRadek Doulik2000-11-221-3/+5
* removed #include <libgnomevfs/gnome-vfs.h>Radek Doulik2000-11-161-2/+0
* mime_guess_type_from_file_name moved back to composer as it introducedRadek Doulik2000-11-151-19/+0
* Removed local again, not quite ready.Not Zed2000-11-151-4/+25
* fix ids ending with '.'Radek Doulik2000-11-111-1/+2
* new function, moved from composerRadek Doulik2000-11-081-0/+21
* Implement a complete() function, now we need one. (filter): Upgraded toNot Zed2000-11-071-15/+36
* new function, generates simple message/content idRadek Doulik2000-11-041-0/+13
* Set the preface/postface from the parser into the multipart object.Not Zed2000-11-041-9/+10
* Merged in camel-incremental-branch.Not Zed2000-11-021-23/+39
* Take an additional argument, "break_lines", saying whether or not to addDan Winship2000-10-311-5/+6
* Remove previous comment about Outlook brokenness, since it turns out theDan Winship2000-10-281-4/+0
* Work around Outlook brokenness in iMIP parsing by only quotingDan Winship2000-10-281-2/+18
* Simple subclass of CamelFolderSummary that also keeps a UIDVALIDITY valueDan Winship2000-10-131-3/+2
* Removed temp_message_buffer, and content_input_stream fields which seem toNot Zed2000-10-121-0/+5
* teach camel about "its" vs. "it's"Jacob "Ulysses" Berkman2000-10-111-4/+4
* Fix so that we don't encode every single char in the word. Also, do weJeffrey Stedfast2000-10-071-2/+2
* Fix so that we don't encode every single char in the word. Also, do weJeffrey Stedfast2000-10-071-12/+13
* Encode the name part of the address and don't quote the name.Jeffrey Stedfast2000-10-061-14/+71
* Modified to not encode space chars in the middle of a line. (isblank): NewJeffrey Stedfast2000-10-061-30/+38
* Handle the case where ct != NULL, but type and subtype are, and also matchNot Zed2000-10-041-2/+2
* Make sure to add the space char after an encoded word when the encoding isJeffrey Stedfast2000-09-291-0/+2
* New function to fold headers.Not Zed2000-09-281-57/+348
* (append_latin1): Do an additional mask for account for c'sMichael Zucci2000-08-311-1/+1
* New function - even though its broken, we'll assume mailers send latin1Not Zed2000-08-311-2/+24
* Use `g_free()' instead of `free()' in the `header_decode_text()'Ettore Perazzoli2000-08-271-1/+1
* More UTF-8 handlingLauris Kaplinski2000-08-251-1/+1
* put commas between addresses.Dan Winship2000-08-241-0/+2
* Fixed some warnings.Christopher James Lahey2000-08-111-2/+6
* A few string overrun checks for the mime parserPeter Williams2000-08-011-5/+5
* Make the mime parser a bit less reckless. More reckful?Matthew Loper2000-07-271-2/+2
* Remove some text cruft i was using for testing.Michael Zucci2000-07-131-2/+1
* Reset filter on setup. (reset): When resetting qp encoding, set the stateNot Zed2000-07-131-23/+75
* New function to copy a header_references structure.Dan Winship2000-07-101-1/+16
* Work around In-Reply-To's with unquoted punctuation. So many brokenDan Winship2000-07-081-1/+1
* Make this deal with the full RFC822 References/In-Reply-To format ratherDan Winship2000-07-071-12/+18
* Added prototype for uudecode_stepJeffrey Stedfast2000-07-061-3/+1
* A rather complex uudecoder written in the spirit of Zucchi-ness, is it upJeffrey Stedfast2000-07-021-0/+105
* Utilities for parsing broken date strings.Jeffrey Stedfast2000-07-011-290/+3
* oops, forgot I had blocked that code from running :)Jeffrey Stedfast2000-07-011-2/+2
* Wrote some code to try and un-mangle broken date formats and then parseJeffrey Stedfast2000-07-011-12/+314
* KLUDGE! Since neither ETable nor GtkHTML supports UTF-8 yet, outputDan Winship2000-06-171-1/+1
* Properly dereference warning/debug messages. (header_references_decode):Not Zed2000-06-081-6/+8
* Ick, damn signs! Fix a bug with sign extended bytes.Not Zed2000-06-031-3/+3
* If we get a funny result, just throw it out. Basically a fix for the oneNot Zed2000-06-031-8/+81
* Use `foo@bar' rather than `"" <foo@bar>' for email addresses with no nameDan Winship2000-05-291-2/+2
* Big bunch o memleaks fixed.NotZed2000-05-121-0/+3
* Merged NEW_SUMMARY branch back to trunk, and resolved conflicts.NotZed2000-05-081-6/+10
* And same here ...NotZed2000-05-051-1/+3
* Plug a memory leak. (header_decode_text): Fixed memory leaks with52000-05-051-31/+35
* Maxcount is minimum of the max and the requested count, not the maximum :)NotZed2000-05-051-32/+40
* No, we're not going to have g_strcasecmp for no good reason,NotZed2000-05-041-18/+18
* s/strcasecmp/g_strcasecamp/ everywhere except intl/, per michael'sJacob Leach2000-05-031-18/+18
* If the iconv handle is -1, then dont try and convert (crashesNotZed2000-05-031-10/+17
* fix typo when dereferencing saveoffset.Larry Ewing2000-05-031-1/+1
* Dont try and check a NULL header.NotZed2000-04-281-1/+1
* fix format specifier for time zone. Fix typo in month names array.Dan Winship2000-04-271-3/+2
* Big fixes for the last commit which broke the message creation entirely.Michael Zucci2000-04-241-36/+263
* fix some obvious minor bugs noted by -Wall.Dan Winship2000-04-241-2/+2
* Whole swag of changes. Still lots of cleanup remaining ...NotZed2000-04-231-2/+150
* Ref the folder after setting it in the new message.NotZed2000-04-221-55/+147
* use libunicode iconv functions rather than libc ones (since libc might notDan Winship2000-04-211-8/+15
* MERGE NEW_PARSER branch into HEAD, fixed conflicts.NotZed2000-04-211-0/+1870
* mime utils namespace changeBertrand Guiheneuf1999-05-121-36/+0
* overload wrapper class method. (_write_to_file): start to write some textbertrand1999-05-121-0/+36