Commit Graph

18585 Commits

Author SHA1 Message Date
7e0411b464 If the system defines AI_ADDRCONFIG, set this flag on the hints.ai_flags
2003-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* e-host-utils.c (e_gethostbyname_r): If the system defines
	AI_ADDRCONFIG, set this flag on the hints.ai_flags member as well
	so that we don't resolve a host to an IPv6 addr when the node
	doesn't have any IPv6 source addresses.

svn path=/trunk/; revision=23077
2003-10-24 21:59:47 +00:00
b884a64790 added a configure check for AI_ADDRCONFIG
2003-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* configure.in: added a configure check for AI_ADDRCONFIG

svn path=/trunk/; revision=23076
2003-10-24 21:57:11 +00:00
10c4c2efcf removed mail-summary.c
svn path=/trunk/; revision=23073
2003-10-24 21:03:04 +00:00
6886ea064b get rid of this bloody file...
svn path=/trunk/; revision=23072
2003-10-24 20:13:49 +00:00
6193e7ae7a more cruft gone to the bit bucket...
svn path=/trunk/; revision=23071
2003-10-24 20:12:34 +00:00
822bfe90dd good bye...
svn path=/trunk/; revision=23070
2003-10-24 20:10:22 +00:00
5bbd872a0d removed more cruft
svn path=/trunk/; revision=23069
2003-10-24 20:08:48 +00:00
99c8241ebb removed unused files
svn path=/trunk/; revision=23068
2003-10-24 20:05:53 +00:00
e10b461c43 fixed POTFILES.in
svn path=/trunk/; revision=23067
2003-10-24 19:32:50 +00:00
5ae78b362f Re-Namespaced mail-accounts.c
2003-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	* em-account-prefs.[c,h]: Re-Namespaced mail-accounts.c

	* em-composer-prefs.[c,h]: Re-Namespaced mail-composer-prefs.c

	* em-mailer-prefs.[c,h]: Re-Namespaced mail-preferences.c

	* mail-accounts.[c,h]: Removed.

	* mail-composer-prefs.[c,h]: Removed.

	* mail-preferences.[c,h]: Removed.

	* mail-account-editor.c: Updated.

	* mail-account-gui.c: Updated.

	* mail-config-factory.c: Updated.

	* mail-component-factory.c: Updated.

svn path=/trunk/; revision=23066
2003-10-24 19:31:22 +00:00
602ee2f496 removed repeated initialization. (calendar_component_peek): use G_STRLOC
2003-10-24  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-component.c (calendar_component_class_init): removed
	repeated initialization.
	(calendar_component_peek): use G_STRLOC for g_warning's.

	* gui/tsaks-control.[ch] (tasks_control_activate,
	tasks_control_deactivate): made these 2 functions public.

	* gui/tasks-component.[ch]: implementation of the tasks component.

	* gui/Makefile.am:
	* gui/GNOME_Evolution_Calendar.server.in.in: added tasks component.

	* gui/main.c: ditto.
	(factory): added code to create the tasks component when requested.

svn path=/trunk/; revision=23065
2003-10-24 17:46:27 +00:00
ea5a22bc0e add AM_DISABLE_STATIC here too.
* configure.in: add AM_DISABLE_STATIC here too.

svn path=/trunk/; revision=23064
2003-10-24 16:59:33 +00:00
89e5f86d5e put back the conditional libpasldap stuff, and make evolution-wombat
* Makefile.am (evolution_wombat_LDADD): put back the conditional
	libpasldap stuff, and make evolution-wombat explicitly depend on
	the specific backends again; libpas itself cannot depend on the
	backends. Use libpcsfile.la for the calendar dependency, and
	remove libebook, libcal-util, libedb3util and libeutil, since
	they're properly pulled in by libtool now.

svn path=/trunk/; revision=23063
2003-10-24 15:41:14 +00:00
0e7e3a04bb libpas should depend on libebook, but NOT on libpasfile, etc, since it
* backend/pas/Makefile.am (libpas_la_LIBADD): libpas should depend
	on libebook, but NOT on libpasfile, etc, since it needs to be
	linked into all backends, not just the wombat.
	(libpasfile_la_LIBADD): depend on libpas.la and libedb3util.la
	(libpasvcf_la_LIBADD): depend on libpas.la
	(libpasldap_la_LIBADD): depend on libpas.la and  $(LDAP_LIBS)

