Commit Graph

12256 Commits

Author SHA1 Message Date
3b4131bb11 If the view is dead, just return FALSE. Prevents crash #12483.
* e-shell-view.c (show_existing_view): If the view is dead, just
return FALSE.  Prevents crash #12483.

svn path=/trunk/; revision=13903
2001-10-22 22:37:47 +00:00
e74ade400c s/summarising/summarizing/. (spool_summary_check): s/summarise/summarize/.
2001-10-22  Jon Trowbridge  <trow@ximian.com>

	* providers/local/camel-spool-summary.c (summary_rebuild):
	s/summarising/summarizing/.
	(spool_summary_check): s/summarise/summarize/.

svn path=/trunk/; revision=13902
2001-10-22 22:34:46 +00:00
b89da79e8c added set_value() class method, which sets the model value based on the
2001-10-22  Damon Chaplin  <damon@ximian.com>

	* e-cell-text.[hc]: added set_value() class method, which sets the
	model value based on the text. In ECellText itself it assumes the model
	value is a char* and passes the text directly. Subclasses may parse
	the text into some other datatype.
	Also made the calls the e_cell_text_get_text(), e_cell_text_free_text()
	and e_cell_text_set_value() public, since we need them in ECellCombo.

	* e-cell-combo.c (e_cell_combo_select_matching_item):
	(e_cell_combo_update_cell): use e_cell_text_get_text()/free_text()/
	set_value() so it can handle subclasses of ECellText as the child.

svn path=/trunk/; revision=13901
2001-10-22 22:33:20 +00:00
798623d52b Remove the help_button in the property box.
* e-summary-preferences.c (e_summary_configure): Remove the
help_button in the property box.

svn path=/trunk/; revision=13900
2001-10-22 22:31:43 +00:00
d8ee10a7fc Don't free `clientid' as it's uninitialized.
* mail-mt.c (do_op_status): Don't free `clientid' as it's
uninitialized.

svn path=/trunk/; revision=13899
2001-10-22 22:27:53 +00:00
52ddf80395 disable this column. Fixes Ximian bug #12381.
2001-10-22  Christopher James Lahey  <clahey@ximian.com>

	* message-list.etspec (Score): disable this column.  Fixes Ximian
	bug #12381.

svn path=/trunk/; revision=13898
2001-10-22 22:12:14 +00:00
175618ed1e Added a disabled field here.
2001-10-22  Christopher James Lahey  <clahey@ximian.com>

	* e-table-col.c, e-table-col.h, e-table-column-specification.c,
	e-table-column-specification.h: Added a disabled field here.

	* e-table-config.c, e-table-field-chooser-item.c: Pay attention to
	the disabled field here.

	* e-table-utils.c: Copy the disabled field from the column
	specification to the col.

svn path=/trunk/; revision=13897
2001-10-22 22:10:27 +00:00
b80a058e55 If we are kludging around a inline-pgp signed part, do some charset
2001-10-22  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-mime.c (camel_pgp_mime_part_verify): If we are
	kludging around a inline-pgp signed part, do some charset
	conversion to protect any 8bit text.

svn path=/trunk/; revision=13896
2001-10-22 21:50:21 +00:00
739e7cd1da #include "component-factory.h". (do_op_status): Pass the component ID
* mail-mt.c: #include "component-factory.h".
(do_op_status): Pass the component ID instead of the msg ID.

