Commit Graph

1005 Commits

Author SHA1 Message Date
40e5e5b103 #if 0ed cal_obj_date_only_compare_func. (cal_object_get_rdate_end):
2000-12-13  Christopher James Lahey  <clahey@helixcode.com>

	* cal-util/cal-recur.c: #if 0ed cal_obj_date_only_compare_func.
	(cal_object_get_rdate_end): Changed this function to get rid of a
	possible uninitialized error on the rdate function.

	* gui/calendar-model.c: Fixed some warnings involving the #define
	_XOPEN_SOURCE lines here.

	* gui/component-factory.c: #ifdef WANT_THE_EXECUTIVE_SUMMARYed out
	the summary_factory object since it's unused if
	WANT_THE_EXCUTIVE_SUMMARY is not defined.

	* gui/e-day-view.c: #if 0ed out e_day_view_remove_event_cb.
	(obj_updated_cb): #ifndef NO_WARNINGSed out a #warning.

	* gui/e-week-view-event-item.c (e_week_view_event_item_draw): Made
	it so that

	* gui/e-week-view.c (obj_updated_cb): #ifndef NO_WARNINGSed out a
	#warning.

svn path=/trunk/; revision=6982
2000-12-14 01:20:18 +00:00
956c2d74d4 Revert federico's change for now because of libtool limitations with
2000-12-13  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/Makefile.am: Revert federico's change for now
	because of libtool limitations with ldadding shared libtool
	libs

	* conduits/calendar/Makefile.am: ditto

svn path=/trunk/; revision=6963
2000-12-13 07:21:59 +00:00
7b07f1342a Use set_title_from_comp (save_todo_object): ditto (set_title_from_comp):
2000-12-12  JP Rosevear  <jpr@helixcode.com>

	* gui/dialogs/task-editor.c (task_editor_set_todo_object): Use
	set_title_from_comp
	(save_todo_object): ditto
	(set_title_from_comp): Make sure the title is encoded properly (as in
	event-editor)

svn path=/trunk/; revision=6962
2000-12-13 06:56:16 +00:00
de6a038de4 Constify for new libical API. (set_text_list): Likewise.
2000-12-12  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (get_text_list): Constify for new
	libical API.
	(set_text_list): Likewise.

	* cal-util/cal-recur.c (cal_recur_get_rule_end_date): Likewise.
	(cal_recur_set_rule_end_date): Likewise.

	* gui/e-itip-control.c (find_attendee): Likewise.
	(pstream_load): Likewise.

	* gui/gnome-cal.c (released_event_object_cb): Removed unused function.

	* gui/dialogs/task-editor.c (status_string_map): Removed unused
	variable.

svn path=/trunk/; revision=6943
2000-12-12 20:34:58 +00:00
e3088ae21f More fixage - Federico
svn path=/trunk/; revision=6939
2000-12-12 05:00:45 +00:00
1de2b20cd4 This is to make things work with libical 0.21helix1 and later. Warnings
2000-12-11  Federico Mena Quintero  <federico@helixcode.com>

	This is to make things work with libical 0.21helix1 and later.
	Warnings remain because at last libical was constified; will take
	care of those tomorrow.

	* cal-util/timeutil.h: #include <ical.h> instead of <icaltypes.h>

	* gui/e-itip-control.c: Likewise.

	* gui/e-meeting-edit.c: Likewise.

	* gui/itip-utils.h: Likewise.

	* cal-util/cal-component.c (alarm_uid_from_prop): constify.
	(cal_component_get_status): Updated for new libical API.
	(cal_component_set_status): Likewise.

	* gui/calendar-model.c (ensure_task_complete): Removed unused
	status code.
	(ensure_task_not_complete): Update for new status API.

	* gui/dialogs/task-editor.c (status_string_to_value): Removed
	function.
	(status_value_to_string): Removed function.
	(status_string_map): Removed variable.
	(fill_widgets): Update for new status API.
	(dialog_to_comp_object): Likewise.