svn path=/trunk/; revision=23062
2003-10-24 15:37:56 +00:00
8fcca0ed99 build libpcs.la and libpcsfile.la instead of just .a. (libpcs_la_LIBADD):
* pcs/Makefile.am: build libpcs.la and libpcsfile.la instead of
	just .a.
	(libpcs_la_LIBADD): depend on libcal-util.la and libeutil.la
	(libpcsfile_la_LIBADD): depend on libpcs.la

svn path=/trunk/; revision=23061
2003-10-24 15:35:50 +00:00
d965dbd839 add $(DB3_LDADD)
* Makefile.am (libedb3util_la_LIBADD): add $(DB3_LDADD)

svn path=/trunk/; revision=23060
2003-10-24 15:34:09 +00:00
56d094b8c0 Remove type arg
* cal-client/cal-client.c (cal_client_get_changes): Remove type arg

	* conduits/calendar/calendar-conduit.c (pre_sync, post_sync):
	Update for that

	* conduits/todo/todo-conduit.c (pre_sync, post_sync): Likewise

	* idl/evolution-calendar.idl (getChanges): Remove type arg.

	* pcs/cal.c (impl_Cal_getChanges): Likewise

	* pcs/cal-backend.c (cal_backend_get_changes): Likewise

	* pcs/cal-backend-sync.c (cal_backend_sync_get_changes): Likewise

	* pcs/cal-backend-file.c (cal_backend_file_get_changes): Update
	for that

svn path=/trunk/; revision=23059
2003-10-24 15:00:11 +00:00
53f60e8802 new functions for individual instances management.
2003-10-24  Rodrigo Moya <rodrigo@ximian.com>

	* cal-util/cal-util.[ch] (cal_util_construct_instance,
	cal_util_remove_instances): new functions for individual
	instances management.

	* pcs/cal-backend-file.c (cal_backend_file_get_object): if we
	dont have a recurrence in our hash table, generate one for the
	specified recurrence ID.
	(match_recurrence_sexp): new function to match recurrences on
	regular expresessions.
	(match_object_sexp): call match_recurrence_sexp() for all recurrences.
	(cal_backend_file_modify_object): handle mod_types.
	(cal_backend_file_remove_object): handle mod_types.

svn path=/trunk/; revision=23058
2003-10-24 14:39:28 +00:00
98f0136ffa update protos
2003-10-24  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.h: update protos

	* gui/gnome-cal.c (gnome_calendar_set_default_uri): set the
	default client based on uri

	* gui/calendar-component.c (add_uri_for_source): rename from
	load_uri_for_source and take a calendar
	(remove_uri_for_source): utility routine to remove the source's
	uri from the calendar
	(is_in_selection): checks to see if the uid of the given source
	matches any of those in the given selection
	(update_uris_for_selection): remove any uris no longer in the
	selection, add those that still exist
	(source_selection_changed_callback): call above
	(primary_source_selection_changed_callback): we have the calendar
	easily now; set the default by uri
	(control_activate_cb): handle activation and de-activation
	(impl_createControls): create the calendar control ourselves so we
	have access to the calendar
	(impl_dispose): release the source selection

svn path=/trunk/; revision=23057
2003-10-24 13:31:00 +00:00
5146cded3b Change YFLAGS to AM_YFLAGS to stop an automake 1.7 warning
* libversit/Makefile.am: Change YFLAGS to AM_YFLAGS to stop an
	automake 1.7 warning

svn path=/trunk/; revision=23056
2003-10-24 13:05:56 +00:00
5a08b885cc if the component received is an instance, add it to the recurrences hash
2003-10-23  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal-backend-file.c (add_component): if the component received
	is an instance, add it to the recurrences hash table.
	(free_recurrence): callback for g_hash_table_foreach() to free
	the recurrences in the CalBackendFileObject structure.
	(free_object): call free_recurrence for each recurrence.
	(remove_recurrence_cb): g_hash_table_foreach() callback to
	remove recurrences from the calendar.
	(remove_component): remove all recurrences.
	(cal_backend_file_open): check write access on the file, and
	set read_only flag appropriately.
	(cal_backend_file_is_read_only): return the private flag.
	(cal_backend_file_init): initialize read_only flag.
	(cal_backend_file_get_object): deal with recurrences.

	* gui/alarm-notify/notify-main.c (main): unref the alarm
	notification service when terminating.
	(client_die_cb): call bonobo_main_quit instead of gtk_main_quit.