* component-factory.h (COMPONENT_ID): #define here instead of
`component-factory.c'.
(SUMMARY_FACTORY_ID): Likewise.

svn path=/trunk/; revision=13895
2001-10-22 21:16:10 +00:00
7429141682 Use search_type_mlist for mailing list searches.
* camel-filter-search.c, camel-folder-search.c (check_header): Use
	search_type_mlist for mailing list searches.

	* camel.c (camel_init): call camel-mime-utils-init func.

	* camel-mime-utils.c: Changed mail mail_list_magic to include a
	domain part, also pre-compile all the patterns.  They are all
	backward compatible except List-Id: which now uses the
	mail-address-like <list-name.host.name> part rather than the
	plain-text part (which might've been blank anyway).
	(camel_mime_utils_init): Initialisation function to setup any
	static data required by camel-mime-utils at run-time.  We now
	setup the base64/charset class tables here, so it doesn't need to
	be done statically.
	(camel_mime_special_table, camel_mime_base64_rank): No longer
	statically initialise these.
	(main): Removed + the tests at the end of the file.
	(header_raw_check_mailing_list): Dont compile regex's here,
	already compiled in utils_init.  Use the regex patterns to remove
	leading <'s from addresses.  Also, if there is a domain part
	matched, add that after a '@' is added.

	camel-search-private.c:
	(camel_search_header_match): Added SEARCH_TYPE_MLIST for mlist
	search types.  It ignores the domain part if either (but not both)
	of the values dont have it.

svn path=/trunk/; revision=13894
2001-10-22 21:08:05 +00:00
746bfdb6c3 Don't wrap error text with <blockquote>, this is done inside
2001-10-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (format_mime_part): Don't wrap error text with
	<blockquote>, this is done inside mail_error_write.
	(handle_multipart_encrypted): If we get an exception trying to
	decrypt the mime part, display an error rather than trying to
	treat it as multipart/mixed.

	* mail-callbacks.c (empty_trash): Confirm expunge.

svn path=/trunk/; revision=13893
2001-10-22 19:53:03 +00:00
bce08f29c3 Move the folder sync code along with a few other things from
2001-10-22  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (folder_browser_destroy): Move the folder sync
	code along with a few other things from folder_browser_finalise()
	into here instead.
	(folder_browser_finalise): Moved some cleanup functions into
	destroy.

svn path=/trunk/; revision=13892
2001-10-22 19:16:47 +00:00
42d022008a (camel_search_header_match): Oops, missing i=0.
svn path=/trunk/; revision=13891
2001-10-22 19:12:06 +00:00
367221fa5e New member is_interactive' in EShellPrivate'. (init): Init to %FALSE.
* e-shell.c: New member `is_interactive' in `EShellPrivate'.
(init): Init to %FALSE.
(set_interactive): New.
(e_shell_create_view): Make interactive.
(view_destroy_cb): If no views are left, make non-interactive.

* evolution-shell-component.c (class_init): Set up the
"interactive" signal.
(impl_interactive): New implementation for the ::interactive
method.
(class_init): Install.