svn path=/trunk/; revision=6932
2000-12-12 02:17:32 +00:00
0fb5f2db0f updated the tests on the start & end time just before calling the
2000-12-11  Damon Chaplin  <damon@helixcode.com>

	* cal-util/cal-recur.c (generate_instances_for_chunk): updated the
	tests on the start & end time just before calling the callback. It
	was skipping occurrences that started before the required interval's
	start time, which was wrong. We want all occurrences that intersect
	the interval.
	(cal_obj_time_weekday): removed the CalRecurrence* argument, since it
	isn't needed.

svn path=/trunk/; revision=6925
2000-12-11 23:43:42 +00:00
ba28f66226 added changed flags and added calls to a new function
2000-12-11  Damon Chaplin  <damon@helixcode.com>

	* gui/event-editor.c: added changed flags and added calls to a new
	function event_editor_set_changed() to set & reset this flag.
	Added prompt_to_save_changed() which is called when the user
	selects File/Close or the window's close button.
	Fixed the 'All day event' toggle button.
	Made the 'Alarm' page sensitive as appropriate when filling widgets.
	(Though note that the alarm widgets are not being set yet.)

	* gui/dialogs/task-editor.c: added changed flag as above.

	* gui/event-editor-dialog.glade: used good names for all the
	classification radio buttons so we can access them in the code.

	* gui/event-editor.c (init_widgets): use the "show week numbers" config
	option in the recurrence preview calendar.

	* gui/e-day-view.c (e_day_view_update_event_label): use 9:00 instead
	of 09:00 in the main view, as we do everywhere else now. It means the
	times won't line up, but they are easier to read which I think is
	better.
	Added support for Page Up/Down, though I think it should move the
	selection rather than just scroll the canvas.

	* cal-util/cal-recur.c (generate_instances_for_chunk): removed the
	end parameter since we should be using the chunk end time now.
	Added single_rule parameter for when we are generating the
	occurrences of a single RRULE, in which case the event's start date is
	not included in the occurrences output (unless it results from the
	RRULE expansion). Both of these fix problems when using COUNT.

	* gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed):
	fixed bug when checking if the new start day starts on the week start
	day. If you select a complete week it should now show the Week view.

svn path=/trunk/; revision=6896
2000-12-11 02:22:06 +00:00
4e47d1142a Free the strings we get from the editables.
2000-12-08  Federico Mena Quintero  <federico@helixcode.com>

	* gui/event-editor.c (dialog_to_comp_object): Free the strings we
	get from the editables.

	* gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise.
	This sucks; this code should be shared between the two dialogs.

svn path=/trunk/; revision=6868
2000-12-08 21:09:04 +00:00
3df2257e01 Free the dates we get from the component.
2000-12-08  Federico Mena Quintero  <federico@helixcode.com>

	* gui/event-editor.c (fill_widgets): Free the dates we get from
	the component.

svn path=/trunk/; revision=6867
2000-12-08 20:55:10 +00:00
74d651e09e Attach signal handlers to the e_scrolled_table's etable rather than to the
2000-12-08  JP Rosevear  <jpr@helixcode.com>

	* gui/e-calendar-table.c (e_calendar_table_init): Attach signal
	handlers to the e_scrolled_table's etable rather than to the
	e_scrolled_table directly
	(e_calendar_table_on_double_click): This signal provides more
	params now

svn path=/trunk/; revision=6866
2000-12-08 20:29:36 +00:00
2caa218421 Got rid of code referencing the ETableScrolled proxy functions.
2000-12-07  Christopher James Lahey  <clahey@helixcode.com>

	* gui/e-calendar-table.c: Got rid of code referencing the
	ETableScrolled proxy functions.

svn path=/trunk/; revision=6855
2000-12-07 23:51:03 +00:00
042281235a Ugly hack for syncing until pcs can be altered (longer term)
2000-12-07  JP Rosevear  <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c (post_sync): Ugly hack for syncing
	until pcs can be altered (longer term)

	* conduits/todo/todo-conduit.c (post_sync): ditto

svn path=/trunk/; revision=6849
2000-12-07 22:55:11 +00:00
33150f282c add EXTRA_GNOME_LIBS.
2000-12-07  Chris Toshok  <toshok@helixcode.com>

	* cal-client/Makefile.am (client_test_LDADD): add
	EXTRA_GNOME_LIBS.

