2000-11-02 Not Zed <NotZed@HelixCode.com>
** Merged in camel-incremental-branch.
* mail-format.c (mail_get_message_body): Jeff! Sigh.
We should definetly not be strduping the
content, it has already been copied and duplicated. Look at
get_data_wrapper_text.
svn path=/trunk/; revision=6337
2000-11-01 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.h: add fields search_entry and search_top.
* subscribe-dialog.c: add mail-ops.c style async operations for
getting the store (to remove deadlock in the case where a auth
dialog is dismissed at startup and then the subscribe dialog is
brought up), and subscribing/unsubscribing to folders. One case
remains, that is getting the list of all folders.
(subscribe_search): flesh out this function
(build_tree): use the search_top field so we can search for
groups/folders.
(subscribe_dialog_destroy): free search_top.
(subscribe_dialog_construct): init search_top.
svn path=/trunk/; revision=6331
mail-summary now has clickable names to change to that view
executive summary remembers what components are running when you close.
selection now blocks ES updating so it won't be cleared.
svn path=/trunk/; revision=6330
2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
* mail-autofilter.c (rule_from_message): If the name is NULL or
empty, then set the title to "Mail from <address>". Closes
bugzilla bug #777. Also when filtering on Subject, set the file
name to "Subject is <subject>" rather than just "<subject>" - I
think this is a bit more user-friendly.
(strip_re): Use unsigned char when passing to is<type>()
functions from ctype.h.
(rule_add_subject): Use the "is" rule instead of "contains".
svn path=/trunk/; revision=6321
* mail-display.c (pixbuf_gen_idle): Lots of fixes and
simplifications. Should get rid of the "missing icon" problem.
There is still a problem with some images failing to get
thumbnails, even though they display correctly.
(pixbuf_for_mime_type): New function to try really hard to get the
right icon for a MIME type, including looking in mc and nautilus's
pixmap directories.
(on_object_requested): Always use pixbuf_gen_idle, even for
non-image types, to prevent code duplication.
svn path=/trunk/; revision=6317
* modified or added a bunch of .cvsignore to ignore
generated files, which are not in repository.
* call *textdomain() in various files only when
ENABLE_NLS is defined
svn path=/trunk/; revision=6310
2000-10-31 Jeffrey Stedfast <fejj@helixcode.com>
* mail-format.c (mail_get_message_body): Shouldn't we be
strdup'ing the content? This seems to fix the memory corruption
problems.
(mail_generate_reply): Make sure that the last char in the
generated reply text is '\0' (when bodt text doesn't end with a
\n, a random char will appear otherwise).
svn path=/trunk/; revision=6306
2000-10-31 Jeffrey Stedfast <fejj@helixcode.com>
* mail-autofilter.c (filter_gui_add_for_mailing_list): Match "is"
rather than "contains" now that we have the "is"-rule.
svn path=/trunk/; revision=6295
* mail-config-gui.c (config_do_query_authtypes): Redo this so that
it works for all pages, not just the first page. (Now that this is
finally working again, I expect Anna to finish her redesign in the
next 15 minutes.)
(service_page_item_new): Fix up the sizing of the Auth line to
look more like everything else.
svn path=/trunk/; revision=6270
* mail-tools.c (mail_tool_uri_to_folder): Simplify this a lot by
making IMAP and NNTP use the same code, now that the IMAP
namespace doesn't need special magic handling.
svn path=/trunk/; revision=6257
* message-list.c (mail_do_regenerate_messagelist): Don't try to
regenerate the message list if there is no folder. (The Bonobo UI
code will call this as the callback for the "Threaded View"
command.)
svn path=/trunk/; revision=6255
2000-10-27 Jeffrey Stedfast <fejj@helixcode.com>
* mail-callbacks.c (composer_send_cb): Check to make sure that the
recipient list is neither NULL nor a 0-length list of addresses
and pop up a dialog letting the user know why we are not allowing
him/her to send the message.
svn path=/trunk/; revision=6238
2000-10-26 Jeffrey Stedfast <fejj@helixcode.com>
* mail-callbacks.c (composer_send_cb): Check for the TO recipient
list being NULL and don't send.
svn path=/trunk/; revision=6201
2000-10-25 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_send_mail): Don't forget to unref the
FilterDriver.
* mail-callbacks.c (apply_filters): New callback for applying
on-demand filters. (removed the old on-demand filters callback).
* mail-ops.c (do_filter_ondemand): Rewrote to apply "incoming"
filters to all selected messages.
(mail_do_filter_ondemand): No longer takes a FilterContext
argument or a destination folder argument (why did we ever need
this last one??) but now takes a uids argument.
* folder-browser-factory.c: Add a MessageApplyFilters menu item.
svn path=/trunk/; revision=6190
* message-list.c: Add a "flagged" column, based on the Camel
"flagged" flag, for assigning an arbitrary "hey, I care about
this" flag to a message.
(ml_tree_set_value_at): Remove
(ml_tree_is_cell_editable): No, it's not.
(on_click): Handle the read/unread and flagged fields via the
click handler. Among other things, this makes it not select
a message when you change its read status.
svn path=/trunk/; revision=6173
* subscribe-dialog.c (folder_info_subscribed,
subscribe_folder_info, unsubscribe_folder_info): Don't prepend "/"
to the folder's full_name. Deal with hierarchy in the
EvolutionStorage tree better.
(storage_tree_path): Helper function to build a storage path from
a CamelFolderInfo.
svn path=/trunk/; revision=6168
2000-10-23 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Fixed a possible error in row numberings. This
needs to be changed quite a bit anyway, but this should make
things slightly nicer in some cases.
svn path=/trunk/; revision=6128
2000-10-23 Christopher James Lahey <clahey@helixcode.com>
* folder-browser.c: Made the top of the folder browser a little
prettier.
* mail-display.c, mail-vfolder.c: Made more dialogs resizable.
svn path=/trunk/; revision=6126
2000-10-19 Chris Toshok <toshok@helixcode.com>
* message-list.c (nuke_uids): e-tree-model is now opaque. use the
accessor to get the root node.
svn path=/trunk/; revision=6073
2000-10-19 Jeffrey Stedfast <fejj@helixcode.com>
* mail-format.c (mail_generate_reply): Get the MailConfigIdentity
*before* we create a new composer object so that we can set the
signature file.
svn path=/trunk/; revision=6026
2000-10-18 Iain Holmes <iain@helixcode.com>
* mail-config-gui.c (mail_config): Make all the CLists have passive
titles.
(identity_dialog): Make the default button the "OK" button, and set
the dialog to close on pressing return on the entryboxes.
svn path=/trunk/; revision=5996
2000-10-17 Iain Holmes <iain@helixcode.com>
* mail-config-gui.c (service_page_item_new): Disable the optionmenu
because it is empty.
(service_page_item_auth_fill): Enable the optionmenu as there's stuff
in it now.
* mail-callbacks.c (reply_to_sender): Call check_send_configuration
when we have the FolderBrowser because if it is done in mail_reply
(with passing NULL) it will only be able to continue if the mailer
has already been configured.
(reply_to_all): Same.
svn path=/trunk/; revision=5984
2000-10-18 Not Zed <NotZed@HelixCode.com>
* folder-browser.c (folder_browser_gui_init): No, we REALLY dont
want to perform an immediate search as the keys are pressed.
* mail-display.c (on_object_requested): Kill a minor warning with
a cast.
* mail-config.c: Include mising ctype.h to kill a warning.
* message-thread.c (main): Fixed the test case for api changes.
* message-list.c (message_list_drag_data_get): Set some flags to
get_folder(). I dont even think this will work because
mail_tool_get_folder doesn't handle file url's.
* mail-vfolder.c (vfolder_uri_to_folder): Pass appropriate flags.
* mail-ops.c (do_setup_folder): Pass appropriate flags. Hmm,
whats the difference between setup and create. *shrug*
(do_create_folder): Pass appropriate flags to get_folder. Needs a
way to specify the index flag.
* mail-tools.c (mail_tool_get_folder_from_urlname): Changed create
to flags argument.
(mail_tool_get_local_inbox_url): Add an index argument.
(mail_tool_get_local_inbox): honour index flag.
(mail_tool_get_inbox): Changed for api change.
(mail_tool_uri_to_folder): Fixed calls to store_get_folder();
* mail-local.c (load_metainfo): Added an indexed field to the metainfo.
(save_metainfo): And save it too.
(do_reconfigure_folder): Honour index flag when creating the new
folder. Do not open the old folder with an index at all.
(mail_local_map_uri): Add an index argument - tells if the mbox is
indexed.
(mail_tool_local_uri_to_folder): Create & pass flags properly.
(#include gnome.h): Dont include all of gnome, just what we use,
and explicity include xml-memory, so we get xmlFree().
svn path=/trunk/; revision=5979
2000-10-16 Jeffrey Stedfast <fejj@helixcode.com>
* mail-format.c (mail_generate_reply): Decode recipient names so
that they display nicely in the To and Cc fields.
(write_field_to_stream): Now takes another argument
'value_is_encoded' so that we know if we should decode that string
before proceding onward. Since the message subject is already
decoded before it's passed in, we don't want to decode it again
(wasted cpu time and/or any 8bit chars will be assumed to be
latin1 encoded and thus the decoded value will be corrupt).
svn path=/trunk/; revision=5955
2000-10-16 Chris Toshok <toshok@helixcode.com>
* mail-config-gui.c (service_page_get_url): only set the url->user
field if the user string is non-NULL and not empty.
svn path=/trunk/; revision=5953
2000-10-16 Not Zed <NotZed@HelixCode.com>
* message-list.c (message_list_setup_etable): Uh, fixed jeff's
wrong fix for setting the speficiation (the function changed to
set_state(), as can be seen in the e_table-scrolled_load_state()
call only 2 lines above).
svn path=/trunk/; revision=5938