Commit Graph

168 Commits

Author SHA1 Message Date
448d624c00 em-folder-browser.c em-folder-view.c em-format-html.c
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* em-folder-browser.c
	* em-folder-view.c
	* em-format-html.c
	* em-format-html-display.c
	* em-mailer-prefs.c
	* em-message-browser.c
	* em-migrate.c
	* em-subscribe-editor.c
	* em-sync-stream.c
	* em-utils.c
	* em-vfolder-editor.c
	* em-vfolder-rule.c
	* mail-autofilter.c
	* mail-component.c
	* mail-config.c
	* mail-folder-cache.c: Use gstdio wrappers. Construct pathnames of
	glade, xml, etspec and png files at run-time. Use
	g_filename_{to,from}_uri().

	* em-folder-browser.c (emfb_init)
	* em-folder-view.c (emfv_finalise)
	* em-message-browser.c (emmb_init): As EMFolderView::ui_files now
	always is a list of filenames constructed with g_build_filename(),
	use g_free() on each list entry before calling g_slist_free() on
	the list.

	* em-folder-tree-model.c (em_folder_tree_model_load_state): Use
	e_xml_parse_file().

	* em-migrate.c: Bypass all the code for upgrading from 1.x on Win32.
	(emm_setup_initial): Use GDir instead of dirent.

	* em-sync-stream.c
	* mail-folder-cache.c: Use pthread_equal() to compare pthread_t
	values.

	* em-vfs-stream.c: No EINPROGRESS or ELOOP on Win32.

svn path=/trunk/; revision=30854
2005-12-18 08:24:26 +00:00
ce7790405d Fixed mark junk, keybinding to focus search widget.
2005-10-18  Srinivasa Ragavan <sragavan@novell.com>

	* Fixed mark junk, keybinding to focus search widget.

svn path=/trunk/; revision=30520
2005-10-18 08:31:39 +00:00
66b8f8dd77 Change instances of "vfolder" that appear in the UI to use the term
2005-08-07  Rodney Dawes  <dobey@novell.com>

	* em-folder-browser.c (emfb_search_items):
	* em-folder-tree-model.c (sort_cb, em_folder_tree_model_load_state):
	* em-folder-tree.c (emft_drop_target):
	* em-folder-view.c (emfv_popup_items, emfv_uri_popups):
	* em-utils.c:
	* em-vfolder-editor.c (em_vfolder_editor_new):
	* em-vfolder-rule.c (em_vfolder_editor_sourcelist_new):
	* mail-dialogs.glade:
	* mail-vfolder.c (vfolder_setup_desc, vfolder_setup_do):
	(vfolder_adduri_desc, vfolder_load_storage, vfolder_edit):
	(vfolder_edit_rule, vfolder_gui_add_rule):
	* mail.error.xml:
	Change instances of "vfolder" that appear in the UI to use the term
	"Search Folder" instead
	Update some comments to use the term "Search Folder" instead of vfolder

svn path=/trunk/; revision=30024
2005-08-07 21:18:18 +00:00
44f24cdf5a ** See bug #273885.
2005-08-04  Not Zed  <NotZed@Ximian.com>

        ** See bug #273885.

        * em-utils.c (em_utils_edit_filters): setup filter source names
        properly translated.

        * em-filter-editor.c (em_filter_editor_construct): take an array
        of structs for the filter source so the incoming/outgoing is
        properly translated.

        ** See bug #312397.

        * em-format-quote.c (emfq_format_message): dont quote credits
        here.
        (emfq_format_message_prefix): new prefix handler for credits.
        (emfq_format_clone): invoke the message prefix before anything
        else.

        ** See bug #310840.

        * em-icon-stream.c (em_icon_stream_get_image): check for /0
        possibility.

        ** See bug #308512.

        * em-account-editor.c (emae_authtype_changed): take into account
        the writability of the password when sensitising remember
        password.
        (get_password): small hack to disable the save-password button
        when appropriate.

