Commit Graph

3101 Commits

Author SHA1 Message Date
f2d79cd76e fixed ChangeLog
svn path=/trunk/; revision=22804
2003-10-06 18:44:23 +00:00
91627508d7 Fixed.
2003-10-06  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (identity_prepare): Fixed.

	* mail-ops.c (fetch_mail_fetch): Always save the uid cache no
	matter what.

svn path=/trunk/; revision=22803
2003-10-06 18:42:07 +00:00
1441c34f00 Convert real name to UTF-8 if needed.
* mail-config-druid.c: (identity_prepare), (config_wizard_new):
        Convert real name to UTF-8 if needed.

svn path=/trunk/; revision=22796
2003-10-03 15:41:01 +00:00
2ff5378ac9 Disable the selection of the first unread message for now. This is
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-03 15:16:42 +00:00
bca6fac45e fixed suresh's broken changelog entry
svn path=/trunk/; revision=22793
2003-10-03 15:11:38 +00:00
868f975856 Fix for 40917 "Backspace shouldn't highlight the whole remaining string in
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 17:19:30 +00:00
eff89404e4 zero out last_part if we're clearing. Uh, this fixes, but shouldn't, part
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-02 05:34:36 +00:00
060d4b7e0a turn off blocking writes. (efh_format_timeout): don't do a htmlbegin on
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-10-02 04:26:03 +00:00
8660505eb2 Use "Sans Regular" instead of "Helvetica" Fixes bug #47878
2003-09-30  Rodney Dawes  <dobey@ximian.com>

	* em-format-html-print.c: Use "Sans Regular" instead of "Helvetica"
	Fixes bug #47878

svn path=/trunk/; revision=22771
2003-09-30 18:44:09 +00:00
dbecfb2314 remove gconf stuff. (em_format_html_set_xmailer_mask): new method to set
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-30 06:52:13 +00:00
1af3fe8fe0 Oops, put the arguments in the right order.
2003-09-29  Jeffrey Stedfast  <fejj@ximian.com>

	* em-format.c (emf_init): Oops, put the arguments in the right order.

svn path=/trunk/; revision=22757
2003-09-29 20:40:35 +00:00
7dbb51cfc9 removed subscribe-dialog.etspec and added another FIXME to em-folder-browser.c
svn path=/trunk/; revision=22756
2003-09-29 20:22:43 +00:00
4fa09be933 added a FIXME comment
svn path=/trunk/; revision=22749
2003-09-29 17:51:28 +00:00
6482763161 Allow any file: uri to point to a sent or drafts folder.
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 20:04:42 +00:00
9588114593 Make the dialog more HIG-compliant by fixing widget alignment/spacing
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-25 16:11:29 +00:00
367d71e400 fixed ChangeLog
svn path=/trunk/; revision=22691
2003-09-24 20:09:30 +00:00
6ddd4506fe Same as below.
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-24 20:08:15 +00:00
1b5c1357dc Don't xmlFree (name) until after we've g_strdup'd it. (em_migrate_dir): If
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 21:25:48 +00:00
c948d14546 Don't xmlFree (name) until after we've g_strdup'd it.
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.

svn path=/trunk/; revision=22676
2003-09-23 20:32:07 +00:00
8db4001828 Fix for bug #48791 (and also fixes a FIXME)
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-23 20:15:44 +00:00
a2d243e391 ** See bug #32996
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-23 01:05:16 +00:00
16a7d16629 removed, moved to em-folder-view, for now, it has access to an invisible.
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 19:51:25 +00:00
1d84cb5e08 Connect to "value-changed" rather than "changed" for spin buttons.
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-22 18:55:50 +00:00
d60e250a6e implement, we hook into the mail progress reporting stuff by overriding
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-22 18:53:26 +00:00
dea1ec84a8 Set the window title to be that of the message subject. Fixes bug #48617.
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 20:18:55 +00:00
5f1b22f46d Fix for bug #48618.
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-19 18:54:09 +00:00
2ab6a4ce0b use gtkhtml's blocking
2003-09-18  Radek Doulik  <rodo@ximian.com>

	* em-format-html.c (efh_init): use gtkhtml's blocking

