Commit Graph

16929 Commits

Author SHA1 Message Date
5a8fb211fe Don't add bogus uids to the uid array. Might fix bug #38868 (it's the only
2003-03-13  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-folder.c (get_uids): Don't add bogus uids to the uid
	array. Might fix bug #38868 (it's the only way I can figure that
	camel_folder_get_message_info() could possibly return NULL for the
	Outbox folder).

svn path=/trunk/; revision=20280
2003-03-13 22:16:50 +00:00
69c9fbff69 reverted mail-display.c and mail-format.c fixes - pondering better fixes
svn path=/trunk/; revision=20279
2003-03-13 20:09:27 +00:00
96e150d7a1 Updated Slovak translation.
2003-03-13  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

svn path=/trunk/; revision=20277
2003-03-13 18:47:45 +00:00
453ffef3e3 kill an unused variable
svn path=/trunk/; revision=20276
2003-03-13 18:26:09 +00:00
7cff3a9cde Updated to use xmlDocDumpFormatMemory() so that we get structured xml
2003-03-13  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/util/e-xml-utils.c (e_xml_save_file): Updated to use
	xmlDocDumpFormatMemory() so that we get structured xml rather than
	just a clump of xml mess.

svn path=/trunk/; revision=20275
2003-03-13 18:00:25 +00:00
aaf4ff8afc Make this depend on Makefile so it gets regenerated if you switch from
* Makefile.am (GNOME_Evolution_Wombat.server.in.in): Make this
	depend on Makefile so it gets regenerated if you switch from
	--without-openldap to --with-openldap

svn path=/trunk/; revision=20274
2003-03-13 17:40:16 +00:00
54e1dcaddc Update Czech translation
svn path=/trunk/; revision=20272
2003-03-13 16:09:30 +00:00
8a1a0ba450 use a weak ref instead of connecting to backend's "destroy" signal.
2003-03-13  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/query-backend.c (query_backend_new): use a weak ref instead
	of connecting to backend's "destroy" signal.
	(backend_destroyed_cb, query_destroyed_cb): changed to be weak
	reference callbacks.

svn path=/trunk/; revision=20271
2003-03-13 14:26:04 +00:00
b1df789b25 [ fixes bug #20210 ] change "Edit Contact Info" to "View Contact Info", as
2003-03-12  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #20210 ]
	* gui/component/select-names/e-select-names-popup.c
	(popup_menu_card): change "Edit Contact Info" to "View Contact
	Info", as you can't always edit the contact (if the book is read
	only).
	(popup_menu_list): same, but for a contact list.

svn path=/trunk/; revision=20270
2003-03-13 05:51:36 +00:00
4b32de61d0 Security vulnerability fixes.
2003-03-12  Jeffrey Stedfast  <fejj@ximian.com>

	Security vulnerability fixes.

	* mail-display.c (do_external_viewer): Make sure that we don't
	launch a bonobo control to view a mime-type that we handle
	internally, otherwise maliciously formed HTML mail using <object>
	tags could potentially launch a bonobo vontrol to view the mime
	part bypassing any checks that Evolution might do on the data
	normally.

svn path=/trunk/; revision=20269
2003-03-12 21:39:09 +00:00
1f54deb558 Security vulnerability fixes.
2003-03-12  Jeffrey Stedfast  <fejj@ximian.com>

	Security vulnerability fixes.

	* mail-format.c (handle_text_html, attachment_header)
	(handle_image, handle_via_bonobo): Encode the result from
	get_cid() so that malicious Content-Id strings cannot bypass the
	user's preference to not load http images, force a bonobo control
	to load passing it arbitrary data, etc.

svn path=/trunk/; revision=20268
2003-03-12 20:55:04 +00:00
8bfabb5cf2 revert a commit that I didn't mean to do
svn path=/trunk/; revision=20267
2003-03-12 19:07:27 +00:00
0dadd92027 Rewritten to do the same as the composer's build_message() code.
2003-03-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-signature-editor.c (menu_file_save_cb): Rewritten to do the
	same as the composer's build_message() code.

