Commit Graph

17059 Commits

Author SHA1 Message Date
f451e0990a (IN): Use G_GNUC_FUNCTION instead of
__FUNCTION__.
(OUT): Likewise.

svn path=/trunk/; revision=20197
2003-03-06 17:21:55 +00:00
42261b4c8a [Patch from Not Zed <NotZed@Ximian.com>]
(show_development_warning): Separated the current stable
version number from the warning prompt, and fixed a minor
grammatical error.  For bug #38775.

svn path=/trunk/; revision=20196
2003-03-06 16:53:31 +00:00
1f0f670580 (import_bonobo_config): Protect from val
being NULL when printf()ing -- should fix #39096 (Solaris-specific
crash).

svn path=/trunk/; revision=20195
2003-03-06 16:42:00 +00:00
b85ba12a6c #include <string.h>
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-factory.c: #include <string.h>

svn path=/trunk/; revision=20194
2003-03-06 15:34:30 +00:00
b327312920 Don't use __inline__ as not all platforms/compilers support this keyword.
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* e-searching-tokenizer.c (camel_utf8_getc): Don't use __inline__
	as not all platforms/compilers support this keyword.
	(g): Same.

svn path=/trunk/; revision=20193
2003-03-06 15:32:24 +00:00
f1e001698a Same as below.
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-text-index.c (camel_utf8_next): Same as below.

	* camel-search-private.c (camel_utf8_getc): Updated since not all
	platforms/compiles support __inline__.

svn path=/trunk/; revision=20192
2003-03-06 15:22:56 +00:00
b268196c1c Get rid of the const return - it mismatches the prototype and we don't
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-part.c (camel_mime_part_get_encoding): Get rid of the
	const return - it mismatches the prototype and we don't need it
	anyway. Fixes bug #39173.

svn path=/trunk/; revision=20191
2003-03-06 15:15:41 +00:00
2585b48f24 Added AC_C_INLINE - this should fix bug #39171.
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* configure.in: Added AC_C_INLINE - this should fix bug #39171.

svn path=/trunk/; revision=20190
2003-03-06 14:58:23 +00:00
d8298a3e80 Fixes for bug #39170
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes for bug #39170

	* filter-element.c (filter_element_xml_create): Remove return
	keyword.
	(filter_element_build_code): Same.
	(filter_element_format_sexp): Here too.

svn path=/trunk/; revision=20189
2003-03-06 14:51:36 +00:00
9720adbb52 Fixes for bug #39170
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes for bug #39170

	* camel-store-summary.c (camel_store_info_set_string): Remove
	return keyword.

	* camel-session.c (camel_session_thread_msg_free): Remove return
	keyword.
	(camel_session_thread_wait): Same.

	* camel-index.c (camel_index_cursor_reset): Remove return keyword.

svn path=/trunk/; revision=20188
2003-03-06 14:47:05 +00:00
a0c1a491f1 Fixes for bug #39168
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes for bug #39168

	* providers/local/camel-spool-summary.c: Get rid of the empty
	private struct.

	* providers/local/camel-mbox-summary.c: Get rid of the empty
	private struct.

	* camel-vee-store.c: Get rid of the empty private struct.

	* camel-mime-filter-from.c: Get rid of the empty private struct.

2003-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/sendmail/camel-sendmail-transport.c
	(sendmail_send_to): Add a CRLF filter to the output stream to
	convert any CRLF sequences into plain old line-feeds to work
	around a bug in some local transport programs.

svn path=/trunk/; revision=20187
2003-03-06 14:39:30 +00:00
9b665c1a82 ref the CalClient. (notify_dialog_cb): unref the CalClient.
2003-03-06  Rodrigo Moya <rodrigo@ximian.com>

	* gui/alarm-queue.c (display_notification): ref the CalClient.
	(notify_dialog_cb): unref the CalClient.

svn path=/trunk/; revision=20186
2003-03-06 12:44:37 +00:00
245d1c200e new function. (alarm_notify_dialog): made it return a pointer to the
2003-03-06  Rodrigo Moya <rodrigo@ximian.com>

	* gui/alarm-notify/alarm-notify-dialog.[ch]
	(alarm_notify_dialog_disable_buttons): new function.
	(alarm_notify_dialog): made it return a pointer to the dialog structure.

	* gui/alarm-notify/alarm-queue.c (remove_alarms, remove_comp): splitted
	alarm removal out of remove_comp.
	(obj_updated_cb): remove the component only when needed. In normal
	updates, just update the internal structure.
	(edit_component): don't get a CompQueuedAlarms as argument, since it
	might be removed.
	(on_dialog_obj_updated_cb, on_dialog_obj_removed_cb): callbacks for
	modifications during dialog display.
	(notify_dialog_cb): disconnect from "obj_*ed" signals and call
	edit_component with the new set of arguments.
	(display_notification): added more data to the closure structure.