svn path=/trunk/; revision=6844
2000-12-07 20:32:18 +00:00
5d72cc4367 Create an empty cal component if the object has been deleted.
2000-12-07  JP Rosevear  <jpr@helixcode.com>

	* pcs/cal-backend.c (cal_backend_compute_changes_foreach_key): Create
	an empty cal component if the object has been deleted.

	* idl/evolution-calendar.idl: Bit shift the change type constants
	properly

svn path=/trunk/; revision=6843
2000-12-07 20:20:20 +00:00
dbd0b894c2 Unref the component from the objects list; it got referenced as many times
2000-12-07  Federico Mena Quintero  <federico@helixcode.com>

	* cal-client/cal-client.c (cal_client_generate_instances): Unref
	the component from the objects list; it got referenced as many
	times as appropriate for the instances list.

svn path=/trunk/; revision=6836
2000-12-07 16:16:11 +00:00
591a66f4eb Confirm before deleting the event.
2000-12-06  Federico Mena Quintero  <federico@helixcode.com>

	* gui/event-editor.c (file_delete_cb): Confirm before deleting the
	event.

svn path=/trunk/; revision=6833
2000-12-07 01:05:28 +00:00
6
3afd674b07 unref the pixbuf when finished with it
2000-12-06    <purify@the-dot-in.helixcode.com>

	* gui/e-week-view.c (e_week_view_init): unref the pixbuf when
	finished with it

svn path=/trunk/; revision=6832
2000-12-07 00:49:41 +00:00
2f57510fe7 Fixes bug #920.
2000-12-06  Federico Mena Quintero  <federico@helixcode.com>

	Fixes bug #920.

	* gui/e-calendar-table.c (delete_component): New function.
	(e_calendar_table_on_delete_task): Use delete_component().
	(e_calendar_table_on_key_press): Likewise.  Also, mark the event
	as handled.

	* gui/calendar-model.c (calendar_model_get_component): Renamed
	function from calendar_model_get_cal_object().
	(calendar_model_delete_task): Removed function.

	* gui/dialogs/delete-comp.[ch]: New files with the dialog for
	deleting a calendar component.

	* gui/e-day-view.c (e_day_view_on_delete_appointment): Confirm
	before actually deleting the appointment.

	* gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise.

	* gui/dialogs/Makefile.am (libcal_dialogs_a_SOURCES): Added
	delete-comp.[ch] to the list of sources.

	* cal-util/cal-component.c (cal_component_destroy): Free the alarm
	UID hash.

svn path=/trunk/; revision=6828
2000-12-06 22:48:19 +00:00
b05cea89b9 kill (Cal_get_changes): return the corba sequence directly
2000-12-06  JP Rosevear  <jpr@helixcode.com>

	* pcs/cal.c (build_change_seq): kill
	(Cal_get_changes): return the corba sequence directly

	* pcs/cal-backend.h: update prototype

	* pcs/cal-backend.c (cal_backend_compute_changes_foreach_key): Build
	the corba struct rather than the old calobjchange thing
	(cal_backend_compute_changes): ditto.  build and return the actual
	corba sequence rather than the list of calobjchanges
	(cal_backend_get_changes): return the corba sequence

	* cal-util/cal-util.h: Remove CalObjChange cruft

	* cal-util/cal-util.c (cal_obj_change_list_free): Kill

