Commit Graph

14463 Commits

Author SHA1 Message Date
8a4bddf42a remove dependency on removed file camel/camel-pgp-context.h
002-07-02  Sean Atkinson  <sean@cantab.net>

	* mail-preferences.c: remove dependency on removed file
	camel/camel-pgp-context.h

svn path=/trunk/; revision=17340
2002-07-02 10:59:11 +00:00
97c10cb025 Make sure that cid is non-NULL.
2002-07-01  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_related): Make sure that cid is
	non-NULL.

svn path=/trunk/; revision=17338
2002-07-01 21:54:49 +00:00
a6e1e46e4a Remove debugging message.
* e-shell.c (e_shell_prepare_for_quit): Remove debugging message.

* e-shell-view.c (setup_verb_sensitivity_for_folder): Set
sensitivity of /commands/AddFolderToShortcutBar,
/commands/OpenFolder and /commands/OpenFolderInNewWindow too,
depending on whether the node that was right-clicked can be opened
as a folder.

* e-storage-set-view.c (popup_folder_menu): Pop up the right-click
menu even if we are not clicking on a folder with a proper
handler.

svn path=/trunk/; revision=17337
2002-07-01 18:51:08 +00:00
f3a15eb351 New member preparing_to_quit in EShellPrivate.
(init): Initialize to FALSE.
(e_shell_prepare_for_quit): Set preparing_to_quit to TRUE on
entering, and set it to FALSE on return.
(view_delete_event_cb): Don't call e_shell_prepare_for_quit() if
preparing_for_quit is TRUE.

svn path=/trunk/; revision=17336
2002-07-01 17:42:29 +00:00
56867f3fe2 listen for timezone config change (property_change_cb): set the timezone
2002-07-01  JP Rosevear  <jpr@ximian.com>

	* gui/calendar-config.c (config_read): listen for timezone config
	change
	(property_change_cb): set the timezone if it changed elsewhere

	* gui/main.c (init_bonobo): call bonobo_activate because we make
	bonobo related calls before the bonobo_main call

svn path=/trunk/; revision=17335
2002-07-01 14:31:58 +00:00
9fd05c2754 don't unref selection_model (otherwise 3 clicks of "Show Supported Bases"
2002-06-27  Sean Atkinson  <sean@cantab.net>

        * gui/component/addressbook-config.c (query_for_supported_bases):
        don't unref selection_model (otherwise 3 clicks of
        "Show Supported Bases" crashes if LDAP server isn't running).

svn path=/trunk/; revision=17333
2002-07-01 10:32:30 +00:00
71c83b4081 Removed some conflict indicators i missed.
svn path=/trunk/; revision=17332
2002-07-01 04:58:49 +00:00
613c4f1ce3 Removed. The folder's deleted event isn't needed since we're listening to
2002-07-01  Not Zed  <NotZed@Ximian.com>

	* mail-folder-cache.c (folder_deleted): Removed.  The
	folder's deleted event isn't needed since we're listening to the
	store's folder_deleted signal.  Also, the code was wrong, it
	cleared the folder without disconnecting events, etc.  See #16486,
	and probably others.
	(mail_note_folder): Dont hook onto deleted anymore.
	(unset_folder_info): Or unhook from it.

svn path=/trunk/; revision=17331
2002-07-01 04:56:35 +00:00
987eeb288e add pas-backend-summary.[ch].
2002-06-29  Chris Toshok  <toshok@ximian.com>

	* backend/pas/Makefile.am (libpas_a_SOURCES): add
	pas-backend-summary.[ch].

	* backend/pas/pas-backend-file.c (string_to_dbt): move this to the
	top of the file so it can be used in..
	(build_summary): loop over the db, adding cards ot the summary.
	(do_summary_query): call pas_backend_summary_search and loop over
	the returned id's looking them up in the db.
	(pas_backend_file_search): call
	pas_backend_summary_is_summary_query, and either call
	do_summary_query if it's a query over just the set of attributes
	in the summary or use the old, slow method if not.
	(pas_backend_file_process_create_card): call
	pas_backend_summary_add_card.
	(pas_backend_file_process_remove_card): call
	pas_backend_summary_remove_card.
	(pas_backend_file_process_modify_card): call remove_card/add_card.
	(pas_backend_file_load_uri): try to load the summary file, and if
	it doesn't exist create it.
	(pas_backend_file_destroy): unref the summary.

	* backend/pas/pas-backend-summary.[ch]: new files, reading and
	writing (and querying) summaries.

