Commit Graph

18592 Commits

Author SHA1 Message Date
238350ee21 store config objects as well (gnome_calendar_set_default_uri): return
2003-10-27  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.c (setup_widgets): store config objects as well
	(gnome_calendar_set_default_uri): return FALSE if the
	pre-condition fails
	(gnome_calendar_update_config_settings): remove settings that are
	now handled by the config objects

	* gui/e-week-view.c (e_week_view_set_compress_weekend): queue a
	draw

	* gui/e-itip-control.c (start_default_server): comment out

	* gui/e-day-view-config.[hc]: a class to track config changes of
	interest to day views

	* gui/e-week-view.[hc]: ditto for week views

	* gui/calendar-config.h: add protos

	* gui/calendar-config.c: use the #defines for the keys and add
	notification routines

	* gui/calendar-config-keys.h: a list of defines for gconf keys

	* gui/Makefile.am: build new files

svn path=/trunk/; revision=23094
2003-10-27 22:46:10 +00:00
aa7103dfa1 Fix for "50065 chinese locales Input method hangs after a task entry and
* Fix for "50065 chinese locales Input method hangs after a task entry
        and new folder creation"

        * gal/e-table/e-cell-text.c: (ect_event) Added check to return
        if preedit_length == 0 and E_CELL_PREEDIT flag is set.

svn path=/trunk/; revision=23093
2003-10-27 22:21:18 +00:00
e2881f6524 Fixes bug #49816
2003-10-27  Jeffrey Stedfast  <fejj@ximian.com>

	* Fixes bug #49816

	* em-popup.c (emp_part_popup_reply_sender): No need to pass a
	parent window arg anymore.
	(emp_part_popup_reply_list): Same.
	(emp_part_popup_reply_all): Here too.
	(emp_part_popup_forward): Same.
	(emp_uri_popup_address_send): Here too.

	* em-folder-browser.c (emfb_mail_compose): No need to pass a
	parent window arg anymore.
	(emfb_mail_post): Same.

	* em-folder-view.c (emfv_message_reply): Don't pass a parent
	window argument anymore.
	(emfv_popup_forward): Same.
	(emfv_popup_resend): Same here.
	(em_folder_view_open_selected): Same.
	(emfv_message_forward_attached): Here too.
	(emfv_message_forward_inline): And here.
	(emfv_message_forward_quoted): Same.
	(emfv_message_redirect): Here too.
	(emfv_message_post_reply): And here.
	(emfv_format_link_clicked): ANd finally here.

	* em-utils.c (create_new_composer): Don't set_transient_for()
	anymore.
	(em_utils_compose_new_message): No longer takes a parent window
	argument.
	(em_utils_forward_attached): No longer takes a parent window arg.
	(em_utils_forward_inline): Same.
	(em_utils_forward_quoted): Same.
	(em_utils_forward_message): Same.
	(em_utils_forward_messages): Here too.
	(redirect_get_composer): Don't set_transient_for() here either.
	(em_utils_redirect_message): No longer takes a parent window arg.
	(em_utils_redirect_message_by_uid): Same.
	(reply_get_composer): Don't set_transient_for() here.
	(em_utils_reply_to_message): No longer takes a parent window arg.
	(em_utils_reply_to_message_by_uid): Same.
	(post_reply_to_message): Don't set_transient_for() here.
	(em_utils_post_reply_to_message_by_uid): No longer takes a parent
	window arg.
	(em_utils_compose_new_message_with_mailto): Don't
	set_transient_for() here.
	(em_utils_post_to_url): Same.
	(em_utils_edit_message): No longer takes a parent window arg.
	(em_utils_edit_messages): Same.

svn path=/trunk/; revision=23092
2003-10-27 21:31:19 +00:00
779d9a48b8 If a word is longer than CAMEL_TEXT_INDEX_MAX_WORDLEN, then ignore it.
2003-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-text-index.c (text_index_name_add_buffer): If a word is
	longer than CAMEL_TEXT_INDEX_MAX_WORDLEN, then ignore it. This
	fixes bug #50096.

svn path=/trunk/; revision=23091
2003-10-27 20:21:19 +00:00
81a6d7f5fe changed fill_component_from_model virtual method to get an ETableModel,
2003-10-27  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-cal-model.h: changed fill_component_from_model virtual
	method to get an ETableModel, not an ECalModel.

	* gui/e-cal-model.c (ecm_append_row): the source model sent from
	ETable is an ETableModel, not an ECalModel.

	* gui/e-cal-model-calendar.c (ecmc_fill_component_from_model):
	get an ETableModel for the 'source_model' argument.

	* gui/e-cal-model-tasks.c (ecmt_fill_component_from_model): ditto.

svn path=/trunk/; revision=23082
2003-10-27 13:11:52 +00:00
d14abf0434 pass FALSE as the 'only_if_exists' parameter, so that the calendar gets
2003-10-27  Rodrigo Moya <rodrigo@ximian.com>

	* gui/tasks-component.c (add_uri_for_source): pass FALSE as the
	'only_if_exists' parameter, so that the calendar gets created when
	it still does not exist.

svn path=/trunk/; revision=23080
2003-10-27 11:29:23 +00:00
285996988d initialize private structure on TasksComponent.
2003-10-24  Rodrigo Moya <rodrigo@ximian.com>

	* gui/tasks-component.c (tasks_component_init): initialize private
	structure on TasksComponent.

svn path=/trunk/; revision=23078
2003-10-24 22:07:52 +00:00
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