svn path=/trunk/; revision=20185
2003-03-06 12:21:49 +00:00
64c201dff2 Fix kerberos include paths.
2003-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* configure.in: Fix kerberos include paths.

svn path=/trunk/; revision=20184
2003-03-06 00:02:33 +00:00
f7589488e0 Fixes #31382
2003-03-05  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #31382

	* gui/e-meeting-model.c (async_read): don't assume the buffer is
	always full, but use GNOME_VFS_ERROR_EOF instead for knowing when
	the read has finished.

svn path=/trunk/; revision=20183
2003-03-05 22:27:30 +00:00
53e2f660cd Up to 1.3.1.99.
svn path=/trunk/; revision=20182
2003-03-05 22:14:35 +00:00
3d3bee1f49 Update Czech translation
svn path=/trunk/; revision=20178
2003-03-05 19:37:37 +00:00
e51771e50c Added icon for "/popups/NewPopup/Folder".
svn path=/trunk/; revision=20176
2003-03-05 17:48:07 +00:00
bc48dcb0a2 (BUILT_SOURCES): $(IDL_GENERATED), not
$(IDL_GENERATED_H).
(CLEANFILES): Make the same as $(BUILT_SOURCES).
(GNOME_Evolution_Importer-impl.o): Removed useless rule.

svn path=/trunk/; revision=20175
2003-03-05 17:46:48 +00:00
cdac8a4da7 Likewise, assume weather_refresh_time of zero means "never update the
* e-summary-weather.c (e_summary_weather_set_online): Likewise,
assume weather_refresh_time of zero means "never update the
weather".
(e_summary_weather_init): Likewise here.
(e_summary_weather_reconfigure): And here.

* e-summary-rdf.c (e_summary_rdf_init): Don't add the news feeds
here -- it should be handled with a GConf schema.  Also, assume
that prefs is always not NULL (as is the case with the current
code), and interpret a timeout value of zero as "never update
automatically".
(e_summary_rdf_reconfigure): Likewise here.  If rdf->timeout is
zero, assume there is no pending timeout.
(e_summary_rdf_set_online): Likewise here.  Sigh, so much
duplication in this code.

svn path=/trunk/; revision=20174
2003-03-05 17:13:34 +00:00
f56716d0d3 fix defaults and descriptions to match what calendar-config wants them to
2003-03-05  JP Rosevear  <jpr@ximian.com>

	* gui/apps_evolution_calendar.schemas: fix defaults and
	descriptions to match what calendar-config wants them to be

svn path=/trunk/; revision=20173
2003-03-05 16:35:49 +00:00
7f8c51d30d g_objectify ref/unref
2003-03-05  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (show_current): g_objectify ref/unref

	* gui/itip-bonobo-control.c (set_data_idle_cb): as above
	(pstream_load): ditto

	* gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): as above

svn path=/trunk/; revision=20172
2003-03-05 15:50:34 +00:00
1fe2e871ab override finalize, not destroy (start_calendar_server): take itip as a
2003-03-05  JP Rosevear  <jpr@ximian.com>

 	* gui/e-itip-control.c (class_init): override finalize, not
 	destroy
 	(start_calendar_server): take itip as a param and gtk_main_quit if
 	it gets destroyed while we are waiting for the cal client to load
 	(start_default_server): ditto
 	(get_servers): take itip as a param and don't load if we've been
 	destroyed, check for an except when retrieving the folder list
 	(init): ref the html control
	(destroy): mark ourselves as destroyed
 	(finalize): clean up, unref html control
 	(write_html): if the html widget has been destroyed, don't write
 	anything out
 	(show_current_todo): pass extra param
 	(show_current): ref/unref the itip control to avoid finalization
while
 	we are working, pass extra param
 	(button_selected_cb): pass extra param
 	(object_requested_cb): ditto

svn path=/trunk/; revision=20171
2003-03-05 15:41:33 +00:00
5c97b1f792 fix a couple ==TRUE uses pointed out by Morten Welinder <terra@diku.dk>.
2003-03-05  Mike Kestner  <mkestner@ximian.com>

	* e-tree-model.c : fix a couple ==TRUE uses pointed out by
	Morten Welinder <terra@diku.dk>.