svn path=/trunk/; revision=6826
2000-12-06 22:28:19 +00:00
ca1c3593bf Update so as not to conflict with calendar (next_changed_item): update to
2000-12-06  JP Rosevear  <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c (map_name): Update so as not to conflict
	with calendar
	(next_changed_item): update to use CalClientChange instead of CalObjChange
	(compute_status): ditto
	(pre_sync): ditto
	(for_each_modified): since we now have the cal component we can call
	local_record_from_comp directly

	* conduits/todo/todo-conduit.c: same as above

	* pcs/cal-backend.c: Remove much logging cruft
	(cal_backend_compute_changes): Calculate the changes based on the
	hashed database
	(cal_backend_get_changes): call cal_backend_compute_changes
	(cal_backend_compute_changes_foreach_key): hash callback for
	calculating deletions

	* pcs/cal-backend.h: update protype, remove logging cruft from
	object

	* pcs/cal.c (build_change_seq): dup the calobj rather than the uid
	now
	(Cal_get_changes): rename from Cal_get_changed_uids
	(cal_get_epv): reflect name change in epv

	* cal-util/cal-util.c (cal_obj_change_list_free): update assertion

	* cal-util/cal-util.h: CalObjChange now returns the entire ical
	component, update the change types.  This should all go away shortly

	* idl/evolution-calendar.idl: getChangedUIds -> getChanges.
	CalObjChange now contains the calobj rather than the uid, update
	the change types

	* cal-client/cal-client.c (cal_client_get_changes): rename from
	cal_client_get_changed_uids to make idl and addressbook

	* cal-client/cal-client.h: Update prototype

	* cal-client/cal-client.c (build_change_list): Build a list of
	CalClientChange instead of CalObjChange

	* cal-client/cal-client-types.c (cal_client_change_list_free): Free
	a glist of CalClientChanges

	* cal-client/cal-client-types.h: New file. Declarations for
	CalClientChange.

	* cal-client/Makefile.am: Build new files

svn path=/trunk/; revision=6822
2000-12-06 20:28:10 +00:00
c04178e3d1 Fix my build stupidty READ THE MACRO
2000-12-06  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/Makefile.am: Fix my build stupidty READ THE MACRO

	* conduits/calendar/Makefile.am: ditto

svn path=/trunk/; revision=6806
2000-12-06 05:03:50 +00:00
6e8a9dfec1 Initialize max_large_digit_width to 0 to prevent crazy sizing issues.
2000-12-04  JP Rosevear  <jpr@helixcode.com>

	* gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width):
	Initialize max_large_digit_width to 0 to prevent crazy sizing issues.

svn path=/trunk/; revision=6782
2000-12-04 21:51:44 +00:00
8a4239fc9e Remove mysterious #include inserted by mmeeks to break the build.
* gui/e-itip-control.c: Remove mysterious #include inserted by
	mmeeks to break the build.

svn path=/trunk/; revision=6779
2000-12-04 19:00:45 +00:00
042e514a26 return NULL if we can't create a view.
2000-12-04  Michael Meeks  <michael@helixcode.com>

	* e-shell-view.c (get_control_for_uri): return NULL if we can't
	create a view.
	(setup_evolution_shell_view_interface): add precondition.

+

	lots of cleans.

svn path=/trunk/; revision=6778
2000-12-04 17:56:54 +00:00
b468077608 Fixes bug #918.
2000-12-01  Federico Mena Quintero  <federico@helixcode.com>

	Fixes bug #918.

	* gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for a
	set of blocked days.
	(weekday_picker_set_blocked_days): New function to configure a set
	of days that cannot be modified by the user.
	(weekday_picker_get_blocked_days): Query function for the above.
	(day_event_cb): Block the appropriate days from being modified.

	* gui/event-editor.c (get_start_weekday_mask): New function to
	compute a day mask for the start day of a calendar component.
	(set_recur_special_defaults): New function to set sane defaults
	for the recurrence special widgets.
	(fill_recurrence_widgets): Use set_recur_special_defaults().
	(make_recur_weekly_special): Block the appropriate days.

svn path=/trunk/; revision=6767
2000-12-02 18:10:20 +00:00
cd372acdcf Removed debugging message. (control_factory_init): Ditto.
2000-12-01  Federico Mena Quintero  <federico@helixcode.com>

	* gui/control-factory.c (set_prop): Removed debugging message.
	(control_factory_init): Ditto.

	* gui/calendar-commands.c (calendar_set_uri): Ditto.

	* gui/main.c (main): Ditto.

svn path=/trunk/; revision=6762
2000-12-01 21:02:31 +00:00
ccb0fc2754 New function to generate a title and convert it from UTF8 before setting
2000-12-01  Federico Mena Quintero  <federico@helixcode.com>

	* gui/event-editor.c (set_title_from_comp): New function to
	generate a title and convert it from UTF8 before setting it on the
	window.
	(save_event_object): Uset set_title_from_comp().
	(event_editor_set_event_object): Likewise.

