Commit Graph

3786 Commits

Author SHA1 Message Date
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
1d5b61d3d0 Partial fix for bug #62771
2004-08-10  Jeffrey Stedfast  <fejj@novell.com>

	Partial fix for bug #62771

	* em-format-quote.c (emfq_format_header): Same.

	* em-format-html.c (efh_format_header): Decode the
	X-Mailer/User-Agent headers.

svn path=/trunk/; revision=26889
2004-08-12 16:34:22 +00:00
85ae1fd47c just call e_passwords_ask_password directly. (pass_activate,
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-12 06:53:45 +00:00
d948e3cbe3 Return NULL not FALSE on error.
2004-08-06  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-tree-model.c (em_folder_tree_model_get_selected):
	Return NULL not FALSE on error.

svn path=/trunk/; revision=26864
2004-08-10 19:10:06 +00:00
bacab97bb2 minor typo, uppercase 'the' corrected.
2004-06-08  Karsten Bräckelmann  <guenther@rudersport.de>

	* em-format-html-display.c (smime_encrypt_table[4]): minor typo,
	uppercase 'the' corrected.

svn path=/trunk/; revision=26841
2004-08-06 17:36:01 +00:00
865fc73a24 If type="{Sender}" and name is an empty string, use the addr. Fixes bug
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-04 15:20:57 +00:00
f929f20b9f fixed changelog
svn path=/trunk/; revision=26815
2004-08-03 19:02:21 +00:00
7496d3f7b9 bump version, requirements
2004-08-02  JP Rosevear  <jpr@novell.com>

	* configure.in: bump version, requirements

svn path=/trunk/; revision=26803
2004-08-02 21:14:38 +00:00
e19ffca408 Update to just call us "Evolution" and be more accurate about the new
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-08-02 14:29:25 +00:00
9c26a7412a add the error message needed for groupwise account setup
2004-07-29  Sivaiah Nallagatla <snallagatla@novell.com>

        * mail-errors.xml : add the error message needed for groupwise
        account setup

svn path=/trunk/; revision=26766
2004-07-29 06:47:31 +00:00
f000b8fa4f ** See #61958.
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-29 03:00:42 +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
7d0353e268 ** See #57972.
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-28 02:55:52 +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
063717e494 dont call e_error_default parent here, we dont have access to the toplevel
2004-07-22  Not Zed  <NotZed@Ximian.com>

        * mail-component.c (impl_createControls): dont call
        e_error_default parent here, we dont have access to the toplevel
        yet.

svn path=/trunk/; revision=26728
2004-07-26 06:41:39 +00:00
d55e03c10c ** See bug #61824.
2004-07-23  Not Zed  <NotZed@Ximian.com>

        ** See bug #61824.

        * em-popup.c (emp_part_popup_reply_sender)
        (emp_part_popup_reply_list, emp_part_popup_reply_all): use new
        api.  We have no uid/folder to update here.

        * em-folder-view.c (emfv_message_reply): use new api for replying
        so we can supply the message content and have flags updated.

        * em-composer-utils.c (em_utils_reply_to_message): added optional
        folder and uid.
        (em_utils_reply_to_message_by_uid): removed, use the other
        interface instead.
        (reply_to_message): just call reply_to_message if we get a message
        to reply to.
        (em_utils_reply_to_message): if no message supplied, load it via
        the uid.

svn path=/trunk/; revision=26727
2004-07-26 06:33:23 +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
aab6f62642 Free uri and name strings. Fixes a leak.
2004-07-19  Jeffrey Stedfast  <fejj@novell.com>

	* em-migrate.c (em_migrate_folder): Free uri and name
	strings. Fixes a leak.

svn path=/trunk/; revision=26688
2004-07-21 15:54:00 +00:00
230dd59a43 Chck that the selection is active. Hopefully this will fix bug #61427.
2004-07-13  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-view.c (emfv_message_reply): Chck that the selection
	is active. Hopefully this will fix bug #61427.

svn path=/trunk/; revision=26667
2004-07-16 16:03:44 +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
27f894733e only call expunge if the folder is set. (emfb_enable_map[]): only enable
2004-07-09  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_folder_expunge): only call expunge if
        the folder is set.
        (emfb_enable_map[]): only enable expunge menu item if we have a
        valid folder set.

        ** See bug #60900.

        * em-format-html.c: convert the text_inline_parts hash to be keyed
        off the partid.
        (efh_free_inline_parts): -> efh_free_cache and fix to do it.

        * em-format.c (emf_free_cache): make the inline table cache other
        info too based on partid, this frees the structure.
        (emf_clone_inlines): copy all of the cache data.
        (em_format_is_inline): use the new data structure to determine
        state.
        (em_format_set_inline): same for setting.
        (emf_multipart_signed): cache/lookup the cached part.
        (emf_insert_cache): helper to add a cache entry.
        (emf_multipart_encrypted): cache decrypted part.
        (emf_application_xpkcs7mime): same.

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

        ** See bug #60900 (related only).

        * em-format-html-display.c (efhd_attachment_show): let set_inline
        do the redraw itself if required.  kill some dead code.

        * em-format.c (em_format_set_inline): trigger a redraw here like
        the other em_format_set methods, if the state changed.

        * em-format.c (emf_format_clone): free inline table keys & setup
        string hash table.

        * em-format-quote.c (emfq_format_attachment):
        * em-format-html-display.c (efhd_format_attachment):
        * em-format-html.c (efh_format_attachment): is_inline api changes.

        * em-format-html-display.c (efhd_attachment_show): set_inline api
        changes.

        * em-format.c (em_format_is_inline): make this use the partid
        rather than the part address as a key, which may change.
        (emf_init): make the inline talbe a string hashtable.
        (emf_finalise): free inline keys.
        (emf_clone_inlines): copy the key string.