svn path=/trunk/; revision=20169
2003-03-05 15:21:09 +00:00
0cc70ca0f7 remove debug printf.
2003-03-06  Not Zed  <NotZed@Ximian.com>

	* component-factory.c (owner_unset_cb): remove debug printf.

svn path=/trunk/; revision=20168
2003-03-05 14:12:11 +00:00
b0deb6e8ac Removed old quit code. (owner_unset_cb): Make this call synchronous. Wont
2003-03-05  Not Zed  <NotZed@Ximian.com>

	* component-factory.c (idle_quit): Removed old quit code.
	(owner_unset_cb): Make this call synchronous.  Wont cover all
	cases but should be ok most of the time.

svn path=/trunk/; revision=20167
2003-03-05 13:48:41 +00:00
fcaaa48d5f cast CalClient's to GObject, not GtkObject.
2003-03-05  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-offline-handler.c (backend_go_offline,
	backend_go_online): cast CalClient's to GObject, not GtkObject.

svn path=/trunk/; revision=20166
2003-03-05 13:03:16 +00:00
e7c18148d0 dont call bonobo_main_quit anymore now we're shlib'ised.
2003-03-05  Not Zed  <NotZed@Ximian.com>

        * component-factory.c (owner_unset_cb): dont call bonobo_main_quit
        anymore now we're shlib'ised.

svn path=/trunk/; revision=20165
2003-03-05 02:08:38 +00:00
0ca271e142 removed. (owner_unset_cb): Basically a noop, the shell does the quit, we
2003-03-05  Not Zed  <NotZed@Ximian.com>

        * gui/component/addressbook-component.c (bonobo_main_quit_cb):
        removed.
        (owner_unset_cb): Basically a noop, the shell does the quit, we
        just note we have no owner anymore.

svn path=/trunk/; revision=20164
2003-03-05 02:05:34 +00:00
b7cc601332 Prototype some functions to shut the compiler up.
2003-03-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-search.c: Prototype some functions to shut the compiler up.

svn path=/trunk/; revision=20163
2003-03-04 22:38:47 +00:00
f776394961 don't let the user change to an email organizer if the back end is not an
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't
 	let the user change to an email organizer if the back end is not
 	an email addres

svn path=/trunk/; revision=20162
2003-03-04 22:28:56 +00:00
3911413b09 Fixes #37881
2003-02-11  JP Rosevear  <jpr@ximian.com>

 	Fixes #37881

 	* gui/e-meeting-model.c (process_section): if the attendee is the
 	empty string, try to get the email

svn path=/trunk/; revision=20161
2003-03-04 22:27:52 +00:00
ee4b08496d Fixes #37881
2003-02-11  JP Rosevear  <jpr@ximian.com>

 	Fixes #37881

 	* gui/e-meeting-model.c (process_section): if the attendee is the
 	empty string, try to get the email

svn path=/trunk/; revision=20160
2003-03-04 22:22:16 +00:00
896ab49a3c Fixes #37881
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	Fixes #37881

 	* gui/component/select-names/e-simple-card-bonobo.c
 	(impl_SimpleCard_get): if we get a null value, send back the empty
 	string

svn path=/trunk/; revision=20159
2003-03-04 22:20:54 +00:00
b7129ad461 Fixes #37883
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	Fixes #37883

 	* idl/evolution-calendar.idl: getLdapAttribute can raise NotFound

svn path=/trunk/; revision=20158
2003-03-04 22:19:31 +00:00
63aef14c02 i18n fix
2003-03-04  Dmitry Mastrukov  <dmitry@taurussoft.org>

	* gal/widgets/e-unicode.c : i18n fix

2003-03-04  Dmitry Mastrukov  <dmitry@taurussoft.org>

	* e-cell-date.c (ecd_get_text): i18n fix
	* e-table.c (et_real_construct): i18n fix
	* e-table-config.c (create_global_store): i18n fix
	* e-table-utils.c (et_col_spec_to_col): i18n fix

2003-03-04  Mike Kestner  <mkestner@ximian.com>

	* e-tree-selection-model.c : some cursor fixes

svn path=/trunk/; revision=20156
2003-03-04 22:09:44 +00:00
fbf56b4c56 Fixes #37806, #37697
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	Fixes #37806, #37697

 	* gui/e-itip-control.c (e_itip_control_set_data): if the text is
 	null or the empty string, just clear the widget
 	(init): set the html widget to initially be blank

