2001-11-30 Not Zed <NotZed@Ximian.com>
* providers/nntp/camel-nntp-*.c:
Completely new implementation of NNTP.
Doesn't support subscriptions yet (lists all folders), but should
be more reliable (faster?), and has an integrated cache.
* camel-exception.c (camel_exception_new): Use e_memchunks for
exception blocks.
(camel_exception_free): Same.
* camel-data-cache.[ch]: New object for managing on-disk caches of
anything that can be stored in a camel-stream.
* camel-file-utils.c (camel_file_util_mkdir): New function, just a
nicer place to put this (than camel-store), should be removed from
camel-store.
(camel_file_util_safe_filename): New function to url-encode a
filename.
* camel-mime-parser.c (drop_states): New func to drop the parser
state to initial state.
(folder_scan_init_with_fd):
(folder_scan_init_with_stream): Call above func to reset state if
the stream is changed on us so we can change streams to reuse a
parser object.
svn path=/trunk/; revision=14822
2001-11-28 Federico Mena Quintero <federico@ximian.com>
* gui/gnome-cal.c (gnome_calendar_new_task): Set the category of
the new task to that of the search bar. Fixes bug #15533.
svn path=/trunk/; revision=14821
2001-11-28 Federico Mena Quintero <federico@ximian.com>
Fixes bug #3290.
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Use our own filename
for the collapsation state of the tree, instead of sharing the one
of shell view number 0.
(save_expanded_state): New function, saves the collapsation state
of the tree.
(impl_destroy): Call save_expanded_state().
2001-11-14 Ettore Perazzoli <ettore@ximian.com>
svn path=/trunk/; revision=14820
2001-11-28 Damon Chaplin <damon@ximian.com>
* e-map.c: updated to new version from Ximian Setup Tools.
Fixes bug #7641.
2001-11-27 Damon Chaplin <damon@ximian.com>
* e-dateedit.c (e_date_edit_get_date): if allow_no_date_set is FALSE,
return the last valid date entered, even if the field is currently
empty. Fixes bug #15749.
svn path=/trunk/; revision=14817
2001-11-28 Kevin Breit <mrproper@ximian.com>
* C/usage-mail.sgml: Added section about how to make your email pretty. I'll add more each day or something.
svn path=/trunk/; revision=14816
2001-11-25 Not Zed <NotZed@Ximian.com>
* providers/nntp/camel-nntp-folder.c (nntp_folder_get_message): If
the uid doesn't have a ',' in it, fail to crash.
* providers/nntp/camel-nntp-newsrc.c
(camel_nntp_newsrc_article_is_read): check group != NULL before scanning.
(camel_nntp_newsrc_get_highest_article_read): "
(camel_nntp_newsrc_get_num_articles_read): "
(camel_nntp_newsrc_mark_range_read): "
* providers/nntp/camel-nntp-store.c
(camel_nntp_store_get_overview_fmt): IF we dont have
nntp_list_follows, dont try and get a list response.
(nntp_store_get_folder_info): Set path part of folderinfo.
svn path=/trunk/; revision=14799
2001-11-27 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (format_mime_part): Reverted the non-NULL
mime-type patch from a little while back, didn't mean to commit
this.
svn path=/trunk/; revision=14798
2001-11-25 Not Zed <NotZed@Ximian.com>
* mail-config.c (config_read): Enable news accounts that exist
always, since no gui for it.
2001-11-20 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (message_list_select): 'n' shouldn't wrap if 'p'
doesn't.
* mail-format.c (format_mime_part): Make sure the mime-type is
non-NULL before passing it off to mail_lookup_handler().
2001-11-20 Not Zed <NotZed@Ximian.com>
* folder-browser-ui.c: Disable search if no message
loaded/viewed. Also for #14348.
* folder-browser.c: Disable "Add sender to addressbook" if we dont
have a message loaded (it wont work). For #14348.
2001-11-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (load_content_loaded): Make sure the mail-display
object is still "alive" before accessing any of it's data.
svn path=/trunk/; revision=14796
2001-11-21 Not Zed <NotZed@Ximian.com>
* rule-editor.c (rule_edit): Hook onto destroy event.
(edit_editor_destroyed): IF we get destroyed, fake a -1 click
event to clean up.
(rule_add): hook onto destroy of dialogue.
(add_editor_destroyed): Simulate -1 click event to clean up. Fix
for #15745.
2001-11-20 Not Zed <NotZed@Ximian.com>
* vfolder-rule.c (source_add): Desensitise button while we're
running, and if we are destroyed, exit and do nothing when we're
done. Fixes crash in #15498.
* filter-folder.c (button_clicked): Ref 'ff' around dialogue
showing incase we go away before it returns. Also desensitise
button that invoked us while its being processed & remove
'is_active' hack. Fixes similar problems to those in #15498.
svn path=/trunk/; revision=14794
2001-11-20 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (get_smtp_error_string):
Check to see that errno is non-zero before returning
g_strerror. If it's 0, then we have an unknown error.
svn path=/trunk/; revision=14790
2001-11-26 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-filter-basic.c: For the uudecoding mode, garble up
the "begin <mode> <filename>" line before decoding.
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Add a uudecoder if
the transfer encoding is x-uuencode.
* camel-mime-part.c (write_to_stream): Handle x-uuencoded content
too.
svn path=/trunk/; revision=14789
2001-11-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (setup_ui): If we come back online, switch the
Send accelerator back to the Send button from the Send Later
button.
svn path=/trunk/; revision=14752
2001-11-19 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-ssl.c (stream_read): Added a check to see if
the operation has been cancelled.
(stream_write): Same.
svn path=/trunk/; revision=14751
2001-11-19 Jeffrey Stedfast <fejj@ximian.com>
Updates for compliance with rfc2231
* camel-mime-utils.c (header_encode_param):
camel_mime_special_table[c] & IS_ESAFE should have been
!(camel_mime_special_table[c] & IS_ESAFE). Also added a few
comments for how to improve the code at some future date.
(header_decode_param): Now takes an argument rfc2184_part so our
caller can get this information as well.
(header_decode_param_list): Pass an rfc2184_part argument to
header_decode_param and also added a few comments on where to
improve on rfc2184/rfc2231 compliance.
(rfc2047_decode_word): Updated to respect the updated ABNF syntax
of rfc2047 encoded words, yay.
svn path=/trunk/; revision=14750
2001-11-16 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-filter-tohtml.c (camel_mime_filter_tohtml_new): New
mime filter to convert plain text to html.
svn path=/trunk/; revision=14737
2001-11-14 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-command.c
(camel_imap_command_response): If we get a BYE response, call
camel_service_disconnect() and set an exception. Also do the check
for "* BYE" first instead of passing it off imap_read_untagged()
since we'll just waste time in there mallocing left and right only
to arrive at the single response line "* BYE" again :-)
svn path=/trunk/; revision=14735
2001-11-16 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (message_list_hide_clear): Save hide state.
(message_list_hide_uids): Save hide state.
(message_list_hide_add): Save hide state.
* mail-format.c (format_mime_part): Make sure the mime-type is
non-NULL before passing it off to mail_lookup_handler().
svn path=/trunk/; revision=14734
2001-11-14 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (search_for_dn): check against
LDAP_SUCCESS as the return value, not -1.
(pas_backend_ldap_build_all_cards_list): same.
(pas_backend_ldap_process_authenticate_user): same.
svn path=/trunk/; revision=14724