svn path=/trunk/; revision=6761
2000-12-01 20:45:32 +00:00
4ace381626 Debug message cleanups (comp_from_remote_record): Properly set the ical
2000-11-30  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/todo-conduit.c:  Debug message cleanups
	(comp_from_remote_record): Properly set the ical description field

	* conduits/calendar/calendar-conduit.c (is_empty_time): New utility
	functions that look for all 0's in a struct tm
	(comp_from_remote_record): use above
	(local_record_from_comp): Correctly set the repeatForever value so
	that we repeat forever instead of a really long time
	(comp_from_remote_record): Only set the cal component recurrence
	until field when repeatForever is 0

svn path=/trunk/; revision=6748
2000-11-30 23:56:33 +00:00
042427ffe2 fixed a bug that caused the calendar to segfault when the iTip control was
* gui/e-itip-control.c: fixed a bug that caused the calendar to
	segfault when the iTip control was destroyed.

svn path=/trunk/; revision=6741
2000-11-30 20:00:30 +00:00
24fdc5f596 Empty by_day entries are no longer indicated by ICAL_RECURRENCE_ARRAY_MAX
2000-11-30  JP Rosevear  <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c (local_record_from_comp): Empty
	by_day entries are no longer indicated by ICAL_RECURRENCE_ARRAY_MAX not
	SHRT_MAX. Calculate weekly and monthly by date recurrences properly
	(get_pilot_day): Convert ical day to corresponding integer for pilot day

svn path=/trunk/; revision=6740
2000-11-30 19:18:24 +00:00
de036a207d Debug message cleanups (get_ical_day): Fix off-by-one error which affected
2000-11-30  JP Rosevear  <jpr@helixcode.com>

	* conduits/calendar/calendar-conduit.c: Debug message cleanups
	(get_ical_day): Fix off-by-one error which affected weekly occurences.
	(comp_from_remote_record): Monthly by day and by date were reversed
	(nth_weekday): function taken from event-editor.c that encodes BYDAY
	values - this needs to be in libical really.
	(comp_from_remote_record): Don't set the description if the pilot note
	is null.  Rejig so that we don't have to free objects.

svn path=/trunk/; revision=6738
2000-11-30 17:27:03 +00:00
a547f501cb removed #ifdef ENABLE_NLS/#endif on Miguel's request.
2000-11-30  Gediminas Paulauskas <menesis@delfi.lt>

removed #ifdef ENABLE_NLS/#endif on Miguel's request.

svn path=/trunk/; revision=6727
2000-11-30 00:58:47 +00:00
101b0ed2c8 Upgrade of the alarm framework. We now access alarms by a unique
2000-11-28  Federico Mena Quintero  <federico@helixcode.com>

	Upgrade of the alarm framework.  We now access alarms by a unique
	identifier.  This UID is added as an extension property to alarm
	subcomponents when their parent components are scanned by
	CalComponent.

	* cal-util/cal-component.c (CalComponentPrivate): Added a hash
	table of alarm UIDs -> alarm properties.
	(cal_component_init): Initialize priv->alarm_uid_hash.
	(free_icalcomponent): Free the elements in the
	priv->alarm_uid_hash.
	(scan_alarm): New function to add scan an alarm subcomponent and
	ensure that it has an alarm UID extension property so that we can
	add it to our mapping table.
	(cal_component_get_first_alarm): Removed function.
	(cal_component_get_next_alarm): Removed function.
	(cal_component_get_alarm_uids): New function.
	(cal_component_get_alarm): New function.

svn path=/trunk/; revision=6713
2000-11-29 16:09:20 +00:00
a88ff5661a Return a struct rather than a pointer to a struct (compare):
2000-11-28  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/todo-conduit.c (local_record_to_pilot_record): Return
	a struct rather than a pointer to a struct
	(compare): local_record_to_pilot_record now returns a struct
	(prepare): ditto
	(free_prepare): remove as per gnome-pilot changes
	(conduit_get_gpilot_conduit): don't listen for free_prepare signal

	* conduits/calendar/calendar-conduit.c: Same as above