svn path=/trunk/; revision=20155
2003-03-04 22:03:22 +00:00
af8947c7c4 implement
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	* pcs/cal.c (impl_Cal_get_ldap_attribute): implement

 	* pcs/cal-backend.h: add virtual method

 	* pcs/cal-backend.c (cal_backend_get_ldap_attribute): call
 	get_ldap_attribute_method

 	* pcs/cal-backend-file.c (cal_backend_file_class_init): overrid
 	get_ldap_attribute method

 	* idl/evolution-calendar.idl: add getLdapAttribute method

 	* gui/e-meeting-model.c (process_section): take simple card list
 	as arg and try to use the ldap attribute (if any) as the attendee,
 	else use the email address
 	(select_names_ok_cb): get the simple card list

 	* cal-client/cal-client.h: add proto

 	* cal-client/cal-client.c (cal_client_init): init ldap_attribute
 	to NULL
 	(cal_client_destroy): free ldap_attribute

svn path=/trunk/; revision=20154
2003-03-04 22:02:01 +00:00
c1e2563e39 reflect prior column addition
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	* gui/component/select-names/e-select-names.etspec: reflect prior
column addition

 	* gui/component/select-names/e-select-names-bonobo.c
 	(entry_get_property_fn): set the arg properly

 	*
gui/component/select-names/Evolution-Addressbook-SelectNames.idl:
 	add Icscalendar to field list

 	* backend/pas/pas-backend-ldap.c: add icscalendar to prop list

 	* backend/ebook/e-card.h: add icscalendar data member

 	* backend/ebook/e-card.c: add icscalendar to list and its parse
 	routine
 	(e_card_get_vobject): add icscalendar prop value
 	(parse_icscalendar): parse routine
 	(e_card_class_init): add icscalendar arg
 	(e_card_destroy): destroy icscalendar member
 	(e_card_set_arg): set icscalendar
 	(e_card_init): init icscalendar
 	(e_card_get_arg): return icscalendar

 	* backend/ebook/e-card-simple.c (field_data): add icscalendar

 	* backend/ebook/e-card-simple.h: ditto

svn path=/trunk/; revision=20153
2003-03-04 22:00:57 +00:00
3703e58fa8 only set current folder when the folder_path is different from the current
2003-03-04  Mike Kestner  <mkestner@ximian.com>

	* e-shell-view.c (update_for_current_uri): only set current
	folder when the folder_path is different from the current folder.

svn path=/trunk/; revision=20152
2003-03-04 21:25:36 +00:00
6c95c6da0e call cal_client_get_cal_address instead of cal_client_get_email_address
2003-03-04  JP Rosevear  <jpr@ximian.com>

       * gui/itip-utils.c (itip_organizer_is_user): call
       cal_client_get_cal_address instead of cal_client_get_email_address

       * gui/dialogs/meeting-page.c (meeting_page_construct): ditto

       * pcs/cal.c (impl_Cal_get_cal_address): implement updated method
       name
       (cal_class_init): set method implementation

       * pcs/cal-backend.c (cal_backend_class_init): init get_cal_address
       virtual function
       (cal_backend_get_cal_address): call proper function

       * pcs/cal-backend.h: update proto, rename get_email_address
       virtual function to get_cal_address virtual function

       * pcs/cal-backend-file.c (cal_backend_file_class_init): match
       get_cal_address call
       (cal_backend_file_get_cal_address): rename from
       cal_backend_file_get_email_address

       * cal-client/cal-client.c: rename email_address private member to
       cal_address
       (cal_client_init): init cal_address
       (cal_client_destroy): free cal_address and properly free
       alarm_email_address
       (cal_client_get_cal_address): rename from
       cal_client_get_email_address and call proper corba function

svn path=/trunk/; revision=20151
2003-03-04 20:59:13 +00:00
c538747217 Handle p->data as a GdkAtom instead of a GdkAtom *.
* e-folder-dnd-bridge.c (find_matching_target_for_drag_context):
Handle p->data as a GdkAtom instead of a GdkAtom *.
(handle_data_received_non_path): Set the target member of the
corba_data struct to be the name of the atom.

* e-storage-set-view.c (impl_tree_drag_data_get): Pass the name of
the atom instead of the atom itself.

* Evolution-ShellComponentDnd.idl: Changed the type of Data.target
to string.

svn path=/trunk/; revision=20150
2003-03-04 20:39:02 +00:00
16590660ae fix comment
2003-02-05  JP Rosevear  <jpr@ximian.com>

  	* idl/evolution-calendar.idl: fix comment

svn path=/trunk/; revision=20149
2003-03-04 20:32:09 +00:00
8f2be4ed89 update FIXME note
2003-02-05  JP Rosevear  <jpr@ximian.com>

 	* gui/calendar-model.c (calendar_model_append_row): update FIXME
 	note

