Changeset 3531

Show
Ignore:
Timestamp:
03/26/08 15:28:39
Author:
pvanhoof
Message:

2008-03-26 Philip Van Hoof <pvanhoof@gnome.org>

        • Fixed several problems like documentation problems in Jose's patch
        • Review of Jose's patch
        • Fixed several insignificant smaller robustness problems
        • Fixed a major leak
        • Fixed a regression due to a performance fix when moving and renaming

Maildir folders

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3526 r3531  
     12008-03-26  Philip Van Hoof <pvanhoof@gnome.org> 
     2 
     3        * Fixed several problems like documentation problems in Jose's patch 
     4        * Review of Jose's patch 
     5        * Fixed several insignificant smaller robustness problems 
     6        * Fixed a major leak 
     7        * Fixed a regression due to a performance fix when moving and renaming 
     8        Maildir folders 
     9 
    1102008-03-26  Jose Dapena Paz  <jdapena@igalia.com> 
    211 
  • trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c

    r3526 r3531  
    39893989        } 
    39903990 
    3991         camel_store_summary_touch((CamelStoreSummary *)imap_store->summary); 
    3992         camel_store_summary_save((CamelStoreSummary *)imap_store->summary, ex); 
     3991        if (imap_store->summary) { 
     3992                camel_store_summary_touch((CamelStoreSummary *)imap_store->summary); 
     3993                camel_store_summary_save((CamelStoreSummary *)imap_store->summary, ex); 
     3994        } 
    39933995 
    39943996        CAMEL_SERVICE_REC_UNLOCK(store, connect_lock); 
  • trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c

    r3501 r3531  
    466466                if (!found) { 
    467467                        /* Removed remotely (only if not cached locally) */ 
    468                         if (!camel_data_cache_exists (pop3_store->cache, "cache", info->uid, NULL)) { 
     468                        if (info && info->uid && !camel_data_cache_exists (pop3_store->cache, "cache", info->uid, NULL)) { 
    469469 
    470470                                camel_message_info_ref (info); 
     
    613613                        if (!found) { 
    614614                                /* Removed remotely (only if not cached locally) */ 
    615                                 if (!camel_data_cache_exists (pop3_store->cache, "cache", info->uid, NULL)) { 
     615                                if (info && info->uid && !camel_data_cache_exists (pop3_store->cache, "cache", info->uid, NULL)) { 
    616616                                        camel_message_info_ref (info); 
    617617                                        deleted = g_list_prepend (deleted, info); 
     
    758758 
    759759                /* heuristics */ 
    760                 if (buffer && camel_strstrcase (buffer, "Content-Disposition: attachment") != NULL) 
     760                if (camel_strstrcase (buffer, "Content-Disposition: attachment") != NULL) 
    761761                        fi->has_attachments = TRUE; 
    762                 else if (buffer && camel_strstrcase (buffer, "filename=") != NULL && 
     762                else if (camel_strstrcase (buffer, "filename=") != NULL && 
    763763                         strchr (buffer, '.')) 
    764764                        fi->has_attachments = TRUE; 
    765                 else if (buffer && camel_strstrcase (buffer, "Content-Type: message/rfc822") != NULL) 
     765                else if (camel_strstrcase (buffer, "Content-Type: message/rfc822") != NULL) 
    766766                        fi->has_attachments = TRUE; 
    767767 
  • trunk/libtinymail-gnomevfs/tny-vfs-stream.c

    r3522 r3531  
    408408        priv->bound_end = end; 
    409409        priv->bound_start = start; 
    410         return
     410        return 0
    411411} 
    412412 
  • trunk/libtinymail/tny-fs-stream.c

    r3454 r3531  
    312312        priv->bound_end = end; 
    313313        priv->bound_start = start; 
    314         return
     314        return 0
    315315} 
    316316