svn path=/trunk/; revision=17330
2002-06-30 08:18:44 +00:00
6256cb6fe9 Don't skip over disabled accounts - put them in the folder tree too.
2002-06-28  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (mail_load_storages): Don't skip over
	disabled accounts - put them in the folder tree too.

svn path=/trunk/; revision=17329
2002-06-28 19:33:21 +00:00
7d2e887eaa (Categories): Added.
svn path=/trunk/; revision=17328
2002-06-28 19:23:55 +00:00
b36107e78b Fixage/updateage
svn path=/trunk/; revision=17327
2002-06-28 19:22:07 +00:00
98ff5f5488 (impl_Storage_updateFolder): Don't stop
notifying the listeners if ::notifyFolderUpdated() fails.  Should
fix #25598.

svn path=/trunk/; revision=17326
2002-06-28 19:15:59 +00:00
5dc39da9da Ooops. Fix date in ChangeLog.
svn path=/trunk/; revision=17325
2002-06-28 19:03:39 +00:00
bbf29c9100 *** empty log message ***
svn path=/trunk/; revision=17324
2002-06-28 19:03:06 +00:00
3188bb8c2f Fixes bug #27055.
2002-06-28  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #27055.

	* mail-accounts.c (account_add_finished): Unref the main accounts widget.
	(account_add_clicked): Ref the main accounts widget.
	(account_edit_finished): Unref the main accounts widget.
	(account_edit_clicked): Ref the main accounts widget.

svn path=/trunk/; revision=17323
2002-06-28 18:41:06 +00:00
c2c672c537 Add this, to call e_summary_mail_get_info from an idle handler.
* e-summary-mail.c (e_summary_mail_idle_get_info): Add this, to
	call e_summary_mail_get_info from an idle handler.
	(new_folder_cb, update_folder_cb): Use idle_get_info rather than
	making another corba call from inside the corba handler. (Fixes a
	three-way deadlock between mail, summary, and exchange.)

svn path=/trunk/; revision=17322
2002-06-28 17:06:38 +00:00
d462bdb717 Don't use --no-auto-key-retrieve, this option has apparently been
2002-06-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-gpg-context.c (gpg_ctx_get_argv): Don't use
	--no-auto-key-retrieve, this option has apparently been deprecated
	in gpg 1.0.7.

svn path=/trunk/; revision=17321
2002-06-28 16:36:29 +00:00
292847cc96 Loop on our reads while errno is EINTR or EAGAIN. Also make sure to
2002-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while
	errno is EINTR or EAGAIN. Also make sure to completely read stdout
	and stderr by keeping better state.
	(gpg_ctx_parse_status): In the case of a NODATA response from gpg,
	try to use the diagnostics that gpg may have written to its
	stderr.
	(gpg_verify): Check that the gpg process has not exited.
	(gpg_ctx_op_wait): Make sure we haven't already exited (as by
	gpg_ctx_op_is_exited()) and if we have, retrieve the exit status
	from the gpg context.

svn path=/trunk/; revision=17320
2002-06-28 00:07:00 +00:00
46bba132c7 Loop on our reads while errno is EINTR or EAGAIN. Also make sure to
2002-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while
	errno is EINTR or EAGAIN. Also make sure to completely read stdout
	and stderr by keeping better state.
	(gpg_ctx_parse_status): In the case of a NODATA response from gpg,
	try to use the diagnostics that gpg may have written to its
	stderr.

svn path=/trunk/; revision=17319
2002-06-27 23:16:37 +00:00
11935da7a6 Recursively delete any subfolders.
2002-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (storage_remove_folder): Recursively delete
	any subfolders.

svn path=/trunk/; revision=17318
2002-06-27 20:44:22 +00:00
c1db57e712 Update .po files.
svn path=/trunk/; revision=17317
2002-06-27 19:55:39 +00:00
f0dc3ef387 Hack around a libtool/make problem that was causing libversit.a to be
* libversit/Makefile.am: Hack around a libtool/make problem that
	was causing libversit.a to be rebuilt at "make install" time,
	causing further relinking down the line.

svn path=/trunk/; revision=17316
2002-06-27 18:25:31 +00:00
c17e1cdc28 Removed camel/camel-pgp-context.c and added camel-gpg-context.c and
2002-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* POTFILES.in: Removed camel/camel-pgp-context.c and added
	camel-gpg-context.c and camel-multipart-encrypted.c.
	Also removed camel/camel-spoold-store.c