svn path=/trunk/; revision=20148
2003-03-04 20:05:21 +00:00
c35c8eb37d fix copyright
2003-03-04  JP Rosevear  <jpr@ximian.com>

 	* gui/dialogs/recur-comp.h: fix copyright

 	* gui/dialogs/recur-comp.c: fix copyright
 	(recur_component_dialog): say "recurring journal entry" instead of
 	just "recurring journal"

svn path=/trunk/; revision=20147
2003-03-04 20:03:21 +00:00
df4595a2b8 Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>)
2003-03-04  JP Rosevear  <jpr@ximian.com>

        Partially  Fixes #23606 (from Jack Jia <jack.jia@sun.com>)

 	* gui/dialogs/schedule-page.c (update_time): handle no end date if
 	the start is date only

 	* gui/dialogs/event-page.c (update_time): ditto

svn path=/trunk/; revision=20146
2003-03-04 19:59:21 +00:00
ae7622009e Shush.
svn path=/trunk/; revision=20145
2003-03-04 19:53:59 +00:00
6c2bfc807c Commit missed files.
svn path=/trunk/; revision=20144
2003-03-04 19:53:28 +00:00
6b4c3984d5 If only the pipe wouldn't break.
svn path=/trunk/; revision=20143
2003-03-04 19:52:37 +00:00
cd4477930e Merging in 1.2 stuff
2003-03-04  JP Rosevear  <jpr@ximian.com>

	Merging in 1.2 stuff

	Fixes #35598

	* gui/dialogs/task-details-page.c
	(task_details_page_fill_widgets): count a status of needs action
	as a status of none (not started)
	(date_changed_cb): set the option menu to a status of none
	(status_changed): no need to handle needs action status now

	* gui/dialogs/task-details-page.glade: remove needs-action menu
	item

	Fixes #36763

	* gui/dialogs/alarm-page.c (add_clicked_cb): if no address was set
	for an email alarm, set the default
	(button_options_clicked_cb): pass the default email address

	* gui/dialogs/alarm-options.h (alarm_options_dialog_run): update