svn path=/trunk/; revision=20266
2003-03-12 19:05:53 +00:00
b35e87b9e0 Various small fixes leading up to a real fix.
2003-03-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-signature-editor.c: Various small fixes leading up to a real fix.

svn path=/trunk/; revision=20265
2003-03-12 18:35:51 +00:00
8d1a4eb49d Update for a libxml2 change that was making this code g_warn a lot
* e-xml-hash-utils.c (e_xml_to_hash): Update for a libxml2 change
	that was making this code g_warn a lot

svn path=/trunk/; revision=20264
2003-03-12 17:28:35 +00:00
ffec3e92a3 New, to free/thaw the ETree models. (e_summary_shown_add_node): Don't
* e-summary-shown.c (e_summary_shown_freeze,
	e_summary_shown_thaw): New, to free/thaw the ETree models.
	(e_summary_shown_add_node): Don't freeze/thaw around the single
	add here. That doesn't really help much.

	* e-summary-preferences.c (fill_rdf_etable): Freeze/thaw the
	ESummaryShown while filling it in.

	* e-summary-weather.c (e_summary_weather_fill_etable): Likewise.

svn path=/trunk/; revision=20263
2003-03-12 17:27:11 +00:00
c32307b1c8 don't use GNOME_STOCK_* defines, but GTK_STOCK_*.
2003-03-12  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/save-comp.c (save_component_dialog): don't use
	GNOME_STOCK_* defines, but GTK_STOCK_*.

svn path=/trunk/; revision=20262
2003-03-12 16:10:30 +00:00
460a3fb010 corrected button ordering and changed the return type to be a
2003-03-12  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/save-comp.[ch] (save_component_dialog): corrected
	button ordering and changed the return type to be a GtkResponseType.

	* gui/dialogs/comp-editor.c (prompt_to_save_changes): adapted to
	changes in save_component_dialog.