svn path=/trunk/; revision=17314
2002-06-27 18:07:25 +00:00
421bc6b8ae add spanish OMF file
svn path=/trunk/; revision=17312
2002-06-27 18:04:16 +00:00
29d21a6a09 Loop on our reads while errno is EINTR or EAGAIN. Also make sure to
2002-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while
	errno is EINTR or EAGAIN. Also make sure to completely read stdout
	and stderr by keeping better state.

svn path=/trunk/; revision=17311
2002-06-27 17:55:26 +00:00
95d75ed01d Removed camel/camel-pgp-context.c and added camel-gpg-context.c and
2002-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* POTFILES.in: Removed camel/camel-pgp-context.c and added
	camel-gpg-context.c and camel-multipart-encrypted.c.

svn path=/trunk/; revision=17310
2002-06-27 17:34:46 +00:00
445746b040 apply patch from owen taylor
2002-06-27  Aaron Weber  <aaron@ximian.com>

	* C/evolution-C.omf: apply patch from owen taylor

2002-06-27  Aaron Weber  <aaron@ximian.com>

	* evolution-no.omf: apply patch from otaylor.

svn path=/trunk/; revision=17308
2002-06-27 15:25:06 +00:00
c02c6d6972 Loop on our reads while errno is EINTR or EAGAIN.
2002-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-gpg-context.c (gpg_ctx_op_step): Loop on our reads while
	errno is EINTR or EAGAIN.

svn path=/trunk/; revision=17307
2002-06-27 05:21:36 +00:00
d5898b33c7 Use the new CamelMultipartEncrypted class to do our encryption work for
2002-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Use the new
	CamelMultipartEncrypted class to do our encryption work for us. We
	also need to always get the user's userid before encrypting since
	pgp/gpg need that.
	(e_msg_composer_new_with_message): Handle multipart/signed and
	multipart/encrypted parts by adding the (decrypted) content and
	setting the composer to pgp sign/encrypt the message when the user
	re-sends it.

svn path=/trunk/; revision=17306
2002-06-27 00:08:17 +00:00
c2ea337354 updated
svn path=/trunk/; revision=17305
2002-06-26 23:09:17 +00:00
80ba32b987 slight build fixes
svn path=/trunk/; revision=17304
2002-06-26 22:25:10 +00:00
ecb477e338 Removed.
2002-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-context.[c,h]: Removed.

	* camel-pgp-mime.c (pgp_mime_part_sign_restore_part): Removed.
	(pgp_mime_part_sign_prepare_part): Removed.
	(camel_pgp_mime_part_sign): Removed.
	(camel_pgp_mime_part_verify): Removed.
	(camel_pgp_mime_part_encrypt): Removed.
	(camel_pgp_mime_part_decrypt): Removed.
	(camel_pgp_mime_is_rfc2015_signed): Documented.
	(camel_pgp_mime_is_rfc2015_encrypted): Same.

svn path=/trunk/; revision=17303
2002-06-26 22:15:24 +00:00
a34d5f778d updated
svn path=/trunk/; revision=17302
2002-06-26 22:07:41 +00:00
47400a031c Don't allow the pgp type to be anything except NONE or GPG.
2002-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (config_read): Don't allow the pgp type to be
	anything except NONE or GPG.

	* mail-preferences.c (mail_preferences_apply): Don't allow someone
	to use anything other than GnuPG.

	* mail-crypto.c (mail_crypto_get_pgp_cipher_context): No need to
	handle pgp5 or pgp6 types anymore since we are no longer
	supporting them. Ding dong the witch is dead!

	* mail-format.c (handle_multipart_encrypted): Rewritten to use
	camel_multipart_encrypted_decrypt.

	* mail-crypto.c (mail_crypto_pgp_mime_part_verify): Removed.
	(mail_crypto_pgp_mime_part_encrypt): Removed.
	(mail_crypto_pgp_mime_part_decrypt): Are we seeing a trend yet?

svn path=/trunk/; revision=17301
2002-06-26 21:14:09 +00:00
26fb05c8cb Use the new CamelMultipartEncrypted class to do our encryption work for
2002-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Use the new
	CamelMultipartEncrypted class to do our encryption work for us. We
	also need to always get the user's userid before encrypting since
	pgp/gpg need that.