svn path=/trunk/; revision=29997
2005-08-05 06:53:35 +00:00
e8f0450a76 Killed a warning.
2005-08-04  Srinivasa Ragavan <sragavan@novell.com>

	* em-utls.c (emu_update_save_path): Killed a warning.

svn path=/trunk/; revision=29978
2005-08-04 03:43:05 +00:00
1e6a4ea3ee Fixed a bug where the last path is not preserved well.
2005-08-02  Srinivasa Ragavan <sragavan@novell.com>

	* em-utils.c: (emu_get_save_filesel) (emu_save_part_response)
	(emu_save_messages_response) Fixed a bug where the last path is not
	preserved well.

svn path=/trunk/; revision=29950
2005-08-02 04:39:21 +00:00
29bded8a17 ** See bug #311440.
2005-07-28  Not Zed  <NotZed@Ximian.com>

        ** See bug #311440.

        * em-utils.c (em_utils_in_addressbook): handle NULL address.

svn path=/trunk/; revision=29920
2005-07-29 01:40:56 +00:00
7cfdd131b5 Added code to create a attachment bar.
2005-07-25  Srinivasa Ragavan <sragavan@novell.com>

	* em-format-html-display.c: (efhd_init) (efhd_finalise) ()
	(efhd_attachment_image) (efhd_attachment_button) (efhd_format_attachment)
	Added code to create a attachment bar.

	* em-format-html.c: (efh_format_message) Added code to add bar
	at the beginning of the message.

	* em-popup.[ch]: (em_popup_target_new_attachments) (emp_part_popup_set_background)
	(emp_standard_menu_factory) Added code to handle the popup menu inside the attachment
	bar.

	* em-utils.[ch]: (em_utils_edit_filters) (emu_get_save_filesel)
	(em_utils_save_part) (em_utils_save_messages) Added code to handle save selected and
	save all options of the attachment bar.

svn path=/trunk/; revision=29866
2005-07-25 04:23:41 +00:00
27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
2005-06-17  Kaushal Kumar  <kakumar@novell.com>

        * Retired GAL from Head. The relevant files have moved inside
        evolution. Thanks to JP Rosevear for performing the cvs surgery. The
        files have been moved in the following order.

        evolution/e-util <- gal/gal/util
        evolution/a11y <-  gal/gal/a11y
        evolution/a11y/e-table <- gal/gal/a11y/e-table
        evolution/a11y/e-text <- gal/gal/a11y/e-text
        evolution/widgets/table <- gal/gal/e-table
        evolution/widgets/text <- gal/gal/e-text
        evolution/widgets/misc <- gal/gal/widgets
        evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
        evolution/widgets/menus <- gal/gal/menus

        Following is the summary of changes done to fix the build:-
        - New files added to cvs repository,
                - a11y/e-table/Makefile.am
                - a11y/e-text/Makefile.am
                - widgets/table/Makefile.am
                - widgets/text/Makefile.am
                - widgets/misc/pixmaps/Makefile.am
                - iconv-detect.h
                - iconv-detect.c
        - Updated configure.in.
        - Updated all the relevant Makefile.am files.
        - Updated the include paths to replace all gal references.
        - Updated the marshal list to suit gal files requirements.

svn path=/trunk/; revision=29522
2005-06-17 15:20:35 +00:00
d0f0cfc884 move e-error into e-util/
2005-05-16  Not Zed  <NotZed@Ximian.com>

        * move e-error into e-util/

svn path=/trunk/; revision=29366
2005-05-16 06:15:38 +00:00
9c26fef2d4 include atkutil.h (message_list_construct): cast warning.
2005-03-01  Not Zed  <NotZed@Ximian.com>

        * message-list.c: include atkutil.h
        (message_list_construct): cast warning.

        * mail-session.c (mail_session_set_interactive): remove unused
        variable since we can no longer terminate password requests.

        * mail-autofilter.c (em_vfolder_rule_from_address): properly
        define in header.

        * em-utils.c (emu_get_save_filesel): only define filename in the
        !gtkfilechooser case.

        * em-mailer-prefs.c (restore_labels_clicked): cast for warning.
        (em_mailer_prefs_construct): same.

        * em-format-html.c (efh_format_header): remove unused variable.

        * em-account-editor.c (emae_widget_druid_glade): remove unused
        variable.

        * importers/mail-importer.h: forward-delcare struct
        _MailComponent.

        * *c: remove/disable various debug.

