Commit Graph

17872 Commits

Author SHA1 Message Date
c8de5a0059 Ensure cmdbuf is initialized to avoid compiler warning.
2003-05-16  Jeremy Katz  <katzj@redhat.com>

 	* providers/smtp/camel-smtp-transport.c (smtp_helo): Ensure cmdbuf
 	is initialized to avoid compiler warning.

 	* providers/local/camel-mbox-summary.c (summary_header_load): Cast
 	folder_size to uint32 to fix warning.
 	(camel_mbox_summary_sync_mbox): Update for new API.

 	* providers/imap/camel-imap-utils.c (parse_params):
 	imap_parse_nstring expects size_t, not int
 	(imap_body_decode): Likewise.

 	* camel-stream-filter.c (do_read): presize needs to be size_t
 	instead of int.
 	(do_write): Likewise.

 	* camel-seekable-substream.c (stream_read): Return ssize_t instead
 	of int to match prototypes.
 	(stream_write): Likewise.

 	* camel-mime-part.c (construct_from_parser): len needs to be
 	size_t instead of int.

 	* camel-mime-parser.c (folder_scan_step): datalength needs to be a
 	size_t* instead of an int* to make dependent APIs safe.
 	(camel_mime_parser_step): Likewise.
 	(folder_scan_content): Likewise.
 	* camel-mime-parser.h: Likewise.

 	* camel-mime-message.c (camel_mime_message_class_init): Use glib
 	macro for pointer/int conversions.
 	(construct_from_parser): Update for new API.

 	* camel-folder-summary.c
 	(camel_folder_summary_info_new_from_parser): Update len to be
 	size_t for new API.
 	(summary_build_content_info): Likewise.
 	* camel-http-stream.c (http_get_headers): Likewise.
 	* camel-mime-part-utils.c
 	(simple_data_wrapper_construct_from_parser): Likewise.
 	* camel-multipart-signed.c (signed_construct_from_parser): Likewise.
 	* camel-multipart.c (construct_from_parser): Likewise.

 	* camel-folder-search.c (match_words_index): Use glib macros for
 	pointer/int conversions.
 	* camel-html-parser.c (tokenise_setup): Likewise.
 	(convert_entity): Likewise.
 	* camel-block-file.c (block_hash_func): Likewise.
 	(camel_block_file_get_block): Likewise.
 	(camel_block_file_get_block): Likewise.
 	(camel_block_file_detach_block): Likewise.
 	* camel-session.c (session_thread_msg_new): Likewise.
 	(session_thread_msg_free): Likewise.
 	(session_thread_wait): Likewise.
 	* camel-text-index.c (text_index_compress_nosync): Likewise.
 	(text_index_compress_nosync): Likewise.
 	(camel_text_index_validate): Likewise.
 	* camel-vee-folder.c (vee_folder_remove_folder): Likewise.
 	(unmatched_check_uid): Likewise.
 	(folder_added_uid): Likewise.
 	(vee_folder_build_folder): Likewise.
 	(folder_changed_add_uid): Likewise.
 	(folder_changed_remove_uid): Likewise.
 	* providers/imap/camel-imap-search.c (imap_body_contains): Likewise.
 	* providers/pop3/camel-pop3-folder.c (cmd_list): Likewise.
 	(cmd_uidl): Likewise.

 	* camel-data-cache.c (data_cache_init): Cast to CamelCopyFunc.
 	Fixes a warning.

svn path=/trunk/; revision=21220
2003-05-16 18:47:59 +00:00
2679330687 Make sure the galview.xml file exists before trying to parse it with
2003-05-16  Jeffrey Stedfast  <fejj@ximian.com>

	* gal-view-collection.c (load_single_dir): Make sure the
	galview.xml file exists before trying to parse it with
	xmlParseFile() to avoid warning spewage from libxml2.

svn path=/trunk/; revision=21219
2003-05-16 18:27:37 +00:00
0454e4c493 Move the tools to a more appropriate directory, privlibexecdir
2003-05-16  Rodney Dawes  <dobey@ximian.com>

	* addressbook/backend/ebook/Makefile.am: Move the tools to a
 	more appropriate directory, privlibexecdir

svn path=/trunk/; revision=21218
2003-05-16 18:17:27 +00:00
5bd1bfa802 Revert the patch I didn't mean to commit anyway
svn path=/trunk/; revision=21217
2003-05-16 18:10:53 +00:00
3f0276903b Add bug #.
svn path=/trunk/; revision=21216
2003-05-16 18:10:29 +00:00
d4e6bc07fe (destroy): Remove the weak pointer on priv->control.
svn path=/trunk/; revision=21215
2003-05-16 17:56:59 +00:00
0ff5b5cadf Don't connect to the focus-out-event in order to update the mime-type.
2003-05-15  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
	Don't connect to the focus-out-event in order to update the
	mime-type. Simply don't update the mime-type ever. Fixes bug
	#42798.

