2004-09-21 Not Zed <NotZed@Ximian.com>
** See bug #63521.
* mail-ops.c (fetch_mail_fetch): delete all the messages on the
server if we're not in keep on server mode and everything worked.
uncancel ourselves before saving the cache uid since it could be
cancelled otherwise.
svn path=/trunk/; revision=27390
2004-09-24 Not Zed <NotZed@Ximian.com>
** See bug #66706.
* em-subscribe-editor.c: add a sequence number to EMSubscribe and
the subscribe_msg structures. NOOP if the sequence has changed in
all callbacks. up the sequence number when we refresh.
svn path=/trunk/; revision=27386
2004-09-20 Not Zed <NotZed@Ximian.com>
** See bug #65329.
* em-folder-tree-model.c (emft_is_special_local_folder): added
helper for finding local folders for translation.
(em_folder_tree_model_set_folder_info): translate the special
local folder names.
* mail-component.c: mark standard folder names for translation.
svn path=/trunk/; revision=27359
2004-09-23 Not Zed <NotZed@Ximian.com>
** See bug #65058 (again again).
* em-format-html.c (efh_text_html): calculate our location uri
ourselves (content id).
* em-format.c (em_format_add_puri): if we have no content-location
key, don't fallback to any container's location.
svn path=/trunk/; revision=27356
2004-09-23 Not Zed <NotZed@Ximian.com>
* em-folder-tree.c (emft_get_folder_info__desc): describe the
get-folder process. This also makes it cancellable.
** See bug #64972.
* em-composer-utils.c (em_utils_reply_to_message): pass the folder
to guess_account.
svn path=/trunk/; revision=27354
2004-09-03 Not Zed <NotZed@Ximian.com>
** See bug #65058.
* em-format-html.c (efh_image): use the content-id rather than
the uri for tracking our image reference. Makes more
sense anyway, its guaranteed unique.
svn path=/trunk/; revision=27328
2004-09-09 Jeffrey Stedfast <fejj@novell.com>
* em-message-browser.c (emmb_set_message): Ignore the
emfv->mark_seen for deciding whether or not to mark the message as
seen. Fixes bug #65448.
svn path=/trunk/; revision=27290
2004-09-09 Jeffrey Stedfast <fejj@novell.com>
* mail-account-gui.c (mail_account_gui_new): If built with
gtkfilechooser support, we need to add a checkbox in the chooser
so that the user can select files or folders (allowing him to
choose - otherwise they won't be able to setup certain types of
accounts). Fixes bug #64974.
svn path=/trunk/; revision=27271
2004-09-08 Not Zed <NotZed@Ximian.com>
** See bug #60515.
* mail-account-gui.c (sig_fill_menu): connect to the activate
signal for the none item.
svn path=/trunk/; revision=27203
2004-09-03 Not Zed <NotZed@Ximian.com>
** See bug #59717.
* mail-config.c (mail_config_check_service): Make the dialog
modal. Not ideal but a problem with the way the function works,
it should be fully async instead.
svn path=/trunk/; revision=27181
2004-09-03 Jeffrey Stedfast <fejj@novell.com>
* mail-config.glade: Revert the use of gtkfilechooser for Path
selection because otherwise users won't be able to select
directory pathnames. Fixes bug #64974.
svn path=/trunk/; revision=27175
2004-09-01 Jeffrey Stedfast <fejj@novell.com>
Fix for bug #63377 and prevention of similar cases.
* em-format.c (emf_finalise): Free the default_charset.
(emf_format_clone): Clone the default_charset - this prevents the
particular crash described in bug #63377.
* em-utils.c (em_utils_message_to_html): If source is NULL, set
our own default charset (from the user's gconf key) on the
formatter to make sure there's always a source charset for
conversion to UTF-8.
svn path=/trunk/; revision=27122
2004-08-30 Jeffrey Stedfast <fejj@novell.com>
* em-folder-tree.c (emft_popup_delete_folder): Set the store and
full_name info on the dialog.
(emft_popup_delete_response): Use the requisite data stored on the
dialog object rather than examining the selection again. Fixes bug
#62665.
svn path=/trunk/; revision=27095
2004-08-30 Not Zed <NotZed@Ximian.com>
** See bug #64377.
* em-folder-selector.c (emfs_response): only set the uri if we
have one to set.
* em-folder-tree.c (em_folder_tree_finalize): Removed
cose using selected_path and selected_uri strings.
(emft_popup_new_folder): "
(emft_popup_copy_folder_selected): "
(emft_tree_selection_changed):
(emft_tree_row_activated): ", free paths after use.
* em-folder-selector.c (emfs_create_name_changed): free
get_selected_uri return.
(emfs_create_name_activate): "
(em_folder_selector_get_selected_path): handle api change, store
the selected_path too.
* em-folder-tree.c (em_folder_tree_get_selected_uri):
de-constify,and get the selection directly from the tree.
(em_folder_tree_get_selected_path): same.
svn path=/trunk/; revision=27092
2004-08-27 Not Zed <NotZed@Ximian.com>
** See bug #63456.
* message-list.c (main_folder_changed): noop if the async_event
pointer is NULL which can happen during destroy.
svn path=/trunk/; revision=27072
2004-08-27 Hans Petter Jansson <hpj@ximian.com>
* em-utils.c (emu_can_save): Don't crash if we're passed a NULL
path. GtkFileChooser can return NULL filenames that get passed
to this function.
svn path=/trunk/; revision=27048
2004-08-24 Jeffrey Stedfast <fejj@novell.com>
Fix for bug #63177
* em-folder-tree.c (emft_drop_async_drop): Check full_name == NULL
rather than full_name[0] since store's have NULL full_names, not
empty string (like they used to).
(emft_drop_folder): Same.
(tree_drag_data_received): Don't abort the drop if the user
dropped on a store, this is allowed (depending on the store).
svn path=/trunk/; revision=27035
2004-08-25 Not Zed <NotZed@Ximian.com>
* mail-component.c (store_info_new): only open the trash or junk
if they're vfolders here. Some stores that implement their own
trash folders are unacceptably slow to open otherwise.
svn path=/trunk/; revision=27027
* importers/evolution-mbox-importer.c: (load_file_fn):
* importers/evolution-outlook-importer.c: (load_file_fn):
* importers/mail-importer.c: (import_folders_rec):
Convert filename to UTF-8 from local encoding before displaying it.
svn path=/trunk/; revision=27019
2004-08-23 Not Zed <NotZed@Ximian.com>
* em-folder-tree.c (em_folder_tree_set_selected): store the
select-uri on the view not in the thread message.
(emft_get_folder_info__free):
(emft_get_folder_info__got): select_uri removed.
(em_folder_tree_set_selected_list): don't set each selected
separately, do it as a list.
(emft_maybe_expand_row): if this is a selected row, select it too.
(emft_get_folder_info__got): do no pending set selection stuff
here.
(em_folder_tree_set_selected): just call set_selected_list with
one item.
(emft_expand_node): if this is a selected row, select it too.
(emft_get_folder_info__got): no longer need to track lost folders.
(emft_tree_row_activated): clear the pending select list.
(emft_tree_selection_changed): and here too.
(em_folder_tree_get_selected_uris): get the lost folders from the
un-applied selected ones now. also fixes a list appending error.
(emft_tree_user_event): find out when the user hits a key or mouse
button to override any pending single-user select and don't
override the cursor setting either.
(emft_tree_row_expanded): set the 'load subdirs' false before we
load it, so we don't try to load it again if its still being
loaded.
(emft_get_folder_info__got): don't check the loaded flag here, it
should be set by the callee, also check the exception return.
svn path=/trunk/; revision=27002
2004-08-13 Jeffrey Stedfast <fejj@novell.com>
Fix for bug #62812
* em-format-html-display.c (em_format_html_display_search): Set
the search_dialog to be transient for the parent window and make
sure to destroy the search_dialog when the parent gets destroyed.
svn path=/trunk/; revision=26995
2004-08-16 Not Zed <NotZed@Ximian.com>
** See bug #62963.
* message-list.c (build_tree, build_flat): define selected in
declaration block, not inline. Spotted by Vincent Noel
<vnoel@cox.net>
svn path=/trunk/; revision=26959
2004-08-13 Not Zed <NotZed@Ximian.com>
* em-utils.c (em_utils_message_to_html): don't include the
terminating NUL in the data length.
(em_utils_part_to_html): nor here.
svn path=/trunk/; revision=26942
2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org>
* em-utils.c: Optionally use GtkFileChooser if compiled against
Gtk+ >= 2.4.0
* mail-config.glade: added the "use_filechooser" property to the
various GnomeFileEntries
svn path=/trunk/; revision=26897
2004-08-10 Not Zed <NotZed@Ximian.com>
* mail-session.c (get_password): just call
e_passwords_ask_password directly.
(pass_activate, pass_response, request_password, do_get_pass)
(do_free_pass, main_forget_password): no longer required as
e_password now handles the magic, and is thread safe.
* mail-config.c (mail_config_write_on_exit): epasswords api
change.
svn path=/trunk/; revision=26880
2004-08-03 Jeffrey Stedfast <fejj@novell.com>
* em-composer-utils.c (format_sender): If type="{Sender}" and name
is an empty string, use the addr. Fixes bug #62377
svn path=/trunk/; revision=26820
2004-08-01 JP Rosevear <jpr@novell.com>
* default/C/Inbox: Update to just call us "Evolution" and be more
accurate about the new features included
svn path=/trunk/; revision=26792
2004-07-28 Not Zed <NotZed@Ximian.com>
** See #61958.
* mail-folder-cache.c (real_flush_updates): remove the soreinfo
lookup, it isn't used anywhere anymore.
(mail_note_folder): hook onto the events outside of the lock, and
don't pass the mfi pointer anymore.
(mail_note_store): hook onto the events outside of the lock.
(folder_changed, folder_finalised, folder_renamed): lookup the mfi
if needed, it is no longer passed to the callback.
(unset_folder_info): change unhook calls for new parameters.
svn path=/trunk/; revision=26764
2004-07-28 Not Zed <NotZed@Ximian.com>
** See #61940.
* em-composer-utils.c (composer_set_body): add emformat source arg.
(em_utils_reply_to_message): take source arg. Fixed callers.
* em-utils.c (em_utils_message_to_html): take a source formatter
argument, so we can copy/honour settings from it.
(em_utils_part_to_html): similar.
svn path=/trunk/; revision=26757
2004-07-27 Not Zed <NotZed@Ximian.com>
** See #57972.
* message-list.c (search_func): removed.
(ml_search_path): new function to just search, not actually change
the cursor like e_tree_find does.
(message_list_can_select): new function, returns true if the
selection specified is possible without changing the selection.
(message_list_select): rewritten.
(select_path): helper to select a path in a way that 'works
reliably'.
(message_list_select_next_thread): rewritten to use the
table-adapter, so it properly handles arbitrary sorting.
* em-folder-view.c (em_folder_view_get_popup_target): setup
next/prev flags as appropriate.
(emfv_enable_map[]): setup next/prev flags.
* em-folder-view.h: added last and first message status bits to
folder view select mask.
svn path=/trunk/; revision=26749
2004-07-23 Radek Doulik <rodo@ximian.com>
* added len parameter to em_utils_part_to_html and
em_utils_message_to_html. it is used to return length of returned
buffer. we use that info later when setting composer body content.
svn path=/trunk/; revision=26747