svn path=/trunk/; revision=28934
2005-03-02 05:23:46 +00:00
fc1558ac98 bump version, requires
2005-02-28  JP Rosevear  <jpr@novell.com>

	* configure.in: bump version, requires

2005-02-28  JP Rosevear  <jpr@novell.com>

  	* configure.in: add startup wizard plugin

2005-02-28  JP Rosevear  <jpr@novell.com>

  	* plugins/Makefile.am: dist standard and experimental plugins

  	* configure.in: move "all" plugins to standard and experimental
  	and default to building the standard set

svn path=/trunk/; revision=28927
2005-03-01 06:17:20 +00:00
815b5833cc ** See bug #35219
2005-02-21  Not Zed  <NotZed@Ximian.com>

        ** See bug #35219

        * em-utils.c (em_utils_flag_for_followup_clear): clear the flag
        tags rather than setting them to "".  Also change to using newer
        messageinfo api.
        (tag_editor_response, em_utils_flag_for_followup)
        (em_utils_flag_for_followup_completed): some cleanup/api stuff.

svn path=/trunk/; revision=28858
2005-02-23 06:14:21 +00:00
c075b7d96c kill old 'load http 0 now=0' debug.
2005-01-18  Not Zed  <NotZed@Ximian.com>

	* em-format-html.c (emfh_gethttp): kill old 'load http 0 now=0' debug.

	** See bug #70563.

	* em-utils.c (emu_set_proxy, emu_proxy_setup)
	(em_utils_get_proxy_uri): make sure the init code is called from
	main thread (gconf usage), and add locking for data consistency.

svn path=/trunk/; revision=28424
2005-01-18 05:32:19 +00:00
d25f16e9ea ** Merge in notzed-messageinfo-branch.
2004-11-12  Not Zed  <NotZed@Ximian.com>

        ** Merge in notzed-messageinfo-branch.

svn path=/trunk/; revision=27899
2004-11-12 05:54:07 +00:00
ef6a3af717 Merged notzed-eplugin-2-branch to head.
svn path=/trunk/; revision=27300
2004-09-20 05:59:55 +00:00
96a5237eb5 added a comment
svn path=/trunk/; revision=27134
2004-09-03 17:16:20 +00:00
bb38060bed Fix for bug #63377 and prevention of similar cases.
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-09-02 20:10:01 +00:00
e6c34bb759 gtk-doc style comment fixes
svn path=/trunk/; revision=27087
2004-08-30 18:53:45 +00:00
afd6e11236 Don't crash if we're passed a NULL path. GtkFileChooser can return NULL
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-27 18:49:05 +00:00
6b9af3bc46 don't include the terminating NUL in the data length.
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-16 03:31:21 +00:00
12327eb65c Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0
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-12 20:40:11 +00:00
10bfd57c37 ** See #61940.
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-28 14:38:50 +00:00
fd83a09d5c added len parameter to em_utils_part_to_html and em_utils_message_to_html.
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
2004-07-27 16:52:33 +00:00
ad44453de2 set the session on the formatter. See #61767.
2004-07-22  Not Zed  <NotZed@Ximian.com>

        * em-utils.c (em_utils_part_to_html, em_utils_message_to_html):
        set the session on the formatter.  See #61767.

2004-07-22  Not Zed  <NotZed@Ximian.com>

        ** See bug #61747.

        * message-list.c (search_func): don't emit a message_selected here
        (god knows why we did?).  Don't update cursor_uid either, just
        clear it.
        (message_list_select): select the path if we find it here, causing
        the cascade of selection action.

svn path=/trunk/; revision=26710
2004-07-23 03:49:22 +00:00
5b61aaf875 free return value from e_mkdtemp
* em-utils.c (em_utils_selection_set_urilist,
        em_utils_temp_save_part): free return value from e_mkdtemp

