2004-05-20 Not Zed <NotZed@Ximian.com>
** See #58388.
* mail-mt.c (mail_msg_check_error): surpress any errors about
messages not found because of invalid uid's. They're really just
internal errors.
svn path=/trunk/; revision=26007
2004-05-20 Not Zed <NotZed@Ximian.com>
** See #57583.
* message-list.c (build_tree): save/restore the selection when we
update.
(message_list_set_selected): util to set the selected messages
from a list of uids.
(build_flat): same. I wonder if etree's unbroken enough to use it
more directly?
svn path=/trunk/; revision=26006
2004-05-20 Not Zed <NotZed@Ximian.com>
** See #58693.
* mail-send-recv.c (mail_autoreceive_setup): add bounds checking
so sloppy ui work wont break it again.
* mail-config.glade: put the minimum for autocheck back to 1
minute. Naughty jeff.
2004-05-19 Not Zed <NotZed@Ximian.com>
* mail-ops.c (send_queue_send): set seen when we set deleted. ?
#56549.
svn path=/trunk/; revision=26002
2004-05-19 Chris Toshok <toshok@ximian.com>
* importers/pine-importer.c (import_contacts): use the new
e_book_new_* and e_book_open apis.
* em-utils.c (em_utils_in_addressbook): use the new e_book_new_*
and e_book_open apis.
svn path=/trunk/; revision=26001
2004-05-19 Jeffrey Stedfast <fejj@novell.com>
* message-list.c (message_list_init_images): Changed to load an
empty pixbuf manually rather than relying on the pixbuf returned
for "" from e_icon_factory_get_icon() since it has changed to
return a broken image icon.
svn path=/trunk/; revision=25985
2004-05-19 Not Zed <NotZed@Ximian.com>
* em-inline-filter.c (emif_add_part): if we end up with an
application/octet-stream part, pre-snoop it so we set the right
mime type to start with. Fixes#58554.
* em-format.c (emf_snoop_part): removed, now in em-utils.
* em-utils.c (em_utils_snoop_type): rah rah, snoop a mime part's
type.
* em-format-html.c (efh_text_plain): Revert jeff's fix for #56290.
Ugh, we already have all the citation info in local data. Removed
the need for gconf too.
svn path=/trunk/; revision=25974
2004-05-19 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_format_secure): make this match the efhd
stuff.
* em-format-html-display.c: removed stock_signature-nokey since it
doesn't exist in gnome-icon-theme.
(efhd_xpkcs7mime_button): if there is no signing, but encryption,
use its icon. if there's no encryption too, use a broken icon
(?).
svn path=/trunk/; revision=25973
2004-05-05 William Jon McCann <mccann@jhu.edu>
* GNOME_Evolution_Mail.server.in.in: Add menu_label and
menu_accelerator.
svn path=/trunk/; revision=25971
2004-05-19 Not Zed <NotZed@Ximian.com>
* mail-component.c (mc_quit_sync): fixed up the empty trash on
exit thing, to update for all stores, not update the timestamp on
the first store synced.
svn path=/trunk/; revision=25966
2004-05-18 Cantona Su <paradisetux@hotmail.com>
* em-format-html.c: Added header "X-Newsreader" for handle Outlook
Express as Mailer.
svn path=/trunk/; revision=25965
2004-05-18 Not Zed <NotZed@Ximian.com>
* em-folder-browser.c (em_folder_browser_show_preview): don't
nomarkseen when we restore the message when we show the preview.
#58387.
svn path=/trunk/; revision=25956
2004-05-18 Not Zed <NotZed@Ximian.com>
* mail-folder-cache.c (folder_changed): no new message test if its
the drafts folder too.
* mail-vfolder.c (vfolder_adduri_desc): use a nicer, account-based
formatter for folder names. Hmm, that was a good waste of time.
For #55412.
svn path=/trunk/; revision=25955
2004-05-18 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (emfv_list_selection_change): Listen to the
tree selection change event directly & proxy out, so we can update
the status bar properly. Blah. For #58600.
svn path=/trunk/; revision=25954
2004-05-18 Not Zed <NotZed@Ximian.com>
* mail-folder-cache.c (folder_changed): don't emit new mail if its
any vfolder, not just vtrash folder. #56350.
* em-folder-view.c (emfv_list_done_message_selected): run
enable_menu's to make sure we're up to date. #58352.
** crappy hacks for #58385.
* em-folder-selection-button.c
(em_folder_selection_button_clicked): leave Ok button for this
selection.
* em-folder-selection.c (em_select_folder): added oklabel here too.
* em-folder-selector.c (em_folder_selector_new)
(em_folder_selector_construct, em_folder_selector_create_new):
Added oklabel- text for ok label.
(em_folder_selector_create_new): Set the ok label to Create.
* em-message-browser.c (emmb_set_message): don't mark message seen
if user has disabled auto-mark seen feature. #58629.
* em-format.c (em_format_part): if we have no content-type header,
then we get no mime-type set, so assume text/plain. #58470.
svn path=/trunk/; revision=25951
2004-05-17 Not Zed <NotZed@Ximian.com>
* mail-account-gui.c (mail_account_gui_setup): put the None item
at the head of the providers list.
(mail_account_gui_setup): only set the transport default fallback
if it is not a STORE_AND_TRANSPORT type provider (since that was
just disabled). #57939.
* message-list.c (on_selection_changed_cmd): only NOOP if we have
no selection and no uid, if we have a selection and no uid, then
always update. Fixes#58267 without breaking the double-load
thing.
svn path=/trunk/; revision=25919
2004-05-17 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (em_folder_view_open_selected): keep the hide
deleted status. Makes #51082 work at last.
svn path=/trunk/; revision=25916
2004-05-17 Not Zed <NotZed@Ximian.com>
** Bug #6556.
* message-list.c (ml_drop_async_desc, ml_drop_async_drop)
(ml_drop_async_done, ml_drop_async_free, ml_drag_data_action)
(ml_drop_popup_copy, ml_drop_popup_move, ml_drop_popup_cancel)
(ml_tree_drag_data_received): implement async drop operations and
the ask drop option menu.
2004-05-14 Not Zed <NotZed@Ximian.com>
** Bug #6556.
* message-list.c (ml_selection_received_uidlist): removed, not
needed anymore.
(ml_selection_received): call get_uidlist to paste the selection.
(ml_tree_drag_data_received): same here.
* em-folder-tree.c (emft_drop_uid_list): removed, not needed
because of below change.
* em-utils.c (em_utils_selection_get_uidlist): actually do the
copy now, don't just decode the data.
* em-folder-tree.c (tree_drag_data_received): just copy the
selection data data itself, dont decode yet.
(emft_import_message_rfc822): removed, not needed, use em utils
stuff instead.
(emft_drop_message_rfc822): same.
(emft_drop_text_uri_list): same.
(emft_drop_async_free): simply free stuff.
(emft_drop_async_drop): call em_utils stuff where they exist to do
the drop.
* message-list.c (ml_tree_drag_data_get): send x-mailbox instead
of message/rfc822 for the mailbox.
(ml_tree_drag_data_received): handle drop of x-mailbox differently
to message/rfc822.
(ml_tree_drag_motion): implement so proper options are setup
whilst dragging.
(message_list_construct): seutp the drag src/dest types for
changes typs and with ASK action.
* em-utils.c (em_utils_read_messages_from_stream): dont unref the
stream when we get it.
(em_utils_selection_get_mailbox): add an argument to scan from or
not, for message/rfc822 vs x-mailbox drops.
(em_utils_read_messages_from_stream): Same.
* em-folder-tree.c (tree_drag_motion): default to move properly.
* message-list.c (ml_selection_received_uidlist): take a move flag.
(ml_tree_drag_data_received): handle move action.
* em-folder-tree.c (em_folder_tree_new_with_model): got sick of
this bloody warning.
* em-format.c (default_headers[]): just remove x-mailer from the
header list, if it isn't on by default. This is the default list.
(em_format_default_headers): loop through everything.
svn path=/trunk/; revision=25915
2004-05-14 Jeffrey Stedfast <fejj@novell.com>
* em-popup.h: s/RESEND/EDIT/
* em-popup.c (em_popup_target_new_select): s/RESEND/EDIT/
* em-folder-view.c: s/RESEND/EDIT/
(emfv_popup_edit): Renamed from emfv_popup_resend. Part of the fix
for bug #58358 (The main fix was just a change to the ui file).
svn path=/trunk/; revision=25910
2004-05-14 Jeffrey Stedfast <fejj@novell.com>
* mail-config.c (mail_config_init): Build the path to the gtkrc
filename and store it on the config struct so we don't have to
keep rebuilding it.
(config_write_style): Reuse config->gtkrc string instead of
constructing the path again.
(mail_config_write_on_exit): Free the gtkrc path.
svn path=/trunk/; revision=25908
2004-05-14 Jeffrey Stedfast <fejj@novell.com>
* em-popup.c (emp_popup_resend): Updated the #if 0'd code for the
API chanegs made to em_utils_edit_messages().
* em-folder-view.c (em_folder_view_open_selected): Pass TRUE as
the replace argument to em_utils_edit_messages() here.
(emfv_popup_resend): Pass FALSE here. Fixes bug #58357.
* em-composer-utils.c (em_utils_edit_messages): Now takes a
'replace' argument specifying whether or not the original message
should be deleted when the edited message is sent or saved.
svn path=/trunk/; revision=25907
2004-05-14 Jeffrey Stedfast <fejj@novell.com>
* em-format-html.c (efh_format_secure): Same. Also changed the
"Valid signature, cannot verify sender" string to "Valid signature
but cannot verify sender" as I think it reads nicer.
* em-format-html-display.c (efhd_format_secure): Since signature
status is a tri-state, use 3 different colours too (yellow for
valid sig but unknown sender).
svn path=/trunk/; revision=25906
2004-05-13 Jeffrey Stedfast <fejj@novell.com>
* em-format.c (em_format_default_headers): Don't include the last
default_header when setting the default headers. If the user has
configured Evolution to display the Mailer header, then it will be
set in em-folder-view.c as appropriate when it checks the gconf
settings. Fixes bug #58217.
* em-mailer-prefs.c (em_mailer_prefs_construct): Default
"x-evolution-mailer" header to disabled.
svn path=/trunk/; revision=25903
2004-05-13 Not Zed <NotZed@Ximian.com>
* em-migrate.c (em_migrate_folder): move ignore case outside of
block. Stupid c language.
* em-folder-view.c (emfv_format_popup_event): fix warning with
cast.
** See bug #58304.
* em-junk-filter.c (em_junk_sa_setting_notify): listen to sa
settings changes, update some globals.
(em_junk_filter_get_plugin): setup the gconf client here and
listen to changes.
(em_junk_sa_get_local_only, em_junk_sa_get_use_daemon)
(em_junk_sa_get_daemon_port): removed, use globals instead.
svn path=/trunk/; revision=25898
2004-05-13 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (emfv_message_reply): re-enabled the reply to
selection stuff. I worked out how to make it work; I think.
* em-format-html-display.c (efhd_html_button_press_event): if we
aren't on a clickable object, do a null popup event instead.
* em-folder-view.c (emfv_format_popup_event): do the full popup if
we aren't on anything (not on a uri or part). See #8414.
svn path=/trunk/; revision=25894
2004-05-13 Not Zed <NotZed@Ximian.com>
* GNOME_Evolution_Mail.server.in.in: added "email" to the
uri_schema's attribute.
* mail-component.c (impl_handleURI): handle email: uri's, specify
opening a message on a folder.
(handleuri_got_folder): open the message. For some 1337 s3Kr3t
ha0x.
svn path=/trunk/; revision=25893
2004-05-12 Not Zed <NotZed@Ximian.com>
* mail-component.c (setup_search_context): enable threading option
type on the search bar.
svn path=/trunk/; revision=25878
2004-05-12 Not Zed <NotZed@Ximian.com>
* mail-errors.xml.h: add for translators.
* Makefile.am (%.xml.h): fix for xml i18n stuff.
* mail-errors.xml: moved from the .xml.in file.
2004-05-11 Not Zed <NotZed@Ximian.com>
* em-utils.c (em_uri_from_camel): pass an exception to
provider_get, it relies on one.
* em-migrate.c (em_migrate_1_4): fix some error messages, and fail
with fatal errors properly.
(em_migrate_local_folders_1_4): EEP! Who cares if this fails!
Well I do. Setup exceptions and return codes.
(em_migrate_dir): and here too. Sloppy!
(em_migrate_dir): change the code slightly, 1.4 would recurse all
folders, even if the parent folder doesn't have a
folder-metadata.xml. Make sure we copy that mode.
(get_local_store_uri): Make it copy the 1.4 behaviour properly.
Any error -> use defaults.
(em_migrate_dir): lots of changes.
(mbox_build_filename): take the output string as an arg.
(cp): add an argument to overwrite/append or require a unique
empty file.
(cp_r): add mode arg here too.
(em_migrate_folder): split the folder copy stuff from em_migrate
dir entirely. blah.
(em_upgrade_accounts_1_4): can't fail, remove return code, etc.
(em_upgrade_xml_1_4): removed this rather redundant odd api.
(upgrade_xml_uris): this can't fail, remove return codes etc.
(em_upgrade_xml_1_0): another oddly redundant function.
(em_migrate_pop_uid_caches_1_4): error messages, blah blah.
(em_migrate_folder_expand_state_1_4): no fatal states here.
(em_migrate_folder_view_settings_1_4): nor here.
(emm_setup_initial): do i18n 'better', using
gnome_i18n_get_language_list, rather than hacky code.
2004-05-10 Not Zed <NotZed@Ximian.com>
* mail-tools.c: remove e-meta.h, not used anymore.
svn path=/trunk/; revision=25870
* GNOME_Evolution_Mail.server.in.in: Remove the mail folder
control factory
* mail-component-factory.c (factory): Remove support for the mail
folder control
* mail-component.c: Remove the property bag stuff
(mail_control_new): Gone
svn path=/trunk/; revision=25858
2004-05-10 JP Rosevear <jpr@ximian.com>
* mail-ops.c (mail_send_message): set header to just Evolution
(mail_append_mail): ditto
* em-message-browser.c (em_message_browser_window_new): set title
to just Evolution
svn path=/trunk/; revision=25836
2004-05-10 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (emfv_activate): cleanup the view menus if they
were created.
* em-folder-view.h: added list_active bit, means the view is
showing the list and needs e.g. view menus.
* em-folder-view.c (emfv_setup_view_instance): was
create_view_instance. Now also setup the menu's if we're showing the list.
* em-folder-browser.c (emfb_create_view_menus): removed. moved
functionality into emfolderview.
2004-05-07 Not Zed <NotZed@Ximian.com>
* mail-account-editor.c: include missing header.
svn path=/trunk/; revision=25827
2004-05-07 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #57152.
* em-folder-tree.c (emft_get_folder_info__got): If we queried for
a recursive folder-info listing, then pass fully_loaded as TRUE to
set_folder_info().
(emft_get_folder_info__got): If we find that a folder doesn't have
children, set the expanded state to FALSE.
* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
Now takes a "fully_loaded" argument to hint to set_folder_info
whether or not folder-info's without child nodes can possibly have
children (eg. if fully_loaded is set and fi->child is NULL, then
'load' will be FALSE no matter what fi->flags contains).
svn path=/trunk/; revision=25826
2004-05-07 Radek Doulik <rodo@ximian.com>
* mail-config.c (config_write_style): set cite_color property of
gtkhtml widgets
(mail_config_init): add /apps/evolution/mail/display dir to gconf
client and watch for mark_citations and citation_colour changes
See bug #57587
svn path=/trunk/; revision=25824
2004-05-07 Not Zed <NotZed@Ximian.com>
** See bug #57935.
* em-folder-view.c (emfv_set_message): add new arg, nomarkseen,
don't mark the selected message seen once its loaded.
(emfv_list_message_selected): clear the nomarkseen flag once we've
processed the selection.
(emfv_list_done_message_selected): handle the nomarkseen flag,
don't mark a message seen if it was explictly selected.
* em-folder-browser.c (emfb_list_built): use
em_folder_view_select_message rather than doing it via the
messagelist directly.
svn path=/trunk/; revision=25821
2004-05-07 Not Zed <NotZed@Ximian.com>
** Dunno why i bothered, but see bug #58090.
* importers/netscape-importer.c
(netscape_filter_parse_conditions): check for custom headers
properly.
(netscape_filter_flatfile_get_entry): put in some validate checks.
(netscape_filter_to_evol_filter): implement custom headers properly.
(ns_filter_condition_types): add missing "status" string.
svn path=/trunk/; revision=25820
2004-05-07 Not Zed <NotZed@Ximian.com>
** See #58017.
* message-list.c (mail_regen_list): use thread_queued, so we don't
regen out of order.
* em-folder-view.c (emfv_list_message_selected): use the queue
thread so we don't get messages out of order.
* mail-ops.c (mail_transfer_messages): use thread_queued_slow.
(mail_prep_offline): and here too.
svn path=/trunk/; revision=25819
2004-05-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (folder_selected_cb): Check that the folder is
selectable using the new flags argument.
* em-folder-selector.c (folder_selected_cb): Updated for below
changes.
* em-folder-tree.c (emft_tree_selection_changed): Updated to pass
a flags argument to the folder_selected signal.
(emft_tree_row_activated): Same.
svn path=/trunk/; revision=25816
2004-05-06 Radek Doulik <rodo@ximian.com>
* em-composer-prefs.c (sig_selection_changed): reset the preview
if no signature is selected
Fixes#57167
svn path=/trunk/; revision=25815
2004-05-05 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_tree_row_collapsed): Select the row that
was just collapsed. Fixes bug #57665.
svn path=/trunk/; revision=25811
2004-05-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-autofilter.c (rule_match_thread): Removed.
(rule_from_message): Removed the AUTO_THREAD bit.
* em-folder-view.c: Removed vFolder/Filter on Thread. These were
both broken.
(struct _filter_data): Removed a bunch of data members since most
of them weren't used.
svn path=/trunk/; revision=25810
2004-05-05 Not Zed <NotZed@Ximian.com>
** See bug #57720.
* em-folder-browser.c (emfb_create_view_menus): removed some stuff
done in create_view_instance in the superclass.
* em-folder-view.c (emfv_create_view_instance): moved here from
em-folder-browser, setup the view instance for the folder.
(emfv_set_folder): if the folder is set, create the view instance.
* em-folder-browser.c: moved the galview instance and menu
pointers to EMFolderView, since they're basically meta-data on the
messagelist @ to fix issues.
* em-folder-view.c (em_folder_view_open_selected): copy over the
threaded list value when the message browser is brought up.
** some clean up
* evolution-mail.schemas.in.in: removed xmailer_mask stuff.
* em-migrate.c (mail_display_map[]): Removed xmailer_mask stuff.
* em-folder-view.c (emfv_setting_notify): removed xmailer_mask stuff.
* em-format-html.c (em_format_html_set_xmailer_mask): removed.
This isn't used anymore.
** Fixes the double-draw on separate mail view.
* message-list.c (on_cursor_activated_cmd): noop if the cursor and
uid match for all cases (clearing uid).
(on_selection_changed_cmd): noop if the cursor and new selection
hasn't changed & fix a memleak.
svn path=/trunk/; revision=25806