svn path=/trunk/; revision=21214
2003-05-16 16:55:07 +00:00
3df368c570 (setup_calendar): Fix typo, celendar_path
-> calendar_path.

svn path=/trunk/; revision=21213
2003-05-16 16:45:10 +00:00
98204f8997 Check for libgcc stuff to make solaris happy
2003-05-15  Rodney Dawes  <dobey@ximian.com>

	* configure.in: Check for libgcc stuff to make solaris happy

	* gui/component/Makefile.am: libgcc fix for Solaris __eprintf issue

svn path=/trunk/; revision=21212
2003-05-16 15:39:16 +00:00
4870933205 unref the client and the ui component
2003-05-15  JP Rosevear  <jpr@ximian.com>

 	* gui/dialogs/comp-editor.c (comp_editor_finalize): unref the
 	client and the ui component

svn path=/trunk/; revision=21211
2003-05-16 14:57:15 +00:00
0873f0f22e Fixes #41935
2003-05-15  JP Rosevear  <jpr@ximian.com>

 	Fixes #41935

 	* gui/e-week-view.c (e_week_view_init): listen for scroll events
 	on the canvas
 	(e_week_view_on_button_press): don't scroll here
 	(e_week_view_on_scroll): scroll here

 	* gui/e-day-view.c (e_day_view_init): listen for scroll events on
 	the time and main canvases
 	(e_day_view_on_main_canvas_button_press): don't scroll here
 	(e_day_view_on_main_canvas_scroll): scroll here
 	(e_day_view_on_time_canvas_scroll): and here

svn path=/trunk/; revision=21210
2003-05-16 14:55:37 +00:00
58c259ace1 Fixes #43029
2003-05-15  JP Rosevear  <jpr@ximian.com>

 	Fixes #43029

 	* gui/e-week-view.c (e_week_view_init): don't listen for destroy
 	signal
 	(e_week_view_destroy): check for NULL and make invisible NULL
 	after we destroy it, unref cursors and NULL them out as well,
 	guard against freeing events multiple times

 	* gui/e-day-view.c (e_day_view_destroy): check for NULL and make
 	invisible NULL after we destroy it, unref cursors and NULL them
 	out as well, guard against freeing events multiple times
 	(e_day_view_init): don't listen for destroy signal

 	* gui/e-calendar-table.c (e_calendar_table_init): don't listen for
 	destroy signal
 	(e_calendar_table_destroy): check for NULL and make invisible NULL
 	after we destroy it

svn path=/trunk/; revision=21208
2003-05-16 14:36:56 +00:00
89140b1640 Fixes #41930
2003-05-15  JP Rosevear  <jpr@ximian.com>

	Fixes #41930

 	* idl/evolution-calendar.idl: Make sure everything that can raise
 	a NotFound exception lists it

svn path=/trunk/; revision=21207
2003-05-16 14:35:08 +00:00
53d468e614 Fixes #43101
2003-05-15  JP Rosevear  <jpr@ximian.com>

	Fixes #43101

	* e-summary-mail.c (e_summary_folder_unregister_storage): unref
	the storage after use not before

svn path=/trunk/; revision=21206
2003-05-16 14:32:25 +00:00
f321d22f42 add more ab fixes
svn path=/trunk/; revision=21205
2003-05-16 00:57:20 +00:00
7a0a2d3e44 this change fixes 43090 too
svn path=/trunk/; revision=21204
2003-05-16 00:56:51 +00:00
bf4ef74000 ** See bug #42838.
2003-05-15  Not Zed  <NotZed@Ximian.com>

        ** See bug #42838.

        * mail-account-gui.c (mail_account_gui_build_extra_conf): always
        add the extra entry to the hash table, most paths wouldn't.

svn path=/trunk/; revision=21203
2003-05-15 23:37:02 +00:00
383b5fe9d7 Simplistic quick-fix for #42710. Add a charset argument. If the data is 8
2003-05-15  Not Zed  <NotZed@Ximian.com>

        * camel-mime-utils.c (header_decode_word): Simplistic quick-fix
        for #42710.  Add a charset argument.  If the data is 8 bit, try to
        decode into the passed in charset (i.e. the message header?), at
        worst, fall back to latin1, similarly to header_decode_text.
        Fixed all callers to pass in a charset if available, or NULL.