svn path=/trunk/; revision=23055
2003-10-23 21:23:10 +00:00
e2ff6cc193 just uses the views array and the current view type (setup_widgets): ditto
2003-10-23  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_get_current_view_widget): just
	uses the views array and the current view type
	(setup_widgets): ditto
	(set_view): ditto
	(backend_died_cb): ditto
	(gnome_calendar_get_calendar_model): ditto
	(gnome_calendar_update_config_settings): ditto

svn path=/trunk/; revision=23054
2003-10-23 20:20:18 +00:00
10a4435447 Allocate colors using gdk_colormap_alloc_color().
2003-10-23  Hans Petter Jansson  <hpj@ximian.com>

	* e-table-item.c (eti_get_cell_background_color): Allocate
	colors using gdk_colormap_alloc_color().

svn path=/trunk/; revision=23053
2003-10-23 20:18:55 +00:00
b1be2a6d83 Removed unneeded CAMEL_OBJECT() casts.
2003-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* *.c: Removed unneeded CAMEL_OBJECT() casts.

svn path=/trunk/; revision=23052
2003-10-23 19:57:58 +00:00
18ca85654d Remove mail/importers/Makefile from AC_OUTPUT yet again
2003-10-23  Rodney Dawes  <dobey@ximian.com>

	* confiugre.in: Remove mail/importers/Makefile from AC_OUTPUT
	yet again

svn path=/trunk/; revision=23051
2003-10-23 19:33:45 +00:00
db08798692 s/smime-gui.glade/smime-ui.glade/
2003-10-23  Rodney Dawes  <dobey@ximian.com>

	* POTFILES.in: s/smime-gui.glade/smime-ui.glade/

svn path=/trunk/; revision=23050
2003-10-23 18:33:59 +00:00
b90af26ba8 Add some missing files, and remove files that have been removed from CVS
2003-10-23  Rodney Dawes  <dobey@ximian.com>

	* POTFILES.in: Add some missing files, and remove files
	that have been removed from CVS
	* POTFILES.skip: Add data/evolution.desktop.in

svn path=/trunk/; revision=23049
2003-10-23 17:27:20 +00:00
00829a7012 convert 8 spaces to a tab.
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* tools/Makefile.am: convert 8 spaces to a tab.

	* tools/.cvsignore: ignore evolution-addressbook-abuse and
	evolution-addressbook-clean.

	* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
	add libevolution-smime.la.

	* gui/component/component-factory.c (factory): add the certificate
	manager config control stuff here, at least for now.

	* gui/component/GNOME_Evolution_Addressbook.server.in.in: same.