svn path=/trunk/; revision=20261
2003-03-12 16:04:50 +00:00
bdad58fc5f [ fixes bug #39507 ] new function, sync the models after we do a search.
2003-03-11  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #39507 ]
	* gui/component/select-names/e-select-names.c (search_result): new
	function, sync the models after we do a search.
	(addressbook_model_set_uri): connect to search_result.

svn path=/trunk/; revision=20260
2003-03-12 06:46:38 +00:00
e5b1a49030 fix compiler warnings about deprecated functions.
2003-03-11  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_init): fix compiler warnings about deprecated
	functions.
	(e_select_names_child_free): unref the table model.
	(remove_address): re-enable.
	(section_right_click_cb): this is an ETable callback now.
	(e_select_names_add_section): remove a gross gross awful hack, and
	make the recipient tables ETables instead EEntry's.  We lose the
	nice underlining, but we can add that back in as another ETable
	style (like strikeout and bold), and we also fix the longstanding
	scrolling problems (like bug #25148) and can finally remove
	addresses by double clicking on them (which is also a bug
	someplace I think.. dunno the # offhand.)

	* gui/component/select-names/e-select-names-table-model.c
	(clear_info): always set the count to -1, regardless of what
	model->data is.

	* gui/component/select-names/e-select-names-model.c: remove some
	unused enums.

	* gui/component/select-names/Makefile.am (etspec_DATA): add
	e-select-names-section.etspec

	* gui/component/select-names/e-select-names-section.etspec: new
	file, spec for the To:/Cc:/Bcc: etable's in the select-names
	dialog.

svn path=/trunk/; revision=20259
2003-03-12 03:19:13 +00:00
ed138c113d removed, it was double-freeing the key. (save_object): Just save the
2003-03-12  Not Zed  <NotZed@Ximian.com>

        * camel-object.c (remove_bag): removed, it was double-freeing the
        key.
        (save_object): Just save the object in an array.
        (camel_object_bag_destroy): first save the object bag's objects in
        a list, then remove them one at a time from the bag since we can't
        remove hash table entries while we're in a foreach (PITA glib
        shit).  For #39486.
        (camel_object_bag_*): killed some warnings.

svn path=/trunk/; revision=20258
2003-03-12 00:37:33 +00:00
2ac9216ba1 If the wizard factory returns NULL, we'll get a NIL wizard but no
* e-shell-startup-wizard.c (start_wizard): If the wizard factory
        returns NULL, we'll get a NIL wizard but no exception. Deal with
        that case. (ie, try the next wizard).
        (finish_func): Simplify for e-timezone-dialog changes.
        (prepare_timezone_page): If there is already a timezone set in
        gconf, set the map to point to it. (For connector autoconfig.)

svn path=/trunk/; revision=20257
2003-03-11 22:25:47 +00:00
b0984bd0af Update for timezone dialog API changes.
* gui/calendar-config.c (on_timezone_set): Update for timezone
	dialog API changes.

	* gui/e-timezone-entry.c: Likewise

svn path=/trunk/; revision=20256
2003-03-11 22:23:44 +00:00
bbde1e136a Various cleanups. (e_timezone_dialog_get_timezone): Return an
* e-timezone-dialog/e-timezone-dialog.c: Various cleanups.
        (e_timezone_dialog_get_timezone): Return an icaltimezone.
        (e_timezone_dialog_set_timezone): Take an icaltimezone
        (e_timezone_dialog_construct): Set a minimum size on the scrolled
        window

svn path=/trunk/; revision=20255
2003-03-11 22:23:07 +00:00
c6a1e23298 Use GtkArrow instead of pixmaps Use GtkArrow instead of pixmaps
2003-03-10  Rodney Dawes  <dobey@ximian.com>

	* e-calendar.c: Use GtkArrow instead of pixmaps
	* e-combo-button.c: Use GtkArrow instead of pixmaps
	* e-filter-bar.c: gtk_window_set_policy () is deprecated
	* e-url-entry.c: Load the icon in a pixbuf instead of GdkPixmap

svn path=/trunk/; revision=20254
2003-03-11 21:22:14 +00:00
179239f0e5 Use gtk_window_set_transient_for() on the druid with the settings dialog
2003-03-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (account_add_clicked): Use
	gtk_window_set_transient_for() on the druid with the settings
	dialog as the parent window.

svn path=/trunk/; revision=20253
2003-03-11 21:11:44 +00:00
245e48af11 Updated German translation.
svn path=/trunk/; revision=20252
2003-03-11 21:03:13 +00:00
c15a1c9677 Use GnomeIconList instead of EIconList so we don't have to maintain an
2003-03-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment-bar.c: Use GnomeIconList instead of
	EIconList so we don't have to maintain an exact copy/paste of
	GnomeIconList ourselves. I don't udnerstand why we ever did.

	* e-icon-list.[c,h]: Removed.

svn path=/trunk/; revision=20251
2003-03-11 16:48:53 +00:00
2e204d829b issue more descriptive warnings.
2003-03-11  Rodrigo Moya <rodrigo@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_open): issue more descriptive
	warnings.

svn path=/trunk/; revision=20250
2003-03-11 16:29:24 +00:00
bef9d7da2b Updated revision to string 600
svn path=/trunk/; revision=20248
2003-03-11 07:02:35 +00:00
25044acc86 Updated phone number. Bug #37204.
2003-03-11  Not Zed  <NotZed@Ximian.com>

        * backend/pas/pas-backend-file.c (INITIAL_VCARD): Updated phone
        number.  Bug #37204.

svn path=/trunk/; revision=20247
2003-03-11 01:10:44 +00:00
4cebbd43b9 Remove the yes/no buttons. Fixes bug #39382.
2003-03-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-signature-editor.c (do_exit): Remove the yes/no
	buttons. Fixes bug #39382.

svn path=/trunk/; revision=20246
2003-03-10 20:36:45 +00:00
a2ef1d7ccf New callback function to handle the checkbox getting toggled.
2003-03-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (account_able_toggled): New callback function to
	handle the checkbox getting toggled.
	(mail_accounts_treeview_new): Save the toggle renderer so we can
	later connect to it's toggled signal.
	(mail_accounts_tab_construct): Connect to the toggle-cell's
	toggled signal. Fixes bug #39325.