svn path=/trunk/; revision=17300
2002-06-26 20:39:26 +00:00
deeb747aeb Oops, this needs to take a userid argument.
2002-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-multipart-encrypted.c (camel_multipart_encrypted_encrypt):
	Oops, this needs to take a userid argument.

svn path=/trunk/; revision=17299
2002-06-26 20:38:08 +00:00
e3b754e4ad remove the search-refining feature, which isn't actually true, i think.
2002-06-26  Aaron Weber  <aaron@ximian.com>

	* C/usage-contact.sgml: remove the search-refining feature, which
	isn't actually true, i think.

	* C/apx-authors.sgml: update slightly.

	* C/apx-bugs.sgml: remove list of 1.1.x features.

	* C/usage-mainwindow.sgml: minor tweaks

svn path=/trunk/; revision=17298
2002-06-26 19:27:35 +00:00
0e81a5651c Removed (never did anything anyway).
2002-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-gpg-context.c (gpg_clearsign): Removed (never did anything
	anyway).

	* camel-pgp-context.c (pgp_clearsign): Removed.

	* camel-cipher-context.c (camel_cipher_clearsign): Removed unused
	method.

svn path=/trunk/; revision=17297
2002-06-26 19:20:32 +00:00
a44c898aa1 New class implementing the multipart/encrypted content type. Contains
2002-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-multipart-encrypted.[c,h]: New class implementing the
	multipart/encrypted content type. Contains methods for encrypting
	and decrypting a multipart/encrypted MIME object.

svn path=/trunk/; revision=17296
2002-06-26 19:14:34 +00:00
d8c7287326 Check for NODATA too.
2002-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-gpg-context.c (gpg_ctx_parse_status): Check for NODATA
	too.

svn path=/trunk/; revision=17295
2002-06-26 18:49:05 +00:00
58b5a7c733 Only let the dialog be opened once
svn path=/trunk/; revision=17294
2002-06-26 17:29:26 +00:00
fb89bd8441 Fix crash on "broken" rdfs
svn path=/trunk/; revision=17293
2002-06-26 17:15:54 +00:00
8d54d8cfbd Fix a typo in the Locations file
svn path=/trunk/; revision=17292
2002-06-26 16:44:55 +00:00
6bb5b8850a Sort the states in the right order
svn path=/trunk/; revision=17291
2002-06-26 16:07:40 +00:00
9a210db24f Fix bugs, make the folder list be a storage set view and add a delete url button
svn path=/trunk/; revision=17290
2002-06-26 15:42:01 +00:00
6f679c6c88 Changes for an importer bug and to get the storagesetselector in the summary
svn path=/trunk/; revision=17289
2002-06-26 15:12:24 +00:00
65117fc884 Fixes #25410
2002-06-25  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #25410

	* gui/alarm-notify.c (AlarmNotify_removeCalendar): do proper
	cleanup on removal of clients.
	(alarm_notify_add_calendar): ditto.

svn path=/trunk/; revision=17287
2002-06-26 10:45:15 +00:00
1d97d41992 Remove the #include for camel-spoold-store.h
2002-06-25  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/local/camel-local-provider.c: Remove the #include for
	camel-spoold-store.h

svn path=/trunk/; revision=17285
2002-06-26 02:49:39 +00:00
58e9041bff Include <sys/time.h> for struct timeval.
2002-06-26  Not Zed  <NotZed@Ximian.com>

	* camel-gpg-context.c: Include <sys/time.h> for struct timeval.

	* providers/local/camel-local-provider.c
	(camel_provider_module_init): Removed spoold provider.  The spool
	provider does it now.

