Commit Graph

15485 Commits

Author SHA1 Message Date
faaf0868fd [ fixes #29144 ] use e_table_memory_storage_change instead of
2002-10-24  Chris Toshok  <toshok@ximian.com>

	[ fixes #29144 ]
	* gui/component/addressbook-config.c (edit_dialog_store_change):
	use e_table_memory_storage_change instead of remove/insert, so the
	selection is maintained.

svn path=/trunk/; revision=18435
2002-10-25 06:30:47 +00:00
08bf083376 Update dep for GAL to 0.21.0.
2002-10-23  Chris Toshok  <toshok@ximian.com>

	* configure.in: Update dep for GAL to 0.21.0.

svn path=/trunk/; revision=18434
2002-10-25 06:27:24 +00:00
b1555639d8 add prototypes for the _change* functions.
2002-10-24  Chris Toshok  <toshok@ximian.com>

	* e-table-memory-store.h: add prototypes for the _change*
	functions.

	* e-table-memory-store.c (e_table_memory_store_change_array): new
	function, mostly c&p from _insert_array.
	(e_table_memory_store_change): new function, mostly c&p from
	_insert.
	(e_table_memory_store_change_adopt_array): new function, mostly
	c&p from _insert_adopt_array.
	(e_table_memory_store_change_adopt): new function, mostly c&p from
	_insert_adopt.

svn path=/trunk/; revision=18432
2002-10-25 06:26:20 +00:00
56c3d9cb4c Always strdup the new key in the threaded/preview hash/always free the
2002-10-25  Not Zed  <NotZed@Ximian.com>

        * mail-config.c (mail_config_uri_renamed): Always strdup the new
        key in the threaded/preview hash/always free the working copy.
        For #32799.

svn path=/trunk/; revision=18431
2002-10-25 06:19:07 +00:00
cd0daad88d Use the mode 0666 when creating a new file and let the user's umask handle
2002-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (write_data_to_file): Use the mode 0666 when
	creating a new file and let the user's umask handle permissions.

	* folder-browser.c (message_list_drag_data_get): When using open()
	with the O_CREAT flag, we need to pass a mode argument. Also use
	O_EXCL.

svn path=/trunk/; revision=18430
2002-10-25 01:26:37 +00:00
96a2f2dd49 Fixes #32764
2002-10-24  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #32764

	* e-config-listener.c (add_key): store the value returned by
	bonobo_event_source_client_add_listener, so that we can remove it
	later, when freeing the key structure.
	(free_key_hash): remove listener.
	(e_config_listener_set_boolean):
	(e_config_listener_set_float):
	(e_config_listener_set_long):
	(e_config_listener_set_string): only set the cache values if there's
	no exception.
	(e_config_listener_destroy): remove all keys before unrefing the db
	component.

svn path=/trunk/; revision=18429
2002-10-24 22:08:01 +00:00
c83476952d call e_tree_state_change
2002-10-24  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (e_tree_set_state_object): call e_tree_state_change

svn path=/trunk/; revision=18428
2002-10-24 19:50:53 +00:00
14a1e40964 Cast chars to unsigned char before passing to ctype macros since they are
* ename/e-name-western.c: Cast chars to unsigned char before
	passing to ctype macros since they are not defined on negative
	numbers. Fixes parsing problems with names with accented
	characters on Solaris. (At least part of #32146)

svn path=/trunk/; revision=18427
2002-10-24 19:32:55 +00:00
93391a5767 Use a hashtable to only insert nodes we dont have already, rather than
2002-10-24  Not Zed  <NotZed@Ximian.com>

        * subscribe-dialog.c (fe_got_children): Use a hashtable to only
        insert nodes we dont have already, rather than relying on the
        scanning logic.  Also, only re-sort this tree level once done
        rather than on each insert.
        (folder_etree_init): Setup hash to track nodes setup.
        (folder_etree_clear_tree): Reset hash.
        (fe_destroy): Free hash.

svn path=/trunk/; revision=18426
2002-10-24 16:03:05 +00:00
1bb481409f initialize new values (clean_up): free new values (find_my_address): if we
2002-10-24  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (init): initialize new values
	(clean_up): free new values
	(find_my_address): if we have a delegator address, use it instead
	(write_html): display delegator info to user
	(show_current_event): if we have a calendar uri, use that and
	describe the event differently
	(show_current_todo): ditto
	(show_current): search for delegator X properties
	(e_itip_control_set_delegator_address): accessor
	(e_itip_control_get_delegator_address): ditto
	(e_itip_control_set_delegator_name): ditto
	(e_itip_control_get_delegator_name): ditto
	(e_itip_control_set_calendar_uri): ditto
	(e_itip_control_get_calendar_uri): ditto

	* gui/e-itip-control.h: add protos

	* gui/itip-utils.c (comp_from): use the first attendee as the from
	address for things other than request, cancel and add (use
	organizer) and publish (use default address)

svn path=/trunk/; revision=18425
2002-10-24 14:25:53 +00:00
d91b5bb034 ** For bug #31647 and bug #31456.
2002-10-24  Not Zed  <NotZed@Ximian.com>

        ** For bug #31647 and bug #31456.

        * camel-store-summary.c (store_info_string): for STORE_INFO_NAME,
        skip the leading /.

        * providers/imap/camel-imap-store.c
        (parse_list_response_as_folder_info): Remove jeff's last patch,
        and use the store summary to create the name and path of the
        folderinfo so it manages namespace issues.
        (get_folder_info_online): Just pass @top directly to
        build_folder_info always, since namespace is mapped to 1 tree
        level.
        (imap_build_folder_info): Remove jeff's last patch, dont strip
        leading /'s, they shouldn't exist.
        (imap_connect_online): Remove adding the INBOX here, we add it
        later.
        (get_subscribed_folders): Make sure INBOX is always in the list.
        some imap servers dont seem to let you subscribe to it(?), so
        always have it act as subscribed.

        * camel-store.c (camel_folder_info_build): back out the last 2
        patches from Jeff (for #31456) to get the original behaviour.
        (camel_folder_info_build): When creating a fake
        parent, dont strip the namespace from the full_name.  malloc keys
        in hash since we dont have them anymore.
        (free_name): Helper to free names.

        * providers/imap/camel-imap-store-summary.c
        (camel_imap_store_summary_namespace_new): Canonicalise the
        namespace (strip trailing dir_sep), and change the path to remove
        any /'s.
        (camel_imap_store_summary_namespace_find_path):
        (camel_imap_store_summary_namespace_find_full): new, find
        namespace by path/full name.
        (camel_imap_store_summary_full_from_path): Changed to a simple
        wrapper around path_to_full, after checking namespace.
        (camel_imap_store_summary_add_from_full): map the namespace if
        present.
        (camel_imap_store_summary_path_to_full): If namespace exists,
        unmap it.

svn path=/trunk/; revision=18424
2002-10-24 14:01:53 +00:00
5f737e09fe Only perform the search if it is either a clear or advanced search.
2002-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (folder_browser_query_changed): Only perform
	the search if it is either a clear or advanced search.

svn path=/trunk/; revision=18422
2002-10-24 01:50:06 +00:00
4b68843dfa If the clear button was pressed, we want the entry to be sensitive (not
2002-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (option_changed): If the clear button was
	pressed, we want the entry to be sensitive (not insensitive).

	* e-search-bar.c (e_search_bar_set_item_id): If the item id is
	CLEAR_ID, we want to select the first item (0) but still set the
	esb->item_id to CLEAR_ID.
	(set_find_now_sensitive): Don't bother getting the GtkEntry text,
	we don't even use it?
	(clear_search): Set the item id as E_SEARCHBAR_CLEAR_ID rather
	than 0 so that it can be checked for.

svn path=/trunk/; revision=18421
2002-10-24 01:48:20 +00:00
d45b7b4852 pass fb->uri to the folder selection dialog so the current folder is
2002-10-22  Mike Kestner  <mkestner@ximian.com>

	* mail-callbacks.c (transfer_msg): pass fb->uri to the folder
	selection dialog so the current folder is selected on display.
	"fixes" 15966.

svn path=/trunk/; revision=18420
2002-10-23 19:20:39 +00:00
d0782a45b1 Set the is_stock flag to TRUE for the summary folder.
* e-shell.c (setup_local_storage): Set the is_stock flag to TRUE
for the summary folder.

* e-shell-view.c (setup_verb_sensitivity_for_folder): Don't allow
folder operations on pseudo-folders that have a NULL physical_uri.

* e-corba-storage.c (async_remove_folder): Make sure the folder
has a physical URI.  [#30950]

* e-shell-shared-folder-picker-dialog.c
(setup_server_option_menu): Use
e_utf8_gtk_menu_item_new_with_label() to create the option menu
items from the storage's UTF-8 name.  [#31564]

svn path=/trunk/; revision=18419
2002-10-23 17:45:58 +00:00
eac24fd792 (activate_by_subitems): gtk_widget_grab_focus()
on the entry when adding it in.

svn path=/trunk/; revision=18418
2002-10-23 17:39:09 +00:00
91fae69957 Replace Gnotices with Footnotes.
* e-summary-preferences.c: Replace Gnotices with Footnotes.

* e-summary-tasks.c: New member config_listener in ESummaryTasks.
(e_summary_tasks_free): Unref the config_listener.
(config_listener_key_changed_cb): New, callback for the
config_listener.
(setup_task_folder): New helper function to set up access to the
task folder.
(setup_config_listener): New.
(e_summary_tasks_init): Use setup_config_listener() and
setup_task_folder().

* e-summary-calendar: New member config_listener in
ESummaryCalendar.
(setup_config_listener): New.
(config_listener_key_changed_cb): New callback for the
config_listener.
(setup_calendar): New.
(e_summary_calendar_init): Use setup_config_listener() and
setup_calendar().

svn path=/trunk/; revision=18417
2002-10-23 17:37:55 +00:00
253ba0c94e Set /Addressbook/select_names_uri in the configdb to the selected folder.
* gui/component/select-names/e-select-names.c
	(folder_selected): Set /Addressbook/select_names_uri in the
	configdb to the selected folder.
	(e_select_names_init): Look for /Addressbook/select_names_uri
	before /DefaultFolders/contacts_uri for the initial folder. So the
	select names dialog now starts up using the same folder you used
	last time, which is useful when you have an LDAP company directory
	(which can't be your default contacts folder because it's
	read-only).

svn path=/trunk/; revision=18416
2002-10-23 15:16:30 +00:00
a668b29488 Fixes #32613
2002-10-23  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #32613

	* gui/component-factory.c (sc_user_create_new_item_cb): use the
	default calendar/tasks folder to activate the component editor.
	(get_data_uri): deal correctly with the URIs being used.

svn path=/trunk/; revision=18415
2002-10-23 13:46:16 +00:00
96a009288c fix warning
2002-10-23  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (show_current): fix warning

svn path=/trunk/; revision=18414
2002-10-23 12:19:11 +00:00
54722bf66d Fixes #32371
2002-10-22  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #32371

	* pcs/query.c (start_cached_query_cb): CORBA_exception_init the
	CORBA_Environment before using it.

svn path=/trunk/; revision=18413
2002-10-22 23:26:26 +00:00
08af37f568 Canonicalise the source_uri to not have a path. Fixes bug #32268.
2002-10-18  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-driver.c (camel_filter_driver_filter_folder):
	Canonicalise the source_uri to not have a path. Fixes bug #32268.

2002-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	Possible fix for bug #32270

	* providers/pop3/camel-pop3-store.c (try_sasl): If we get an I/O
	error, we should not be setting the CANT_AUTH exception but should
	instead be setting the SYSTEM exception. Also check for EINTR
	which signifies a USER_CANCEL exception.
	(pop3_try_authenticate): If the auth mechanism isn't supported,
	don't set the CANT_AUTH exception since then we will loop and try
	again with the same data which will just cause an infinite loop.
	(pop3_connect): Simplified a bit.

svn path=/trunk/; revision=18412
2002-10-22 18:17:06 +00:00
b6ca9198e8 use NULL for pointer instead of FALSE.
2002-10-22  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal-factory.c (lookup_backend): use NULL for pointer instead of
	FALSE.

svn path=/trunk/; revision=18411
2002-10-22 17:04:47 +00:00
731caf5eb2 use e_config_listener_* to get values (itip_addresses_get): ditto
2002-10-22  JP Rosevear  <jpr@ximian.com>

	* gui/itip-utils.c (get_address): use e_config_listener_* to get
values
	(itip_addresses_get): ditto
	(itip_addresses_get_default): ditto

	* gui/calendar-model.c (calendar_model_value_to_string): don't
	send back a null string (affects if it is the group header)
	(calendar_model_init): pre load config database info so we don't
	do corba calls during draws

svn path=/trunk/; revision=18410
2002-10-22 16:43:05 +00:00
bcb4183d7f Edit-->Undelete, not Actions-->Undelete
2002-10-22  Aaron Weber  <aaron@ximian.com>

	* C/usage-mail.sgml: Edit-->Undelete, not Actions-->Undelete

svn path=/trunk/; revision=18409
2002-10-22 16:20:44 +00:00
03f3b29a27 fix the sense of a strcmp
* gui/component/addressbook-component.c (IS_CONTACT_TYPE): fix the
	sense of a strcmp

svn path=/trunk/; revision=18408
2002-10-22 14:34:48 +00:00
1a9ff832f7 [ fix for #23764 ] handle multiple letters associated with a single
2002-10-20  Chris Toshok  <toshok@ximian.com>

	[ fix for #23764 ]
	* gui/widgets/e-addressbook-view.c (jump_to_letters): handle
	multiple letters associated with a single button.
	(button_toggled): closure->letter -> closure->letters.
	(free_closure): free closure->letters.
	(create_alphabet): init closure->letters.

svn path=/trunk/; revision=18407
2002-10-22 07:22:10 +00:00
ef12fcd08f don't emit a signal if we couldn't find the view row
2002-10-18  JP Rosevear  <jpr@ximian.com>

	* e-table-item.c (eti_cursor_activated): don't emit a signal if we
	couldn't find the view row

svn path=/trunk/; revision=18405
2002-10-22 05:49:55 +00:00
b10ce5577d [ fixes #29067 ] we need to create a card_sexp even when doing summary
2002-10-20  Chris Toshok  <toshok@ximian.com>

	[ fixes #29067 ]
	* backend/pas/pas-backend-file.c (pas_backend_file_search): we
	need to create a card_sexp even when doing summary queries since
	it's used to check modifications of cards in the view.

svn path=/trunk/; revision=18404
2002-10-21 21:15:46 +00:00
0aba4b1126 [ fixes #32144 ] convert the name to the gtk locale before saving.
2002-10-20  Chris Toshok  <toshok@ximian.com>

       [ fixes #32144 ]
	* gui/contact-editor/e-contact-save-as.c (e_contact_save_as):
	convert the name to the gtk locale before saving.
	(e_contact_list_save_as): same.

svn path=/trunk/; revision=18403
2002-10-21 19:37:51 +00:00
fe69a9645e here's a fix for bug #18242
svn path=/trunk/; revision=18402
2002-10-21 19:14:02 +00:00
6dcb454f5a Only add the account address to the list of addresses if it is non-NULL.
2002-10-18  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-hdrs.c (create_from_optionmenu): Only add the
	account address to the list of addresses if it is non-NULL. Fixes
	bug #32446 although it shouldn't ever happen anyway (an account
	address is not allowed to be NULL).

svn path=/trunk/; revision=18401
2002-10-21 16:56:18 +00:00
14432d0716 [ Fixes evolution bug #26355 ] use g_utf8_collate here instead of strcmp.
2002-10-20  Chris Toshok  <toshok@ximian.com>

	[ Fixes evolution bug #26355 ]
	* gal/util/e-util.c (g_str_compare): use g_utf8_collate here
	instead of strcmp.

	* gal/e-text/Makefile.am (e_completion_test_LDADD): reorder so
	that util comes before unicode.

svn path=/trunk/; revision=18400
2002-10-21 15:56:09 +00:00
0d7d98834f Fix the transport URL on any Exchange accounts. Fixes #30209, which is to
* upgrade-mailer.c (mailer_upgrade): Fix the transport URL on any
	Exchange accounts. Fixes #30209, which is to say that it fixes
	#28490 correctly.

svn path=/trunk/; revision=18399
2002-10-21 15:54:24 +00:00
29a63b4a13 (e_summary_weather_reconfigure): NULL the
->weathers member before freeing the list items.  Otherwise
soup_message_cancel() might invoke the refresh function while we
are freeing things on the list, and crash.  [#31639]

svn path=/trunk/; revision=18398
2002-10-21 15:21:10 +00:00
58573777e8 (e_get_activation_failure_msg): If the exception_id is NULL,
return NULL instead of crashing.  [#25891]

svn path=/trunk/; revision=18397
2002-10-21 15:20:47 +00:00
0e33447271 [ probable fix for #25477, and memory leak fix ] if the dialog isn't in
2002-10-19  Chris Toshok  <toshok@ximian.com>

	[ probable fix for #25477, and memory leak fix ]
	* gui/contact-editor/e-contact-editor.c (supported_fields_cb): if
	the dialog isn't in the list of all dialogs it's been destroyed so
	just return here.

	* backend/ebook/e-book.c
	(e_book_do_response_get_supported_fields): plug leak of
	resp->fields.

svn path=/trunk/; revision=18396
2002-10-20 20:58:49 +00:00
a28bbcd16f #include "camel-stream-fs.h" for writing out the certs to disk
svn path=/trunk/; revision=18395
2002-10-18 17:59:59 +00:00
dbff16f544 s/+ 4/+ 1/
we want to strip the "-- " too

svn path=/trunk/; revision=18394
2002-10-18 17:51:10 +00:00
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