svn path=/trunk/; revision=26614
2004-07-10 01:31:04 +00:00
3135766500 Fix for bug #61199.
2004-07-07  Jeffrey Stedfast  <fejj@novell.com>

	Fix for bug #61199.

	* em-format-html.c (efh_format_address): Same.

	* em-format-quote.c (emfq_format_address): Make sure 'real' isn't
	NULL before using.

svn path=/trunk/; revision=26606
2004-07-09 13:57:54 +00:00
defbf78488 tarball should ship .schemas.in.in files, not generated files.
* Makefile.am:
        tarball should ship .schemas.in.in files, not generated files.

svn path=/trunk/; revision=26602
2004-07-09 11:17:59 +00:00
8893f5137d bump version, requirements
2004-07-02  JP Rosevear  <jpr@novell.com>

	* configure.in: bump version, requirements

2004-07-02  JP Rosevaer  <jpr@novell.com>

	* Makefile.am (SUBDIRS): Revert previous error change

svn path=/trunk/; revision=26583
2004-07-05 15:08:43 +00:00
82109a2cb1 Remove $(error_i18n) (CLEANFILES): Put $(error_i18n) in here
2004-07-01  Rodney Dawes  <dobey@novell.com>

	* Makefile.am (BUILT_SOURCES): Remove $(error_i18n)
	(CLEANFILES): Put $(error_i18n) in here

svn path=/trunk/; revision=26557
2004-07-01 19:27:11 +00:00
0535daf02a call folder_subscribed directly from the async function not
2004-06-29  Not Zed  <NotZed@Ximian.com>

        * em-folder-tree-model.c (folder_created_cb): call
        folder_subscribed directly from the async function not
        foldre_subscribed_cb, otherwise we run out of order.  Part of
        #60775.

svn path=/trunk/; revision=26547
2004-06-29 10:05:54 +00:00
adc60c535f setup exclusion for vfolder sources, noselect folders. Bug #60794.
2004-06-29  Not Zed  <NotZed@Ximian.com>

        * em-vfolder-rule.c (source_add): setup exclusion for vfolder
        sources, noselect folders.  Bug #60794.

svn path=/trunk/; revision=26544
2004-06-29 06:30:24 +00:00
d6ce7d54b0 duh remove changelog entry, it didn't get changed
svn path=/trunk/; revision=26542
2004-06-28 08:48:34 +00:00
9891f067ce fix accelerators. #56746.
2004-06-28  Not Zed  <NotZed@Ximian.com>

        * mail-component.c (impl__get_userCreatableItems): fix
        accelerators.  #56746.