* evolution-shell-component.h: New signal `interactive'.

* Evolution-ShellComponent.idl: New method ::interactive.

svn path=/trunk/; revision=13890
2001-10-22 19:09:24 +00:00
fd9cceb0d7 Make C-w not do anything here. (e_text_event_processor_emacs_like_event):
2001-10-22  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-text-event-processor-emacs-like.c
	(control_keys): Make C-w not do anything here.
	(e_text_event_processor_emacs_like_event): Make C-A-* not do
	anything here.

svn path=/trunk/; revision=13889
2001-10-22 18:57:43 +00:00
9c9f8ebfdf PGP verification UI changes to make it not HTML spoofable.
* mail-format.c (handle_application_pgp): Remove this unused
	hack.
	(mail_format_mime_message): Initialize a fourth hash table, used
	to keep track of fake MIME parts.
	(mail_part_set_default_displayed_inline): New routine to set the
	default disposition of a part (doesn't change it if the user has
	already overridden it).
	(format_mime_part): Wrap a blockquote around the error text (moved
	here from mail_error_write since it doesn't apply in other cases).
	(write_hr): Write a <hr> with appropriate padding between MIME
	parts.
	(write_one_text_plain_chunk): Write some plain text with
	appropriate margins.
	(handle_text_plain): Use write_one_text_plain_chunk. Update for
	inline specials handler API change.
	(fake_mime_part_from_data): Use the "fake_parts" hash to avoid
	recreating the same fake parts again if the message is
	redisplayed. Lets you toggle the shown/hiddenness of uudecode
	parts, and do the new pgp verification thing for inline pgp
	signatures.
        (try_inline_pgp): Don't do any actual PGP handling here: Just
	rewrite as a multipart/encrypted.
	(try_inline_pgp_sig): Likewise, just do a multipart/signed (with
	the x-inline-pgp-hack parameter set).
	(try_uudecoding, try_inline_binhex): Update for API changes.
	(handle_multipart_signed): Exciting and new. Use <object> to
	create a button which the user must click to do the
	verification. Change the formatting of the gpg output text a bit.

	* mail-display.c (on_link_clicked): Remove x-evolution-decode-pgp
	hack, which is no longer used.
	(pixbuf_gen_idle): Add a hack for the PGP verification button.
	(do_attachment_header, do_external_viewer): Split out of
	on_object_requeested for clarity.
	(do_signature): New routine to do the PGP verification button.
	(on_object_requested): Now just dispatches to
	do_attachment_header, do_external_viewer, or do_signature.
	(mail_error_write): Don't do <blockquote> here. Fixed the problem
	that was trying to fix elsewhere.

svn path=/trunk/; revision=13888
2001-10-22 18:47:59 +00:00
44faa44bff Pass a CORBA_Environment to bonobo_config_get_string so it doesn't g_warn
* e-passwords.c (e_passwords_get_password): Pass a
	CORBA_Environment to bonobo_config_get_string so it doesn't g_warn
	on error. (Since the "error" is most likely just that the password
	isn't cached.)
	(e_passwords_remember_password, e_passwords_get_password,
	e_passwords_add_password): Change "if (foo) { entire function; }"
	to "if (!foo) return;"

	* e-html-utils.c (special_chars): Don't allow single quote or
	backtick in email addresses, or pipes following URLs.

svn path=/trunk/; revision=13887
2001-10-22 18:46:46 +00:00
708dc70ac5 Check that account->id->address != NULL.
2001-10-22  Jon Trowbridge  <trow@ximian.com>

	* e-msg-composer-hdrs.c (create_from_optionmenu): Check that
	account->id->address != NULL.

svn path=/trunk/; revision=13886
2001-10-22 18:39:47 +00:00
2
0787edd7b8 Match check against all addresses in a multiple address match. Should fix
2001-10-22    <NotZed@Ximian.com>

        * camel-search-private.c (camel_search_header_match): Match check
        against all addresses in a multiple address match.  Should fix
        #13051.

svn path=/trunk/; revision=13885
2001-10-22 18:29:01 +00:00
f230e8b98a Updated French translation.
svn path=/trunk/; revision=13884
2001-10-22 18:14:49 +00:00
5a448dad9c More updates.
* it.po: More updates.

svn path=/trunk/; revision=13883
2001-10-22 18:11:06 +00:00
5a610b03f7 Fixed up a little bit.
* it.po: Fixed up a little bit.

svn path=/trunk/; revision=13882
2001-10-22 17:57:15 +00:00
824967d843 Add a hack: if the multipart/signed part has a "x-inline-pgp-hack"
* camel-pgp-mime.c (camel_pgp_mime_part_verify): Add a hack: if
       the multipart/signed part has a "x-inline-pgp-hack" parameter in
       its Content-Type, don't pass the MIME headers as part of the data
       to be verified.

svn path=/trunk/; revision=13881
2001-10-22 17:44:50 +00:00
141f12fe3e Register the public ConfigDatabase interface last to work around an OAF
* wombat.c (main): Register the public ConfigDatabase interface
last to work around an OAF race condition.

svn path=/trunk/; revision=13880
2001-10-22 17:38:08 +00:00
9d6caa8239 validation. SIlly me.
2001-10-22  Aaron Weber  <aaron@ximian.com>

	* C/evolution.sgml: validation. SIlly me.

svn path=/trunk/; revision=13879
2001-10-22 17:16:28 +00:00
c8c5e7d994 added $GNOME_INCLUDEDIR to INCLUDES, needed for latest libgnome, which
2001-10-22  Rodrigo Moya <rodrigo@ximian.com>

	* Makefile.am: added $GNOME_INCLUDEDIR to INCLUDES, needed for latest
	libgnome, which install headers in $(prefix)/gnome-1.0

svn path=/trunk/; revision=13878
2001-10-22 17:10:14 +00:00
ff55521bec HAVE_KDE_APPLNK.
* acconfig.h: HAVE_KDE_APPLNK.

* configure.in (EVO_CHECK_LIB): AC_DEFINE `HAVE_KDE_APPLNK' in the
case in which the kde applnk dir is found.  Also fix the logic
with the checking so it doesn't get fooled.