svn path=/trunk/; revision=20245
2003-03-10 20:06:46 +00:00
95b3485141 added a comment
svn path=/trunk/; revision=20241
2003-03-10 16:48:47 +00:00
fd3ea7eea6 New. New.
* local/Calendar/calendar.ics: New.
* local/Calendar/tasks.ics: New.

svn path=/trunk/; revision=20234
2003-03-10 16:20:44 +00:00
9b5ba0524e Added prototype for show_pango_rectangle()
2003-03-10  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/e-text/e-text.c: Added prototype for show_pango_rectangle()

svn path=/trunk/; revision=20233
2003-03-10 15:27:21 +00:00
6c2bba29f7 if we already have the client loaded, don't remove it, just increment its
2003-03-09  Rodrigo Moya <rodrigo@ximian.com>

	* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): if we
	already have the client loaded, don't remove it, just increment its
	reference count.

	* gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added new
	argument to specify whether we want the component's structure removed
	if no more alarms exist, and only free the structure if TRUE.
	(remove_alarms): added same new argument and pass it over to
	remove_queued_alarm.
	(remove_comp, obj_updated_cb): passed new argument to remove_alarms.
	(procedure_notification): passed new argument to remove_queued_alarm.
	(obj_removed_cb): set all freed pointers to NULL.
	(notify_dialog_cb): only remove the alarm if the pointers are not NULL.