proto

	* gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): if there
	are no email attendees, default to the passed in value
	(alarm_options_dialog_run): take and track an email param

	* pcs/cal.c (impl_Cal_get_alarm_email_address): implement by
	calling backend method
	(cal_class_init): set alarm email address method implementation

	* pcs/cal-backend.h: add new virtual proto

	* pcs/cal-backend.c (cal_backend_class_init): set alarm email
	address virtual method to NULL
	(cal_backend_get_alarm_email_address): call backend method

	* pcs/cal-backend-file.c (cal_backend_file_class_init): set alarm
	email address method
	(cal_backend_file_get_alarm_email_address): implement by returning
	NULL

	* idl/evolution-calendar.idl: add getAlarmEmailAddress method

	Fixes #37102

	* gui/dialogs/task-editor.c (set_menu_sens): don't allow task
	assignment if the backend says not to

	* gui/dialogs/recurrence-page.c (fill_component): kill warning
	(preview_recur): display the recurrences in the dtstart timezone
	if possible

	* gui/gnome-cal.c (dn_query_obj_updated_cb): pass NULL to use
	default tag zone

	* gui/tag-calendar.c (tag_calendar_by_comp): allow display zone
	for the tagged calendar to be passed in
	(prepare_tag): use the passed in timezone for display if non-null

	* gui/tag-calendar.h (tag_calendar_by_comp): update proto

	* gui/dialogs/recurrence-page.c (recurrence_page_set_dates): make
	sure we always update the preview

	* conduits/todo/todo-conduit.c (add_record): make sure to create a
	unique uid for the record

	* conduits/calendar/calendar-conduit.c (add_record): ditto

	* conduits/todo/todo-conduit.c (e_todo_context_new): init default
	comp and timezone to NULL
	(e_todo_context_destroy): unref default comp
	(pre_sync): et the default comp via the client and set the default
	timezone
	(add_record): pass the default comp as the base comp

	* conduits/calendar/calendar-conduit.c (e_calendar_context_new):
	init default comp to NULL
	(e_calendar_context_destroy): unref default comp
	(pre_sync): get the default comp via the client
	(add_record): pass the default comp as the base comp

	* conduits/calendar/calendar-conduit.c (local_record_from_comp):
	only add the recurrence rule if its not an instance

	* gui/itip-control-factory.c (set_data_idle_cb): idle call back to
	set control data
	(pstream_load): set the data in an idle callback to avoid deadlock
	(get_prop): handle view_only
	(set_prop): ditto
	(itip_control_factory): add view_only

	* gui/e-itip-control.h: add protos

	* gui/e-itip-control.c (write_html): only write out the options if
	we aren't in view_only mode
	(e_itip_control_set_view_only): accessor
	(e_itip_control_get_view_only): ditto

	Fixes #36909

	* gui/dialogs/alarm-page.c (button_options_clicked_cb): indicate
	whether the options dialog should allow repeating

	* gui/dialogs/alarm-options.h: update proto

	* gui/dialogs/alarm-options.c (alarm_to_repeat_widgets): if
	repeating is not allowed, sensitize the widgets appropriately
	(alarm_options_dialog_run): store the repeat param

	* gui/calendar-model.c (calendar_model_append_row): guard against
	saving before the calendar is open

	* gui/e-day-view.c (e_day_view_key_press): ditto

	* gui/dialogs/comp-editor.c (page_changed_cb): change warning
	dialog to not mention email
	(page_summary_changed_cb): ditto
	(page_dates_changed_cb): ditto

	* gui/itip-utils.c (itip_organizer_is_user): make the compare case
	insensitive

	* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't
	allow the organizer to be changed if its not an email address

	* gui/e-day-view.c, calendar-model.c, e-week-view.c,
	task-editor.c, event-editor.c, comp-editor.c, meeting-page.c: pass
	additional param

	* gui/itip-utils.c (itip_organizer_is_user): take client as param,
	and if organizer-not-email-address and email address and organizer
	match, assume the user is the organizer

	* gui/itip-utils.h: update proto

	* pcs/cal.c (build_fb_seq): set the max

	* gui/e-meeting-model.c
	(e_meeting_model_add_attendee_with_defaults): correct typo and set
	rsvp appropriately

	* gui/dialogs/send-comp.c (send_component_dialog): if save
	schedules, return FALSE for now

	* gui/dialogs/recurrence-page.c (sensitize_recur_widgets):
	de-sensitize the preview widget if we are viewing an instance
	(preview_recur): return if the comp is an instance

	* gui/dialogs/event-page.glade: name the show time frame

	* gui/dialogs/event-page.c (event_page_fill_widgets)
	(event_page_init): init show time frame
	(event_page_fill_widgets): hide/show frame as needed
	(get_widgets): get the frame

	* gui/alarm-notify/alarm-queue.c (mail_notification): kill mail
	notification code

	* cal-client/cal-client.c (load_static_capabilities): grab static
	capabilities string
	(check_capability): see if a capability is in the string
	(cal_client_get_one_alarm_only): accessor
	(cal_client_get_organizer_must_attend): use check_capability
	(cal_client_get_static_capability): ditto

	* cal-client/cal-client.h: new, changed protos

	* idl/evolution-calendar.idl: change over getSchedulingInformation
	to a more general getStaticCapabilities call

	* pcs/cal-backend-file.c
	(cal_backend_file_get_static_capabilities): return
	"no-email-alarms"

	* pcs/cal-backend.c (cal_backend_get_static_capabilities): ditto

	* pcs/cal-backend.h: ditto

	* pcs/cal.c (impl_Cal_get_static_capabilities): ditto

	* gui/alarm-notify/alarm-queue.c (get_default_address): utility
	routine to snag address info

	* gui/alarm-notify/Makefile.am: build composer idl

	* *.c: pass client param for send an cancel params

	* gui/dialogs/send-comp.c (send_component_dialog): take client as
	a parm and if save schedules return true right away

	* gui/dialogs/send-comp.h: update proto

	* gui/dialogs/cancel-comp.c (cancel_component_dialog): take client
	as a param and if we are deleting and schedule saves, return true
	right away

	* gui/dialogs/cancel-comp.h (cancel_component_dialog): update
