Changeset 3553
- Timestamp:
- 04/07/08 13:35:14
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-utils.c (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-engine.h (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c (modified) (1 diff)
- trunk/libtinymail-camel/tny-camel-bs-mime-part.c (modified) (1 diff)
- trunk/libtinymail-camel/tny-camel-folder.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-camel-mime-part.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r3551 r3553 1 2008-04-07 Dirk-Jan C. Binnema <dirk-jan.binnema@nokia.com> 2 * libtinymail-camel: 3 - fix some compiler warnings (return in void functions) 4 - move declarations to start of block 5 - fix CAMEL_POP3_CAP_LOGIN_DELAY (copy-paste bug where to 6 enum items had same value) 7 - some g_error => g_warning 8 - DELE %u => DELE %s 9 1 10 2008-04-07 Sergio Villar Senin <svillar@igalia.com> 2 11 trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-utils.c
r3263 r3553 388 388 astring = imap_parse_astring (&word, &len); 389 389 390 if (!astring &&strlen (astring) == 0)390 if (!astring || strlen (astring) == 0) 391 391 return FALSE; 392 392 trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-engine.h
r3005 r3553 69 69 CAMEL_POP3_CAP_PIPE = 1<<4, 70 70 CAMEL_POP3_CAP_STLS = 1<<5, 71 CAMEL_POP3_CAP_LOGIN_DELAY = 1<< 571 CAMEL_POP3_CAP_LOGIN_DELAY = 1<<6 72 72 }; 73 73 trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c
r3540 r3553 621 621 622 622 g_unlink (expunged_path); 623 cmd = camel_pop3_engine_command_new(pop3_store->engine, 0, NULL, NULL, "DELE % u\r\n", info->uid);623 cmd = camel_pop3_engine_command_new(pop3_store->engine, 0, NULL, NULL, "DELE %s\r\n", info->uid); 624 624 while (camel_pop3_engine_iterate(pop3_store->engine, cmd) > 0); 625 625 if (pop3_store->cache && info->uid) trunk/libtinymail-camel/tny-camel-bs-mime-part.c
r3415 r3553 680 680 tny_camel_bs_mime_part_set_transfer_encoding (TnyMimePart *self, const gchar *transfer_encoding) 681 681 { 682 returnTNY_CAMEL_BS_MIME_PART_GET_CLASS (self)->set_transfer_encoding(self, transfer_encoding);682 TNY_CAMEL_BS_MIME_PART_GET_CLASS (self)->set_transfer_encoding(self, transfer_encoding); 683 683 } 684 684 trunk/libtinymail-camel/tny-camel-folder.c
r3550 r3553 4935 4935 tny_camel_folder_create_folder_async (TnyFolderStore *self, const gchar *name, TnyCreateFolderCallback callback, TnyStatusCallback status_callback, gpointer user_data) 4936 4936 { 4937 returnTNY_CAMEL_FOLDER_GET_CLASS (self)->create_folder_async(self, name, callback, status_callback, user_data);4937 TNY_CAMEL_FOLDER_GET_CLASS (self)->create_folder_async(self, name, callback, status_callback, user_data); 4938 4938 } 4939 4939 … … 5669 5669 TnyCamelAccountPriv *apriv = TNY_CAMEL_ACCOUNT_GET_PRIVATE (priv->account); 5670 5670 if (apriv->service) { 5671 const char *foln; 5671 5672 char *urls = camel_service_get_url (apriv->service); 5672 5673 if (!priv->folder) 5673 5674 load_folder_no_lock (priv); 5674 const char *foln = camel_folder_get_full_name (priv->folder);5675 foln = camel_folder_get_full_name (priv->folder); 5675 5676 retval = g_strdup_printf ("%s/%s", urls, foln); 5676 5677 g_free (urls); trunk/libtinymail-camel/tny-camel-mime-part.c
r3526 r3553 666 666 667 667 if (!wrapper) { 668 g_ error(_("Mime part does not yet have a source stream, use "669 "tny_mime_part_construct first"));668 g_warning (_("Mime part does not yet have a source stream, use " 669 "tny_mime_part_construct first")); 670 670 camel_object_unref (cstream); 671 671 g_set_error (err, TNY_MIME_ERROR, … … 760 760 CamelMedium *medium; 761 761 CamelStream *cstream; 762 gssize bytes = -1; 762 763 763 764 g_assert (TNY_IS_STREAM (stream)); … … 773 774 774 775 if (G_UNLIKELY (!wrapper)) { 775 g_ error(_("Mime part does not yet have a source stream, use "776 "tny_mime_part_construct first"));776 g_warning (_("Mime part does not yet have a source stream, use " 777 "tny_mime_part_construct first")); 777 778 camel_object_unref (CAMEL_OBJECT (cstream)); 778 779 return -1; 779 780 } 780 781 gssize bytes = -1;782 781 783 782 if (camel_content_type_is (wrapper->mime_type, "text", "*"))