svn path=/trunk/; revision=20232
2003-03-10 11:53:36 +00:00
c8a1141a55 Fix the response code, because some bastard changed the filter/* code and
2003-03-11  Not Zed  <NotZed@Ximian.com>

        * mail-vfolder.c (vfolder_editor_response): Fix the response code,
        because some bastard changed the filter/* code and didn't fix the
        callers.  Partial fix for #39165.

svn path=/trunk/; revision=20231
2003-03-10 08:17:05 +00:00
d51c9927e5 go to the proper level of child node before looking for rule sets, fix for
2003-03-11  Not Zed  <NotZed@Ximian.com>

        * rule-context.c (revert): go to the proper level of child node
        before looking for rule sets, fix for #39165 to make 'cancel' work.

svn path=/trunk/; revision=20230
2003-03-10 08:15:01 +00:00
286b4ee484 re-enable in build, include e-destination.h. For #39256.
2003-03-11  Not Zed  <NotZed@Ximian.com>

        * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list):
        re-enable in build, include e-destination.h.  For #39256.

svn path=/trunk/; revision=20229
2003-03-10 06:40:18 +00:00
63a340aa63 Removed the debug printf. Added a case for the composer. Part of fixing
2003-03-10  Not Zed  <NotZed@Ximian.com>

        * component-factory.c
        (factory): Removed the debug printf.  Added a case for the
        composer.  Part of fixing #39256.

svn path=/trunk/; revision=20228
2003-03-10 06:38:56 +00:00
4e98841191 add send_cb/save_draft_cb arguments. (impl_Composer_send): use the local
2003-03-11  Not Zed  <NotZed@Ximian.com>

        * evolution-composer.c (evolution_composer_new): add
        send_cb/save_draft_cb arguments.
        (impl_Composer_send): use the local send_cb.
        (evolution_composer_init): dont init send, save-draft signals
        here.
        (evolution_composer_new): init signals here, fix params to
        composer_construct().
        (evolution_composer_factory_init): remove, part of mailer now.
        (factory_fn): same.
        (finalise): disconnect from callbacks first.

        * evolution-composer.h: add send_cb/save_draft_cb to composer object.

2003-03-10  Not Zed  <NotZed@Ximian.com>

        * evolution-composer.c (finalise): from destroy.
        (evolution_composer_class_init): gtkobject->gobject stuff.
        (evolution_composer_new): remove old redundant stuff.

svn path=/trunk/; revision=20227
2003-03-10 06:35:54 +00:00
bc78d367b0 removed main.c from the build.
2003-03-10  Not Zed  <NotZed@Ximian.com>

        * Makefile.am (libevolution_mail_la_SOURCES): removed main.c from
        the build.

        * component-factory.c (component_factory_init): Remove, not used
        anymore, causes linking problems some places.
        (factory): Removed the debug printf.

svn path=/trunk/; revision=20226
2003-03-10 04:27:35 +00:00
67974fa1e0 Doh! If inptr == pos + 1, then return FALSE (before it was checking for
2003-03-09  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-url-scanner.c (camel_url_addrspec_end): Doh! If inptr ==
	pos + 1, then return FALSE (before it was checking for inptr ==
	pos, but it will never be pos).

svn path=/trunk/; revision=20225
2003-03-09 17:57:34 +00:00
c8a10fa6da fix drawing bugs, and disable the stupid looking focus rect, since I can't
2003-03-07  Chris Toshok  <toshok@ximian.com>

	* gal/e-text/e-text.c (e_text_draw): fix drawing bugs, and disable
	the stupid looking focus rect, since I can't find a theme that
	uses them.
	(e_text_event): force redraw in the focus-out case if the cursor
	is shown (so we can erase it), and also trick ourselves into
	drawing it immediately (by setting it to FALSE) in the focus-in
	case.

svn path=/trunk/; revision=20223
2003-03-07 22:57:40 +00:00
518cb00c28 removed erroneous static prototype (it is now supposed to be a public symbol)
svn path=/trunk/; revision=20222
2003-03-07 21:10:34 +00:00
0b5acb6141 All this snot just to fix bug #38925 and an attempt to fix bug #38926 (but
2003-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	All this snot just to fix bug #38925 and an attempt to fix bug
	#38926 (but it seems no matter what I do, I can't work around the
	bonoboness/modality/whatever of the shell's preferences dialog).

	* mail-account-gui.c (sig_add_new_signature): Get the toplevel
	parent GtkWindow and pass that along to
	mail_composer_prefs_new_signature() so that window layering can be
	done correctly.

	* mail-composer-prefs.c (mail_composer_prefs_new_signature):
	Simplify. We don't want to add the signature to the list until
	after they have saved.
	(sig_edit_cb): Pass FALSE as the is_new argument to
	mail_signature_editor().
	(sig_event_client): Listen for signatures being added.
	(mail_composer_prefs_new_signature): Now takes a GtkWindow arg as
	the first arg rather than a MailComposerPrefs arg since we don't
	really need it to be a MailComposerPrefs object. We'd rather use
	the first arg as the parent GtkWindow so that we can set
	transience for the editor window.

	* mail-signature-editor.c (mail_signature_editor): Now takes a
	'parent' argument (so we can set transient_for()) and a 'is_new'
	argument specifying whether the editor is editing a new signature
	or not. If it is, when the user saves, it will be added to the
	signature list. otherwise it won't.
	(sig_name_changed): Only use the mail_config_signature_set_name()
	interface if it is *not* a new signature.
	(menu_file_save_cb): If is_new, then save the signature to the
	config - otherwise do what we did before and set the modifications
	to it and emit the CHANGED event.

	* mail-config.c (mail_config_signature_new): Renamed from
	mail_config_signature_add(). We no longer immediately add the
	signature to the list of saved signatures.
	(mail_config_signature_add): New function which adds the signature
	and emits the SIG_ADDED event.

svn path=/trunk/; revision=20221
2003-03-07 20:54:54 +00:00
fd2588484f Add some escapes to the newly added locations so they get split properly.
* Locations (name): Add some escapes to the newly added locations
so they get split properly.

* e-summary-weather.c (e_summary_weather_init_locations): Fetch
the Locations file from the right path.  If you find an invalid
entry in the Locations file, complain with an informative
g_warning() instead of just returning FALSE.
(e_summary_weather_fill_etable): Do the same thing here.

svn path=/trunk/; revision=20220
2003-03-07 19:46:38 +00:00
36d9b4794e If the part url is a text part, use
2003-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (on_url_requested): If the part url is a text
	part, use mail_format_data_wrapper_write_to_stream(). This should
	fix bug #39204.

	* mail-format.c (mail_format_data_wrapper_write_to_stream): Make public.

svn path=/trunk/; revision=20219
2003-03-07 18:43:38 +00:00
d17a298a0c Updated Swedish translation.
2003-03-07  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.

svn path=/trunk/; revision=20218
2003-03-07 17:59:49 +00:00