svn path=/trunk/; revision=13877
2001-10-22 16:57:05 +00:00
5e9d81e541 write out the correct time in the control
2001-10-22  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (set_date_label): write out the correct
	time in the control

	* pcs/cal.c (build_fb_seq): utility function to build sequences of
	f/b data
	(impl_Cal_get_free_busy): use above so we never return a NULL

	* conduits/calendar/calendar-conduit-config.h
	(calconduit_save_configuration): fix c/p error
	(calconduit_load_configuration): ditto

svn path=/trunk/; revision=13876
2001-10-22 16:47:54 +00:00
c4b424decd Updated Polish translation
svn path=/trunk/; revision=13875
2001-10-22 16:29:48 +00:00
21002c4b8f *** empty log message ***
svn path=/trunk/; revision=13874
2001-10-22 15:59:42 +00:00
20c107308b Fix these functions so they don't crash evolution-mail. Too bad it still
* mail-callbacks.c (transfer_msg): Fix these functions so they
        don't crash evolution-mail. Too bad it still crashes in the
	shell.

svn path=/trunk/; revision=13873
2001-10-22 15:21:31 +00:00
c44198513e we don't need to save the state
2001-10-22  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c (meeting_page_destroy): we don't need
	to save the state

	* gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy):
	ditto

	* gui/e-meeting-model.c (build_etable): listen for the etable
	being destroyed
	(table_destroy_cb): save the state when the etable is destroyed

svn path=/trunk/; revision=13872
2001-10-22 15:12:40 +00:00
d44b2ffe43 Updated Slovak translation.
2001-10-22  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

	* sk.po: Updated Slovak translation.

svn path=/trunk/; revision=13871
2001-10-22 14:58:15 +00:00
f2b037366e include destdir in the path of the kde desktop installation dir
2001-10-22  JP Rosevear  <jpr@ximian.com>

	* data/Makefile.am: include destdir in the path of the kde desktop
	installation dir

svn path=/trunk/; revision=13870
2001-10-22 14:27:39 +00:00
3b3c44b51c null out DBT memory prior to usage (from Edd Dumbill <edd@usefulinc.com>)
2001-10-22  JP Rosevear  <jpr@ximian.com>

	* e-dbhash.c (e_dbhash_foreach_key): null out DBT memory prior to
	usage (from Edd Dumbill <edd@usefulinc.com>)

svn path=/trunk/; revision=13869
2001-10-22 13:54:12 +00:00
24f54ce4be updated
2001-10-22  Marius Andreiana  <mandreiana@yahoo.com>

        * ro.po: updated

svn path=/trunk/; revision=13868
2001-10-22 12:55:52 +00:00
daa6070a89 new splash
svn path=/trunk/; revision=13867
2001-10-22 11:16:35 +00:00
54aa210e00 update the look a bit
svn path=/trunk/; revision=13866
2001-10-22 10:58:13 +00:00
5e0bf55717 Put up an error dialog if there's an error while saving. If the person
2001-10-22  Christopher James Lahey  <clahey@ximian.com>

	* gui/contact-editor/e-contact-save-as.c (save_it): Put up an
	error dialog if there's an error while saving.  If the person hits
	cancel on the "file exists" dialog, don't close the file selection
	dialog.  Fixes Ximian bug #7055.

svn path=/trunk/; revision=13865
2001-10-22 05:21:18 +00:00
f22daae8e6 Accept UTF8_STRING, UTF-8, and STRING targets when getting the selection.
2001-10-22  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_get_selection):
	Accept UTF8_STRING, UTF-8, and STRING targets when getting the
	selection.

svn path=/trunk/; revision=13864
2001-10-22 04:16:03 +00:00
d6e71d2ad9 listen for changes in the date editors (schedule_page_set_dates): update
2001-10-21  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/schedule-page.c (init_widgets): listen for changes
	in the date editors
	(schedule_page_set_dates): update the times when they change
	elsewhere
	(update_time): set the time in the dialog
	(time_changed_cb): notify of changed times

	* gui/dialogs/comp-editor.c (page_dates_changed_cb): don't call
	the set dates function on the page that noted the change
	(page_summary_changed_cb): same for set summary function

	* gui/dialogs/event-page.c (update_time): move time setting stuff
	to util function
	(event_page_set_dates): use it
	(event_page_fill_component): ditto

	* gui/e-meeting-time-sel.h: fix comment

