2001-01-27 Christopher James Lahey <clahey@helixcode.com>
* folder-browser.c (etable_key): Don't handle home and end keys
since %ETable deals with them now.
svn path=/trunk/; revision=7865
2001-01-26 Jeffrey Stedfast <fejj@ximian.com>
* subscribe-dialog.c (populate_store_foreach): Check for a NULL
service->url as we obviously can't subscribe to folders on a
non-existant mail source :-)
(subscribe_do_get_store): Check for a NULL url here too, not that
we should need it anymore (due to the above fix) but it doesn't
hurt. Also, should we wait on the thread? Probably doesn't matter.
svn path=/trunk/; revision=7844
2001-01-26 Jason Leach <jasonleach@usa.net>
(Fixing an old FIXME)
* component-factory.c (create_vfolder_storage): removing
create_vfolder_storage, replacing call to it with
vfolder_create_storage.
svn path=/trunk/; revision=7837
2001-01-26 Not Zed <NotZed@Ximian.com>
* message-list.c (build_tree): Define BROKEN_ETREE again, till we
get this stuff fixed better.
2001-01-25 Not Zed <NotZed@Ximian.com>
* folder-browser.c: Moved teh "sender contains" item to the end of
the list, so the gui doesn't suddenly change on everyone. Fixed
the sender-contains search string to be a valid s-exp (ha, didn't
test it even once eh ettore?!)
(search_save): Dont have the sender contains as the default case
(which well, never gets called anyway), oops i guess i should've
reviewed the patch a little more.
svn path=/trunk/; revision=7835
2001-01-25 Jeffrey Stedfast <fejj@ximian.com>
The following fixes seem to clear up the problem of new mail not
being shown in the Inbox and/or other folders where mail had been
delivered.
* mail-send-recv.c (build_dialogue): Freeze the inbox.
(receive_get_folder): Freeze folders before dumping them into the
hash table.
(free_folder_info): Thaw the folder.
(free_info_data): Thaw the Inbox.
svn path=/trunk/; revision=7824
2001-01-25 Jason Leach <jasonleach@usa.net>
(Don't prompt about unsaved changes for replies/forwards that have
not actually been modified)
* mail-callbacks.c (do_forward_inline): Unset the has_changed for
the message composer.
(do_forward_attach): Same here.
(mail_reply): And here.
svn path=/trunk/; revision=7819
* mail-format.c (mail_content_loaded): Check if a message part's
content is available, and if it's not, queue a thread that will
load it and then queue an idle-handler redisplay of the message.
(call_handler_function): Call mail_content_loaded() on the part
and don't try to display it if it's currently offline.
(get_data_wrapper_text): Simplify a bit
* mail-display.c (mail_display_queue_redisplay): rename and make
non-static.
(mail_display_redisplay): Use a "new and improved" way of
preserving the GtkHTML scroll location. ("new and improved" is
code for "gross and hackish", but there should be a real interface
for this eventually.)
(on_url_requested): Use mail_content_loaded() and don't write out
offline cid: URLs
* mail-identify.c (mail_identify_mime_part): Use
mail_content_loaded and don't try to identify the data if it's
offline.
svn path=/trunk/; revision=7813
2001-01-25 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Made the message list pay attention to the
"cursor_activated" signal instead of the "cursor_change" signal.
svn path=/trunk/; revision=7812
2001-01-24 Not Zed <NotZed@Ximian.com>
* folder-browser.c (search_string[]): Fix the subject match
expression, which was missing a closing ).
* mail-send-recv.c (do_show_status): Escape any % signs in the
string before setting the format string.
svn path=/trunk/; revision=7797
2001-01-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.glade: Added a 3rd page to the account editor to
allow users to set their HTML sending preference and also allow
them to change their message status timeout.
* mail-accounts.c (construct): Added handlers for the send-html
checkbox and for the mark-message-as timeout spinbutton.
svn path=/trunk/; revision=7789
2001-01-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (apply_changes): Save the source and
transport changes whether the user can connect to the host or not.
svn path=/trunk/; revision=7772
2001-01-24 Not Zed <NotZed@Ximian.com>
* mail-ops.c (fetch_mail_fetch): Set the default folder when
copying to mbox. This is a quick fix, i might need to do a slight
redesign to clean it up.
svn path=/trunk/; revision=7759
2001-01-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-send-recv.c (build_dialogue): Make sure the source->url is
not NULL (which is perfectly valid).
(mail_send_receive): Where oh where should my prototype be?
(receive_get_folder): Make sure to ref the folder before you add
it to the hash table.
* openpgp-utils.c:
* mail-crypto.c: A few minor tweaks.
svn path=/trunk/; revision=7757
2001-01-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-send-recv.c (build_dialogue): Make sure the source->url is
not NULL (which is perfectly valid).
svn path=/trunk/; revision=7756
2001-01-23 Not Zed <NotZed@Ximian.com>
* message-list.c (build_tree): Try turning off the BROKEN_ETREE
thing. It seems to work ok (better?) now, but if its still broken
i'll remove it again for the next release.
svn path=/trunk/; revision=7740
2001-01-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (set_defaults): Automagically fill in the
user's default transport if he/she has setup previous accounts.
svn path=/trunk/; revision=7736
2001-01-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_signed): Just wrote a temp way
of reporting success/fail of PGP/MIME signature verification
status.
svn path=/trunk/; revision=7735
* mail-mt.[ch]: make mail_gui_thread non-static.
* main.c (main): Set up signal handler for SEGV, BUS, FPE
(segv_redirect): if a gnome-segv'ing signal is received in
a thread other than mail_gui_thread, re-deliver it to that
thread to work around a problem with the gnome segv handler.
svn path=/trunk/; revision=7728
2001-01-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_signed): Fixed to display
subparts (other than the signature part) and started to write a
pretty way to show if the signature verified or not.
svn path=/trunk/; revision=7724
* mail-config-druid.c (incoming_type_changed): Change "Path:"
label to "Namespace:" for IMAP. Use $MAILDIR rather than $MAIL for
Maildir. If $MAIL isn't set, guess.
svn path=/trunk/; revision=7714
* component-factory.c (mail_hash_storage): Function to add a
store/storage mapping.
(add_storage): Use it.
* mail-vfolder.c (vfolder_uri_to_folder): Use the vfolder name
rather than the string "mbox" (which wasn't ever used for
anything) in the vfolder URL. (Combined with the CamelVeeFolder
change, this makes camel_folder_get_name() return a pretty name
for vfolders now.) Call mail_hash_storage() to record the
CamelVeeStore/vfolder_storage mapping. (Ideally, there'd only be a
single CamelVeeStore... this is just a quick hack.)
vfolders now display their unread count once you've looked at them
once.
svn path=/trunk/; revision=7712
* mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and
update first arg of mail_too_filter_get_folder_func
* mail-tools.c (mail_tool_filter_get_folder_func): Update first
arg to CamelFilterDriver *
* mail-send-recv.c (receive_status):
* mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/
* mail-callbacks.c: Remove filter-driver.h include
* mail-accounts.c: Put the news functions inside #ifdef
ENABLE_NNTP to prevent warnings about unused statis functions.
* subscribe-dialog.c (subscribe_folders, unsubscribe_folders,
subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB.
(populate_store_list): add a de-constifying cast
svn path=/trunk/; revision=7711
* mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and
update first arg of mail_too_filter_get_folder_func
* mail-tools.c (mail_tool_filter_get_folder_func): Update first
arg to CamelFilterDriver *
* mail-send-recv.c (receive_status):
* mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/
* mail-callbacks.c: Remove filter-driver.h include
* mail-accounts.c: Put the news functions inside #ifdef
ENABLE_NNTP to prevent warnings about unused statis functions.
* subscribe-dialog.c (subscribe_folders, unsubscribe_folders,
subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB.
(populate_store_list): add a de-constifying cast
svn path=/trunk/; revision=7708
2001-01-22 Not Zed <NotZed@Ximian.com>
* component-factory.c (owner_set_cb): remove a warning with
conditional news compilation.
* mail-ops.h: Cleaned up the header list.
* folder-browser-factory.c: Replace the old get_send mail with the
new one (button).
* mail-ops.c (set_x_mailer):
(mail_load_evolution_rule_context):
(mail_do_fetch_mail):
(mail_do_filter_ondemand):
(mail_send_mail_old):
(mail_do_send_queue): All removed, (for) now lives in mail-send-recv.c.
(load_context):
(setup_filter_driver):
(filter_get_folder):
(mail_filter_folder):
(mail_fetch_mail):
(mail_update_subfolders):
(mail_send_mail):
(mail_send_queue): New equivalents of all these fundtions, moved
from mail-send-recv.c ...
(mail_filter_on_demand): Moved here too.
(mail_load_filter_context): Export this.
* mail-callbacks.c (apply_filters): Use the new
mail_filter_on_demand() call.
(send_receieve_mail): Use mail_send_receive to do the work. Add a
little error handling here that used to be elsewhere.
(send_queued_mail): Removed.
(fetch_mail): Removed.
(select_first_unread): #ifdef'd this out. Not sure if this still
makes sense, but it doesn't get run right now anyway.
(composer_postpone_cb): Fix the setting of message flags. You
dont need to get them first, ever.
* mail-send-recv.c (mail_send_message): Dont use
mail_tool_send_via_transport anymore (it does nothing useful).
* mail-tools.c (mail_tool_camel_lock_up): Turned into a noop.
(mail_tool_camel_lock_down): And here too.
(mail_tool_move_folder_contents): Removed from the code (hasn't
bene used for ages).
(mail_tool_send_via_transport): Removed, it doesn't save anything.
svn path=/trunk/; revision=7702
2001-01-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-crypto.c (mail_crypto_is_rfc2015_signed): Helps if I spell
stuff correctly so it can pass the tests ;-)
svn path=/trunk/; revision=7697
2001-01-21 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (owner_set_cb): Initialize OpenPGP.
* openpgp-utils.c (openpgp_init): No longer takes a passphrase
callback, we'll just use the mail-session one. Makes life simpler.
(pgp_get_passphrase): Use mail_session_request_dialog().
svn path=/trunk/; revision=7694
2001-01-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-crypto.c (pgp_mime_part_sign): Don't forget to unref the
filters.
(pgp_mime_part_verify): Same.
(pgp_mime_part_encrypt): Same.
(pgp_mime_part_decrypt): Take NotZed's advice and use
camel_stream_mem_new_with_buffer instead of writing to a new
stream_mem. Also use camel_data_wrapper_construct_from_stream
instead of creating a parser and using that.
svn path=/trunk/; revision=7687
2001-01-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-crypto.c: Updated header comment and fixed some ref/unref
count problems in the various functions. Also fixed some other
little things.
(pgp_mime_part_encrypt): Do some canonical CRLF action before
encrypting.
(pgp_mime_part_sign): Make sure we are the owners of the byte array.
(pgp_mime_part_verify): Same.
(pgp_mime_part_encrypt): Same.
(pgp_mime_part_decrypt): Same.
svn path=/trunk/; revision=7682
2001-01-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-crypto.c: Updated header comment and fixed some ref/unref
count problems in the various functions. Also fixed some other
little things.
(pgp_mime_part_encrypt): Do some canonical CRLF action before
encrypting.
svn path=/trunk/; revision=7680