proto

	* gui/dialogs/alarm-options.glade: add Send To: button

	* gui/dialogs/alarm-options.c (addressbook_clicked_cb): display
	dialog
	(setup_select_names): attach above to Send To: button clicked
	signal

	* gui/dialogs/alarm-options.c (get_widgets): get mail alarm
	widgets
	(setup_select_names): add the select names widget
	(alarm_to_malarm_widgets): show the attendees and description
	(alarm_to_dialog): set the title for mail alarms properly
	(malarm_widgets_to_alarm): save attendees and descriptions in
	alarm
	(alarm_options_dialog_run): call setup_select_names

	* gui/dialogs/alarm-page.c: add email to alarm types

	* gui/dialogs/alarm-options.glade: add mail alarm widgets

	* gui/dialogs/alarm-page.glade: add email to alarm types

	* cal-util/cal-component.c (scan_attendee): kill unnecessary
	CalComponent param
	(scan_property): don't pass same
	(set_attendee_list): take an icalcomp instead of a CalComponent
	(cal_component_set_attendee_list): pass same
	(scan_alarm_property): if its an attendee, scan it
	(make_alarm): set attendee_list member to null
	(cal_component_alarm_new): ditto
	(cal_component_alarm_free): free attendee list
	(cal_component_alarm_get_attendee_list): return attendee list
	(cal_component_alarm_set_attendee_list): set attendee list
	(cal_component_alarm_has_attendees): return true if alarm has
attendees

	* cal-util/cal-component.h: new protos

	* gui/calendar-model.c (calendar_model_append_row): use
	cal_comp_task_new_with_defaults

	* gui/comp-editor-factory.c (get_default_task): ditto

	* gui/e-tasks.c (e_tasks_new_task): ditto

	* gui/gnome-cal.c (gnome_calendar_new_task): ditto

	* gui/comp-util.h (cal_comp_task_new_with_defaults): new proto

	* gui/comp-util.c (cal_comp_task_new_with_defaults): new utility
	routine

	* cal-util/cal-util.c (generate_absolute_triggers): skip omitted
	alarm types
	(add_alarm_occurrences_cb): ditto
	(cal_util_generate_alarms_for_list): take/pass omit param
	(cal_util_generate_alarms_for_comp): ditto

	* cal-util/cal-util.h: update protos

	* pcs/cal-backend-file.c (cal_backend_file_get_alarms_for_object):
	add omit param
	(cal_backend_file_get_alarms_in_range): ditto

	* pcs/cal-backend.c (cal_backend_get_scheduling_information):
	remove dead param

	* gui/dialogs/meeting-page.h: delete proto

	* gui/dialogs/meeting-page.c: remove dead routine

	* gui/dialogs/event-editor.c (event_editor_edit_comp): we don't
	need to add the organizer as an attendee ourselves, just set the
	edit level properly

	* gui/dialogs/task-editor.c (task_editor_edit_comp): ditto

	* gui/comp-util.c (cal_comp_event_new_with_defaults): take client
	as arg so we can obtain the default from the backend

	* gui/comp-editor-factory.c (get_default_event): pass
	cal_comp_event_new_with_defaults the new param

	* gui/gnome-cal.c (gnome_calendar_new_appointment_for): ditto

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

	* gui/e-day-view.c (e_day_view_key_press): ditto

	* gui/calendar-model.c (calendar_model_append_row): ditto

	* gui/comp-util.h (cal_comp_event_new_with_defaults): update proto

	* pcs/cal-backend-file.c (cal_backend_file_get_default_object):
	return appropriate default object

	* pcs/cal-backend.c (cal_backend_get_default_object): call
	get_default_backend class method

	* pcs/cal-backend.h: add proto

	* pcs/cal.c (impl_Cal_get_default_object): implement
	(cal_class_init): set handler for getDefaultObject call

	* idl/evolution-calendar.idl: remove always schedule from
	SchedulingInformation and add getDefaultObject call

	* cal-client/cal-client.c (cal_client_get_default_object): gets a
	default object from the server
	(cal_client_init): remove always_schedule
	(load_scheduling_info): ditto

	* cal-client/cal-client.h: add a proto, delete a proto

	* gui/dialogs/meeting-page.c (right_click_cb): if the attendee is
	not fully editable, don't allow deletion
	(meeting_page_construct): keep the default organizer as an itip
	address
	(meeting_page_get_default_organizer): return the default organizer

	* gui/dialogs/meeting-page.h: new proto

	* gui/dialogs/event-editor.c (event_editor_edit_comp): we set
	appropriate edit levels now for users and if the backend always
	schedules we always show the meeting pages and add the organizer
	as an attendee

	* gui/dialogs/task-editor.c (task_editor_edit_comp): same

	* gui/e-meeting-model.c (is_cell_editable): use the edit level of
	the attendee to determine if cell is editable
	(init): we no longer keep the attendee list of restricted

	* gui/e-meeting-attendee.c (e_meeting_attendee_get_edit_level):