svn path=/trunk/; revision=13863
2001-10-22 03:51:41 +00:00
b1c2896995 Use mail_format_get_data_wrapper_text for text parts so we get free
2001-10-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (on_url_requested): Use
	mail_format_get_data_wrapper_text for text parts so we get free
	charset conversion.

	* mail-format.c (mail_format_get_data_wrapper_text): Renamed from
	get_data_wrapper_text and now returns a GByteArray.
	(handle_text_plain): Updated to use the new get_data_wrapper_text.
	(handle_application_pgp): Same. Wow...also fixed a mem leak and
	made a bit more efficient by doing so.
	(handle_text_enriched): Here too. Also use string->len instead of
	strlen (string->str).
	(mail_format_raw_message): Same.

svn path=/trunk/; revision=13862
2001-10-22 02:25:36 +00:00
e55790f58b Only do the rawtext checks if the part is a text part, otherwise don't
2001-10-21  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-part-utils.c
	(simple_data_wrapper_construct_from_parser): Only do the rawtext
	checks if the part is a text part, otherwise don't bother wasting
	cpu cycles.

svn path=/trunk/; revision=13861
2001-10-22 02:08:10 +00:00
2
4b2464746f Instead of select_all() then using the tree's selected nodes to iterate,
2001-10-22    <NotZed@Ximian.com>

        * mail-callbacks.c (mark_all_as_seen): Instead of select_all()
        then using the tree's selected nodes to iterate, just do it on the
        folder which keeps the current selection.  Fixes #3658.

svn path=/trunk/; revision=13860
2001-10-22 01:39:32 +00:00
2eb6b07427 Updated comments to make the code a bit more clear.
2001-10-21  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-store.c (camel_folder_info_build): Updated comments to
	make the code a bit more clear.

svn path=/trunk/; revision=13859
2001-10-22 00:45:25 +00:00
6b011476f6 fixed bug #13151
svn path=/trunk/; revision=13858
2001-10-21 23:19:44 +00:00
1ef615979f Updated news.
svn path=/trunk/; revision=13857
2001-10-21 21:58:41 +00:00
1
a02822a94e Clear variables once done, for debugging. (mail_vfolder_add_uri,
2001-10-21    <NotZed@Ximian.com>

        * mail-vfolder.c (mail_vfolder_shutdown): Clear variables once
        done, for debugging.
        (mail_vfolder_add_uri, mail_vfolder_delete_uri): Dont do anything
        if we're shutdown (context == NULL).

        * component-factory.c (idle_quit): Move mail_vfolder_shutdown
        here, it should be one of the last things shutdown.

        * mail-format.c (handle_text_plain): Dont use (if (!p++), and then
        check p!= later, since its now 1, oops.  Fixes #13106, thought it
        was a start of uuencoded stuff!

        * folder-browser.c (on_right_click): Escape _'s before adding them
        to menu from mailing list name, also remove some dead code that
        someone forgot to remove when refactoring.  #11307.
        (folder_browser_is_drafts): Use the store's uri_cmp function to
        compare to the drafts uri's.
        (folder_browser_is_sent): Same.  Slight cleanup for #11351.

svn path=/trunk/; revision=13856
2001-10-21 20:28:58 +00:00
1
c435267723 Dont do the macro stuff - basically so you can actually debug calls.
2001-10-21    <NotZed@Ximian.com>

        * camel-store.c (CS_CLASS): Dont do the macro stuff - basically so
        you can actually debug calls.
        (camel_store_uri_cmp): New function to compare store objects.

        * camel-vee-folder.c (vee_folder_add_info): oops, dont free the
        vuid, since its alloca'd now.
        (folder_changed_change): Kill a compile warning.

svn path=/trunk/; revision=13855
2001-10-21 20:27:43 +00:00
c71602cae0 fix broken default changelog email address in last entry
svn path=/trunk/; revision=13854
2001-10-21 19:12:19 +00:00