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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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 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-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-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 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 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-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 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-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 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-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