svn path=/trunk/; revision=26541
2004-06-28 08:47:24 +00:00
ead0633d3b Don't prepend the path string with a '/'.
2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-selector.c (em_folder_selector_get_selected_path):
	Don't prepend the path string with a '/'.

	* em-folder-tree.c (em_folder_tree_create_folder): This takes a
	full_name so update the argument to make that clear.
	(emft_create_folder): Same and also don't strip a leading '/'

svn path=/trunk/; revision=26513
2004-06-25 14:44:49 +00:00
c3744c7c3c set search column. #60152.
2004-06-25  Not Zed  <NotZed@Ximian.com>

        * em-folder-tree.c (folder_tree_new): set search column.  #60152.

svn path=/trunk/; revision=26507
2004-06-25 04:15:38 +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
4b2eddbec7 ** See #54030.
2004-06-23  Not Zed  <NotZed@Ximian.com>

        ** See #54030.

        * e-searching-tokenizer.c (e_searching_tokenizer_match_count):
        only return a count if we're using the primary search string.

        * em-format-html-display.c (efhd_search_response): set the primary
        search string to NULL instead of resetting it.
        (efhd_update_search): dont noop if we have a null search text,
        just set an empty search.

        * e-searching-tokenizer.c (e_searching_tokenizer_reset): remove
        this, revert jeff's fixes for 54030.  this is incomplete and so
        doesn't work either (search text stays remembered and secondary
        search text lost too).

        ** See #60523.

        * em-folder-view.c (emfv_finalise): unhook the folder changed
        before destroying the async thing, and move it all to destroy
        event anyway.
        (emfv_destroy): as above.

svn path=/trunk/; revision=26472
2004-06-23 08:08:40 +00:00
d0b89545c5 Same as below. (em_folder_tree_model_remove_folders): Same.
2004-06-22  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-tree-model.c (sort_cb): Same as below.
	(em_folder_tree_model_remove_folders): Same.

svn path=/trunk/; revision=26458
2004-06-22 21:12:13 +00:00
caefd7c482 As toshok discovered, gtk_tree_model_get() strdup's string arguments,
2004-06-22  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-tree.c (emft_maybe_expand_row): As toshok discovered,
	gtk_tree_model_get() strdup's string arguments, *sigh*, so we need
	to free them.
	(tree_drag_data_delete): Same.
	(tree_drag_data_get): Same.
	(tree_drag_data_received): Same.
	(emft_drop_target): Same
	(em_folder_tree_get_selected_uris): Same.
	(get_selected_uris_path_iterate): Same.
	(emft_update_model_expanded_state): Same.
	(emft_tree_row_expanded): Same.
	(emft_tree_row_activated): Same.
	(emft_popup_delete_response): Same.
	(emft_popup_delete_folder): Same.
	(emft_popup_rename_folder): Same.
	(emft_popup_properties): Same.
	(emft_tree_button_press): Same.
	(emft_tree_selection_changed): Same.

svn path=/trunk/; revision=26457
2004-06-22 21:03:43 +00:00
6867a34fe5 gtk_tree_model_get on a string field allocates the return value. free
2004-06-22  Chris Toshok  <toshok@ximian.com>

	* em-folder-tree.c (render_pixbuf): gtk_tree_model_get on a string
	field allocates the return value.  free path.

