Commit Graph

10767 Commits

Author SHA1 Message Date
1cae0f1a15 Make sure that comp->priv->query_text isn't NULL. (Fixes bug #8195)
2001-08-29  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names-completion.c
	(book_query_score): Make sure that comp->priv->query_text isn't
	NULL.  (Fixes bug #8195)

svn path=/trunk/; revision=12524
2001-08-30 03:39:57 +00:00
e4c70cd2f5 This function can be re-entrant during the signal emission; Added extra
2001-08-29  Jon Trowbridge  <trow@ximian.com>

	* backend/ebook/e-book-listener.c (e_book_listener_check_queue):
	This function can be re-entrant during the signal emission; Added
	extra ref/unrefs and checks to avoid problems if this happens.
	This is similar to my recent changes to
	e_book_view_listener_check_queue.  (Fixes bug #7400)

svn path=/trunk/; revision=12523
2001-08-30 03:28:56 +00:00
49f07e62b5 See if the set of categories changed by using the removed_categories hash
2001-08-29  Federico Mena Quintero  <federico@ximian.com>

	* pcs/cal-backend-file.c (cal_backend_file_remove_object): See if
	the set of categories changed by using the removed_categories hash
	table.
	(cal_backend_file_init): Create a table of removed categories.
	This allows us to notify if and only if the set of category
	changes when an object is updated/removed, instead of
	unconditionally notifying if an object is updated.
	(cal_backend_file_update_objects): Only notify if the set of
	categories really changed.
	(update_categories_from_comp): Shuffle the categories between the
	priv->categories and priv->removed_categories lists.

svn path=/trunk/; revision=12522
2001-08-29 23:55:28 +00:00
8d8d02da69 Importer changes
svn path=/trunk/; revision=12521
2001-08-29 22:14:02 +00:00
a036c22b74 fix smime the same way...
svn path=/trunk/; revision=12520
2001-08-29 21:29:52 +00:00
4572ee60ec Special-case message/rfc822 mime parts - don't set an encoding on these,
2001-08-29  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-mime.c (pgp_mime_part_sign_prepare_part): Special-case
	message/rfc822 mime parts - don't set an encoding on these,
	instead traverse into their subparts and set the encodings for
	those.
	(pgp_mime_part_sign_restore_part): Reverse any operations done to
	message/rfc822 parts in the above prepare_part() function and also
	take a pointer to a GSList of encodings instead of just a GSList
	so we can properly keep track of which encoding we are on.

svn path=/trunk/; revision=12519
2001-08-29 21:23:03 +00:00
8c22a4d62e Pass in FALSE as the 'sending' arg to e_msg_composer_get_message.
2001-08-29  Jon Trowbridge  <trow@ximian.com>

	* e-msg-composer.c (e_msg_composer_get_message_draft): Pass
	in FALSE as the 'sending' arg to e_msg_composer_get_message.
	(build_message): Added a 'sending' arg, which is passed to
	e_msg_composer_get_message.
	(e_msg_composer_get_message): Added a 'sending' arg,
	which gets passed directly on to build_message.

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Added
	a "sending" arg, which should be TRUE if the message is being
	sent now (rather than being autosaved, etc.).  The address
	use scores are only updated when sending. (Bug #8332)
	Removed obsolete (#if 0/#endif-ed) code.

2001-08-29  Jon Trowbridge  <trow@ximian.com>

	* mail-callbacks.c (composer_get_message): When calling
	e_msg_composer_get_message, pass in TRUE for the 'sending' arg.
	(Part of the fix for bug #8332)

svn path=/trunk/; revision=12518
2001-08-29 21:21:22 +00:00
7ca1797bbc Added info about NS importing.
2001-08-29  Aaron Weber  <aaron@ximian.com>

	* C/usage-mainwindow.sgml: Added info about NS importing.

svn path=/trunk/; revision=12517
2001-08-29 21:09:48 +00:00
4c74d37ed9 GUI
svn path=/trunk/; revision=12516
2001-08-29 20:54:17 +00:00
d754f55ce5 in mail:
2001-08-29  Peter Williams  <peterw@ximian.com>

	* folder-browser-ui.c: Fix the pixmap for /commands/MessageUndelete.

in ui:

2001-08-29  Peter Williams  <peterw@ximian.com>

	* evolution-mail-message.xml: Add a pixtype to
	/Commands/MessageUndelete so that people can see the icon.

svn path=/trunk/; revision=12515
2001-08-29 19:22:51 +00:00
fd6740b4a8 Toss in a call to mail_config_init () cause it might contribute to solving
2001-08-29  Peter Williams  <peterw@ximian.com>

	* component-factory.c (owner_set_cb): Toss in a call to
	mail_config_init () cause it might contribute to solving
	bug 4911, and it won't hurt.

svn path=/trunk/; revision=12514
2001-08-29 19:07:34 +00:00
90cf0bf5b5 Rewrote this file to be...more up to date.
2001-08-29  Kevin Breit  <battery841@mediaone.net>

	* C/usage-exec-summary.sgml: Rewrote this file to be...more up to date.

svn path=/trunk/; revision=12513
2001-08-29 18:24:34 +00:00
e799ca6eda Add progress reporting to deleting messages. Dont change the calculation
2001-08-29  Not Zed  <NotZed@Ximian.com>

        * providers/pop3/camel-pop3-folder.c (pop3_sync): Add progress
        reporting to deleting messages.  Dont change the calculation to a
        bloody float.  Bug #6189.

svn path=/trunk/; revision=12512
2001-08-29 14:05:55 +00:00
24a4d864f0 New prototype here.
2001-08-27  Ettore Perazzoli  <ettore@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.h
	(e_timezone_dialog_reparent): New prototype here.

svn path=/trunk/; revision=12511
2001-08-29 03:49:21 +00:00
cc3ec1cb48 Initialize buf and diag_buf to NULL, hopefully this fixes the crash if the
2001-08-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-context.c (crypto_exec_with_passwd): Initialize buf
	and diag_buf to NULL, hopefully this fixes the crash if the
	select() times out.
	(pgp_encrypt): Argh. What was I thinking? Don't use "-r recipient"
	as an argument, instead use "-r" and "recipient" as 2 separate
	arguments to pgp. This might fix the "gpg only encrypts to my
	private key" bug?

svn path=/trunk/; revision=12510
2001-08-29 03:16:57 +00:00
f6ee20d909 Fixes bug #7879, a query may receive an update notification from the
2001-08-28  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #7879, a query may receive an update notification from
	the backend before the query itself gets populated.

	* pcs/query.c (ensure_sexp): New function; ensures that the esexp
	is created and notifies of parse errors.  It is the bulk of
	start_query_cb() but put in a separate function so that we can
	share it elsewhere.
	(start_query_cb): Use ensure_sexp().
	(process_component_cb): Oops, notify of a successfully finished
	query.
	(match_component): Call ensure_sexp().  This function can be
	called by the backend notification callbacks before the query is
	populated, so we need to make sure the esexp exists here.

svn path=/trunk/; revision=12509
2001-08-29 03:15:54 +00:00
572e564845 Initialize buf and diag_buf to NULL, hopefully this fixes the crash if the
2001-08-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-context.c (crypto_exec_with_passwd): Initialize buf
	and diag_buf to NULL, hopefully this fixes the crash if the
	select() times out.

svn path=/trunk/; revision=12508
2001-08-29 02:25:59 +00:00
87b3e9277f Patch to fix few 64bit issues
Tue Aug 28 18:29:28 2001  George Lebl <jirka@5z.com>

	Patch to fix few 64bit issues

	* gal/e-table/e-table-header-item.c (ethi_draw) (ethi_start_drag)
	  gal/widgets/e-categories.c (e_categories_value_at)
	  (e_categories_value_to_string):
	  Use GINT_TO_POINTER and GPOINTER_TO_INT to cast between pointers
	  and ints to fix 64bit issues connected with that.

	* gal/e-table/e-table-sorting-utils.c
	  (e_table_sorting_utils_tree_check_position)
	  gal/util/e-sorter-array.c (e_sorter_array_append):
	  Use size_t for size not ints to fix crashes

	* gal/e-text/e-completion-match.c, gal/e-text/e-completion.c:
	  Include <string.h>

svn path=/trunk/; revision=12507
2001-08-29 01:30:26 +00:00
5248c1282c Handle the case when there is no URI without crashing. Only add shortcuts
* e-shortcuts.c (load_shortcuts): Handle the case when there is no
URI without crashing.  Only add shortcuts when they are evolution:
URIs.

svn path=/trunk/; revision=12506
2001-08-29 00:21:44 +00:00
894672adbe Whoops. Double-free and FMR = bad.
2001-08-28  Peter Williams  <peterw@ximian.com>

	* providers/imap/camel-imap-store.c (create_folder): Whoops.
	Double-free and FMR = bad.

svn path=/trunk/; revision=12505
2001-08-28 22:47:37 +00:00
c70a3966d9 Instead of folder_browser_factory_new_control ("", corba_shell) when
2001-08-28  Peter Williams  <peterw@ximian.com>

	* component-factory.c
	(create_view): Instead of
	folder_browser_factory_new_control ("", corba_shell) when looking
	at a mailstorage folder, use create_noselect_control().

svn path=/trunk/; revision=12504
2001-08-28 22:08:39 +00:00
2732a931ec Don't reveal the user's IMAP password if their server supports
2001-08-28  Peter Williams  <peterw@ximian.com>

	* camel-remote-store.c (remote_send_string): Don't reveal the
	user's IMAP password if their server supports LITERALPLUS. Also
	add some more dashes to make it line up nicely :-)

svn path=/trunk/; revision=12503
2001-08-28 21:54:12 +00:00
fb7ab0fcbe If the user accepts the certificate, add it to the database as a trusted
2001-08-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-ssl.c (ssl_bad_cert): If the user accepts the
	certificate, add it to the database as a trusted CA.

svn path=/trunk/; revision=12502
2001-08-28 20:41:01 +00:00
61b4c7ffee Make the locking more fine-grained on destruction; specifically, don't
2001-08-28  Peter Williams  <peterw@ximian.com>

	* camel-object.c (camel_object_unref): Make the locking more
	fine-grained on destruction; specifically, don't hold the
	type lock while calling the finalize functions.

svn path=/trunk/; revision=12501
2001-08-28 18:28:14 +00:00
7acc488236 Disable interaction once the shell has quit.
2001-08-28  Peter Williams  <peterw@ximian.com>

	* component-factory.c (owner_unset_cb): Disable interaction once
	the shell has quit.

svn path=/trunk/; revision=12500
2001-08-28 18:26:48 +00:00
c984377de3 Renamed a xref to make it work.
2001-08-28  Kevin Breit  <battery841@mediaone.net>

	* C/usage-mail.sgml: Renamed a xref to make it work.

	* C/config-prefs.sgml: Updated for new LDAP UI.

svn path=/trunk/; revision=12499
2001-08-28 17:27:14 +00:00
0ed38b0d75 Dont call g_print with a NULL string. See bug #7396.
2001-08-28  Not Zed  <NotZed@Ximian.com>

	* e-categories-master-list-wombat.c (ecmlw_load): Dont call
        g_print with a NULL string.  See bug #7396.

svn path=/trunk/; revision=12498
2001-08-28 10:50:56 +00:00
2ec56bc8ba Updated French translation.
svn path=/trunk/; revision=12497
2001-08-28 08:13:02 +00:00
c28f63f861 New prototype here.
* e-timezone-dialog/e-timezone-dialog.h
(e_timezone_dialog_reparent): New prototype here.

svn path=/trunk/; revision=12496
2001-08-28 00:23:47 +00:00
d671e29102 Studlycapsize all the IDs that are not. Likewise. Updated accordingly.
* Evolution-ShellComponent.idl: Studlycapsize all the IDs that are
not.
* Evolution-common.idl: Likewise.
* evolution-activity-client.c: Updated accordingly.
* evolution-shell-component.c: Likewise.
* evolution-storage.c: Likewise.
* e-activity-handler.c: Likewise.
* e-component-registry.c: Likewise.
* e-corba-storage.c: Likewise.
* e-shell-user-creatable-items-handlers.c: Likewise.

* e-local-storage.c (remove_folder): Remove unused variable.

* e-shell-view.c (update_for_current_uri): Assign zero to
`unread_count', not NULL.

* e-shell-importer.c (import_druid_finish): Remove unused
variable.

* e-shell-user-creatable-items-handler.c: #include
"e-corba-utils.h".

* e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h".

* e-shell-startup-wizard.h: #include <glib.h>

* e-summary-weather.c (weather_make_html): Make local variable
`icon_name' const.  Remove unused variable `uri'.

* e-summary.h: Reformatted in GTK+ style.
(e_summary_remove_online_connection): Added prototype.

* e-summary-preferences.c (fill_mail_shown_clist): Constify local
variable `name'.

* e-summary-mail.c: #include "e-util/e-path.h".  Updated to match
the new studlyCapsification in shell/Evolution*.idl.

* mail-local.c: Match the studlyCapsification of
shell/Evolution*.idl.

* mail-config-druid.h: Change type of `event_source' from
`Bonobo_EventSource *' to `Bonobo_EventSource'.

* mail-accounts.c (mail_delete): Remove unused local variable
`label'.

* folder-info.c (do_get_info): `#if 0' unused variables.

* gui/component/addressbook-component.c: Get rid of a warning by
initializing the closing NULL element in folder_types correctly.

* gui/component/select-names/e-select-names.c: Updated to match
the studlyCapsification of attributes in shell/Evolution*.idl.

svn path=/trunk/; revision=12495
2001-08-28 00:18:34 +00:00
c612c3240c Added. Generated queries against file_as. (match_file_as): Added. Match
2001-08-27  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names-completion.c
	(sexp_file_as): Added.  Generated queries against file_as.
	(match_file_as): Added.  Match results of queries against
	file_as. (Bug #8152)

svn path=/trunk/; revision=12494
2001-08-27 23:29:26 +00:00
cf730bc276 Added ref/unref pair to make sure that our listener doesn't get finalized
2001-08-27  Jon Trowbridge  <trow@ximian.com>

	* backend/ebook/e-book-view-listener.c
	(e_book_view_listener_check_queue): Added ref/unref pair to make
	sure that our listener doesn't get finalized during the signal
	emission and leave us with a dangling pointer. (Bug #7661)

svn path=/trunk/; revision=12493
2001-08-27 23:03:08 +00:00
c36b30533a Removed some debugging spew that I left in by mistake.
2001-08-27  Jon Trowbridge  <trow@ximian.com>

	* backend/ebook/e-card.c (e_card_list_send): Removed some debugging
	spew that I left in by mistake.

	* gui/widgets/e-addressbook-model.c (create_card): Removed debugging
	spew.

svn path=/trunk/; revision=12492
2001-08-27 22:20:07 +00:00
72ae261d7e Do the right thing if the card we are trying to send to is a contact list.
2001-08-27  Jon Trowbridge  <trow@ximian.com>

	* backend/ebook/e-card.c (e_card_list_send): Do the right thing if
	the card we are trying to send to is a contact list. (Bug #6580)

svn path=/trunk/; revision=12491
2001-08-27 22:14:43 +00:00
68a8a866bb Check if we are trying to reply to a message with no From: field, and try
2001-08-27  Jon Trowbridge  <trow@ximian.com>

        * mail-callbacks.c (mail_generate_reply): Check if we are trying
        to reply to a message with no From: field, and try to do something
        graceful in that case. (Bug #7028)

        * mail-display.c (ebook_callback): Add paranoid checks for the
        case of a message with a From: field. (Also maybe bug #7028)

svn path=/trunk/; revision=12490
2001-08-27 21:21:14 +00:00
7c5fe3b52c Add prototype
svn path=/trunk/; revision=12489
2001-08-27 20:48:23 +00:00
a6d46c33f3 Destroy lists and hashes when needed, so that old data isn't left behind.
svn path=/trunk/; revision=12488
2001-08-27 20:19:49 +00:00
4cf66ac5c7 Set the source and transport description labels. (transport_type_changed):
2001-08-27  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_new): Set the source and
	transport description labels.
	(transport_type_changed): Set the transport description label.
	(source_type_changed): Set the source description label.

	* mail-tools.c (mail_tool_make_message_attachment): Remove
	X-Evolution* headers.
	(mail_tool_remove_xevolution_headers): New function to convenience
	removing the X-Evolution headers.
	(mail_tool_restore_xevolution_headers): New convenience function
	to restore the X-Evolution headers.
	(mail_tool_destroy_xevolution): New function to cleanup the
	structure.
	(mail_tool_forward_message): Remove and restore the X-Evolution
	headers here too.

svn path=/trunk/; revision=12487
2001-08-27 19:28:05 +00:00
195c847106 Changed the description/names of some of the local providers to try and
2001-08-27  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/local/camel-local-provider.c: Changed the
	description/names of some of the local providers to try and
	clarify the meanings.

	* providers/pop3/camel-pop3-provider.c: Simplify the POP
	description - we want short but sweet.

	* providers/imap/camel-imap-provider.c: s/IMAPv4/IMAP

svn path=/trunk/; revision=12486
2001-08-27 19:26:46 +00:00
0a99920bfe s/IMAPv4/IMAP
2001-08-27  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-provider.c: s/IMAPv4/IMAP

svn path=/trunk/; revision=12485
2001-08-27 18:28:06 +00:00
16daf75376 Remove X-Evolution* headers. (mail_tool_remove_xevolution_headers): New
2001-08-27  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_make_message_attachment): Remove
	X-Evolution* headers.
	(mail_tool_remove_xevolution_headers): New function to convenience
	removing the X-Evolution headers.
	(mail_tool_restore_xevolution_headers): New convenience function
	to restore the X-Evolution headers.
	(mail_tool_destroy_xevolution): New function to cleanup the
	structure.
	(mail_tool_forward_message): Remove and restore the X-Evolution
	headers here too.

svn path=/trunk/; revision=12484
2001-08-27 17:26:34 +00:00
fcefade838 Updated Hungarian translation.
2001-08-27  Andras Timar <timar@gnome.hu>

        * hu.po: Updated Hungarian translation.

svn path=/trunk/; revision=12483
2001-08-27 15:53:03 +00:00
c4b24c895e Fixed this memmove to subtract the count as well as the row for the number
2001-08-27  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_table_model_rows_deleted): Fixed this
	memmove to subtract the count as well as the row for the number of
	rows to move.

svn path=/trunk/; revision=12482
2001-08-27 15:32:14 +00:00
6fbbb872fe re-read the iconv man page, and treat the return value properly. It
2001-08-27  Not Zed  <NotZed@Ximian.com>

        * camel-mime-part-utils.c (convert_buffer): re-read the iconv man
        page, and treat the return value properly.  It returns the number
        of non-reversible conversions performed, not the number of output
        characters, sigh.
        (check_html_charset): Changed to just take a buffer of data, and
        not the mime parser.
        (simple_data_wrapper_construct_from_parser): Since we dont need
        the charset till we have all the data, search for the charset
        after we've read the data, if we have html data with no charset in
        the header.
        (simple_data_wrapper_construct_from_parser): Remove the
        seekable_source stuff.

        * Re-apply patches from before.

svn path=/trunk/; revision=12481
2001-08-27 06:33:41 +00:00
bfca62333d Updated Swedish translation.
2001-08-27  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.

svn path=/trunk/; revision=12480
2001-08-27 05:09:31 +00:00
2b55c2266b If the store is not connected, scan it's subfolders first.
2001-08-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-send-recv.c (receive_update_got_store): If the store is not
	connected, scan it's subfolders first.

	* mail-ops.c (report_status): Call va_end() so LinuxPPC doesn't
	have a caniption.

svn path=/trunk/; revision=12479
2001-08-27 02:56:45 +00:00
e44fff904e Call va_end() so LinuxPPC doesn't have a caniption.
2001-08-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (report_status): Call va_end() so LinuxPPC doesn't
	have a caniption.

svn path=/trunk/; revision=12478
2001-08-27 02:23:22 +00:00
f269d7ad26 Added shell/glade/evolution-startup-wizard.glade
* POTFILES.in: Added shell/glade/evolution-startup-wizard.glade

svn path=/trunk/; revision=12477
2001-08-26 22:27:31 +00:00
cc3f82deb5 Display localized status string (added missing _()).
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
Display localized status string (added missing _()).

svn path=/trunk/; revision=12476
2001-08-26 22:22:57 +00:00
f50915e81d Updated French translation.
svn path=/trunk/; revision=12475
2001-08-26 21:02:49 +00:00