accessor
	(e_meeting_attendee_set_edit_level): ditto

	* gui/e-meeting-attendee.h: new protos and edit level enum

	* cal-client/cal-client.c (load_scheduling_info): load the
	scheduling info
	(cal_client_get_always_schedule): accessor
	(cal_client_get_organizer_must_attend): ditto
	(cal_client_get_save_schedules): ditto
	(cal_client_init): init scheduling data members

	* cal-client/cal-client.h: accessors for scheduling information

	* pcs/cal-backend-file.c
	(cal_backend_file_get_scheduling_information): implement the new
	virtual method

	* pcs/cal-backend.c (cal_backend_get_scheduling_information): call
	the class specific method

	* pcs/cal-backend.h: add virtual method

	* idl/evolution-calendar.idl: add a getSchedulingInformation call
	which describes how the backend does its scheduling

	* pcs/cal.c (impl_Cal_get_scheduling_information): implement above

	* gui/e-day-view.c: pass NULL as parent to recur dialog

	* gui/e-week-view.c: ditto

	* gui/dialogs/comp-editor.c (prompt_to_save_changes): show recur
	dialog after prompting, not before
	(save_cmd): ditto
	(save_close_cmd): ditto
	(real_edit_comp): don't show recur dialog before opening

	* gui/dialogs/recur-comp.h (recur_component_dialog): update proto

	* gui/dialogs/recur-comp.c (recur_component_dialog): take a parent
	argument and set the dialog parent if non-null

 	* gui/e-week-view.c (e_day_view_on_editing_stopped): Don't update
 	appointment if both the old and the new summary texts are empty.

	* gui/e-week-view.c (e_week_view_show_popup_menu): mask out "make
	moveable" if its an instance

	* gui/e-day-view.c (e_day_view_on_event_right_click): ditto

	* gui/e-week-view.c (e_week_view_on_editing_stopped): if its
	an instance, show the recur comp dialog and modify it based on the
	response (or not if cancel is hit)

	* gui/e-day-view.c (e_day_view_finish_long_event_resize): if its
	an instance, show the recur comp dialog and modify it based on the
	response (or not if cancel is hit)
	(e_day_view_finish_resize): ditto
	(e_day_view_on_editing_stopped): ditto
	(e_day_view_on_top_canvas_drag_data_received): ditto
	(e_day_view_on_main_canvas_drag_data_received): ditto

	* gui/dialogs/comp-editor.c (real_edit_comp): reflect changes in
	proto of recur_component_dialog

	* gui/dialogs/recur-comp.c (recur_component_dialog): use ok/cancel
	instead and radio buttons for the mod type

	* gui/dialogs/recur-comp.h: update proto

	* gui/e-day-view.c (e_day_view_on_long_event_click): allow
	dragging if its an instance
	(e_day_view_on_event_click): ditto
	(e_day_view_on_top_canvas_motion): ditto
	(e_day_view_on_main_canvas_motion): ditto

	* gui/dialogs/comp-editor.c (save_comp): if its an instance,
	update with the mod type
	(real_edit_comp): ask the user what instances they want to change

	* gui/dialogs/recur-comp.[hc]: new dialog to ask user what
	recurrences to modify

	* gui/dialogs/Makefile.am: Compile new files

	* gui/e-day-view.c (e_day_view_on_delete_occurrence): if its an
	instance, just remove with THIS mod

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

	* cal-client/cal-client.c (cal_client_remove_object_with_mod):
	send the mod parameter to the backend
	(cal_client_remove_object): implement with above
	(cal_client_update_object_with_mod): send the mod parameter to the
	backend
	(cal_client_update_object): implement with above

	* cal-client/cal-client.h: new protos

	* cal-client/cal-client.c (cal_client_is_read_only): return
	booleans in the pre conditions
	(cal_client_update_object): pass mod param
	(cal_client_update_objects): ditto
	(cal_client_remove_object): ditto
	(cal_client_ensure_timezone_on_server): ditto

	* pcs/cal.c (impl_Cal_update_objects): take mod param
	(impl_Cal_remove_object): ditto

	* pcs/cal-backend.h: fix protos

	* pcs/cal-backend.c (cal_backend_update_objects): take mod param
	(cal_backend_remove_object): ditto

	* pcs/cal-backend-file.c (cal_backend_file_update_objects): take
	mod param
	(cal_backend_file_remove_object): ditto

	* cal-util/cal-util.h: add mod enum

	* cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): if
	its an instance, just report the instance

	* cal-util/cal-component.h: new protos

	* cal-util/cal-component.c (cal_component_is_instance): indicate
	whether the component is an instance or not
	(cal_component_free_range): free a range

	* idl/evolution-calendar.idl: get remove and update to take mod
	type

svn path=/trunk/; revision=20142
2003-03-04 19:51:20 +00:00