svn path=/trunk/; revision=21202
2003-05-15 23:30:06 +00:00
ad19cadacb backing out a tiny porting of jpr's fix - we need to set the book on the
2003-05-15  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (book_open_cb): backing out a tiny
	porting of jpr's fix - we need to set the book on the
	EAddressbookView, or else it won't do queries, and it won't show
	any cards.  Fixes #43023, #43090.

svn path=/trunk/; revision=21201
2003-05-15 22:50:29 +00:00
071c74bd36 new function, split out the duplicated teardown code from final_cb and
2003-05-15  Chris Toshok  <toshok@ximian.com>

	* gui/merging/e-card-merging.c (free_lookup): new function, split
	out the duplicated teardown code from final_cb and final_id_cb.
	also, unref the card.
	(final_id_cb): call free_lookup.
	(final_cb): same.
	(e_card_merging_book_add_card): ref the card.  fixes bug #43016.

svn path=/trunk/; revision=21200
2003-05-15 22:47:53 +00:00
522e7942df (do_summary_print): Remove preview arg. Also, make
it destroy the dialog after a button has been clicked.
(e_summary_set_control): Add casts to avoid compiler warnings.

svn path=/trunk/; revision=21199
2003-05-15 21:58:07 +00:00
7e7b7f49e8 Disable debugging messages.
* gal-view-collection.c (d): Disable debugging messages.

* gal-view-instance.c (d): Disable debugging messages.