svn path=/trunk/; revision=22622
2003-09-18 20:48:28 +00:00
ce155a5b37 updated cvsignore file
svn path=/trunk/; revision=22619
2003-09-18 19:06:32 +00:00
6c48fb84db updated for CamelTransferEncoding namespace changes
2003-09-18  Jeffrey Stedfast  <fejj@ximian.com>

	* em-inline-filter.c: updated for CamelTransferEncoding namespace
	changes

	* em-inline-filter.h: updated for CamelTransferEncoding namespace
	changes

	* mail-ops.c: updated for CamelTransferEncoding namespace changes

svn path=/trunk/; revision=22618
2003-09-18 19:05:42 +00:00
2a88606f5d updated for camel namespace changes
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 17:05:23 +00:00
6205217822 Initialise charset to NULL or it may be used uninitialised. Also include
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-18 16:04:25 +00:00
81a0ff5bc4 cvs removed.
2003-09-17  Not Zed  <NotZed@Ximian.com>

         * folder-browser.c, folder-browser.h, folder-browser-ui.c
         folder-browser-ui.h, mail-callbacks.c, mail-callbacks.h
         mail-display.c, mail-display.h, mail-display-stream.c
         mail-display-stream.h, mail-format.c, mail-format.h
         mail-identify.c, mail-search.c, mail-search.h
         message-browser.c, message-browser.h, subscribe-dialog.c
         subscribe-dialog.h, mail-font-prefs.c, mail-font-prefs.h: cvs
         removed.

        * Makefile.am: Removed mail-font-prefs.[ch], hasn't been built for
        ages.

        * em-*.c: killed a bunch of printfs.

        * em-format-html-display.c (efhd_html_button_press_event): update
        for html object api chagnes.

        ** Merge in mail-refactor-2 branch.

svn path=/trunk/; revision=22602
2003-09-17 21:19:04 +00:00
201380dd41 New source file to migrate from the old mbox structure to the new mbox
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-09-17 17:21:50 +00:00
3bed164dfa update for newer gtkhtml
svn path=/trunk/; revision=22592
2003-09-16 21:06:43 +00:00
a09cef605f temporarily reverting camel namespace changes until after other branches have been merged
svn path=/trunk/; revision=22374
2003-08-26 18:17:59 +00:00
180282f201 Updated for camel namespace changes.
2003-08-26  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c: Updated for camel namespace changes.

	* folder-browser.c: Same.

	* mail-autofilter.c: Here too.

	* mail-callbacks.c: And here.

	* importers/evolution-mbox-importer.c: And finally here.

svn path=/trunk/; revision=22367
2003-08-26 16:20:17 +00:00
dd0ff66d1f updated for namespace changed made to camel-mime-utils.[c,h]
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-25 21:20:46 +00:00
cbf3647544 translate the local time format.
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-22 21:14:36 +00:00
bc43a79394 Don't abort at the first failure after sending (filtering, appending to
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-22 17:02:01 +00:00
9c8d4b9534 removed upgrade-mailer.c - no longer used/needed
svn path=/trunk/; revision=22291
2003-08-19 18:20:45 +00:00
1fcc2835b5 Removed the new-mail-notification mess.
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 17:59:34 +00:00
ff6ebb305f Added a comment for translators.
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 14:14:29 +00:00
fee1a9752e Added translation for day and localtime strings. Also removed the tz_zone
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 13:58:22 +00:00
c0f44f7904 ** For #45348
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-19 04:18:32 +00:00
bda646ff75 fixed shit
svn path=/trunk/; revision=22239
2003-08-14 21:06:59 +00:00
655c9cbf97 Fix for 45818 ( i18n mail messages search only produces '[?]'). Now
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-14 16:56:34 +00:00
1da80ba154 Removed unused function prototype.
2003-08-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.h: Removed unused function prototype.

svn path=/trunk/; revision=22195
2003-08-12 20:02:07 +00:00
5a9032ef86 removed all the timeout shite that we don't even use anymore
svn path=/trunk/; revision=22180
2003-08-12 02:03:46 +00:00
6ccafb45ae Updated for CamelMimePart::content_type changes.
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-11 18:07:44 +00:00
761541cefb ** See bug #47224. Hook onto clicked rather than button_pressed, so that
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
2003-08-05 22:20:51 +00:00