2004-07-22 Not Zed <NotZed@Ximian.com>
* mail-component.c (impl_createControls): dont call
e_error_default parent here, we dont have access to the toplevel
yet.
svn path=/trunk/; revision=26728
2004-06-17 Not Zed <NotZed@Ximian.com>
** See #59885.
** Moved all of the mail specific filtering stuff from filter/* to
here. Renamed appropriately into em* space, etc.
* em-filter-folder-element.c (emff_copy_value): implement for folders.
* em-vfolder-rule.c (get_widget): read the vfolder glade from
mail-config.glade.
* mail-config.glade: moved the vfolder source selector here.
* em-search-context.c: new mail search specific rule context.
* mail-component.c (setup_search_context): use the new
em_search_context.
* vfolder-rule.c (validate): change error to mail context.
* filter-folder.c (validate): change error to mail context.
* Makefile.am (em-filter-i18n.h): added rule for i18n of mail
filter type stuff.
(libevolution_mail_la_SOURCES): added in the filter and vfolder
rule stuff specific to mail.
** See #59885.
* em-format-html-quote.[ch]: remove and remove from build, not
used.
* Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and
evolutionsmime.
* mail-component-factory.c (factory): there is no mail_config
anymore.
svn path=/trunk/; revision=26380
2004-06-16 Rodney Dawes <dobey@novell.com>
* em-folder-properties.c: Include gtk[hv]box.h so we can use them
(emfp_dialog_got_folder): Fix the border widths and spacings for
the internal widgets and the dialog's vbox and action area to be
compliant with the HIG
Fix the general layout of the dialog to be HIG-compliant as well
Use ngettext for the row labels for number of messages
Add a cancel button, since we are not instant-apply
Align the message counts to the right
Part of this patch is from Christian Neumair <chris@gnome-de.org>
* mail-component.c (view_changed_cb): Fix a typo for the sent folder
send is not a pluralization of sent
svn path=/trunk/; revision=26369
2004-06-10 Jeffrey Stedfast <fejj@novell.com>
Fixes bug #58825. Ugh. Really Gross Hack (tm).
* em-folder-tree.c (emft_tree_row_expanded): If the store that we
are expanding matches the uri that we've been requested to select
(e.g. from before the store was added to the tree), then give the
uri to the get_folder_info_op.
(em_folder_tree_set_selected): If the store for the uri isn't in
the tree yet, save the uri for later.
* mail-component.c (folder_selected_cb): Set the selected state of
the folder-tree and save it.
(impl_createControls): Restore the selected state on the
folder-tree.
* em-folder-tree-model.c (em_folder_tree_model_set_selected): New
function to set the selected-uri saved state.
(em_folder_tree_model_get_selected): New function to get the
selected uri saved state.
(em_folder_tree_model_save_state): Renamed.
* em-folder-tree.c (emft_update_model_expanded_state): Don't let
path be NULL if the node is a store node (path == NULL for any
other case is a bug).
(emft_maybe_expand_row): Same.
svn path=/trunk/; revision=26294
2004-06-02 Not Zed <NotZed@Ximian.com>
* mail-component.c (mc_add_local_store_done): put this back in,
local folders not being noted properly all the time.
svn path=/trunk/; revision=26165
2004-05-26 Not Zed <NotZed@Ximian.com>
* importers/evolution-mbox-importer.c (create_control_fn): set the
default selection to inbox.
* importers/evolution-outlook-importer.c (folder_selected)
(create_control_fn): copied from mbox importer. fixes a crash &
lets you choose the target folder.
2004-05-25 Not Zed <NotZed@Ximian.com>
* mail-component.c (mc_add_local_store_done): removed, now
redundant.
* em-folder-tree.c (em_folder_tree_set_selected): fix for path changes.
* em-folder-tree-model.c (em_folder_tree_model_set_unread_count):
change to use full name rather than path name.
* em-folder-tree-model.h: renamed path_hash to full_hash.
* em-folder-tree-model.c (folder_subscribed): dont use
g_path_get_dirname here, it is os dependent, we want / always.
(full_hash_free): rename from path_hash free.
svn path=/trunk/; revision=26090
2004-05-21 Not Zed <NotZed@Ximian.com>
* mail-mt.c (do_call): add marshaller for p_ppppp call.
* mail-session.c (get_password): fix for camel api changes.
(forget_password): same.
** See #58376.
* message-list.c (mail_regen_list): do some timeout foo so we
don't keep doing list regnerations if we're getting called too
often. God knows what this will break.
(message_list_set_selected): removede bug printf.
(regen_list_free): move the message-list poking stuff into
regen_list_regened.
(message_list_set_folder): call mail_regen_cancel to cancel any
regen stuff.
(mail_regen_cancel): cancel/clear outstanding regenerations.
(message_list_destroy): do it here too.
(message_list_select_uid): also set the pending select uid if we
have a timeout pending.
* mail-component.c (impl_createControls): set the defualt parent
to the main folderview as soon as its created.
* em-folder-tree.c (emft_popup_copy_folder_selected): use
get_toplevel rather than get_ancestor. seems the more reliable
one. also we're always parented so we shoudl always find a
toplevel window.
(em_folder_tree_create_folder): same.
(emft_popup_delete_response): set error parent.
(emft_popup_delete_folder, emft_popup_rename_folder)
(emft_popup_rename_folder, emft_popup_rename_folder):
svn path=/trunk/; revision=26030
2004-05-19 Not Zed <NotZed@Ximian.com>
* mail-component.c (mc_quit_sync): fixed up the empty trash on
exit thing, to update for all stores, not update the timestamp on
the first store synced.
svn path=/trunk/; revision=25966
2004-05-13 Not Zed <NotZed@Ximian.com>
* GNOME_Evolution_Mail.server.in.in: added "email" to the
uri_schema's attribute.
* mail-component.c (impl_handleURI): handle email: uri's, specify
opening a message on a folder.
(handleuri_got_folder): open the message. For some 1337 s3Kr3t
ha0x.
svn path=/trunk/; revision=25893
2004-05-12 Not Zed <NotZed@Ximian.com>
* mail-component.c (setup_search_context): enable threading option
type on the search bar.
svn path=/trunk/; revision=25878
2004-05-12 Not Zed <NotZed@Ximian.com>
* mail-errors.xml.h: add for translators.
* Makefile.am (%.xml.h): fix for xml i18n stuff.
* mail-errors.xml: moved from the .xml.in file.
2004-05-11 Not Zed <NotZed@Ximian.com>
* em-utils.c (em_uri_from_camel): pass an exception to
provider_get, it relies on one.
* em-migrate.c (em_migrate_1_4): fix some error messages, and fail
with fatal errors properly.
(em_migrate_local_folders_1_4): EEP! Who cares if this fails!
Well I do. Setup exceptions and return codes.
(em_migrate_dir): and here too. Sloppy!
(em_migrate_dir): change the code slightly, 1.4 would recurse all
folders, even if the parent folder doesn't have a
folder-metadata.xml. Make sure we copy that mode.
(get_local_store_uri): Make it copy the 1.4 behaviour properly.
Any error -> use defaults.
(em_migrate_dir): lots of changes.
(mbox_build_filename): take the output string as an arg.
(cp): add an argument to overwrite/append or require a unique
empty file.
(cp_r): add mode arg here too.
(em_migrate_folder): split the folder copy stuff from em_migrate
dir entirely. blah.
(em_upgrade_accounts_1_4): can't fail, remove return code, etc.
(em_upgrade_xml_1_4): removed this rather redundant odd api.
(upgrade_xml_uris): this can't fail, remove return codes etc.
(em_upgrade_xml_1_0): another oddly redundant function.
(em_migrate_pop_uid_caches_1_4): error messages, blah blah.
(em_migrate_folder_expand_state_1_4): no fatal states here.
(em_migrate_folder_view_settings_1_4): nor here.
(emm_setup_initial): do i18n 'better', using
gnome_i18n_get_language_list, rather than hacky code.
2004-05-10 Not Zed <NotZed@Ximian.com>
* mail-tools.c: remove e-meta.h, not used anymore.
svn path=/trunk/; revision=25870
* GNOME_Evolution_Mail.server.in.in: Remove the mail folder
control factory
* mail-component-factory.c (factory): Remove support for the mail
folder control
* mail-component.c: Remove the property bag stuff
(mail_control_new): Gone
svn path=/trunk/; revision=25858
2004-05-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (folder_selected_cb): Check that the folder is
selectable using the new flags argument.
* em-folder-selector.c (folder_selected_cb): Updated for below
changes.
* em-folder-tree.c (emft_tree_selection_changed): Updated to pass
a flags argument to the folder_selected signal.
(emft_tree_row_activated): Same.
svn path=/trunk/; revision=25816
2004-05-03 Not Zed <NotZed@Ximian.com>
* em-composer-utils.c (create_new_composer): take fromuri and
subject to set the basic headers/account.
(em_utils_compose_new_message)
(em_utils_compose_new_message_with_mailto, forward_attached)
(em_utils_forward_attached, forward_non_attached)
(em_utils_forward_inline, em_utils_forward_quoted)
(em_utils_forward_message, em_utils_forward_messages): Take the
from folder uri to set the from account if it can. Fixed all
callers. For #57964.
svn path=/trunk/; revision=25747
2004-04-22 Not Zed <NotZed@Ximian.com>
* mail-component.c
(view_control_activate_cb): force check of autosaved messages as
soon as the mailer starts up (well, after a delay, this seems
wrong). #57093.
svn path=/trunk/; revision=25576
2004-04-22 Not Zed <NotZed@Ximian.com>
* mail-component.c (view_changed_cb): display selected count
instead of unread if we have >1 selected. Also don't do special
case drafts/sent/outbox stuff if folders are inbox or re-used.
svn path=/trunk/; revision=25575
2004-04-21 Not Zed <NotZed@Ximian.com>
* mail-component.c (impl_createControls): fix for
e_user_creatable_items api changes.
(create_item): split out the code to create the item.
(create_local_item_cb): new callback for local item creation.
(impl_requestCreateItem): call create_item to do the work.
svn path=/trunk/; revision=25545
2004-04-14 Not Zed <NotZed@Ximian.com>
* mail-component.c (impl_createControls): remove debug comment.
** See #56641.
* em-format-html-display.c (efhd_format_secure): fix a small
memleak.
(efhd_bonobo_unknown, efhd_format_attachment): close the <object>
tag properly, and <br> it as well to make sure its separated.
* em-sync-stream.c: add some runtime and compile time stream
logging stuff.
svn path=/trunk/; revision=25457
2004-04-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (impl_createControls): We don't actually want
to disallow clicking on \NoSelect folders. Fixes a bug campd has
been complaining to me about :-)
svn path=/trunk/; revision=25449
004-04-13 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (emfv_set_folder): track the messagelist
hidedeleted value since it looks it up when we set the folder.
* em-folder-browser.c (emfb_hide_deleted): use new method below to
propagate change.
(emfb_activate): same.
* em-folder-view.c (em_folder_view_set_hide_deleted): accessor to
set the hide_deleted state, emits a view_changed event.
* mail-component.c (view_changed_cb): use VISIBLE rather than
TOTAL for the displayed total count. Also deleted if we're not in
hide deleted mode. And do spethal things with spethal folders,
etc.
svn path=/trunk/; revision=25438
2004-04-13 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_format_headers): use %% for %%.
* em-folder-view.c (emfv_init, emfv_finalise, emfv_activate):
revert dans' creatable items handler patch, moved to
mail-component instead (which deals with the actual menu's).
* mail-component.c (impl_createControls): setup a user creatable
items handler on the view widget.
(view_control_activate_cb): activate the user creatable items
handler on the view widget.
* em-folder-view.c (emfv_init): add a comment about jeff's last
fix.
* em-utils.c (forward_non_attached): Set attachments from
forwardee before we set the body, otherwise images wont resolve
properly. Related to #56566.
svn path=/trunk/; revision=25428
* em-folder-view.c (emfv_init): Create an
EUserCreatableItemsHandler for the view.
(emfv_finalise): Unref it.
(emfv_activate): Activate it
* mail-component.c (impl__get_userCreatableItems): add
object/folder flags to the items
svn path=/trunk/; revision=25380
2004-04-08 Not Zed <NotZed@Ximian.com>
* mail-folder-cache.c:
(update_1folder): VJUNK_FOLDER's dont exist, they're VTRASH
folders now.
* em-folder-view.c: remove message_changed stuff from camel folder
stuff.
* mail-component.c (mail_component_init): don't setup the search
context here, wait till its requested. Fixes#56672.
2004-04-07 Not Zed <NotZed@Ximian.com>
* mail-component.c (view_changed_cb): hook to update the info
label when the folderview changes.
* em-folder-view.c (emfv_class_init): added 2 signals 'loaded' and
'changed'. For when a folder is set/cleared or when some state
changes.
(emfv_set_folder): emit LOADED signal when we set the folder.
(emfv_list_message_selected): emit changed event.
(emfv_gui_folder_changed): emit changed event.
svn path=/trunk/; revision=25369
2004-03-19 Not Zed <NotZed@Ximian.com>
* mail-component.c (mail_component_remove_store): ref the store
before running the async disconnect, otherwise we unref one too
many times.
svn path=/trunk/; revision=25124
2004-03-18 Not Zed <NotZed@Ximian.com>
* mail-config.c (mail_config_writable): started writing this, but
i couldn't be fucked right now - apparently gnome is supposed to
use the gconf thing which just doens't work. i'll waste a few
hours trying to get it to work again first before i keep going
with this.
2004-03-17 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_message_deliverystatus): format as plain
text too.
* em-format.c (emf_message_deliverystatus): format delivery
status messages as plain text, rather than as messages. since
they wont be CamelMimeMessages. Maybe they should be silently
hidden.
* mail-offline-handler.c (store_go_online): split this, only call
add_store/note_store once we've actually set the store online.
(store_went_online): set the store up once we're fully online.
Works around a deadlock in #55618.
* em-account-prefs.c (account_cursor_change): disable
editing/adding/removing accounts etc if accounts aren't editable.
(em_account_prefs_construct): call above after setup.
* mail-component.c (mc_quit_sync): if we have empty on exit days,
check that. keep track of the last empty on exit time.
* em-mailer-prefs.c (emmp_empty_trash_init): init the trash stuff
here.
(em_mailer_prefs_apply): save empty trash on exit frequency.
svn path=/trunk/; revision=25110
2004-03-16 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #55358.
* em-folder-tree.c (emft_expand_node): Changed to be the callback
function for em_folder_tree_model_expand_foreach().
(emft_maybe_expand_row): Renamed from emft_loading_row_cb(). We
now handle both "loading-row" an "loaded-row" signals. Also
updated for slight change in key generation.
(em_folder_tree_new_with_model): Connect to the "loaded-row"
signal.
(emft_update_model_expanded_state): Updated for slight change in
key generation.
* em-folder-tree-model.c (em_folder_tree_model_add_store): Emit
the "loaded-row" signal for the newly added store.
(em_folder_tree_model_set_folder_info): Emit "loaded-row" for the
row we've just set the info on (but only after we've added a child
node if there is one, so the signal handler can expand the newly
added row if appropriate).
(em_folder_tree_model_class_init): Setup the "loaded-row" signal.
(em_folder_tree_model_finalize): The tree-state is now an xml file
and not a binary file, so change the expanded free func.
(em_folder_tree_model_load_state): Load the expand-state xml
file. If one doesn't exist, setup some defaults.
(em_folder_tree_model_get_expanded): Scan the XML tree for the
node.
(em_folder_tree_model_set_expanded): Same.
(em_folder_tree_model_save_expanded): Save the expand-state xml
tree to disk.
(em_folder_tree_model_expand_foreach): New function to iterate
over all xml nodes and call the callback if the expand state is
"true".
svn path=/trunk/; revision=25094
2004-03-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (impl_requestCreateItem): Don't focus the
name_entry widget here.
* em-folder-selector.c (em_folder_selector_create_new): Focus the
name_entry widget here rather than in mail-component.c
svn path=/trunk/; revision=25091
2004-03-11 Not Zed <NotZed@Ximian.com>
* mail-component.c: change stores hash to point to a structure, in
which we maintain the vtrash and vjunk folders for the entirety of
the session. memory use be damned i guess. #55417 and partially
#55391.
svn path=/trunk/; revision=25022
2004-03-11 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_format_header): pass the raw header in
instead of name and value.
(efh_format_headers): if we have specific headers to show, iterate
over all headers and print out all matching ones, so duplicate
headers are properly displayed. Related to #55298.
* em-folder-selector.c (em_folder_selector_construct): dont set
this to be modal. otherwise you can't click on error popups. duh.
2004-03-08 Not Zed <NotZed@Ximian.com>
* em-folder-selection-button.c
(em_folder_selection_button_clicked): don't let the user select
virtual/vtrash folders or non-selectable folders.
* mail-component.c (impl_createControls): disable selection of
non-select rows.
* em-folder-selector.c (em_folder_selector_create_new): exclude
folders with noinferiors set.
* em-folder-tree.c (folder_tree_new): add folder tree arg, hook
onto the selection funciton for the tree selection.
(emft_select_func): selection override function. allow certain
things to be excluded.
(em_folder_tree_set_excluded): api to set what is excluded from
the selectability.
(emft_tree_row_activated): call emft_select_func check to see if
this row is excluded before emitting an activated signal.
* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
save folder info->flags in the tree store.
* mail-folder-cache.c (create_folders): use tail recursion.
(get_folders): tail recurse.
* (*): Fixed for api changes in camel.
svn path=/trunk/; revision=25020
2004-03-03 Not Zed <NotZed@Ximian.com>
** See bug #54121.
* mail-component.c (impl_requestCreateItem)
(emc_new_folder_response): Hack in a nastish implementation of
create folder for the new menu.
(impl__get_userCreatableItems): add 'new mail folder' to new
button.
svn path=/trunk/; revision=24945
2004-03-03 Not Zed <NotZed@Ximian.com>
* em-inline-filter.c (emif_scan):
* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
if we have the folder opened already, and its the outbox, then use
the total count instead of unread count. Bit of hack, but copies
mail-folder-cache stuff.
* mail-component.c (mc_add_store): renamed from
mail_component_add_store, internal call. Added a done callback.
(mc_add_local_store): renamed from mc_add_store, callback for
local store.
(mail_component_add_store): call mc_add_store to do the work.
(mc_add_local_store_done): ugh, the target of all this shit - note
all the default folders now they should be setup.
* mail-folder-cache.c (mail_note_folder): clean up the logic a
bit. was gonna do osmething else but it didn't work.
2004-03-02 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (mail_send): if we're already sending, up the
again count to tell it we need to re-send again.
(receive_done): if we've been asked to run a send again while we
were already running it, run it again to make sure we didn't miss
any new messages. See bug #46839.
* em-mailer-prefs.c (em_mailer_prefs_construct): update
check_incoming_imap changes for merge conflicts.
(settings_changed): i have no idea what these changes jeff did do,
but check_incoming_imap is no longer needed, so i've deleted most
of it.
2004-02-27 Not Zed <NotZed@Ximian.com>
* em-format.c (emf_multipart_encrypted, emf_multipart_signed): If
validation fails, display as multipart/mixed rather than unkown
attachment type, and make the error a little clearer that its an
error. See #52939.
2004-02-26 Not Zed <NotZed@Ximian.com>
* message-list.c (regen_list_regened): NOOP if the folder has
changed.
* mail-session.c (mail_session_check_junk_notify): remove
check_incoming_imap test.
(mail_session_init): "
* evolution-mail.schemas.in.in: Remove check_incoming_imap option.
* mail-config.glade: Remove check incoming imap checkbox.
* em-mailer-prefs.c (em_mailer_prefs_construct): remove
check_incoming_imap test.
(em_mailer_prefs_apply): "
(settings_changed): "
svn path=/trunk/; revision=24944
2004-02-17 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #54060 (except for the "don't let users copy/move
messages to Outbox" bit).
* em-folder-tree.c (emft_drop_target): Rearranged a little. We can
check for special dest folders right away. Also added a check for
the default local folders (Drafts/Inbox/Outbox/Sent) since we
don't want to be able to move them anywhere else (copying is ok).
(emft_popup_copy_folder_selected): Don't allow moving any of the
default local folders to be consistant with drag&drop changes.
(emft_popup_rename_folder): Don't allow the user to rename a
default local folder.
(emft_popup_delete_folder): Don't allow deletion of special local
folders.
* mail-component.c (mail_component_peek_local_store): New function
to peek the local store.
svn path=/trunk/; revision=24765
2004-02-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (mail_control_new): Disable the
bonobo-ui-component statusbar when using the EMFolderBrowser
outside of the mail component. This prevents the Connector
component from having 2 status bars.
svn path=/trunk/; revision=24717
2004-02-11 Not Zed <NotZed@Ximian.com>
* importers/pine-importer.c: Basically rewrote this, the import
tasks run in another thread. It tells you more about what's going
on, and its cancellable.
(pine_store_settings): changed the meaning of the settings
slightly, if set it means we've processed them already.
* mail-component-factory.c (factory): hook in importer factory
callback.
2004-02-10 Not Zed <NotZed@Ximian.com>
* importers/*-importer.c: removed module init, just provide a new
method. Updates for api changes.
* Makefile.am: link mail importers in directly.
* mail-importer.c: changed to do stuff in-memory with linked
stuff, moved to importers/.
* importers/GNOME_Evolution_Mail_Importers.server.in.in: merge all
importer .server info's here, point them all to the mailer
factory. Removed the others.
* importers/Makefile.am: remove Mailer.idl stuff. Move all
importers to a single library.
svn path=/trunk/; revision=24701
2004-02-05 Not Zed <NotZed@Ximian.com>
* em-folder-tree.c (em_folder_tree_create_folder): call abort
before we unref, aid debugging if we hit it.
* mail-vfolder.c (uri_is_spethal): check for vfolder/vtrash
folders. Based on name check and store options.
svn path=/trunk/; revision=24626
2004-02-04 Not Zed <NotZed@Ximian.com>
** See bug #53683.
* mail-ops.c (mail_sync_store): new async op to call
CamelStore::sync.
* mail-component.c (impl_requestQuit): implement, check to see if
we can quit, or have open or unsent messages (and are in online
mode).
(impl_quit): implement. Trigger off a sync of all open stores,
and return FALSE until its done.
(impl_upgradeFromVersion): fixed the signature to match the idl,
killed that warning at last.
** See bug #53832.
* em-folder-browser.c (emfb_folder_properties): only show this if
we have a uri set. Strictly, the menu item shouldn't be
activated.
** See bug #53131.
* em-folder-browser.c (em_folder_browser_show_preview): copy the
message list's cursor_uid before calling set_message, since it can
get freed during setting the message.
svn path=/trunk/; revision=24608
2004-01-30 Not Zed <NotZed@Ximian.com>
** See bug #53558 (plus other fixes/cleanups)
* em-format.c (emf_format_secure): default implementation, handle
output of inner part, but dont output any sign/encrypt info.
(emf_multipart_signed, emf_multipart_encrypted): replaced with
implementations from em-format-html.c, which now call
em_format_format_secure to output guts.
(emf_class_init): hook-up virtual method format_secure.
* em-format.[ch]: add a virtual method for outputing secured
parts. Moved all validity stuff from em-format-html.[ch] to here.
* mail-component.c (impl_createControls): set the session
interactive too.
* em-format-html-display.c: make smime stuff dependent on
HAVE_NSS.
(efhd_multipart_signed, efhd_application_xpkcs7mime): removed, now
handled by root class.
(efhd_output_secure): renamed to efhd_format_secure, and use
EMFormat::format_secure to kick off.
(efhd_class_init): setup format_secure virtual method.
* em-format-html.c (efh_multipart_encrypted): We need to handle
this here so we can properly keep track of the ciphervalidity
stuff. Also do it directly using the context, not
multipartencrypted part.
(efh_multipart_signed): with unsupported signature format, format
as multipart/mixed, not as an attachment.
(efh_multipart_signed): make the smime stuff optional.
(efh_multipart_signed, efh_multipart_encrypted): Moved to
em-format.c.
(efh_application_xpkcs7mime): moved to em-format.c
(efh_output_secure): renamed to efh_format_secure, linked into
virtual method. call parent class to do the validation foo then
output the info if needed.
(efh_format_message): fixed access to validity stuff to parent
object.
(efh_class_init): hook up format_secure virtual method.
(*): removed some now-unused headers.
svn path=/trunk/; revision=24531
2004-01-27 Not Zed <NotZed@Ximian.com>
** See bug #53084 and others.
* em-migrate.c (em_migrate): remove the vfolder_revert hack.
* em-composer-utils.c (ask_confirm_for_only_bcc): removed unused
vars.
* mail-tools.c (mail_tool_get_local_inbox): removed, handled by
mail_component_get_folder now.
* mail-component.c (mail_component_*): Changed the api slightly.
Using NULL as the component argument automatically implies you
want the default component.
(em_uri_from_camel, em_uri_to_camel): moved to em-utils.[ch]. Ok
so it isn't namespaced right ... *shrug*.
(mail_component_get_local_inbox): removed.
(mail_component_get_folder): single entry point for getting
standard folders. This is MT-Safe.
(mail_component_get_folder_uri): single entry point for getting
standard folder uri's. This is MT-Safe.
(add_store): removed, moved to mail_component_add_store.
(mail_component_load_store_by_uri): call mail_component_add_store
directly rather than copying its code.
(default_*_folder*): Removed, use accessor methods instead, fixed
all callers.
(setup_local_store): renamed to mc_setup_local_store, use proper
url encoding too. make run-once and thread-safe.
(MailComponentPrivate): Added a lock.
(mail_control_new): exported properly to kill warnings.
(mail_component_init): dont setup_local_store or add accounts
here.
(impl_createControls): setup local store/accounts here.
(mail_component_peek): dont setup vfolder storage here.
(mc_startup): internal function to startup stuff needed for gui
operation.
(setup_search_context): make run-once.
(mail_component_peek_search_context): call setup_search_context
incase it isn't setup yet.
(impl_upgradeFromVersion): remove the local store setup hack.
svn path=/trunk/; revision=24462
2004-01-27 Not Zed <NotZed@Ximian.com>
* em-folder-tree-model.c (folder_renamed): fix the parent-finding
logic.
2004-01-23 Not Zed <NotZed@Ximian.com>
* mail-component.c (mail_component_init): add the offline handler
interface to the component.
(store_go_online, go_online): removed, handled by the offline
handler.
* mail-offline-handler.c (store_go_online): add the store to the
tree model when we go online.
svn path=/trunk/; revision=24459