svn path=/trunk/; revision=21198
2003-05-15 21:56:40 +00:00
b47a4aa4ee (tree_canvas_size_allocate): Call
tree_canvas_reflow_idle() before deciding whether to move the
adjustment, not afterwards.  [#42952]

svn path=/trunk/; revision=21197
2003-05-15 20:58:15 +00:00
13006ba0dc ref ourselves the number of times we'll get called back
2003-05-15  JP Rosevear  <jpr@ximian.com>

	* gui/e-meeting-time-sel.c
	(e_meeting_time_selector_refresh_free_busy): ref ourselves the
	number of times we'll get called back

svn path=/trunk/; revision=21196
2003-05-15 20:24:19 +00:00
6cdf75996f use weak refs not datasets. (e_tree_dispose): weak_unref the context.
2003-05-14  Mike Kestner  <mkestner@ximian.com>

	* e-tree-c (context_connect): use weak refs not datasets.
	(e_tree_dispose): weak_unref the context.
	Hopefully fixes 42617.

svn path=/trunk/; revision=21195
2003-05-15 18:33:47 +00:00
ca848e5756 Protect against the component name having slashes in it.
* e-shell.c (parse_default_uri): Protect against the component
name having slashes in it.

* e-shell-view.c (display_uri): Protect against invalid "default:"
URIs.  [#43079]

svn path=/trunk/; revision=21194
2003-05-15 18:19:16 +00:00
1e478fe94b Only delete the index if it is non-NULL. Fixes bug #42763.
2003-05-13  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/local/camel-local-folder.c (local_delete): Only delete
	the index if it is non-NULL. Fixes bug #42763.

svn path=/trunk/; revision=21193
2003-05-15 18:05:14 +00:00
ee8e8b6bae Disabled some debugging messages.
2003-05-14  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c: Disabled some debugging messages.

svn path=/trunk/; revision=21192
2003-05-15 17:58:01 +00:00
d484d566e3 Updated NEWS
svn path=/trunk/; revision=21191
2003-05-15 16:39:30 +00:00
4710bfbfe3 #ifdef'ed wombat killing code, depending on whether KILL_PROCESS_CMD is
2003-05-15  Rodrigo Moya <rodrigo@ximian.com>

	* main.c: #ifdef'ed wombat killing code, depending on whether
	KILL_PROCESS_CMD is defined or not.
	(kill_wombat): kill also the alarm daemon process.

svn path=/trunk/; revision=21190
2003-05-15 15:57:34 +00:00
dc63f2f76f [Patch from Antonio Xu <antonio.xu@sun.com>, #42491]
* e-config-upgrade.c (upgrade_xml_1_2_rec): Make it compile on
Forte.

svn path=/trunk/; revision=21189
2003-05-15 15:21:17 +00:00
e8525e5956 Updated NEWS
svn path=/trunk/; revision=21188
2003-05-15 11:21:56 +00:00
1c3b066622 ** See bug #42540
2003-05-14  Not Zed  <NotZed@Ximian.com>

        ** See bug #42540

        * camel-service.c (camel_gethostbyname): pre-initialise the error
        return to invalid, so if we cancel, we definetly get a bad result.
        Also, for a valid return against result, not herr.
        (camel_gethostbyaddr): Likewise.

svn path=/trunk/; revision=21187
2003-05-15 01:00:56 +00:00
a5d90d4a76 add more ab fixes
svn path=/trunk/; revision=21186
2003-05-14 23:48:13 +00:00
4393cb1895 Fixes #41579
2003-05-14  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #41579

	* src/libical/icalcomponent.c (icalcomponent_new_clone): don't add the
	property if it's NULL.

svn path=/trunk/; revision=21185
2003-05-14 22:04:39 +00:00
b9d38c709a replace the text_buffer_delete/text_buffer_insert with
2003-05-14  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor.c (full_addr_clicked):
	replace the text_buffer_delete/text_buffer_insert with
	set_buffer_set_text.  call widget_changed if they clicked OK, so
	we actually mark the dialog changed.
	(fill_in_field): make this handle GtkTextViews, because for some
	reason that escapes rational thought GtkTextView's don't implement
	GtkEditable.  fixes #42606.
	(extract_field): same.

svn path=/trunk/; revision=21184
2003-05-14 22:00:45 +00:00
7535239b99 set the clip_height on reflow so the name of the field is as high as the
2003-05-12  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-minicard-label.c (e_minicard_label_reflow): set
	the clip_height on reflow so the name of the field is as high as
	the field's value.  makes it possible to click anywhere to the
	left of a tall field (like an address) and have it select the
	field.  Fixes #42625.

svn path=/trunk/; revision=21183
2003-05-14 21:56:17 +00:00
b92fb7c88f handle the case where we haven't filled in the address yet. fixes #42620.
2003-05-14  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor.c (address_mailing_changed):
	handle the case where we haven't filled in the address yet. fixes
	#42620.

svn path=/trunk/; revision=21182
2003-05-14 21:52:26 +00:00
946d755adc add proto
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* mail-local.h: add proto

	* mail-local.c (storage_listener_startup): don't listen for
	destruction, because we have a ref and it'll never happen
	(mail_local_storage_shutdown): release and unref the local storage

	* mail-display.c (retrieve_shell_view_interface_from_control):
	return a new copy every time
	(set_status_message): release and unref the shell view

	* folder-browser.c (folder_browser_destroy): guard for multiple
	destroys

	* folder-browser-factory.c (control_activate): release and unref
	the shell view
	(control_destroy_cb): just remove the control from the list
	(folder_browser_factory_new_control): don't weak ref the folder
	browser

	* component-factory.c (owner_unset_cb): shutdown local storage

svn path=/trunk/; revision=21181
2003-05-14 18:47:11 +00:00
352d3c7d3b guard against multiple destroys
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* gui/e-tasks.c (e_tasks_destroy): guard against multiple destroys

	* cal-client/cal-client.c (cal_client_finalize): unref the
	bonobo listener

	* gui/gnome-cal.c (gnome_calendar_destroy): guard against multiple
	destroy calls

	* gui/e-week-view.c (e_week_view_init): connect after destroy
	(invisible_destroyed): don't unref, its already destroyed

	* gui/e-day-view.c (e_day_view_init): connect after destroy
	(invisible_destroyed): don't unref, its already destroyed

	* gui/e-calendar-table.c (e_calendar_table_class_init): make sure
	we set the parent class
	(e_calendar_table_init): connect after the destroy handler runs
	(e_calendar_table_destroy): guard against multiple destroys
	(invisible_destroyed): don't unref the invisible, its already
	being destroyed

	* gui/calendar-offline-handler.c (backend_cal_set_mode): unref the
	client, we are done with it now
	(backend_cal_opened_online): ditto
	(impl_dispose): unref our main client

	* gui/calendar-commands.c (control_util_set_folder_bar_label):
	release/unref the shell view once we are done with it
	(control_util_show_settings): ditto

svn path=/trunk/; revision=21180
2003-05-14 18:45:55 +00:00
0203f5de76 clear the view (book_open_cb): track the book in the view, don't unref the
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* gui/component/addressbook.c (addressbook_view_unref): clear the
	view
	(book_open_cb): track the book in the view, don't unref the book
	(set_prop): set the book
	(retrieve_shell_view_interface_from_control): get the shell view
	every time
	(set_folder_bar_label): release and unref the shell view

	* gui/component/addressbook-storage.h: add proto

	* gui/component/addressbook-storage.c
	(addressbook_storage_cleanup): unref the storage

	* gui/component/addressbook-component.c (owner_unset_cb): clean up
	storage

	* backend/ebook/e-book.c (e_book_load_uri): track the listener
	signal
	(e_book_dispose): unref the listener and disconnect the signal

svn path=/trunk/; revision=21179
2003-05-14 18:44:27 +00:00
d49d8a2f15 guard against multiple destroys
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* e-combo-button.c (impl_destroy): guard against multiple destroys

2003-05-14  JP Rosevear  <jpr@ximian.com>

	* menus/gal-view-menus.c (gvm_finalize): unref the component

svn path=/trunk/; revision=21178
2003-05-14 18:42:38 +00:00
bd1f703edb fix up protos
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* e-summary.h: fix up protos

	* e-summary.c (e_summary_get_control): accessor
	(e_summary_set_control): ditto
	(retrieve_shell_view_interface): util to get the shell view
	(e_summary_change_current_view): use it
	(e_summary_set_message): ditto
	(e_summary_unset_message): ditto

	* e-summary-mail.h: add proto

	* e-summary-mail.c (e_summary_mail_get_info): use the objref of
	the listener
	(e_summary_folder_unregister_storage): clean up a registered
	storage
	(e_summary_folder_register_storages): store the listener directly
	(folder_info_pb_changed): unref the listener once we are notified
	(lazy_register_storages): release and unref the property bag,
	event and listener
	(e_summary_folder_init_folder_store): track the listener
	(e_summary_folder_clear_folder_store): cleanup the folder store

	* e-summary-factory.c (control_activate_cb): we don't get the
	shell view here any more
	(e_summary_factory_new_control): don't pass in the shell, set the
	control on the summary

	* component-factory.c (owner_unset_cb): clear the folder store on
	destruction

svn path=/trunk/; revision=21177
2003-05-14 18:40:01 +00:00
74ee7fe6ae release the interface if we got it
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* e-shell.c (save_settings_for_component): release the interface
	if we got it

	* e-shell-view.c: include bonobo-exception.h
	(impl_dispose): release and unref the shell view corba interface
	(init): init to CORBA_OBJECT_NIL
	(e_shell_view_get_corba_interface): return the corba interface
	(setup_corba_interface): release the existing shell view, add as
	an interface and then query to get it back
	(get_view_for_uri): release and unref the control once we create
	the widget with it

	* e-corba-storage.c (storage_listener_servant_new): don't ref
ourselves
	(storage_listener_servant_free): don't unref ourselves
	(impl_dispose): free the servant info

	* e-corba-storage-registry.c
	(impl_StorageRegistry_getStorageByName): we need to ref as well as
	duplicate since we didn't create the storage here

svn path=/trunk/; revision=21176
2003-05-14 18:39:22 +00:00
6e8895d6e8 gross hack to work around a post dispose event emission by
2003-05-13  Mike Kestner  <mkestner@ximian.com>

	* e-table-item.c (eti_event): gross hack to work around a
	post dispose event emission by gtk2.0/canvas2.0 [#42622]

svn path=/trunk/; revision=21174
2003-05-14 17:56:50 +00:00
0297c01437 Added a note to the comment block for this function noting that uids MUST
2003-05-13  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-utils.c (imap_uid_array_to_set): Added
	a note to the comment block for this function noting that uids
	MUST be in sorted order.

	* providers/imap/camel-imap-folder.c (imap_expunge_uids_online):
	Sort the uids before splitting them into UID set chunks. The code
	that splits the uid array into sets expects the uids to be in
	sorted order. Fixes bug #42854.

	* providers/imap/camel-imap-command.c (imap_command_start):
	Re-enable camel_verbose_debug logging.

svn path=/trunk/; revision=21173
2003-05-14 17:53:47 +00:00
34eb18b30b Fix the last part of #113003.
2003-05-14  Anders Carlsson  <andersca@codefactory.se>

	* sv.po: Fix the last part of #113003.

svn path=/trunk/; revision=21172
2003-05-14 17:44:25 +00:00
6c7e517fb7 Fix #113003 in bugzilla.gnome.org.
2003-05-14  Christian Rose  <menthos@menthos.com>

	* sv.po: Fix #113003 in bugzilla.gnome.org.

svn path=/trunk/; revision=21171
2003-05-14 17:11:19 +00:00
fe899dafe9 Updated a bit.
2003-05-14  Kenneth Rohde Christiansen  <kenneth@gnu.org>

        * da.po: Updated a bit.

svn path=/trunk/; revision=21170
2003-05-14 15:56:27 +00:00
22bc59beb2 Updated by Francisco Javier Fernandez <serrador@arrakis.es>
2003-05-14  Carlos Perelló Marín <carlos@gnome.org>

	* es.po: Updated by Francisco Javier Fernandez <serrador@arrakis.es>

svn path=/trunk/; revision=21169
2003-05-14 11:20:50 +00:00