2001-04-22 Gediminas Paulauskas <menesis@delfi.lt>
* folder-browser.c, mail-autofilter.c, mail-callbacks.c, mail-ops.c,
mail-summary.c, mail-vfolder.c: use system = EVOLUTION_DATADIR "/file"
instead of g_strdup_printf. Rename userrules to user (and system) to be
consistent.
* mail-send-recv.c: set window icon to send-receive.xpm
2001-04-21 Gediminas Paulauskas <menesis@delfi.lt>
* mail-summary.c: translate "Mail summary".
svn path=/trunk/; revision=9490
* mail-config-druid.c (make_default_account): Convert the result
of g_get_real_name() from the locale charset to UTF8. Noted by
Petter Sundlöf (NOT "Petter Sundl_" :)
svn path=/trunk/; revision=9481
* session.c (request_callback): Don't need to dup the string: the
relevant gnome-dialog routine already does.
* message-list.c (message_list_destroy): Free the uid_nodemap.
(hide_save_state): Free the filename when we're done.
svn path=/trunk/; revision=9452
2001-04-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mark_all_as_seen): Mark the messages as seen,
not unseen.
(is_drafts_folder): New function to attempt to determine if a
folder is a drafts folder.
(open_msg): Use is_drafts_folder().
(edit_msg): And here.
(edit_msg_internal): New function that doesn't do the drafts
checking and is only to be used internally. This should save us
from having to doubly-check a folder to see if it's a drafts
folder when doing an Open on the message.
(open_msg): Call edit_msg_internal once we've established that the
folder is a drafts folder.
svn path=/trunk/; revision=9336
2001-04-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mark_all_as_seen): Mark the messages as seen,
not unseen.
svn path=/trunk/; revision=9330
2001-04-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-crypto.c (mail_crypto_pgp_mime_part_verify): Only use
non-NULL contexts.
(mail_crypto_pgp_mime_part_encrypt): Same.
(mail_crypto_pgp_mime_part_decrypt): And here too.
* mail-format.c (try_inline_pgp_sig): Make sure to not use the
context if it is NULL.
(decode_pgp): Same.
* folder-browser-factory.c: Added stuff for filtering/vfoldering
on mailinglists.
svn path=/trunk/; revision=9315
Do this everywhere, also fixup CLEANFILES
2001-04-14 Michael Meeks <michael@ximian.com>
* Makefile.am (dist-hook): remove built sources from dist.
svn path=/trunk/; revision=9309
* Makefile.am (evolution_mail_LDADD): Remove some redundant LIBS
variables... purify complained that the command line was too
long. :-}
* mail-account-gui.c: Plug leaks.
* mail-display.c (on_url_requested): close the html stream on
error too.
* mail-ops.c (fetch_mail_fetch): Move a line around that probably
doesn't affect anything, but it's correct.
* session.c (auth_callback): Plug leak.
* mail-send-recv.c (receive_status): Initialize "now".
svn path=/trunk/; revision=9303
2001-04-13 Christopher James Lahey <clahey@ximian.com>
* message-list.c (on_cursor_activated_cmd): Only activate the
message if the cursor has moved.
svn path=/trunk/; revision=9298
2001-04-12 Christopher James Lahey <clahey@ximian.com>
* message-list.c (e_mail_address_new): Updated this function to be
a correct full ordering.
(ml_has_get_node_by_id, ml_get_node_by_id): Implemented these
functions.
(find_next_undeleted): Changed this to find next sorted undeleted
message. Also, changed it so that if the current message is not
deleted, it returns NULL.
(build_tree, build_flat): Changed these to only set the cursor if
the cursor is changed.
* subscribe-dialog.c: Changed this to pass NULL, NULL for
has_get_node_by_id and get_node_by_id.
svn path=/trunk/; revision=9290
2001-04-12 Jeffrey Stedfast <fejj@ximian.com>
* session.c (auth_callback): If the service is NULL, just use the
item as the key.
svn path=/trunk/; revision=9288
2001-04-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-crypto.c (mail_crypto_pgp_mime_part_sign): Use the
CamelCipherHash enum.
(mail_crypto_pgp_mime_part_verify): Use a CamelCipherValidity.
* mail-format.c (try_inline_pgp_sig): Updated to use
CamelCipherValidity instead of CamelPgpValidity.
(handle_multipart_signed): Same.
svn path=/trunk/; revision=9284
2001-04-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (pgp_path_changed): Updated for changes to PGP
code.
* component-factory.c (owner_set_cb): Don't init openpgp anymore
because we don't need it.
* mail-crypto.c: Simply wrap the camel-pgp-mime functions (also
renamed the functions to be prefixed with mail_crypto).
* mail-format.c (handle_multipart_signed): Update to use
camel_pgp_mime_is_rfc2015_signed() and other camel-pgp-mime
functions.
(handle_multipart_encrypted): Same but for rfc2015_encrypted.
(decode_pgp): Updated to use camel-pgp-context
(try_inline_pgp): Updated to use camel-pgp-context's.
(try_inline_pgp_sig): Same.
svn path=/trunk/; revision=9269
* mail-format.c (handle_text_plain): Only look for special
pseudo-multipart-isms (binhex, uucode, old pgp, etc) if the MIME
type is really text/plain. Otherwise, since there's no handler for
applciation/mac-binhex40, it gets sent to mail-identify.c, which
thinks it's text/plain because it starts with English words, and
so it gets sent back to the text/plain handler, which finds an
embedded binhex part...
svn path=/trunk/; revision=9260
2001-04-11 Jeffrey Stedfast <fejj@ximian.com>
* openpgp-utils.c (openpgp_encrypt): Don't g_free the recipient
array members here because we free them in the caller.
svn path=/trunk/; revision=9252
2001-04-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-crypto.c (pgp_mime_part_verify): Huh, somehow I forgot to
apply the from filter when verifying signed parts. Oh well,
probably not all that common. Fixed now though.
svn path=/trunk/; revision=9248
2001-04-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (save_cb): Change to the user's home dir before
opening the filesel.
* mail-callbacks.c (save_msg): Same.
svn path=/trunk/; revision=9241
2001-04-11 Christopher James Lahey <clahey@ximian.com>
* message-list.c (save_tree_state, message_list_setup_etree): Save
the expanded state using the ETree built in expanded state code.
svn path=/trunk/; revision=9229
2001-04-04 Gediminas Paulauskas <menesis@delfi.lt>
* mail-config-druid.c (create_html): set content type to utf8.
* mail-config.c (mail_config_check_service): fix warning.
* mail-display.c (link_open_in_browser): just call on_link_clicked().
(link_menu): Open link works.
(link_copy_location): claim selection.
(on_selection_get): new function, selection handler.
(mail_display_new): connect to selection_get. FIXME: does not work.
2001-04-04 Gediminas Paulauskas <menesis@delfi.lt>
* importer/importer.c (create_html): copied newer and fixed function
from mail/mail-config-druid.c.
(html_new, put_html): removed.
(show_import_wizard): use create_html instead of html_new/put_html pair.
* importer/importer.glade: a try to set logo. removed source generation
options.
svn path=/trunk/; revision=9161
shortcut bar.
Converted and replaced icons for trash and summary:
exec-16-summary.xpm => evolution-today-mini.png
delete_mesage.xpm => evolution-trash-mini.png,
Copied evolution-trash.png icons from mc (needs tweaking to match other
evolution icons though)
svn path=/trunk/; revision=9154
* session.c (mail_session_remember_password): Use the same
URL-transforming rules we use when hashing the password so this
actually works.
svn path=/trunk/; revision=9137
* mail-account-gui.c: Add a "provider_type" arg to
MailAccountGuiService.
(transport_needs_auth_toggled): Call service_changed if enabling
the auth pane so the status of the "Check supported types" button
will be correct.
(service_check_supported): Use gsvc->provider_type, not
CAMEL_PROVIDER_STORE.
(mail_account_gui_new): Pass the transport as the user_data to the
"changed" signal on transport.hostname, not the store.
(mail_account_gui_setup): Set up provider_type fields
svn path=/trunk/; revision=9101
Guided by Jacub Stener's mail, where he explaned which icons were renamed or
added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash
and Executive summary folder type icons. Fixed art/Makefile.am for these
changes.
Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made
all components and dialogs use cache and not load pixmaps every time.
Accidentally got a couple of includes fix in, but they won't break anything.
svn path=/trunk/; revision=9092
* mail-config.c (check_service_check): Register for cancellation.
(mail_config_check_service): Pop up a modal dialog with a message
and a "Cancel" button for the duration of the check.
svn path=/trunk/; revision=9058
2001-03-30 Jon Trowbridge <trow@ximian.com>
* e-html-utils.c (e_text_to_html_full): Add support for converting
e-mail addresses to links.
(is_email_address): Added. Identifies e-mail addresses.
(email_address_extract): Added. Extracts a copy of the e-mail
address from the text.
* e-html-utils.h (E_TEXT_TO_HTML_CONVERT_ADDRESSES): Added.
* e-url.c (e_url_shroud): Added. Copy a url, replacing
any plaintext passwords with a single *.
(e_url_equal): Compare two urls, taking into account that
they may or may not be shrouded.
2001-03-30 Jon Trowbridge <trow@ximian.com>
* camel-mime-message.c (camel_mime_message_set_source): Shrould
our source URL before putting it into X-Evolution-Source.
2001-03-30 Jon Trowbridge <trow@ximian.com>
* mail-display.c (mail_text_write): Add (commented-out)
E_TEXT_TO_HTML_CONVERT_ADDRESSES.
* mail-config.c (mail_config_get_account_by_source_url):
Call e_url_equal to compare URLs.
svn path=/trunk/; revision=9050
2001-03-29 Jon Trowbridge <trow@ximian.com>
* printing/e-contact-print.c: Added #include <libgnome/gnome-paper.h>
* printing/e-contact-print-envelope.c: Added #include <time.h>
and #include <libgnome/gnome-paper.h>
* gui/component/select-names/e-select-names-completion.c
(match_email): Better handle matching of "nameless" contacts.
* backend/ebook/e-destination.c (e_destination_get_string): Better
handle the case of a "nameless" contact.
2001-03-29 Jon Trowbridge <trow@ximian.com>
* camel-filter-driver.c (camel_filter_driver_filter_message): Save
the source URL using camel_mime_message_set_source.
* camel-mime-message.c (camel_mime_message_set_source): Renamed
camel_mime_message_set_identity to this. Sets the X-Evolution-Source
header.
(camel_mime_message_get_source): Returns the X-Evolution-Source
header.
2001-03-29 Jon Trowbridge <trow@ximian.com>
* mail-callbacks.c: Added #include <time.h> to get things
to compile.
* mail-callbacks.c (mail_generate_reply): Look at the
X-Evolution-Source header, and try to find a corresponding
account. If this works, send the mail from this account.
If not, use the default account.
* mail-ops.c (send_queue_send): Strip out the X-Evolution-Source
header before sending.
* mail-config.c (mail_config_get_account_by_source_url): Added.
Look up accounts by source URL.
svn path=/trunk/; revision=9032
* mail-format.c (call_handler_function): if called with a
multipart that's really a 0-part, spew an error and display as
source.
svn path=/trunk/; revision=9031