| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
2001-11-01 Larry Ewing <lewing@ximian.com>
* folder-browser.c (folder_browser_copy): fix cut & paste from the
message body.
svn path=/trunk/; revision=14568
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (handle_multipart_signed): Write out the url
before callind add_url since add_url may free it. Fixes #13839.
Remove debug printf.
* mail-display.c (on_object_requested): Remove debug printf.
svn path=/trunk/; revision=14564
|
|
|
|
|
|
|
|
|
| |
2001-10-31 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (list_add_addresses): Don't use a
case-sensitive comparison.
svn path=/trunk/; revision=14556
|
|
|
|
|
|
| |
* mail-format.c (try_inline_pgp_sig): Make this work again.
svn path=/trunk/; revision=14545
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 Larry Ewing <lewing@ximian.com>
* mail-account-gui.c (delete_event_cb): add delete_event_handler.
(menu_file_save_close_cb): add save and close command.
(launch_signature_editor): initial the editor as having changed
and attach the delete event handler.
svn path=/trunk/; revision=14499
|
|
|
|
|
|
|
|
| |
2001-10-30 <NotZed@Ximian.com>
* message-browser.c (d): Turn it off.
svn path=/trunk/; revision=14483
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 <NotZed@Ximian.com>
* mail-mt.c: Added exception strings to some of the op logging.
* mail-format.c (elide_quotes): Remove, uh, what was this for, its
not used anywhere? Also loops the instant it had a ", good one
trow! :)
(write_address): Remove name_arg/email_arg, these aren't used
anywhere.
svn path=/trunk/; revision=14482
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 <NotZed@Ximian.com>
* mail-mt.c (mail_msg_received): If we have a cancellation setup,
destroy it immediately, to save fd's.
(mail_msg_cancel): Check cancel != NULL.
(mail_msg_free): Same.
svn path=/trunk/; revision=14470
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 <NotZed@Ximian.com>
* folder-info.c: Comment out the Folder: and you've got mail
prints.
* mail-config-druid.c (wizard_next_cb): If we have a next
function, honour if it tells us its going to set the page, and
dont set it, otherwise, set it to the next page, unless we're at
the end of our pages, and let the wizard do it itself.
(wizard_back_cb): Same for going back. Rest of fix for #12127,
see e-shell-startup-wizard for the rest.
(next_func): If we're not on the last page, tell the druid we're
gonna handle the next button, so we can sync properly with it,
needed for above changes.
(back_func): Similarly for going back past page 0.
(wizard_listener_event): We want to set the page to the actual one
asked for not, pagenum-1.
svn path=/trunk/; revision=14449
|
|
|
|
|
|
|
|
|
| |
2001-10-30 <NotZed@Ximian.com>
* mail-local.c (mls_rename_folder): Oops, dont use the url storage
path to offset the folder name we're renaming/opening, etc.
svn path=/trunk/; revision=14431
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Joe Shaw <joe@ximian.com>
* configure.in: Require gal 0.15.99.8
* addressbook/backend/ebook/e-card-simple.c,
addressbook/gui/component/addressbook-storage.c,
addressbook/gui/widgets/e-addressbook-view.c,
calendar/gui/e-calendar-table.c,
calendar/gui/e-itip-control.c,
calendar/gui/e-meeting-model.c,
calendar/gui/itip-utils.c,
calendar/gui/print.c,
calendar/gui/alarm-notify/alarm-notify-dialog.c,
filter/rule-editor.c,
mail/mail-config.c,
mail/mail-folder-cache.c,
mail/mail-format.c,
mail/mail-local.c,
mail/mail-ops.c,
mail/mail-vfolder.c,
shell/e-local-storage.c,
shell/e-summary-storage.c: Change includes of
e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h
svn path=/trunk/; revision=14427
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 <NotZed@Ximian.com>
* subscribe-dialog.c (fe_cancel_op_foreach): Argh!!! Dont free the
async op data here, the async op is still running and will access
it! Just try to cancel it and mark it as cancelled (id == -1)
(fe_done_subscribing): Only remove outselves from the hash table
if we're not cancelled. The handle should always be set here,
since this code runs in the gui thread.
* message-list.c (on_cursor_activated_idle): If nothing
selected/cursor not activated, then select no message.
* mail-folder-cache.c (update_1folder): Make the trash count
optional on EVOLUTION_COUNT_TRASH, becuase some lusers are just
too stupid to understand what its for.
* component-factory.c (storage_xfer_folder): Return slightly
better error codes for copying folders, since its not implemented
yet.
* mail-vfolder.c, mail-local.c, mail-folder-cache.c,
message-list.c component-factory.c, mail-ops.c,
subscribe-dialog.c, mail-session.c: d() out some debug printfs,
w() out some warnings.
* folder-browser-ui.c (folder_browser_ui_add_message): Fix typo,
Resent->Resend.
svn path=/trunk/; revision=14412
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (transfer_messages_transfer): Don't warn the user if
the source and destination folders are the same.
svn path=/trunk/; revision=14410
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (handle_multipart_signed): add some debug spew re
13839.
* mail-display.c (on_object_requested): here too
svn path=/trunk/; revision=14404
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* e-searching-tokenizer.c (search_info_set_match_size_increase):
Fixed a warning by #if 0ing out this function.
* folder-browser.c, folder-browser.h (on_selection_changed):
Update status bar in an idle call. Fixes Ximian bug #13929.
* mail-folder-cache.c (folder_renamed, store_folder_renamed):
Fixed some warnings here.
svn path=/trunk/; revision=14372
|
|
|
|
|
|
|
|
| |
* folder-browser.c (folder_browser_copy): Fix the focus check.
It's not fb->message_list that has focus, it's one of its
children. #13616.
svn path=/trunk/; revision=14370
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 <NotZed@Ximian.com>
* mail-folder-cache.c (store_folder_renamed): Sort the folder
updates first, since we dont seem to get them in the right order,
or infact in any tree representation whatsoever when using IMAP
...? get_folder_info bugs?
Unrelated note to self, the subscribe dialogue may interfere with
the folder cache.
svn path=/trunk/; revision=14328
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 <NotZed@Ximian.com>
* mail-vfolder.c (rule_changed): Copy the folder's full_name
before trying to use it to rename.
(vfolder_edit_rule): Set 'orig' to be a reference of the original
rule.
(edit_rule_clicked): Dont lookup orig by name, copy it over
instead.
* folder-browser.c (got_folder): oops, emit signal before
unreffing object, incase we got killded during getting folder.
(got_folder): Reset get_id.
(folder_browser_new): Set get_id of the get_folder task.
(folder_browser_init): Init get_id.
(folder_browser_destroy): IF we have outstanding 'get folder' op,
cancel it.
svn path=/trunk/; revision=14323
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_save): Call
mail_autoreceive_setup() instead of
mail_autoreceive_setup_account() since that code was completely
broken anyway.
* mail-send-recv.c (mail_autoreceive_setup_account): Removed.
svn path=/trunk/; revision=14318
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (transfer_msg_done): Move the message-list
cursor to the next message.
(transfer_msg): If we are moving messages, then pass
transfer_msg_done() to mail_transfer_messages() so when it
finishes it can move the cursor to the next undeleted message.
svn path=/trunk/; revision=14313
|
|
|
|
|
|
|
|
|
|
| |
2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (try_inline_pgp): Check that the special PGP lines
begin and end with \n so as to avoid matching against quoted PGP
lines.
svn path=/trunk/; revision=14310
|
|
|
|
|
|
|
|
|
| |
2001-10-28 <NotZed@Ximian.com>
* mail-callbacks.c (mark_all_as_seen): fb = user_data, not fb =
fb!, fixes 13844.
svn path=/trunk/; revision=14305
|
|
|
|
|
|
|
|
|
| |
2001-10-28 <NotZed@Ximian.com>
* mail-local.c (mlf_rename): add the folder name to the path when
passing down to the subordinate folder.
svn path=/trunk/; revision=14295
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-28 <NotZed@Ximian.com>
* folder-browser-ui.c (fbui_sensitize_timeout): Remove uic, kill
dumb warning.
* mail-autofilter.c (mail_filter_rename_uri): Implement function
for filters to keep track of uri's being renamed.
(mail_filter_delete_uri): Similarly for deleting uri's. Note that
these functions are just noops though.
(real_flush_updates): Also rename and delete uri's from filters.
(mls_delete_folder): Unref the store when done.
(mls_rename_folder): Fix implementation, shell already created
destination folder, so we can't just rename :(
(xfer_folder): Manually call rename code, since the shell will do
a remove/add later on, AND there's no way we can determine the new
path from the crock of an api we have to work with.
svn path=/trunk/; revision=14291
|
|
|
|
|
|
|
|
|
| |
2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c: Deactivate the Print right-click menu option
if the message isn't loaded. Fixes bug #10346.
svn path=/trunk/; revision=14287
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-28 <NotZed@Ximian.com>
* mail-vfolder.c (mail_vfolder_rename_uri): Implemented.
(mail_vfolder_rename_uri): We do want to check renamed uri's from
vstores.
(mail_vfolder_delete_uri): Same.
(store_folder_renamed): Fix the folder hash at the same time.
* mail-folder-cache.c (real_flush_updates): Pass the rename event
to vfolder rename uri.
* mail-local.c (mail_local_folder_reconfigure): Change the store
path to be same as parent + mbox to be full path.
(mls_delete_folder): Change store path to be parent path, and mbox
to be full path.
(mail_local_folder_reconfigure): Fix a leak of tmpname.
* component-factory.c (xfer_folder): Only do a rename if we have
remove set, cleaned up logic a bit.
(idle_quit): Put the components still active check last last of
all.
(storage_create_folder): IF we have a fragment, use that as part
part for parent.
svn path=/trunk/; revision=14276
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_format_get_data_wrapper_text): Allow the
user to shoot him/herself in the foot when overriding message
charsets. Permanantly fixes bug #921.
svn path=/trunk/; revision=14240
|
|
|
|
| |
svn path=/trunk/; revision=14220
|
|
|
|
| |
svn path=/trunk/; revision=14217
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 <NotZed@Ximian.com>
* mail-local.c (mlf_set_folder): Changed to open the source store
from '/', so we can do renames across directories. Of course,
this doesn't quite work with different filesystems, but we'll
assume this isn't a problem we're going to have.
(mail_local_folder_get_type): Setup parent_class.
(mlf_rename): Implement folder rename call, rename internal data.
Is this a security issue? Well, not really, no more than anything
else.
* mail-folder-cache.c (mail_note_store): Listen to rename event.
(store_folder_renamed): Function to handle it, empty.
(mail_note_store_remove): Unhook from rename event.
(mail_note_folder): Hook onto renamed event.
(unset_folder_info): Unhook from renamed event.
(folder_finalised): Lock around update.
(folder_deleted): Lock around update.
(real_flush_updates): If we have a path to remove remove it.
(rename_folders): Scan folderinfo's, if we can find ones renamed,
rename them, otherwise add them.
* component-factory.c (owner_unset_cb): Use a timeout not an idle handler.
(storage_xfer_folder): Implementation of xfer_folder signal
handler, so we can rename imap/vfolders/etc.
svn path=/trunk/; revision=14205
|
|
|
|
|
|
| |
(instead of version 2 or any later version).
svn path=/trunk/; revision=14191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* folder-browser.c (etree_key): Work around something that we
think is a GtkHTML bug, where sometimes the adjustments have
slightly bogus values and scrolling ends up working backwards.
(Ximian 4939)
* mail-display.c (do_signature, do_attachment_header): Set the
icon to be 24x24 here so that (assuming it's not a thumbnail), no
resizes will have to be queued later. (There's still a bug with
the text to the left of the button being drawn twice for some
reason though.)
* mail-callbacks.c (delete_msg): Fix a bug here that makes
deleting multiple messages cause a gratuitous message body fetch.
(Ximian 12355)
svn path=/trunk/; revision=14172
|
|
|
|
|
|
|
|
|
| |
2001-10-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (providers_config): Set the GdkWindow of the
FolderBrowser, not the GtkWindow...
svn path=/trunk/; revision=14148
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 <NotZed@Ximian.com>
* component-factory.c (owner_unset_cb): Use a timeout not an idle handler.
* mail-callbacks.c (providers_config): Only set the parent window.
* mail-accounts.c (mail_edit): Set the parent on the account editor.
svn path=/trunk/; revision=14121
|
|
|
|
|
|
|
|
| |
2001-10-25 <NotZed@Ximian.com>
* openpgp-utils.c (openpgp_verify): s/iconv/e_iconv/.
svn path=/trunk/; revision=14114
|
|
|
|
|
|
|
|
|
| |
2001-10-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (send_mail_free): Don't forget to unref the filter
driver here.
svn path=/trunk/; revision=14103
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-25 <NotZed@Ximian.com>
* folder-browser-ui.c (fbui_sensitize_timeout): So apparently the
uicomp can just 'vanish' while we're using it. Joy. Take care of
that case here, fixes #13482.
(fbui_sensitise_item): Check here too just for kicks.
* mail-folder-cache.c (store_finalised): If we can't destroy our
async event, then queue another one to do it.
(store_finalised_finish): And handle it here, until we can, then
free it.
(mail_note_store): Queue an async event to get folderinfo, dont
use mail_get_folderinfo.
(update_folders_get): thread-async event to retrieve the
folderinfo, and build it, then queues gui-async event to update
the gui.
(add_unmatched_info): Taken from mail-ops, adds unmatched if
required.
(add_vtrash_info): From mail-ops, add trash if required.
(update_folders): Thread async event to update gui.
(mail_note_store): Ref the store and storage when created.
(update_1folder): Changed to assume we have info_lock, and store
updates in an updates list.
(setup_folder): Same.
(folder_changed): Changed to call update_1folder directly.
(real_folder_changed): Removed.
(mail_note_folder): Changed to call update_1folder directly.
(real_note_folder): Removed.
(store_folder_subscribed): Call setup_folder directly.
(real_folder_created): Removed.
(real_flush_update): Function that actually does the updates in
the gui thread.
(mail_note_store): Go back to using mail_get_folderinfo.
(update_folders): Fixed upf ro changed api's.
(unset_folder_info): Changed to queue pending updates.
(real_folder_deleted): Removed.
(store_folder_unsubscribed): Do the removal work directly.
(mail_note_store): Dont link to finalised event of store - we now
ref it.
(mail_note_store_remove): If we have any pending updates, clear
them out. Also cancel any pending folderinfo retrieve operations.
(update_folders): Remove our update from the storeinfo list, if it
still exists.
(update_1folder): Make 'sent folder shows all counts' optional via
an environmental variable EVOLUTION_COUNT_SENT for all those
bloody whinging lusers out there.
(mail_note_store_remove): Unref the storage when done.
* mail-mt.c (mail_async_event_emit): If we're in main and have a
gui task, set it to run via an idle function.
(idle_async_event): Wrapper for calling do_async_event from idle
function, and freeing the message when done.
(idle_async_event): Call mail_msg_free not free on the finished
message.
* component-factory.c (mail_remove_storage): Destroy the storage
async.
(store_disconnect): This does the work.
(free_storage): Un-note the store when we remove it, so the store
noting code can unref things properly.
(idle_quit): Return false when done, dont loop.
2001-10-24 <NotZed@Ximian.com>
* component-factory.c (owner_set_cb): Setup an async_event
handler.
(idle_quit): Try to destroy the async_event, or keep dropping out
if it can't (deadlock).
* mail-mt.c (do_async_event): Set the threadid of the thread we're
running in so we know its running/which thread its in.
(mail_async_event_emit): Added new argument 'type' which is the
type of thread to execute against, gui or another one. Fixed all
callers.
(mail_async_event_destroy): Return -1 if this operation will fail
(deadlock possibility). If we're in the thread of the task
we're going to wait for, then return a failure (since we will
deadlock).
(mail_async_event_emit): Chagned to use MailAsyncFunc type as the
function type, which just takes 3 void args, change args to suit.
* mail-folder-cache.c (mail_note_store): Record the pending update
events in a pending list. We should really be able to use an
async event for this, but that doesn't return to the gui loop when
done :-/
(update_folders): Remove from pending update when done.
svn path=/trunk/; revision=14101
|
|
|
|
|
|
|
|
|
|
| |
2001-10-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-send-recv.c (get_receive_type): Check for a NULL provider.
(build_dialogue): Check for invalid source urls.
(mail_receive_uri): Same.
svn path=/trunk/; revision=14096
|
|
|
|
|
|
|
|
|
|
| |
2001-10-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): No longer need to pass a
settext argument.
(do_forward_non_attached): Same.
svn path=/trunk/; revision=14085
|
|
|
|
| |
svn path=/trunk/; revision=14082
|
|
|
|
|
|
|
|
|
| |
2001-10-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_get_message_body): Fix to not always return
NULL for html parts, doh!.
svn path=/trunk/; revision=14081
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-24 <NotZed@Ximian.com>
* folder-browser-ui.c (ui_add):
(fbui_sensitize_timeout): Same.
* folder-browser-factory.c (control_activate): Comment out freeze/thaw.
(control_deactivate):
svn path=/trunk/; revision=13990
|
|
|
|
|
|
|
|
|
|
| |
2001-10-24 Jon Trowbridge <trow@ximian.com>
* mail-search.c (mail_search_construct): Fixed some weird casting
crack that got in here somehow, removed superfluous box-packing
that was generating a gtk warning.
svn path=/trunk/; revision=13988
|
|
|
|
| |
svn path=/trunk/; revision=13977
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (owner_unset_cb): Unref the global
search_context.
(owner_set_cb): create the global search_context.
* folder-browser.c (folder_browser_gui_init): Pass along the
global search_context to the e_filter_bar_new call.
svn path=/trunk/; revision=13976
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix for #10346
2001-10-24 <NotZed@Ximian.com>
* message-browser.c (message_browser_message_loaded): Call
ui_message_loaded when we are.
* folder-browser-factory.c (control_activate): Freeze/thaw around
all updates.
(control_deactivate): Freeze/thaw around all updates.
* folder-browser.c (folder_browser_init): Setup a hashtable to
keep track of *our* sensitise state, so we can optimise pushes to
bonobo.
(folder_browser_finalise): Free hash here.
(folder_browser_set_message_preview): Call a ui_message_loaded,
even though it isn't, so it updates sensitivities right.
(done_message_selected): Call ui_message_loaded when it really is,
rather than the very fucked up idea of reversing the loaded_uid
check.
* folder-browser-ui.c (folder_browser_ui_set_selection_state):
Dont enable the message-enabled options if the message display is
hidden, e.g. print, view headers, etc.
(folder_browser_ui_rm_all): Forget sensitise state.
(fbui_sensitise_item): Sensitise items via a current-state table,
so we dont have to do bonobo calls every time.
(folder_browser_setup_property_menu): Call sensitise_item.
(folder_browser_ui_add_message):
(folder_browser_ui_add_global): Leave current set_prop "sensitive"
for the stop button, so it doesn't get lost by the stuff in
mail-mt.c
(fbui_real_sensitize_items): Removed.
(fbui_sensitize_timeout): Cleaned up, use sensitise_item to do
work.
(folder_browser_ui_message_loaded): Setup sensitive based on
preview_shown too.
(folder_browser_ui_set_selection_state): And here too.
svn path=/trunk/; revision=13972
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (service_check_supported): Don't allow an
auth-type to be set when saving the service.
(mail_account_gui_new): Initialize the source and transport
provider_type's here so we don't forget to do it when it matters.
(mail_account_gui_setup): Don't bother setting the provider_type's
here, they are already set in mail_account_gui_new() now.
svn path=/trunk/; revision=13968
|
|
|
|
|
|
|
|
|
| |
2001-10-23 <NotZed@Ximian.com>
* mail-display.c (mail_display_destroy): Remove the idle_id when
we're destroyed so the idle func doesn't run on an invalid object.
svn path=/trunk/; revision=13966
|
|
|
|
|
|
|
|
|
| |
2001-10-23 <NotZed@Ximian.com>
* message-list.c (regen_list_regened): Dont do anything if we're
destroyed #13021.
svn path=/trunk/; revision=13963
|
|
|
|
|
|
| |
destroy handler so it doesn't get called twice.
svn path=/trunk/; revision=13955
|
|
|
|
| |
svn path=/trunk/; revision=13953
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 <NotZed@Ximian.com>
* mail-mt.c (mail_user_message):
(mail_get_password): Removed, all functionality moved to
mail-session.
* mail-config.c (mail_config_write_on_exit): Check
threaded/preview hash is null before using it, its setup on demand
so itmight nto be initialised here.
* mail-session.c (request_password): Remove password_current
stuff.
(alert_user): Redont, similar to get_pass. Do things as async as
possible, and dont even wait for a response if we're not asking
for the cancel button (this may or may not be right behaviour -
need to check). mail_user_message() code replaced from the stuff
in mail-mt.c
(MailSession): Added a lock field.
(init): Setup lock.
(finalise): fRee lock.
(register_timeout): Redone. We now allocate our own 'timeoutid's,
and <> to the real things asynchronously. Use async_event's so we
can make sure we have no outstanding ones after shutdown.
(mail_session_enable_interaction): If interaction has been
disabled, and we have either a message-box open, or a password
request open and/or any pending message boxes/passwords, blow 'em
away.
(main_register_timeout): If we have pending remove of this same
timeout, dont do anything.
(timeout_timeout): Properly honour the result, remove the timout
if it returns false.
svn path=/trunk/; revision=13952
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (reply_to_sender): Make sure the fb and it's
message-list exist.
(reply_to_list): same.
(reply_to_all): And here...
(forward_message): Here too.
(forward_attached): Again here.
(transfer_msg): Here too.
(apply_filters): Same.
(select_all): Yet again here...
(select_thread): And here.
(invert_selection): Same.
(flag_messages): Here too.
(mark_as_unseen): and here...
(mark_all_as_seen): ...
(zoom_in):
(zoom_out):
(zoom_reset):
(search_msg):
(load_images):
(save_msg):
(next_msg):
(next_flagged_msg):
(next_unread_msg):
(previous_msg):
(previous_unread_msg):
(expunge_folder):
(configure_folder):
(empty_trash):
svn path=/trunk/; revision=13950
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 <NotZed@Ximian.com>
* mail-mt.c: Added missing errno.h
(mail_msg_new): Fix the logic a bit, dont try to open the log file
unless logging is actually requested.
svn path=/trunk/; revision=13944
|
|
|
|
|
|
|
|
| |
* mail-mt.c (mail_msg_new): If the fopen() fails (eg, because
evolution-mail was started by oafd with PWD=/), don't try to use
the NULL file handle.
svn path=/trunk/; revision=13943
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 <NotZed@Ximian.com>
* mail-session.c (get_password): Completely re-done. We now hae a
completely async dialogue when requested from antoehr thread, and
dont use gtk_main() if we can avoid it (which is normally the
case). This stuff is only partially finished, and will mena the
removal of the same from mail-mt.c, and the mail_user_message()
code will be moved here and changed to work in a similar way.
* mail-callbacks.c (empty_trash): Dont try and connect to remote
stores just to get the trash. Also, always run empty trash async,
and make sure we unref the trash.
(empty_trash): Hmm, dont unref the trash, causes a problem on
exit, i suspect something else is doing funky unrefs on it.
* mail-tools.c (mail_tool_get_trash): Pass a 'connect' arg, tell
it whether it should tryand connect or not to the parent service,
if it isn't already connected.
* component-factory.c (owner_unset_cb): Dont try wait_all here,
could potentially deadlock.
(idle_quit): Keep returning TRUE if we have outstanding
processing. Note that this may busy-wait during exit processign
with busy tasks :(
(idle_quit): Keep calling ourselves till we no longer get called
(i.e. gtk_main really quits).
* mail-mt.c (mail_msg_active): New function, returns TRUE if
events are still active/outstanding.
(do_op_status): @$@$#@@!#@!! didn't unlock the mail_msg_lock if
data->activity was NULL and we had no global_shell_client anymore!
Also shortcut processing if this is going to be the case.
(mail_msg_init): Setup a temporary other gui_port for redoing with
new semantics password, user message and progress reporting.
(mail_get_password): #ifdef'd out all this code temporarily, till
it gets fully moved to mail-session.c
2001-10-22 <NotZed@Ximian.com>
* component-factory.c (owner_set_cb): Dont call enable_interaction
here.
(interactive_cb): But here instead, let the shell tell us when its
ok to go interactive.
svn path=/trunk/; revision=13933
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (write_one_text_plain_chunk): Oops, revert my
change to this function.
svn path=/trunk/; revision=13930
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.h (mail_html_write_string): New fun macro.
* mail-format.c (write_one_text_plain_chunk): Use gtk_html_write
instead of mail_html_write so we avoid strdup'ing the text.
(handle_text_plain_flowed): Use the mail_html_write_string macro.
(handle_message_rfc822): Here too.
(mail_format_raw_message): We can do it here also...
(attachment_header): We can do it a little bit here...
(write_address): A microscopic bit here...
(write_hr): same.
svn path=/trunk/; revision=13925
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: Added several new accelerators to the edit account
dialog, and fixed the focus targets on all existing accelerators. I
was hoping that since the widgets used in the account editor are also
used in the first-time start-up druid and them mail-config druid,
that this would fix all accelerator problems for those druids as well,
but there is something wrong with Bonobo which is preventing
the druids from responding to their accelerators. Sigh. Anyway,
most accelerators in the edit account dialog work correctly
now, though there are few (such as _Full Name) which fail to
do anything. I don't know why.
svn path=/trunk/; revision=13914
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-stream-gtkhtml.c (mail_stream_gtkhtml_new): New class that
wraps writing to a GtkHTML stream so that we don't have to write
to an intermediate GByteArray.
* mail-display.c (on_url_requested): Use the new Camel->GtkHTML
stream - this means we don't have to chew up nearly as much
memory...yay!
svn path=/trunk/; revision=13911
|
|
|
|
|
|
|
| |
* mail-mt.c (do_op_status): Don't free `clientid' as it's
uninitialized.
svn path=/trunk/; revision=13899
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Christopher James Lahey <clahey@ximian.com>
* message-list.etspec (Score): disable this column. Fixes Ximian
bug #12381.
svn path=/trunk/; revision=13898
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-mt.c: #include "component-factory.h".
(do_op_status): Pass the component ID instead of the msg ID.
* component-factory.h (COMPONENT_ID): #define here instead of
`component-factory.c'.
(SUMMARY_FACTORY_ID): Likewise.
svn path=/trunk/; revision=13895
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (format_mime_part): Don't wrap error text with
<blockquote>, this is done inside mail_error_write.
(handle_multipart_encrypted): If we get an exception trying to
decrypt the mime part, display an error rather than trying to
treat it as multipart/mixed.
* mail-callbacks.c (empty_trash): Confirm expunge.
svn path=/trunk/; revision=13893
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (folder_browser_destroy): Move the folder sync
code along with a few other things from folder_browser_finalise()
into here instead.
(folder_browser_finalise): Moved some cleanup functions into
destroy.
svn path=/trunk/; revision=13892
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (handle_application_pgp): Remove this unused
hack.
(mail_format_mime_message): Initialize a fourth hash table, used
to keep track of fake MIME parts.
(mail_part_set_default_displayed_inline): New routine to set the
default disposition of a part (doesn't change it if the user has
already overridden it).
(format_mime_part): Wrap a blockquote around the error text (moved
here from mail_error_write since it doesn't apply in other cases).
(write_hr): Write a <hr> with appropriate padding between MIME
parts.
(write_one_text_plain_chunk): Write some plain text with
appropriate margins.
(handle_text_plain): Use write_one_text_plain_chunk. Update for
inline specials handler API change.
(fake_mime_part_from_data): Use the "fake_parts" hash to avoid
recreating the same fake parts again if the message is
redisplayed. Lets you toggle the shown/hiddenness of uudecode
parts, and do the new pgp verification thing for inline pgp
signatures.
(try_inline_pgp): Don't do any actual PGP handling here: Just
rewrite as a multipart/encrypted.
(try_inline_pgp_sig): Likewise, just do a multipart/signed (with
the x-inline-pgp-hack parameter set).
(try_uudecoding, try_inline_binhex): Update for API changes.
(handle_multipart_signed): Exciting and new. Use <object> to
create a button which the user must click to do the
verification. Change the formatting of the gpg output text a bit.
* mail-display.c (on_link_clicked): Remove x-evolution-decode-pgp
hack, which is no longer used.
(pixbuf_gen_idle): Add a hack for the PGP verification button.
(do_attachment_header, do_external_viewer): Split out of
on_object_requeested for clarity.
(do_signature): New routine to do the PGP verification button.
(on_object_requested): Now just dispatches to
do_attachment_header, do_external_viewer, or do_signature.
(mail_error_write): Don't do <blockquote> here. Fixed the problem
that was trying to fix elsewhere.
svn path=/trunk/; revision=13888
|
|
|
|
|
|
|
|
| |
* mail-callbacks.c (transfer_msg): Fix these functions so they
don't crash evolution-mail. Too bad it still crashes in the
shell.
svn path=/trunk/; revision=13873
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_url_requested): Use
mail_format_get_data_wrapper_text for text parts so we get free
charset conversion.
* mail-format.c (mail_format_get_data_wrapper_text): Renamed from
get_data_wrapper_text and now returns a GByteArray.
(handle_text_plain): Updated to use the new get_data_wrapper_text.
(handle_application_pgp): Same. Wow...also fixed a mem leak and
made a bit more efficient by doing so.
(handle_text_enriched): Here too. Also use string->len instead of
strlen (string->str).
(mail_format_raw_message): Same.
svn path=/trunk/; revision=13862
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 <NotZed@Ximian.com>
* mail-callbacks.c (mark_all_as_seen): Instead of select_all()
then using the tree's selected nodes to iterate, just do it on the
folder which keeps the current selection. Fixes #3658.
svn path=/trunk/; revision=13860
|
|
|
|
| |
svn path=/trunk/; revision=13858
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-21 <NotZed@Ximian.com>
* mail-vfolder.c (mail_vfolder_shutdown): Clear variables once
done, for debugging.
(mail_vfolder_add_uri, mail_vfolder_delete_uri): Dont do anything
if we're shutdown (context == NULL).
* component-factory.c (idle_quit): Move mail_vfolder_shutdown
here, it should be one of the last things shutdown.
* mail-format.c (handle_text_plain): Dont use (if (!p++), and then
check p!= later, since its now 1, oops. Fixes #13106, thought it
was a start of uuencoded stuff!
* folder-browser.c (on_right_click): Escape _'s before adding them
to menu from mailing list name, also remove some dead code that
someone forgot to remove when refactoring. #11307.
(folder_browser_is_drafts): Use the store's uri_cmp function to
compare to the drafts uri's.
(folder_browser_is_sent): Same. Slight cleanup for #11351.
svn path=/trunk/; revision=13856
|
|
|
|
|
|
|
|
| |
* mail-callbacks.c (mail_generate_reply): Update for
e_msg_composer_add_messages_attachments arg change.
(do_forward_non_attached): Likewise.
svn path=/trunk/; revision=13853
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Jon Trowbridge <trow@ximian.com>
* mail-display.c (mail_display_new): Don't leak our
ESearchingTokenizer.
svn path=/trunk/; revision=13837
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Larry Ewing <lewing@ximian.com>
* folder-browser-ui.c: hook up zoom functions.
* mail-callbacks.h: add prototypes.
* mail-callbacks.c (zoom_in): added.
(zoom_out): added.
(zoom_reset): added.
svn path=/trunk/; revision=13832
|
|
|
|
|
|
|
|
|
| |
2001-10-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (transfer_msg): Allow copy/move to/from vTrash
folders as well.
svn path=/trunk/; revision=13815
|
|
|
|
|
|
|
|
|
| |
2001-10-19 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (destination_folder_handle_drop): Properly
handle local vTrash folders.
svn path=/trunk/; revision=13813
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): Update to reflect API
changes to e_msg_composer_add_message_attachments().
(do_forward_non_attached): Same.
(providers_config): Oops, pass a GdkWindow instead of a GtkWindow.
svn path=/trunk/; revision=13812
|
|
|
|
|
|
|
|
|
| |
2001-10-19 <NotZed@Ximian.com>
* mail-account-gui.c (build_auth_menu): Dont translate camel strings.
(mail_account_gui_setup): "
svn path=/trunk/; revision=13810
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-storage-set-view.c (tree_drag_data_received): Pass the
@folder_type to ::handleDrop.
* evolution-shell-component-dnd.c
(impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion):
New arg @folder_type.
(impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop):
Likewise.
* evolution-shell-component-dnd.h: Add @folder_type to
`DndDestinationFolderHandleDropFn' and
`DndDestinationFolderHandleMotionFn'.
* e-storage-set-view.c (tree_drag_motion): Pass the folder type to
`::handleMotion'.
* Evolution-ShellComponentDnd.idl: Pass @folder_type in
::handleDrop and ::handleMotion.
* component-factory.c (destination_folder_handle_motion): Get
@folder_type here too [to match the changes in the
EvolutionShellComponentDnd interface]. Also, remove a debugging
message.
(destination_folder_handle_drop): Likewise.
* gui/component/addressbook-component.c
(destination_folder_handle_motion): Get @folder_type here too [to
match the changes in the EvolutionShellComponentDnd interface].
Also, remove a debugging message.
(destination_folder_handle_drop): Likewise.
svn path=/trunk/; revision=13807
|
|
|
|
|
|
|
|
|
|
| |
2001-10-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): Update to reflect API
changes to e_msg_composer_add_message_attachments().
(do_forward_non_attached): Same.
svn path=/trunk/; revision=13801
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-19 <NotZed@Ximian.com>
* mail-folder-cache.c (store_finalised): Free folders_uri.
(real_folder_deleted): If folder is deleted, remove it from the
hashtables.
* subscribe-dialog.c (get_short_folderinfo_get): Remove the
register/unregister, they're already done above us.
* mail-vfolder.c
(mail_vfolder_delete_uri): Dont do any work to remove the actual
folder from the vfolder (we'd have to look it up first), let the
vfolder remove it itself. Just update the rules.
svn path=/trunk/; revision=13787
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-18 <NotZed@Ximian.com>
* mail-vfolder.c (vfolder_adduri): Added remove flag - its not
adduri, its removeuri, its less typing than creating a removeuri.
(vfolder_adduri_do): Implement the remove flag.
(mail_vfolder_remove_uri): Changed to mail_vfolder_delte_uri, to
indicate its actually been deleted.
(mail_vfolder_add_uri): Added remove flag.
(rule_changed): When adding existing folders to a new rule, strdup
the list data.
* mail-folder-cache.c (store_finalised): Unhook from all events
when done.
(mail_note_store_remove): Remove a store from being noted.
(free_folder_info): Also if we have a folder, unhook all events.
Also remove the uri from vfolders.
(mail_note_folder): Remove warning about adding folders to stores
that aren't added yet - we might actually be removing the store.
* component-factory.c (mail_remove_storage): Call
mail_note_store_remove when we remove the storage.
svn path=/trunk/; revision=13782
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (providers_config): Don't make the mail
settings dialog modal.
svn path=/trunk/; revision=13780
|
|
|
|
|
|
|
| |
out-of-proc. Now it can be set to be a transient window correctly,
and fakes its WindowGroup hint appropriately.
svn path=/trunk/; revision=13765
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-18 <NotZed@Ximian.com>
* mail-send-recv.c (build_dialogue): call setup_send_data *after*
we've setup the global dialogue thingy.
(mail_send_receive): Instead of using static local to check for
re-running of dialogue, use a global, setup by build_dialogue.
These fix #12335.
(mail_send_receive): Dont assert dialogue is realized, it might
still be being built, so only show if it is realized.
svn path=/trunk/; revision=13764
|
|
|
|
| |
svn path=/trunk/; revision=13753
|
|
|
|
|
|
|
| |
* mail-mt.c (mail_call_main): Use va_copy to make this compile on
ppc again.
svn path=/trunk/; revision=13749
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-17 <NotZed@Ximian.com>
* mail-folder-cache.c (store_folder_subscribed): Clone the
folderinfo before passing to async event.
(real_folder_created): Free when done.
(store_folder_unsubscribed):
(real_folder_deleted): And same here.
* mail-ops.c (mail_expunge_folder): Use the queued thread for
expunging folders.
svn path=/trunk/; revision=13741
|
|
|
|
|
|
|
|
|
| |
2001-10-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (mail_send_message): No longer need to copy the
description now that camel-exceptions have been fixed.
svn path=/trunk/; revision=13738
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-17 Jeffrey Stedfast <fejj@ximian.com>
* subscribe-dialog.h (subscribe_dialog_show): Helper macro.
* subscribe-dialog.c (subscribe_dialog_run_and_close): Removed.
* mail-callbacks.c (check_send_configuration): Don't use
gnome_dialog_run_and_close() here, we can easily get away with
just using a gtk_widget_show().
(providers_config): Don't use a gnome_dialog_run_and_close() here
either. No longer need to use e_gnome_dialog utils.
(manage_subscriptions): Don't run_and_close().
svn path=/trunk/; revision=13732
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (check_send_configuration): Don't use
gnome_dialog_run_and_close() here, we can easily get away with
just using a gtk_widget_show().
(providers_config): Don't use a gnome_dialog_run_and_close() here
either.
svn path=/trunk/; revision=13727
|
|
|
|
|
|
|
|
|
| |
2001-10-17 <NotZed@Ximian.com>
* mail-callbacks.c (empty_trash): Only empty trash on enabled
accounts, fixes #12821.
svn path=/trunk/; revision=13724
|
|
|
|
|
|
|
| |
* mail-format.c (write_default_header): Make Reply-To bold too
since no one ever figures out why it's not currently.
svn path=/trunk/; revision=13723
|
|
|
|
| |
svn path=/trunk/; revision=13718
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (uid_cachename_hack): Lets put the UID cache in
~/evolution/mail/pop3 as this makes more sense than ~/mail/config
does. Perform checking to see what flavor cache-path the user is
on and compensate.
svn path=/trunk/; revision=13708
|
|
|
|
|
|
|
|
|
|
| |
2001-10-16 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (on_cursor_activated_idle): Check that the
cursor_uid is non-NULL before emitting a "message_selected"
signal. Fixes bug #6015.
svn path=/trunk/; revision=13706
|
|
|
|
|
|
|
|
|
| |
2001-10-16 Jon Trowbridge <trow@ximian.com>
* e-searching-tokenizer.c (e_searching_tokenizer_begin): Always
explicitly clear out the SearchInfo.
svn path=/trunk/; revision=13704
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
folder-browser.c:
(folder_browser_set_message_preview): Return do nothing if we're
destroyed (message_list == NULL).
(folder_browser_search_query_changed): "
(folder_browser_toggle_preview): "
(folder_browser_toggle_threads): "
(folder_browser_toggle_hide_deleted): "
(folder_browser_set_message_display_style): "
(folder_browser_charset_changed): " All for #12613.
svn path=/trunk/; revision=13703
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-folder-cache.c: Added an async_event handler to store_info.
(mail_note_store): Setup async event handler here.
(store_finalised): Flush out async events here.
(folder_changed): Use async event handler to emit event.
(mail_note_folder): Chagned, do most of the work in the calling
context, only do the corba stuff in main.
(store_folder_subscribed): Use async event, and do more work locally.
(store_folder_unsubscribed): Same.
(store_folder_deleted): Call store_folder_unsubscribed if we have
to do any work.
(store_folder_created): Call store_folder_subscribed if we have to
do any work.
(store_folder_unsubscribed): Ref store while busy.
(real_folder_deleted): And unref here.
(store_folder_subscribed): Reg store while busy.
(real_folder_created): Unref here.
(mail_note_folder): Ref folder while busy.
(real_note_folder): And unref here.
(mail_note_folder): Hook onto folder_deleted event.
(folder_deleted): Just mark this folder as no longer available.
* mail-session.c (register_timeout): Use mail_call_main instead of
proxy_event.
(remove_timeout): Same here.
* folder-browser.c (folder_changed): use the new mail_async_event
stuff.
(folder_changed_main): Remove old async event handling stuff.
(FOLDER_BROWSER_LOCK/UNLOCK): Removed.
(FolderBrowserPrivate): Removed too, sigh.
* mail-mt.c (mail_async_event_new, mail_async_event_emit,
mail_async_event_destroy): New functions to handle async events.
(mail_proxy_event, mail_proxy_event_id): Removed old functions for
async events.
(do_call): Add suport for MAIL_CALL_p_pp.
(mail_msg_free): Use mail_async_event instead of proxy_event.
* message-list.c (message_changed): Promote the message_changed to
a folder_changed and use main_folder_changed to process it.
(main_message_changed): Remove.d
(message_list_init): Setup async event handler.
(message_list_destroy): Remove async handler.
(folder_changed): Use async hanler to emit event in main loop.
(message_changed): Same.
svn path=/trunk/; revision=13698
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-16 <NotZed@Ximian.com>
* mail-mt.c (mail_proxy_event_id): New function to return the id
of the currently executing proxied event.
* folder-browser.h: Added private field.
* folder-browser.c (folder_changed): Keep track of tasks
outstanding in the tasks list, locked access.
(FOLDER_BROWSER_LOCK, UNLOCK): Macros to lock the folder browser
for poking about in diff threads.
(folder_browser_finalise): Wait for any outstanding takss to
finish before cleaning ourself up.
(folder_browser_destroy): Move the seen_id handling to finalise,
also add a loading_id handling code.
(main_folder_changed): Remove our running task when done.
svn path=/trunk/; revision=13695
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Larry Ewing <lewing@ximian.com>
* mail-display.c (mail_error_write): don't write strings longer
than they actually are.
svn path=/trunk/; revision=13693
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (folder_browser_destroy): Remove the mark_seen
timeout.
svn path=/trunk/; revision=13689
|
|
|
|
| |
svn path=/trunk/; revision=13684
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Larry Ewing <lewing@ximian.com>
* mail-callbacks.c (mail_generate_reply): don't apply the body
text in replys since we will just replace it anyway.
svn path=/trunk/; revision=13683
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (owner_unset_cb): Call
mail_vfolder_shutdown.
* mail-vfolder.c (mail_vfolder_shutdown): Unref all of our
VFolders.
* mail-folder-cache.c (real_note_folder): Remember to unref the
folder before returning if we have already noted this folder.
svn path=/trunk/; revision=13682
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-15 <NotZed@Ximian.com>
* mail-session.c (get_password): Proxy get-password call to main
thread.
(forget_password): same for forget_password.
(get_filter_driver): and same for get_filter_driver, since it uses
gtk objects.
* mail-mt.c (mail_call_main): new generic interface for calling
stuff/proxying in the gui thread.
svn path=/trunk/; revision=13679
|
|
|
|
| |
svn path=/trunk/; revision=13676
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-14 Jon Trowbridge <trow@ximian.com>
* e-searching-tokenizer.c (e_searching_tokenizer_clone): Share
more state between the parent and its clones, so that our multiple
tokenizers don't get out of sync when we are rendering frames and
iframes. (Bug #11638)
svn path=/trunk/; revision=13671
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-13 Jon Trowbridge <trow@ximian.com>
* e-searching-tokenizer.c (search_info_compare): Bad hacker!
Don't implicitly assume that utf8 characters are one byte in size!
(Bug #9520)
(e_searching_tokenizer_begin): As long as I'm touching those code:
don't increase the size of search matches. I'll fix the colors
later. (part of bug #11589)
svn path=/trunk/; revision=13667
|
|
|
|
|
|
|
| |
* mail-callbacks.c (create_msg_composer): Don't emit a gtk warning
if the composer creation fails.
svn path=/trunk/; revision=13660
|
|
|
|
|
|
|
|
|
| |
* message-list.c, message-list.h, message-list.etspec: Revert the
change to remove the Score column until Chris can fix ETable so
it's possible to remove a column without breaking everyone's
exisiting settings.
svn path=/trunk/; revision=13646
|
|
|
|
| |
svn path=/trunk/; revision=13645
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-12 Chris Toshok <toshok@ximian.com>
* main.c (main): call e_passwords_init and e_passwords_shutdown.
* mail-session.h: add prototypes for
mail_session_{get,add}_password.
* mail-session.c (init): empty this out - we use e_passwords
instead of a local hashtable.
(get_password): use e_passwords_get_password and
e_passwords_add_password.
(forget_password): use e_passwords_forget_password.
(mail_session_remember_password): use
e_passwords_remember_password.
(mail_session_forget_password): use e_passwords_forget_password.
(mail_session_get_password): new function, use
e_passwords_get_password.
(mail_session_add_password): same, use e_passwords_add_password.
(mail_session_forget_passwords): use e_passwords_forget_passwords.
* mail-config.c (mail_config_write_on_exit): fix this up so it
works as desired with the e_passwords stuff.
svn path=/trunk/; revision=13640
|
|
|
|
|
|
|
|
|
| |
2001-10-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_error_write): Convert URLS so we can get
clickable links.
svn path=/trunk/; revision=13628
|
|
|
|
| |
svn path=/trunk/; revision=13626
|
|
|
|
|
|
|
|
|
|
| |
2001-10-12 Jon Trowbridge <trow@ximian.com>
* mail-display.c (html_button_press_event): Store our listener id.
(popup_info_free): Disconnect our listener when we free the popup.
(Bug #11040)
svn path=/trunk/; revision=13619
|
|
|
|
|
|
|
|
|
|
| |
2001-10-11 Jon Trowbridge <trow@ximian.com>
* mail-callbacks.c (addrbook_sender): Listen for "destroy" events
from the control, so that we don't leave stray windows laying
around. (Bug #9101)
svn path=/trunk/; revision=13609
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-11 <NotZed@Ximian.com>
* local-config.glade: Added a checkbox for body indexing.
* mail-local.c (mail_local_reconfigure_folder): Get index_body
widget.
(mail_local_folder_reconfigure): Add an 'index_body' argument &
implement. Dont do anything if nothing changed.
* openpgp-utils.c (openpgp_verify): Use e_iconv_open.
svn path=/trunk/; revision=13603
|
|
|
|
| |
svn path=/trunk/; revision=13597
|
|
|
|
| |
svn path=/trunk/; revision=13596
|
|
|
|
|
|
|
|
|
| |
2001-10-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (do_forward_non_attached): Attach the message
attachments. Fixes bug #5439.
svn path=/trunk/; revision=13594
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-folder-cache.c (update_1folder): No longer need to pass
folder display name to storage update_folder methods.
(setup_folder, free_folder_info): Meaning we no longer need to
keep track of it.
* evolution-outlook-importer.[ch], evolution-mbox-importer.[ch]:
These copies are cruft. The real ones are in importers/.
svn path=/trunk/; revision=13589
|
|
|
|
| |
svn path=/trunk/; revision=13584
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-11 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (free_storage): Make sure the
service/storage are non-NULL.
* mail-callbacks.c (e_gnome_dialog_parent_destroyed): Call
gtk_main_quit.
(send_receive_mail): Don't use e_gnome stuff since this doesn't
need to be run using gnome_dialog_run_and_close().
(composer_send_cb): Same.
(edit_msg): Here too.
(resend_msg): And here.
(search_msg): Same.
(filter_edit): Here too.
(filter_edit): Don't use e_gnome_dialog_set_parent() because we
don't do gnome_dialog_run_and_close on this dialog.
(e_gnome_error_dialog_parented): Removed.
(e_gnome_ok_dialog_parented): Removed.
svn path=/trunk/; revision=13583
|
|
|
|
|
|
| |
* mail-config.c (new_source_created): Fix up the logic here.
svn path=/trunk/; revision=13576
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-10 Larry Ewing <lewing@ximian.com>
* mail-callbacks.c (mail_generate_reply): use new function to copy
the attachments from the source message. This still isn't perfect
but it should avoid the problems with headers being transfered.
This makes images in replies work again.
svn path=/trunk/; revision=13564
|
|
|
|
|
|
|
|
|
| |
2001-10-10 Larry Ewing <lewing@ximian.com>
* mail-display.c (save_url): copy the data. We can't ref the byte
array and we can't free it so we have to copy it.
svn path=/trunk/; revision=13546
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-10 <NotZed@Ximian.com>
* mail-ops.c (transfer_messages_transfer): IF the source and
destination folders are the same, do nothing. Oh, and return an
error, otherwise the shell goes and removes it anyway. Fixes a
rather serious bug with dnd of folders onto their current
location.
2001-10-09 <NotZed@Ximian.com>
* component-factory.c (owner_unset_cb): Disconnect from all the
signals we were listening to, so we dont try and do shit twice on
exit (one on unset_cb, one on destroy).
(create_component): Setup the signal handlers using a table, so
they're easier to disconnect on finish.
svn path=/trunk/; revision=13545
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-09 Larry Ewing <lewing@ximian.com>
* mail-display.c (save_part): ref the part.
(save_destroy_cb): new function to unref the part when we have
closed the dialog.
(save_url): fake a mime part so that we can save data urls without
extra effort. This is less sucky than it seems since it handles
filenames and ref counting with minimal fuss.
svn path=/trunk/; revision=13544
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-09 <NotZed@Ximian.com>
* mail-folder-cache.c (folder_changed): Ref folder so it hangs
around till we're done with it.
(real_folder_changed): Unref folder when we are done with it.
Should fix #11981.
svn path=/trunk/; revision=13543
|
|
|
|
|
|
|
|
|
| |
2001-10-09 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (done_message_selected): Make sure the
mail-display is non-NULL.
svn path=/trunk/; revision=13535
|
|
|
|
|
|
|
|
| |
2001-10-09 <NotZed@Ximian.com>
* mail-local.c (mlf_search_by_uids): Implement.
svn path=/trunk/; revision=13533
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-09 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser-ui.c (folder_browser_ui_add_message): Create a
chaqrset picker submenu in the View menu.
* mail-format.c (mail_format_raw_message): Pass the mail-display
to get_data_wrapper_text.
(get_data_wrapper_text): Use the user's override charset if one is
provided, otherwise user the user's default charset.
(handle_text_plain): Pass along the mail-display to
get_data_wrapper_text.
(handle_application_pgp): Same.
(handle_text_enriched): Here too.
(mail_get_message_body): Pass NULL as the mail-display to
get_data_wrapper_text since we don't have access to a
mail-display.
* mail-display.c (mail_display_set_charset): New function to set a
charset on the maildisplay. Once set, the message is redisplayed
using the new charset.
(mail_display_destroy): Free the charset.
* folder-browser.c (folder_browser_charset_changed): New callback
for when a user overrides the message charset.
svn path=/trunk/; revision=13530
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-callbacks.c (e_gnome_dialog_set_parent): Use
gtk_signal_connect_while_alive here so
e_gnome_dialog_parent_destroyed doesn't get called on an
already-destroyed dialog.
* mail-config-druid.c (*_prepare): Record which page we're
currently in.
(*_changed): Only update the druid buttons if we're the current
page. Fixes a problem that could make it impossible to get beyond
the first page of the setup wizard.
svn path=/trunk/; revision=13522
|
|
|
|
| |
svn path=/trunk/; revision=13519
|
|
|
|
|
|
|
|
|
| |
* mail-callbacks.c (mail_generate_reply): Revert the change to use
e_msg_composer_new_with_message. That has unwanted side effects.
(This commit re-breaks replying to HTML messages with inline
images.)
svn path=/trunk/; revision=13518
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-local.c (mlf_set_folder, mlf_unset_folder): Update for
folder_flags.
* folder-browser-ui.c (folder_browser_ui_add_list): Check
CAMEL_FOLDER_IS_TRASH flag rather than checking
CAMEL_IS_VTRASH_FOLDER.
* folder-browser.c (folder_browser_toggle_hide_deleted): Likewise
* message-list.c (message_list_set_folder): Likewise.
(message_list_set_hidedeleted): Remove redundant trash check.
svn path=/trunk/; revision=13510
|
|
|
|
|
|
|
|
|
| |
2001-10-08 Jon Trowbridge <trow@gnu.org>
* mail-format.c (write_default_header): Write out the Bcc: header
when applicable. Fixes bug #5823.
svn path=/trunk/; revision=13508
|
|
|
|
|
|
|
|
|
| |
2001-10-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (attachment_header): Convert the htmlinfo into
utf8. Fixes bug #11966.
svn path=/trunk/; revision=13506
|
|
|
|
|
|
|
|
|
|
|
| |
* component-factory.c (create_view): For mailstorage folders,
connect to the control's "activate" signal, and don't try to
connect to the store.
(storage_activate): Instead, do it here, so if the connection
fails, or the user cancels, or whatever else, he can try again
later.
svn path=/trunk/; revision=13503
|
|
|
|
|
|
|
|
|
| |
* mail-tools.c (mail_tool_do_movemail): Remove #ifndef
MOVEMAIL_PATH code, since the setting of that variable has been
meaningless for a while now, and the rest of the code DTRT whether
that code executes or not.
svn path=/trunk/; revision=13500
|
|
|
|
|
|
|
|
| |
2001-10-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.c (pass_got): Fix a merge-conflict leftover.
svn path=/trunk/; revision=13474
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 <NotZed@Ximian.com>
* folder-browser.c: reformatted the menu tables so they're a bit
more bloody readable.
* mail-folder-cache.c (mail_note_store): Hook into
subscribed/unsubscribed events. Only 'add/remove' folders from
the add/removed events if we aren't subscribed, otherwise use the
subscribed events. Rest of fix for #11831
svn path=/trunk/; revision=13472
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Jon Trowbridge <trow@ximian.com>
* mail-config.glade: Add toggle button to config menu to turn the
"confirm sending unwanted HTML" dialog on/off. (Bug 10794)
* mail-accounts.c (construct): Make said toggle button actually
work.
svn path=/trunk/; revision=13466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (e_gnome_dialog_set_parent): New convenience
function that not only sets the gnome-dialog's parent window but
also makes sure that the gnome-dialog closes when it's parent
closes.
(e_gnome_warning_dialog_parented): New conmvenience wrapper around
the libgnomeui version that also does the same thing as
e_gnome_dialog_set_parent.
(e_gnome_error_dialog_parented): Same.
(e_gnome_ok_dialog_parented): And again...
(e_gnome_ok_cancel_dialog_parented): And once again.
svn path=/trunk/; revision=13464
|
|
|
|
|
|
| |
didn't actually exist in the glade file...interesting
svn path=/trunk/; revision=13455
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Larry Ewing <lewing@ximian.com>
* mail-callbacks.c (mail_generate_reply): use
e_msg_composer_new_with_message rather than e_msg_composer_new.
This way we bring in all the attachment of the message we are
replying to.
svn path=/trunk/; revision=13444
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Christopher James Lahey <clahey@ximian.com>
* message-list.c (message_list_setup_etree): Turn on
"uniform_row_height" argument.
svn path=/trunk/; revision=13442
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-04 <NotZed@Ximian.com>
* folder-browser.c (update_status_bar): Show "nn sent" as total in
sent folder, rather than just 'total'.
* mail-folder-cache.c (update_1folder): Also show total message
count for sent_folder.
svn path=/trunk/; revision=13429
|
|
|
|
|
|
|
|
|
|
| |
2001-10-04 <NotZed@Ximian.com>
* folder-browser-ui.c (folder_browser_setup_property_menu): Do a
better job of setting up the name. Also de-sensitise when we
can't configure the folder.
svn path=/trunk/; revision=13427
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-04 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (providers_config): Set the parent window as
the fb. This fixes bug #11723.
(filter_edit): Do the same thing here too and also to the warning
dialog.
(edit_msg): Set the parent on the warning dialog.
(resend_msg): And here.
(search_msg): Here too.
(confirm_expunge): Set the parent window on the dialog here too.
(save_msg_ok): Same here.
svn path=/trunk/; revision=13425
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-04 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (images_radio_toggled): Ignore the signal if the
radio button is not "on". This fixes bug #10532 because the on/off
signals don't always come in the off->on order.
* mail-ops.c (mail_send_message): Reduced some redundancy.
svn path=/trunk/; revision=13424
|
|
|
|
|
|
|
| |
* mail-format.c (write_address): Fix so that an email address with
no name is once again just "foo@bar.com", not "<foo@bar.com>".
svn path=/trunk/; revision=13423
|
|
|
|
| |
svn path=/trunk/; revision=13420
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-04 <NotZed@Ximian.com>
* mail-callbacks.c (configure_folder): If we're accessing a
vfolder uri, then popup the vfolder editor instead of trying the
mail local one.
* mail-vfolder.c (vfolder_edit_rule): Edit a vfolder by name.
svn path=/trunk/; revision=13419
|
|
|
|
|
|
|
|
| |
2001-10-04 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_save): Added some more NULL checks.
svn path=/trunk/; revision=13418
|
|
|
|
|
|
|
|
|
|
| |
2001-10-04 <NotZed@Ximian.com>
* component-factory.c (storage_remove_folder): Do the url
fragment/path -> folder name hack. Removing vfolders from shell
works now?
svn path=/trunk/; revision=13416
|
|
|
|
|
|
|
|
|
| |
2001-10-03 <NotZed@Ximian.com>
* mail-send-recv.c (build_dialogue): Only build destination data
if we have destination != NULL. Fixes crash of bug #10835.
svn path=/trunk/; revision=13400
|
|
|
|
|
|
|
|
|
| |
2001-10-03 <NotZed@Ximian.com>
* folder-browser.c (folder_browser_config_search): Set 'to' ->
'recipient' data for search object. #6199.
svn path=/trunk/; revision=13399
|
|
|
|
|
|
|
|
|
| |
2001-10-03 <NotZed@Ximian.com>
* mail-local.c (local_storage_new_folder_cb): Handle vtrash case,
emit 'folder_created' event for the folder-cache to work, etc.
svn path=/trunk/; revision=13387
|
|
|
|
|
|
|
|
|
| |
2001-10-03 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_write_authenticity): Don't use the wax-seal
icons for the pgp stuff anymore, use Jimmac's new icons instead.
svn path=/trunk/; revision=13383
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-03 <NotZed@Ximian.com>
* mail-folder-cache.c (folder_changed): Dont wait for event to
finish before returning. This could however mean we process it
after things have vanished below us? Fixes another case of ctrl-d
deadlock.
* mail-ops.c
(remove_folder_get): Freeze/thaw around deleting all messages in
folder.
svn path=/trunk/; revision=13382
|
|
|
|
|
|
|
|
|
|
| |
2001-10-03 <NotZed@Ximian.com>
* folder-browser.c (update_status_bar): If we have hide deleted
set, then dont count deleted messages in the 'total' messages
count. Fixes #6591.
svn path=/trunk/; revision=13381
|
|
|
|
|
|
|
|
|
| |
2001-10-03 <NotZed@Ximian.com>
* mail-ops.c (add_vtrash_info): If we have a fragment, override
that, rather than the path. Fixes #5251.
svn path=/trunk/; revision=13379
|
|
|
|
|
|
|
|
|
| |
2001-10-03 Rodrigo Moya <rodrigo@ximian.com>
* importers/Makefile.am: add $BONOBO_GNOME_CFLAGS to make it work
with latest Bonobo
svn path=/trunk/; revision=13376
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (transfer_msg): Pass an empty flags argument to
mail_transfer_messages - destination folder should already be
created by this point.
* folder-browser.c (message_list_drag_data_received): Pass an
empty flags argument to mail_transfer_messages.
(selection_received): Same.
* component-factory.c (xfer_folder): Pass the CREATE flag to
mail_transfer_messages() so that the dest folder gets created.
(destination_folder_handle_drop): Update for mail-ops API change.
* mail-ops.c (mail_transfer_messages): Now takes a dest_flags
argument that it passes along to mail_tool_uri_to_folder when
opening the destination folder.
svn path=/trunk/; revision=13357
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (vfolder_setup_do): Pass an empty flags argument
to mail_tool_uri_to_folder.
(vfolder_adduri_do): Same.
* mail-session.c (get_folder): Pass an empty flags argument to
mail_tool_uri_to_folder.
* mail-send-recv.c (receive_get_folder): Pass an empty flags
argument to mail_tool_uri_to_folder.
* mail-ops.c (get_folder_get): Pass the flags to
mail_tool_uri_to_folder.
(mail_get_folder): Now takes a flags argument.
(remove_folder_get): Pass an empty flags argument to
mail_tool_uri_to_folder.
(mail_send_message): Pass an empty argument flag to
mail_tool_uri_to_folder.
(transfer_messages_transfer): Same. Destination folder should
already be created by this time.
* folder-info.c (do_get_info): Pass an empty flags argument to
mail_tool_uri_to_folder.
* importers/evolution-mbox-importer.c (folder_created_cb): Pass
the CREATE flag here too.
(load_file_fn): And here.
(load_file_fn): And here too.
* importers/evolution-outlook-importer.c (load_file_fn): Pass the
CREATE flag to mail_tool_uri_to_folder.
* folder-browser.c (folder_browser_new): Pass an empty flags
argument.
(x_evolution_message_parse): Pass an empty flags argument to
mail_tool_uri_to_folder.
* component-factory.c (create_folder): Pass a CREATE flag to
mail_get_folder here too.
(owner_set_cb): And here.
(xfer_folder): Shouldn't need the CREATE flag here, so not passing
any flags.
(destination_folder_handle_drop): Same.
* mail-local.c (mail_local_store_add_folder): Pass a CREATE flag
to mail_get_folder.
(reconfigure_folder_reconfigure): Pass an empty flags argument to
mail_tool_uri_to_folder.
* mail-tools.c (mail_tool_uri_to_folder): Take a flags argument.
(mail_tool_get_local_inbox): Pass an empty flags argument to
mail_tool_uri_to_folder.
svn path=/trunk/; revision=13353
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-shell-view.c (e_shell_view_construct): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.
* mail-account-gui.c (launch_signature_editor): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.
* e-msg-composer.c (setup_ui): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.
* gui/dialogs/comp-editor.c (setup_widgets): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.
svn path=/trunk/; revision=13306
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-01 Jon Trowbridge <trow@ximian.com>
* mail-display.c (on_url_requested): Make sure we aren't dealing
with a pathological message w/o a From: header.
(ebook_callback): Properly check that the address we queried
matches the address on the current message. (Bug #10038)
svn path=/trunk/; revision=13295
|
|
|
|
| |
svn path=/trunk/; revision=13292
|
|
|
|
|
|
|
|
|
| |
2001-10-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (mail_vfolder_remove_uri): replace my_list_find()
== NULL with my_list_find() != NULL.
svn path=/trunk/; revision=13282
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* component-factory.c (mail_load_storage_by_uri): create storages
for providers that are STORAGE and aren't EXTERNAL, rather than
"(STORAGE and REMOTE) or spool, maildir, or vfolder".
(mail_remove_storage_by_uri): Use the same rule here (which makes
it possible now to remove maildir and spool stores now, which
weren't properly special-cased before). Remove some CamelException
misuse.
* mail-config.c (new_source_created): Fix up the broken INBOX-
shortcut-generating assumption a little by only assuming that if
you call camel_store_get_inbox(), that its full_name is the same
as its path. (This happens to always be true for inboxes now, and
will be always true by definition at some point in the future.)
Now maildir stores get working Inbox shortcuts.
* mail-send-recv.c (get_receive_type): If PROVIDER_IS_STORAGE
then use SEND_UPDATE, if not, use SEND_RECEIVE.
* mail-local.c (local_provider): The local provider is EXTERNAL.
(The shell creates it.)
(mail_local_reconfigure_folder): Allow reconfiguring between
IS_LOCAL providers.
* mail-accounts.c (news_delete): Don't need to check the provider
flags here... we know nntp is a STORAGE.
svn path=/trunk/; revision=13277
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-local.c (mail_local_reconfigure_folder): Don't use
mail_tool_get_folder_name here since that function only existed to
be clever in a certain case that this is not.
(reconfigure_folder_free): Remove the dialog from the hash table
here so that it gets removed in the successfully-reconfigured case
too. Don't unref folder_out if it never got set.
(reconfigure_clicked): Remove the hash table code from here; it's
in reconfigure_folder_free now.
* mail-tools.c (mail_tool_get_folder_name): No longer used by
anything.
(mail_tool_get_folder_from_urlname): Also not used anywhere.
svn path=/trunk/; revision=13273
|
|
|
|
|
|
|
|
|
| |
2001-10-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tool_uri_to_folder): Don't pass the CREATE
flag, we shouldn't ever need this...
svn path=/trunk/; revision=13268
|
|
|
|
|
|
|
|
|
|
| |
2001-10-01 Larry Ewing <lewing@ximian.com>
* mail-identify.c (mail_identify_mime_part): if gnome-vfs returns
application/octet-stream with the magic check, use the filename
check instead since it at least has a chance of being useful.
svn path=/trunk/; revision=13265
|
|
|
|
|
|
|
|
| |
* folder-browser-ui.c (fbui_sensitize_timeout): wrap a
bonobo_ui_component_freeze/thaw around all of the set_props so
they all update at once.
svn path=/trunk/; revision=13245
|
|
|
|
|
|
|
|
|
| |
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (construct): Don't create checkboxes for global
Threaded or Preview options as they are now removed.
svn path=/trunk/; revision=13244
|
|
|
|
|
|
|
|
|
| |
2001-09-28 <NotZed@Ximian.com>
* component-factory.c (owner_set_cb): Setup vfolder storage before
all others.
svn path=/trunk/; revision=13243
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-28 <NotZed@Ximian.com>
* mail-local.c (mail_local_store_remove_folder): Emit
folder_deleted event.
(remove_find_path): Fix, compare against path, not full_name.
* mail-tools.c (mail_tool_uri_to_folder): Dont
vfolder_register_source anymore.
* mail-vfolder.c (rule_changed): Changed to access
mail_fodler_cahce to find out if the folder exist yet before
trying to open them, also use the cache as a cache so we dont have
to open the folder if its already been opened.
(vfolder_register_source, register_source): Removed.
(source_finalise): Removed,
(check_source): Removed. All handled through diff mechanism.
(mail_vfolder_add_uri): New function, records uri's of available
folders, and adds them to any active vfolders if required.
(mail_vfolder_remove_uri): New function, removes a uri from
available folders, and checks any rules to see fi they need
updating.
(vfolder_adduri): New async function to add a uri to all vfolders
that need it.
(store_folder_deleted): oops! free user, not rule!!
* mail-folder-cache.c: Add uri->folderinfo hashtable, and the
store from which they come into the store info struct.
Add uri to the folder_info.
(setup_folder): Store the uri in the folderinfo.
(setup_folder): And the uri in the folder_uri hashtable.
(mail_note_store): Store the store in the storeinfo, and setup the
folders_uri hashtable via the store's hash functions.
(setup_folder): Call mail_vfolder_add_uri to note this newly setup
folder uri.
(store_folder_deleted): Proxy call to main thread.
(real_folder_deleted): And tell the vfolder to remove this uri
from its folder list.
(setup_folder): Dont call vfolder_add_uri if noselect is set on
the uri.
2001-09-27 <NotZed@Ximian.com>
* mail-vfolder.c: Removed vfolder_info struct, vfolder_storage.
Neither used anymore.
svn path=/trunk/; revision=13242
|
|
|
|
|
|
|
|
|
|
| |
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_get_account_by_transport_url): Use
Camel to compare the urls rather than using e_url_equal which does
all sorts of funky shit that may not work in every case.
svn path=/trunk/; revision=13239
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-local.c (mail_local_provider_init): Setup the url_hash and
url_equal functions for the local provider.
* mail-account-gui.c (mail_account_gui_save): Add code here to
check to make sure that the Drafts and Sent folders are pointing
to valid urls. This is kinda nasty and only really solves the case
where the user changes, say, his imap server or
something. Unfortunately we still have the problem where if
account A's sent/drafts folders point to account B's store and the
user changes the url for account B.
* mail-config.c (mail_config_get_account_by_source_url): Use Camel
to compare the urls rather than using e_url_equal which does all
sorts of funky shit that may not work in every case.
svn path=/trunk/; revision=13238
|
|
|
|
|
|
|
| |
* mail-mt.c (pass_got): Don't call
mail_config_service_set_save_passwd if we didn't find a service.
svn path=/trunk/; revision=13231
|
|
|
|
|
|
|
| |
* mail-config.c (add_shortcut_entry): Just add the shortcut to the
first group.
svn path=/trunk/; revision=13229
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser-ui.c (folder_browser_ui_add_list): Call
folder_browser_toggle_threads() here after setting the value. This
should fix bug #6415 and if it doesn't, then this whole deal is
just a lost cause.
svn path=/trunk/; revision=13226
|
|
|
|
| |
svn path=/trunk/; revision=13221
|
|
|
|
|
|
|
|
| |
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.h: Added mail_msg_cleanup() prototype.
svn path=/trunk/; revision=13219
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (get_data_wrapper_text): Deal with
camel_mime_filter_charset_new_convert returning NULL. (Every other
call to it does, and something's wrong with iconv on the Sun right
now so it keeps failing.)
svn path=/trunk/; revision=13214
|
|
|
|
|
|
|
| |
* mail-mt.c (do_user_message): Always make the Cancel button the
last one.
svn path=/trunk/; revision=13207
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-27 <NotZed@Ximian.com>
* mail-folder-cache.c (real_note_folder): No such event finalized!
Its finalize.
(mail_note_store): "
Fixed dan's comment a bit, info != NULL for folder_created, info==
NULL for changed.
2001-09-26 <NotZed@Ximian.com>
* mail-local.c (mlf_set_message_flags): Proxy the
set_message_flags call too. Doesn't fix the 'local folder counts
dont update' problem, but its more correct.
svn path=/trunk/; revision=13200
|
|
|
|
|
|
|
|
|
| |
2001-09-27 Jeffrey Stedfast <fejj@ximian.com>
* mail-session.c (mail_session_remember_password): Perform a
NULL-check. Hopefully fixes bug #7874.
svn path=/trunk/; revision=13198
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-offline-handler.c (service_is_relevant): A service needs to
be disconnected if it's remote, not already offline, and either
connected OR connecting.
(storage_go_offline): Don't put non-relevant stores offline. (Eg,
don't force an IMAP store which you hadn't already connected to to
connect and sync.)
(storage_go_online): Likewise, don't "reconnect" stores that
weren't connected before.
* mail-ops.c (set_offline_desc): Fix the message to say
"reconnecting" instead of "disconnecting" when appropriate.
(mail_store_set_offline): If offline is TRUE, call
camel_service_cancel_connect on the store. (We do this here
because we don't want the cancel_connect request to get queued up
behind a hanging connection attempt.)
svn path=/trunk/; revision=13192
|
|
|
|
| |
svn path=/trunk/; revision=13179
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: Added a "Description:" label and moved
the source_description and transport_description labels to
a more appropriate place.
svn path=/trunk/; revision=13178
|
|
|
|
|
|
|
|
| |
2001-09-26 Christopher James Lahey <clahey@ximian.com>
* message-list.c (mlfe_callback): Check for the root node here.
svn path=/trunk/; revision=13177
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.c (do_get_pass): Change the wording of the password
dialog if we are getting a pgp passphrase so that users don't
misinterpret it to mean saving the passphrase forever.
svn path=/trunk/; revision=13176
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Jon Trowbridge <trow@ximian.com>
* mail-callbacks.c (composer_get_message): strdup our "This
message contains invalid recipients" string, since it gets freed
later. And then don't leak the message string. (Bug #10877)
svn path=/trunk/; revision=13175
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Jon Trowbridge <trow@ximian.com>
* mail-format.c (write_address): Use camel_address_format,
not camel_address_encode.
svn path=/trunk/; revision=13174
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Jon Trowbridge <trow@ximian.com>
* mail-display.c (html_button_press_event): Decode our URL before
extracting the address to pop up contact info.
* mail-format.c (write_address): When writing out a mailto: link,
make sure we construct a valid URL w/ correct encoding. Make sure
our address is properly quoted, if necessary.
svn path=/trunk/; revision=13160
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-folder-cache.c: Add a big comment explaining unread message
counts so no one can mess them up again in the future. :-)
(update_1folder): If info->unread_message_count is -1, don't do
anything.
* component-factory.c (component_factory_init): warn and exit if
oaf_active_server_register returns OAF_REG_ALREADY_ACTIVE.
svn path=/trunk/; revision=13155
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (config_read): Oops, translate the fake account
name to UTF-8.
svn path=/trunk/; revision=13152
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Christopher James Lahey <clahey@ximian.com>
* message-list.c (message_list_foreach): Use
e_tree_selected_path_foreach instead of
e_tree_selected_row_foreach here.
svn path=/trunk/; revision=13145
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-27 Michael Meeks <michael@ximian.com>
* bonobo/bonobo-moniker-util.c (bonobo_get_object):
refactor to allow syslogging; hmm.
* bonobo/bonobo-ui-util.c: prune stuff, give up hope of libxml1
ever coping with utf-8 properly - cut confusing dup'd routines.
2001-09-26 Michael Meeks <michael@ximian.com>
* bonobo/bonobo-ui-component.c (bonobo_ui_component_remove_verb),
(bonobo_ui_component_remove_verb_by_func),
(bonobo_ui_component_remove_verb_by_data),
(bonobo_ui_component_add_listener_full),
(bonobo_ui_component_remove_listener),
(bonobo_ui_component_remove_listener_by_func),
(bonobo_ui_component_remove_listener_by_data),
(impl_xml_get, impl_xml_set, impl_xml_rm),
(bonobo_ui_component_object_set),
(bonobo_ui_component_object_get),
(impl_freeze, impl_thaw, impl_get_prop),
(impl_exists, bonobo_ui_component_unset_container),
(bonobo_ui_component_set_container),
(bonobo_ui_component_get_container),
(ui_event, bonobo_ui_component_add_verb_full),
(impl_Bonobo_UIComponent_execVerb): add preconditions that
priv != NULL on every deref path; it seems people like to work
with destroyed obejcts.
svn path=/trunk/; revision=13140
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (decode_pgp): Update to not send the
remember-passphrase option to the context, it doesn't need it
anymore.
(try_inline_pgp_sig): Same.
* mail-accounts.c (construct): The remember-passphrase option is
no longer there. This can now be set on the passphrase prompt
dialog.
(construct): Add confirm expunge options.
* mail-config.c (config_read): We no longer read-in the
remember-passphrase state because we no longer need it.
(mail_config_write_on_exit): We no longer save it either.
(mail_config_get_remember_pgp_passphrase): Removed.
(mail_config_set_remember_pgp_passphrase): Removed.
* mail-crypto.c (mail_crypto_pgp_mime_part_sign): No longer do we
need to send the remember passphrase state to the pgp context.
(mail_crypto_pgp_mime_part_verify): Same.
(mail_crypto_pgp_mime_part_encrypt): Here too.
(mail_crypto_pgp_mime_part_decrypt): And here.
svn path=/trunk/; revision=13139
|
|
|
|
|
|
|
|
| |
Boulton <richard@tartarus.org>, as per #9258.]
* Makefile.am (CLEANFILES): Assign directly, not with `+='.
svn path=/trunk/; revision=13135
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-folder-cache.c (update_1folder): The folder-info needs to
take priority over the folder because of the way IMAP works (which
is that it doesn't actually update the folders until you SELECT
them and so when you do get_folder_info(), it doesn't actually
SELECT the folders, it just STATUS's them).
svn path=/trunk/; revision=13133
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-25 <NotZed@Ximian.com>
* folder-browser.c (folder_browser_destroy): Deal with destroy vs
finalise semantics. Only destroy widgets here.
(folder_browser_finalise): object finalise function, actually
unref/free all other objects here.
(folder_browser_class_init): Init the finalise hook.
(got_folder): Check if message_list == NULL -> we've been
destroyed before the thread got a chance to finish loading the
folder.
(folder_browser_is_drafts): Dont use a g_return_if_fail to return
in what could be a valid state of the object.
(folder_browser_is_sent): Likewise.
(folder_browser_copy): Do nothing if message_list == NULL.
* main.c (main): call mail_msg_cleanup() before leaving threads.
* component-factory.c (owner_unset_cb): Wait for all outstanding
operations to finish before setting up to quit.
(idle_quit): Wait for all outstanding ops to finish before
cleanup.
(unref_standard_folders): NULL out the standard folder before
unreffing it.
* mail-mt.c (mail_msg_wait_all): New function to wait for all
outstanding thread operations.
(mail_msg_cleanup): Destroy the io channels before we're
finished. Also wait for all outstanding threads first. Made
public.
(mail_msg_init): Dont call mail_msg_cleanup atexit automatically.
svn path=/trunk/; revision=13129
|
|
|
|
|
|
|
|
|
|
| |
2001-09-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (get_data_wrapper_text): If the data wrapper
contains raw text, treat the contents as if they were in the
user's default charset and convert them to UTF-8.
svn path=/trunk/; revision=13119
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-25 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (owner_set_cb): Throw up a warning dialog if
we suspect the config database is corrupt.
* mail-config.c (config_read): If the account name is NULL, then
we have a corrupt config database most likely - so generate a fake
account name and set the corrupt but to TRUE.
(mail_config_is_corrupt): New function to find out if the config
is suspected of being corrupted.
svn path=/trunk/; revision=13116
|
|
|
|
| |
svn path=/trunk/; revision=13113
|
|
|
|
| |
svn path=/trunk/; revision=13112
|
|
|
|
|
|
|
|
|
| |
2001-09-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.c (pass_got): Only cache the password for the service if
it has an entry in the account database. Fixes bug #10875.
svn path=/trunk/; revision=13111
|
|
|
|
|
|
|
|
|
| |
2001-09-24 Christopher James Lahey <clahey@ximian.com>
* message-list.c (filter_date): Use e_strftime_fix_am_pm instead
of strftime.
svn path=/trunk/; revision=13104
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-24 <NotZed@Ximian.com>
* mail-local.c (mls_get_folder): Removed unused variables.
* component-factory.c (storage_create_folder): Remove unused
variable.
* mail-format.c (write_default_header): Used to write a header
that we know about/normally print. Use a static header table to
index these.
(write_header): removed.
(default_header_index): Return the index of the default header.
(write_headers): Changed the way it writes headers a bit. Use
write_default_header or write_text_header directly. Also try and
use the header charset as a fallback if the header can't be
decoded using the locale charset.
svn path=/trunk/; revision=13097
|
|
|
|
|
|
|
|
|
| |
2001-09-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.c (pass_got): Always cache POP and IMAP passwords, even
if the user didn't tell us to. Fixes bug #10569.
svn path=/trunk/; revision=13089
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-21 <NotZed@Ximian.com>
* mail-mt.c (mail_msg_check_error): If we have an operation that
failed before, dont show the dialogue for the the new error. Also
use gtk_widget_show rather than invoking another main loop. Fix
for lazy people who like to leave their mailers running and go
home.
svn path=/trunk/; revision=13075
|
|
|
|
|
|
|
|
|
|
| |
2001-09-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (mail_send_message): Use the mail-tools convenience
functions to remove and restore the X-Evolution headers.
(mail_update_subfolders): Removed.
svn path=/trunk/; revision=13064
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-callbacks.c (mail_storage_create_folder, folder_created,
create_folders): All made redundant by new mail-folder-cache
code.
(delete_folders, folder_deleted): Uh, code that isn't used
anywhere. Removed.
* component-factory.c (storage_create_folder): Dont call
folder_created, let the folder_created event handle the update.
* mail-ops.c (mail_scan_subfolders): Remove, no longer used.
svn path=/trunk/; revision=13059
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-21 <NotZed@Ximian.com>
* mail-local.c (mail_local_store_add_folder): Use url path as
full_name, not shell path.
(mail_local_folder_construct): Remove path argument, and use the
full_name instead.
(mls_get_folder): Dont lookup folderinfo in cache. Like duh the
shell hasn't told me its there yet, smaaaart.
svn path=/trunk/; revision=13053
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-21 <NotZed@Ximian.com>
* mail-folder-cache.c (mail_note_store): Take a new argument
'done' that can callback when complete. Fixed callers
appropriately.
* mail-ops.c (mail_update_subfolders): Removed. Isn't used
anymore.
* mail-send-recv.c (receive_update_got_store): Remove call to
mail_update_subfolders.
svn path=/trunk/; revision=13044
|
|
|
|
|
|
|
|
|
| |
2001-09-20 <NotZed@Ximian.com>
* mail-vfolder.c (check_source): Dont let drafts/outbox/sent be
added via a generic 'all local folders' rule.
svn path=/trunk/; revision=13042
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-20 <NotZed@Ximian.com>
* component-factory.c (got_folder): trigger a folder changed
event, so the folderinfocache stuff has a chance to see if this is
the outbox_folder or not.
* mail-folder-cache.c (update_1folder): If we have -1 unread
count, pass that as 0 to the shell so it doesn't go bolding.
(setup_folder): Same.
svn path=/trunk/; revision=13041
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_save): Only add the account
if it doesn't already exist in the config db.
* mail-config.c (mail_config_find_account): New convenience
function.
svn path=/trunk/; revision=13039
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (wizard_finish_cb): Do not add the account
here as this is taken care of in mail_account_gui_save() since it
has to be able to set the default account.
* mail-config.c (mail_config_set_default_account): Don't allow the
index to become invalid.
* mail-account-gui.c (mail_account_gui_save): Add the account
before setting it as the default.
svn path=/trunk/; revision=13037
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-20 <NotZed@Ximian.com>
* folder-browser.c (folder_browser_set_shell_view): Update the
status bar here, assuming we've just been activated.
* mail-ops.c (add_vtrash_info): Scan whole list, rather than
missing the last one. Also dont assume its always the last,
otherwise we could lose following folders.
* mail-vfolder.c
(all): d(x) out debug printfs
* mail-folder-cache.c
(update_1folder): If its a vtrash folder, or the outbox_folder,
and we have a folder, then make the 'count' the total message
count, not unread messages count.
svn path=/trunk/; revision=13036
|
|
|
|
|
|
|
|
|
| |
2001-09-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tool_uri_to_folder): Don't "note" the folder
if we failed to get it.
svn path=/trunk/; revision=13030
|
|
|
|
| |
svn path=/trunk/; revision=13029
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-20 <NotZed@Ximian.com>
* mail-vfolder.c (vfolder_register_source): Lock around
hashtable/list manipulation. Also dont try scan vfolder_hash if
it hasn't been setup yet.
(source_finalise): Lock around list access.
(rule_changed): Lock around hash access.
(context_rule_added): Lock around hash access.
(context_rule_removed): "
(rule_changed): Lock around list access.
* mail-local.c (storage_listener_startup): Fix for api change.
(local_storage_new_folder_cb): Dont skip over leading / in path.
(local_storage_removed_folder_cb): ditto.
* mail-folder-cache.c (create_folders): No longer pass prefix
between recursive calls - we have the path in the folderinfo.
(setup_folder): No longer take path arg, we get it from
folderinfo.
(mail_note_folder): No longer take path arg, we use
folder->full_name to key the folder table.
(mail_note_store): Consolidate note_store interface, pass storage
or corba_storage to it.
(mail_note_local_store): Removed.
* mail-ops.c
(add_unmatched_info): Scan for unmatched name and re-title.
svn path=/trunk/; revision=13023
|
|
|
|
|
|
|
|
|
| |
2001-09-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-local.c (mail_local_store_add_folder): Set the folder info
path.
svn path=/trunk/; revision=13020
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-20 <NotZed@Ximian.com>
* mail-tools.c(mail_tool_uri_to_folder): Register vfolder sources here.
* folder-browser.c (got_folder): Dont register vfolder sources
here.
* mail-ops.c (mail_get_folder): Add thread parameter. Fix callers.
* mail-vfolder.c (vfolder_setup): Use the 'slow' queue for setting
up vfolders.
* mail-mt.c (mail_msg_init): Limit the maximum number of threads
on the 'new' thread to 10.
(mail_msg_init): Create a new queue 'slow' for doing slow
operations.
svn path=/trunk/; revision=13017
|
|
|
|
| |
svn path=/trunk/; revision=13016
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-20 <NotZed@Ximian.com>
* mail-tools.c (mail_tool_uri_to_folder): Dont special case file:
url's anymore.
* mail-local.c: Add real_path to MailLocalFolder.
(mail_local_folder_construct): Added path argument, setup
full_name == path, and real_path == full_name.
(mls_get_folder): First lookup folderinfo to confirm this folder
exists, then use that to properly construct the folder paths.
(mail_local_folder_reconfigure): Use real_path not full_name to
create the store uri.
(mlf_set_folder): Use real_path not folder_name to get real uri
path.
2001-09-19 <NotZed@Ximian.com>
* mail-folder-cache.c (setup_store): Use the wrong spelling of
finalised for the event hook.
(real_note_folder): Use the wrong spelling of finalised for the
event hook.
(free_folder_info): Free the full_name parameter.
(setup_folder):
(real_note_folder): Key the folderinfo table on full_name, not
path.
svn path=/trunk/; revision=13014
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (save_messages_save): Convert all textual parts to
8bit before saving. Fixes bug #10388.
* mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Oops,
don't free memory that we don't own.
svn path=/trunk/; revision=13013
|
|
|
|
| |
svn path=/trunk/; revision=13011
|
|
|
|
|
|
|
|
| |
* mail-config.c (evolution_mail_config_factory_init): No need to
have g_warnings here. If it's done properly, therapeutically,
there's no danger involved.
svn path=/trunk/; revision=13010
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-19 Jon Trowbridge <trow@ximian.com>
* mail-callbacks.c (mail_generate_reply): Truncate extremely long
subjects. (inspired by bug #9158)
* mail-tools.c (mail_tool_generate_forward_subject): Truncate
extremely long subjects. (bug #9158)
svn path=/trunk/; revision=13007
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-send-recv.c (receive_update_got_store): Here too.
* component-factory.c (create_view): Call mail_note_store()
instead of mail_scan_subfolders() here so that these folders get
hooked up with the unread count code.
svn path=/trunk/; revision=12999
|
|
|
|
| |
svn path=/trunk/; revision=12998
|
|
|
|
| |
svn path=/trunk/; revision=12997
|
|
|
|
|
|
|
|
|
| |
2001-09-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Convert
the names to the locale charset.
svn path=/trunk/; revision=12994
|
|
|
|
|
|
|
|
| |
* mail-callbacks.c (create_folders): Pass the actual unread
message count, not just whether or not it's > 0. Fixes ximian
9089.
svn path=/trunk/; revision=12979
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-19 <NotZed@Ximian.com>
* component-factory.c: Added missing header.
* mail-local.c (mail_local_store_add_folder): Async load the
folder we just added, so it can update the folder counts in the
display. We just discard the folder afterwards?
* mail-ops.c (mail_get_folder): Use the queued thread to get
folders.
svn path=/trunk/; revision=12976
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-19 <NotZed@Ximian.com>
* General cleanup of mail debug printfs.
* mail-folder-cache.[ch]: Completely rewritten. Removed all calls
to the old code everywhere they were used. Nuff said.
* folder-browser.h: Add shell_view to folder_browser & api to set
it.
* folder-browser-factory.c (control_activate): Set the shell-view
on the folder_browser.
(control_deactivate): And clear it here.
* folder-browser.c (folder_browser_destroy): Unhook from changed
events on the folder before giving it away.
(got_folder): Hook onto the folder-changed events.
(folder_changed): Event hook proxy for folder_changed events
(main_folder_changed): And the main code version.
(update_status_bar): And the one that actually does the work.
(on_selection_changed): Also call update_status_bar() to update
the selection count.
(folder_browser_set_shell_view): Implement function to set the
shell_view on the folder_browser.
(folder_browser_destroy): Release the shell_view here too.
* mail-tools.c (mail_tool_uri_to_folder): Dont 'note' the new
folder if its from a file: url, this is handled by hte local store
(yeeruughck).
* mail-local.c (mls_init):
(free_info):
(mls_finalise): Setup init/finalise funcs for the folderinfo hash.
(local_storage_removed_folder_cb): re-enable.
2001-09-18 <NotZed@Ximian.com>
* mail-local.c (MailLocalStore): Add a hash table to store
uri<>folderinfo data.
(mail_local_store_add_folder): Add a new folderinfo to our hash.
(mail_local_store_remove_folder): Remove a folder by uri.
(storage_listener_startup): Add this store to those monitored by
the folder tree.
svn path=/trunk/; revision=12974
|
|
|
|
|
|
|
|
|
| |
2001-09-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.c (do_get_pass): Make the title translatable, and also
use the account name when possible. Sorta fixes bug #6277.
svn path=/trunk/; revision=12964
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 <NotZed@Ximian.com>
* mail-send-recv.c (get_receive_type): Function to get the real
receive tpe for ag iven url. IMAP/SPOOL/MAILDIR types just update
their info, dont download.
(build_dialogue):
(mail_receive_uri): Use function above to get the right receive
type.
svn path=/trunk/; revision=12957
|
|
|
|
|
|
|
|
|
|
| |
2001-09-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tool_remove_xevolution_headers): Oops, forgot
about X-Evolution-Format.
(mail_tool_restore_xevolution_headers): Same.
svn path=/trunk/; revision=12955
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* folder-browser.c (folder_browser_set_uri): Merged into
folder_browser_new: nothing ever changes the URI of an existing
folder browser any more.
(folder_browser_new): Make this take a uri argument and do the
work folder_browser_set_uri used to do, except that we set fb->uri
right away, so that if the folder browser's control is activated
before got_folder() gets called, then folder_browser_ui_add_list()
will have access to the correct uri for purposes of setting
ViewThreaded, etc. Fixes #4913.
(got_folder): Don't set fb->uri here since it will already have
been set. Don't call message_list_set_threaded, since it should be
a noop now (and if it's not, it would make the message list not
match the menu item).
* folder-browser-ui.c (folder_browser_ui_add_list): Remove some
code that was failing to work around the problems above.
* message-browser.c (message_browser_new): Pass uri to
folder_browser_new, remove call to set_uri.
* folder-browser-factory.c (folder_browser_factory_new_control):
Likewise. Also fix a s/destroy/unref/ in an error cleanup.
svn path=/trunk/; revision=12954
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-session.c (get_password): Pass a 'cache-me' argument to
mail_get_password.
* mail-mt.c (pass_got): Make less confusing...
(mail_get_password): Now takes an argument 'cache' that allows our
caller to determine if the user wanted to cache his/her password
or not.
(pass_got): Set the cache option.
svn path=/trunk/; revision=12950
|
|
|
|
|
|
|
|
| |
* mail-format.c (mail_format_raw_message): Call
mail_content_loaded here rather than blocking if the message data
isn't available.
svn path=/trunk/; revision=12949
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (storage_remove_folder): Unsubscribe from
the folder before deleting it. Also, use the url's path instead of
the shell's path since IMAP doesn't necessarily have to use "/" as
the dir sep.
* mail-ops.c (remove_folder_get): If the store supports
subscriptions, make sure to unsubscribe from the folder before
deleting it.
svn path=/trunk/; revision=12931
|
|
|
|
|
|
|
|
|
| |
2001-09-17 <NotZed@Ximian.com>
* mail-ops.c (mail_get_folderinfo): Get folderinfo 1 at a time
rather than all at once.
svn path=/trunk/; revision=12929
|