2000-11-28  JP Rosevear  <jpr@helixcode.com>

	* conduit/address-conduit.c (local_record_to_pilot_record): Return
	a struct rather than a pointer to a struct
	(view_cb): kill warning
	(compare): local_record_to_pilot_record now returns a struct
	(prepare): ditto
	(free_prepare): remove as per gnome-pilot changes
	(conduit_get_gpilot_conduit): don't listen for free_prepare signal

svn path=/trunk/; revision=6708
2000-11-29 03:49:12 +00:00
9e0661d19a Reformatted the table spec to make it easier to read.
2000-11-28  Federico Mena Quintero  <federico@helixcode.com>

	* gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Reformatted the
	table spec to make it easier to read.

	* gui/tag-calendar.c: Oops, Damon wrote this, not me.  Fixed the
	Authors line.

svn path=/trunk/; revision=6707
2000-11-29 01:04:11 +00:00
e1635ef07a finished 12-hour support and tried to tidy up & comment the drawing code
2000-11-28  Damon Chaplin  <damon@helixcode.com>

	* gui/e-day-view*.[hc]:
	* gui/e-week-view*.[hc]: finished 12-hour support and tried to tidy
	up & comment the drawing code in places. Also fixed a couple of bugs I
	spotted. All the options on the 'Calendar' page should now work.

svn path=/trunk/; revision=6706
2000-11-29 00:19:44 +00:00
ea1f540203 Removed debugging shizz.
svn path=/trunk/; revision=6701
2000-11-28 21:10:23 +00:00
2a50dfdd28 *gui/calendar-model.c: added a preliminary change to have Assigned
To-Do items have a corresponding icon.

svn path=/trunk/; revision=6686
2000-11-27 22:27:10 +00:00
dd896b1476 Remove "complete" field
2000-11-27  JP Rosevear  <jpr@helixcode.com>

	* conduit/address-conduit.h: Remove "complete" field

	* conduit/address-conduit.c (print_local): Make it print useful debug
	info
	(print_remote): ditto
	(local_record_from_ecard): Make sure phone numbers get out to the pilot
	(ecard_from_remote_record): Set phone strings to "" if they are null
	(sequence_complete): unref the book view
	(view_cb): ref the book view
	(free_prepare): do nothing

	* backend/pas/pas-backend-file.c (pas_backend_file_book_view_free):
	Destroy the card lists with the rest of the view.
	(pas_backend_file_changes): Don't destroy the card lists here
	(pas_backend_file_book_view_free): Free the card/id lists in the
	change context here, the correct place.
	(pas_backend_file_changes): instead of here...

2000-11-27  JP Rosevear  <jpr@helixcode.com>

	* conduits/todo/todo-conduit.c (free_prepare): Ditto

	* conduits/calendar/calendar-conduit.c (free_prepare): Adjust
	free_prepare to the correct signal parameters.  Don't actually
	do anything - there is a semantic discrepancy that needs to be
	resolved.

2000-11-27  JP Rosevear  <jpr@helixcode.com>

	* providers/local/.cvsignore: shush

svn path=/trunk/; revision=6681
2000-11-27 20:30:51 +00:00
918ead7332 == instead of =.
2000-11-26  Damon Chaplin  <damon@helixcode.com>

	* gui/e-day-view.c (e_day_view_set_days_shown): == instead of =.

svn path=/trunk/; revision=6676
2000-11-26 23:56:18 +00:00
a01422975f added more support for config settings.
2000-11-26  Damon Chaplin  <damon@helixcode.com>

	* gui/gnome-cal.c: added more support for config settings.

	* gui/e-week-view.[hc]:
	* gui/e-day-view.[hc]: added support for setting - show event end
	times, week start day and 12-hour format (unfinished).

	* gui/e-day-view-time-item.c: started 12-hour support.

	* gui/tag-calendar.c (prepare_tag): use end_day + 1 since we want to
	include the last day.

	* gui/event-editor.c (set_all_day): minor change when turning all_day
	off - set the event end to one hour after the event start if it is on
	or before the start time. Also added more comments to make it a bit
	clearer.

	* cal-util/cal-recur.c (cal_obj_time_add_days): use a gint for day
	rather than a guint since we now support -ve days.
	Also fixed bug with weekly recurrences.

	* gui/dialogs/task-editor.c (task_editor_create_date_edit): use
	config settings.

	* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config):
	updated EDateEdit calls.

