Commit Graph

15446 Commits

Author SHA1 Message Date
e88e358052 Strip the signature from the body-text. Fixes bug #5529.
2002-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_quote_message): Strip the signature from
	the body-text. Fixes bug #5529.

svn path=/trunk/; revision=18393
2002-10-18 04:14:41 +00:00
1f92328c4b Do the filtering ourselves. This is so a problem like a missing uid (which
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-18 03:32:42 +00:00
50e16acfc8 If ~/.camel_certs doesn't exist, create it.
2002-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-ssl.c (camel_certdb_nss_cert_set): If
	~/.camel_certs doesn't exist, create it.

svn path=/trunk/; revision=18391
2002-10-18 03:03:13 +00:00
e581b1f3b4 fix c/p type
2002-10-17  JP Rosevear  <jpr@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_construct): fix c/p type

svn path=/trunk/; revision=18390
2002-10-17 22:10:34 +00:00
a3da56611e if the value is a datetime, convert it to a date
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 21:34:10 +00:00
d536b6d10b If the attachment is type application/octet-stream, sniff the file type
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 21:06:27 +00:00
4ebe5d0309 changed to have a gboolean return type, which is what it's supposed to do.
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
2002-10-17 20:59:33 +00:00
d91364b056 New, implementation for the cancel_discover_shared_folder virtual method.
* 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-17 20:47:06 +00:00
d4e1fb42e0 helper, build fingerprint. (camel_certdb_nss_cert_get): Helper for nss
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-17 03:56:13 +00:00
5f38b1e898 Don't need to pass a path to camel_gpg_context_new () anymore.
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-17 03:04:11 +00:00
0372b96a72 No longer takes a path argument. (camel_gpg_context_fianlise): No need to
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-17 03:01:36 +00:00
ed4784f031 We need to treat message/rfc822 streams differently. Fixes bug #32378.
2002-10-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new): We
	need to treat message/rfc822 streams differently. Fixes bug
	#32378.

svn path=/trunk/; revision=18382
2002-10-17 02:13:38 +00:00
00eecfd48b If mode == REPLY_LIST and the mlist is "" (we only checked NULL before),
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-17 02:12:41 +00:00
8e2daf88d3 Mark the file selector modal. Quick fix for bug #32256.
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-17 01:43:39 +00:00
016868172c no longer need to enter path.
2002-10-16  Aaron Weber  <aaron@ximian.com>

	* C/usage-mail.sgml: no longer need to enter path.

svn path=/trunk/; revision=18379
2002-10-16 22:53:30 +00:00
dcfed36441 Fixes #25153
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 21:41:39 +00:00
19ebd1a847 Don't include the byte reserved for the nul in the outleft size.
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-16 21:39:27 +00:00
8ed14acbc8 If we are trying to reply to a list, first check that we can by getting
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-16 16:17:10 +00:00
27c2e27920 If we are trying to reply to a list, first check that we can by getting
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-16 16:12:57 +00:00
03224d610f Add the new-mail-notify rule to the filter driver before adding the user
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
2002-10-16 04:07:31 +00:00
151aa621b4 Update supported/unsupported list.
2002-10-15  Aaron Weber  <aaron@ximian.com>

	* C/usage-exchange.sgml: Update supported/unsupported list.

	* C/topic.dat: Change "What is Evolution" to "Introduction"

	* C/usage-exchange.sgml: typo.

	* C/menuref.sgml: update keycapss.

	* C/usage-mainwindow.sgml: add note about command-line options.

svn path=/trunk/; revision=18373
2002-10-15 22:02:23 +00:00
465400fee6 Made tooltips more clear.
2002-10-15  Jeffrey Stedfast  <fejj@ximian.com>

	* evolution-mail-list.xml: Made tooltips more clear.

svn path=/trunk/; revision=18372
2002-10-15 21:34:05 +00:00
632e29aba5 If the hash id is NULL, return CAMEL_CIPHER_HASH_DEFAULT. Fixes bug
2002-10-15  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-gpg-context.c (gpg_id_to_hash): If the hash id is NULL,
	return CAMEL_CIPHER_HASH_DEFAULT. Fixes bug #32229.

svn path=/trunk/; revision=18371
2002-10-15 20:09:18 +00:00
b31ab22f04 Return right away rather than crashing if card->email is NULL.
* 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-15 17:54:00 +00:00
00f836ea75 try to preserve the work week view setting if it makes sense (set_view):
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-15 16:47:38 +00:00
4665c04ce8 check if the selection fits in the leftover days
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
2002-10-15 16:45:21 +00:00
86e5e4950f Change the type in LDAP shortcuts from "ldap-contacts" to "contacts/ldap".
* 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-15 16:20:24 +00:00
15b5b61526 remove an unwanted space
svn path=/trunk/; revision=18366
2002-10-15 06:06:15 +00:00
36b34c1470 Only set an account name if one doesn't already exist. Also use the
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-11 02:36:54 +00:00
167d08a15e Removed the Run Once filter action.
2002-10-10  Jeffrey Stedfast  <fejj@ximian.com>

	* filtertypes.xml: Removed the Run Once filter action.