svn path=/trunk/; revision=23048
2003-10-23 17:24:59 +00:00
71e7cc3890 add smime/* dirs. to AC_OUTPUT.
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* configure.in: add smime/* dirs. to AC_OUTPUT.

	* Makefile.am (SUBDIRS): add smime/.

svn path=/trunk/; revision=23047
2003-10-23 17:22:12 +00:00
a367121072 accept also text/calendar for D&D.
2003-10-23  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view.c: accept also text/calendar for D&D.

svn path=/trunk/; revision=23046
2003-10-23 16:36:14 +00:00
29442d9db3 use the internal client list to create the queries
2003-10-23  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.c (update_query): use the internal client list to
	create the queries
	(gnome_calendar_destroy): use the internal client list to
	disconnect signal handlers
	(gnome_calendar_add_event_uri): add the client to the internal
	list
	(gnome_calendar_remove_event_uri): remove the client from the
	internal list and lookup the client
	(gnome_calendar_update_config_settings): use the internal client
	list to update the config settings

svn path=/trunk/; revision=23045
2003-10-23 16:29:08 +00:00
86c72e886a fix typo (e_day_view_on_main_canvas_drag_data_received): fix C99 issue,
003-10-23  JP Rosevear <jpr@ximian.com>

	* gui/e-day-view.c (e_day_view_on_top_canvas_drag_data_received):
	fix typo
	(e_day_view_on_main_canvas_drag_data_received): fix C99 issue, fix
	typo

svn path=/trunk/; revision=23044
2003-10-23 16:28:40 +00:00
39e61ddef3 add smime files.
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* POTFILES.in: add smime files.

svn path=/trunk/; revision=23043
2003-10-23 16:12:38 +00:00
1609f69980 initial addition of s/mime foo.
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* lib/e-cert.[ch], lib/Makefile.am, gui/certificate-manager.[ch],
	gui/Makefile.am, gui/smime-ui.glade, Makefile.am: initial addition
	of s/mime foo.

svn path=/trunk/; revision=23042
2003-10-23 16:11:32 +00:00
eca844b013 remove and free op before return.
2003-10-23  Harry Lu  <harry.lu@sun.com>

	* cal-client/cal-client.c: (cal_client_get_timezone): remove and free
	op before return.

	* gui/e-cal-view.c (e_cal_view_add_event): modified from
	selection_received_add_event() so that it call be called out of
	e-cal-view.c.
	(selection_received): modified to call e_cal_view_add_event().

	* gui/e-cal-view.h: add declaration for e_cal_view_add_event().

	* gui/e-day-view.c (e_day_view_on_drag_data_get): Provide a
	icalcomponent for both TARGET_CALENDAR_EVENT and TARGET_VCALENDAR.
	(e_day_view_on_top_canvas_drag_data_received): If dragging between
	different windows, make it works like a copy and paste.
	(e_day_view_on_main_canvas_drag_data_received): ditto.

svn path=/trunk/; revision=23041
2003-10-23 16:10:09 +00:00
39e56385b1 handle the case where label == NULL, and set it to _("Unknown").
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* e-component-registry.c (query_components): handle the case where
	label == NULL, and set it to _("Unknown").

svn path=/trunk/; revision=23040
2003-10-23 15:51:57 +00:00
fb4cd03fda Check for gnome-thumbnail.h existence (really committed this time).
* configure.in: Check for gnome-thumbnail.h existence
        (really committed this time).

svn path=/trunk/; revision=23039
2003-10-23 15:37:28 +00:00
5524f90bdf Add "calendar:supported_protocol" attribute that was missing here (but was
Add
"calendar:supported_protocol" attribute that was missing here (but
was in the LDAP one).

svn path=/trunk/; revision=23038
2003-10-23 14:51:23 +00:00
6668238239 install all of the headers that ical.h now #includes
* src/libical/Makefile.am (libical_evolutioninclude_HEADERS):
	install all of the headers that ical.h now #includes

svn path=/trunk/; revision=23037
2003-10-23 14:42:45 +00:00
5fa4b831a7 update g_date calls to non-deprecated calls
2003-10-23  JP Rosevear <jpr@ximian.com>

	* cal-util/cal-recur.c: update g_date calls to non-deprecated
	calls

	* cal-util/Makefile.am: turn off deprecated funcs

	* cal-client/Makefile.am: turn off deprecated funcs

	* cal-client/cal-client.c (cal_client_get_error_message): add OK
	message

	* pcs/cal-backend.[hc]: remove dead funcs

	* pcs/query.c: tidy headers

svn path=/trunk/; revision=23035
2003-10-23 13:55:00 +00:00
e047d6366a OOps, I forgot this one.
add gnome-thumbnail.h detection

svn path=/trunk/; revision=23034
2003-10-23 13:48:39 +00:00
d173f20d8a Fix c/p typo - call removed instead of modify
2003-10-23  JP Rosevear <jpr@ximian.com>

	* pcs/query.c (query_notify_objects_removed_1): Fix c/p typo -
	call removed instead of modify

svn path=/trunk/; revision=23033
2003-10-23 13:11:51 +00:00
bdaae91bfe guard against irrelevant args (ie if there was an error)
2003-10-23  JP Rosevear <jpr@ximian.com>

 	* pcs/cal.c (cal_notify_object_modified): guard against irrelevant
 	args (ie if there was an error)
 	(cal_notify_object_removed): ditto
 	(cal_notify_timezone_added): ditto

 	* pcs/cal-backend-sync.c (_cal_backend_is_read_only): init value
 	to something known
 	(_cal_backend_get_cal_address): ditto
 	(_cal_backend_get_alarm_email_address): ditto
 	(_cal_backend_get_ldap_attribute): ditto
 	(_cal_backend_get_static_capabilities): ditto
 	(_cal_backend_modify_object): ditto
 	(_cal_backend_remove_object): ditto
 	(_cal_backend_get_object_list): ditto

2003-10-22  JP Rosevear <jpr@ximian.com>

 	* gui/e-cal-list-view.c (e_cal_list_view_new): create a model and
 	pass it as an arg during creation

 	* gui/e-day-view.c (e_day_view_new): unref the model

 	* gui/e-week-view.c (e_week_view_new): ditto

2003-10-22  JP Rosevear <jpr@ximian.com>

 	* cal-client/cal-client.c (cal_client_get_object): only change to
 	invalid object error code if we got the object but couldn't parse
 	it, and only check for timezones if we had success

 	* gui/comp-util.c (cal_comp_is_on_server): don't throw a warning
 	if the object simply does not exist

svn path=/trunk/; revision=23032
2003-10-23 12:54:43 +00:00
c1103e4a29 make it work with the new ebook api
003-10-21  JP Rosevear <jpr@ximian.com>

 	* conduit/address-conduit.c: make it work with the new ebook api

 	* backend/pas/pas-book.c (pas_book_respond_get_changes): put the
 	vcard in for every change

 	* backend/pas/pas-backend.c (pas_backend_change_add_new): just use
 	the vcard field
 	(pas_backend_change_modify_new): ditto
 	(pas_backend_change_delete_new): ditto

 	* backend/pas/pas-backend-file.c
 	(pas_backend_file_changes_foreach_key): create a fake contact with
 	the uid
 	(pas_backend_file_get_changes): add the card to the changes

 	* backend/ebook/tests/ebook/test-changes.c (main): just print the
 	uid

 	* backend/ebook/e-book.c (e_book_free_change_list): unref the
 	contact

 	* backend/ebook/e-book-types.h: the change struct contains an
 	EContact now

 	* backend/ebook/e-book-listener.c
 	(impl_BookListener_respond_get_changes): create the contact from
 	the vcard string

 	* backend/idl/addressbook.idl: Book change item is no longer a
 	union, it always gives back a card

svn path=/trunk/; revision=23031
2003-10-23 12:52:46 +00:00
2c1e34fa85 connect also to ETableModel's "model_cell_changed" signal.
2003-10-23  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-cal-view.c (e_cal_view_init): connect also to ETableModel's
	"model_cell_changed" signal.
	(e_cal_view_set_model): likewise.
	(model_cell_changed_cb): callback for "model_cell_changed".
	(e_cal_view_destroy): use g_signal_handlers_disconnect_matched instead
	of g_signal_handlers_disconnect_by_func, so that all handlers are
	disconnected.

svn path=/trunk/; revision=23029
2003-10-23 10:48:12 +00:00
ccef3fc1c7 fixed typo in variable name.
2003-10-23  Rodrigo Moya <rodrigo@ximian.com>

	* gui/component/addressbook-config.c
	(addressbook_dialog_create_source_table): fixed typo in variable name.

svn path=/trunk/; revision=23028
2003-10-23 09:16:41 +00:00
f9e394b345 new function to remove calendars from the views.
2003-10-22  Rodrigo Moya <rodrigo@ximian.com>

	* gui/gnome-cal.[ch] (gnome_calendar_remove_event_uri): new
	function to remove calendars from the views.

svn path=/trunk/; revision=23027
2003-10-23 07:40:08 +00:00
b467d0af35 Add an "evolution:button_icon" attribute.
svn path=/trunk/; revision=23025
2003-10-23 00:22:42 +00:00
112f600af2 Add an "evolution:button_icon" attribute.
Add an
"evolution:button_icon" attribute.

svn path=/trunk/; revision=23024
2003-10-23 00:22:22 +00:00
0935ca72c9 Add a little border to the buttons so it looks nicer.
* e-sidebar.c (e_sidebar_add_button): Add a little border to the
buttons so it looks nicer.

* e-component-registry.c (query_components): Set an icon from the
"evolution:button_icon" attribute.

svn path=/trunk/; revision=23023
2003-10-23 00:20:01 +00:00