2002-06-25  Not Zed  <NotZed@Ximian.com>

	* providers/local/camel-spool-folder.c (camel_spool_folder_new):
	Support a new xstatus option - folders update/honour the
	Status/X-Status headers in addition to X-Evolution.

	* providers/local/camel-local-summary.c
	(camel_local_summary_write_headers): If supplied with an
	additional status or xstatus arg, write a Status header and/or
	X-Status.  Also fix the case of properly terminating the headers
	if an xev line isn't supplied.

	* providers/local/Makefile.am (libcamellocalinclude_HEADERS,SOURCES):
	Removed spoold-store.[ch].

	* providers/local/camel-local-provider.c
	(camel_provider_module_init): For the spoold type, just use the
	spool store instead.

	* providers/local/camel-spool-store.h: Added a type field, so the
	1 store can implement different types without having to subclass.

	* providers/local/camel-spool-store.c
	(camel_spool_store_get_toplevel_dir): Removed, inherits from local
	store now.
	(construct): If we're pointing to a file, treat it as mbox mode,
	otherwise treat it as 'elm' mode.
	(get_folder): Only test for INBOX in mbox mode.
	(get_folder_info_elm):
	(get_folder_info_mbox): Two alternatives for getting folder info,
	depending on the type of folder we're looking at.
	(get_folder_info_mbox): Make the url include the protocol.
	(scan_dir): "

	* providers/local/camel-spoold-store.c
	(camel_spoold_store_get_toplevel_dir): Removed, inherits from
	local store now.

	* camel-folder.c (get_message_user_tag): Dont use a
	g_return_if_fail for info==NULL.  This is not an error.
	(set_message_user_tag): And same here.
	(set_message_user_flag): Sigh, and here.
	(get_message_user_flag): And here.
	(set_message_flags): and here ...
	(get_message_flags): Dum de dum, de done at last.

	* providers/local/camel-mbox-folder.c (mbox_get_message): Check
	for new messages whenever we retrieve one.  In the common
	no-update case, this is a single stat.
	(mbox_get_message): If we need to rescan, then force a full rescan
	to make sure it does the right thing.
	(mbox_get_message): Cleanup the exception handling a bit, if we do
	get an error, propagate any folder changes anyway as well.
	(mbox_set_message_user_flag): Argh more of these stupid g_returns
	taht shouldn't be.
	(mbox_set_message_user_tag): Here too.
	(mbox_set_message_flags): If the read flag is being changed, mark
	it as an xevchange (i.e. Status line change).

	* providers/local/camel-mbox-summary.c (summary_rebuild): Merged
	into summary_update.
	(summary_update): Changed to allow it to update existing lists of
	messages without clearing out the summary.
	(mbox_summary_check): Dont clear the summary, just re-scan.
	(message_info_new): Attempt to support the 'Status: RO' elm/pine
	thing.
	(camel_mbox_summary_encode_status):
	(camel_mbox_summary_decode_status): Util functions for
	creating/parsing the Status line.
	(camel_mbox_summary_sync_mbox): Write out the status line if we're
	going to try support it.
	(camel_mbox_summary_xstatus): Implement option to control
	read/write of (x-)status.
	(message_info_new): Do x-status stuff based on run-time option.
	(camel_mbox_summary_sync_mbox): "
	(mbox_summary_add): If x-status enabled, then always add
	status/x-status headers to message.

	* camel-folder-summary.c (summary_assign_uid): If the messageinfo
	is already in the summary, AND is the same messageinfo, dont do
	anything, return a value to indicate this.
	(camel_folder_summary_add): Do nothing if this info already in the
	summary, so we can perform updates.

2002-06-24  Not Zed  <NotZed@Ximian.com>

	* providers/local/camel-local-summary.c
	(camel_local_summary_check_force): New method to force the next
	summary check to be a full check, set if a mismatch occurs.

	* camel-folder-summary.c (camel_folder_summary_load): If we have
	no summary path set, dont do any i/o, rather than abort.
	(camel_folder_summary_save): "
	(camel_folder_summary_header_load): "

	* providers/local/camel-spool-store.h: Inherit from camel mbox
	store, even if we override almost everything.

	* providers/local/camel-local-folder.c
	(camel_local_folder_construct): If the base path points to a file,
	use that as the folder path as well.

	* providers/local/camel-spool-folder.h: Inherit from
	camel-mbox-folder.

	* providers/local/camel-spool-summary.c (spool_summary_sync_full):
	Use camel_mbox_summary_sync_mbox to do most of the work.

	* providers/local/camel-spool-summary.[ch]: Make spool-summary
	inherit from mbox summary rather than foldersummary.

	* providers/local/camel-mbox-summary.c (mbox_summary_sync): Make
	sync_full/quick virtual methods.
	(camel_mbox_summary_sync_mbox): The full sync method put into a
	simple function that sync's from fd to fd.
	(mbox_summary_sync_full): Use summary_sync_mbox to do the real
	work.
	(mbox_summary_check): Create removed events if the folder gets
	cleared.  Also, dont clear the summary before a rebuild, try to
	merge.

svn path=/trunk/; revision=17284
2002-06-26 01:07:05 +00:00