2003-10-03 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-browser.c (emfb_set_folder): Disable the selection of
the first unread message for now. This is actually annoying the
fuck out of me, Radek, and a few other people.
svn path=/trunk/; revision=22794
2003-10-02 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
* mail-config-druid.c: Fix for 40917 "Backspace shouldn't highlight
the whole remaining string in Setup Assistant".
Removed repeated focussing per keystroke for the following functions
(identity_changed)
(source_changed)
(transport_changed)
(management_changed)
(identity_prepare): Removed the initial highlighting for Full Name,
also the unneeded intial grab_focus.
svn path=/trunk/; revision=22790
2003-10-02 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_format_timeout): zero out last_part if
we're clearing. Uh, this fixes, but shouldn't, part of #49034.
The problem is the 'last part' logic is based on the address,
which can quite easily be repeated for different messages.
* em-folder-view.c (emfv_list_message_selected): reverted jeff's
patch for #48618, use a much simpler method.
* em-message-browser.c (emmb_destroy): hook onto destroy handler,
we need to destroy the messagelist ourselves, since we dont attach
it to any parent window.
svn path=/trunk/; revision=22785
2003-10-01 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_init): turn off blocking writes.
(efh_format_timeout): don't do a htmlbegin on the page yet, it'll
be handled by em-html-stream when it has data, to reduce flicker.
(efh_format_do): close the main gtkhtml stream as soon as we're
done writing the body. any sub-jobs should be using frames etc.
(efh_text_plain): dont write a table around the text, try to
reduce flickering. layout may be out now though.
* em-html-stream.c (emhs_sync_write): if we have no html_stream
yet, begin a new one.
svn path=/trunk/; revision=22784
2003-09-30 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_init): remove gconf stuff.
(em_format_html_set_xmailer_mask): new method to set the xmailer mask.
* em-folder-view.c (emfv_display_keys[]): Added charset key to
monitor/retrieve, and xmailer_mask.
(emfv_setting_notify): Monitor charset setting, pass onto the
formatter, as well as xmailer_mask.
* mail-preferences.c (mail_preferences_construct): use the new
charset key.
(mail_preferences_apply): use the new charset key.
* evolution-mail.schemas: Moved the mail/format/charset to
mail/display/charset. 1. it makes more sense, and 2. it makes
notification update easier in em-folder-view.c
* em-format.c (emf_init): remove the gconf charset stuff, for bug
#48791, and also actually fixes the fixme that jeff thought he
fixed.
(em_format_format_text): use default charset as fallback.
(em_format_set_default_charset): New method to set the default charset.
(gconf_charset_changed): removed.
svn path=/trunk/; revision=22768
2003-09-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_save): Allow any file: uri
to point to a sent or drafts folder.
svn path=/trunk/; revision=22706
2003-09-25 Rodney Dawes <dobey@ximian.com>
* mail-send-recv.c: Make the dialog more HIG-compliant by fixing
widget alignment/spacing issues, and removing separators
svn path=/trunk/; revision=22702
2003-09-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-preferences.c (mail_preferences_construct): Same as below.
* mail-composer-prefs.c (mail_composer_prefs_construct): gconf can
return empty string if the charset has not been set, so if the
charset string is empty, default the charset to the user's locale
charset. Partial fix for bug #47638.
svn path=/trunk/; revision=22690
2003-09-23 Jeffrey Stedfast <fejj@ximian.com>
* evolution-mbox-upgrade.c (get_local_store): Don't xmlFree (name)
until after we've g_strdup'd it.
(em_migrate_dir): If the metadata file doesn't exist, don't even
bother trying subfolers (the shell just ignores them so we should
too).
svn path=/trunk/; revision=22679
2003-09-23 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #48791 (and also fixes a FIXME)
* em-format.c (emf_init): Setup a gconf listener for changes to
the charset setting.
(gconf_charset_changed): Update the cached gconf charset value.
(emf_finalise): Free the EMFormatPrivate data, unref the gconf
client, disconnect the charset notify id, and free the cached
gconf charset value.
(em_format_format_text): Use the cached gconf charset value.
svn path=/trunk/; revision=22675
2003-09-22 Not Zed <NotZed@Ximian.com>
** See bug #32996
* mail-folder-cache.c (real_flush_updates): don't just pass TRUE
to the 'can work offline' parameter of new shell folder.
** See bug #39410
* mail-ops.c (prep_offline_do): sync all messages, not just
unread or flagged ones.
svn path=/trunk/; revision=22655
2003-09-22 Not Zed <NotZed@Ximian.com>
* em-popup.c (emp_uri_popup_link_copy): removed, moved to
em-folder-view, for now, it has access to an invisible.
* em-folder-view.c (emfv_setting_notify): honour the load_http
setting, at least the all setting.
(emfv_format_popup_event): setup the popup menu item for copy link
location here.
svn path=/trunk/; revision=22652
2003-09-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-preferences.c (mail_preferences_construct): Connect to
"value-changed" rather than "changed" for spin buttons.
svn path=/trunk/; revision=22650
2003-09-21 Not Zed <NotZed@Ximian.com>
* mail-session.c (ms_thread_msg_new): implement, we hook into the
mail progress reporting stuff by overriding the CamelOperation
member with one from a dummy mail_msg.
(ms_thread_msg_free): handle freeing.
* mail-mt.c (mail_msg_free): mute the camel-operaiton when we free
it so we no longer get updates.
svn path=/trunk/; revision=22649
2003-09-19 Jeffrey Stedfast <fejj@ximian.com>
* em-message-browser.c (emmb_set_message): Set the window title to
be that of the message subject. Fixes bug #48617.
svn path=/trunk/; revision=22629
2003-09-19 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #48618.
* em-folder-view.c (emfv_list_message_selected): See if we have
already loaded the message uid that has just been selected, if so
- don't bother re-loading it.
(emfv_list_done_message_selected): Update loaded_uid and
loading_uid.
svn path=/trunk/; revision=22628
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c: updated for camel namespace changes
* em-folder-view.c: updated for camel namespace changes
* em-format-html-display.c: updated for camel namespace changes
* em-format-html-quote.c: updated for camel namespace changes
* em-format.c: updated for camel namespace changes
* em-popup.c: updated for camel namespace changes
* em-utils.c: updated for camel namespace changes
* mail-autofilter.c: updated for camel namespace changes
* mail-ops.c: updated for camel namespace changes
* mail-session.c: updated for camel namespace changes
* message-list.c: updated for camel namespace changes
* message-tag-followup.c: updated for camel namespace changes
* importers/evolution-mbox-importer.c: updated for camel namespace
changes
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* em-popup.c (emp_standard_menu_factory): Don't forget to
initialise/increment 'i' when using it as an object id in the
for-loop.
* em-format.c (em_format_format_text): Initialise charset to NULL
or it may be used uninitialised. Also include
gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description().
svn path=/trunk/; revision=22610
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* em-format.c (em_format_format_text): Initialise charset to NULL
or it may be used uninitialised. Also include
gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description().
* Makefile.am: Added $(MARSHALL_GENERATED) to $(BUILT_SOURCES) so
that em-marshal.[c,h] were autogenerated.
svn path=/trunk/; revision=22609
2003-09-17 Jeffrey Stedfast <fejj@ximian.com>
* evolution-mbox-upgrade.c: New source file to migrate from the
old mbox structure to the new mbox structure.
svn path=/trunk/; revision=22596
2003-08-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* mail-format.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* mail-ops.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* message-list.c: updated for namespace changed made to
camel-mime-utils.[c,h]
* message-tag-followup.c: updated for namespace changed made to
camel-mime-utils.[c,h]
svn path=/trunk/; revision=22357
2003-08-22 Not Zed <NotZed@Ximian.com>
* mail-format.c (write_date): translate the local time format.
2003-08-20 David Woodhouse <dwmw2@infradead.org>
* mail-format.c (write_date): Use e_utf8_strftime() to generate
localised time; avoid gratuitous extra translation and array of
day names, and the autoconf magic which made Not Zed dislike the
inclusion of the timezone name.
2003-08-05 Not Zed <NotZed@Ximian.com>
** See bug #32732
* message-list.c (mail_regen_list): use thread_new.
* mail-local.c (reconfigure_response): use thread_new.
* mail-display.c (stream_write_or_redisplay_when_loaded): use
thread_new.
* mail-config.c (mail_config_check_service): use thread_new rather
than queue.
* mail-callbacks.c (view_msg): change to use mail_get_messages(),
fixes FIXME.
(do_view_messages): handle get_messages callback.
(do_view_message): removed.
* mail-ops.c (mail_get_folderinfo): Use a new thread thread
semantic.
(mail_save_part): "
(mail_store_set_offline): "
(mail_sync_folder): use queued_slow thread queue.
(mail_expunge_folder): "
(mail_empty_trash): "
svn path=/trunk/; revision=22340
2003-08-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (mail_send_message): Don't abort at the first failure
after sending (filtering, appending to Sent, syncing). Instead,
keep a running tab of exceptions and then set a culmulative
exception at the end to report to our caller. Also, if we fail to
append to the account Sent folder, try again with the local Sent
folder. Fixes bug #46512.
svn path=/trunk/; revision=22336
2003-08-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-session.c (main_get_filter_driver): Removed the
new-mail-notification mess.
* mail-folder-cache.c (notify_idle_cb): New idle callback to alert
the user about new mail.
(notify_type_changed): New function to intercept user changes to
his/her notification settings changes.
(real_flush_updates): Initialise new mail notification if not yet
initialised and setup an idle callback if none is already set.
(update_1folder): Now takes an additional argument `new' which
states whether or not the fodler got any new mail so that we may
handle notify the user (if needed).
(folder_changed): Pass in the number of new messages received.
svn path=/trunk/; revision=22290
2003-08-19 Not Zed <NotZed@Ximian.com>
* mail-callbacks.c (mail_generate_reply): Added a comment for
translators.
2003-08-19 David Woodhouse <dwmw2@infradead.org>
* mail-callbacks.c (mail_generate_reply): Add a timezone offset to
the attribution string.
svn path=/trunk/; revision=22284
2003-08-19 Not Zed <NotZed@Ximian.com>
* mail-format.c (write_date): Added translation for day and
localtime strings. Also removed the tz_zone stuff, and just use
'localtime' always.
2003-08-15 David Woodhouse <dwmw2@infradead.org>
* mail-format.c (write_date): Show date in localtime too.
svn path=/trunk/; revision=22283
2003-08-19 Harry Lu <harry.lu@sun.com>
** For #45348
* mail-display.c (mail_display_render): Change "%P" to "%p" so
that strftime() can work under solaris.
svn path=/trunk/; revision=22278
2003-08-13 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
* e-searching-tokenizer.c (searcher_next_token): Fix for 45818 ( i18n
mail messages search only produces '[?]'). Now multibyte character
selection works correctly. But due to associated gtkhtml bug, the find
button functionallity for multibyte characters is broken.
svn path=/trunk/; revision=22236
2003-08-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_encrypted): Updated for
CamelMimePart::content_type changes.
* mail-ops.c (save_part_save): Use
camel_data_wrapper_decode_to_stream() here.
* mail-display.c (drag_data_get_cb): Updated for
CamelMimePart::content_type changes.
(do_attachment_header): Same.
2003-07-31 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_format_raw_message): Updated to pass FALSE
as the 'decode' param to
mail_format_data_wrapper_write_to_stream().
(mail_format_data_wrapper_write_to_stream): Now takes a boolean
arg telling whether to decode or not. Also reworked the charset
logic now that camel doesn't handle this for us any longer.
(mail_format_get_data_wrapper_text): Updated.
(handle_text_plain): Same.
(handle_text_enriched): Here too.
* mail-display.c (do_attachment_header): Call decode_to_stream
here instead of write_to_stream.
(do_external_viewer): Same.
(on_url_requested): Same. Also updated for
mail_format_data_wrapper_write_to_stream().
(try_part_urls): Call decode_to_stream.
(drag_data_get_cb): Same.
svn path=/trunk/; revision=22173
2003-08-05 Not Zed <NotZed@Ximian.com>
** See bug #47224. Hook onto clicked rather than button_pressed,
so that dnd works.
* mail-display.c (inline_toggle): toggle a part inline.
(button_press): change back to only handle button clicked events,
renamed to inline_button_clicked.
(do_attachment_header): hook onto clicked rather than
button_press_event, and move key_press_event to
inline_button_pressed.
(do_signature): Same.
(inline_button_pressed): handle inline button key press event
explicitly.
svn path=/trunk/; revision=22095