svn path=/trunk/; revision=26456
2004-06-22 20:15:39 +00:00
cd139a86fd If the app requires a terminal to run, give it a bloody terminal (who uses
2004-06-22  Jeffrey Stedfast  <fejj@novell.com>

	* em-popup.c (emp_apps_open_in): If the app requires a terminal to
	run, give it a bloody terminal (who uses vi in an xterm to view
	attached text files? *sigh*). Fixes bug #51259.

svn path=/trunk/; revision=26455
2004-06-22 19:39:20 +00:00
0ba1baf5d8 gtk_tree_model_get on a string field allocates the return value. free
2004-06-21  Chris Toshok  <toshok@ximian.com>

	* em-folder-tree.c (render_display_name): gtk_tree_model_get on a
	string field allocates the return value.  free name.

svn path=/trunk/; revision=26448
2004-06-22 00:45:47 +00:00
82666876f8 (em_junk_sa_test_spamd): try to get spamd/spamc binaries from
gconf

	Implements #59368

svn path=/trunk/; revision=26442
2004-06-21 17:14:37 +00:00
e2d0cba03c clone view before saving it to avoid problems with setting current_view_id
2004-06-21  Radek Doulik  <rodo@ximian.com>

	* gal-view-instance-save-as-dialog.c
	(gal_view_instance_save_as_dialog_save): clone view before saving
	it to avoid problems with setting current_view_id

	Fixes #57354

svn path=/trunk/; revision=26441
2004-06-21 16:59:33 +00:00
af2b5dd152 ** See #31027.
2004-06-18  Not Zed  <NotZed@Ximian.com>

        ** See #31027.

        * em-vfolder-editor.c (em_vfolder_editor_new): make sure we
        construct the rule editor with a source of 'incoming', otherwise
        newly created rules have no source in the current session.

        * em-vfolder-rule.c (em_vfolder_rule_init): init the vfolder
        source to 'incoming' always.

        * mail-vfolder.c (uri_is_ignore): fix debug statement.

svn path=/trunk/; revision=26415
2004-06-18 08:57:50 +00:00
1a68102c00 ** See #60214.
2004-06-18  Not Zed  <NotZed@Ximian.com>

        ** See #60214.

        * em-folder-view.c (em_folder_view_print): re-arrange code to make
        the dialogue async.  We also now load the message every time
        before printing.
        (emfv_print_response): handle response to print.

        * em-format-html-print.c (em_format_html_print_message): new api
        to print a specific uid on a specific folder.

svn path=/trunk/; revision=26413
2004-06-18 07:41:36 +00:00
b4d9b7e00b use mail dialogs.glade.
2004-06-18  Not Zed  <NotZed@Ximian.com>

        * em-vfolder-rule.c (get_widget): use mail dialogs.glade.

        * mail-dialogs.glade: move the vfolder-source window here from
        mail-config.glade.

        * Makefile.am (glade_DATA): fix the glade list.

        * mail-license.glade, subscribe-dialog.glade, mail-security.glade,
        * mail-search.glade: Merged into mail-dialogs.glade.  Should be
        easier to manage.

        * message-tag-followup.c (construct): use mail dialogs glade file.

        * mail-account-gui.c (display_license): use mail dialogs glade file.

        * em-subscribe-editor.c (em_subscribe_editor_new): use new glade
        file.

        * em-format-html-display.c (em_format_html_display_search): use
        merged glade file.
        (efhd_xpkcs7mime_validity_clicked): same.

        * mail-dialogs.glade: merge various glade files into here.

svn path=/trunk/; revision=26409
2004-06-18 04:43:59 +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
fc121328c9 Include gtk[hv]box.h so we can use them (emfp_dialog_got_folder): Fix the
2004-06-16  Rodney Dawes  <dobey@novell.com>

	* em-folder-properties.c: Include gtk[hv]box.h so we can use them
	(emfp_dialog_got_folder): Fix the border widths and spacings for
	the internal widgets and the dialog's vbox and action area to be
	compliant with the HIG
	Fix the general layout of the dialog to be HIG-compliant as well
	Use ngettext for the row labels for number of messages
	Add a cancel button, since we are not instant-apply
	Align the message counts to the right
	Part of this patch is from Christian Neumair <chris@gnome-de.org>

	* mail-component.c (view_changed_cb): Fix a typo for the sent folder
	send is not a pluralization of sent

svn path=/trunk/; revision=26369
2004-06-16 21:41:52 +00:00
ceede594a2 clear the error, don't free it, so NULL is handled properly
2004-06-16  JP Rosevear  <jpr@novell.com>

	* em-composer-prefs.c (spell_set_ui): clear the error, don't free
	it, so NULL is handled properly

svn path=/trunk/; revision=26365
2004-06-16 12:34:57 +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
8568b3caee frombase is simply the select_path, since selected_path is now just the
2004-06-15  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-tree.c (emft_popup_copy_folder_selected): frombase is
	simply the select_path, since selected_path is now just the
	full_name rather than the path. Fixes bug #60075.

svn path=/trunk/; revision=26357
2004-06-15 21:49:47 +00:00