svn path=/trunk/; revision=6675
2000-11-26 23:33:07 +00:00
30bb352769 use a gint for day rather than a guint since we now support -ve days. Also
* cal-util/cal-recur.c (cal_obj_time_add_days): use a gint for day
	rather than a guint since we now support -ve days.
	Also fixed bug with weekly recurrences.

svn path=/trunk/; revision=6674
2000-11-26 23:21:09 +00:00
05e024b46a use config settings.
* gui/dialogs/task-editor.c (task_editor_create_date_edit): use
	config settings.

	* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config):
	updated EDateEdit calls.

svn path=/trunk/; revision=6673
2000-11-26 23:15:35 +00:00
f58d47f9b3 Unref the ETable extras.
2000-11-24  Federico Mena Quintero  <federico@helixcode.com>

	* gui/e-calendar-table.c (e_calendar_table_init): Unref the ETable
	extras.

svn path=/trunk/; revision=6663
2000-11-25 00:17:11 +00:00
6dbbc8029f DOH, fixed reversed test for the presence of the icalcomp's parent. This
2000-11-24  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (free_icalcomponent): DOH, fixed
	reversed test for the presence of the icalcomp's parent.  This was
	causing memory leaks in the Wombat and elsewhere.

	* pcs/cal-backend.c (cal_backend_set_node_timet): Plug leak.

svn path=/trunk/; revision=6661
2000-11-24 23:51:35 +00:00
39dc8f4fc8 Use the new libical external iterators (icalcomponent_begin_component()
2000-11-24  Federico Mena Quintero  <federico@helixcode.com>

	* pcs/cal-backend-file.c (scan_vcalendar): Use the new libical
	external iterators (icalcomponent_begin_component() and friends);
	the internal iterators are deprecated.

	* cal-util/test-recur.c (generate_occurrences): Likewise.

	* gui/e-itip-control.c (pstream_load): Likewise.

	* gui/e-meeting-edit.c (e_meeting_edit): Likewise.

	* pcs/cal-backend.c (cal_backend_log_entry): Plug leak.
	(cal_backend_log_sync): Free the entry->uid.

	* util/icalendar-save.[ch]:
	* util/icalendar-test.c:
	* util/icalendar.[ch]: Removed obsolete files.

svn path=/trunk/; revision=6660
2000-11-24 20:41:01 +00:00
c32eefcd07 Squeek - Federico
svn path=/trunk/; revision=6647
2000-11-22 04:24:38 +00:00
971e05a645 Remove the check because it makes it look like the task is already
2000-11-21  Federico Mena Quintero  <federico@helixcode.com>

	* gui/task.xpm: Remove the check because it makes it look like the
	task is already completed.  This fixes bug #819.

	* gui/task-recurring.xpm: Make it use a prettier overlaid icon.

	* gui/task-*.xpm: Made the things look like little spiral-bound
	notebooks.

	* gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Make the default
	column order be icon/completed/summary.

2000-11-21  Federico Mena Quintero  <federico@helixcode.com>

svn path=/trunk/; revision=6646
2000-11-22 04:10:23 +00:00
edbacc610d The icon column is not editable!
2000-11-21  Federico Mena Quintero  <federico@helixcode.com>

	* gui/calendar-model.c (calendar_model_is_cell_editable): The icon
	column is not editable!

	* gui/calendar-commands.c (todo_properties_changed): Removed.
	(time_format_changed): Removed.
	(colors_changed): Removed.

	* gui/calendar-commands.h:
	* gui/prop.c (prop_apply):
	* gui/calendar-commands.c (init_calendar): Removed the old to-do
	list crap.

	* gui/gncal-todo.[ch]: Removed obsolete files.

	* gui/Makefile.am (evolution_calendar_SOURCES): Removed gncal-todo.[ch].

	* gui/gnome-cal.c (gnome_calendar_todo_properties_changed): Removed.
	(gnome_calendar_time_format_changed): Removed.
	(gnome_calendar_colors_changed): Removed.

svn path=/trunk/; revision=6635
2000-11-21 21:50:42 +00:00