svn path=/trunk/; revision=18364
2002-10-11 02:35:31 +00:00
9f3a0c94c3 Don't do anything if the message_list is NULL (this means the
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-10 18:05:59 +00:00
9862334026 Updated Norwegian translation. Added new etspec files.
2002-10-10  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.
	* POTFILES.in: Added new etspec files.

svn path=/trunk/; revision=18362
2002-10-09 23:05:09 +00:00
f2a3913ffe [ Fix #7094, #7064, #7095, #31944, #31945 ] Hook up new etspec file.
2002-10-10  Kjartan Maraas  <kmaraas@gnome.org>

	[ Fix #7094, #7064, #7095, #31944, #31945 ]
	* gui/component/Makefile.am: Hook up new etspec file.
	* gui/component/addressbook-config.c: Remove ETable spec.
	* gui/component/addressbook-config.etspec: New file.
	* gui/component/ldap-config.glade: Fix typo.
	* gui/component/select-names/e-select-names.c: Remove inline spec.
	* gui/component/select-names/e-select-names.etspec: New file.
	* gui/contact-list-editor/Makefile.am: Hook up etspec.
	* gui/contact-list-editor/e-contact-list-editor.c: Remove inline spec.
	* gui/contact-list-editor/e-contact-list-editor.etspec: New file.
	* gui/widgets/Makefile.am: Hook up new spec.
	* gui/widgets/e-addressbook-view.c: Remove inline spec.
	* gui/widgets/e-addressbook-view.etspec: New file.

svn path=/trunk/; revision=18361
2002-10-09 23:03:04 +00:00
944fdf5ac6 The CamelFolderInfo that we get back has nodes for all parent folders, so
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-09 17:30:06 +00:00
aa99a5060a If the response from the IMAP server is "No", don't set the
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-09 17:29:34 +00:00
eebd688b5a fix 1.0/1.2 feature list discrepancies.
2002-10-08  Aaron Weber  <aaron@ximian.com>

	* C/usage-exchange.sgml: fix 1.0/1.2 feature list discrepancies.

svn path=/trunk/; revision=18355
2002-10-08 22:17:40 +00:00
1a4a455b65 add info about man page and so forth.
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 19:23:16 +00:00
705ab7a4d2 Mark a string for translation, fixes bug #31942. Thanks to
2002-10-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-signature-editor.c (mail_signature_editor): Mark a string
	for translation, fixes bug #31942. Thanks to kmaraas@gnome.org for
	this patch.

	* mail-offline-handler.h: Don't #include config.h here. Fixes bug
	#31941.

svn path=/trunk/; revision=18353
2002-10-08 19:16:10 +00:00
155223435b Fixes #11434
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-08 17:58:08 +00:00
00c1d84f67 set the 24 hour format initially
2002-10-08  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/cal-prefs-dialog.c
	(cal_prefs_dialog_create_time_edit): set the 24 hour format
	initially

2002-10-08  JP Rosevear  <jpr@ximian.com>

	* gui/e-week-view.c: remove pilot settings from contextual menu

	* gui/e-day-view.c: ditto

svn path=/trunk/; revision=18351
2002-10-08 17:02:08 +00:00
6bb5112aa5 Don't maek "en" for translation. Fixes bug #31788.
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
2002-10-08 01:49:16 +00:00
1d3e9cf23c Update version number to 1.1.2.99.
svn path=/trunk/; revision=18349
2002-10-07 23:08:02 +00:00
df86e58747 Sync for 1.1.2.
svn path=/trunk/; revision=18347
2002-10-07 22:50:02 +00:00
acdd11bcb9 Fixes #31774
2002-10-07  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #31774

	* gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm,
	palarm_widgets_to_alarm): use correct pointer in loop.

svn path=/trunk/; revision=18346
2002-10-07 20:43:48 +00:00
f5fbf29c4e cast the correct item
2002-10-07  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/cal-prefs-dialog.c (setup_changes): cast the correct
	item

svn path=/trunk/; revision=18345
2002-10-07 20:30:02 +00:00
7944e2b98c More fixups.
svn path=/trunk/; revision=18344
2002-10-07 20:24:45 +00:00
cbd48ea06d Add fixer's name to info.
svn path=/trunk/; revision=18343
2002-10-07 20:14:42 +00:00
1bc177411a Remove a conflict tag.
Remove a conflict tag.

svn path=/trunk/; revision=18342
2002-10-07 19:46:50 +00:00
cf45adcda5 GAL news.
GAL news.

svn path=/trunk/; revision=18341
2002-10-07 19:45:14 +00:00
37e95f2b8c Oops, remove redundancy.
svn path=/trunk/; revision=18340
2002-10-07 19:30:41 +00:00