2002-10-03 Not Zed <NotZed@Ximian.com>
* camel-folder.c
(filter_filter): Do the filtering ourselves. This is so a problem
like a missing uid (which can happen legitemitely) doesn't
prematurely abort filtering. Stop on all other errors. See
#31667.
svn path=/trunk/; revision=18392
2002-10-17 JP Rosevear <jpr@ximian.com>
* gui/dialogs/recurrence-page.c (fill_ending_date): if the value
is a datetime, convert it to a date
* gui/itip-utils.c (comp_compliant): convert an UNTIL date value
to a datetime value
* cal-util/cal-component.c (cal_component_has_simple_recurrence):
check to see if the component recurrences meet our definition of
"simple"
* cal-util/cal-component.h: new proto
svn path=/trunk/; revision=18389
2002-10-17 Benjamin Kahn <xkahn@ximian.com>
* mail-format.c (mail_lookup_handler): If the attachment is type
application/octet-stream, sniff the file type even if the user
has a handler for that type.
svn path=/trunk/; revision=18388
2002-10-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/recurrence-page.c (fill_component): changed to have a
gboolean return type, which is what it's supposed to do.
(recurrence_page_fill_component): return the result from
fill_component.
* gui/dialogs/comp-editor-page.h: fixed typo in function prototype.
svn path=/trunk/; revision=18387
* e-corba-storage.c (cancel_discover_shared_folder): New,
implementation for the cancel_discover_shared_folder virtual
method.
(class_init): Install.
* evolution-test-component.c
(storage_discover_shared_folder_callback): Instead of passing the
listener to the timeout function, just pass the storage. Put the
listener and the timeout ID on the storage object by using
gtk_object_set_data().
(shared_folder_discovery_timeout_callback): Updated accordingly.
(storage_cancel_discover_shared_folder_callback): New, callback
for the cancel_discover_shared_folder signal.
(setup_custom_storage): Connect.
* e-shell-shared-folder-picker-dialog.c: New member storage in
struct DiscoveryData. While I am at it, rename member user to
user_email_address.
(discover_folder): Set the storage member.
(cleanup_discovery): Unref storage member.
(progress_dialog_clicked_callback): New, callback for the
"clicked" signal on the dialog.
(discover_folder): Connect.
* evolution-storage.c (class_init): Install signal
"cancel_discover_shared_folder".
(impl_Storage_cancelDiscoverSharedFolder): New, implementation for
the cancelDiscoverSharedFolder CORBA method; emit
"cancel_discover_shared_folder".
(evolution_storage_get_epv): Install CORBA method implementation.
* evolution-storage.h: Add signal cancel_discover_shared_folder.
* e-storage.c (e_storage_cancel_discover_shared_folder): New.
* e-storage.h: New virtual method cancel_discover_shared_folder.
* Evolution-Storage.idl (cancelDiscoverSharedFolder): New.
svn path=/trunk/; revision=18386
2002-10-15 Not Zed <NotZed@Ximian.com>
* camel-tcp-stream-ssl.c (cert_fingerprint): helper, build
fingerprint.
(camel_certdb_nss_cert_get): Helper for nss certs. Lookup cert.
As well as fingerprint, the whole raw cert is checked for
validity.
(camel_certdb_nss_cert_add): Add an nss cert to a certdb, also
saves the cert by fingerprint in ~/.camel_certs/.
(ssl_bad_cert): Changed to use above functions to simplify logic.
(ssl_bad_cert): Also added non-compiled code which mimics what
mozilla does, but it doesn't work right :-/
(camel_certdb_nss_cert_set): Save the raw cert associated with a
cert.
* camel-certdb.c (certdb_cert_free): Free the raw cert data if
set.
2002-10-14 Not Zed <NotZed@Ximian.com>
* camel-file-utils.c (camel_file_util_encode_string): Encode a
length of 0 as 1, not 0, to match the decode code.
svn path=/trunk/; revision=18385
2002-10-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_signed): Don't need to pass a
path to camel_gpg_context_new () anymore.
(mail_get_message_body): Same here.
(handle_multipart_encrypted): Use camel_gpg_context_new () instead
of mail_crypto_get_pgp_cipher_context ().
* mail-preferences.c (mail_preferences_construct): There's no
security tab anymore.
(mail_preferences_apply): No need to save any pgp config data,
there's nothing to configure!
* mail-crypto.c (mail_crypto_get_pgp_cipher_context): Updated to
not pass a pgp path into camel_gpg_context_new ().
* mail-config.c (mail_config_clear): No need to free a pgp_path
variable anymore, we don't need one.
(config_read): Don't read in a pgp-path or pgp-type anymore.
(mail_config_write_on_exit): Don't save a pgp-path or pgp-type
anymore, we don't use them.
(pgpopen): Removed.
(pgpclose): Removed.
(mail_config_pgp_type_detect_from_path): Removed.
(auto_detect_pgp_variables): Removed.
(mail_config_get_pgp_type): Removed.
(mail_config_set_pgp_type): Removed.
(mail_config_get_pgp_path): Removed.
(mail_config_set_pgp_path): Removed.
svn path=/trunk/; revision=18384
2002-10-16 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (camel_gpg_context_new): No longer takes a
path argument.
(camel_gpg_context_fianlise): No need to free ctx->path.
(gpg_ctx_new): No longer takes a path argument either.
(gpg_ctx_free): No need to free ctx->path, it's no longer used.
(gpg_ctx_op_start): Don't stat the path anymore and change the
first arg to execvp to "gpg" so that we use the shell's
environment to find gpg.
(gpg_sign): Updated.
(gpg_verify): Updated.
(gpg_encrypt): Updated.
(gpg_decrypt): Updated.
(gpg_ctx_get_argv): Removed some debug printfs.
svn path=/trunk/; revision=18383
2002-10-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): If mode == REPLY_LIST
and the mlist is "" (we only checked NULL before), change the mode
to REPLY_ALL so that we don't accidently reply to the user's
address. Fixes bug #28735
svn path=/trunk/; revision=18381
2002-10-16 Not Zed <NotZed@Ximian.com>
* e-msg-composer-select-file.c (select_file_internal): Mark the
file selector modal. Quick fix for bug #32256.
svn path=/trunk/; revision=18380
2002-10-15 Rodrigo Moya <rodrigo@ximian.com>
Fixes#25153
* scripts/mkderivedvalues.pl: changed the _get functions for
string values to return a NULL if arguments are wrong
* src/libical/icalderivedvalue.c.in (icalvalue_get_x): return from
function if pointer checking fails.
svn path=/trunk/; revision=18378
2002-10-16 Jeffrey Stedfast <fejj@ximian.com>
* gal/widgets/e-unicode.c (e_utf8_from_gtk_string_sized): Don't
include the byte reserved for the nul in the outleft size.
(e_utf8_from_iconv_string_sized): Same.
(e_utf8_to_iconv_string_sized): Here too, but also make sure we
pad the end of the resulting string with enough nul bytes (4) so
that even multi-byte charsets are terminated correctly.
(e_utf8_to_gtk_string_sized): Again here.
svn path=/trunk/; revision=18377
2002-10-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): If we are trying to
reply to a list, first check that we can by getting the mlist
token (makes it easier to fix the mem leak). If not, then change
the mode to REPLY_ALL. If we can reply to list, the make sure we
free the CamelMessageInfo when we're done so we don't leak.
svn path=/trunk/; revision=18376
2002-10-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): If we are trying to
reply to a list, first check that we can by getting the mlist
token. If not, then change the mode to REPLY_ALL. If we can reply
to list, the make sure we free the CamelMessageInfo when we're
done so we don't leak. Also added a check to see if the mlist
token could be found in the Reply-To ehader (since some mailing
lists override the Reply-To with their address).
svn path=/trunk/; revision=18375
2002-10-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-session.c (main_get_filter_driver): Add the new-mail-notify
rule to the filter driver before adding the user defined filter
rules so that we can be sure that the new-mail-notify rule gets
invoked. Fixes bug #32328.
* mail-composer-prefs.c (mail_composer_prefs_new_signature): Make
sure that name[0] cannot ever be NULL. Should maybe fix bug
#32230.
svn path=/trunk/; revision=18374
* backend/ebook/e-card.c (e_card_email_match_string): Return right
away rather than crashing if card->email is NULL.
(e_card_email_find_number): Likewise.
svn path=/trunk/; revision=18370
2002-10-11 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c
(gnome_calendar_on_date_navigator_selection_changed): try to
preserve the work week view setting if it makes sense
(set_view): don't update the info again based on our view change
call
svn path=/trunk/; revision=18369
2002-10-11 JP Rosevear <jpr@ximian.com>
* e-calendar-item.c (e_calendar_item_ensure_days_visible): check
if the selection fits in the leftover days
svn path=/trunk/; revision=18368
* upgrade-mailer.c (shortcuts_upgrade_xml_file): Change the type
in LDAP shortcuts from "ldap-contacts" to "contacts/ldap". Rewrite
this to use libxml since that was easier than trying to make the
old code do both kinds of changes at once.
svn path=/trunk/; revision=18367
2002-10-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (management_prepare): Only set an account
name if one doesn't already exist. Also use the
e_utf8_gtk_entry_get/set_text functions since account names are
supposed to be in UTF8. Fixes bug #31891.
svn path=/trunk/; revision=18365
2002-10-09 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (main_folder_changed): Don't do anything if the
message_list is NULL (this means the FolderBrowser has been
destroyed). Fixes bug #32002.
svn path=/trunk/; revision=18363
2002-10-08 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (storage_remove_folder): The CamelFolderInfo
that we get back has nodes for all parent folders, so do not
delete all folders that have nodes in the returned tree. Instead,
descend into the tree until we find the folder we want to delete
and start deleting from there.
svn path=/trunk/; revision=18357
2002-10-08 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-command.c (imap_read_response): If the
response from the IMAP server is "No", don't set the
SERVICE_UNAVAILABLE exception, this makes error reporting in the
UI for deleting IMAP folders that cannot be deleted inaccurate
(ie, it reports "Cannot delete in offline mode" which is not the
problem).
svn path=/trunk/; revision=18356
2002-10-08 Aaron Weber <aaron@ximian.com>
* C/preface.sgml: add info about man page and so forth.
* C/usage-mail.sgml: fix 30892, a cosmetic bug.
svn path=/trunk/; revision=18354
2002-10-08 Rodrigo Moya <rodrigo@ximian.com>
Fixes#11434
* gui/dialogs/comp-editor-page.[ch]
(comp_editor_page_display_validation_error): new function.
* gui/dialogs/event-page.c (event_page_fill_component):
* gui/dialogs/recurrence-page.c (fill_component):
* gui/dialogs/task-details-page.c (task_details_page_fill_component):
* gui/dialogs/task-page.c (task_page_fill_component): added
checks for all date values, and return FALSE if we find
some invalid date/times.
* gui/dialogs/comp-editor.c (save_comp): activate the page that
returns error in fill_component.
svn path=/trunk/; revision=18352
2002-10-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-composer-prefs.c (spell_load_values): Don't maek "en" for
translation. Fixes bug #31788.
* mail-config.glade: Removed a "xxxxxxxxxxx" string so that
translators don't need to translate it. It was only a filler
string. Fixes bug #31789.
svn path=/trunk/; revision=18350