svn path=/trunk/; revision=26648
2004-07-14 15:20:19 +00:00
516c77a7a9 Add code to set the parent, position, and type hint of the "Add address"
2004-06-24  Rodney Dawes  <dobey@novell.com>

	* em-utils.c (em_utils_add_address): Add code to set the parent,
	position, and type hint of the "Add address" dialog

	Fixes #60030

svn path=/trunk/; revision=26501
2004-06-24 21:27:44 +00:00
a218c7d2f7 ** See #59885.
2004-06-17  Not Zed  <NotZed@Ximian.com>

        ** See #59885.

        ** Moved all of the mail specific filtering stuff from filter/* to
        here.  Renamed appropriately into em* space, etc.

        * em-filter-folder-element.c (emff_copy_value): implement for folders.

        * em-vfolder-rule.c (get_widget): read the vfolder glade from
        mail-config.glade.

        * mail-config.glade: moved the vfolder source selector here.

        * em-search-context.c: new mail search specific rule context.

        * mail-component.c (setup_search_context): use the new
        em_search_context.

        * vfolder-rule.c (validate): change error to mail context.

        * filter-folder.c (validate): change error to mail context.

        * Makefile.am (em-filter-i18n.h): added rule for i18n of mail
        filter type stuff.
        (libevolution_mail_la_SOURCES): added in the filter and vfolder
        rule stuff specific to mail.

        ** See #59885.

        * em-format-html-quote.[ch]: remove and remove from build, not
        used.

        * Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and
        evolutionsmime.

        * mail-component-factory.c (factory): there is no mail_config
        anymore.

svn path=/trunk/; revision=26380
2004-06-17 07:34:50 +00:00
16c9d26176 ** See #59885.
2004-06-17  Not Zed  <NotZed@Ximian.com>

        ** See #59885.

        * em-format-html-quote.[ch]: remove and remove from build, not
        used.

        * Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and
        evolution-smime.

        * mail-component-factory.c (factory): there is no mail_config
        anymore.

2004-06-16  Not Zed  <NotZed@Ximian.com>

        * em-utils.c (em_utils_selection_get_urilist): handle comments in
        the urilist.  Can't remember the rfc for it.

svn path=/trunk/; revision=26374
2004-06-17 03:32:04 +00:00
a2d2fa53ef ** See #56479.
2004-06-16  Not Zed  <NotZed@Ximian.com>

        ** See #56479.

        * em-utils.c (em_utils_in_addressbook): use the main thread to
        setup the addressbook list.
        (em_utils_in_addressbook): only check against the "completion"
        sources, not all of them.

2004-06-15  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_mail_stop): call mail_cancel_all to
        implement the stop button.

        * em-utils.c (emu_addr_sources_refresh): don't unref the group
        list, otherwise the sources become broken now (?).
        (em_utils_in_addressbook): add some locking.  add cancellation.
        this is almost certainly going to cause issues.

        * mail-mt.c (mail_cancel_hook_add, mail_cancel_hook_remove)
        (mail_cancel_all): new functions to implement a global mailer stop
        button.

svn path=/trunk/; revision=26363
2004-06-16 07:11:20 +00:00
c05c05cd3c This code no longer needs to do charset conversion. Yay. Fixes bug #60225.
2004-06-15  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (save_part_save): This code no longer needs to do
	charset conversion. Yay. Fixes bug #60225.

	* em-utils.c (em_utils_save_part_to_file): Use the proper e-error
	namespace.

svn path=/trunk/; revision=26358
2004-06-16 02:15:46 +00:00
6093cf0982 handle a null path or fragment.
2004-06-11  Not Zed  <NotZed@Ximian.com>

        * em-utils.c (em_uri_from_camel): handle a null path or fragment.

        * em-folder-tree-model.c (em_folder_tree_model_add_store): set the
        full name of the store to "".  Fixes #59925 and probably other
        issues.  Related to the removal of folderinfo->path.

svn path=/trunk/; revision=26305
2004-06-11 08:30:16 +00:00
408266b22e use the new e_book_new_* and e_book_open apis.
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-20 01:17:29 +00:00
dbd786a2dd if we end up with an application/octet-stream part, pre-snoop it so we set
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 07:02:12 +00:00
81f6e6db48 ** Bug #6556.
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-17 03:50:56 +00:00
97926d706a add for translators.
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
2004-05-12 03:34:33 +00:00
03cdf54aab Moved these here from em-utils.c.
2004-05-03  Not Zed  <NotZed@Ximian.com>

        * em-composer-utils.c (em_utils_compose_new_message)
        (em_utils_compose_new_message_with_mailto)
        (em_utils_post_to_folder, em_utils_post_to_url)
        (em_utils_edit_message, em_utils_edit_messages)
        (em_utils_forward_attached, em_utils_forward_inline)
        (em_utils_forward_quoted, em_utils_forward_message)
        (em_utils_forward_messages, em_utils_redirect_message)
        (em_utils_redirect_message_by_uid) :
        (em_utils_reply_to_message, em_utils_reply_to_message_by_uid)
        (em_utils_post_reply_to_message_by_uid): Moved these here from
        em-utils.c.

svn path=/trunk/; revision=25744
2004-05-03 10:30:27 +00:00
2828781d0d fix the overwrite? question. #57822.
2004-04-30  Not Zed  <NotZed@Ximian.com>

	* em-utils.c (emu_can_save): fix the overwrite? question.  #57822.

svn path=/trunk/; revision=25699
2004-04-30 03:57:56 +00:00
e23cf1ca36 ** Changed error messages to use EError.
2004-04-28  Not Zed  <NotZed@Ximian.com>

        ** Changed error messages to use EError.

svn path=/trunk/; revision=25653
2004-04-28 06:39:25 +00:00
f8574c815f use %% for %%.
2004-04-13  Not Zed  <NotZed@Ximian.com>

        * em-format-html.c (efh_format_headers): use %% for %%.

        * em-folder-view.c (emfv_init, emfv_finalise, emfv_activate):
        revert dans' creatable items handler patch, moved to
        mail-component instead (which deals with the actual menu's).

        * mail-component.c (impl_createControls): setup a user creatable
        items handler on the view widget.
        (view_control_activate_cb): activate the user creatable items
        handler on the view widget.

        * em-folder-view.c (emfv_init): add a comment about jeff's last
        fix.

        * em-utils.c (forward_non_attached): Set attachments from
        forwardee before we set the body, otherwise images wont resolve
        properly.  Related to #56566.

svn path=/trunk/; revision=25428
2004-04-13 07:50:59 +00:00
85c5b26c40 If the provider is unavailable, return euri like the other fail cases.
2004-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* em-utils.c (em_uri_to_camel): If the provider is unavailable,
	return euri like the other fail cases. Fixes bug #56846.

svn path=/trunk/; revision=25415
2004-04-12 15:35:25 +00:00
16b7fae670 use e_destination_export_to_vcard_attribute instead of exporting to xml,
2004-04-09  Chris Toshok  <toshok@ximian.com>

	* importers/pine-importer.c (import_contact): use
	e_destination_export_to_vcard_attribute instead of exporting to
	xml, and use e_contact_set_attributes.

	* em-utils.c (em_utils_camel_address_to_destination):
	EABDestination -> EDestination.
	(reply_get_composer): same
	(post_reply_to_message): same.

	* em-composer-utils.c (ask_confirm_for_unwanted_html_mail):
	EABDestination -> EDestination.
	(composer_get_message): same.

svn path=/trunk/; revision=25392
2004-04-09 17:30:58 +00:00
9e126a8d01 Cleaned up header inclusions and added plenty of forward declarations.
2004-03-31  Not Zed  <NotZed@Ximian.com>

        * *.[ch]: Cleaned up header inclusions and added plenty of forward
        declarations.  Sped up complete re-compilation by upto 20%.

        ** See bug #55950.

        * em-utils.c (em_utils_in_addressbook): utility for checking if an
        email address is in the addressbook.  I can't tell if it works
        'cause it crashes eds.

        * em-format-html.c (emfh_gethttp): handle addressbook checking.

2004-03-30  Not Zed  <NotZed@Ximian.com>

        * mail-config.h: clean up the headers and use some forward decl's
        instead.

        * em-format-html.c (em_format_html_set_load_http): change state to
        an int 'style' instead.

        * em-folder-view.c (emfv_setting_notify): set the format load http
        option to the config value directly.

        ** See bug #56147.

        * message-list.c (clear_info): set the node data to NULL when we
        unref its data.
        (ml_get_save_id): use a different test for the root node, and
        return NULL if we don't have any data on the node (because we're
        cleaing it).

        ** See bug #54962.

        * em-folder-tree.c (emft_popup_new_folder_response): put back the
        old hack to open the vfolder editor if you try to create a folder
        under vfolders.

        ** See bug #55940.

        * mail-autofilter.c (mail_filter_rename_uri): map the uri to an
        email uri before passing to filter code.
        (mail_filter_delete_uri): same here.

svn path=/trunk/; revision=25261
2004-03-31 10:09:04 +00:00
4609348bf2 if we get an email uri passed in, just pass it out again, without first
2004-03-23  Not Zed  <NotZed@Ximian.com>

        * em-utils.c (em_uri_from_camel): if we get an email uri passed in,
        just pass it out again, without first going to camel to do it.

svn path=/trunk/; revision=25150
2004-03-23 06:15:08 +00:00
8dcf7b7853 rfc2047 decode the address here before passing it off to the addressbook
2004-03-18  Jeffrey Stedfast  <fejj@ximian.com>

	* em-utils.c (em_utils_add_address): rfc2047 decode the address
	here before passing it off to the addressbook (which expects it to
	be in human-readable form, not encoded). Fixes bug #55591.

svn path=/trunk/; revision=25118
2004-03-18 17:14:42 +00:00
3187450080 If the mail_get_message() async op fails, it will still call us with a
2004-03-15  Jeffrey Stedfast  <fejj@ximian.com>

	* em-utils.c (reply_to_message): If the mail_get_message() async
	op fails, it will still call us with a NULL message to check for
	that. Fixes bug #55612.
	(post_reply_to_message): Same.

svn path=/trunk/; revision=25081
2004-03-15 20:09:56 +00:00
7dfbad5dce ** See bug #54924.
2004-03-03  Not Zed  <NotZed@Ximian.com>

        ** See bug #54924.

        * em-utils.c (em_utils_selection_set_urilist): Try to get the drop
        filename from the message subject, or folder name.
        (em_utils_empty_trash): kill warning.

svn path=/trunk/; revision=24946
2004-03-03 08:11:19 +00:00
1e99d93fbe Make sure url->path is non-NULL before setting folder_name to url->path +
2004-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* em-utils.c (em_utils_folder_name_from_uri): Make sure url->path
	is non-NULL before setting folder_name to url->path + 1. Could
	possibly fix bug #54853.

svn path=/trunk/; revision=24887
2004-02-26 16:40:34 +00:00
4e99cbb3f7 Use the new camel_store_folder_uri_equal() function.
2004-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* em-utils.c (em_utils_folder_is_drafts): Use the new
	camel_store_folder_uri_equal() function.
	(em_utils_folder_is_sent): Same.

svn path=/trunk/; revision=24848
2004-02-24 17:00:51 +00:00
3185a97125 Fix for bug #54057
2004-02-23  Jeffrey Stedfast  <fejj@ximian.com>

	Fix for bug #54057

	* em-utils.c (em_utils_folder_is_sent): Use provider->url_equal()
	rather than camel_store_uri_cmp() since that function did not do
	anything close to what it claimed to do. Also use
	em_uri_to_camel() here on the account sent_folder_uri.
	(em_utils_folder_is_drafts): Same.

svn path=/trunk/; revision=24837
2004-02-23 20:59:29 +00:00